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 vscode from 'vscode';
import { IAuthenticationService } from '../../../platform/authentication/common/authentication';
import { ICopilotTokenManager } from '../../../platform/authentication/common/copilotTokenManager';
import { IChatSessionService } from '../../../platform/chat/common/chatSessionService';
import { IChatDebugFileLoggerService } from '../../../platform/chat/common/chatDebugFileLoggerService';
import { ISessionStore } from '../../../platform/chronicle/common/sessionStore';
import { ConfigKey, IConfigurationService } from '../../../platform/configuration/common/configurationService';
CopilotChatAttr GenAiAttr GenAiOperationName
IExperimentationService
IOTelService
getGitHubRepoInfoFromContext IGitService
IGithubRepositoryService
Disposable DisposableStore
Emitter
autorun observableFromEventOpts
IExtensionContribution
CircuitBreaker
createSessionTranslationState
deriveTitleFromUserMessage
isTerminalFlushEvent
translateSpan
GitHubRepository CloudSessionIds SessionEvent WorkingDirectoryContext
filterSecretsFromObj addSecretValues
SessionIndexingPreference
IFetcherService
ITelemetryService
CloudSessionApiClient
ISessionSyncStateService
IVSCodeExtensionContext
CloudSessionIdStore
reindexSessions reindexCloudSessions
ISessionSyncStateService
_serviceBrand
_cloudSessions CloudSessionIdStore
_cloudReconciled
_translationStates
_disabledSessions
_initializingSessions
_pendingChatSpans
_rateLimitedSessions
_policyBlockedUntilByOwner
_policyNotificationShown
_eventBuffer chatSessionId event SessionEvent
_cloudClient CloudSessionApiClient
_circuitBreaker CircuitBreaker
_flushTimer ReturnType setTimeout
_flushTimerKind
_isFlushing
_firstCloudWriteLogged
_firstCloudWriteSessionSource
_repository GitHubRepository
_repositoryResolved
_indexingPreference SessionIndexingPreference
_syncSuggestionShown
_onDidChangeSyncState
onDidChangeSyncState _onDidChangeSyncStateevent
_syncState SessionSyncState kind
SessionSyncState _syncState
state SessionSyncState
_syncState state
_onDidChangeSyncStatestate
_cachedLocalSyncedCount
_cachedLocalSyncedCount
_cachedLocalSyncedCount
localIds _sessionStore
id
count
row localIds
_cloudSessionsrowid
count
_cachedLocalSyncedCount count
count
_cloudSessionssize
_cachedLocalSyncedCount
configured _configServiceConfigKeyTeamInternalSessionSyncSafetyIntervalMs _expService
configured Numberconfigured configured
configured
configured _configServiceConfigKeyTeamInternalSessionSyncMaxEventsPerFlush _expService
Numberconfigured configured
configured
_cloudSessions
_cloudSessionssize _syncStatekind
kind syncedCount
_cloudReconciled
_cloudReconciled
_cloudSessions
cloudSessions _cloudClient
_cloudSessionscloudSessions
kind syncedCount
_otelService IOTelService
_chatSessionService IChatSessionService
_tokenManager ICopilotTokenManager
_authService IAuthenticationService
_gitService IGitService
_githubRepoService IGithubRepositoryService
_configService IConfigurationService
_expService IExperimentationService
_telemetryService ITelemetryService
_fetcherService IFetcherService
_sessionStore ISessionStore
_extensionContext IVSCodeExtensionContext
_debugLogService IChatDebugFileLoggerService
_cloudSessions _extensionContextglobalStorageUrifsPath
_indexingPreference _configService
_cloudClient _tokenManager _authService _fetcherService
_cloudClient callSite retryAfterSec
_telemetryService
operation
error callSite
retryAfterSec
_circuitBreaker
failureThreshold
resetTimeoutMs
maxResetTimeoutMs
_from to
_telemetryService
operation
transition to
failureCount _circuitBreaker
vscodecommands
vscodecommands sessionIds sessionIds
vscodecommands
vscodecommands msg token vscodeCancellationToken reportProgress token
vscodecommands
localEnabled _configServiceConfigKeyLocalIndexEnabled _expService
cloudEnabled
debugName
handler vscodeworkspacee
e
e
_configService
spanListenerStore
reader
spanListenerStore
isLocalEnabled localEnabledreader
isCloudEnabled cloudEnabledreader
isLocalEnabled isCloudEnabled
isLocalEnabled isCloudEnabled
inspection vscodeworkspace
inspection policyValue policyValue
kind
kind
kind
spanListenerStore_otelServicespan
span
spanListenerStore_chatSessionServicesessionId
sessionId
override
pending _eventBufferlength
pending
_translationStates
_disabledSessions
_initializingSessions
_pendingChatSpans
_rateLimitedSessions
_syncSuggestionShown
localEnabled _configServiceConfigKeyLocalIndexEnabled _expService
localEnabled _configService
_syncSuggestionShown
vscodewindow
vscodel10n
vscodel10n
vscodel10n
choice
choice vscodel10n
vscodecommands
vscodewindow
location vscodeProgressLocationNotification
title vscodel10n
cancellable
progress token
localResult
_sessionStore
_debugLogService
msg progress message msg
token
tokenisCancellationRequested
progress message vscodel10n localResultprocessed localResultskipped
cloudResult
msg progress message msg
token
localResultprocessed cloudResult cloudResultcreated
vscodewindow
vscodel10n localResultskipped
cloudResult cloudResultcreated
vscodewindow
vscodel10n localResultprocessed cloudResultcreated
vscodewindow
vscodel10n localResultprocessed
vscodeQuickPickItem sessionId
selectAllId
quickPick vscodewindow
quickPicktitle vscodel10n
quickPickplaceholder vscodel10n
quickPickcanSelectMany
quickPickbusy
quickPick
_cloudSessionssize
quickPick
vscodewindowvscodel10n
rows id repository created_at first_message
allRows _sessionStore
id repository created_at first_message
rows allRowsrow _cloudSessionsrowid
rowslength
quickPick
vscodewindowvscodel10n
quickPickbusy
quickPickplaceholder vscodel10n
quickPickitems
label vscodel10n rowslength sessionId selectAllId
rowsrow
label rowfirst_message
rowfirst_message rowid
rowid
description
rowrepository
rowcreated_at rowcreated_at
Boolean
label description sessionId rowid
picked resolve
quickPick
quickPickselectedItems
quickPick
quickPick
quickPick
picked pickedlength
sessionsToDelete pickedp psessionId selectAllId
rows
pickedp rowsr rid psessionIdBoolean
vscodeQuickPickItem deleteLocal
scopeItems ScopeQuickPickItem
label vscodel10n description vscodel10n deleteLocal
label vscodel10n description vscodel10n deleteLocal
scopePick vscodewindowscopeItems
title vscodel10n
placeHolder vscodel10n
scopePick
deleteLocal scopePickdeleteLocal
confirmMessage sessionsToDeletelength
vscodel10n
vscodel10n sessionsToDeletelength
confirmDetail deleteLocal
vscodel10n
vscodel10n
confirm vscodewindow
confirmMessage
modal detail confirmDetail
vscodel10n
confirm vscodel10n
localDeleted
cloudDeleted
cloudErrors
kind sessionCount sessionsToDeletelength
vscodewindow
location vscodeProgressLocationNotification title vscodel10n
session sessionsToDelete
deleteLocal
_sessionStoresessionid
localDeleted
cached _cloudSessionssessionid
cached
result _cloudClientcachedcloudTaskId
result
cloudDeleted
cloudDeleted
cloudErrors
_cloudSessionssessionid
_translationStatessessionid
_disabledSessionssessionid
_rateLimitedSessionssessionid
parts
deleteLocal
partsvscodel10n localDeleted
cloudDeleted
partsvscodel10n cloudDeleted
cloudErrors
vscodewindowparts vscodel10n cloudErrors
kind
vscodewindowparts
kind syncedCount
_telemetryService
operation
source
totalRequested sessionsToDeletelength
localDeleted
cloudDeleted
cloudErrors
sessionIds
sessionIds sessionIdslength
_cloudSessions
cloudEnabled _configService
sessionId sessionIds
_sessionStoresessionId
wasCloudSynced _cloudSessionssessionId
cloudEnabled wasCloudSynced
cached _cloudSessionssessionId
_cloudClientcachedcloudTaskId
_cloudSessionssessionId
_translationStatessessionId
_disabledSessionssessionId
_rateLimitedSessionssessionId
kind syncedCount
msg
token vscodeCancellationToken
CloudReindexResult
cloudEnabled _configService
cloudEnabled
repo
repo
repoNwo
_indexingPreferencerepoNwo
indexingLevel _indexingPreferencerepoNwo
indexingLevel
cloudIndexingLevel indexingLevel
result
_cloudClient
_cloudSessions
_debugLogService
reporepoIdsownerId
reporepoIdsrepoId
cloudIndexingLevel
reportProgress
token
nwo _indexingPreferencenwo
kind syncedCount
_telemetryService
operation
created resultcreated
failed resultfailed
eventsUploaded resulteventsUploaded
backfillQueued resultbackfillQueued
result
span ICompletedSpanData
parentChatSessionId spanattributesCopilotChatAttr
ownChatSessionIdAttr spanattributesCopilotChatAttr
ownChatSessionId ownChatSessionIdAttr
spanattributesGenAiAttr
spanattributesCopilotChatAttr
sessionId parentChatSessionId ownChatSessionId
subagentId parentChatSessionId ownChatSessionId
hasRealChatSessionId parentChatSessionId ownChatSessionIdAttr
operationName spanattributesGenAiAttr
sessionId _disabledSessionssessionId
_cloudSessionssessionId
_initializingSessionssessionId
_rateLimitedSessionssessionId
operationName GenAiOperationName
hasRealChatSessionId
pending _pendingChatSpanssessionId
pending
pending
_pendingChatSpanssessionId pending
pendinglength
pending
pending span subagentId
operationName GenAiOperationName subagentId
sessionId span
state sessionId
context span
events span state context subagentId
eventslength
sessionId events
operationName GenAiOperationName subagentId
pendingChats _pendingChatSpanssessionId
pendingChats
_pendingChatSpanssessionId
span chatSpan subagentId chatSubagentId pendingChats
chatEvents chatSpan state context chatSubagentId
chatEventslength
sessionId chatEvents
sessionId SessionTranslationState
state _translationStatessessionId
state
state
_translationStatessessionId state
state
span ICompletedSpanData WorkingDirectoryContext
branch spanattributesCopilotChatAttr
remoteUrl spanattributesCopilotChatAttr
commitHash spanattributesCopilotChatAttr
branch remoteUrl
repository remoteUrl
branch
headCommit commitHash
githubToken _authServiceanyGitHubSessionaccessToken
githubToken
githubToken
_tokenManagertoken
tokentoken
tokentoken
sessionId triggerSpan ICompletedSpanData
_initializingSessionssessionId
sessionSource triggerSpanattributesGenAiAttr
_firstCloudWriteSessionSource
_firstCloudWriteSessionSource sessionSource
repo
repo
_disabledSessionssessionId
_telemetryService
operation
sessionSource
reason
repoNwo
_indexingPreferencerepoNwo
_disabledSessionssessionId
_telemetryService
operation
sessionSource
reason
reporepoIdsownerId
_disabledSessionssessionId
_telemetryService
operation
sessionSource
reason
sessionId repo _indexingPreferencerepoNwo
_telemetryService
operation
success
sessionSource
err
_telemetryService
operation
success
error err errmessage
_disabledSessionssessionId
_initializingSessionssessionId
level SessionIndexingLevel
level
sessionId _translationStates
_cloudSessionssessionId
_disabledSessionssessionId
repo _repository
repo
sessionId _translationStates
_cloudSessionssessionId _disabledSessionssessionId
reporepoIdsownerId
_disabledSessionssessionId
sessionId repo level
sessionId
repo GitHubRepository
indexingLevel SessionIndexingLevel
result _cloudClient
reporepoIdsownerId
reporepoIdsrepoId
sessionId
indexingLevel
resultok
resultreason
_telemetryService
operation
sessionCount
_disabledSessionssessionId
_rateLimitedSessionssessionId
reporepoIdsownerId
resultreason
_telemetryService
operation
sessionCount
_rateLimitedSessionssessionId
_telemetryService
operation
success
error resultreason
_disabledSessionssessionId
_rateLimitedSessionssessionId
resultresponsetask_id
_telemetryService
operation
success
error
_disabledSessionssessionId
_rateLimitedSessionssessionId
cloudIds CloudSessionIds
cloudSessionId resultresponseid
cloudTaskId resultresponsetask_id
_cloudSessionssessionId cloudIds
_rateLimitedSessionssessionId
_telemetryService
operation
success
indexingLevel
ownerId
expiry _policyBlockedUntilByOwnerownerId
expiry
Date expiry
_policyBlockedUntilByOwnerownerId
ownerId
_policyBlockedUntilByOwnerownerId Date
_policyNotificationShown
_policyNotificationShown
vscodewindow
vscodel10n
GitHubRepository
_repositoryResolved
_repository
_repositoryResolved
repoContext _gitServiceactiveRepository
repoContext
repoInfo repoContext
repoInfo
id repoId repoInfo
apiResponse _githubRepoServicerepoIdorg repoIdrepo
_repository
owner repoIdorg
repo repoIdrepo
repoIds
ownerId apiResponseownerid
repoId apiResponseid
_repository
err
_telemetryService
operation
success
error err errmessage
sessionId
_translationStatessessionId
_disabledSessionssessionId
_initializingSessionssessionId
_pendingChatSpanssessionId
_rateLimitedSessionssessionId
chatSessionId events SessionEvent
hasTerminal
event events
eventtype
_eventBuffer chatSessionId event
hasTerminal event
hasTerminal
_eventBufferlength
_eventBufferlength
dropped _eventBufferlength
_eventBuffer dropped
_telemetryService
operation
droppedCount dropped
bufferSize
hasTerminal _eventBufferlength
intervalMs kind
_flushTimer
kind _flushTimerKind
_flushTimer
_flushTimerKind kind
_flushTimer
_flushTimer
_flushTimerKind
err
_telemetryService
operation
success
error err errmessage
intervalMs
_flushTimer
_flushTimer
_flushTimer
_flushTimerKind
_isFlushing
_eventBufferlength
_circuitBreaker
_eventBufferlength
dropped _eventBufferlength
_eventBuffer dropped
_cloudClient
_circuitBreaker
_isFlushing
batch _eventBuffer
batchStart Date
uniqueSessionsInBatch batche echatSessionIdsize
kind sessionCount uniqueSessionsInBatch
flushFailed
eventsBySession
orphanedEntries batch
entry batch
cloudIds _cloudSessionsentrychatSessionId
cloudIds
slot eventsBySessioncloudIdscloudSessionId
slot
sloteventsentryevent
slotchatSessionIdsentrychatSessionId
slotentriesentry
eventsBySessioncloudIdscloudSessionId
events entryevent
chatSessionIds entrychatSessionId
entries entry
orphanedEntriesentry
_rateLimitedSessionssize _repository
repo _repository
level _indexingPreference
pending orphanedEntriese echatSessionId
toRetry _rateLimitedSessionsid
pendingid _initializingSessionsid
sessionId toRetry
sessionId repo level
orphanedEntrieslength
requeue orphanedEntriese
_disabledSessionsechatSessionId
_initializingSessionsechatSessionId
_cloudSessionsechatSessionId
_rateLimitedSessionsechatSessionId
requeuelength
_eventBufferrequeue
hadTransientError
policyBlockedSessions
rateLimitedSessions
submittedCount
requeueOnRateLimit batch
cloudSessionId slot eventsBySession
submittedCount sloteventslength
filteredEvents sloteventse e
result _cloudClientcloudSessionId filteredEvents
resultok
resultreason
policyBlockedSessions
chatSessionId slotchatSessionIds
_disabledSessionschatSessionId
_repository
_repositoryrepoIdsownerId
resultreason
rateLimitedSessions
requeueOnRateLimitslotentries
flushFailed
hadTransientError
requeueOnRateLimitlength
_eventBufferrequeueOnRateLimit
allSuccess hadTransientError policyBlockedSessions rateLimitedSessions
allSuccess eventsBySessionsize
_circuitBreaker
_telemetryService
operation
eventsCount submittedCount
orphanedCount orphanedEntrieslength
batchDurationMs Date batchStart
bufferSize _eventBufferlength
_firstCloudWriteLogged
_firstCloudWriteLogged
_telemetryService
operation
sessionSource _firstCloudWriteSessionSource
hadTransientError
_circuitBreaker
kind
flushFailed
_telemetryService
operation
failureCount _circuitBreaker
eventsCount submittedCount
orphanedCount orphanedEntrieslength
bufferSize _eventBufferlength
_circuitBreaker
policyBlockedSessions
_telemetryService
operation
sessionCount policyBlockedSessions
rateLimitedSessions
_telemetryService
operation
sessionCount rateLimitedSessions
hadTransientError
kind syncedCount
err
_eventBufferbatch
_circuitBreaker
flushFailed
_telemetryService
operation
success
error err errmessage
droppedEvents batchlength
kind
_isFlushing
flushFailed _eventBufferlength
_eventBufferlength
_cloudSessionssize