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 { Limiter } from '../../../base/common/async.js';
import { extUriBiasedIgnorePathCase } from '../../../base/common/resources.js';
import { URI } from '../../../base/common/uri.js';
import { IAgentHostGitService } from '../common/agentHostGitService.js';
/**
* Upper bound on concurrent `git rev-parse --show-toplevel` probes when
* resolving a session's working directories, so a many-folder session cannot
* spawn an unbounded number of git processes at once.
*/
const REPOSITORY_ROOT_RESOLUTION_CONCURRENCY = 5;
/**
* The git repository roots and non-git directories that a session's effective
* working directories resolve to.
*/
export interface ISessionRepositories {
/**
* The UNIQUE git repository roots backing the session's working
* directories. Deduplicated with the same case bias the rest of the agent
* host uses ({ extUriBiasedIgnorePathCase), so several folders rooted
* inside one repository contribute a single root. Ordered by the first
* contributing working directory, preserving the caller's input order.
*/
gitRepositories
nonGitDirectories
workingDirectories gitService IAgentHostGitService onRootError directory error ISessionRepositories
limiter
resolvedRoots workingDirectory repositoryRoot
resolvedRoots workingDirectoriesworkingDirectory limiter
workingDirectory repositoryRoot gitServiceworkingDirectory
err
onRootError
err
workingDirectory err
workingDirectory repositoryRoot
limiter
gitRepositories
nonGitDirectories
seenRepositoryKeys
workingDirectory repositoryRoot resolvedRoots
repositoryRoot
nonGitDirectoriesworkingDirectory
repositoryKey extUriBiasedIgnorePathCaserepositoryRoot
seenRepositoryKeysrepositoryKey
seenRepositoryKeysrepositoryKey
gitRepositoriesrepositoryRoot
gitRepositories nonGitDirectories