kind: context name: minimax version: 1 description: "MiniMax coding plan — Anthropic-compatible proxy" requires: [] provides: [claude-code] # Auth is wired by init.sh via Claude Code's apiKeyHelper (settings.json). # No credential env vars: the secret stays in the mounted file and is read # only by the helper command at request time. env: ANTHROPIC_BASE_URL: "https://api.minimax.io/anthropic" CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS: "1" CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC: "1" DISABLE_PROMPT_CACHING: "1" secrets_required: - name: minimax account_ref: "minimax" mount_path: /run/agent/secrets/minimax # 0444 — readable by the agent user that runs `claude` (and thus # apiKeyHelper). The pod has no fsGroup, so the kubelet mounts the # secret as root:root; mode 0400 would block the legitimate read. # The file lives in pod-local tmpfs — "world readable" only means # readable by other processes in this same pod, which we control. mode: "0444" scripts: init: ./init.sh # TODO: Add network_hosts for api.minimax.io when context harnesses support it