Compare commits
12 Commits
main
...
hugodutka/
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
91bcb61d53 | ||
|
|
36578b3546 | ||
|
|
bb35c87a00 | ||
|
|
7533c87ae3 | ||
|
|
21b1a188d3 | ||
|
|
482320a857 | ||
|
|
8982d15c0d | ||
|
|
20170e1a24 | ||
|
|
c54668f27a | ||
|
|
32c5f40d8a | ||
|
|
9b2171c007 | ||
|
|
c9cccc783f |
@ -9,6 +9,7 @@ terraform {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
variable "agent_id" {
|
variable "agent_id" {
|
||||||
type = string
|
type = string
|
||||||
description = "The ID of a Coder agent."
|
description = "The ID of a Coder agent."
|
||||||
@ -250,7 +251,7 @@ resource "coder_script" "claude_code" {
|
|||||||
resource "coder_app" "claude_code_web" {
|
resource "coder_app" "claude_code_web" {
|
||||||
# use a short slug to mitigate https://github.com/coder/coder/issues/15178
|
# use a short slug to mitigate https://github.com/coder/coder/issues/15178
|
||||||
slug = local.claude_code_app_slug
|
slug = local.claude_code_app_slug
|
||||||
display_name = "Claude Code Web"
|
display_name = "Claude Code Webxz yoxy"
|
||||||
agent_id = var.agent_id
|
agent_id = var.agent_id
|
||||||
url = "http://localhost:3284/"
|
url = "http://localhost:3284/"
|
||||||
icon = var.icon
|
icon = var.icon
|
||||||
|
|||||||
@ -26,7 +26,7 @@ variable "order" {
|
|||||||
|
|
||||||
variable "group" {
|
variable "group" {
|
||||||
type = string
|
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
|
default = null
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -155,7 +155,7 @@ module "agentapi" {
|
|||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
echo -n '${base64encode(local.install_script)}' | base64 -d > /tmp/install.sh
|
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_PROVIDER='${var.goose_provider}' \
|
||||||
ARG_MODEL='${var.goose_model}' \
|
ARG_MODEL='${var.goose_model}' \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user