Repository navigation
v0.9.0
Minor Changes
-
6e57bff: Add asynchronous-delegation foundation: a normalized session-state enum and the
bus_waittool.- Normalized state enum (
running | blocked | complete | failed | not_found) plus aresultAvailablesignal, derived once in core (deriveSessionState) and emitted identically bybus_status, the librarysnapshot(), andbus_wait— callers no longer infer state frombusy/blocked. Exported on the/coreand/contractsubpaths (SessionState,SessionStateInfo). bus_wait(fifth tool, both plugin and MCP surfaces): blocks until any watched session needs attention (completes, blocks on a question, fails, or is not found) or a bounded timeout elapses, then returns each session's normalized state plus which session(s) woke the wait. Level-triggered, stateless (a bounded long-poll within the single call), watches sessions across directories, and never throws across the boundary. Replaces the poll-bus_status-in-a-loop pattern with one call that makes progress.
Fire-and-forget push notification (get notified as tasks complete without holding a call open) is a deferred follow-on — this release delivers the blocking-wait foundation and the shared state contract it builds on.
- Normalized state enum (