From a43cdbcfd50c9095e2715e2c2fdeee44b9cc8566 Mon Sep 17 00:00:00 2001 From: "blink-so[bot]" <211532188+blink-so[bot]@users.noreply.github.com> Date: Mon, 3 Aug 2026 21:25:33 +0000 Subject: [PATCH 1/6] docs: bump claude-code module to v5.2.0 in AI Gateway docs --- .../ai-gateway/clients/claude-code.md | 33 +++++-------------- 1 file changed, 8 insertions(+), 25 deletions(-) diff --git a/docs/ai-coder/ai-gateway/clients/claude-code.md b/docs/ai-coder/ai-gateway/clients/claude-code.md index 601f56c0d2697..f667a0c3ef6b4 100644 --- a/docs/ai-coder/ai-gateway/clients/claude-code.md +++ b/docs/ai-coder/ai-gateway/clients/claude-code.md @@ -55,36 +55,19 @@ Template admins can pre-configure Claude Code for a seamless experience. Admins ```tf module "claude-code" { source = "registry.coder.com/coder/claude-code/coder" - version = "4.7.3" + version = "5.2.0" agent_id = coder_agent.main.id - workdir = "/path/to/project" # Set to your project directory + workdir = "/path/to/project" # Set to your project directory enable_ai_gateway = true } ``` -### Coder Tasks - -[Coder Tasks](../../tasks.md) provides a framework for agents to complete background development operations autonomously. Claude Code can be configured in your Tasks automatically: - -```tf -resource "coder_ai_task" "task" { - count = data.coder_workspace.me.start_count - app_id = module.claude-code.task_app_id -} - -data "coder_task" "me" {} - -module "claude-code" { - source = "registry.coder.com/coder/claude-code/coder" - version = "4.7.3" - agent_id = coder_agent.main.id - workdir = "/path/to/project" # Set to your project directory - ai_prompt = data.coder_task.me.prompt - - # Route through AI Gateway - enable_ai_gateway = true -} -``` +> [!NOTE] +> Version 5 of the Claude Code module dropped support for Coder Tasks and +> Boundary. If you depend on those features, continue using `4.x.x` until they +> are reintroduced. See the +> [Claude Code module on the Coder Registry](https://registry.coder.com/modules/coder/claude-code) +> for the full list of inputs and outputs. ## VS Code Extension From 625424d7da68b731c849ac00ef43bc0df929f578 Mon Sep 17 00:00:00 2001 From: "blink-so[bot]" <211532188+blink-so[bot]@users.noreply.github.com> Date: Mon, 3 Aug 2026 21:27:31 +0000 Subject: [PATCH 2/6] docs: remove Tasks references and bump codex/mux modules to latest --- docs/ai-coder/ai-gateway/clients/claude-code.md | 9 +++------ docs/ai-coder/ai-gateway/clients/codex.md | 6 +++--- docs/ai-coder/ai-gateway/clients/mux.md | 2 +- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/docs/ai-coder/ai-gateway/clients/claude-code.md b/docs/ai-coder/ai-gateway/clients/claude-code.md index f667a0c3ef6b4..32acd6c882eed 100644 --- a/docs/ai-coder/ai-gateway/clients/claude-code.md +++ b/docs/ai-coder/ai-gateway/clients/claude-code.md @@ -62,12 +62,9 @@ module "claude-code" { } ``` -> [!NOTE] -> Version 5 of the Claude Code module dropped support for Coder Tasks and -> Boundary. If you depend on those features, continue using `4.x.x` until they -> are reintroduced. See the -> [Claude Code module on the Coder Registry](https://registry.coder.com/modules/coder/claude-code) -> for the full list of inputs and outputs. +See the +[Claude Code module on the Coder Registry](https://registry.coder.com/modules/coder/claude-code) +for the full list of inputs and outputs. ## VS Code Extension diff --git a/docs/ai-coder/ai-gateway/clients/codex.md b/docs/ai-coder/ai-gateway/clients/codex.md index 82110e3e9cdc2..633a4826c7180 100644 --- a/docs/ai-coder/ai-gateway/clients/codex.md +++ b/docs/ai-coder/ai-gateway/clients/codex.md @@ -98,9 +98,9 @@ For the centralized API key flow, set `enable_ai_gateway`: ```tf module "codex" { source = "registry.coder.com/coder-labs/codex/coder" - version = "~> 5.0" + version = "5.3.0" agent_id = coder_agent.main.id - workdir = "/path/to/project" # Set to your project directory + workdir = "/path/to/project" # Set to your project directory enable_ai_gateway = true } ``` @@ -119,7 +119,7 @@ resource "coder_env" "coder_api_token" { module "codex" { source = "registry.coder.com/coder-labs/codex/coder" - version = "~> 5.0" + version = "5.3.0" agent_id = coder_agent.main.id workdir = "/path/to/project" # Set to your project directory diff --git a/docs/ai-coder/ai-gateway/clients/mux.md b/docs/ai-coder/ai-gateway/clients/mux.md index 3ba271769eb25..21fde1bd3f959 100644 --- a/docs/ai-coder/ai-gateway/clients/mux.md +++ b/docs/ai-coder/ai-gateway/clients/mux.md @@ -75,7 +75,7 @@ resource "coder_agent" "main" { module "mux" { source = "registry.coder.com/coder/mux/coder" - version = "~> 1.0" # See the module page for the latest version. + version = "1.5.0" agent_id = coder_agent.main.id } ``` From 7d58b4e5c3c45923262beb77a94844440d75f9cb Mon Sep 17 00:00:00 2001 From: "blink-so[bot]" <211532188+blink-so[bot]@users.noreply.github.com> Date: Mon, 3 Aug 2026 21:31:49 +0000 Subject: [PATCH 3/6] docs: use pessimistic version constraints for AI Gateway client modules --- docs/ai-coder/ai-gateway/clients/claude-code.md | 2 +- docs/ai-coder/ai-gateway/clients/codex.md | 4 ++-- docs/ai-coder/ai-gateway/clients/mux.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/ai-coder/ai-gateway/clients/claude-code.md b/docs/ai-coder/ai-gateway/clients/claude-code.md index 32acd6c882eed..991f7a662fbb1 100644 --- a/docs/ai-coder/ai-gateway/clients/claude-code.md +++ b/docs/ai-coder/ai-gateway/clients/claude-code.md @@ -55,7 +55,7 @@ Template admins can pre-configure Claude Code for a seamless experience. Admins ```tf module "claude-code" { source = "registry.coder.com/coder/claude-code/coder" - version = "5.2.0" + version = "~> 5.2" agent_id = coder_agent.main.id workdir = "/path/to/project" # Set to your project directory enable_ai_gateway = true diff --git a/docs/ai-coder/ai-gateway/clients/codex.md b/docs/ai-coder/ai-gateway/clients/codex.md index 633a4826c7180..5efe33dc12e48 100644 --- a/docs/ai-coder/ai-gateway/clients/codex.md +++ b/docs/ai-coder/ai-gateway/clients/codex.md @@ -98,7 +98,7 @@ For the centralized API key flow, set `enable_ai_gateway`: ```tf module "codex" { source = "registry.coder.com/coder-labs/codex/coder" - version = "5.3.0" + version = "~> 5.3" agent_id = coder_agent.main.id workdir = "/path/to/project" # Set to your project directory enable_ai_gateway = true @@ -119,7 +119,7 @@ resource "coder_env" "coder_api_token" { module "codex" { source = "registry.coder.com/coder-labs/codex/coder" - version = "5.3.0" + version = "~> 5.3" agent_id = coder_agent.main.id workdir = "/path/to/project" # Set to your project directory diff --git a/docs/ai-coder/ai-gateway/clients/mux.md b/docs/ai-coder/ai-gateway/clients/mux.md index 21fde1bd3f959..bc4fc588a6ce7 100644 --- a/docs/ai-coder/ai-gateway/clients/mux.md +++ b/docs/ai-coder/ai-gateway/clients/mux.md @@ -75,7 +75,7 @@ resource "coder_agent" "main" { module "mux" { source = "registry.coder.com/coder/mux/coder" - version = "1.5.0" + version = "~> 1.5" agent_id = coder_agent.main.id } ``` From 77f8f4d517ce46e8ad92581bbe1ff933d2fc623b Mon Sep 17 00:00:00 2001 From: "blink-so[bot]" <211532188+blink-so[bot]@users.noreply.github.com> Date: Mon, 3 Aug 2026 21:37:38 +0000 Subject: [PATCH 4/6] docs(tasks-lifecycle): cap claude-code to < 5.0.0 (v5 dropped Tasks/AgentAPI) --- docs/ai-coder/tasks-lifecycle.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ai-coder/tasks-lifecycle.md b/docs/ai-coder/tasks-lifecycle.md index 60108903b4784..508e476a62dd8 100644 --- a/docs/ai-coder/tasks-lifecycle.md +++ b/docs/ai-coder/tasks-lifecycle.md @@ -111,7 +111,7 @@ For Claude Code, update the module version in your template: ```tf module "claude-code" { source = "registry.coder.com/coder/claude-code/coder" - version = ">= 4.8.0" # Minimum version with pause/resume support + version = ">= 4.8.0, < 5.0.0" # Pause/resume support (Tasks/AgentAPI). Removed in v5. agent_id = coder_agent.main.id # ... } From 8f0d7228678d67233bf6eebd91593d452db5efcd Mon Sep 17 00:00:00 2001 From: "blink-so[bot]" <211532188+blink-so[bot]@users.noreply.github.com> Date: Mon, 3 Aug 2026 21:40:20 +0000 Subject: [PATCH 5/6] docs(mux): fix Vale no-gerund-leading-headings warning --- docs/ai-coder/ai-gateway/clients/mux.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ai-coder/ai-gateway/clients/mux.md b/docs/ai-coder/ai-gateway/clients/mux.md index bc4fc588a6ce7..4756e4b5c4fda 100644 --- a/docs/ai-coder/ai-gateway/clients/mux.md +++ b/docs/ai-coder/ai-gateway/clients/mux.md @@ -54,9 +54,9 @@ export ANTHROPIC_API_KEY="" export ANTHROPIC_BASE_URL="https://coder.example.com/api/v2/ai-gateway/anthropic" ``` -## Running Mux in a Coder workspace +## Run Mux in a Coder workspace -If you want to run Mux inside a Coder workspace (for example, as a Coder app), you can install it with the [Mux module](https://registry.coder.com/modules/coder/mux) and pre-configure AI Gateway via environment variables on the agent: +To run Mux inside a Coder workspace (for example, as a Coder app), you can install it with the [Mux module](https://registry.coder.com/modules/coder/mux) and pre-configure AI Gateway via environment variables on the agent: ```tf data "coder_workspace" "me" {} From 5690c1b72f29d238d8613a808739340224804f61 Mon Sep 17 00:00:00 2001 From: "blink-so[bot]" <211532188+blink-so[bot]@users.noreply.github.com> Date: Mon, 3 Aug 2026 22:36:14 +0000 Subject: [PATCH 6/6] docs(claude-code): apply reviewer suggestion for registry link line --- docs/ai-coder/ai-gateway/clients/claude-code.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/ai-coder/ai-gateway/clients/claude-code.md b/docs/ai-coder/ai-gateway/clients/claude-code.md index 991f7a662fbb1..1c68f382e19f8 100644 --- a/docs/ai-coder/ai-gateway/clients/claude-code.md +++ b/docs/ai-coder/ai-gateway/clients/claude-code.md @@ -62,9 +62,7 @@ module "claude-code" { } ``` -See the -[Claude Code module on the Coder Registry](https://registry.coder.com/modules/coder/claude-code) -for the full list of inputs and outputs. +Visit the [Claude Code module on the Coder Registry](https://registry.coder.com/modules/coder/claude-code) for the full list of inputs and outputs. ## VS Code Extension