ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Use `scripts/mock-policy-server/` to test Copilot policy responses locally. It can mock the four defaultChatAgent endpoints that DefaultAccountService calls and proxy unmocked requests to the real API.
npm run mock-policy-server # http://127.0.0.1:3000Only managed settings is mocked by default. Use the switch beside each endpoint tab to choose mock or passthrough. Presets apply immediately; response edits auto-save.
Agents should use the JSON control API: start with GET /api for discovery and GET /api/state for endpoint IDs and presets, then use POST /api/state for a single update or an atomic endpoint array. Prefer known preset IDs over copying preset bodies.
Choose the client setup in the GUI:
product.overrides.json, reload, sign in, andrun Developer: Sync Account Policy.
proxy mapping and enable Proxyman's platform proxy toggle (Tools > macOS Proxy or Tools > Override Windows Proxy). VS Code clients must also add the displayed http.proxy property to settings.json.
Managed Settings response body and run the copied per-platform command to write the current body to managed-settings.json on the device. Restart the client to load it. Use it to skip proxying or to test precedence against a server-managed response. See Deploying file-based settings.
Use Clear SDK Policy Cache, expand the macOS or Windows section, and run the copied command when the runtime's fresh managed-settings cache prevents a network request. Select a known policy endpoint in the live request log to open its response editor.
To test forceRemoteSettingsRefresh fail-closed behavior, apply the customization-lockdown managed-settings preset and sync once successfully. Then select the server-error preset or choose the malformed-json, disconnect, or timeout response behavior and sync again. The successful first response seeds the cached refresh requirement; the second response exercises HTTP, parse, immediate-network, or client-timeout failure without manually editing payloads.
Other Copilot clients share the default cache. For deterministic testing, start both Code OSS and the mock server with the same isolated COPILOT_CACHE_HOME.
The managed-settings schema is auto-detected from a sibling copilot-agent-runtime checkout, including when VS Code runs from a Git worktree. Use --schema or MANAGED_SETTINGS_SCHEMA at server startup to override it; the GUI does not reload schema sources.
See the mock policy server README for proxy setup, cache locations, schema loading, and server options.
Keep shared presets limited to responses already known to be valid. Edit the response body directly for one-off experiments rather than committing speculative policy examples.