Skip to main content

Module subagent

Module subagent 

Source

Structs§

SubagentDisplayRow
Snapshot row produced by SubagentRegistry::display_rows(). Used by the TUI reconcile path as the registry’s liveness authority.
SubagentHandle
SubagentRegistry
SubagentResult
SubagentState
All mutable state shared between the subagent thread and its handle. Collapsed behind a single RwLock so a status poll takes exactly one lock.

Enums§

SubagentStatus

Constants§

FINISHED_HANDLE_TTL
Finished-but-uncollected handles are retained this long before GC.

Functions§

reap_finished
Engine-owned housekeeping seam: reap finished subagent handles at end of each turn. Acquires the lock poison-safely — a panicked subagent thread must not prevent the turn from completing.