Skip to content

Conversation

@thalessoareszup
Copy link
Contributor

@thalessoareszup thalessoareszup commented Nov 24, 2025

Hi! I was experimenting with WebSocketTransport and I got decoding errors, which was weird because StdioTransport worked out fine. After a little digging, I saw that WebSocketTransport calls ACPJson.decodeFromString directly instead of decodeJsonRpcMessage like StdioTransport does, which handles the polymorphism.

The PR fixed my issue, so I figured to bring this upstream. I am unsure if there's a proper reason to not use decodeJsonRpcMessage here, so apologies if this doesn't make sense!

@nerzhulart nerzhulart self-requested a review November 24, 2025 20:32
@nerzhulart
Copy link
Contributor

@thalessoareszup Cool, thank you!

@nerzhulart nerzhulart merged commit 4c86ad4 into agentclientprotocol:master Nov 24, 2025
3 checks passed
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