Skip to main content

Configuring enterprise plugin standards for 코파일럿 CLI

Configure enterprise plugin standards by defining a settings.json file in your enterprise's .github-private repository.

누가 이 기능을 사용할 수 있나요?

Enterprise owners

참고

This feature is in 공개 미리 보기 and subject to change.

  1. In your enterprise's .github-private repository, navigate to the .github/copilot/ directory. If you don't have a .github-private repository yet, see 엔터프라이즈에서 사용자 지정 에이전트 사용 준비.

  2. Create or edit the settings.json file at .github/copilot/settings.json.

  3. Add your plugin policy configuration to the file. The settings.json file supports the following top-level properties:

    JSON
    {
      "extraKnownMarketplaces": {
        "MARKETPLACE-NAME": {
          "source": {
            "source": "github",
            "repo": "OWNER/REPO"
          }
        }
      },
      "enabledPlugins": {
        "PLUGIN-NAME@MARKETPLACE-NAME": true
      }
    }
    
    • extraKnownMarketplaces: Defines additional plugin marketplaces available to CLI users. Each entry is a named marketplace object containing a source property that specifies the provider ("github") and the repository in OWNER/REPO format.
    • enabledPlugins: Defines plugins that are automatically installed for all enterprise users. Each entry uses the format PLUGIN-NAME@MARKETPLACE-NAME as the key, with a boolean value of true to enable the plugin.
  4. Commit and push your changes to the default branch of the .github-private repository.

Once the configuration is committed, enterprise users will see the specified marketplaces and pre-installed plugins the next time they authenticate with 코파일럿 CLI.