Skip to main content

Module resume_retry

Module resume_retry 

Source
Expand description

Stale---resume recovery: executing the effects persistent_resume decides, locating a recoverable session id, and the retry-batch rewrite.

Functions§

global_prior_zone 🔒
The agent’s global transcript zone, when this pane would render it: agent-anchored and not archived.
packet_history_tail 🔒
The transcript a continuation packet is built from: the agent’s global zone when the pane has one, else the pane’s own transcript.
pane_history_session_id 🔒
The session id of the conversation a pane renders: the last provider session id in its own transcript, else in the agent’s global transcript zone. Same sources, same order, as has_prior_transcript, so “the pane shows history” and “the spawn continues it” can’t disagree.
pane_history_tail 🔒
The last max_bytes of the history a pane renders: its own transcript, else the agent’s global zone. The bool is whether the window starts partway into the file (so its first line is a fragment).
read_transcript_tail 🔒
The last max_bytes of a transcript, and whether that window starts partway into the file (so its first line is a fragment).