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

Function createConfig

test/workspaceCommand.test.ts:25–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23}
24
25function createConfig() {
26 return {
27 discordToken: undefined,
28 discordAllowChannelId: undefined,
29 telegramToken: undefined,
30 feishuAppId: undefined,
31 feishuAppSecret: undefined,
32 feishuVerificationToken: undefined,
33 feishuListenPort: 3030,
34 acpAgentCommand: 'node',
35 acpAgentArgs: [],
36 workspaceRoot: os.homedir(),
37 dbPath: ':memory:',
38 schedulerEnabled: false,
39 runtimeIdleTtlSeconds: 999,
40 maxBindingRuntimes: 5,
41 uiDefaultMode: 'verbose',
42 uiJsonMaxChars: 1000,
43 contextReplayEnabled: false,
44 contextReplayRuns: 0,
45 contextReplayMaxChars: 0,
46 };
47}
48
49test('/workspace show and set updates session cwd and closes runtime', async () => {
50 const db = createDb();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected