Upgrade duo workflow client protocol version
What does this MR do and why?
What?
Updates duo-workflow-svc clients:
- Ruby client used by Rails
- Go client used by Workhorse client
Why?
To support ReadFiles and the following actions and endpoints which are missing from the current protobuf generated clients which are required for invoking workflow actions as tools over WebSocket connections.
- Readfiles
- HeartbeatRequest
- ListToolsRequest
- ListToolsResponse
- OsInformationContext
Testing Steps
- Checkout to this branch
- Run
bundle
-
cd
into/workhorse
folder. Runmake
- Restart gdk:
gdk restart workhorse rails-web
- Enable WebSocket connection type in the IDE.
- Use the prompt
read_files README.md, readme.md
to trigger use of the specific tool. - You should see the message
Read 2 files
in the agent platform sidebar - Review extension/language server debug logs in the IDE if the UI is not clear.
References
Related to #567696 (closed)
Screenshots or screen recordings
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Halil Coban