fix(subagent-codex): await managed tree exit

This commit is contained in:
pku-xht
2026-08-04 22:36:31 +08:00
parent 74f2ab90e1
commit a93968bf93
7 changed files with 32 additions and 124 deletions

View File

@@ -1949,8 +1949,8 @@ export interface Config {
* requires the provider's `depthLimit` capability (mount fails loud
* otherwise). The provider checks the calling agent's current depth at every
* start; the tool remains model-visible so runtime policy owns rejection.
* `'provider-managed'` is for an out-of-process provider (ACP) whose
* recursion budget belongs to the child harness's own deployment.
* `'provider-managed'` is for an out-of-process provider whose recursion
* budget belongs to the child runtime or its own deployment.
*/
maxDepth?: number | 'provider-managed'
}