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
# We are using presets to set the prompts, image, and set up instructions
@@ -176,22 +174,19 @@ data "coder_parameter" "preview_port" {
176
174
177
175
# Other variables for Claude Code
178
176
resource"coder_env""claude_task_prompt" {
179
-
agent_id=coder_agent.main.id
180
-
agent_name="main"
181
-
name="CODER_MCP_CLAUDE_TASK_PROMPT"
182
-
value=data.coder_parameter.ai_prompt.value
177
+
agent_id=coder_agent.main.id
178
+
name="CODER_MCP_CLAUDE_TASK_PROMPT"
179
+
value=data.coder_parameter.ai_prompt.value
183
180
}
184
181
resource"coder_env""app_status_slug" {
185
-
agent_id=coder_agent.main.id
186
-
agent_name="main"
187
-
name="CODER_MCP_APP_STATUS_SLUG"
188
-
value="ccw"
182
+
agent_id=coder_agent.main.id
183
+
name="CODER_MCP_APP_STATUS_SLUG"
184
+
value="ccw"
189
185
}
190
186
resource"coder_env""claude_system_prompt" {
191
-
agent_id=coder_agent.main.id
192
-
agent_name="main"
193
-
name="CODER_MCP_CLAUDE_SYSTEM_PROMPT"
194
-
value=data.coder_parameter.system_prompt.value
187
+
agent_id=coder_agent.main.id
188
+
name="CODER_MCP_CLAUDE_SYSTEM_PROMPT"
189
+
value=data.coder_parameter.system_prompt.value
195
190
}
196
191
197
192
data"coder_provisioner""me" {}
@@ -301,38 +296,27 @@ module "code-server" {
301
296
# This ensures that the latest non-breaking version of the module gets downloaded, you can also pin the module version to prevent breaking changes in production.
> this enables more functionality, it also means Claude Code can potentially execute commands with the same privileges as
27
27
> the user running it. Use this module _only_ in trusted environments and be aware of the security implications.
28
28
29
+
> [!NOTE]
30
+
> By default, this module is configured to run the embedded chat interface as a path-based application. In production, we recommend that you configure a [wildcard access URL](https://coder.com/docs/admin/setup#wildcard-access-url) and set `subdomain = true`. See [here](https://coder.com/docs/tutorials/best-practices/security-best-practices#disable-path-based-apps) for more details.
31
+
29
32
## Prerequisites
30
33
31
34
- You must add the [Coder Login](https://registry.coder.com/modules/coder-login) module to your template
Copy file name to clipboardExpand all lines: registry/coder/modules/goose/README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Run the [Goose](https://block.github.io/goose/) agent in your workspace to gener
13
13
```tf
14
14
module "goose" {
15
15
source = "registry.coder.com/coder/goose/coder"
16
-
version = "2.1.1"
16
+
version = "2.1.2"
17
17
agent_id = coder_agent.example.id
18
18
folder = "/home/coder"
19
19
install_goose = true
@@ -79,7 +79,7 @@ resource "coder_agent" "main" {
79
79
module "goose" {
80
80
count = data.coder_workspace.me.start_count
81
81
source = "registry.coder.com/coder/goose/coder"
82
-
version = "2.1.1"
82
+
version = "2.1.2"
83
83
agent_id = coder_agent.example.id
84
84
folder = "/home/coder"
85
85
install_goose = true
@@ -123,4 +123,6 @@ Note: The indentation in the heredoc is preserved, so you can write the YAML nat
123
123
124
124
## Troubleshooting
125
125
126
+
By default, this module is configured to run the embedded chat interface as a path-based application. In production, we recommend that you configure a [wildcard access URL](https://coder.com/docs/admin/setup#wildcard-access-url) and set `subdomain = true`. See [here](https://coder.com/docs/tutorials/best-practices/security-best-practices#disable-path-based-apps) for more details.
127
+
126
128
The module will create log files in the workspace's `~/.goose-module` directory. If you run into any issues, look at them for more information.
0 commit comments