Repository navigation
agent-claude 1.23.0: an earlier session is carried on by its next message - #52
Merged
Merged
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
Claude can now continue an ended session. The provider reports
capabilities.resume, and a start that carriesresume(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
minAppVersionis unchanged. An app from before earlier sessions never passesresumeand ignores the capability, so this release is safe to merge before or after the app change.resumeis declared locally insrc/paneContract.ts, so the plugin type-checks against released apps.Tests
test/pane.test.ts: the capability; a message to an earlier session starts Claude withresume, the samecwdand 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.test/pane.test.ts58 pass, 2 skip against app v0.1.309.check-dist,check-releaseandcheck-indexpass.After merging
test/pane.test.tsgained lines in the middle, so spec links into it need re-anchoring.