Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): Codex subagent approvals show up in the parent thread #13703

Mergedjuliusmarmingemerged 1 commit intot3code/codex-turn-mapping fromrefs/pull/13703/headmerged by juliusmarminge View on GitHub

Showing 9 changed files with 157 additions and 18 deletions (loading 6).

x
0 of 9 viewed, 9 left
27 additions and 0 deletionsapps/server/scripts/record-codex-app-server-replay-fixture.tsModified
View file
@@ -31,6 +31,7 @@
SUBAGENT_CONTINUE_PARENT_PROMPT,
SUBAGENT_CONTINUE_PROMPT,
SUBAGENT_PROMPT,
+ SUBAGENT_V2_APPROVAL_PROMPT,
SUBAGENT_V2_PROMPT,
SUBAGENT_V2_NESTED_PROMPT,
THREAD_ROLLBACK_AFTER_PROMPT,
@@ -86,6 +87,7 @@
"subagent",
"subagent_continue",
"subagent_v2",
+ "subagent_v2_approval",
"subagent_v2_nested",
"multi_turn",
"queued_turn",
@@ -469,6 +471,31 @@
+ {
+ name: "subagent_v2_approval",
+ fileName: "subagent_v2_approval.ndjson",
+ description:
+ "One root turn in approval-required mode whose multi-agent v2 subagent runs a command that needs approval.",
+ runs: [
+ {
+ name: "spawn-v2-subagent-needing-approval",