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';
const GIT_BLOB_SCHEME = 'git-blob';
interface IGitBlobUriQuery {
readonly sessionUri: string;
readonly sha: string;
readonly repoRelativePath: string;
}
/**
* Builds a `git-blob:` URI that references a file blob at a specific git
* commit, scoped to a given session. Resolved by reading the session's
* working directory and shelling out to `git show <sha>:<path>`.
*
* The URI path is the absolute working-tree path so resource labels show a
* recognizable file path and so the "before" side lines up with the
* working-tree "after" side in diff editors. The session URI, SHA, and
* repository-relative path needed to fetch the blob are carried in the
* query.
*
* @param sessionUri Session the blob belongs to; used to find the working
* directory.
* @param sha Git commit/ref the blob is read from.
* @param repoRelativePath Repository-relative path passed to `git show`.
* @param Absolute working-tree path used as the display path.
*/
sessionUri sha repoRelativePath absolutePath
scheme
path absolutePath
query sessionUri sha repoRelativePath satisfies IGitBlobUriQuery
sessionUri
sha
repoRelativePath
absolutePath
raw IGitBlobUriFields
parsed
parsed raw
parsedscheme parsedquery
query parsedquery PartialIGitBlobUriQuery
querysessionUri querysha queryrepoRelativePath
sessionUri querysessionUri
sha querysha
repoRelativePath queryrepoRelativePath
absolutePath parsedpath