~edwargix/emacs.d

a3715f18fac221586ab3d7bd32a5f8b85c528281 — David Florness 2 months ago 73c3cc4
Show prior conversation when resuming an agent-shell session

Set agent-shell-session-restore-verbosity to 'full so resuming a
session replays the previous prompts and responses into the buffer.

The default 'minimal restores context via session/resume, which the
agent uses to reload the conversation on its side but does NOT replay
any messages into the buffer -- so the model remembers everything yet
the buffer shows nothing, which is disorienting. claude-agent-acp
advertises session/load with full history replay, and 'full forces
that path, so the whole prior conversation is visible again.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 files changed, 1 insertions(+), 0 deletions(-)

M lisp/llm.el
M lisp/llm.el => lisp/llm.el +1 -0
@@ 1,6 1,7 @@
(use-package agent-shell
  :custom
  (agent-shell-prefer-viewport-interaction t)
  (agent-shell-session-restore-verbosity 'full)
  :config
  (setq acp-logging-enabled t))