mirror of
https://github.com/coder/registry.git
synced 2026-06-06 22:48:15 +00:00
Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 91bcb61d53 | |||
| 36578b3546 | |||
| bb35c87a00 | |||
| 7533c87ae3 | |||
| 21b1a188d3 | |||
| 482320a857 | |||
| 8982d15c0d | |||
| 20170e1a24 | |||
| c54668f27a | |||
| 32c5f40d8a | |||
| 9b2171c007 | |||
| c9cccc783f |
@@ -13,7 +13,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.5"
|
||||
version = "2.0.4"
|
||||
agent_id = coder_agent.example.id
|
||||
folder = "/home/coder"
|
||||
install_claude_code = true
|
||||
@@ -84,7 +84,7 @@ 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.5"
|
||||
version = "2.0.4"
|
||||
agent_id = coder_agent.example.id
|
||||
folder = "/home/coder"
|
||||
install_claude_code = true
|
||||
@@ -102,7 +102,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.5"
|
||||
version = "2.0.4"
|
||||
agent_id = coder_agent.example.id
|
||||
folder = "/home/coder"
|
||||
install_claude_code = true
|
||||
|
||||
@@ -9,6 +9,7 @@ terraform {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
variable "agent_id" {
|
||||
type = string
|
||||
description = "The ID of a Coder agent."
|
||||
@@ -250,7 +251,7 @@ resource "coder_script" "claude_code" {
|
||||
resource "coder_app" "claude_code_web" {
|
||||
# use a short slug to mitigate https://github.com/coder/coder/issues/15178
|
||||
slug = local.claude_code_app_slug
|
||||
display_name = "Claude Code Web"
|
||||
display_name = "Claude Code Webxz yoxy"
|
||||
agent_id = var.agent_id
|
||||
url = "http://localhost:3284/"
|
||||
icon = var.icon
|
||||
@@ -289,11 +290,3 @@ resource "coder_ai_task" "claude_code" {
|
||||
id = coder_app.claude_code_web.id
|
||||
}
|
||||
}
|
||||
|
||||
# As of https://github.com/coder/coder/commit/6ba4b5bbc95e2e528d7f5b1e31fffa200ae1a6db,
|
||||
# there's a bug in Coder's Terraform statefile parsing which prevents it from seeing coder_apps
|
||||
# in certain scenarios. This is a workaround to bypass this bug until we have a proper fix.
|
||||
# For more details see https://github.com/coder/coder/issues/18776
|
||||
resource "terraform_data" "claude_code_app_id" {
|
||||
input = coder_app.claude_code_web.id
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ variable "order" {
|
||||
|
||||
variable "group" {
|
||||
type = string
|
||||
description = "The name of a group that this app belongs to."
|
||||
description = "The name of a group that this app belongs to!"
|
||||
default = null
|
||||
}
|
||||
|
||||
@@ -155,7 +155,7 @@ module "agentapi" {
|
||||
set -o pipefail
|
||||
|
||||
echo -n '${base64encode(local.install_script)}' | base64 -d > /tmp/install.sh
|
||||
chmod +x /tmp/install.sh
|
||||
chmod +x /tmp/install.sh
|
||||
|
||||
ARG_PROVIDER='${var.goose_provider}' \
|
||||
ARG_MODEL='${var.goose_model}' \
|
||||
|
||||
Reference in New Issue
Block a user