Skip to content
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

feat(agent): generate C# bindings from Cody agent protocol #120

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

abeatrix
Copy link
Collaborator

This change adds a new script scripts/agent-bindings.sh that generates C# bindings for the Cody agent protocol. The script clones the cody-dist repository, builds the agent, and then generates the bindings in the src/Cody.Core/Agent/Protocol directory.

This allows the Cody application to easily consume the agent protocol without having to manually maintain the bindings.

CLOSE https://linear.app/sourcegraph/issue/CODY-3620/automate-agent-bindings-process-for-visual-studio

I think next step is to integrate the script into our build process?

This change adds a new script `scripts/agent-bindings.sh` that generates C# bindings for the Cody agent protocol. The script clones the `cody-dist` repository, builds the agent, and then generates the bindings in the `src/Cody.Core/Agent/Protocol` directory.

This allows the Cody application to easily consume the agent protocol without having to manually maintain the bindings.

CLOSE https://linear.app/sourcegraph/issue/CODY-3620/automate-agent-bindings-process-for-visual-studio
Copy link

Test Results

10 tests  ±0   10 ✅ ±0   12m 46s ⏱️ + 10m 28s
 1 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit d5ae30c. ± Comparison against base commit f3ac8d9.

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.

1 participant