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 assert from 'assert';
import { DeferredPromise } from '../../../../../base/common/async.js';
import { CancellationToken, CancellationTokenSource } from '../../../../../base/common/cancellation.js';
import { CancellationError, errorHandler, isCancellationError, setUnexpectedErrorHandler } from '../../../../../base/common/errors.js';
import { DisposableStore } from '../../../../../base/common/lifecycle.js';
import { URI } from '../../../../../base/common/uri.js';
import { mock } from '../../../../../base/test/common/mock.js'
ensureNoDisposablesAreLeakedInTestSuite
readChatSurfaceMeta
IConfigurationService
TestInstantiationService
IChatModelReference IChatService IChatSessionStartOptions
ChatAgentLocation
IChatNewSessionRequest IChatSessionItem IChatSessionsService ResolvedChatSessionsExtensionPoint SessionType
InlineChatSessionResolver
editorInlineContribution ResolvedChatSessionsExtensionPoint
type SessionTypeAgentHostCopilot
name
displayName
description
icon
locations ChatAgentLocationEditorInline
agentHostItem IChatSessionItem
resource scheme SessionTypeAgentHostCopilot path
label
timing created lastRequestStarted lastRequestEnded
targetUri
override object IChatModelReference
disposed
override
disposed
agentHostEnabled
override
agentHostEnabled
contribution ResolvedChatSessionsExtensionPoint editorInlineContribution
item IChatSessionItem agentHostItem
error Error
contributionLookups
creationCalls sessionType request IChatNewSessionRequest
override sessionType ResolvedChatSessionsExtensionPoint
contributionLookupssessionType
contribution
override sessionType request IChatNewSessionRequest IChatSessionItem
creationCalls sessionType request
error
error
item
agentHostReference IChatModelReference
agentHostResult IChatModelReference
agentHostError Error
localReference
acquisitionStarted
acquisitionCalls location ChatAgentLocation debugOwner
localSessionCalls location ChatAgentLocation options IChatSessionStartOptions
override _sessionResource location ChatAgentLocation _token CancellationToken debugOwner IChatModelReference
acquisitionCalls location debugOwner
acquisitionStarted
agentHostError
agentHostError
agentHostResult agentHostReference
override location ChatAgentLocation options IChatSessionStartOptions IChatModelReference
localSessionCalls location options
localReference
store
instantiationService TestInstantiationService
configurationService TestConfigurationService
chatSessionsService TestChatSessionsService
chatService TestChatService
resolver InlineChatSessionResolver
instantiationService store
configurationService
chatSessionsService
chatService
instantiationServiceIConfigurationService configurationService
instantiationServiceIChatSessionsService chatSessionsService
instantiationServiceIChatService chatService
resolver instantiationServiceInlineChatSessionResolver
store
configurationServiceagentHostEnabled
result resolverCancellationTokenNone targetUri
assert
usesLocalReference resultmodelRef chatServicelocalReference
lockToAgent resultlockToAgent
contributionLookups chatSessionsServicecontributionLookups
creationCalls chatSessionsServicecreationCalls
localSessionCalls chatServicelocalSessionCalls
usesLocalReference
lockToAgent
contributionLookups
creationCalls
localSessionCalls location ChatAgentLocationEditorInline options canUseTools sessionTypeSelectionReason
agentHostReference
chatServiceagentHostReference agentHostReference
result resolverCancellationTokenNone targetUri
creation chatSessionsServicecreationCalls
assert
usesAgentHostReference resultmodelRef agentHostReference
locksToExactContribution resultlockToAgent editorInlineContribution
creation creation
sessionType creationsessionType
request creationrequest
surfaceMeta creationrequest
acquisitionCalls chatServiceacquisitionCalls
localSessionCalls chatServicelocalSessionCalls
usesAgentHostReference
locksToExactContribution
creation
sessionType SessionTypeAgentHostCopilot
request
prompt
isEphemeral
_meta
surface languageId targetUri
surfaceMeta surface languageId targetUri
acquisitionCalls location ChatAgentLocationEditorInline debugOwner
localSessionCalls
chatSessionsServicecontribution
result resolverCancellationTokenNone targetUri
assert
usesLocalReference resultmodelRef chatServicelocalReference
lockToAgent resultlockToAgent
creationCalls chatSessionsServicecreationCalls
localSessionCalls chatServicelocalSessionCalls
usesLocalReference
lockToAgent
creationCalls
localSessionCalls location ChatAgentLocationEditorInline options canUseTools sessionTypeSelectionReason
chatSessionsServicecontribution editorInlineContribution locations ChatAgentLocationChat ChatAgentLocationTerminal
result resolverCancellationTokenNone targetUri
assert
usesLocalReference resultmodelRef chatServicelocalReference
lockToAgent resultlockToAgent
creationCalls chatSessionsServicecreationCalls
localSessionCalls chatServicelocalSessionCalls
usesLocalReference
lockToAgent
creationCalls
localSessionCalls location ChatAgentLocationEditorInline options canUseTools sessionTypeSelectionReason
chatSessionsServiceitem
result resolverCancellationTokenNone targetUri
assert
usesLocalReference resultmodelRef chatServicelocalReference
lockToAgent resultlockToAgent
creationCalls chatSessionsServicecreationCallslength
acquisitionCalls chatServiceacquisitionCalls
localSessionCalls chatServicelocalSessionCalls
usesLocalReference
lockToAgent
creationCalls
acquisitionCalls
localSessionCalls location ChatAgentLocationEditorInline options canUseTools sessionTypeSelectionReason
result resolverCancellationTokenNone targetUri
assert
usesLocalReference resultmodelRef chatServicelocalReference
acquisitionCalls chatServiceacquisitionCalls
localSessionCalls chatServicelocalSessionCalls
usesLocalReference
acquisitionCalls location ChatAgentLocationEditorInline debugOwner
localSessionCalls location ChatAgentLocationEditorInline options canUseTools sessionTypeSelectionReason
originalErrorHandler errorHandler
reportedErrors
chatSessionsServiceerror
error reportedErrorserror errormessage error
result resolverCancellationTokenNone targetUri
assert
usesLocalReference resultmodelRef chatServicelocalReference
lockToAgent resultlockToAgent
localSessionCalls chatServicelocalSessionCalls
reportedErrors
usesLocalReference
lockToAgent
localSessionCalls location ChatAgentLocationEditorInline options canUseTools sessionTypeSelectionReason
reportedErrors
originalErrorHandler
originalErrorHandler errorHandler
reportedErrors
chatServiceagentHostError
error reportedErrorserror errormessage error
result resolverCancellationTokenNone targetUri
assert
usesLocalReference resultmodelRef chatServicelocalReference
localSessionCalls chatServicelocalSessionCalls
reportedErrors
usesLocalReference
localSessionCalls location ChatAgentLocationEditorInline options canUseTools sessionTypeSelectionReason
reportedErrors
originalErrorHandler
chatSessionsServiceerror
assert
resolverCancellationTokenNone targetUri
isCancellationError
assert
creationCalls chatSessionsServicecreationCallslength
localSessionCalls chatServicelocalSessionCalls
creationCalls
localSessionCalls
cancellationSource store
cancellationSource
result resolvercancellationSourcetoken targetUri
assert
result
contributionLookups chatSessionsServicecontributionLookups
creationCalls chatSessionsServicecreationCalls
localSessionCalls chatServicelocalSessionCalls
result
contributionLookups
creationCalls
localSessionCalls
agentHostReference
pendingAcquisition
cancellationSource store
chatServiceagentHostResult pendingAcquisitionp
resolving resolvercancellationSourcetoken targetUri
chatServiceacquisitionStartedp
cancellationSource
pendingAcquisitionagentHostReference
result resolving
assert
result
localSessionCalls chatServicelocalSessionCalls
disposed agentHostReferencedisposed
result
localSessionCalls
disposed