mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-09-03 06:35:00 +08:00
- Generalize spawn_agent tool path discovery into codexToolPathsByNames driven by a name set, and add codexCollaborationMessageTools covering spawn_agent, send_message, and followup_task. - Strip parameters.properties.message.encrypted from all collaboration message tools (top-level tools and input[].additional_tools, including nested namespace tools) via removeCodexCollaborationMessageEncryption, invoked unconditionally before the spawn-agent optimization decision. - Extend optimize_multi_agent_v2_test.go with coverage for the new tool path discovery, encrypted-field removal semantics, preservation of unrelated encrypted fields, and end-to-end OptimizeCodexMultiAgentV2Request behavior across namespace and additional_tools payloads. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>