Expand description
Tail summary of a session’s provider transcript, for a human or operator who cannot reach the machine (a session went silent: what did it do last, where did it stop?).
The session is found in the resume journal (session-resume.json) by its provider session
id (or its instance); the transcript is the provider’s own file: claude
~/.claude/projects/*/<id>.jsonl, codex ~/.codex/sessions/**/rollout-*-<id>.jsonl
(located and read through codex-session-restore). Other providers answer unsupported.
The summary holds only recent prompts, tool calls with their status, errors, the MCP tools
the session had and where it stopped. Never tool output, env, memory or notes: text inside
<system-reminder> is dropped, a tool call naming a memory or notes path keeps only its
name, secrets are scrubbed and host paths shortened. Access is decided by core (owner of the
node or an operator grant on it); the node answers only core’s own link.
Structs§
- Error
Line - Prompt
- Redactor
- Scrubs secrets and host paths out of text shown off the machine.
- Refusal
- Why no summary:
(status, message)for core’s reply. - Summary
- Tool
Call
Enums§
Functions§
- reply
- The
{"ok", "body"|"status","message"}reply for core. - set_
state_ dir - The node’s state directory (where the resume journal lives); set once at start.
- tail
- The summary for the journalled session with
provider_session_id(orinstance_id). - tail_in
tailover explicit inputs (tests).