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 { URI } from '../../../base/common/uri.js';
/**
* The URI scheme for accessing client-side files from the agent host.
*
* This is the inverse of {@link AGENT_HOST_SCHEME}: the agent host uses
* this scheme to address files that live on the connected client.
*
* ```
* vscode-agent-client://[clientId]/[originalScheme]/[originalAuthority]/[originalPath]
* ```
*
* For example, `file:///Users/user/plugins/my-plugin` on client `client-1` becomes:
* ```
* vscode-agent-client://client-1/file/-/Users/user/plugins/my-plugin
* ```
*/
export const AGENT_CLIENT_SCHEME = 'vscode-agent-client';
/**
* Wraps a client-side URI into a {@link AGENT_CLIENT_SCHEME} URI that
* can be resolved through the agent host's client filesystem provider.
*
* Opaque-path URIs (e.g. `untitled:Untitled-1`, where `path` has no
* leading `/`) are marked with a `!` suffix on the encoded scheme slot
* so the decoder can restore them faithfully. Scheme names are
* alphanumeric + `+.-` per RFC 3986, so `!` cannot collide.
*
* @param originalUri The URI on the client (e.g. `file:///path`)
* @param clientId The client identifier (from the protocol `clientId`)
*/
export function toAgentClientUri(originalUri: URI clientId
originalAuthority originalUriauthority
isOpaque originalUripathlength originalUripath
schemeSlot isOpaque originalUrischeme
pathBody isOpaque originalUripath
scheme
authority clientId
path
query originalUriquery
fragment originalUrifragment
agentClientUri
path agentClientUripath
query agentClientUriquery
fragment agentClientUrifragment
schemeEnd path
schemeEnd
scheme path query fragment
originalScheme path schemeEnd
isOpaque originalScheme
isOpaque
originalScheme originalScheme originalSchemelength
authorityEnd path schemeEnd
authorityEnd
originalAuthority pathschemeEnd
scheme originalScheme authority originalAuthority originalAuthority path query fragment
originalAuthority pathschemeEnd authorityEnd
originalAuthority
originalAuthority
originalPath pathauthorityEnd
isOpaque
originalPath originalPath
scheme originalScheme
authority originalAuthority
path originalPath
query
fragment