return Failure response when agent does not support extension - #109
Conversation
|
Hi, Thanks for the contribution 🙏 we definitely want this merged! I just need a moment to check if we don't need to support this for other commands too and think a bit about tests. Hopefully that's not a problem. I'll be back 👋 |
Signed-off-by: git@71rd.net <git@71rd.net>
|
thanks for the response. |
|
This looks correct to me; the agent protocol has been recently codified as RFC9987, and section 5.6 defines this as the expected response when an extension either doesn’t exist, or the agent doesn’t support extensions at all. One thing that I am noticing though is that we don’t seem to cover |
Signed-off-by: git@71rd.net <git@71rd.net>
|
thanks @jcspencer, seems like a good suggestion. i added the case for client.rs and blocking.rs |
|
please ignore the earlier push mix 🙈 |
|
Phew, merged! Sorry for the delay and thank you very much for your contribution! 🙇 It may take a moment to get into a new release since I've got another idea for something else but we'll get there... eventually 😅 Have a nice day! 👋 |
|
All good :D |
fix for #108