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.
*--------------------------------------------------------------------------------------------*/
import { vEnum, vLiteral, vNumber, vObj, vOptionalProp, vString, vUnion } from '../../../base/common/validation.js';
/**
* Schema version for the shared local agent-host endpoint registry under
* `<userDataPath>/agent-host/local-endpoint/`. Each running agent host owns
* one immutable entry file at `entries/<sha256hex>.json`; readers additionally
* merge any legacy `metadata.json` array left by older builds (read-only). This
* schema is shared with the Rust CLI
* (`cli/src/tunnels/agent_host_registry.rs`); field renames or removals MUST be
* coordinated across both languages.
*
* Version 1 was the editor-only, socket-path-only schema
* (`ILocalAgentHostEndpointMetadata` in `node/localAgentHostMetadata.ts`).
* Version 2 generalizes the registry to hold both editor (socket/pipe) and
* standalone CLI (TCP) endpoints so every locally running agent host is
* discoverable from one place. Changing the on-disk container (one file per
* instance vs. the historical single shared array) did not change this
* serialized entry shape or `AGENT_HOST_ENDPOINT_REGISTRY_SCHEMA_VERSION`.
*/
export const AGENT_HOST_ENDPOINT_REGISTRY_SCHEMA_VERSION = 2;
/**
* Kind of process that owns an agent host endpoint. Controls
* ownership/default-selection policy on the client; it is not by itself a
* measure of trust or of registry identity (see {@link IAgentHostEndpointIdentity}).
*/
export type AgentHostServerType
type path
type host port
schemaVersion
type AgentHostServerType
pid
instanceId
protocolVersion
connectionToken
endpoint AgentHostEndpointAddress
quality
tunnelName
type AgentHostServerType
pid
instanceId
endpointAddressValidator
type path
type host port
entryValidator
schemaVersion
type
pid
instanceId
protocolVersion
connectionToken
endpoint endpointAddressValidator
quality
tunnelName
raw IAgentHostEndpointMetadata
content error entryValidatorraw
error
contentschemaVersion
Numbercontentpid contentpid
contentendpointtype Numbercontentendpointport contentendpointport contentendpointport
schemaVersion
type contenttype
pid contentpid
instanceId contentinstanceId
protocolVersion contentprotocolVersion
connectionToken contentconnectionToken
endpoint contentendpoint
quality contentquality
tunnelName contenttunnelName
raw IAgentHostEndpointMetadata
raw
entries IAgentHostEndpointMetadata
item raw
entry item
entry
entriesentry
entries
identity IAgentHostEndpointIdentity
identity IAgentHostEndpointIdentity
a IAgentHostEndpointIdentity b IAgentHostEndpointIdentity
atype btype apid bpid ainstanceId binstanceId
entries IAgentHostEndpointMetadata IAgentHostEndpointMetadata
byIdentity
entry entries
byIdentityentry entry
byIdentity