Knowledge File / AI小生意项目库
Enterprise managed-settings.json 正式发布
GitHub Enterprise Cloud 现在支持通过 managed-settings.json 文件统一配置 Copilot 的 AI 标准,适用于 VS Code 和 Copilot CLI。
SOURCE / AI小生意项目库
MIN / 9
ACCESS / 会员
POST / 2026-07-02 04:57:26
原贴
查看原文原文
GitHub Enterprise Cloud customers can configure AI standards through a managed-settings.json file maintained in a .github-private repository in a selected organization. This allows the enterprise to define new governance and extensibility flows that apply to Copilot clients such as VS Code or Copilot CLI. The configuration in managed-settings.json is in addition to the policies available in the AI Controls tab in enterprise settings. managed-settings.json takes precedence over file-based configuration set by users in their clients for the supported keys. The configuration is fetched from the server by Copilot every time a user authenticates, stored in memory, and refreshed hourly. All defined keys are optional so that you may choose what configuration applies best for your governance and extensibility strategy. Additional keys will be continuously added over time. Today the configuration defined in managed-settings.json is enforced in VS Code and Copilot CLI whenever a user has a Copilot Business or Copilot Enterprise license issued from the enterprise or one of its organizations. We are working to extend this support across all Copilot clients through the Copilot SDK. To start using enterprise managed settings, you’ll need to select an organization to host your configuration in the AI Controls tab in enterprise settings or via the API . Copilot looks for managed-settings.json in the organization’s .github-private repository. In the source organization’s .github-private repository, create the managed settings file at copilot/managed-settings.json . Add any of the supported keys and values and commit the file to the default branch for the configuration to take effect in VS Code and Copilot CLI. The supported path for AI standards source is copilot/managed-settings.json , with backward compatibility for .github/copilot/settings.json . If you’ve already configured a source organization for custom agents, this setting uses that same .github-private repository. You can confirm that your configuration is active on the Agents page under AI controls in your enterprise settings. To learn more, see configuring enterprise managed settings . Join the discussion within GitHub Community .
中文翻译
GitHub Enterprise Cloud 客户可以通过在选定组织的 .github-private 仓库中维护的 managed-settings.json 文件来配置 AI 标准。这允许企业定义适用于 Copilot 客户端(如 VS Code 或 Copilot CLI)的新治理和可扩展性流程。managed-settings.json 中的配置是对企业设置中 AI Controls 选项卡中可用策略的补充。对于支持的键,managed-settings.json 优先于用户在客户端中设置的基于文件的配置。每次用户认证时,Copilot 从服务器获取配置,存储在内存中,并每小时刷新一次。所有定义的键都是可选的,以便您可以选择最适合治理和可扩展性策略的配置。未来将持续添加更多键。目前,只要用户拥有企业或其组织颁发的 Copilot Business 或 Copilot Enterprise 许可证,managed-settings.json 中定义的配置就会在 VS Code 和 Copilot CLI 中强制执行。我们正在通过 Copilot SDK 将所有 Copilot 客户端扩展支持。要开始使用企业托管设置,您需要选择在 AI Controls 选项卡中或通过 API 托管配置的组织。Copilot 在组织的 .github-private 仓库中查找 managed-settings.json。在源组织的 .github-private 仓库中,在 copilot/managed-settings.json 位置创建托管设置文件。添加任何支持的键和值,并将文件提交到默认分支,以使配置在 VS Code 和 Copilot CLI 中生效。AI 标准的支持路径为 copilot/managed-settings.json,同时向后兼容 .github/copilot/settings.json。如果您已经为自定义代理配置了源组织,则此设置使用相同的 .github-private 仓库。您可以在企业设置的 AI 控制下的 Agents 页面确认配置已激活。要了解更多,请参阅配置企业托管设置。加入 GitHub Community 讨论。
核心信息
GitHub Enterprise Cloud 现在支持通过 managed-settings.json 文件统一配置 Copilot 的 AI 标准,适用于 VS Code 和 Copilot CLI。
- GitHub Enterprise Cloud 现在支持通过 managed-settings.json 文件统一配置 Copilot 的 AI 标准,适用于 VS Code 和 Copilot CLI。
- 原贴提到:GitHub Enterprise Cloud customers can configure AI standards through a m
- 来源:github.blog
试看内容
成为会员查看完整内容
你已经看到了这篇内容的前置整理,剩余深度部分仅对会员开放。
详细解读
信息差价值
参考来源
成为会员查看完整内容