Skip to content

Conversation

@SteffenDE
Copy link
Contributor

@SteffenDE SteffenDE commented Nov 28, 2025

Attempt to implement the session/fork RFD (#233).

Disclaimer: I gave the RFD to Claude and let it implement the code. I reviewed everything and it looks reasonable to me, but I'm not a Rust expert :)

I did encounter one issue when I tried to use the generated schema in the typescript-sdk, but I don't think it is related: in the schema.ts, the response types are missing, e.g. NewSessionResponse. In fact, I get the same error trying to use 0.7.0, so it seems to be a general incompatibility.

@benbrandt
Copy link
Member

Thanks I'll take a l look in a bit, but yes, I am working on a fix for the TS side now 👍🏻

@SteffenDE
Copy link
Contributor Author

I'm sure you'll do it properly. For now I let Claude identify the problem and add custom processing to the generate script (agentclientprotocol/typescript-sdk@main...SteffenDE:acp-typescript-sdk:sd-fork-tmp#diff-5d8e53e65cc95851919124ab88f14ddb9958704a6c4bf4b9fcc0f2bfb67b919f).

@benbrandt
Copy link
Member

@SteffenDE can you give me permission to push to this branch?

@benbrandt
Copy link
Member

Otherwise I'll cherry-pick to a new one and do some small tweaks there

@SteffenDE
Copy link
Contributor Author

I'm not sure how to best do that so I invited you as collaborator on the fork!

@benbrandt
Copy link
Member

Thanks!

@benbrandt
Copy link
Member

Moved it here because I gave up :D #311

@benbrandt benbrandt closed this Dec 5, 2025
@SteffenDE SteffenDE deleted the sd-session-fork-impl branch December 5, 2025 17:13
SteffenDE added a commit to tidewave-ai/agent-client-protocol that referenced this pull request Dec 9, 2025
benbrandt pushed a commit to tidewave-ai/agent-client-protocol that referenced this pull request Dec 11, 2025
benbrandt added a commit that referenced this pull request Dec 11, 2025
* feat(unstable): Draft implementation of session/resume

Similar to #277 / #311.

I did not regenerate the schema files for now.

* Update schema

* clippy

---------

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
benbrandt added a commit to zed-industries/claude-code-acp that referenced this pull request Dec 12, 2025
Work in progress! Uses a fork for now.

See
agentclientprotocol/agent-client-protocol#277.

---------

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
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.

2 participants