From 121328f6719a9cf1c8025bd164f3561d443318eb Mon Sep 17 00:00:00 2001 From: Hugo Dutka Date: Wed, 2 Jul 2025 20:26:46 +0200 Subject: [PATCH] chore(modules/claude-code): update readme (#172) The README points to an old version of claude code that doesn't support the `--continue` flag, making it incompatible with the latest version of the module. It's easy to copy and paste the example and run into an error. This PR updates the example version and adds troubleshooting notes. --- registry/coder/modules/claude-code/README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/registry/coder/modules/claude-code/README.md b/registry/coder/modules/claude-code/README.md index 4b0361e3..d9ec5f18 100644 --- a/registry/coder/modules/claude-code/README.md +++ b/registry/coder/modules/claude-code/README.md @@ -14,7 +14,7 @@ Run the [Claude Code](https://docs.anthropic.com/en/docs/agents-and-tools/claude ```tf module "claude-code" { source = "registry.coder.com/coder/claude-code/coder" - version = "2.0.0" + version = "2.0.1" agent_id = coder_agent.example.id folder = "/home/coder" install_claude_code = true @@ -85,11 +85,11 @@ resource "coder_agent" "main" { module "claude-code" { count = data.coder_workspace.me.start_count source = "registry.coder.com/coder/claude-code/coder" - version = "2.0.0" + version = "2.0.1" agent_id = coder_agent.example.id folder = "/home/coder" install_claude_code = true - claude_code_version = "0.2.57" + claude_code_version = "1.0.40" # Enable experimental features experiment_report_tasks = true @@ -103,7 +103,7 @@ Run Claude Code as a standalone app in your workspace. This will install Claude ```tf module "claude-code" { source = "registry.coder.com/coder/claude-code/coder" - version = "2.0.0" + version = "2.0.1" agent_id = coder_agent.example.id folder = "/home/coder" install_claude_code = true @@ -113,3 +113,7 @@ module "claude-code" { icon = "https://registry.npmmirror.com/@lobehub/icons-static-png/1.24.0/files/dark/claude-color.png" } ``` + +## Troubleshooting + +The module will create log files in the workspace's `~/.claude-module` directory. If you run into any issues, look at them for more information.