()
| 8 | import type { ConversationKey } from '../src/gateway/sessionStore.js'; |
| 9 | |
| 10 | function 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 | |
| 34 | test('commands with @bot suffix are handled', async () => { |
| 35 | const db = new Database(':memory:'); |
no outgoing calls
no test coverage detected