You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: registry/coder-labs/modules/copilot/README.md
+23-23Lines changed: 23 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,18 @@
1
1
---
2
-
display_name: Copilot CLI
2
+
display_name: Copilot
3
3
description: GitHub Copilot CLI agent for AI-powered terminal assistance
4
4
icon: ../../../../.icons/github.svg
5
5
verified: false
6
6
tags: [agent, copilot, ai, github, tasks]
7
7
---
8
8
9
-
# Copilot CLI
9
+
# Copilot
10
10
11
11
Run [GitHub Copilot CLI](https://docs.github.com/copilot/concepts/agents/about-copilot-cli) in your workspace for AI-powered coding assistance directly from the terminal. This module integrates with [AgentAPI](https://github.com/coder/agentapi) for task reporting in the Coder UI.
Run Copilot CLI as a command-line tool without task reporting or web interface. This installs and configures Copilot CLI, making it available as a CLI app in the Coder agent bar that you can launch to interact with Copilot CLI directly from your terminal. Set `report_tasks = false` to disable integration with Coder Tasks.
151
+
Run Copilot as a command-line tool without task reporting or web interface. This installs and configures Copilot, making it available as a CLI app in the Coder agent bar that you can launch to interact with Copilot directly from your terminal. Set `report_tasks = false` to disable integration with Coder Tasks.
@@ -167,14 +167,14 @@ The module supports multiple authentication methods (in priority order):
167
167
168
168
1.**[Coder External Auth](https://coder.com/docs/admin/external-auth) (Recommended)** - Automatic if GitHub external auth is configured in Coder
169
169
2.**Direct Token** - Pass `github_token` variable (OAuth or Personal Access Token)
170
-
3.**Interactive** - Copilot CLI prompts for login via `/login` command if no auth found
170
+
3.**Interactive** - Copilot prompts for login via `/login` command if no auth found
171
171
172
172
> [!NOTE]
173
-
> OAuth tokens work best with Copilot CLI. Personal Access Tokens may have limited functionality.
173
+
> OAuth tokens work best with Copilot. Personal Access Tokens may have limited functionality.
174
174
175
175
## Session Resumption
176
176
177
-
By default, the module resumes the latest Copilot CLI session when the workspace restarts. Set `resume_session = false` to always start fresh sessions.
177
+
By default, the module resumes the latest Copilot session when the workspace restarts. Set `resume_session = false` to always start fresh sessions.
178
178
179
179
> [!NOTE]
180
180
> Session resumption requires persistent storage for the home directory or workspace volume. Without persistent storage, sessions will not resume across workspace restarts.
Copy file name to clipboardExpand all lines: registry/coder-labs/modules/copilot/main.tf
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ variable "agent_id" {
15
15
16
16
variable"workdir" {
17
17
type=string
18
-
description="The folder to run Copilot CLI in."
18
+
description="The folder to run Copilot in."
19
19
}
20
20
21
21
variable"external_auth_id" {
@@ -43,7 +43,7 @@ variable "copilot_model" {
43
43
44
44
variable"copilot_config" {
45
45
type=string
46
-
description="Custom Copilot CLI configuration as JSON string. Leave empty to use default configuration with banner disabled, theme set to auto, and workdir as trusted folder."
46
+
description="Custom Copilot configuration as JSON string. Leave empty to use default configuration with banner disabled, theme set to auto, and workdir as trusted folder."
47
47
default=""
48
48
}
49
49
@@ -55,7 +55,7 @@ variable "ai_prompt" {
55
55
56
56
variable"system_prompt" {
57
57
type=string
58
-
description="The system prompt to use for the Copilot CLI server."
58
+
description="The system prompt to use for the Copilot server."
59
59
default=<<-EOT
60
60
You are a helpful AI assistant that helps with coding tasks. Always provide clear explanations and follow best practices.
61
61
@@ -81,7 +81,7 @@ variable "system_prompt" {
81
81
82
82
variable"trusted_directories" {
83
83
type=list(string)
84
-
description="Additional directories to trust for Copilot CLI operations."
84
+
description="Additional directories to trust for Copilot operations."
85
85
default=[]
86
86
}
87
87
@@ -118,7 +118,7 @@ variable "install_agentapi" {
118
118
variable"agentapi_version" {
119
119
type=string
120
120
description="The version of AgentAPI to install."
121
-
default="v0.9.0"
121
+
default="v0.10.0"
122
122
}
123
123
124
124
variable"report_tasks" {
@@ -154,36 +154,36 @@ variable "icon" {
154
154
variable"web_app_display_name" {
155
155
type=string
156
156
description="Display name for the web app."
157
-
default="Copilot CLI"
157
+
default="Copilot"
158
158
}
159
159
160
160
variable"cli_app" {
161
161
type=bool
162
-
description="Whether to create a CLI app for Copilot CLI."
162
+
description="Whether to create a CLI app for Copilot."
163
163
default=false
164
164
}
165
165
166
166
variable"cli_app_display_name" {
167
167
type=string
168
168
description="Display name for the CLI app."
169
-
default="Copilot CLI"
169
+
default="Copilot"
170
170
}
171
171
172
172
variable"resume_session" {
173
173
type=bool
174
-
description="Whether to automatically resume the latest Copilot CLI session on workspace restart."
174
+
description="Whether to automatically resume the latest Copilot session on workspace restart."
175
175
default=true
176
176
}
177
177
178
178
variable"pre_install_script" {
179
179
type=string
180
-
description="Custom script to run before configuring Copilot CLI."
180
+
description="Custom script to run before configuring Copilot."
181
181
default=null
182
182
}
183
183
184
184
variable"post_install_script" {
185
185
type=string
186
-
description="Custom script to run after configuring Copilot CLI."
186
+
description="Custom script to run after configuring Copilot."
187
187
default=null
188
188
}
189
189
@@ -192,7 +192,7 @@ data "coder_workspace_owner" "me" {}
0 commit comments