()
| 23 | } |
| 24 | |
| 25 | function 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 | |
| 49 | test('/workspace show and set updates session cwd and closes runtime', async () => { |
| 50 | const db = createDb(); |
no outgoing calls
no test coverage detected