Skip to content

Commit 121328f

Browse files
authored
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.
1 parent dbd4928 commit 121328f

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Run the [Claude Code](https://docs.anthropic.com/en/docs/agents-and-tools/claude
1414
```tf
1515
module "claude-code" {
1616
source = "registry.coder.com/coder/claude-code/coder"
17-
version = "2.0.0"
17+
version = "2.0.1"
1818
agent_id = coder_agent.example.id
1919
folder = "/home/coder"
2020
install_claude_code = true
@@ -85,11 +85,11 @@ resource "coder_agent" "main" {
8585
module "claude-code" {
8686
count = data.coder_workspace.me.start_count
8787
source = "registry.coder.com/coder/claude-code/coder"
88-
version = "2.0.0"
88+
version = "2.0.1"
8989
agent_id = coder_agent.example.id
9090
folder = "/home/coder"
9191
install_claude_code = true
92-
claude_code_version = "0.2.57"
92+
claude_code_version = "1.0.40"
9393
9494
# Enable experimental features
9595
experiment_report_tasks = true
@@ -103,7 +103,7 @@ Run Claude Code as a standalone app in your workspace. This will install Claude
103103
```tf
104104
module "claude-code" {
105105
source = "registry.coder.com/coder/claude-code/coder"
106-
version = "2.0.0"
106+
version = "2.0.1"
107107
agent_id = coder_agent.example.id
108108
folder = "/home/coder"
109109
install_claude_code = true
@@ -113,3 +113,7 @@ module "claude-code" {
113113
icon = "https://registry.npmmirror.com/@lobehub/icons-static-png/1.24.0/files/dark/claude-color.png"
114114
}
115115
```
116+
117+
## Troubleshooting
118+
119+
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.

0 commit comments

Comments
 (0)