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 { decodeHex } from '../../../base/common/buffer.js';
import { URI } from '../../../base/common/uri.js';
const SESSION_DB_SCHEME = 'session-db';
/**
* Builds a `session-db:` URI referencing a file-edit content blob in the
* session database. The path is the edited file's path so resource labels
* show a real path; the lookup fields live in the query, where `filePath` is
* kept verbatim because it is part of the database key.
*
* Only safe to call on the agent host, since `URI.file` interprets `\` per
* the operating system it runs on. Clients must use
* {@link canonicalizeSessionDbUri}, which takes the path from the file URI
* the host already resolved.
*/
export function buildSessionDbUri(sessionUri: string, toolCallId: string, filePath: string, part: 'before' | 'after'
filePathpath sessionUri toolCallId filePath part
path fields ISessionDbUriFields
scheme path query fields
sessionUri
toolCallId
filePath
part
raw ISessionDbUriFields
parsed
parsed raw
parsedscheme
parsedquery parsedquery parsed
uri fileUri
urischeme uriquery
uri
fields uri
fields
uri
fileUripath fields
value value
value valuelength
query ISessionDbUriFields
fields PartialISessionDbUriFields
fields query PartialISessionDbUriFields
fields fields
sessionUri toolCallId filePath part fields
sessionUri toolCallId filePath part part
sessionUri toolCallId filePath part
uri ISessionDbUriFields
toolCallId filePath part uripath
toolCallId filePath part part
sessionUri uriauthority
toolCallId toolCallId
filePath filePath
part