LiveAgent
LiveAgent copied to clipboard
Subagents started in kn are not visible in LiveAgent
Problem
Subagents started from a kn TUI turn on a LiveAgent session are not shown in LiveAgent, either in the desktop app or the WebUI. The subagent pane is empty and there is no running chip. Backend-run turns show a card for each subagent with its status, tool count, usage, a live transcript and the final result.
Cause
- K-brain side (Stack-Cairn/K-brain#195):
- kn dropped background subagent records for new sessions.
- kn never saved foreground subagents.
- The backend reported subagents running in another process as cancelled.
- LiveAgent side: LiveAgent follows a running subagent only over the backend's SSE event stream. For a subagent running in kn, that stream ends immediately, so even with the records in place the pane would never update.