Skip to content

docs(claude): document native session resume and add regression test - #1922

Open
atsushi-ishibashi wants to merge 1 commit into
rivet-dev:mainfrom
atsushi-ishibashi:feat/claude-native-session-resume
Open

docs(claude): document native session resume and add regression test#1922
atsushi-ishibashi wants to merge 1 commit into
rivet-dev:mainfrom
atsushi-ishibashi:feat/claude-native-session-resume

Conversation

@atsushi-ishibashi

Copy link
Copy Markdown
  • Document that the packaged Claude Code agent persists sessions under CLAUDE_CONFIG_DIR (default /home/agentos/.claude, on durable VM storage) and that restoration uses native ACP session/resume backed by the SDK resume option (claude --resume), with guidance for keeping an overridden CLAUDE_CONFIG_DIR on a durable path.
  • Add a type-checked resume example region to examples/claude/client.ts for the new docs section.
  • Add regression tests to software/claude that resume a persisted session natively in a fresh adapter process (verifying the prior turn is replayed to the model, not re-sent as a preamble) and that a session missing from CLAUDE_CONFIG_DIR surfaces as ACP resource not found (-32002).
  • Confirms the adapter does not force CLAUDE_CODE_SKIP_INITIAL_MESSAGES or disable persistence, so no runtime change is required.

🤖 Generated with Claude Code

https://claude.ai/code/session_018ArS7Xc8JCzJJ4brFvSddC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant