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 { AsyncIterableSource, DeferredPromise } from '../../../base/common/async.js';
import { VSBuffer } from '../../../base/common/buffer.js';
import { CancellationToken, CancellationTokenSource } from '../../../base/common/cancellation.js';
import { toErrorMessage } from '../../../base/common/errorMessage.js';
import { CancellationError, SerializedError, transformErrorForSerialization, transformErrorFromSerialization } from '../../../base/common/errors.js';
import { Emitter, Event } from '../../../base/common/event.js';
import { equalSets
Disposable DisposableMap DisposableStore IDisposable toDisposable
UriComponents
localize
ExtensionIdentifier
ILogService
IProductService
resizeImage
ILanguageModelIgnoredFilesService
IChatMessage IChatResponsePart ILanguageModelChatResponse ILanguageModelChatSelector ILanguageModelsService
IAuthenticationAccessService
AuthenticationSession AuthenticationSessionsChangeEvent IAuthenticationProvider IAuthenticationService
IExtHostContext extHostNamedCustomer
IExtensionService
SerializableObjectWithBuffers
ExtHostContext ExtHostLanguageModelsShape MainContext MainThreadLanguageModelsShape
LanguageModelError
_source CancellationTokenSource
parent CancellationToken onCancellationRequested
_source parent
onCancellationRequested
_sourcetokenonCancellationRequested
CancellationToken
_sourcetoken
_source
MainContextMainThreadLanguageModels
_proxy ExtHostLanguageModelsShape
_store
_providerRegistrations
_lmProviderChange
_pendingProgress
_pendingCancelCTS
_ignoredFileProviderRegistrations
extHostContext IExtHostContext
_chatProviderService ILanguageModelsService
_logService ILogService
_productService IProductService
_authenticationService IAuthenticationService
_authenticationAccessService IAuthenticationAccessService
_extensionService IExtensionService
_ignoredFilesService ILanguageModelIgnoredFilesService
_proxy extHostContextExtHostContextExtHostChatProvider
lastModelIds _chatProviderService
_store_chatProviderService
currentModelIds _chatProviderService
lastModelIds currentModelIds
lastModelIds currentModelIds
_proxy
_lmProviderChange
_providerRegistrations
_pendingProgress
_pendingCancelCTS
_ignoredFileProviderRegistrations
_store
vendor
disposables
disposables_chatProviderServicevendor
onDidChange Event_lmProviderChangeevent e evendor vendor disposables Event
options token
modelsAndIdentifiers _proxyvendor options token
copilotExtensionId _productServicedefaultChatAgentchatExtensionId
modelsAndIdentifiersm
mmetadataauth
disposablesmmetadataextension mmetadataauth
mmetadataisBYOK
m
isBuiltinCopilot copilotExtensionId ExtensionIdentifiermmetadataextension copilotExtensionId
m metadata mmetadata isBYOK isBuiltinCopilot
modelId messages from options token
requestId Math
defer
deferp
stream
_pendingProgressrequestId defer stream
cts token
_proxyrequestId
_pendingCancelCTSrequestId cts
messagesmsg msgcontent
part parttype
part
partvaluedata VSBuffer partvaluedatabuffer
tokenisCancellationRequested
_pendingProgressrequestId
_pendingCancelCTSrequestId
err
streamerr
defererr
result deferp
stream streamasyncIterable
satisfies ILanguageModelChatResponse
_proxymodelId requestId from messages options ctstoken
err
_pendingProgressrequestId
_pendingCancelCTSrequestId
err
result deferp
stream streamasyncIterable
satisfies ILanguageModelChatResponse
modelId str token
_proxymodelId str token
_providerRegistrationsvendor disposables
err
disposables
err
vendor
_lmProviderChange vendor
requestId chunk SerializableObjectWithBuffersIChatResponsePart IChatResponsePart
data _pendingProgressrequestId
_logService data requestId chunk
data
datastreamchunkvalue
requestId err SerializedError
data _pendingProgressrequestId
_logService data requestId err
data
_pendingProgressrequestId
_pendingCancelCTSrequestId
err
error LanguageModelErrorerr err
datastreamerror
datadefererror
datastream
datadefer
vendor
_providerRegistrationsvendor
requestId
_pendingCancelCTSrequestId
selector ILanguageModelChatSelector
_chatProviderServiceselector
extension ExtensionIdentifier modelIdentifier requestId messages SerializableObjectWithBuffersIChatMessage options token CancellationToken
_logService extensionvalue requestId
cts token
_pendingCancelCTSrequestId cts
response ILanguageModelChatResponse
response _chatProviderServicemodelIdentifier extension messagesvalue options ctstoken
err
_logService extensionvalue requestId err
_pendingCancelCTSrequestId
err
streaming
part responsestream
_logService extensionvalue requestId part
_proxyrequestId part
_logService extensionvalue requestId
err
_logService err extensionvalue requestId
_proxyrequestId err
responseresult streaming
_logService extensionvalue requestId
_pendingCancelCTSrequestId
_proxyrequestId
err
_logService err extensionvalue requestId
_pendingCancelCTSrequestId
_proxyrequestId err
modelId value IChatMessage token CancellationToken
_chatProviderServicemodelId value token
extension ExtensionIdentifier auth providerLabel accountLabel IDisposable
authProviderId extensionvalue
_authenticationServiceauthProviderId
DisposableNone
accountLabel authaccountLabel
disposables
provider authProviderId authproviderLabel accountLabel
_authenticationServiceauthProviderId provider
disposables
_authenticationServiceauthProviderId
provider
disposables_authenticationAccessService e
allowedExtensions _authenticationAccessServiceauthProviderId accountLabel
accessList
allowedExtension allowedExtensions
from _extensionServiceallowedExtensionid
from
accessList
from fromidentifier
to extension
enabled allowedExtensionallowed
_proxyaccessList
disposables
uri UriComponents token CancellationToken
_ignoredFilesServiceuri token
handle
_ignoredFileProviderRegistrationshandle _ignoredFilesService
uri token CancellationToken _proxyhandle uri token
handle
_ignoredFileProviderRegistrationshandle
supportsMultipleAccounts
_onDidChangeSessions EmitterAuthenticationSessionsChangeEvent
onDidChangeSessions EventAuthenticationSessionsChangeEvent _onDidChangeSessionsevent
_session AuthenticationSession
id label _accountLabel
scopes AuthenticationSession
scopes _session
_session
_session
scopes
scopes AuthenticationSession
_session scopes
_onDidChangeSessions added _session changed removed
_session
sessionId
_session
_onDidChangeSessions added changed removed _session
_session
extensionName _recreatingSession
extensionName label
scopes AuthenticationSession
id
account
id id
label _accountLabel
accessToken
scopes
_onDidChangeSessions