You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 82385c6
Browse filesBrowse the repository at this point in the historyBrowse files
feat(fx): label a sub-agent's approval with that sub-agent
An fx change in review forwards a sub-agent's permission requests to the
ACP client on the parent session and names the child in
`_meta.fx.subagent.sessionId`. Without a label, the approval looked like
the parent's own.
When that child maps to a sub-agent T3 is following through fx's hooks,
the approval on the parent carries "Sub-agent: <task or name>" as its
reason, which web and mobile already show. The answer still goes back on
the parent session. A request without the field, or for a child T3 has
not mapped, stays a plain parent approval. Approvals stay on the parent
because a runtime request belongs to a run, and child threads have none.
The field is provisional until the fx change merges, so one schema in
subagents.ts reads it.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
0 commit comments