MCPcopy Create free account
hub / github.com/clawbot7/cli-gateway / createConfig

Function createConfig

test/routerCommands.test.ts:23–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21}
22
23function createConfig() {
24 return {
25 discordToken: undefined,
26 discordAllowChannelId: undefined,
27 telegramToken: undefined,
28
29 feishuAppId: undefined,
30 feishuAppSecret: undefined,
31 feishuVerificationToken: undefined,
32 feishuListenPort: 3030,
33
34 acpAgentCommand: 'node',
35 acpAgentArgs: [],
36
37 workspaceRoot: '/tmp/cli-gateway-test',
38 dbPath: ':memory:',
39
40 schedulerEnabled: false,
41
42 runtimeIdleTtlSeconds: 999,
43 maxBindingRuntimes: 5,
44
45 uiDefaultMode: 'verbose',
46 uiJsonMaxChars: 5000,
47
48 contextReplayEnabled: false,
49 contextReplayRuns: 0,
50 contextReplayMaxChars: 1000,
51 };
52}
53
54function createSink() {
55 const texts: string[] = [];

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected