{
  "id": "github-copilot",
  "enabledByDefault": true,
  "providers": [
    "github-copilot"
  ],
  "providerEndpoints": [
    {
      "endpointClass": "github-copilot-native",
      "hostSuffixes": [
        ".githubcopilot.com"
      ]
    }
  ],
  "providerRequest": {
    "providers": {
      "github-copilot": {
        "family": "github-copilot"
      }
    }
  },
  "contracts": {
    "memoryEmbeddingProviders": [
      "github-copilot"
    ]
  },
  "providerAuthEnvVars": {
    "github-copilot": [
      "COPILOT_GITHUB_TOKEN",
      "GH_TOKEN",
      "GITHUB_TOKEN"
    ]
  },
  "providerAuthChoices": [
    {
      "provider": "github-copilot",
      "method": "device",
      "choiceId": "github-copilot",
      "choiceLabel": "GitHub Copilot",
      "choiceHint": "Device login with your GitHub account",
      "groupId": "copilot",
      "groupLabel": "Copilot",
      "groupHint": "GitHub + local proxy",
      "optionKey": "githubCopilotToken",
      "cliFlag": "--github-copilot-token",
      "cliOption": "--github-copilot-token <token>",
      "cliDescription": "GitHub Copilot OAuth token"
    }
  ],
  "configSchema": {
    "type": "object",
    "additionalProperties": false,
    "properties": {
      "discovery": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "enabled": {
            "type": "boolean"
          }
        }
      }
    }
  },
  "uiHints": {
    "discovery": {
      "label": "Model Discovery",
      "help": "Plugin-owned controls for GitHub Copilot model auto-discovery."
    },
    "discovery.enabled": {
      "label": "Enable Discovery",
      "help": "When false, OpenClaw keeps the GitHub Copilot plugin available but skips implicit startup discovery from ambient Copilot credentials."
    }
  }
}
