session/resume. Same as session/load but without message replaying
#242
Closed
molecule-man
started this conversation in
Protocol Suggestions
Replies: 1 comment
-
|
Let's consolidate discussion on this to the current proposed RFD #234 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
session/loadmandates that "The Agent MUST replay the entire conversation to the Client" (see docs)Proposal
Add
session/resumewhich will be clone ofsession/loadbut without the message replaying part. This could enable solving issues like zed-industries/claude-code-acp#130.Checking support:
{ "jsonrpc": "2.0", "id": 0, "result": { "protocolVersion": 1, "agentCapabilities": { "resumeSession": true } } }resuming:
{ "jsonrpc": "2.0", "id": 1, "method": "session/resume", "params": { "sessionId": "sess_789xyz", "cwd": "/home/user/project", "mcpServers": [ { "name": "filesystem", "command": "/path/to/mcp-server", "args": ["--mode", "filesystem"], "env": [] } ] } }Beta Was this translation helpful? Give feedback.
All reactions