From a7e0b09aa46d562ea2d8df7165cd20f36bb41b5d Mon Sep 17 00:00:00 2001 From: 35C4n0r Date: Tue, 20 Jan 2026 17:43:22 +0000 Subject: [PATCH] wip --- registry/coder/modules/claude-code/main.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/registry/coder/modules/claude-code/main.tf b/registry/coder/modules/claude-code/main.tf index 2d9c2e13..8e26dc3c 100644 --- a/registry/coder/modules/claude-code/main.tf +++ b/registry/coder/modules/claude-code/main.tf @@ -391,6 +391,7 @@ locals { echo -n '${base64encode(local.start_script)}' | base64 -d > /tmp/start.sh chmod +x /tmp/install.sh + chmod +x /tmp/start.sh ${local.install_env_vars} /tmp/install.sh EOT @@ -425,7 +426,7 @@ resource "coder_app" "agent_cli" { slug = local.app_slug display_name = var.cli_app_display_name - command = length(trimprefix(var.cli_command, " ")) > 0 ? var.cli_command : "${local.start_env_vars}\n/tmp/start.sh" + command = length(trimprefix(var.cli_command, " ")) > 0 ? var.cli_command : local.agentapi_start_command }