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

Function createConfig

test/telegramCommandParse.test.ts:10–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8import type { ConversationKey } from '../src/gateway/sessionStore.js';
9
10function createConfig() {
11 return {
12 discordToken: undefined,
13 discordAllowChannelId: undefined,
14 telegramToken: undefined,
15 feishuAppId: undefined,
16 feishuAppSecret: undefined,
17 feishuVerificationToken: undefined,
18 feishuListenPort: 3030,
19 acpAgentCommand: 'node',
20 acpAgentArgs: [],
21 workspaceRoot: '/tmp/cli-gateway-test',
22 dbPath: ':memory:',
23 schedulerEnabled: false,
24 runtimeIdleTtlSeconds: 999,
25 maxBindingRuntimes: 5,
26 uiDefaultMode: 'verbose',
27 uiJsonMaxChars: 1000,
28 contextReplayEnabled: false,
29 contextReplayRuns: 0,
30 contextReplayMaxChars: 0,
31 };
32}
33
34test('commands with @bot suffix are handled', async () => {
35 const db = new Database(':memory:');

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected