Skip to content

Commit 516a934

Browse files
feat(claude-code): wire web_app variable through to agentapi module (#831)
Follow-up to #764. Now that the `agentapi` module `v2.4.0` is published with `web_app` support, this PR completes the wiring: ## Changes ### `claude-code/main.tf` - Bump agentapi dependency from `v2.3.0` → `v2.4.0` - Replace `# TODO: pass web_app = var.web_app once agentapi module is published with web_app support` with `web_app = var.web_app` ### `claude-code/README.md` - Bump version references from `4.9.0` → `4.9.1` ## Result Setting `web_app = false` on the `claude-code` module now correctly passes through to the `agentapi` module, hiding the web UI app icon from the Coder dashboard while still running AgentAPI. The task-safe behavior (auto-enabling for `coder_ai_task`) is handled by the `agentapi` module. --------- Co-authored-by: blink-so[bot] <211532188+blink-so[bot]@users.noreply.github.com>
1 parent 344b02e commit 516a934

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

registry/coder/modules/claude-code/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Run the [Claude Code](https://docs.anthropic.com/en/docs/agents-and-tools/claude
1313
```tf
1414
module "claude-code" {
1515
source = "registry.coder.com/coder/claude-code/coder"
16-
version = "4.9.0"
16+
version = "4.9.1"
1717
agent_id = coder_agent.main.id
1818
workdir = "/home/coder/project"
1919
claude_api_key = "xxxx-xxxxx-xxxx"
@@ -60,7 +60,7 @@ By default, when `enable_boundary = true`, the module uses `coder boundary` subc
6060
```tf
6161
module "claude-code" {
6262
source = "registry.coder.com/coder/claude-code/coder"
63-
version = "4.9.0"
63+
version = "4.9.1"
6464
agent_id = coder_agent.main.id
6565
workdir = "/home/coder/project"
6666
enable_boundary = true
@@ -81,7 +81,7 @@ For tasks integration with AI Bridge, add `enable_aibridge = true` to the [Usage
8181
```tf
8282
module "claude-code" {
8383
source = "registry.coder.com/coder/claude-code/coder"
84-
version = "4.9.0"
84+
version = "4.9.1"
8585
agent_id = coder_agent.main.id
8686
workdir = "/home/coder/project"
8787
enable_aibridge = true
@@ -110,7 +110,7 @@ data "coder_task" "me" {}
110110
111111
module "claude-code" {
112112
source = "registry.coder.com/coder/claude-code/coder"
113-
version = "4.9.0"
113+
version = "4.9.1"
114114
agent_id = coder_agent.main.id
115115
workdir = "/home/coder/project"
116116
ai_prompt = data.coder_task.me.prompt
@@ -133,7 +133,7 @@ This example shows additional configuration options for version pinning, custom
133133
```tf
134134
module "claude-code" {
135135
source = "registry.coder.com/coder/claude-code/coder"
136-
version = "4.9.0"
136+
version = "4.9.1"
137137
agent_id = coder_agent.main.id
138138
workdir = "/home/coder/project"
139139
@@ -189,7 +189,7 @@ Run and configure Claude Code as a standalone CLI in your workspace.
189189
```tf
190190
module "claude-code" {
191191
source = "registry.coder.com/coder/claude-code/coder"
192-
version = "4.9.0"
192+
version = "4.9.1"
193193
agent_id = coder_agent.main.id
194194
workdir = "/home/coder/project"
195195
install_claude_code = true
@@ -211,7 +211,7 @@ variable "claude_code_oauth_token" {
211211
212212
module "claude-code" {
213213
source = "registry.coder.com/coder/claude-code/coder"
214-
version = "4.9.0"
214+
version = "4.9.1"
215215
agent_id = coder_agent.main.id
216216
workdir = "/home/coder/project"
217217
claude_code_oauth_token = var.claude_code_oauth_token
@@ -284,7 +284,7 @@ resource "coder_env" "bedrock_api_key" {
284284
285285
module "claude-code" {
286286
source = "registry.coder.com/coder/claude-code/coder"
287-
version = "4.9.0"
287+
version = "4.9.1"
288288
agent_id = coder_agent.main.id
289289
workdir = "/home/coder/project"
290290
model = "global.anthropic.claude-sonnet-4-5-20250929-v1:0"
@@ -341,7 +341,7 @@ resource "coder_env" "google_application_credentials" {
341341
342342
module "claude-code" {
343343
source = "registry.coder.com/coder/claude-code/coder"
344-
version = "4.9.0"
344+
version = "4.9.1"
345345
agent_id = coder_agent.main.id
346346
workdir = "/home/coder/project"
347347
model = "claude-sonnet-4@20250514"

registry/coder/modules/claude-code/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -368,10 +368,10 @@ locals {
368368

369369
module "agentapi" {
370370
source = "registry.coder.com/coder/agentapi/coder"
371-
version = "2.3.0"
371+
version = "2.4.0"
372372

373-
agent_id = var.agent_id
374-
# TODO: pass web_app = var.web_app once agentapi module is published with web_app support
373+
agent_id = var.agent_id
374+
web_app = var.web_app
375375
web_app_slug = local.app_slug
376376
web_app_order = var.order
377377
web_app_group = var.group

0 commit comments

Comments
 (0)