Skip to content

Conversation

@SteffenDE
Copy link

@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
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).

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