ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это 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.
*--------------------------------------------------------------------------------------------*/
/**
* Shared definition of the Copilot "policy" endpoints that
* `DefaultAccountService` (src/vs/workbench/services/accounts/browser/defaultAccount.ts)
* calls, together with sample response bodies. This is the single source of
* truth shared by the Node server (route table + default state) and the browser
* GUI (endpoint tabs + preset dropdown), exported UMD-style so it loads in both
* environments without a build step.
*
* For the default (github.com) provider these URLs are read verbatim from
* `product.json` -> `defaultChatAgent.<productKey>`, so pointing all of them at
* a local server via `product.overrides.json` lets a dev exercise the whole
* policy pipeline offline. The same paths are also served under a system proxy
* rule, which is how a stable/Insiders build or the CLI reaches this server.
*
* Endpoints not marked `mockedByDefault` start in passthrough: the server
* forwards them to the real API so a blanket proxy rule stays safe.
*
* NOTE: The server uses `module.stripTypeScriptTypes()` to serve this file to
* the browser as plain JavaScript — no build step is needed.
*/
export interface EndpointPreset {
id: string;
label: string;
description: string;
status?: number;
body: unknown;
}
export type EndpointResponseMode = 'json' | 'malformed-json'
id
label
path
productKey
description
mockedByDefault
schema
presets EndpointPreset
EndpointDef
root Record EndpointDef
module moduleexports
moduleexports
root
root
self self Record EndpointDef
endpoints EndpointDef
id
label
path
productKey
description
mockedByDefault
schema
presets
id
label
description
status
body
id
label
description
status
body
permissions
disableBypassPermissionsMode
id
label
description
status
body
permissions
disableBypassPermissionsMode
id
label
description
status
body
permissions
deny
id
label
description
status
body
permissions
ask
deny
id
label
description
status
body
permissions
ask
id
label
description
status
body
permissions
disableBypassPermissionsMode
allow
deny
id
label
description
status
body
sandbox
enabled
allowBypass
userPolicy
network
allowOutbound
id
label
description
status
body
model
id
label
description
status
body
extraKnownMarketplaces
source
source
repo
autoUpdate
source
source
repo
ref
autoUpdate
id
label
description
status
body
strictPluginOnlyCustomization
allowManagedMcpServersOnly
allowManagedHooksOnly
forceRemoteSettingsRefresh
id
label
description
status
body
id
label
description
status
body
error_code
client_id
client_version
minimum_client_version
id
label
description
status
body error
id
label
path
productKey
description
presets
id
label
description
body
access_type_sku
chat_enabled
assigned_date
can_signup_for_limited
copilot_plan
organization_login_list
analytics_tracking_id
cloud_session_storage_enabled
id
label
path
productKey
description
presets
id
label
description
body token
id
label
path
productKey
description
presets
id
label
description
body mcp_registries url registry_access
endpoints