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 { raceCancellationError } from '../../../base/common/async.js';
import { CancellationToken } from '../../../base/common/cancellation.js';
import { isCancellationError } from '../../../base/common/errors.js';
import { Emitter } from '../../../base/common/event.js';
import { IMarkdownString, MarkdownString, markdownStringEqual } from '../../../base/common/htmlContent.js';
import { Disposable, DisposableMap, DisposableResourceMap, DisposableStore, IDisposable } from '../../../base/common/lifecycle.js';
import { ResourceMap
revive
equals
autorun IObservable observableSignalFromEvent observableValue
isEqual
ThemeIcon
UriComponents
localize
IDialogService
IInstantiationService
ILogService
hasValidDiff IAgentSession
IAgentSessionsService
IChatWidgetService isIChatViewViewContext
getInProgressSessionDescription
getSessionStatusForModel
IChatEditorOptions
ChatEditorInput
IChatRequestVariableEntry
IChatDebugService
IChatContentInlineReference IChatDetail IChatProgress IChatService IChatSessionTiming
ChatSessionOptionsMap ChatSessionStatus IChatNewSessionRequest IChatSession IChatSessionContentProvider IChatSessionHistoryItem IChatSessionItem IChatSessionItemController IChatSessionItemsDelta IChatSessionProviderOptionGroup IChatSessionProviderOptionItem IChatSessionRequestHistoryItem IChatSessionsService ReadonlyChatSessionOptionsMap
ChatAgentLocation
IChatModel
getChatSessionType
IChatAgentRequest
IChatArtifactsService
IChatTodoListService
IEditorGroupsService
IEditorService
extHostNamedCustomer IExtHostContext
Dto
ChatSessionContentContextDto ExtHostChatSessionsShape ExtHostContext IChatProgressDto IChatSessionHistoryItemDto IChatSessionItemsChange IChatSessionRequestHistoryItemDto MainContext MainThreadChatSessionsShape
a IMarkdownString b IMarkdownString
a b
a b
a b
a b
sessionResource
providerHandle
history IChatSessionHistoryItem
title
_options ChatSessionOptionsMap
ReadonlyChatSessionOptionsMap
_options _options
_progressObservable
_isCompleteObservable
_onWillDispose
onWillDispose _onWillDisposeevent
_pendingProgressChunks
_isInitialized
_interruptionWasCanceled
_disposalPending
_inFlightRequestCount
_initializationPromise
interruptActiveResponseCallback
requestHandler
request IChatAgentRequest
progress IChatProgress
history
token CancellationToken
forkSession request IChatSessionRequestHistoryItem token CancellationToken IChatSessionItem
_proxy ExtHostChatSessionsShape
_providerHandle
_logService ILogService
_dialogService IDialogService
IObservableIChatProgress
_progressObservable
IObservable
_isCompleteObservable
resource
providerHandle
proxy ExtHostChatSessionsShape
logService ILogService
dialogService IDialogService
sessionResource resource
providerHandle providerHandle
history
_proxy proxy
_providerHandle providerHandle
_logService logService
_dialogService dialogService
token CancellationToken context ChatSessionContentContextDto
_initializationPromise
_initializationPromise token context
_initializationPromise
token CancellationToken context ChatSessionContentContextDto
sessionContent
_proxy_providerHandle sessionResource context token
token
_options sessionContentoptions ChatSessionOptionsMapsessionContentoptions
title sessionContenttitle
historylength
historysessionContenthistoryturn IChatSessionHistoryItemDto
turntype
variables turnvariableDatavariablesv
entry
v
value vvalue
entry IChatRequestVariableEntry
type
prompt turnprompt
participant turnparticipant
command turncommand
variableData variables variables
id turnid
modelId turnmodelId
modeInstructions turnmodeInstructions turnmodeInstructions
satisfies IChatSessionRequestHistoryItem
type
parts turnpartspart IChatProgressDto part IChatProgress
participant turnparticipant
details turndetails
sessionContenthasActiveResponseCallback interruptActiveResponseCallback
_disposalPending
_proxy_providerHandle sessionResource
_disposalPending
_proxy_providerHandle sessionResource
sessionContentsupportsInterruption
_dialogService
message
confirmed
confirmedconfirmed
kind
content value isTrusted
_interruptionWasCanceled
_disposalPending
_logService
_disposalPending
sessionContenthasRequestHandler requestHandler
request IChatAgentRequest
progress IChatProgress
history
token CancellationToken
_inFlightRequestCount
_progressObservable
_isCompleteObservable
lastProgressLength
progressDisposable reader
progressArray _progressObservablereader
isComplete _isCompleteObservablereader
progressArraylength lastProgressLength
newProgress progressArraylastProgressLength
newProgress
lastProgressLength progressArraylength
isComplete
progressDisposable
_proxy_providerHandle sessionResource request history token
_isCompleteObservable interruptActiveResponseCallback
error
errorProgress IChatProgress
kind
content value isTrusted
errorProgress
error
progressDisposable
_inFlightRequestCount
_disposalPending _inFlightRequestCount interruptActiveResponseCallback
_disposalPending
_proxy_providerHandle sessionResource
sessionContenthasForkHandler forkSession
request IChatSessionRequestHistoryItem token CancellationToken
result _proxy_providerHandle sessionResource request request token
result IChatSessionItem
_isInitialized
hasActiveResponse sessionContenthasActiveResponseCallback
hasRequestHandler sessionContenthasRequestHandler
hasAnyCapability hasActiveResponse hasRequestHandler
requestId chunks _pendingProgressChunks
_logService
chunks
_pendingProgressChunks
hasAnyCapability
_isCompleteObservable
error
_logService error
error
requestId progress IChatProgress
_isInitialized
existing _pendingProgressChunksrequestId
_pendingProgressChunksrequestId existing progress
_logService
progress
requestId
_pendingProgressChunksrequestId
_isInitialized
_interruptionWasCanceled
_interruptionWasCanceled
progress IChatProgress
currentProgress _progressObservable
_progressObservablecurrentProgress progress
_isCompleteObservable
_isCompleteObservable
request IChatSessionRequestHistoryItem IChatSessionRequestHistoryItemDto
type
id requestid
prompt requestprompt
participant requestparticipant
command requestcommand
variableData
modelId requestmodelId
modeInstructions requestmodeInstructions
override
_onWillDispose
_onWillDispose
_pendingProgressChunks
interruptActiveResponseCallback _interruptionWasCanceled
_disposalPending
_inFlightRequestCount
_disposalPending
_proxy_providerHandle sessionResource
_proxy ExtHostChatSessionsShape
_handle
_supportsResolve
_onDidChangeChatSessionItems
onDidChangeChatSessionItems _onDidChangeChatSessionItemsevent
_modelListeners
_resolveCache
_resolving
_isDisposed
proxy ExtHostChatSessionsShape
chatSessionType
handle
supportsResolve
_chatService IChatService
_proxy proxy
_handle handle
_supportsResolve supportsResolve
model IChatModel
modelsessionResource chatSessionType
CancellationTokenNone
_isDisposed
model
requestChangeListener modellastRequestObslast lastresponse lastresponseonDidChange
modelChangeListener modelonDidChange
_modelListenersmodelsessionResource reader
requestChangeListenerreaderreader
modelChangeListenerreader
model
_chatServicemodel model
model _chatServicechatModels
model
_chatServicee
sessionResource esessionResources
_modelListenerssessionResource
override
_isDisposed
_resolveCache
_items
IChatSessionItem
_items
token CancellationToken
_proxy_handle token
request IChatNewSessionRequest token CancellationToken IChatSessionItem
dto _proxy_handle
prompt requestprompt
command requestcommand
initialSessionOptions requestinitialSessionOptions ChatSessionOptionsMaprequestinitialSessionOptions
token token
dto
item dto
item
change addedOrUpdated DtoIChatSessionItem removed
addedOrUpdatedItems MainThreadChatSessionItem
item changeaddedOrUpdated
resource itemresource
_resolvingresource
_resolveCacheresource
addedOrUpdatedItems item
uri changeremoved
_resolveCacheuri
_itemsuri
_onDidChangeChatSessionItems
addedOrUpdated addedOrUpdatedItems
removed changeremoved
dto DtoIChatSessionItem MainThreadChatSessionItem
resource dtoresource
existing _itemsresource
updated dto _chatServiceresource _chatServiceresource
existingupdated
existing
existing existinglabel updatedlabel _chatServiceresource
_chatServiceresource updatedlabel
_itemsresource updated
_onDidChangeChatSessionItems
addedOrUpdated updated
updated
model IChatModel
resource modelsessionResource
existing _itemsresource
existing
existing
sessionResource token CancellationToken IChatSessionProviderOptionGroup
optionGroups _proxy_handle sessionResource token
optionGroupslength
optionGroups
resource token CancellationToken IChatSessionItem
_supportsResolve
cached _resolveCacheresource
cached
cached
promise resource token
err
_resolveCacheresource
err
_resolveCacheresource promise
promise
resource token CancellationToken IChatSessionItem
expectedItem _itemsresource
_resolvingresource
dto DtoIChatSessionItem
dto _proxy_handle resource token token
_resolvingresource
dto
_itemsresource expectedItem
_itemsresource
updated
dto
_chatServiceresource
_chatServiceresource
_itemsresource expectedItem
_itemsresource
expectedItemupdated
expectedItem
_itemsresource updated
_onDidChangeChatSessionItems
addedOrUpdated updated
updated
supportsResolve
_supportsResolve supportsResolve
_supportsResolve supportsResolve
supportsResolve
_resolveCache
resource
label
iconPath ThemeIcon
badge IMarkdownString
description IMarkdownString
status ChatSessionStatus
tooltip IMarkdownString
timing IChatSessionTiming
changes IChatSessionItem
archived
metadata key
legacyResource
dto DtoIChatSessionItem model IChatModel detailOverrides IChatDetail
resource dtoresource
label dtolabel
timing dtotiming
iconPath dtoiconPath
badge dtobadge
tooltip dtotooltip
archived dtoarchived
metadata dtometadata
legacyResource dtolegacyResource dtolegacyResource
description model model dtodescription
status model model dtostatus
changes dtochanges
detailOverrides changes
diffs IAgentSession
files detailOverridesstatsfileCount
insertions detailOverridesstatsadded
deletions detailOverridesstatsremoved
diffs
changes diffs
other MainThreadChatSessionItem
resource otherresource
label otherlabel
description otherdescription
status otherstatus
timingcreated othertimingcreated
timinglastRequestStarted othertiminglastRequestStarted
timinglastRequestEnded othertiminglastRequestEnded
changes otherchanges
iconPath othericonPath
badge otherbadge
tooltip othertooltip
archived otherarchived
metadata othermetadata
legacyResource otherlegacyResource
MainContextMainThreadChatSessions
_itemControllerRegistrations
_contentProvidersRegistrations
_sessionTypeToHandle
_activeSessions
_sessionDisposables
_proxy ExtHostChatSessionsShape
_extHostContext IExtHostContext
_agentSessionsService IAgentSessionsService
_chatSessionsService IChatSessionsService
_chatService IChatService
_chatWidgetService IChatWidgetService
_chatTodoListService IChatTodoListService
_chatArtifactsService IChatArtifactsService
_chatDebugService IChatDebugService
_dialogService IDialogService
_editorService IEditorService
editorGroupService IEditorGroupsService
_logService ILogService
_instantiationService IInstantiationService
_proxy _extHostContextExtHostContextExtHostChatSessions
_chatSessionsService sessionResource updates
sessionType sessionResource
handle sessionType
_logService
handle
handle sessionResource updates
_logService
_agentSessionsServicemodelsession
handle chatSessionType _itemControllerRegistrations
chatSessionType sessionproviderType
_proxyhandle sessionresource session
chatSessionType
_sessionTypeToHandlechatSessionType
handle chatSessionType supportsResolve
disposables
controller disposables_instantiationServiceMainThreadChatSessionItemController _proxy chatSessionType handle supportsResolve
disposables_chatSessionsServicechatSessionType controller
_itemControllerRegistrationshandle
chatSessionType
controller
disposables
handle chatSessionType
handle supportsResolve
registration _itemControllerRegistrationshandle
registration
_logService
registrationcontrollersupportsResolve
handle chatSessionType
_proxyhandle CancellationTokenNoneoptionGroups
optionGroupslength
handle chatSessionType optionGroups
err _logService err
handle chatSessionType sessionResourceComponents UriComponents optionGroups IChatSessionProviderOptionGroup
_chatSessionsServicechatSessionType handle optionGroups
sessionResourceComponents
sessionResource sessionResourceComponents
optionGroupsgroup
groupselected
_chatSessionsServicesessionResource groupid groupselected
handle MainThreadChatSessionItemController
registration _itemControllerRegistrationshandle
registration
registrationcontroller
controllerHandle change IChatSessionItemsChange
controller controllerHandle
controller
addedOrUpdated changeaddedOrUpdated
removed changeremoveduri uri
controllerHandle item DtoIChatSessionItem
controller controllerHandle
controller
addedOrUpdated item
removed
handle sessionResourceComponents UriComponents updates Record IChatSessionProviderOptionItem
sessionResource sessionResourceComponents
_chatSessionsServicesessionResource ChatSessionOptionsMapupdates
handle originalComponents UriComponents modifiedCompoennts UriComponents
originalResource originalComponents
modifiedResource modifiedCompoennts
_logService
chatSessionType _itemControllerRegistrationshandlechatSessionType
chatSessionType
_logService
originalEditor _editorServiceeditorseditor editorresource originalResource
originalModel _chatServiceoriginalResource
contribution _chatSessionsServicec ctype chatSessionType
_chatTodoListServiceoriginalResource modifiedResource
_chatArtifactsServiceoriginalResource_chatArtifactsServicemodifiedResource
chatSessionType
_chatDebugServicemodifiedResource
originalGroup
editorGroupServicegroupsgroup groupeditorseditor editorresource originalResource
editorGroupServiceactiveGroup
options IChatEditorOptions
title
preferred originalEditor
fallback contributiondisplayName
newSession _chatSessionsService
modifiedResource
CancellationTokenNone
originalEditor
newSessiontransferredState originalEditor
editingSession originalEditor inputState originalModelobjectinputModel
_editorService
editor originalEditor
replacement
resource modifiedResource
options
originalGroup
originalResource modifiedResource
originalModel
newSessiontransferredState
editingSession originalModelobjecteditingSession
inputState originalModelobjectinputModel
chatViewWidget _chatWidgetServiceoriginalResource
chatViewWidget chatViewWidgetviewContext
_chatWidgetServicemodifiedResource preserveFocus
chatViewWidget
ref _chatServicemodifiedResource ChatAgentLocationChat CancellationTokenNone
ref
originalResource modifiedResource
_chatSessionsServiceoriginalResource modifiedResource
originalModel
originalResource modifiedResource
_chatServiceoriginalResource modifiedResource
providerHandle sessionResource token CancellationToken IChatSession
t0 Date
_logService
session _activeSessionssessionResource
session
session
sessionResource
providerHandle
_proxy
_logService
_dialogService
_activeSessionssessionResource session
disposable session
_activeSessionssessionResource
_sessionDisposablessessionResource
_sessionDisposablessessionResource
_sessionDisposablessessionResource disposable
initialSessionOptions _chatSessionsServicesessionResource
sessiontoken
initialSessionOptions initialSessionOptions initialSessionOptionsoptionId value optionId value value value valueid
sessionoptions
_ handle _sessionTypeToHandle
handle providerHandle
optionId value sessionoptions
_chatSessionsServicesessionResource optionId value
_logService
session
error
session
_logService error
error
handle
_itemControllerRegistrationshandle
handle chatSessionScheme
provider IChatSessionContentProvider
resource token handle resource token
_sessionTypeToHandlechatSessionScheme handle
_contentProvidersRegistrationshandle _chatSessionsServicechatSessionScheme provider
handle chatSessionScheme
handle
_contentProvidersRegistrationshandle
sessionType h _sessionTypeToHandle
h handle
_sessionTypeToHandlesessionType
key session _activeSessions
sessionproviderHandle handle
session
_activeSessionskey
handle sessionResource UriComponents requestId chunks IChatProgressDto IChatProgressDto
resource sessionResource
observableSession _activeSessionsresource
observableSession
_logService
chatProgressParts IChatProgress chunkschunk
progress chunk chunk chunk
progress IChatProgress
observableSessionrequestId chatProgressParts
handle sessionResource UriComponents requestId
resource sessionResource
observableSession _activeSessionsresource
observableSession
_logService
observableSessionrequestId
handle sesssionResource UriComponents requestId requestHandle anchor DtoIChatContentInlineReference
handle
sessionType
type h _sessionTypeToHandle
h handle
sessionType type
sessionType
_logService
handle sessionType
controllerHandle sessionResource UriComponents optionGroups IChatSessionProviderOptionGroup
registration _itemControllerRegistrationscontrollerHandle
registration
_logService
controllerHandle registrationchatSessionType sessionResource optionGroups
handle chatSessionScheme
_proxyhandle CancellationTokenNoneoptions
optionsoptionGroups optionsoptionGroupslength
_chatSessionsServicechatSessionScheme handle optionsoptionGroups
err
err
_logService err
override
session _activeSessions
session
_activeSessions
disposable _sessionDisposables
disposable
_sessionDisposables
handle sessionResource updates ReadonlyMap IChatSessionProviderOptionItem
_logService
_proxyhandle sessionResource Objectupdates CancellationTokenNone
_logService
error
_logService error
value IMarkdownString MarkdownString
value
value
value
value value
MarkdownStringvalue