Mirrors agent-runtimes commit 1b83c81. CRS serves these harness files to dispatchers, so this repo must match for the fix to take effect. The minimax harness now writes ~/.claude/settings.json with an apiKeyHelper that `cat`s the ESO-mounted /run/agent/secrets/minimax/ api_key file. Claude Code routes apiKeyHelper output to `Authorization: Bearer <value>` for non-anthropic.com base URLs, which is what MiniMax's /anthropic proxy requires. The secret is never read into env, never written into a config file, and ESO rotation is auto-recovered via Claude Code's per-session helper invocation (also re-runs after a 401). - harness.yaml: drop ANTHROPIC_AUTH_TOKEN_FILE env var - init.sh: write (or jq-merge) settings.json with apiKeyHelper, chmod 0600 - bin/anthropic-compat-wrapper.sh: deleted Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
757 B
757 B