Skip to content

agent-claude 1.23.0: an earlier session is carried on by its next message - #52

Merged
vydra merged 1 commit into
mainfrom
claude/agent-claude-resume
Nov 30, 2026
Merged

vydra merged 1 commit into
mainfrom
claude/agent-claude-resume

Conversation

@vydra

@vydra vydra commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

What changes

Claude can now continue an ended session. The provider reports capabilities.resume, and a start that carries resume (Claude Code's id of the conversation) runs Claude Code on that conversation, in the folder and on the model the session ran in. This is the same resume the plugin already does after a sign-in change, now also used for the first run.

The app side is SpecDriven/specdriven-app#537: its pane lists earlier sessions, opens one as a tab, and the next message starts Claude again with resume.

Compatibility

minAppVersion is unchanged. An app from before earlier sessions never passes resume and ignores the capability, so this release is safe to merge before or after the app change. resume is declared locally in src/paneContract.ts, so the plugin type-checks against released apps.

Tests

  • New in test/pane.test.ts: the capability; a message to an earlier session starts Claude with resume, the same cwd and the model it ran on; a session Claude never named stays closed. The last two run only against an app that has the earlier-sessions routes.
  • Changed: "Claude exiting on its own ends the session with a note" now expects the next message to continue the session on such an app, and a 409 on an older one.
  • Locally: 168 pass against the app branch of #537; test/pane.test.ts 58 pass, 2 skip against app v0.1.309.
  • check-dist, check-release and check-index pass.

After merging

test/pane.test.ts gained lines in the middle, so spec links into it need re-anchoring.

…sage

The provider says it carries a conversation on (capabilities.resume), and a
start that names one (resume, Claude Code's id of the conversation) runs
Claude Code on it: the first run resumes it, as a run after a sign-in change
already resumes the session's own, in the folder and on the model the
session ran in. The app's pane uses it for an ended session — one opened
from its Earlier sessions list, or one that ended in its tab — whose next
message starts Claude again. An app from before that list never passes
resume and ignores the capability.
@vydra
vydra merged commit 0b46ea6 into main Nov 30, 2026
27 checks passed
@vydra
vydra deleted the claude/agent-claude-resume branch November 30, 2026 04:23
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