Over MCP an agent could send a task to a project's agent (loki_dispatch) and
was told not to poll: it had no way to see that the session was up or to
read what the agent answered. The HTTP side got both for a token in #1641.
- loki_sessions: agent sessions open on the owner's builders, each with the
link that opens the same session in Loki's Terminal. Plain shells are
never listed.
- loki_session_read: the end of one session's terminal output as plain text
(escape sequences removed, redrawn and repeated lines collapsed). Queues
the same peek_tab command as POST /api/control/peek-tab and waits up to
twenty seconds; a builder that does not answer is an error that says so.
A plain shell is refused before anything is queued.
- both read only, so both sit under loki.chat, as the scope rule requires.
Claude-Session: https://claude.ai/code/session_019MDtmtCjm3CvrFm3kYaTgy
Co-authored-by: Claude <noreply@anthropic.com>