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 { mainWindow } from '../../../../../base/browser/window.js';
import { DeferredPromise, timeout } from '../../../../../base/common/async.js';
import { CancellationToken } from '../../../../../base/common/cancellation.js';
import { Emitter, Event } from '../../../../../base/common/event.js';
import { DisposableStore } from '../../../../../base/common/lifecycle.js';
import { observableValue } from '../../../../../base/common/observable.js';
import { mock }
ensureNoDisposablesAreLeakedInTestSuite
IInlineCompletionsService
ConfigurationTarget
TestConfigurationService
IMarkdownRendererService
product
ChatEntitlement IChatEntitlementService
IEditorService
workbenchInstantiationService
ChatStatusDashboard IChatStatusDashboardOptions
IChatStatusItemService
percentRemaining
unlimited
hasQuota
usageBasedBilling
resetAt
entitlement
creditsUsed
opts
chat IQuotaConfig
completions IQuotaConfig
premiumChat IQuotaConfig
usageBasedBilling
additionalUsageEnabled
additionalUsageCount
entitlement ChatEntitlement
resetDate
resetDateHasTime
IChatEntitlementService
_serviceBrand
organisations
isInternal
sku
copilotTrackingId
onDidChangeQuotaExceeded EventNone
onDidChangeQuotaRemaining EventNone
onDidChangeUsageBasedBilling EventNone
quotas
chat optschat
completions optscompletions
premiumChat optspremiumChat
usageBasedBilling optsusageBasedBilling optspremiumChatusageBasedBilling
additionalUsageEnabled optsadditionalUsageEnabled
additionalUsageCount optsadditionalUsageCount
resetDate optsresetDate
resetDateHasTime optsresetDateHasTime
_token CancellationToken
onDidChangeSentiment EventNone
sentimentObs
sentiment completed
onDidChangeEntitlement EventNone
entitlement optsentitlement ChatEntitlementFree
entitlementObs optsentitlement ChatEntitlementFree
anonymous
onDidChangeAnonymous EventNone
anonymousObs
clientByokEnabled
hasByokModels
IChatEntitlementService
element HTMLElement
callout element HTMLElement
callout calloutstyledisplay
text callout
texttextContent
element HTMLElement
indicators element
indicatorsel eltextContent
element HTMLElement
indicators element
indicatorsel
eltextContent
eltextContent
element HTMLElement
indicators element
indicatorsel eltextContent
element HTMLElement
indicators element
indicatorsel eltextContent
element HTMLElement
values element
valuesel eltextContent
element HTMLElement value suffix reset
indicator element
indicator
value indicatortextContent
suffix indicatortextContent
reset indicatortextContent
dashboardOptions IChatStatusDashboardOptions
disableInlineSuggestionsSettings
disableModelSelection
disableProviderOptions
disableCompletionsSnooze
pendingUpdate value Record target ConfigurationTarget deferred DeferredPromise
settingId
defaultValue Record
userValue Record
workspaceValue Record
override arg1 IConfigurationOverrides arg2 IConfigurationOverrides
arg1 settingId
defaultValue userValue workspaceValue
arg1 arg2
override key overrides IConfigurationOverrides IConfigurationValue
key settingId
userValue userValue
defaultValue defaultValue
userValue
userLocalValue userValue
workspaceValue workspaceValue
value defaultValue userValue workspaceValue
key overrides
override key value target ConfigurationTarget
key settingId value value pendingUpdate
deferred
pendingUpdate
value value Record
target target ConfigurationTarget
deferred
deferredp
pendingUpdate
pendingUpdate pendingUpdate
pendingUpdate
pendingUpdate
pendingUpdatetarget ConfigurationTarget
workspaceValue pendingUpdatevalue
pendingUpdatetarget ConfigurationTarget
userValue pendingUpdatevalue
onDidChangeConfigurationEmitter
source pendingUpdatetarget
affectedKeys settingId
change keys settingId overrides
candidate candidate settingId
pendingUpdatedeferred
error Error
pendingUpdate
pendingUpdate pendingUpdate
pendingUpdate
pendingUpdate
pendingUpdatedeferrederror
Record
userValue
Record
workspaceValue
store
entitlementService IChatEntitlementService options
dashboardOptions IChatStatusDashboardOptions
configurationService TestConfigurationService
activeTextEditorLanguageId
ChatStatusDashboard
configurationService optionsconfigurationService
instantiationService configurationService configurationService store
instantiationServiceIChatEntitlementService entitlementService
instantiationServiceIChatStatusItemService
_serviceBrand
onDidChange EventNone
instantiationServiceIInlineCompletionsService
_serviceBrand
onDidChangeIsSnoozing EventNone
snoozeTimeLeft
instantiationServiceIMarkdownRendererService
_serviceBrand
optionsactiveTextEditorLanguageId
activeTextEditorLanguageId optionsactiveTextEditorLanguageId
instantiationServiceIEditorService
override activeTextEditorLanguageId activeTextEditorLanguageId
dashboard storeinstantiationServiceChatStatusDashboard optionsdashboardOptions dashboardOptions
mainWindowdocumentbodydashboardelement
store dashboardelement
dashboard
defaultChat productdefaultChatAgent
assertdefaultChat
configurationService
defaultChatcompletionsEnablementSetting
markdown
markdown
dashboard entitlement ChatEntitlementPro
dashboardOptions
dashboardOptions
disableInlineSuggestionsSettings
configurationService
activeTextEditorLanguageId
languageCheckbox dashboardelement
overriddenHint dashboardelement
assertlanguageCheckbox overriddenHint
ariaChecked languageCheckbox
className languageCheckboxclassName
overriddenHint overriddenHinttextContent
configuredValue configurationServiceconfiguredValue
languageCheckbox bubbles
pointerRequestedState
configurationService
pointerCommittedState
spaceEvent bubbles cancelable shiftKey
ObjectspaceEvent value
languageCheckboxspaceEvent
keyboardRequestedState
configurationService
keyboardCommittedState
languageCheckbox bubbles
pointerUncheckedRequestedState
configurationService
pointerUncheckedCommittedState
assert
pointerRequested pointerRequestedState
pointerCommitted pointerCommittedState
keyboardRequested keyboardRequestedState
keyboardCommitted keyboardCommittedState
pointerUncheckedRequested pointerUncheckedRequestedState
pointerUncheckedCommitted pointerUncheckedCommittedState
pointerRequested
ariaChecked
className
overriddenHint
configuredValue markdown
pointerCommitted
ariaChecked
className
overriddenHint
configuredValue
keyboardRequested
ariaChecked
className
overriddenHint
configuredValue
keyboardCommitted
ariaChecked
className
overriddenHint
configuredValue markdown
pointerUncheckedRequested
ariaChecked
className
overriddenHint
configuredValue markdown
pointerUncheckedCommitted
ariaChecked
className
overriddenHint
configuredValue markdown
i i i
languageCheckbox bubbles
rapidRequestedState
i i i
configurationService
assert
requested rapidRequestedState
committed
requested
ariaChecked
className
overriddenHint
configuredValue markdown
committed
ariaChecked
className
overriddenHint
configuredValue markdown
defaultChat productdefaultChatAgent
assertdefaultChat
configurationService
defaultChatcompletionsEnablementSetting
markdown
markdown
markdown
dashboard entitlement ChatEntitlementPro
dashboardOptions
dashboardOptions
disableInlineSuggestionsSettings
configurationService
activeTextEditorLanguageId
languageCheckbox dashboardelement
overriddenHint dashboardelement
assertlanguageCheckbox overriddenHint
languageCheckbox bubbles
configurationService
intermediateState
ariaChecked languageCheckbox
overriddenHint overriddenHinttextContent
userValue configurationServiceconfiguredValue
workspaceValue configurationServiceconfiguredWorkspaceValue
configurationService
assert
intermediate intermediateState
committed
ariaChecked languageCheckbox
overriddenHint overriddenHinttextContent
userValue configurationServiceconfiguredValue
workspaceValue configurationServiceconfiguredWorkspaceValue
intermediate
ariaChecked
overriddenHint
userValue markdown
workspaceValue
committed
ariaChecked
overriddenHint
userValue
workspaceValue
defaultChat productdefaultChatAgent
assertdefaultChat
configurationService
defaultChatcompletionsEnablementSetting
markdown
markdown
dashboard entitlement ChatEntitlementPro
dashboardOptions
dashboardOptions
disableInlineSuggestionsSettings
configurationService
activeTextEditorLanguageId
languageCheckbox dashboardelement
overriddenHint dashboardelement
assertlanguageCheckbox overriddenHint
languageCheckbox bubbles
languageCheckbox bubbles
configurationService
configurationService
assert
ariaChecked languageCheckbox
overriddenHint overriddenHinttextContent
configuredValue configurationServiceconfiguredValue
ariaChecked
overriddenHint
configuredValue
dashboard
chat percentRemaining unlimited
completions percentRemaining unlimited
entitlement ChatEntitlementFree
assertdashboardelement
assertdashboardelement
dashboard
chat percentRemaining unlimited
completions percentRemaining unlimited
entitlement ChatEntitlementFree
assertdashboardelement
assertdashboardelement
dashboard
chat percentRemaining unlimited
completions percentRemaining unlimited
usageBasedBilling
entitlement ChatEntitlementFree
assertdashboardelement
assertdashboardelement
dashboard
chat percentRemaining unlimited
completions percentRemaining unlimited
usageBasedBilling
entitlement ChatEntitlementFree
assertdashboardelement
assertdashboardelement
dashboard
chat percentRemaining unlimited
premiumChat percentRemaining unlimited
completions percentRemaining unlimited
entitlement ChatEntitlementPro
assertdashboardelement
dashboard
chat percentRemaining unlimited
premiumChat percentRemaining unlimited usageBasedBilling
completions percentRemaining unlimited
entitlement ChatEntitlementPro
assertdashboardelement
dashboard
chat percentRemaining unlimited
premiumChat percentRemaining unlimited usageBasedBilling
completions percentRemaining unlimited
additionalUsageEnabled
entitlement ChatEntitlementPro
assertdashboardelement
assertdashboardelement
dashboard
chat percentRemaining unlimited
premiumChat percentRemaining unlimited usageBasedBilling
completions percentRemaining unlimited
additionalUsageEnabled
entitlement ChatEntitlementPro
assertdashboardelement
assertdashboardelement
dashboard
premiumChat percentRemaining unlimited
completions percentRemaining unlimited
entitlement ChatEntitlementProPlus
assertdashboardelement
dashboard
chat percentRemaining unlimited
premiumChat percentRemaining unlimited usageBasedBilling
completions percentRemaining unlimited
entitlement ChatEntitlementProPlus
assertdashboardelement
dashboard
chat percentRemaining unlimited
premiumChat percentRemaining unlimited usageBasedBilling
completions percentRemaining unlimited
entitlement ChatEntitlementProPlus
assertdashboardelement
assertdashboardelement
dashboard
premiumChat percentRemaining unlimited
completions percentRemaining unlimited
entitlement ChatEntitlementMax
assertdashboardelement
assertdashboardelement
dashboard
premiumChat percentRemaining unlimited usageBasedBilling
completions percentRemaining unlimited
entitlement ChatEntitlementMax
assertdashboardelement
assertdashboardelement
dashboard
premiumChat percentRemaining unlimited
completions percentRemaining unlimited
entitlement ChatEntitlementBusiness
assertdashboardelement
assertdashboardelement
assertdashboardelement
resetAt MathDate
dashboard
premiumChat percentRemaining unlimited creditsUsed resetAt
completions percentRemaining unlimited
entitlement ChatEntitlementBusiness
credits dashboardelement
assertcreditsvalue
assertcreditssuffix
assertcreditsreset
assertdashboardelement
resetAt MathDate
dashboard
premiumChat percentRemaining unlimited creditsUsed resetAt
completions percentRemaining unlimited
entitlement ChatEntitlementBusiness
dashboardOptions dashboardOptions compactQuotaLayout
indicator dashboardelement
credits dashboardelement
assertindicatorclassList
assertindicatortextContent
assertcreditsvalue
assertcreditssuffix
assertcreditsreset
premiumResetAt MathDate
completionsResetAt MathDate
dashboard
chat percentRemaining unlimited
premiumChat percentRemaining unlimited resetAt premiumResetAt
completions percentRemaining unlimited resetAt completionsResetAt
entitlement ChatEntitlementPro
resetDate
resetDateHasTime
assertdashboardelement
dashboard
premiumChat percentRemaining unlimited hasQuota
completions percentRemaining unlimited
additionalUsageEnabled
entitlement ChatEntitlementBusiness
assertdashboardelement
assertdashboardelement
assertdashboardelement
dashboard
premiumChat percentRemaining unlimited hasQuota
completions percentRemaining unlimited
additionalUsageEnabled
entitlement ChatEntitlementEnterprise
assertdashboardelement
assertdashboardelement
assertdashboardelement
dashboard
premiumChat percentRemaining unlimited usageBasedBilling hasQuota
completions percentRemaining unlimited
additionalUsageEnabled
entitlement ChatEntitlementEnterprise
assertdashboardelement
assertdashboardelement
dashboard
premiumChat percentRemaining unlimited hasQuota
completions percentRemaining unlimited
additionalUsageEnabled
entitlement ChatEntitlementEnterprise
assertdashboardelement
assertdashboardelement
assertdashboardelement
dashboard
chat percentRemaining unlimited
premiumChat percentRemaining unlimited usageBasedBilling
completions percentRemaining unlimited
entitlement ChatEntitlementEnterprise
assertdashboardelement
dashboard
chat percentRemaining unlimited entitlement
completions percentRemaining unlimited entitlement
entitlement ChatEntitlementFree
quotaPercentages dashboardelement
assertquotaPercentageslength
assertdashboardelement
quotaPercentages bubbles
chatValue quotaPercentages
assertchatValuetextContent
quotaPercentages bubbles
assertdashboardelement
dashboard
chat percentRemaining unlimited
completions percentRemaining unlimited
entitlement ChatEntitlementFree
quotaPercentages dashboardelement
assertquotaPercentageslength
assertdashboardelement
quotaPercentages bubbles
assertdashboardelement
dashboard
chat percentRemaining unlimited entitlement
completions percentRemaining unlimited entitlement
entitlement ChatEntitlementFree
quotaPercentages dashboardelement
assertquotaPercentageslength
assertdashboardelement
quotaPercentages bubbles
chatValue quotaPercentages
assertchatValuetextContent
quotaPercentages bubbles
assertdashboardelement
dashboard
premiumChat percentRemaining unlimited usageBasedBilling entitlement
completions percentRemaining unlimited entitlement
entitlement ChatEntitlementFree
quotaPercentages dashboardelement
assertquotaPercentageslength
valuesBefore dashboardelement
quotaPercentages bubbles
assertdashboardelement valuesBefore
dashboard
chat percentRemaining unlimited entitlement
entitlement ChatEntitlementFree
quotaPercentage dashboardelement HTMLElement
assertquotaPercentage
assertquotaPercentagetabIndex
dashboard
premiumChat percentRemaining unlimited
completions percentRemaining unlimited
additionalUsageEnabled
entitlement ChatEntitlementPro
assertdashboardelement
dashboard
premiumChat percentRemaining unlimited
completions percentRemaining unlimited
additionalUsageEnabled
entitlement ChatEntitlementPro
assertdashboardelement
dashboard
premiumChat percentRemaining unlimited usageBasedBilling
completions percentRemaining unlimited
additionalUsageEnabled
entitlement ChatEntitlementPro
assertdashboardelement
dashboard
premiumChat percentRemaining unlimited
completions percentRemaining unlimited
additionalUsageEnabled
entitlement ChatEntitlementPro
assertdashboardelement
dashboard
chat percentRemaining unlimited
completions percentRemaining unlimited
additionalUsageEnabled
entitlement ChatEntitlementFree
assertdashboardelement
dashboard
chat percentRemaining unlimited
completions percentRemaining unlimited
additionalUsageEnabled
entitlement ChatEntitlementFree
assertdashboardelement
dashboard
premiumChat percentRemaining unlimited
completions percentRemaining unlimited
additionalUsageEnabled
additionalUsageCount
entitlement ChatEntitlementPro
assertdashboardelement
dashboard
premiumChat percentRemaining unlimited
completions percentRemaining unlimited
additionalUsageEnabled
additionalUsageCount
entitlement ChatEntitlementPro
assertdashboardelement
dashboard
premiumChat percentRemaining unlimited usageBasedBilling
completions percentRemaining unlimited
additionalUsageEnabled
additionalUsageCount
entitlement ChatEntitlementPro
assertdashboardelement
dashboard
premiumChat percentRemaining unlimited
completions percentRemaining unlimited
additionalUsageEnabled
entitlement ChatEntitlementPro
assertdashboardelement
dashboard
premiumChat percentRemaining unlimited
additionalUsageEnabled
entitlement ChatEntitlementEnterprise
assertdashboardelement
dashboard
premiumChat percentRemaining unlimited usageBasedBilling
additionalUsageEnabled
additionalUsageCount
entitlement ChatEntitlementPro
assertdashboardelement
dashboard
premiumChat percentRemaining unlimited usageBasedBilling
additionalUsageEnabled
additionalUsageCount
entitlement ChatEntitlementPro
assertdashboardelement
dashboard
premiumChat percentRemaining unlimited usageBasedBilling
completions percentRemaining unlimited
additionalUsageEnabled
entitlement ChatEntitlementEnterprise
assertdashboardelement
dashboard
premiumChat percentRemaining unlimited usageBasedBilling
completions percentRemaining unlimited
additionalUsageEnabled
entitlement ChatEntitlementBusiness
assertdashboardelement
dashboard
premiumChat percentRemaining unlimited usageBasedBilling
completions percentRemaining unlimited
additionalUsageEnabled
additionalUsageCount
entitlement ChatEntitlementEnterprise
assertdashboardelement
dashboard
premiumChat percentRemaining unlimited usageBasedBilling
completions percentRemaining unlimited
additionalUsageEnabled
additionalUsageCount
entitlement ChatEntitlementBusiness
assertdashboardelement
opts
chat IQuotaConfig
completions IQuotaConfig
premiumChat IQuotaConfig
usageBasedBilling
additionalUsageEnabled
additionalUsageCount
entitlement ChatEntitlement
emitterStore PickDisposableStore IChatEntitlementService quotas ReturnType createEntitlementService
onDidChangeQuotaRemaining emitterStore
onDidChangeQuotaExceeded emitterStore
svc
opts
onDidChangeQuotaRemaining onDidChangeQuotaRemainingevent
onDidChangeQuotaExceeded onDidChangeQuotaExceededevent
onDidChangeQuotaRemaining
onDidChangeQuotaExceeded
svc
svc
chat percentRemaining unlimited
completions percentRemaining unlimited
entitlement ChatEntitlementFree
store
dashboard svc
assertdashboardelement
svc quotas svcquotas quotas
svcquotas
chat percentRemaining unlimited
completions percentRemaining unlimited
svc
assertdashboardelement
svc
premiumChat percentRemaining unlimited
completions percentRemaining unlimited
additionalUsageEnabled
entitlement ChatEntitlementPro
store
dashboard svc
assertdashboardelement
svc quotas svcquotas quotas
svcquotas
premiumChat percentRemaining unlimited
svc
assertdashboardelement
svc
premiumChat percentRemaining unlimited
completions percentRemaining unlimited
additionalUsageEnabled
entitlement ChatEntitlementPro
store
dashboard svc
headerButton dashboardelement HTMLElement
assertheaderButton
assertheaderButtonstyledisplay
svc quotas svcquotas quotas
svcquotas
premiumChat percentRemaining unlimited
svc
assertheaderButtonstyledisplay