{
  "id": "m05",
  "execution": "MiniMax Code 0.7.4 原生 CLI（隔离配置）",
  "passed": true,
  "checks": {
    "官方 CLI 保存隔离的自定义提供商": true,
    "列表包含样例 Provider 和模型": true
  },
  "commands": [
    {
      "command": "'mcode' provider add --name qrfixture --base-url http://127.0.0.1:53880/v1 --api-format openai-completions --model qr-fixture --api-key-env MCODE_PROVIDER_API_KEY",
      "exit": 0,
      "stdout": "Provider added: qrfixture\n",
      "stderr": ""
    },
    {
      "command": "'mcode' provider list --json",
      "exit": 0,
      "stdout": "{\n  \"minimaxModelSource\": \"token_plan\",\n  \"providers\": [\n    {\n      \"providerId\": \"minimax_oauth\",\n      \"name\": \"MiniMax OAuth\",\n      \"kind\": \"minimax-oauth\",\n      \"active\": true,\n      \"enabled\": true,\n      \"readOnly\": true,\n      \"hasApiKey\": false,\n      \"models\": []\n    },\n    {\n      \"providerId\": \"minimax_api\",\n      \"name\": \"MiniMax API Key\",\n      \"kind\": \"minimax-api-key\",\n      \"active\": false,\n      \"enabled\": true,\n      \"readOnly\": false,\n      \"hasApiKey\": false,\n      \"models\": []\n    },\n    {\n      \"providerId\": \"custom_provider:qrfixture\",\n      \"name\": \"qrfixture\",\n      \"kind\": \"custom\",\n      \"active\": false,\n      \"enabled\": true,\n      \"readOnly\": false,\n      \"configRevision\": \"sha256:61e80fbbf40ce9d15f589eab97d4fba155091d9e09f45aaf0b12812ecefec65b\",\n      \"apiFormat\": \"openai-completions\",\n      \"baseUrl\": \"http://127.0.0.1:53880/v1\",\n      \"hasApiKey\": true,\n      \"maskedApiKey\": \"fixt****-env\",\n      \"models\": [\n        {\n          \"modelId\": \"qr-fixture\",\n          \"displayName\": \"qr-fixture\",\n          \"selected\": false\n        }\n      ]\n    }\n  ]\n}\n",
      "stderr": ""
    }
  ],
  "localRequests": []
}
