mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-07 07:16:41 +01:00
9679e5fa49
* Gate chat.agentHost.enabled behind editor preview policy Add a policy block to the agent host enabled setting so that organizations with chat_preview_features_enabled set to false will have the setting forced to false, matching the pattern used by ChatHooks, ChatToolsAutoApprove, and other preview-gated settings. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix minimumVersion, reuse NLS key, and update policy data Address review feedback: - Set minimumVersion to 1.126 (current VS Code version) - Reuse existing NLS key to avoid duplicate translation entries - Add ChatAgentHostEnabled to generated policyData.jsonc Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Gate chat.agentHost.enabled behind editor preview policy Register the bare setting (type + default) in the common layer so the main process knows the default for agent host spawning. The policy block with its value callback is added via updateConfigurations in the browser layer (agentHost/browser/agentHost.config.contribution.ts) because functions cannot be structured-cloned over Electron IPC. Co-authored-by: digitarald <digitarald@github.com> --------- Co-authored-by: digitarald <digitarald@github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>