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 * as l10n from '@vscode/l10n';
import type { ChatContext, ChatRequest, ChatResponseStream } from 'vscode';
import { coalesce } from '../../../util/vs/base/common/arrays';
import { findLast } from '../../../util/vs/base/common/arraysFind';
import { Emitter } from '../../../util/vs/base/common/event';
import { Disposable } from '../../../util/vs/base/common/lifecycle';
import { URI } from '../../../util/vs/base/common/uri';
ChatRequestTurn
AuthPermissionMode ConfigKey IConfigurationService
getGitHubRepoInfoFromContext IGitService
IGithubRepositoryService
ILogService
IAuthenticationService
IAuthenticationChatUpgradeService
_serviceBrand
hasRequestedPermissiveSessionUpgrade
_permissionRequest l10n
_permissionRequestGrant l10n
_permissionRequestNotNow l10n
_permissionRequestNeverAskAgain l10n
_onDidGrantAuthUpgrade
onDidGrantAuthUpgrade _onDidGrantAuthUpgradeevent
_authenticationService IAuthenticationService
gitService IGitService
logService ILogService
ghRepoService IGithubRepositoryService
configurationService IConfigurationService
_authenticationService
_authenticationServiceanyGitHubSession
hasRequestedPermissiveSessionUpgrade
reason
hasRequestedPermissiveSessionUpgrade
reason
_authenticationServiceisMinimalMode
reason
_authenticationService silent
reason
_authenticationService silent
reason
reason
logService
skipRepeatCheck
hasRequestedPermissiveSessionUpgrade skipRepeatCheck
logService
logService
hasRequestedPermissiveSessionUpgrade
_authenticationService
forceNewSession
detail l10n
learnMore
clearSessionPreference
e
_authenticationService
stream ChatResponseStream
data ChatRequest
detail
context ChatContext
logService
hasRequestedPermissiveSessionUpgrade
stream
_permissionRequest
detail l10n
authPermissionPrompted data context
_permissionRequestGrant
_permissionRequestNotNow
_permissionRequestNeverAskAgain
stream ChatResponseStream request ChatRequest history ChatContext ChatRequest
findConfirmationRequested ChatRequest requestacceptedConfirmationDataref refauthPermissionPrompted
findConfirmationRequested
request
logService
requestprompt
logService
_authenticationService createIfNone detail l10n
_onDidGrantAuthUpgrade
e
_authenticationService
logService
streaml10n
_authenticationService
logService
configurationServiceConfigKeySharedAuthPermissions AuthPermissionModeMinimal
hasRequestedPermissiveSessionUpgrade
streaml10n ConfigKeySharedAuthPermissionsfullyQualifiedId
previousRequest history item item ChatRequestTurn
previousRequest
prompt previousRequestprompt
command previousRequestcommand
references previousRequestreferences
toolReferences previousRequesttoolReferences
toolInvocationToken requesttoolInvocationToken
attempt requestattempt
enableCommandDetection requestenableCommandDetection
isParticipantDetected findConfirmationRequestedisParticipantDetected
location requestlocation
location2 requestlocation2
model requestmodel
tools
id requestid
sessionId
sessionResource requestsessionResource
hasHooksEnabled requesthasHooksEnabled
prompt findConfirmationRequestedprompt
command findConfirmationRequestedcommand
references
toolReferences
toolInvocationToken requesttoolInvocationToken
attempt requestattempt
enableCommandDetection requestenableCommandDetection
isParticipantDetected findConfirmationRequestedisParticipantDetected
location requestlocation
location2 requestlocation2
model requestmodel
tools
id requestid
sessionId
sessionResource requestsessionResource
hasHooksEnabled requesthasHooksEnabled
repoContexts gitServicerepositories
repoContexts
logService
repoIds repoContextsx xid
result repoIdsrepoId
ghRepoServicerepoIdorg repoIdrepo
resultlevel level