Use AgentAPI for additional Claude status reporting (#150)

Is it OK to add the flag like this or do we need to check the cli
version to determine whether the new flag is available? Or I could just
throw in an `||` to run the command again without the flag if it fails.

Blocked on adding AgentAPI to Claude.

Will need to do the same for Goose.
This commit is contained in:
Asher 2025-06-17 09:14:42 -08:00 committed by GitHub
parent 3d78f5e262
commit e950669f93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -138,7 +138,7 @@ resource "coder_script" "claude_code" {
if [ "${var.experiment_report_tasks}" = "true" ]; then if [ "${var.experiment_report_tasks}" = "true" ]; then
echo "Configuring Claude Code to report tasks via Coder MCP..." echo "Configuring Claude Code to report tasks via Coder MCP..."
coder exp mcp configure claude-code ${var.folder} coder exp mcp configure claude-code ${var.folder} --ai-agentapi-url http://localhost:3284
fi fi
# Run post-install script if provided # Run post-install script if provided