-
Notifications
You must be signed in to change notification settings - Fork 106
RFD: Forking of existing sessions #233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.