Skip to content

Commit 843b1f1

Browse files
chore: change copilot default version to latest (#499)
## Description Changes `copilot_version` default to `latest` ## Type of Change - [ ] New module - [ ] New template - [X] Bug fix - [ ] Feature/enhancement - [ ] Documentation - [ ] Other ## Module Information <!-- Delete this section if not applicable --> **Path:** `registry/coder-labs/modules/copilot` **New version:** `v0.2.2` **Breaking change:** [ ] Yes [X] No ## Testing & Validation - [X] Tests pass (`bun test`) - [X] Code formatted (`bun fmt`) - [X] Changes tested locally ## Related Issues <!-- Link related issues or write "None" if not applicable -->
1 parent 583918b commit 843b1f1

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

registry/coder-labs/modules/copilot/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Run [GitHub Copilot CLI](https://docs.github.com/copilot/concepts/agents/about-c
1313
```tf
1414
module "copilot" {
1515
source = "registry.coder.com/coder-labs/copilot/coder"
16-
version = "0.2.1"
16+
version = "0.2.2"
1717
agent_id = coder_agent.example.id
1818
workdir = "/home/coder/projects"
1919
}
@@ -51,7 +51,7 @@ data "coder_parameter" "ai_prompt" {
5151
5252
module "copilot" {
5353
source = "registry.coder.com/coder-labs/copilot/coder"
54-
version = "0.2.1"
54+
version = "0.2.2"
5555
agent_id = coder_agent.example.id
5656
workdir = "/home/coder/projects"
5757
@@ -71,12 +71,12 @@ Customize tool permissions, MCP servers, and Copilot settings:
7171
```tf
7272
module "copilot" {
7373
source = "registry.coder.com/coder-labs/copilot/coder"
74-
version = "0.2.1"
74+
version = "0.2.2"
7575
agent_id = coder_agent.example.id
7676
workdir = "/home/coder/projects"
7777
78-
# Version pinning (defaults to "0.0.334", use "latest" for newest version)
79-
copilot_version = "latest"
78+
# Version pinning (defaults to "latest", use specific version if desired)
79+
copilot_version = "0.0.334"
8080
8181
# Tool permissions
8282
allow_tools = ["shell(git)", "shell(npm)", "write"]
@@ -142,7 +142,7 @@ variable "github_token" {
142142
143143
module "copilot" {
144144
source = "registry.coder.com/coder-labs/copilot/coder"
145-
version = "0.2.1"
145+
version = "0.2.2"
146146
agent_id = coder_agent.example.id
147147
workdir = "/home/coder/projects"
148148
github_token = var.github_token
@@ -156,7 +156,7 @@ Run Copilot as a command-line tool without task reporting or web interface. This
156156
```tf
157157
module "copilot" {
158158
source = "registry.coder.com/coder-labs/copilot/coder"
159-
version = "0.2.1"
159+
version = "0.2.2"
160160
agent_id = coder_agent.example.id
161161
workdir = "/home/coder"
162162
report_tasks = false

registry/coder-labs/modules/copilot/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ variable "agentapi_version" {
104104
variable "copilot_version" {
105105
type = string
106106
description = "The version of GitHub Copilot CLI to install. Use 'latest' for the latest version or specify a version like '0.0.334'."
107-
default = "0.0.334"
107+
default = "latest"
108108
}
109109

110110
variable "report_tasks" {

0 commit comments

Comments
 (0)