From 7acb90b2b8cb8eb39c9a1417424e7dad24f35ae7 Mon Sep 17 00:00:00 2001 From: Benjamin Date: Mon, 6 Oct 2025 15:47:57 -0500 Subject: [PATCH] fmt --- registry/coder/modules/claude-code/scripts/start.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/registry/coder/modules/claude-code/scripts/start.sh b/registry/coder/modules/claude-code/scripts/start.sh index 2488dda4..dd846cba 100644 --- a/registry/coder/modules/claude-code/scripts/start.sh +++ b/registry/coder/modules/claude-code/scripts/start.sh @@ -86,7 +86,7 @@ function start_agentapi() { if [ "${ARG_ENABLE_BOUNDARY:-false}" = "true" ]; then mkdir -p "$ARG_BOUNDARY_LOG_DIR" printf "Starting with coder boundary enabled\n" - + # Build boundary args with conditional --unprivileged flag BOUNDARY_ARGS=(--log-dir "$ARG_BOUNDARY_LOG_DIR") if [ "${ARG_BOUNDARY_UNPRIVILEGED:-true}" = "true" ]; then @@ -94,7 +94,7 @@ function start_agentapi() { fi # Add default allowed URLs BOUNDARY_ARGS+=(--allow "*.anthropic.com" --allow "registry.npmjs.org" --allow "*.sentry.io" --allow "claude.ai" --allow "localhost:8080/healthz" --allow "$ARG_CODER_HOST") - + # Add any additional allowed URLs from the variable if [ -n "$ARG_BOUNDARY_ADDITIONAL_ALLOWED_URLS" ]; then IFS=' ' read -ra ADDITIONAL_URLS <<< "$ARG_BOUNDARY_ADDITIONAL_ALLOWED_URLS" @@ -102,7 +102,7 @@ function start_agentapi() { BOUNDARY_ARGS+=(--allow "$url") done fi - + agentapi server --type claude --term-width 67 --term-height 1190 -- \ coder exp boundary "${BOUNDARY_ARGS[@]}" -- \ claude "${ARGS[@]}"