| 13 | } from '../src/gateway/sessionStore.js'; |
| 14 | |
| 15 | function 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 | |
| 39 | test('/help prints command list without requiring binding', async () => { |
| 40 | const db = new Database(':memory:'); |