summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authort <t@tjp.lol>2026-12-03 08:44:58 -0700
committert <t@tjp.lol>2026-12-04 13:53:47 -0700
commitf1f1c5bc66ea1d6019f84050aa21e4476330a719 (patch)
tree0ba0fe085a704b03e92d9cdcd29ddf089c7064dd /README.md
parentea36b1af7dc5e553b26c46b7dda2cb0dd5bcc2b7 (diff)
Preserve ACP sessions across Esc and resume unconditionally
Killing agy on Esc and defaulting save_session off forced cold ACP restarts that re-billed the flattened conversation transcript as uncached input. Storing session checkpoints in Panto's global state.toml also leaked unbounded per-session keys into UI preferences. Send ACP session/cancel on Esc with a non-extendable 3s SIGKILL fallback and reconcile post-cancel prefix hashes so follow-up prompts and /proceed keep the warm session. Remove save_session and panto.ext.state usage, tracking each ACP session's valid resume tip atomically under the isolated Google profile instead. Breaking: [providers.<name>].save_session is rejected; native session resume is now always enabled.
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index e716063..bdfec39 100644
--- a/README.md
+++ b/README.md
@@ -65,11 +65,11 @@ Every ACP chat launch uses `--dangerously-skip-permissions` and `--sandbox`, eve
## Steering and thinking
-Plain Enter during a tool-using turn steers at the next tool boundary. Queued text and workflow notices go to the same live agy session as user input, not as tool output. Ctrl+Enter queues a separate follow-up. If an earlier failure left an unanswered text message, resume that Panto thread and press Ctrl+P (`/proceed`) in the idle TUI to send the pending message once; this requires the Panto build with direct `/proceed` provenance. Reload alone does not retry it. Ctrl+K shows thinking text **if agy sends it**; reasoning-token counts are not displayable text.
+Plain Enter during a tool-using turn steers at the next tool boundary. Queued text and workflow notices go to the same live agy session as user input, not as tool output. Ctrl+Enter queues a separate follow-up. Esc sends ACP `session/cancel` to stop the active turn while keeping the warm ACP session for the next prompt (force-killing `agy` if it does not settle within 3s). If an earlier failure left an unanswered text message, resume that Panto thread and press Ctrl+P (`/proceed`) in the idle TUI to send the pending message once; this requires the Panto build with direct `/proceed` provenance. Reload alone does not retry it. Ctrl+K shows thinking text **if agy sends it**; reasoning-token counts are not displayable text.
## Branch and resume
-Matching live turns keep the warm ACP session. With `save_session = true`, an exact saved checkpoint can resume natively (local state is written even under `--incognito`). Otherwise, the next direct submission after `/tree` or a cold resume starts a new ACP session: Panto sends its selected `history_transcript` as background and the new request once, in a single user message. Past tool calls and results are text, not dispatches. If Panto cannot supply the transcript for existing history, the turn fails rather than silently dropping context.
+Matching live turns keep the warm ACP session. Exact saved checkpoints record their current tip in the isolated profile and resume natively via ACP `session/resume`. Otherwise, the next direct submission after `/tree` or a cold resume starts a new ACP session: Panto sends its selected `history_transcript` as background and the new request once, in a single user message. Past tool calls and results are text, not dispatches. If Panto cannot supply the transcript for existing history, the turn fails rather than silently dropping context.
## Session boundaries