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

Function createConfig

test/helpCommand.test.ts:15–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13} from '../src/gateway/sessionStore.js';
14
15function createConfig() {
16 return {
17 discordToken: undefined,
18 discordAllowChannelId: undefined,
19 telegramToken: undefined,
20 feishuAppId: undefined,
21 feishuAppSecret: undefined,
22 feishuVerificationToken: undefined,
23 feishuListenPort: 3030,
24 acpAgentCommand: 'node',
25 acpAgentArgs: [],
26 workspaceRoot: '/tmp/cli-gateway-test',
27 dbPath: ':memory:',
28 schedulerEnabled: false,
29 runtimeIdleTtlSeconds: 999,
30 maxBindingRuntimes: 5,
31 uiDefaultMode: 'verbose',
32 uiJsonMaxChars: 1000,
33 contextReplayEnabled: false,
34 contextReplayRuns: 0,
35 contextReplayMaxChars: 0,
36 };
37}
38
39test('/help prints command list without requiring binding', async () => {
40 const db = new Database(':memory:');

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected