feat: gate code tools by task mode

This commit is contained in:
John
2026-07-02 07:12:18 +08:00
parent c9b7252832
commit e17dcaf4a8
11 changed files with 338 additions and 19 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ test('buildSessionMemoryEntries injects sandbox, guidance, and profile', () => {
...DEFAULT_USER_CAPABILITIES,
aider: true,
openhands: true,
}),
}, { toolMode: 'code' }),
policies: {
code_delegate_executor: 'openhands',
code_task_routing: 'split',