-
Notifications
You must be signed in to change notification settings - Fork 117
add session/fork #277
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
add session/fork #277
Conversation
|
Thanks I'll take a l look in a bit, but yes, I am working on a fix for the TS side now 👍🏻 |
|
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). |
|
@SteffenDE can you give me permission to push to this branch? |
|
Otherwise I'll cherry-pick to a new one and do some small tweaks there |
|
I'm not sure how to best do that so I invited you as collaborator on the fork! |
|
Thanks! |
|
Moved it here because I gave up :D #311 |
Similar to agentclientprotocol#277 / agentclientprotocol#311. I did not regenerate the schema files for now.
Similar to agentclientprotocol#277 / agentclientprotocol#311. I did not regenerate the schema files for now.
Work in progress! Uses a fork for now. See agentclientprotocol/agent-client-protocol#277. --------- Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
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.