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
Copy file name to clipboardExpand all lines: README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ The agent spawns a child with its own clean context, researches, and caches the
79
79
80
80
### Spawn — isolate noise
81
81
82
-
Delegate messy, exploratory work to an isolated child agent. The child has its own clean context, inherits your model and tools, and reports back condensed results. The parent stays focused.
82
+
Delegate messy, exploratory work to an isolated child agent. The child has its own clean context, inherits your model and active tools except `handoff`, and only gets `spawn` when depth allows it. The parent stays focused.
83
83
84
84
```typescript
85
85
// The agent calls spawn — you never see the child's messy exploration
@@ -90,7 +90,7 @@ spawn({
90
90
// Returns: a concise summary. All intermediate noise stays in the child.
91
91
```
92
92
93
-
- Max depth: 2 (parent → child → grandchild)
93
+
- Max depth: 1 (parent → child only)
94
94
- Real-time TUI rendering of the child session
95
95
- Token cost and usage stats reported back
96
96
- Ledger writes from children are visible to parent (same shared state)
@@ -182,6 +182,9 @@ interface AgenticodingState {
182
182
lastContextPercent:number|null// last reading from getContextUsage()
183
183
pendingHandoff: { task, source } |null
184
184
pendingRequestedHandoff: { direction, ... } |null
185
+
childSessions:Map<string, AgentSession> // render handoff queue keyed by toolCallId
186
+
liveChildSessions:Map<string, AgentSession> // live registry, including claimed sessions
187
+
childSessionEpoch:number// increments on /new to invalidate stale child updates
0 commit comments