diff --git a/registry/coder/modules/claude-code/scripts/start.sh b/registry/coder/modules/claude-code/scripts/start.sh index c533f12f..55f17c93 100644 --- a/registry/coder/modules/claude-code/scripts/start.sh +++ b/registry/coder/modules/claude-code/scripts/start.sh @@ -170,6 +170,11 @@ has_any_sessions() { ARGS=() +CORE_COMMAND=() +if [[ "${ARG_REPORT_TASKS}" == "true" ]]; then + CORE_COMMAND+=(agentapi server --type claude --term-width 67 --term-height 1190 --) +fi + function start_agentapi() { # For Task reporting export CODER_MCP_ALLOWED_TOOLS="coder_report_task"