Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
<!--
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for license information.
--><!DOCTYPEhtml><htmllang="en"><head><metacharset="utf-8"/><metaname="viewport"content="width=device-width, initial-scale=1"/><title>Mock Policy Server</title><linkrel="stylesheet"
Mock Policy Server
Test Copilot policy responses against a local server.
Setup
Checking connection…
Policies
Clear SDK Policy Cache
Copy the command for the client platform, then run it in a terminal.
macOS
Copy macOS Command
Windows (PowerShell)
Copy PowerShell Command
Close Setup
Connect a client
Route policy requests to this server
Select a connection method below to enable its steps. You can switch methods at any time.
Connection method
Recommended
System Proxy
Recommended on macOS and Windows: Proxyman
Routes policy requests from Code OSS, Stable, Insiders, Copilot CLI, and SDK/runtime clients. VS Code clients also require the proxy setting shown below.
Checking…
Waiting for the automatic connection check.
1
Configure the system proxy
Redirect the managed settings URL to this local server. In Proxyman, create a Map Remote rule using these values.
Map from
→
Map to
Copy Mapping
Proxyman tips
Keep the source and destination paths identical.
If HTTPS requests do not appear, install and trust Proxyman's certificate.
macOS
Turn on Tools macOS Proxy before checking the connection.
Windows
Turn on Tools Override Windows Proxy before checking the connection. Proxyman still shows its listening port while this is off, but Windows leaves system proxying disabled, so clients connect directly and no requests are captured.
Confirm Windows picked up the change: ProxyEnable should be 1 and ProxyServer should be Proxyman's host and port under HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings.
Required for VS Code: add this property inside the client's settings.json.
VS Code settings.json property
Copy Setting Property
2
Request fresh policy in VS Code
Open the Command Palette and run Developer: Sync Account Policy.
To refresh the policy used by Local Agent Host, also run Developer: Restart Local Agent Host.
If no request appears under Live Requests on the Policies page, open Clear SDK Policy Cache in the header, copy the command for your platform, run it in a terminal, and then run the commands again.
Code OSS only
Product overrides
The fastest option for Code OSS built from this checkout. It does not route SDK/runtime requests.
Not applied
1
Apply the local endpoint URLs
The server updates product.overrides.json and preserves any other top-level overrides.
Apply Overrides
2
Reload and request policy
Reload Code OSS, sign in, open the Command Palette, and run Developer: Sync Account Policy.
If no request appears under Live Requests on the Policies page, open Clear SDK Policy Cache in the header, copy the command for your platform, run it in a terminal, and then run the command again.
No proxy
File-based settings
Deploy managed-settings.json to the client device. It loads from disk at startup before sign-in and with no proxy or server round trip so these requests never reach this server. Local clients only.
Not detectable from here. Deploy the file, restart the client, then verify inside the client.
1
Write the policy file
On the Policies page, edit the Managed Settings response body, then expand Deploy as a file to copy the command for the client platform and run it in a terminal.
Go to Deploy as a File
File locations
macOS: /Library/Application Support/GitHubCopilot/managed-settings.json
Windows: %ProgramFiles%\GitHubCopilot\managed-settings.json
Linux: /etc/github-copilot/managed-settings.json
On macOS and Linux, Copilot CLI requires a regular file owned by root that is not group- or world-writable, so the copied command uses sudo.
2
Reload the client
Restart the client so it loads the file, or in VS Code run Developer: Sync Account Policy. File-based settings persist across accounts and don't expire like the SDK policy cache.
Use this to avoid proxying entirely, or deploy it alongside a server-managed response to test precedence. Deploying file-based settings
Policy Editor
Response behavior
JSON response
Malformed JSON
Disconnect without response
No response (client timeout)
Preset
HTTP status code
Schema
Schema source
Generate Example
Response body (JSON)
Deploy as a file
managed-settings.json
Write the current response body to managed-settings.json on the client device to enforce it as file-based settings no proxy required. The client reads the file at startup, so these requests never reach this server and won't appear in Live Requests. Deploy it alongside a server-managed response to test precedence. Deploying file-based settings
Run the command for the client platform in a terminal, then restart the client. On macOS and Linux sudo writes the root-owned, non-writable file that Copilot CLI requires; run the PowerShell command in an elevated terminal.
macOS
Copy macOS Command
Windows (PowerShell)
Copy PowerShell Command
Linux
Copy Linux Command
Enter a valid JSON body above to generate the deploy commands.
Live Requests
Clear
No requests yet.