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 { ILogService } from '../../../log/common/log.js';
import { createDecorator } from '../../../instantiation/common/instantiation.js';
import { ICopilotApiService, type ICopilotUtilityChatMessage } from './copilotApiService.js';
/**
* Branch-name prefix for worktree-isolated agent sessions, e.g.
* `agents/add-feature`. Shared by every agent-host provider (Copilot, Codex,
* Claude) via {@link WorktreeIsolation}.
*/
export const AGENT_BRANCH_PREFIX = 'agents/';
const AGENT_BRANCH_SESSION_ID_SUFFIX_LENGTH = 8;
const MAX_BRANCH_NAME_HINT_LENGTH = 48;
const MIN_GENERATED_BRANCH_NAME_LENGTH
sessionId
message
githubToken
signal AbortSignal
branchPrefix
branchNameCollides branchName
IAgentBranchNameGenerator
_serviceBrand
request IAgentBranchNameGeneratorRequest
_serviceBrand
_copilotApiService ICopilotApiService
_logService ILogService
request IAgentBranchNameGeneratorRequest
branchNameHint request requestmessage
request branchNameHint
request IAgentBranchNameGeneratorRequest
message requestmessage
message requestgithubToken
rawBranchName _copilotApiServicerequestgithubToken
messages message
signal requestsignal
requestsignalaborted
branchName rawBranchName
branchName
branchName branchName
branchName
branchName branchName
branchNamelength
_logService
branchName
err
_logService err
userRequest ICopilotUtilityChatMessage
role
content
role
content
request IAgentBranchNameGeneratorRequest branchNameHint
prefix
branchName
collisionBase branchNameHint
branchName
candidateIndex candidateIndex candidateIndex
candidate candidateIndex
branchName
branchNameHint candidateIndex
collisionBase
requestbranchNameCollides requestcandidate
candidate
branchName
normalized branchName
normalized normalized
normalized normalized
normalized normalized
normalized normalized
normalized
message
words message
word wordlength
hint words
hintlength hint