RFD: Forking of existing sessions#233
Conversation
|
For context: we opened zed-industries/claude-code-acp#145 to explore how this could be implemented. The PR also suggested a For Claude Code, the SDK already provides the blocks we'd need to implement this: {
"jsonrpc": "2.0",
"method": "session/fork",
"params": {
"sessionId": "EXISTING-ACP-SESS-ID"
}
}Optionally, we could require to also pass any other parameters from The agent would then reply with the same format as |
benbrandt
left a comment
There was a problem hiding this comment.
Love it. Added some comments, I can also take a look to figure out what we'd need to do for Codex and others as well
benbrandt
left a comment
There was a problem hiding this comment.
I made some small tweaks to inline some examples, and also tweaked the capability structure a bit since we have a few session capabilities now (and could also make a plan to migrate the load one)
But looks good to me!
|
Thank you!!! 🥳 🍾 |
No description provided.