singularity-forge/packages
Mikael Hugo 903cdd4d9d feat(subagent): event streaming for in-process runSubagent
Add RunSubagentOptions.onEvent callback so callers (TUI live update panel
for /delegate, /rubber-duck, etc.) get every session event without polling.
Errors from the callback are caught so a buggy caller cannot crash the agent.

Chain caller-supplied AbortSignal through a local AbortController in
runSingleAgent and register it in a new liveSubagentControllers set so
stopLiveSubagents aborts in-process subagents alongside the legacy spawn-based
processes (cmux split, sift codebase_search).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 04:04:52 +02:00
..
agent-core sf snapshot: uncommitted changes after 268m inactivity 2026-05-15 02:08:06 +02:00
ai sf snapshot: uncommitted changes after 268m inactivity 2026-05-15 02:08:06 +02:00
coding-agent feat(subagent): event streaming for in-process runSubagent 2026-05-15 04:04:52 +02:00
daemon sf snapshot: uncommitted changes after 268m inactivity 2026-05-15 02:08:06 +02:00
google-gemini-cli-provider refactor(extensions): merge ttsr into guardrails 2026-05-15 02:28:40 +02:00
native build: switch full build pipeline to TypeScript 7 native (tsgo) 2026-05-10 11:58:58 +02:00
openai-codex-provider sf snapshot: uncommitted changes after 268m inactivity 2026-05-15 02:08:06 +02:00
rpc-client sf snapshot: uncommitted changes after 268m inactivity 2026-05-15 02:08:06 +02:00
tui sf snapshot: uncommitted changes after 268m inactivity 2026-05-15 02:08:06 +02:00