#!/bin/bash # Anthropic-compat wrapper for MiniMax (Phase 9 ESO-managed secrets). # Reads the api_key file and passes it as ANTHROPIC_AUTH_TOKEN to claude. # ANTHROPIC_BASE_URL is set in harness.yaml `env:` and flows through. set -euo pipefail exec env \ ANTHROPIC_AUTH_TOKEN="$(cat /run/agent/secrets/minimax/api_key)" \ claude "$@"