fix(registry/coder/claude): fix versions in claude-code readme (#589)
## Description <!-- Briefly describe what this PR does and why --> ## Type of Change - [ ] New module - [ ] New template - [x] Bug fix - [ ] Feature/enhancement - [ ] Documentation - [ ] Other ## Module Information <!-- Delete this section if not applicable --> **Path:** `registry/[namespace]/modules/[module-name]` **New version:** `v1.0.0` **Breaking change:** [ ] Yes [ ] No ## Template Information <!-- Delete this section if not applicable --> **Path:** `registry/[namespace]/templates/[template-name]` ## Testing & Validation - [x] Tests pass (`bun test`) - [ ] Code formatted (`bun fmt`) - [x] Changes tested locally ## Related Issues <!-- Link related issues or write "None" if not applicable -->
This commit is contained in:
parent
ce2087bc09
commit
c62fe569a0
@ -13,7 +13,7 @@ Run the [Claude Code](https://docs.anthropic.com/en/docs/agents-and-tools/claude
|
|||||||
```tf
|
```tf
|
||||||
module "claude-code" {
|
module "claude-code" {
|
||||||
source = "registry.coder.com/coder/claude-code/coder"
|
source = "registry.coder.com/coder/claude-code/coder"
|
||||||
version = "4.2.3"
|
version = "4.2.4"
|
||||||
agent_id = coder_agent.example.id
|
agent_id = coder_agent.example.id
|
||||||
workdir = "/home/coder/project"
|
workdir = "/home/coder/project"
|
||||||
claude_api_key = "xxxx-xxxxx-xxxx"
|
claude_api_key = "xxxx-xxxxx-xxxx"
|
||||||
@ -46,12 +46,12 @@ This example shows how to configure the Claude Code module to run the agent behi
|
|||||||
module "claude-code" {
|
module "claude-code" {
|
||||||
source = "dev.registry.coder.com/coder/claude-code/coder"
|
source = "dev.registry.coder.com/coder/claude-code/coder"
|
||||||
enable_boundary = true
|
enable_boundary = true
|
||||||
boundary_version = "4.2.2"
|
boundary_version = "main"
|
||||||
boundary_log_dir = "/tmp/boundary_logs"
|
boundary_log_dir = "/tmp/boundary_logs"
|
||||||
boundary_log_level = "WARN"
|
boundary_log_level = "WARN"
|
||||||
boundary_additional_allowed_urls = ["GET *google.com"]
|
boundary_additional_allowed_urls = ["GET *google.com"]
|
||||||
boundary_proxy_port = "8087"
|
boundary_proxy_port = "8087"
|
||||||
version = "4.2.3"
|
version = "4.2.4"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -70,7 +70,7 @@ data "coder_parameter" "ai_prompt" {
|
|||||||
|
|
||||||
module "claude-code" {
|
module "claude-code" {
|
||||||
source = "registry.coder.com/coder/claude-code/coder"
|
source = "registry.coder.com/coder/claude-code/coder"
|
||||||
version = "4.2.3"
|
version = "4.2.4"
|
||||||
agent_id = coder_agent.example.id
|
agent_id = coder_agent.example.id
|
||||||
workdir = "/home/coder/project"
|
workdir = "/home/coder/project"
|
||||||
|
|
||||||
@ -78,8 +78,8 @@ module "claude-code" {
|
|||||||
# OR
|
# OR
|
||||||
claude_code_oauth_token = "xxxxx-xxxx-xxxx"
|
claude_code_oauth_token = "xxxxx-xxxx-xxxx"
|
||||||
|
|
||||||
claude_code_version = "4.2.2" # Pin to a specific version
|
claude_code_version = "2.0.62" # Pin to a specific version
|
||||||
agentapi_version = "4.2.2"
|
agentapi_version = "0.11.3"
|
||||||
|
|
||||||
ai_prompt = data.coder_parameter.ai_prompt.value
|
ai_prompt = data.coder_parameter.ai_prompt.value
|
||||||
model = "sonnet"
|
model = "sonnet"
|
||||||
@ -106,11 +106,11 @@ Run and configure Claude Code as a standalone CLI in your workspace.
|
|||||||
```tf
|
```tf
|
||||||
module "claude-code" {
|
module "claude-code" {
|
||||||
source = "registry.coder.com/coder/claude-code/coder"
|
source = "registry.coder.com/coder/claude-code/coder"
|
||||||
version = "4.2.3"
|
version = "4.2.4"
|
||||||
agent_id = coder_agent.example.id
|
agent_id = coder_agent.example.id
|
||||||
workdir = "/home/coder"
|
workdir = "/home/coder"
|
||||||
install_claude_code = true
|
install_claude_code = true
|
||||||
claude_code_version = "4.2.2"
|
claude_code_version = "2.0.62"
|
||||||
report_tasks = false
|
report_tasks = false
|
||||||
cli_app = true
|
cli_app = true
|
||||||
}
|
}
|
||||||
@ -129,7 +129,7 @@ variable "claude_code_oauth_token" {
|
|||||||
|
|
||||||
module "claude-code" {
|
module "claude-code" {
|
||||||
source = "registry.coder.com/coder/claude-code/coder"
|
source = "registry.coder.com/coder/claude-code/coder"
|
||||||
version = "4.2.3"
|
version = "4.2.4"
|
||||||
agent_id = coder_agent.example.id
|
agent_id = coder_agent.example.id
|
||||||
workdir = "/home/coder/project"
|
workdir = "/home/coder/project"
|
||||||
claude_code_oauth_token = var.claude_code_oauth_token
|
claude_code_oauth_token = var.claude_code_oauth_token
|
||||||
@ -202,7 +202,7 @@ resource "coder_env" "bedrock_api_key" {
|
|||||||
|
|
||||||
module "claude-code" {
|
module "claude-code" {
|
||||||
source = "registry.coder.com/coder/claude-code/coder"
|
source = "registry.coder.com/coder/claude-code/coder"
|
||||||
version = "4.2.3"
|
version = "4.2.4"
|
||||||
agent_id = coder_agent.example.id
|
agent_id = coder_agent.example.id
|
||||||
workdir = "/home/coder/project"
|
workdir = "/home/coder/project"
|
||||||
model = "global.anthropic.claude-sonnet-4-5-20250929-v1:0"
|
model = "global.anthropic.claude-sonnet-4-5-20250929-v1:0"
|
||||||
@ -259,7 +259,7 @@ resource "coder_env" "google_application_credentials" {
|
|||||||
|
|
||||||
module "claude-code" {
|
module "claude-code" {
|
||||||
source = "registry.coder.com/coder/claude-code/coder"
|
source = "registry.coder.com/coder/claude-code/coder"
|
||||||
version = "4.2.3"
|
version = "4.2.4"
|
||||||
agent_id = coder_agent.example.id
|
agent_id = coder_agent.example.id
|
||||||
workdir = "/home/coder/project"
|
workdir = "/home/coder/project"
|
||||||
model = "claude-sonnet-4@20250514"
|
model = "claude-sonnet-4@20250514"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user