-
Notifications
You must be signed in to change notification settings - Fork 72
feat: New Copilot-CLI Module #441
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a new Copilot CLI module for the Coder registry that integrates GitHub Copilot CLI with AgentAPI for AI-powered terminal assistance in workspaces.
Key changes:
- Creates a Terraform module for deploying GitHub Copilot CLI with AgentAPI integration
- Includes configuration management for trusted directories, tool permissions, and MCP servers
- Provides comprehensive test coverage with both TypeScript and HCL test files
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
main.tf |
Core Terraform module defining variables, resources, and AgentAPI integration |
scripts/install.sh |
Installation script handling prerequisites, authentication, and configuration setup |
scripts/start.sh |
Startup script for launching Copilot CLI through AgentAPI with configurable options |
main.test.ts |
TypeScript test suite validating module functionality across different configurations |
copilot-cli.tftest.hcl |
HCL-based Terraform tests for variable validation and resource creation |
README.md |
Comprehensive documentation with examples and troubleshooting guidance |
testdata/copilot-mock.sh |
Mock script for testing Copilot CLI behavior |
…roved fallback methods
…nd Coder integrations
…le exports in install script
…ith custom settings
…fy and resume the latest session if more than one session file exists
…ipt for better handling
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM> One last thing to test is that when running in Standalone mode. Make sure copilot
is in $PATH
5bfa792
to
5bceee2
Compare
…ule and use new continue param for resuming sessions
…m prompt so it can be changed without obstructing task reporting behaviour
…better adherence to task reporting requirements
|
||
local module_path="$HOME/.copilot-module" | ||
mkdir -p "$module_path" | ||
mkdir -p "$HOME/.config" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's this doing? Nowhere else is .config mentioned. Probably a missed change when the config directory was updated to .copilot.
Description
New Copilot-CLI Module using AgentAPI
Need to test once AgentAPI Changes are pushed.
Type of Change
Module Information
Path:
registry/coder-labs/modules/copilot-cli
New version:
v0.1.0
Breaking change: [ ] Yes [ ] No
Testing & Validation
bun test
)bun run fmt
)Related Issues