diff --git a/codex-rs/core/src/agent/child_config.rs b/codex-rs/core/src/agent/child_config.rs index 22f741c608..e7b094fa01 100644 --- a/codex-rs/core/src/agent/child_config.rs +++ b/codex-rs/core/src/agent/child_config.rs @@ -20,7 +20,7 @@ use codex_protocol::openai_models::ReasoningEffort; use codex_protocol::openai_models::ReasoningEffortPreset; use codex_protocol::protocol::MultiAgentVersion; -pub(crate) const MAX_SPAWN_AGENT_MODEL_OVERRIDES: usize = 5; +pub(crate) const MAX_SPAWN_AGENT_MODEL_OVERRIDES: usize = 16; pub(crate) fn model_supports_multi_agent_backend( model: &ModelPreset, diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__model_visible_layout__model_visible_layout_resume_override_matches_rollout_model.snap b/codex-rs/core/tests/suite/snapshots/all__suite__model_visible_layout__model_visible_layout_resume_override_matches_rollout_model.snap index c0a4a85e84..698c1d5bca 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__model_visible_layout__model_visible_layout_resume_override_matches_rollout_model.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__model_visible_layout__model_visible_layout_resume_override_matches_rollout_model.snap @@ -15,7 +15,18 @@ Scenario: First post-resume turn where pre-turn override sets model to rollout m 03:message/user: seed resume history + +## Window 2 (after request 1: settings changed (tools)) -- request 2 (turn; First Request After Resume + Override) -- +00:message/developer: + +01:message/developer[2]: + [01] + [02] +02:message/user: + +03:message/user: + seed resume history 04:message/assistant: recorded before resume 05:message/user: diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_absent.snap b/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_absent.snap index 93a3221fc4..11c827aa87 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_absent.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_absent.snap @@ -15,7 +15,7 @@ Settings: stream: true text: {"verbosity":"low"} tool_choice: "auto" - tools (11; hash=6bb19ef1cafd8dda): + tools (11; hash=9f125ad8b5fb8fda): - function/exec_command: Runs a command in a PTY, returning output or a session ID for ongoing interaction.; args=[cmd, justification, login, max_output_tokens, prefix_rule, sandbox_permissions, shell, tty, workdir, yield_time_ms]; hash=24f4b6739dd5d940 - function/write_stdin: Writes characters to an existing unified exec session and returns recent output.; args=[chars, max_output_tokens, session_id, yield_time_ms]; hash=7fb62d8a3e2df4e2 - function/list_mcp_resources: Lists resources provided by MCP servers. Resources allow servers to share data that provides cont...; args=[cursor, server]; hash=6792edaff13561bd @@ -24,7 +24,7 @@ Settings: - function/request_user_input: Request user input for one to three short questions and wait for the response. This tool is only ...; args=[questions]; hash=64a729b25c424fc6 - custom/apply_patch: The `apply_patch` tool can be used to edit files. This is a FREEFORM tool, so do not wrap the pat...; hash=dea9f12b0111a4ba - function/view_image: View a local image file from the filesystem when visual inspection is needed. Use this for images...; args=[path]; hash=1908de9c0be7118a - - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=2327142bda177c50 + - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=141ddefee46d1d08 - function/close_agent - function/resume_agent - function/send_input diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_blank.snap b/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_blank.snap index 93a3221fc4..11c827aa87 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_blank.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_blank.snap @@ -15,7 +15,7 @@ Settings: stream: true text: {"verbosity":"low"} tool_choice: "auto" - tools (11; hash=6bb19ef1cafd8dda): + tools (11; hash=9f125ad8b5fb8fda): - function/exec_command: Runs a command in a PTY, returning output or a session ID for ongoing interaction.; args=[cmd, justification, login, max_output_tokens, prefix_rule, sandbox_permissions, shell, tty, workdir, yield_time_ms]; hash=24f4b6739dd5d940 - function/write_stdin: Writes characters to an existing unified exec session and returns recent output.; args=[chars, max_output_tokens, session_id, yield_time_ms]; hash=7fb62d8a3e2df4e2 - function/list_mcp_resources: Lists resources provided by MCP servers. Resources allow servers to share data that provides cont...; args=[cursor, server]; hash=6792edaff13561bd @@ -24,7 +24,7 @@ Settings: - function/request_user_input: Request user input for one to three short questions and wait for the response. This tool is only ...; args=[questions]; hash=64a729b25c424fc6 - custom/apply_patch: The `apply_patch` tool can be used to edit files. This is a FREEFORM tool, so do not wrap the pat...; hash=dea9f12b0111a4ba - function/view_image: View a local image file from the filesystem when visual inspection is needed. Use this for images...; args=[path]; hash=1908de9c0be7118a - - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=2327142bda177c50 + - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=141ddefee46d1d08 - function/close_agent - function/resume_agent - function/send_input diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_custom.snap b/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_custom.snap index 1ec2e7ec97..72f6fe322e 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_custom.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_custom.snap @@ -15,7 +15,7 @@ Settings: stream: true text: {"verbosity":"low"} tool_choice: "auto" - tools (11; hash=6bb19ef1cafd8dda): + tools (11; hash=9f125ad8b5fb8fda): - function/exec_command: Runs a command in a PTY, returning output or a session ID for ongoing interaction.; args=[cmd, justification, login, max_output_tokens, prefix_rule, sandbox_permissions, shell, tty, workdir, yield_time_ms]; hash=24f4b6739dd5d940 - function/write_stdin: Writes characters to an existing unified exec session and returns recent output.; args=[chars, max_output_tokens, session_id, yield_time_ms]; hash=7fb62d8a3e2df4e2 - function/list_mcp_resources: Lists resources provided by MCP servers. Resources allow servers to share data that provides cont...; args=[cursor, server]; hash=6792edaff13561bd @@ -24,7 +24,7 @@ Settings: - function/request_user_input: Request user input for one to three short questions and wait for the response. This tool is only ...; args=[questions]; hash=64a729b25c424fc6 - custom/apply_patch: The `apply_patch` tool can be used to edit files. This is a FREEFORM tool, so do not wrap the pat...; hash=dea9f12b0111a4ba - function/view_image: View a local image file from the filesystem when visual inspection is needed. Use this for images...; args=[path]; hash=1908de9c0be7118a - - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=2327142bda177c50 + - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=141ddefee46d1d08 - function/close_agent - function/resume_agent - function/send_input diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_disabled.snap b/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_disabled.snap index 2bf36180d8..105c6015f7 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_disabled.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_disabled.snap @@ -15,7 +15,7 @@ Settings: stream: true text: {"verbosity":"low"} tool_choice: "auto" - tools (11; hash=6bb19ef1cafd8dda): + tools (11; hash=9f125ad8b5fb8fda): - function/exec_command: Runs a command in a PTY, returning output or a session ID for ongoing interaction.; args=[cmd, justification, login, max_output_tokens, prefix_rule, sandbox_permissions, shell, tty, workdir, yield_time_ms]; hash=24f4b6739dd5d940 - function/write_stdin: Writes characters to an existing unified exec session and returns recent output.; args=[chars, max_output_tokens, session_id, yield_time_ms]; hash=7fb62d8a3e2df4e2 - function/list_mcp_resources: Lists resources provided by MCP servers. Resources allow servers to share data that provides cont...; args=[cursor, server]; hash=6792edaff13561bd @@ -24,7 +24,7 @@ Settings: - function/request_user_input: Request user input for one to three short questions and wait for the response. This tool is only ...; args=[questions]; hash=64a729b25c424fc6 - custom/apply_patch: The `apply_patch` tool can be used to edit files. This is a FREEFORM tool, so do not wrap the pat...; hash=dea9f12b0111a4ba - function/view_image: View a local image file from the filesystem when visual inspection is needed. Use this for images...; args=[path]; hash=1908de9c0be7118a - - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=2327142bda177c50 + - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=141ddefee46d1d08 - function/close_agent - function/resume_agent - function/send_input diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_empty.snap b/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_empty.snap index 93a3221fc4..11c827aa87 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_empty.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_empty.snap @@ -15,7 +15,7 @@ Settings: stream: true text: {"verbosity":"low"} tool_choice: "auto" - tools (11; hash=6bb19ef1cafd8dda): + tools (11; hash=9f125ad8b5fb8fda): - function/exec_command: Runs a command in a PTY, returning output or a session ID for ongoing interaction.; args=[cmd, justification, login, max_output_tokens, prefix_rule, sandbox_permissions, shell, tty, workdir, yield_time_ms]; hash=24f4b6739dd5d940 - function/write_stdin: Writes characters to an existing unified exec session and returns recent output.; args=[chars, max_output_tokens, session_id, yield_time_ms]; hash=7fb62d8a3e2df4e2 - function/list_mcp_resources: Lists resources provided by MCP servers. Resources allow servers to share data that provides cont...; args=[cursor, server]; hash=6792edaff13561bd @@ -24,7 +24,7 @@ Settings: - function/request_user_input: Request user input for one to three short questions and wait for the response. This tool is only ...; args=[questions]; hash=64a729b25c424fc6 - custom/apply_patch: The `apply_patch` tool can be used to edit files. This is a FREEFORM tool, so do not wrap the pat...; hash=dea9f12b0111a4ba - function/view_image: View a local image file from the filesystem when visual inspection is needed. Use this for images...; args=[path]; hash=1908de9c0be7118a - - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=2327142bda177c50 + - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=141ddefee46d1d08 - function/close_agent - function/resume_agent - function/send_input diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_null.snap b/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_null.snap index 93a3221fc4..11c827aa87 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_null.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_null.snap @@ -15,7 +15,7 @@ Settings: stream: true text: {"verbosity":"low"} tool_choice: "auto" - tools (11; hash=6bb19ef1cafd8dda): + tools (11; hash=9f125ad8b5fb8fda): - function/exec_command: Runs a command in a PTY, returning output or a session ID for ongoing interaction.; args=[cmd, justification, login, max_output_tokens, prefix_rule, sandbox_permissions, shell, tty, workdir, yield_time_ms]; hash=24f4b6739dd5d940 - function/write_stdin: Writes characters to an existing unified exec session and returns recent output.; args=[chars, max_output_tokens, session_id, yield_time_ms]; hash=7fb62d8a3e2df4e2 - function/list_mcp_resources: Lists resources provided by MCP servers. Resources allow servers to share data that provides cont...; args=[cursor, server]; hash=6792edaff13561bd @@ -24,7 +24,7 @@ Settings: - function/request_user_input: Request user input for one to three short questions and wait for the response. This tool is only ...; args=[questions]; hash=64a729b25c424fc6 - custom/apply_patch: The `apply_patch` tool can be used to edit files. This is a FREEFORM tool, so do not wrap the pat...; hash=dea9f12b0111a4ba - function/view_image: View a local image file from the filesystem when visual inspection is needed. Use this for images...; args=[path]; hash=1908de9c0be7118a - - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=2327142bda177c50 + - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=141ddefee46d1d08 - function/close_agent - function/resume_agent - function/send_input diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_oversized.snap b/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_oversized.snap index 93a3221fc4..11c827aa87 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_oversized.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__request_plugin_install__catalog_plugin_recommendations_oversized.snap @@ -15,7 +15,7 @@ Settings: stream: true text: {"verbosity":"low"} tool_choice: "auto" - tools (11; hash=6bb19ef1cafd8dda): + tools (11; hash=9f125ad8b5fb8fda): - function/exec_command: Runs a command in a PTY, returning output or a session ID for ongoing interaction.; args=[cmd, justification, login, max_output_tokens, prefix_rule, sandbox_permissions, shell, tty, workdir, yield_time_ms]; hash=24f4b6739dd5d940 - function/write_stdin: Writes characters to an existing unified exec session and returns recent output.; args=[chars, max_output_tokens, session_id, yield_time_ms]; hash=7fb62d8a3e2df4e2 - function/list_mcp_resources: Lists resources provided by MCP servers. Resources allow servers to share data that provides cont...; args=[cursor, server]; hash=6792edaff13561bd @@ -24,7 +24,7 @@ Settings: - function/request_user_input: Request user input for one to three short questions and wait for the response. This tool is only ...; args=[questions]; hash=64a729b25c424fc6 - custom/apply_patch: The `apply_patch` tool can be used to edit files. This is a FREEFORM tool, so do not wrap the pat...; hash=dea9f12b0111a4ba - function/view_image: View a local image file from the filesystem when visual inspection is needed. Use this for images...; args=[path]; hash=1908de9c0be7118a - - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=2327142bda177c50 + - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=141ddefee46d1d08 - function/close_agent - function/resume_agent - function/send_input diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__agent_eviction__idle_eviction_followup.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__agent_eviction__idle_eviction_followup.snap index e005207244..4cac28c43c 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__agent_eviction__idle_eviction_followup.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__agent_eviction__idle_eviction_followup.snap @@ -7,12 +7,12 @@ Scenario: A parent with no configured environment delegates an API migration, qu ## Window 1 -- request 1 (turn) -- -00:additional_tools/developer (2; hash=736be7a0054c7ff6): +00:additional_tools/developer (2; hash=59b9daa63f2c8258): - namespace/functions; hash=f33f647fee88e25e - custom/exec - function/wait - function/request_user_input - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents @@ -66,12 +66,12 @@ Scenario: A parent with no configured environment delegates an API migration, qu ## Window 2 (after request 6: input diverged at item 03) -- request 7 (turn) -- -00:additional_tools/developer (2; hash=736be7a0054c7ff6): +00:additional_tools/developer (2; hash=59b9daa63f2c8258): - namespace/functions; hash=f33f647fee88e25e - custom/exec - function/wait - function/request_user_input - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__agent_message_board__remote__remote_board_permissions_direct.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__agent_message_board__remote__remote_board_permissions_direct.snap index 4ab7a80174..56ce381a69 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__agent_message_board__remote__remote_board_permissions_direct.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__agent_message_board__remote__remote_board_permissions_direct.snap @@ -6,7 +6,7 @@ Scenario: Permission discovery preserves legacy output, exposes reply-only acces ## Window 1 -- request 1 (request) -- -00:additional_tools/developer (3; hash=3fa476bacaa38bde): +00:additional_tools/developer (3; hash=7004828fd9d4bdda): - namespace/functions; hash=c39a9fd756ad9f5b - function/exec_command - function/write_stdin @@ -17,7 +17,7 @@ Scenario: Permission discovery preserves legacy output, exposes reply-only acces - namespace/clock: Tools for reading and waiting on time.; hash=a80435c7a3a3943f - function/curr_time - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=5c5c29d91fa33d4a + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2171bf8582b06f98 - function/create_channel - function/followup_task - function/get_channels diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_active_environment_selection.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_active_environment_selection.snap index e70af85e3c..1e85dc7f18 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_active_environment_selection.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_active_environment_selection.snap @@ -6,7 +6,7 @@ Scenario: Astra sees two environments with different permissions. Only the secon ## Window 1 -- request 1 (turn) -- -00:additional_tools/developer (3; hash=042356d133fb33da): +00:additional_tools/developer (3; hash=f388ebd7783b858c): - namespace/functions; hash=ebc92fe078f78ade - custom/exec - function/wait @@ -14,7 +14,7 @@ Scenario: Astra sees two environments with different permissions. Only the secon - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_async_compaction_with_live_suffix.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_async_compaction_with_live_suffix.snap index c14f56baf2..0e660a8f5f 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_async_compaction_with_live_suffix.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_async_compaction_with_live_suffix.snap @@ -6,7 +6,7 @@ Scenario: Astra compacts a completed launch-notes turn in the background. The us ## Window 1 -- request 1 (request) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -14,7 +14,7 @@ Scenario: Astra compacts a completed launch-notes turn in the background. The us - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents @@ -45,7 +45,7 @@ Scenario: Astra compacts a completed launch-notes turn in the background. The us ## Window 2 (after request 2: input diverged at item 10) -- request 3 (request) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -53,7 +53,7 @@ Scenario: Astra compacts a completed launch-notes turn in the background. The us - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents @@ -88,7 +88,7 @@ Scenario: Astra compacts a completed launch-notes turn in the background. The us ## Window 3 (after request 3: input diverged at item 02) -- request 4 (request) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -96,7 +96,7 @@ Scenario: Astra compacts a completed launch-notes turn in the background. The us - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_async_question_and_answer.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_async_question_and_answer.snap index 174de834b1..c3cc78e34b 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_async_question_and_answer.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_async_question_and_answer.snap @@ -6,7 +6,7 @@ Scenario: Astra uses the catalog question schema to ask who a launch update is f ## Window 1 -- request 1 (request) -- -00:additional_tools/developer (3; hash=2016a88a264b6adc): +00:additional_tools/developer (3; hash=a17d5f400f9e670a): - namespace/functions; hash=1f321c5169dfcdc0 - custom/exec - function/wait @@ -14,7 +14,7 @@ Scenario: Astra uses the catalog question schema to ask who a launch update is f - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_code_mode_call_timing.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_code_mode_call_timing.snap index 79541e4a1b..e3f05b4d1d 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_code_mode_call_timing.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_code_mode_call_timing.snap @@ -6,7 +6,7 @@ Scenario: Astra reads code-mode timings and the collector notice even at zero to ## Window 1 -- request 1 (turn) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -14,7 +14,7 @@ Scenario: Astra reads code-mode timings and the collector notice even at zero to - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_disabled_executor_skills.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_disabled_executor_skills.snap index 12c7ea21b0..1b4696b7fa 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_disabled_executor_skills.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_disabled_executor_skills.snap @@ -16,7 +16,7 @@ Settings: text: {"verbosity":"low"} tool_choice: "auto" -- request 1 (request) -- -00:additional_tools/developer (3; hash=1afe640e9d1b84d7): +00:additional_tools/developer (3; hash=aa1c8d2cbd56c247): - namespace/functions; hash=c4874773c24012ab - custom/exec - function/wait @@ -24,7 +24,7 @@ Settings: - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_executor_plugin_policy_refresh.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_executor_plugin_policy_refresh.snap index ae0eeb4854..ef9d7abd04 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_executor_plugin_policy_refresh.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_executor_plugin_policy_refresh.snap @@ -16,7 +16,7 @@ Settings: text: {"verbosity":"low"} tool_choice: "auto" -- request 1 (request) -- -00:additional_tools/developer (3; hash=1afe640e9d1b84d7): +00:additional_tools/developer (3; hash=aa1c8d2cbd56c247): - namespace/functions; hash=c4874773c24012ab - custom/exec - function/wait @@ -24,7 +24,7 @@ Settings: - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_input_interrupts_response.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_input_interrupts_response.snap index cdcad1d951..118545230a 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_input_interrupts_response.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_input_interrupts_response.snap @@ -6,7 +6,7 @@ Scenario: Astra receives new user input after its unfinished response is interru ## Window 1 -- request 1 (request) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -14,7 +14,7 @@ Scenario: Astra receives new user input after its unfinished response is interru - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_input_yields_code_mode_cell.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_input_yields_code_mode_cell.snap index 82ab488202..06e308c274 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_input_yields_code_mode_cell.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_input_yields_code_mode_cell.snap @@ -6,7 +6,7 @@ Scenario: Astra continues after new user input yields a running code cell, then ## Window 1 -- request 1 (turn) -- -00:additional_tools/developer (3; hash=2e318139b3e35801): +00:additional_tools/developer (3; hash=836c706f54159a7d): - namespace/functions; hash=d55357e79b53812d - custom/exec - function/wait @@ -14,7 +14,7 @@ Scenario: Astra continues after new user input yields a running code cell, then - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_kickoff_remote_compaction_windows.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_kickoff_remote_compaction_windows.snap index 3504f7f873..106409bb57 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_kickoff_remote_compaction_windows.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_kickoff_remote_compaction_windows.snap @@ -16,7 +16,7 @@ Settings: text: {"verbosity":"low"} tool_choice: "auto" -- request 1 (turn) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -24,7 +24,7 @@ Settings: - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents @@ -188,7 +188,7 @@ Settings: ## Window 2 (after request 3: input diverged at item 02) Settings: same as window 1 -- request 4 (turn) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -196,7 +196,7 @@ Settings: same as window 1 - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_plugin_policy_limits_visible_skills.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_plugin_policy_limits_visible_skills.snap index 0c9a72983c..5a2cf78424 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_plugin_policy_limits_visible_skills.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_plugin_policy_limits_visible_skills.snap @@ -16,7 +16,7 @@ Settings: text: {"verbosity":"low"} tool_choice: "auto" -- request 1 (turn) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -24,7 +24,7 @@ Settings: - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_plugin_policy_without_skill_descriptions.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_plugin_policy_without_skill_descriptions.snap index 28709b8d16..cb9f8b7058 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_plugin_policy_without_skill_descriptions.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_plugin_policy_without_skill_descriptions.snap @@ -16,7 +16,7 @@ Settings: text: {"verbosity":"low"} tool_choice: "auto" -- request 1 (turn) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -24,7 +24,7 @@ Settings: - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_plugin_refresh_simplified_selection_hints_off.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_plugin_refresh_simplified_selection_hints_off.snap index df6bf04625..9172cf8222 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_plugin_refresh_simplified_selection_hints_off.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_plugin_refresh_simplified_selection_hints_off.snap @@ -16,7 +16,7 @@ Settings: text: {"verbosity":"low"} tool_choice: "auto" -- request 1 (turn) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -24,7 +24,7 @@ Settings: - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_plugin_refresh_simplified_selection_hints_on.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_plugin_refresh_simplified_selection_hints_on.snap index ffa35673e7..1934dada95 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_plugin_refresh_simplified_selection_hints_on.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_plugin_refresh_simplified_selection_hints_on.snap @@ -16,7 +16,7 @@ Settings: text: {"verbosity":"low"} tool_choice: "auto" -- request 1 (turn) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -24,7 +24,7 @@ Settings: - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_settings_release_check_tool_shapes.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_settings_release_check_tool_shapes.snap index fe73001a08..90e2c3db14 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_settings_release_check_tool_shapes.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__astra_settings_release_check_tool_shapes.snap @@ -16,7 +16,7 @@ Settings: text: {"verbosity":"low"} tool_choice: "auto" -- request 1 (turn) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -24,7 +24,7 @@ Settings: - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__attached_side_chat_preserves_model_context_on_cold_resume.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__attached_side_chat_preserves_model_context_on_cold_resume.snap index 9e557f6c44..99490a4c01 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__attached_side_chat_preserves_model_context_on_cold_resume.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__attached_side_chat_preserves_model_context_on_cold_resume.snap @@ -6,7 +6,7 @@ Scenario: A side chat receives the parent turn as reference, adds its own turn, ## Window 1 -- request 1 (turn) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -14,7 +14,7 @@ Scenario: A side chat receives the parent turn as reference, adds its own turn, - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents @@ -108,7 +108,7 @@ Scenario: A side chat receives the parent turn as reference, adds its own turn, ## Window 2 (after request 1: settings changed (prompt_cache_key)) -- request 2 (turn) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -116,7 +116,7 @@ Scenario: A side chat receives the parent turn as reference, adds its own turn, - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__budget_context__host_budget_context_after_compaction.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__budget_context__host_budget_context_after_compaction.snap index e3a95155af..5f2253b45c 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__budget_context__host_budget_context_after_compaction.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__budget_context__host_budget_context_after_compaction.snap @@ -6,7 +6,7 @@ Scenario: Core renders the host's roster with native World State cadence. Compac ## Window 1 -- request 1 (turn) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -14,7 +14,7 @@ Scenario: Core renders the host's roster with native World State cadence. Compac - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents @@ -63,7 +63,7 @@ Scenario: Core renders the host's roster with native World State cadence. Compac ## Window 2 (after request 4: input diverged at item 02) -- request 5 (turn) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -71,7 +71,7 @@ Scenario: Core renders the host's roster with native World State cadence. Compac - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__cached_stdio_stays_dormant_in_a_new_chat_until_first_use.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__cached_stdio_stays_dormant_in_a_new_chat_until_first_use.snap index 8f4f661376..4bbbc51058 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__cached_stdio_stays_dormant_in_a_new_chat_until_first_use.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__cached_stdio_stays_dormant_in_a_new_chat_until_first_use.snap @@ -14,7 +14,7 @@ Settings: store: false stream: true tool_choice: "auto" - tools (11; hash=03a4422bf5b0f679): + tools (11; hash=2b4c921518a4db6f): - function/exec_command: Runs a command in a PTY, returning output or a session ID for ongoing interaction.; args=[cmd, justification, login, max_output_tokens, prefix_rule, sandbox_permissions, shell, tty, workdir, yield_time_ms]; hash=24f4b6739dd5d940 - function/write_stdin: Writes characters to an existing unified exec session and returns recent output.; args=[chars, max_output_tokens, session_id, yield_time_ms]; hash=7fb62d8a3e2df4e2 - function/list_mcp_resources: Lists resources provided by MCP servers. Resources allow servers to share data that provides cont...; args=[cursor, server]; hash=6792edaff13561bd @@ -23,7 +23,7 @@ Settings: - function/update_plan: Updates the task plan. Provide an optional explanation and a list of plan items, each with a step...; args=[explanation, plan]; hash=cbba5ed302a9c0eb - function/request_user_input: Request user input for one to three short questions and wait for the response. This tool is only ...; args=[questions]; hash=64a729b25c424fc6 - function/view_image: View a local image file from the filesystem when visual inspection is needed. Use this for images...; args=[path]; hash=1908de9c0be7118a - - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=2327142bda177c50 + - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=f066a006a1fd060e - function/close_agent - function/resume_agent - function/send_input @@ -53,7 +53,7 @@ Settings: ## Window 2 (after request 3) Settings: relative to window 1 - tools (11; hash=719b5fb71b0bf5b4): + tools (11; hash=82d35d01519a030e): ~ namespace/mcp__cached_rmcp: Use the tools from live-helper.; hash=36249b57679444b8 - function/echo -- request 4 (request) -- diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__catalog_selected_plugin_wording_apps_false_simplified_false.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__catalog_selected_plugin_wording_apps_false_simplified_false.snap index 11202745af..848c332279 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__catalog_selected_plugin_wording_apps_false_simplified_false.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__catalog_selected_plugin_wording_apps_false_simplified_false.snap @@ -15,7 +15,7 @@ Settings: stream: true text: {"verbosity":"low"} tool_choice: "auto" - tools (11; hash=e66be08a639bcce7): + tools (11; hash=d2f0f4f212de42c4): - function/exec_command: Runs a command in a PTY, returning output or a session ID for ongoing interaction.; args=[cmd, justification, login, max_output_tokens, prefix_rule, sandbox_permissions, shell, tty, workdir, yield_time_ms]; hash=24f4b6739dd5d940 - function/write_stdin: Writes characters to an existing unified exec session and returns recent output.; args=[chars, max_output_tokens, session_id, yield_time_ms]; hash=7fb62d8a3e2df4e2 - function/list_mcp_resources: Lists resources provided by MCP servers. Resources allow servers to share data that provides cont...; args=[cursor, server]; hash=6792edaff13561bd @@ -24,7 +24,7 @@ Settings: - function/request_user_input: Request user input for one to three short questions and wait for the response. This tool is only ...; args=[questions]; hash=64a729b25c424fc6 - custom/apply_patch: The `apply_patch` tool can be used to edit files. This is a FREEFORM tool, so do not wrap the pat...; hash=dea9f12b0111a4ba - function/view_image: View a local image file from the filesystem when visual inspection is needed. Use this for images...; args=[path]; hash=1908de9c0be7118a - - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=2327142bda177c50 + - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=cb54fdcce4eb403b - function/close_agent - function/resume_agent - function/send_input diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__catalog_selected_plugin_wording_apps_true_simplified_false.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__catalog_selected_plugin_wording_apps_true_simplified_false.snap index b388ea7df3..b133d034d3 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__catalog_selected_plugin_wording_apps_true_simplified_false.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__catalog_selected_plugin_wording_apps_true_simplified_false.snap @@ -15,7 +15,7 @@ Settings: stream: true text: {"verbosity":"low"} tool_choice: "auto" - tools (12; hash=5e6af17a1baef750): + tools (12; hash=249f1e48c93d8aaf): - function/exec_command: Runs a command in a PTY, returning output or a session ID for ongoing interaction.; args=[cmd, justification, login, max_output_tokens, prefix_rule, sandbox_permissions, shell, tty, workdir, yield_time_ms]; hash=24f4b6739dd5d940 - function/write_stdin: Writes characters to an existing unified exec session and returns recent output.; args=[chars, max_output_tokens, session_id, yield_time_ms]; hash=7fb62d8a3e2df4e2 - function/list_mcp_resources: Lists resources provided by MCP servers. Resources allow servers to share data that provides cont...; args=[cursor, server]; hash=6792edaff13561bd @@ -24,7 +24,7 @@ Settings: - function/request_user_input: Request user input for one to three short questions and wait for the response. This tool is only ...; args=[questions]; hash=64a729b25c424fc6 - custom/apply_patch: The `apply_patch` tool can be used to edit files. This is a FREEFORM tool, so do not wrap the pat...; hash=dea9f12b0111a4ba - function/view_image: View a local image file from the filesystem when visual inspection is needed. Use this for images...; args=[path]; hash=1908de9c0be7118a - - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=2327142bda177c50 + - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=cb54fdcce4eb403b - function/close_agent - function/resume_agent - function/send_input diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__catalog_selected_plugin_wording_apps_true_simplified_true.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__catalog_selected_plugin_wording_apps_true_simplified_true.snap index 7271700b61..02f1564095 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__catalog_selected_plugin_wording_apps_true_simplified_true.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__catalog_selected_plugin_wording_apps_true_simplified_true.snap @@ -15,7 +15,7 @@ Settings: stream: true text: {"verbosity":"low"} tool_choice: "auto" - tools (12; hash=5e6af17a1baef750): + tools (12; hash=249f1e48c93d8aaf): - function/exec_command: Runs a command in a PTY, returning output or a session ID for ongoing interaction.; args=[cmd, justification, login, max_output_tokens, prefix_rule, sandbox_permissions, shell, tty, workdir, yield_time_ms]; hash=24f4b6739dd5d940 - function/write_stdin: Writes characters to an existing unified exec session and returns recent output.; args=[chars, max_output_tokens, session_id, yield_time_ms]; hash=7fb62d8a3e2df4e2 - function/list_mcp_resources: Lists resources provided by MCP servers. Resources allow servers to share data that provides cont...; args=[cursor, server]; hash=6792edaff13561bd @@ -24,7 +24,7 @@ Settings: - function/request_user_input: Request user input for one to three short questions and wait for the response. This tool is only ...; args=[questions]; hash=64a729b25c424fc6 - custom/apply_patch: The `apply_patch` tool can be used to edit files. This is a FREEFORM tool, so do not wrap the pat...; hash=dea9f12b0111a4ba - function/view_image: View a local image file from the filesystem when visual inspection is needed. Use this for images...; args=[path]; hash=1908de9c0be7118a - - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=2327142bda177c50 + - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=cb54fdcce4eb403b - function/close_agent - function/resume_agent - function/send_input diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__child_completion_wakes_parent_after_final_answer.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__child_completion_wakes_parent_after_final_answer.snap index abc24202e8..332f0d729b 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__child_completion_wakes_parent_after_final_answer.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__child_completion_wakes_parent_after_final_answer.snap @@ -16,7 +16,7 @@ Settings: text: {"verbosity":"low"} tool_choice: "auto" -- request 1 (turn) -- -00:additional_tools/developer (3; hash=08d06add2925d75a): +00:additional_tools/developer (3; hash=e65af59b227d000c): - namespace/functions; hash=1377b145cdccf5b4 - custom/exec - function/wait @@ -24,7 +24,7 @@ Settings: - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents @@ -54,14 +54,14 @@ Settings: ## Window 2 (after request 3: input diverged at item 00) Settings: same as window 1 -- request 4 (turn) -- -00:additional_tools/developer (3; hash=874fa31dd58b2901): +00:additional_tools/developer (3; hash=4c3fa46ab2c6ed7d): - namespace/functions; hash=d0883eefc88509b7 - custom/exec - function/wait - function/request_user_input - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__code_mode_catalog_messages.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__code_mode_catalog_messages.snap index cb233b591b..d1e2a5b34c 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__code_mode_catalog_messages.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__code_mode_catalog_messages.snap @@ -15,14 +15,14 @@ Settings: stream: true text: {"verbosity":"low"} tool_choice: "auto" - tools (7; hash=6d87654f819134bb): + tools (7; hash=599ab6aae9a806fb): - custom/exec: Catalog exec instructions. Default yield: 1234 ms. `image(imageUrlOrItem: string | { image_url: s...; hash=26fc765b2c6fa4eb - function/wait: Catalog wait instructions: resume the yielded cell.; args=[cell_id, max_tokens, terminate, yield_time_ms]; hash=67bc0f04da3505b3 - function/request_user_input: Request user input for one to three short questions and wait for the response. This tool is only ...; args=[questions]; hash=64a729b25c424fc6 - function/request_user_input_async: Ask the user one or more questions during ongoing work. Use this tool only to request missing inf...; args=[questions]; hash=d6d74f33db330162 - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__code_mode_catalog_messages_ranked_search.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__code_mode_catalog_messages_ranked_search.snap index 82238b42cd..6bd0f50da6 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__code_mode_catalog_messages_ranked_search.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__code_mode_catalog_messages_ranked_search.snap @@ -15,14 +15,14 @@ Settings: stream: true text: {"verbosity":"low"} tool_choice: "auto" - tools (7; hash=2f2b78243a6ddb2c): + tools (7; hash=2520831eb71eb406): - custom/exec: Catalog exec instructions. Default yield: 1234 ms. `image(imageUrlOrItem: string | { image_url: s...; hash=043d7068a7445992 - function/wait: Catalog wait instructions: resume the yielded cell.; args=[cell_id, max_tokens, terminate, yield_time_ms]; hash=67bc0f04da3505b3 - function/request_user_input: Request user input for one to three short questions and wait for the response. This tool is only ...; args=[questions]; hash=64a729b25c424fc6 - function/request_user_input_async: Ask the user one or more questions during ongoing work. Use this tool only to request missing inf...; args=[questions]; hash=d6d74f33db330162 - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__code_mode_mcp_schema_limits.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__code_mode_mcp_schema_limits.snap index 38cb156005..1ee79b9dfd 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__code_mode_mcp_schema_limits.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__code_mode_mcp_schema_limits.snap @@ -15,8 +15,8 @@ Settings: stream: true text: {"verbosity":"low"} tool_choice: "auto" - tools (4; hash=d4a998e923c5427c): - - custom/exec: Run JavaScript code to orchestrate/compose tool calls - Evaluates the provided JavaScript code in...; hash=932531c3da1caabf + tools (4; hash=13b656e85aa8469e): + - custom/exec: Run JavaScript code to orchestrate/compose tool calls - Evaluates the provided JavaScript code in...; hash=f1d1e5487f896635 - function/wait: Waits on a yielded `exec` cell and returns new output or completion. - Use `wait` only after `exe...; args=[cell_id, max_tokens, terminate, yield_time_ms]; hash=6692d8f6c55be489 - function/request_user_input: Request user input for one to three short questions and wait for the response. This tool is only ...; args=[questions]; hash=64a729b25c424fc6 - web_search; hash=e214d4db1bc49e89 diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__code_mode_settled_helpers__code_mode_settled_helpers.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__code_mode_settled_helpers__code_mode_settled_helpers.snap index 099ed5bfc2..10bc77c63c 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__code_mode_settled_helpers__code_mode_settled_helpers.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__code_mode_settled_helpers__code_mode_settled_helpers.snap @@ -6,7 +6,7 @@ Scenario: Settlement helpers deliver fulfilled and rejected records with input i ## Window 1 -- request 1 (turn) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -14,7 +14,7 @@ Scenario: Settlement helpers deliver fulfilled and rejected records with input i - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__command_sessions__command_sessions_world_state.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__command_sessions__command_sessions_world_state.snap index abe246b15d..081e124008 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__command_sessions__command_sessions_world_state.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__command_sessions__command_sessions_world_state.snap @@ -6,7 +6,7 @@ Scenario: A Code Mode script drops its command handle. WorldState retains it whi ## Window 1 -- request 1 (turn) -- -00:additional_tools/developer (3; hash=86cfbda56956ab71): +00:additional_tools/developer (3; hash=a4fdf355eb986849): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -14,7 +14,7 @@ Scenario: A Code Mode script drops its command handle. WorldState retains it whi - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=97cc486e5cf7761a + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=299e38db0471a16a - function/followup_task - function/interrupt_agent - function/list_agents @@ -58,7 +58,7 @@ Scenario: A Code Mode script drops its command handle. WorldState retains it whi ## Window 2 (after request 3: settings changed (model)) -- request 4 (turn) -- -00:additional_tools/developer (3; hash=86cfbda56956ab71): +00:additional_tools/developer (3; hash=a4fdf355eb986849): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -66,7 +66,7 @@ Scenario: A Code Mode script drops its command handle. WorldState retains it whi - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=97cc486e5cf7761a + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=299e38db0471a16a - function/followup_task - function/interrupt_agent - function/list_agents @@ -130,7 +130,7 @@ Scenario: A Code Mode script drops its command handle. WorldState retains it whi ## Window 3 (after request 5: input diverged at item 00, settings changed (model)) -- request 6 (turn) -- -00:additional_tools/developer (3; hash=4c816105a4c5511e): +00:additional_tools/developer (3; hash=190749c3ef070118): - namespace/functions; hash=f6f779209c4af0f3 - custom/exec - function/wait @@ -138,7 +138,7 @@ Scenario: A Code Mode script drops its command handle. WorldState retains it whi - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=97cc486e5cf7761a + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=299e38db0471a16a - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__compaction__remote_slash_compact.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__compaction__remote_slash_compact.snap index 14386ebf16..405ccc8b0c 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__compaction__remote_slash_compact.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__compaction__remote_slash_compact.snap @@ -16,7 +16,7 @@ Settings: text: {"verbosity":"low"} tool_choice: "auto" -- request 1 (turn; Before /compact) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -24,7 +24,7 @@ Settings: - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents @@ -112,7 +112,7 @@ Settings: ## Window 2 (after request 2: input diverged at item 07) Settings: same as window 1 -- request 3 (compaction; Repeated /compact after resume) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -120,7 +120,7 @@ Settings: same as window 1 - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents @@ -205,7 +205,7 @@ Settings: same as window 1 ## Window 3 (after request 3: input diverged at item 02) Settings: same as window 1 -- request 4 (turn; First turn after /compact) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -213,7 +213,7 @@ Settings: same as window 1 - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__dynamic_tools__dynamic_tools_update_preserves_pending_calls_and_survives_resume.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__dynamic_tools__dynamic_tools_update_preserves_pending_calls_and_survives_resume.snap index effe3ebe71..243a6b6638 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__dynamic_tools__dynamic_tools_update_preserves_pending_calls_and_survives_resume.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__dynamic_tools__dynamic_tools_update_preserves_pending_calls_and_survives_resume.snap @@ -16,7 +16,7 @@ Settings: stream: true text: {"verbosity":"low"} tool_choice: "auto" - tools (10; hash=496b08a768a9cef2): + tools (10; hash=e91eda48fd5bd29e): - function/exec_command: Runs a command in a PTY, returning output or a session ID for ongoing interaction.; args=[cmd, justification, login, max_output_tokens, prefix_rule, sandbox_permissions, shell, tty, workdir, yield_time_ms]; hash=24f4b6739dd5d940 - function/write_stdin: Writes characters to an existing unified exec session and returns recent output.; args=[chars, max_output_tokens, session_id, yield_time_ms]; hash=7fb62d8a3e2df4e2 - function/request_user_input: Request user input for one to three short questions and wait for the response. This tool is only ...; args=[questions]; hash=64a729b25c424fc6 @@ -26,7 +26,7 @@ Settings: - function/sleep - custom/apply_patch: The `apply_patch` tool can be used to edit files. This is a FREEFORM tool, so do not wrap the pat...; hash=dea9f12b0111a4ba - function/view_image: View a local image file from the filesystem when visual inspection is needed. Use this for images...; args=[path]; hash=1908de9c0be7118a - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents @@ -51,7 +51,7 @@ Settings: ## Window 2 (after request 1) Settings: relative to window 1 - tools (10; hash=1ad8d1f61ea1b966): + tools (10; hash=9a7d53c1c520c9d2): - removed function/release + function/deployment: Check deployment.; args=[]; hash=2e9a71e9a20e43ad -- request 2 (turn) -- @@ -81,7 +81,7 @@ Settings: relative to window 1 ## Window 3 (after request 4) Settings: relative to window 2 - tools (9; hash=9cc5201edede4daa): + tools (9; hash=0fb40a4e6b518116): - removed function/deployment -- request 5 (turn) -- 00:message/developer: diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__frozen_cloud_skills__frozen_cloud_skills_with_named_executor_request_history.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__frozen_cloud_skills__frozen_cloud_skills_with_named_executor_request_history.snap index 17ce572e5d..cbc3e9496d 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__frozen_cloud_skills__frozen_cloud_skills_with_named_executor_request_history.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__frozen_cloud_skills__frozen_cloud_skills_with_named_executor_request_history.snap @@ -16,7 +16,7 @@ Settings: text: {"verbosity":"low"} tool_choice: "auto" -- request 1 (request) -- -00:additional_tools/developer (3; hash=f06ad43aee72e7a1): +00:additional_tools/developer (3; hash=e37d13847f694d9d): - namespace/functions; hash=3eb85b1b397a4861 - custom/exec - function/wait @@ -24,7 +24,7 @@ Settings: - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__incremental_tools__incremental_tool_removals.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__incremental_tools__incremental_tool_removals.snap index dfaf9950c0..bed27b56c5 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__incremental_tools__incremental_tool_removals.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__incremental_tools__incremental_tool_removals.snap @@ -16,7 +16,7 @@ Settings: text: {"verbosity":"low"} tool_choice: "auto" -- request 1 (turn) -- -00:additional_tools/developer (3; hash=62ce39bf4b5d9e98): +00:additional_tools/developer (3; hash=62bd6d863208b8d8): - namespace/functions; hash=8f4955ac0f6263ad - function/exec_command - function/write_stdin @@ -26,7 +26,7 @@ Settings: - function/request_user_input - custom/apply_patch - function/view_image - - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=2327142bda177c50 + - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=f066a006a1fd060e - function/close_agent - function/resume_agent - function/send_input diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__incremental_tools__incremental_tool_removals_regular_responses.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__incremental_tools__incremental_tool_removals_regular_responses.snap index b456b65fa1..31ce14d0db 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__incremental_tools__incremental_tool_removals_regular_responses.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__incremental_tools__incremental_tool_removals_regular_responses.snap @@ -19,7 +19,7 @@ Settings: tools (1; hash=f359ca6f02a419d6): - web_search; hash=f103e327c6870a46 -- request 1 (turn) -- -00:additional_tools/developer (3; hash=62ce39bf4b5d9e98): +00:additional_tools/developer (3; hash=62bd6d863208b8d8): - namespace/functions; hash=8f4955ac0f6263ad - function/exec_command - function/write_stdin @@ -29,7 +29,7 @@ Settings: - function/request_user_input - custom/apply_patch - function/view_image - - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=2327142bda177c50 + - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=f066a006a1fd060e - function/close_agent - function/resume_agent - function/send_input diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__incremental_tools__incremental_tools_catalog_messages.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__incremental_tools__incremental_tools_catalog_messages.snap index ee2848e10c..4099bfa494 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__incremental_tools__incremental_tools_catalog_messages.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__incremental_tools__incremental_tools_catalog_messages.snap @@ -16,7 +16,7 @@ Settings: text: {"verbosity":"low"} tool_choice: "auto" -- request 1 (turn) -- -00:additional_tools/developer (3; hash=62ce39bf4b5d9e98): +00:additional_tools/developer (3; hash=62bd6d863208b8d8): - namespace/functions; hash=8f4955ac0f6263ad - function/exec_command - function/write_stdin @@ -26,7 +26,7 @@ Settings: - function/request_user_input - custom/apply_patch - function/view_image - - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=2327142bda177c50 + - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=f066a006a1fd060e - function/close_agent - function/resume_agent - function/send_input diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__incremental_tools__prediction_fork_inherited_tools.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__incremental_tools__prediction_fork_inherited_tools.snap index 15f72e770f..aa156aa85d 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__incremental_tools__prediction_fork_inherited_tools.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__incremental_tools__prediction_fork_inherited_tools.snap @@ -16,8 +16,8 @@ Settings: text: {"verbosity":"low"} tool_choice: "auto" -- request 1 (turn) -- -00:additional_tools/developer (1; hash=7ad5a3fb78662834): - - namespace/functions; hash=a8baa8b0e5d0567c +00:additional_tools/developer (1; hash=6cf87db6fcd5bb2a): + - namespace/functions; hash=629ab1760127fb86 - custom/exec - function/wait - function/request_user_input @@ -40,8 +40,8 @@ Settings: ## Window 2 (after request 2: input diverged at item 05) Settings: same as window 1 -- request 3 (turn) -- -00:additional_tools/developer (1; hash=7ad5a3fb78662834): - - namespace/functions; hash=a8baa8b0e5d0567c +00:additional_tools/developer (1; hash=6cf87db6fcd5bb2a): + - namespace/functions; hash=629ab1760127fb86 - custom/exec - function/wait - function/request_user_input diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__indirect_namespace_prefixes__catalog_indirect_namespace_prefixes.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__indirect_namespace_prefixes__catalog_indirect_namespace_prefixes.snap index cdeec830b3..5fab84d525 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__indirect_namespace_prefixes__catalog_indirect_namespace_prefixes.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__indirect_namespace_prefixes__catalog_indirect_namespace_prefixes.snap @@ -15,8 +15,8 @@ Settings: stream: true text: {"verbosity":"low"} tool_choice: "auto" - tools (4; hash=d82938df77009495): - - custom/exec: Exec guidance. Run JavaScript code to orchestrate/compose tool calls - Evaluates the provided Ja...; hash=cbde5daafdd2ccea + tools (4; hash=c796abe97fb0c85f): + - custom/exec: Exec guidance. Run JavaScript code to orchestrate/compose tool calls - Evaluates the provided Ja...; hash=02a2235ae8312a36 - function/wait: Waits on a yielded `exec` cell and returns new output or completion. - Use `wait` only after `exe...; args=[cell_id, max_tokens, terminate, yield_time_ms]; hash=6692d8f6c55be489 - function/request_user_input: Request user input for one to three short questions and wait for the response. This tool is only ...; args=[questions]; hash=64a729b25c424fc6 - web_search; hash=e214d4db1bc49e89 @@ -49,8 +49,8 @@ Settings: ## Window 2 (after request 2) Settings: relative to window 1 model: "prefixes-cleared" - tools (4; hash=be78d943e10a33e9): - ~ custom/exec: Run JavaScript code to orchestrate/compose tool calls - Evaluates the provided JavaScript code in...; hash=eec2d4f3bfe5958e + tools (4; hash=6fa40b9ef6dec575): + ~ custom/exec: Run JavaScript code to orchestrate/compose tool calls - Evaluates the provided JavaScript code in...; hash=e5e9b506369d4478 -- request 3 (turn) -- 00:message/developer: diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_ema__enterprise_failure_preserves_ordinary_mcp_history.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_ema__enterprise_failure_preserves_ordinary_mcp_history.snap index b73dd25ac4..122cc8602d 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_ema__enterprise_failure_preserves_ordinary_mcp_history.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_ema__enterprise_failure_preserves_ordinary_mcp_history.snap @@ -15,7 +15,7 @@ Settings: stream: true text: {"verbosity":"low"} tool_choice: "auto" - tools (13; hash=b7efc4051fbceed6): + tools (13; hash=2469039dcc5dff80): - function/exec_command: Runs a command in a PTY, returning output or a session ID for ongoing interaction.; args=[cmd, justification, login, max_output_tokens, prefix_rule, sandbox_permissions, shell, tty, workdir, yield_time_ms]; hash=24f4b6739dd5d940 - function/write_stdin: Writes characters to an existing unified exec session and returns recent output.; args=[chars, max_output_tokens, session_id, yield_time_ms]; hash=7fb62d8a3e2df4e2 - function/list_mcp_resources: Lists resources provided by MCP servers. Resources allow servers to share data that provides cont...; args=[cursor, server]; hash=6792edaff13561bd @@ -28,7 +28,7 @@ Settings: - function/sleep - custom/apply_patch: The `apply_patch` tool can be used to edit files. This is a FREEFORM tool, so do not wrap the pat...; hash=dea9f12b0111a4ba - function/view_image: View a local image file from the filesystem when visual inspection is needed. Use this for images...; args=[path]; hash=1908de9c0be7118a - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_ema__enterprise_revocation_preserves_history_and_ordinary_tools.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_ema__enterprise_revocation_preserves_history_and_ordinary_tools.snap index 276a940c9e..3ea9ed320e 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_ema__enterprise_revocation_preserves_history_and_ordinary_tools.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_ema__enterprise_revocation_preserves_history_and_ordinary_tools.snap @@ -15,7 +15,7 @@ Settings: stream: true text: {"verbosity":"low"} tool_choice: "auto" - tools (14; hash=44600ef2dfd7d301): + tools (14; hash=6009d2b483bffccf): - function/exec_command: Runs a command in a PTY, returning output or a session ID for ongoing interaction.; args=[cmd, justification, login, max_output_tokens, prefix_rule, sandbox_permissions, shell, tty, workdir, yield_time_ms]; hash=24f4b6739dd5d940 - function/write_stdin: Writes characters to an existing unified exec session and returns recent output.; args=[chars, max_output_tokens, session_id, yield_time_ms]; hash=7fb62d8a3e2df4e2 - function/list_mcp_resources: Lists resources provided by MCP servers. Resources allow servers to share data that provides cont...; args=[cursor, server]; hash=6792edaff13561bd @@ -28,7 +28,7 @@ Settings: - function/sleep - custom/apply_patch: The `apply_patch` tool can be used to edit files. This is a FREEFORM tool, so do not wrap the pat...; hash=dea9f12b0111a4ba - function/view_image: View a local image file from the filesystem when visual inspection is needed. Use this for images...; args=[path]; hash=1908de9c0be7118a - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents @@ -67,7 +67,7 @@ Settings: ## Window 2 (after request 2) Settings: relative to window 1 - tools (13; hash=b7efc4051fbceed6): + tools (13; hash=2469039dcc5dff80): - removed namespace/mcp__enterprise -- request 3 (turn) -- 00:message/developer: diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_resource_messages__mcp_resource_messages.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_resource_messages__mcp_resource_messages.snap index 527ebdbc82..def8cbabe1 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_resource_messages__mcp_resource_messages.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_resource_messages__mcp_resource_messages.snap @@ -15,13 +15,13 @@ Settings: stream: true text: {"verbosity":"low"} tool_choice: "auto" - tools (6; hash=2e58b63b70dc8471): + tools (6; hash=fd811654963b2f85): - custom/exec: Run JavaScript code to orchestrate/compose tool calls - Evaluates the provided JavaScript code in...; hash=c00e260794631906 - function/wait: Waits on a yielded `exec` cell and returns new output or completion. - Use `wait` only after `exe...; args=[cell_id, max_tokens, terminate, yield_time_ms]; hash=6692d8f6c55be489 - function/request_user_input: Request user input for one to three short questions and wait for the response. This tool is only ...; args=[questions]; hash=64a729b25c424fc6 - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_sharing__shared_mcp_keeps_tools_and_model_requested_input_per_chat.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_sharing__shared_mcp_keeps_tools_and_model_requested_input_per_chat.snap index c7f902bf26..a85a3b3937 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_sharing__shared_mcp_keeps_tools_and_model_requested_input_per_chat.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_sharing__shared_mcp_keeps_tools_and_model_requested_input_per_chat.snap @@ -15,7 +15,7 @@ Settings: stream: true text: {"verbosity":"low"} tool_choice: "auto" - tools (11; hash=5221856df41e7b9b): + tools (11; hash=41fdc4933aaabae7): - function/exec_command: Runs a command in a PTY, returning output or a session ID for ongoing interaction.; args=[cmd, justification, login, max_output_tokens, prefix_rule, sandbox_permissions, shell, tty, workdir, yield_time_ms]; hash=24f4b6739dd5d940 - function/write_stdin: Writes characters to an existing unified exec session and returns recent output.; args=[chars, max_output_tokens, session_id, yield_time_ms]; hash=7fb62d8a3e2df4e2 - function/list_mcp_resources: Lists resources provided by MCP servers. Resources allow servers to share data that provides cont...; args=[cursor, server]; hash=6792edaff13561bd @@ -24,7 +24,7 @@ Settings: - function/request_user_input: Request user input for one to three short questions and wait for the response. This tool is only ...; args=[questions]; hash=64a729b25c424fc6 - custom/apply_patch: The `apply_patch` tool can be used to edit files. This is a FREEFORM tool, so do not wrap the pat...; hash=dea9f12b0111a4ba - function/view_image: View a local image file from the filesystem when visual inspection is needed. Use this for images...; args=[path]; hash=1908de9c0be7118a - - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=2327142bda177c50 + - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=f066a006a1fd060e - function/close_agent - function/resume_agent - function/send_input @@ -50,7 +50,7 @@ Settings: ## Window 2 (after request 2: input diverged at item 03) Settings: relative to window 1 prompt_cache_key: "" - tools (11; hash=bdb3dded807fe7ae): + tools (11; hash=8ae7b46a9664795a): ~ namespace/mcp__shared: Use these tools to exercise the rmcp test server.; hash=a9e155b340098fac - function/echo_tool -- request 3 (turn; joiner) -- diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_tool_discovery_CodeModeOnly.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_tool_discovery_CodeModeOnly.snap index 0757292343..bdb30117a9 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_tool_discovery_CodeModeOnly.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_tool_discovery_CodeModeOnly.snap @@ -15,8 +15,8 @@ Settings: stream: true text: {"verbosity":"low"} tool_choice: "auto" - tools (4; hash=4369baa3219e5757): - - custom/exec: Run JavaScript code to orchestrate/compose tool calls - Evaluates the provided JavaScript code in...; hash=eb7c2aee5109163e + tools (4; hash=321a3b0048db2fcd): + - custom/exec: Run JavaScript code to orchestrate/compose tool calls - Evaluates the provided JavaScript code in...; hash=22aec08b348144de - function/wait: Waits on a yielded `exec` cell and returns new output or completion. - Use `wait` only after `exe...; args=[cell_id, max_tokens, terminate, yield_time_ms]; hash=6692d8f6c55be489 - function/request_user_input: Request user input for one to three short questions and wait for the response. This tool is only ...; args=[questions]; hash=64a729b25c424fc6 - web_search; hash=e214d4db1bc49e89 @@ -32,8 +32,8 @@ Settings: ## Window 2 (after request 1) Settings: relative to window 1 - tools (4; hash=01f4cf9863be753f): - ~ custom/exec: Run JavaScript code to orchestrate/compose tool calls - Evaluates the provided JavaScript code in...; hash=d0169fb2a797d834 + tools (4; hash=9ccf358066f6d3d5): + ~ custom/exec: Run JavaScript code to orchestrate/compose tool calls - Evaluates the provided JavaScript code in...; hash=f0b18dfeab5f1e28 -- request 2 (request) -- 00:message/developer: diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_tool_discovery_Direct.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_tool_discovery_Direct.snap index 05c70460b0..e082b9c05c 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_tool_discovery_Direct.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__mcp_tool_discovery_Direct.snap @@ -15,7 +15,7 @@ Settings: stream: true text: {"verbosity":"low"} tool_choice: "auto" - tools (11; hash=01b253ec79f0b8e2): + tools (11; hash=8ba891fa89d0963e): - function/exec_command: Runs a command in a PTY, returning output or a session ID for ongoing interaction.; args=[cmd, justification, login, max_output_tokens, prefix_rule, sandbox_permissions, shell, tty, workdir, yield_time_ms]; hash=24f4b6739dd5d940 - function/write_stdin: Writes characters to an existing unified exec session and returns recent output.; args=[chars, max_output_tokens, session_id, yield_time_ms]; hash=7fb62d8a3e2df4e2 - function/list_mcp_resources: Lists resources provided by MCP servers. Resources allow servers to share data that provides cont...; args=[cursor, server]; hash=6792edaff13561bd @@ -24,7 +24,7 @@ Settings: - function/request_user_input: Request user input for one to three short questions and wait for the response. This tool is only ...; args=[questions]; hash=64a729b25c424fc6 - custom/apply_patch: The `apply_patch` tool can be used to edit files. This is a FREEFORM tool, so do not wrap the pat...; hash=dea9f12b0111a4ba - function/view_image: View a local image file from the filesystem when visual inspection is needed. Use this for images...; args=[path]; hash=1908de9c0be7118a - - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=2327142bda177c50 + - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=f066a006a1fd060e - function/close_agent - function/resume_agent - function/send_input @@ -45,7 +45,7 @@ Settings: ## Window 2 (after request 1) Settings: relative to window 1 - tools (11; hash=5c427d6e901561ae): + tools (11; hash=64b8570765baaa12): ~ namespace/mcp__discovery: Use these tools to exercise the rmcp test server.; hash=66db79539eaf6be3 - function/echo - function/search_tools diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__multi_agent_catalog_parameters.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__multi_agent_catalog_parameters.snap index f93c547cb2..6054d62150 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__multi_agent_catalog_parameters.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__multi_agent_catalog_parameters.snap @@ -16,7 +16,7 @@ Settings: text: {"verbosity":"low"} tool_choice: "auto" -- request 1 (turn) -- -00:additional_tools/developer (3; hash=f1c4789e939b5872): +00:additional_tools/developer (3; hash=2ee48a96ffd69424): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -24,7 +24,7 @@ Settings: - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=7e156cf57f85af87 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0c4edc9163319bad - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__multi_environment_mcp__same_named_executor_mcps_keep_calls_and_approvals_separate.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__multi_environment_mcp__same_named_executor_mcps_keep_calls_and_approvals_separate.snap index 29c47f207c..677fe9cc96 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__multi_environment_mcp__same_named_executor_mcps_keep_calls_and_approvals_separate.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__multi_environment_mcp__same_named_executor_mcps_keep_calls_and_approvals_separate.snap @@ -19,7 +19,7 @@ Settings: stream: true text: {"verbosity":"low"} tool_choice: "auto" - tools (14; hash=0f6f9ee07e444908): + tools (14; hash=7bb8bff2b9bd81f8): - function/exec_command: Runs a command in a PTY, returning output or a session ID for ongoing interaction.; args=[cmd, environment_id, justification, login, max_output_tokens, prefix_rule, sandbox_permissions, shell, tty, workdir, yield_time_ms]; hash=b97d00b1a95ffa20 - function/write_stdin: Writes characters to an existing unified exec session and returns recent output.; args=[chars, max_output_tokens, session_id, yield_time_ms]; hash=7fb62d8a3e2df4e2 - function/list_mcp_resources: Lists resources provided by MCP servers. Resources allow servers to share data that provides cont...; args=[cursor, environment_id, server]; hash=54340f513f7e4f23 @@ -28,7 +28,7 @@ Settings: - function/request_user_input: Request user input for one to three short questions and wait for the response. This tool is only ...; args=[questions]; hash=64a729b25c424fc6 - custom/apply_patch: The `apply_patch` tool can be used to edit files. This is a FREEFORM tool, so do not wrap the pat...; hash=6673c610c90583ae - function/view_image: View a local image file from the filesystem when visual inspection is needed. Use this for images...; args=[environment_id, path]; hash=919f5105a7799bf4 - - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=2327142bda177c50 + - namespace/multi_agent_v1: Tools for spawning and managing sub-agents.; hash=f066a006a1fd060e - function/close_agent - function/resume_agent - function/send_input diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__partial_answers__preserved_answer_fork.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__partial_answers__preserved_answer_fork.snap index b21078d1c7..4ba5b15294 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__partial_answers__preserved_answer_fork.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__partial_answers__preserved_answer_fork.snap @@ -6,13 +6,13 @@ Scenario: A worker inherits the parent prefix, then receives its own window hint ## Window 1 -- request 1 (turn) -- -00:additional_tools/developer (2; hash=282a18c1bfb2be88): +00:additional_tools/developer (2; hash=9fb89f63da333416): - namespace/functions; hash=c0e72eb3b93fb0da - custom/exec - function/wait - function/request_user_input - function/new_context - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents @@ -60,13 +60,13 @@ Scenario: A worker inherits the parent prefix, then receives its own window hint ## Window 2 (after request 3: input diverged at item 13) -- request 4 (turn) -- -00:additional_tools/developer (2; hash=282a18c1bfb2be88): +00:additional_tools/developer (2; hash=9fb89f63da333416): - namespace/functions; hash=c0e72eb3b93fb0da - custom/exec - function/wait - function/request_user_input - function/new_context - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__prediction_fork_preserves_context_above_compaction_threshold.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__prediction_fork_preserves_context_above_compaction_threshold.snap index 0e97ac2e66..79a31b0759 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__prediction_fork_preserves_context_above_compaction_threshold.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__prediction_fork_preserves_context_above_compaction_threshold.snap @@ -16,7 +16,7 @@ Settings: text: {"verbosity":"low"} tool_choice: "auto" -- request 1 (turn) -- -00:additional_tools/developer (3; hash=ddc1f237b3cabaee): +00:additional_tools/developer (3; hash=85dc7ee74cc74b50): - namespace/functions; hash=a1243ae7ec163900 - custom/exec - function/wait @@ -25,7 +25,7 @@ Settings: - function/new_context - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__retained_tool_outputs__retained_tool_output_retention_disabled.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__retained_tool_outputs__retained_tool_output_retention_disabled.snap index d70923d2e8..4fac7d58ea 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__retained_tool_outputs__retained_tool_output_retention_disabled.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__retained_tool_outputs__retained_tool_output_retention_disabled.snap @@ -6,7 +6,7 @@ Scenario: With retention disabled, the client can still send retain=true. Tool o ## Window 1 -- request 1 (turn) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -14,7 +14,7 @@ Scenario: With retention disabled, the client can still send retain=true. Tool o - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents @@ -45,7 +45,7 @@ Scenario: With retention disabled, the client can still send retain=true. Tool o ## Window 2 (after request 3: input diverged at item 11) -- request 4 (compaction) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -53,7 +53,7 @@ Scenario: With retention disabled, the client can still send retain=true. Tool o - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents @@ -84,7 +84,7 @@ Scenario: With retention disabled, the client can still send retain=true. Tool o ## Window 3 (after request 4: input diverged at item 06) -- request 5 (turn) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -92,7 +92,7 @@ Scenario: With retention disabled, the client can still send retain=true. Tool o - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__retained_tool_outputs__retained_tool_output_survives_compaction_and_resume.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__retained_tool_outputs__retained_tool_output_survives_compaction_and_resume.snap index 3932fad8ab..8194a318da 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__retained_tool_outputs__retained_tool_output_survives_compaction_and_resume.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__retained_tool_outputs__retained_tool_output_survives_compaction_and_resume.snap @@ -6,7 +6,7 @@ Scenario: Retained thread instructions stop emergency tool-output trimming. Comp ## Window 1 -- request 1 (turn) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -14,7 +14,7 @@ Scenario: Retained thread instructions stop emergency tool-output trimming. Comp - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents @@ -48,7 +48,7 @@ Scenario: Retained thread instructions stop emergency tool-output trimming. Comp ## Window 2 (after request 4: input diverged at item 06) -- request 5 (turn) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -56,7 +56,7 @@ Scenario: Retained thread instructions stop emergency tool-output trimming. Comp - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__skill_catalog_dedup__dedup_before_budgeting.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__skill_catalog_dedup__dedup_before_budgeting.snap index 43a5df745a..6639844732 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__skill_catalog_dedup__dedup_before_budgeting.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__skill_catalog_dedup__dedup_before_budgeting.snap @@ -16,7 +16,7 @@ Settings: text: {"verbosity":"low"} tool_choice: "auto" -- request 1 (turn) -- -00:additional_tools/developer (3; hash=1afe640e9d1b84d7): +00:additional_tools/developer (3; hash=aa1c8d2cbd56c247): - namespace/functions; hash=c4874773c24012ab - custom/exec - function/wait @@ -24,7 +24,7 @@ Settings: - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__skill_catalog_dedup__dedup_without_descriptions.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__skill_catalog_dedup__dedup_without_descriptions.snap index bc6e664c4e..104c4c661a 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__skill_catalog_dedup__dedup_without_descriptions.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__skill_catalog_dedup__dedup_without_descriptions.snap @@ -16,7 +16,7 @@ Settings: text: {"verbosity":"low"} tool_choice: "auto" -- request 1 (turn) -- -00:additional_tools/developer (3; hash=1afe640e9d1b84d7): +00:additional_tools/developer (3; hash=aa1c8d2cbd56c247): - namespace/functions; hash=c4874773c24012ab - custom/exec - function/wait @@ -24,7 +24,7 @@ Settings: - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__skill_catalog_dedup__skill_catalog_deltas.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__skill_catalog_dedup__skill_catalog_deltas.snap index 2553854cde..736b8a8685 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__skill_catalog_dedup__skill_catalog_deltas.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__skill_catalog_dedup__skill_catalog_deltas.snap @@ -16,7 +16,7 @@ Settings: text: {"verbosity":"low"} tool_choice: "auto" -- request 1 (turn) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -24,7 +24,7 @@ Settings: - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents @@ -160,7 +160,7 @@ Settings: ## Window 2 (after request 7: input diverged at item 02) Settings: same as window 1 -- request 8 (turn) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -168,7 +168,7 @@ Settings: same as window 1 - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents @@ -295,7 +295,7 @@ Settings: same as window 1 ## Window 3 (after request 11: input diverged at item 07) Settings: same as window 1 -- request 12 (turn) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -303,7 +303,7 @@ Settings: same as window 1 - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents @@ -436,7 +436,7 @@ Settings: same as window 1 ## Window 4 (after request 18: input diverged at item 10) Settings: same as window 1 -- request 19 (turn) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -444,7 +444,7 @@ Settings: same as window 1 - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__skill_read_installation_recovery_request_history.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__skill_read_installation_recovery_request_history.snap index 87c8290819..4c88bc3817 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__skill_read_installation_recovery_request_history.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__skill_read_installation_recovery_request_history.snap @@ -6,7 +6,7 @@ Scenario: Astra reads Cloud instructions, discovers an omitted deployment instal ## Window 1 -- request 1 (request) -- -00:additional_tools/developer (3; hash=f06ad43aee72e7a1): +00:additional_tools/developer (3; hash=e37d13847f694d9d): - namespace/functions; hash=3eb85b1b397a4861 - custom/exec - function/wait @@ -14,7 +14,7 @@ Scenario: Astra reads Cloud instructions, discovers an omitted deployment instal - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__strict_3p_cache__strict_3p_mcp_catalog_cache.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__strict_3p_cache__strict_3p_mcp_catalog_cache.snap index 6119981a5e..6a0cf444b5 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__strict_3p_cache__strict_3p_mcp_catalog_cache.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__strict_3p_cache__strict_3p_mcp_catalog_cache.snap @@ -24,7 +24,7 @@ Settings: - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__unavailable_images_are_rechecked_without_rewriting_history.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__unavailable_images_are_rechecked_without_rewriting_history.snap index 0dbf2664ab..1d406b7985 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__unavailable_images_are_rechecked_without_rewriting_history.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__unavailable_images_are_rechecked_without_rewriting_history.snap @@ -7,7 +7,7 @@ Scenario: Available file references pass through. A later request replaces missi ## Window 1 -- request 1 (turn) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -15,7 +15,7 @@ Scenario: Available file references pass through. A later request replaces missi - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents @@ -43,7 +43,7 @@ Scenario: Available file references pass through. A later request replaces missi ## Window 2 (after request 1: input diverged at item 06) -- request 2 (turn) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -51,7 +51,7 @@ Scenario: Available file references pass through. A later request replaces missi - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__world_state_prefix__extension_window_prefix_local.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__world_state_prefix__extension_window_prefix_local.snap index 6261386acf..ae406932b5 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__world_state_prefix__extension_window_prefix_local.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__world_state_prefix__extension_window_prefix_local.snap @@ -16,7 +16,7 @@ Settings: text: {"verbosity":"low"} tool_choice: "auto" -- request 1 (turn; Initial policy A) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -24,7 +24,7 @@ Settings: - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents @@ -132,7 +132,7 @@ Settings: ## Window 2 (after request 4: input diverged at item 02) Settings: unavailable (items only) -- request 5 (items; Stored replacement before next turn) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -140,7 +140,7 @@ Settings: unavailable (items only) - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents @@ -229,7 +229,7 @@ Settings: unavailable (items only) ## Window 3 (after request 5) Settings: same as window 1 -- request 6 (turn; Unchanged policy C after compaction) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -237,7 +237,7 @@ Settings: same as window 1 - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__world_state_prefix__extension_window_prefix_remote.snap b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__world_state_prefix__extension_window_prefix_remote.snap index 36cf628d25..ebe64f2e57 100644 --- a/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__world_state_prefix__extension_window_prefix_remote.snap +++ b/codex-rs/core/tests/suite/snapshots/all__suite__scenarios__world_state_prefix__extension_window_prefix_remote.snap @@ -16,7 +16,7 @@ Settings: text: {"verbosity":"low"} tool_choice: "auto" -- request 1 (turn; Initial policy A) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -24,7 +24,7 @@ Settings: - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents @@ -123,7 +123,7 @@ Settings: ## Window 2 (after request 4: input diverged at item 02) Settings: unavailable (items only) -- request 5 (items; Stored replacement before next turn) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -131,7 +131,7 @@ Settings: unavailable (items only) - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents @@ -218,7 +218,7 @@ Settings: unavailable (items only) ## Window 3 (after request 5) Settings: same as window 1 -- request 6 (turn; Unchanged policy C after compaction) -- -00:additional_tools/developer (3; hash=e43eac769da0e93e): +00:additional_tools/developer (3; hash=f2e4edd02b6f9300): - namespace/functions; hash=81846de5bc4e7474 - custom/exec - function/wait @@ -226,7 +226,7 @@ Settings: same as window 1 - function/request_user_input_async - namespace/clock: Tools for reading and waiting on time.; hash=f402e8c5e9b5e317 - function/sleep - - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=2c8d6295978dbe63 + - namespace/collaboration: Tools for spawning and managing sub-agents.; hash=0271b89d55152d99 - function/followup_task - function/interrupt_agent - function/list_agents diff --git a/codex-rs/core/tests/suite/spawn_agent_description.rs b/codex-rs/core/tests/suite/spawn_agent_description.rs index 7853abd19e..fecf60585f 100644 --- a/codex-rs/core/tests/suite/spawn_agent_description.rs +++ b/codex-rs/core/tests/suite/spawn_agent_description.rs @@ -23,6 +23,7 @@ use codex_protocol::protocol::MULTI_AGENT_MODE_OPEN_TAG; use codex_protocol::protocol::MultiAgentVersion; use core_test_support::responses::ResponsesRequest; use core_test_support::responses::ev_completed; +use core_test_support::responses::ev_function_call_with_namespace; use core_test_support::responses::ev_response_created; use core_test_support::responses::mount_models_once; use core_test_support::responses::mount_sse_once; @@ -164,6 +165,126 @@ async fn model_catalog_flag_controls_refresh( Ok(()) } +#[test_case(false; "schema")] +#[test_case(true; "context")] +#[tokio::test(flavor = "multi_thread", worker_threads = 2)] +async fn expanded_spawn_model_catalog_and_error_preserve_the_visible_limit( + model_catalog_in_context: bool, +) -> Result<()> { + let server = start_mock_server().await; + let long_description = "x".repeat(300); + let mut models = (1..=17) + .map(|index| { + let slug = format!("picker-model-{index:02}"); + let description = if index == 1 { + long_description.as_str() + } else { + "Picker model" + }; + let mut model = test_model_info( + &slug, + &slug, + description, + ModelVisibility::List, + ReasoningEffort::Low, + Vec::new(), + Vec::new(), + ); + model.priority = index; + model + }) + .collect::>(); + let mut hidden = models[0].clone(); + hidden.slug = "hidden-model".to_string(); + hidden.visibility = ModelVisibility::Hide; + hidden.priority = -2; + let mut disabled = models[0].clone(); + disabled.slug = "disabled-model".to_string(); + disabled.multi_agent_version = Some(MultiAgentVersion::Disabled); + disabled.priority = -1; + models.extend([hidden, disabled]); + mount_models_once(&server, ModelsResponse { models }).await; + + const CALL_ID: &str = "unknown-spawn-model"; + let responses = mount_sse_sequence( + &server, + vec![ + sse(vec![ + ev_response_created("resp1"), + ev_function_call_with_namespace( + CALL_ID, + MULTI_AGENT_V2_NAMESPACE, + SPAWN_AGENT_TOOL_NAME, + &serde_json::json!({ + "message": "Do the task", + "task_name": "worker", + "model": "missing-model", + }) + .to_string(), + ), + ev_completed("resp1"), + ]), + sse(vec![ev_response_created("resp2"), ev_completed("resp2")]), + ], + ) + .await; + let test = test_codex() + .with_auth(CodexAuth::create_dummy_chatgpt_auth_for_testing()) + .with_model("picker-model-01") + .with_config(move |config| { + config.features.enable(Feature::Collab).unwrap(); + config.features.enable(Feature::MultiAgentV2).unwrap(); + config + .features + .set_enabled(Feature::ModelCatalogInContext, model_catalog_in_context) + .unwrap(); + config.multi_agent_v2.hide_spawn_agent_metadata = false; + }) + .build_with_auto_env(&server) + .await?; + wait_for_model_available(&test.thread_manager.get_models_manager(), "picker-model-01").await; + test.submit_turn("hello").await?; + + let requests = responses.requests(); + assert_eq!(requests.len(), 2); + let listing = if model_catalog_in_context { + requests[0] + .message_input_texts("developer") + .into_iter() + .find(|message| message.starts_with("")) + .expect("model catalog context") + } else { + spawn_agent_description(&requests[0].body_json(), MULTI_AGENT_V2_NAMESPACE) + .expect("spawn_agent description") + }; + let listed = listing + .lines() + .filter_map(|line| line.strip_prefix("- `")) + .filter_map(|line| line.split_once('`').map(|(slug, _)| slug.to_string())) + .collect::>(); + let expected = (1..=16) + .map(|index| format!("picker-model-{index:02}")) + .collect::>(); + assert_eq!(listed, expected); + if model_catalog_in_context { + assert!(!listing.contains(&"x".repeat(251))); + } else { + assert!(listing.contains(&long_description)); + } + + let (output, _) = requests[1] + .function_call_output_content_and_success(CALL_ID) + .expect("spawn_agent error output"); + assert_eq!( + output, + Some(format!( + "Unknown model `missing-model` for spawn_agent. Available models: {}", + expected.join(", ") + )) + ); + Ok(()) +} + pub(super) async fn model_catalog_refresh_requests( multi_agent_version: MultiAgentVersion, model_catalog_in_context: bool,