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 * as sinon from 'sinon';
import { Emitter } from '../../../../../base/common/event.js';
import { mock } from '../../../../../base/test/common/mock.js';
import { ensureNoDisposablesAreLeakedInTestSuite } from '../../../../../base/test/common/utils.js';
import { ICommandService } from '../../../../../platform/commands/common/commands.js';
import { IDefaultAccountRefreshOptions, IDefaultAccountService, IManagedSettingsCompatibilityError } from '../../../../../platform/defaultAccount/common/defaultAccount.js';
import { TestDialogService
MockContextKeyService
NullLogService
Severity
TestNotificationService
IOpenerService
IManagedSettingsFreshness ManagedSettingsFreshnessFailure ManagedSettingsFreshnessState
IProductService
InMemoryStorageService
NullTelemetryService
IChatEntitlementService
AccountPolicyGateContribution
AccountPolicyGateState AccountPolicyGateUnsatisfiedReason ChatAccountPolicyGateActiveContext IAccountPolicyGateInfo IAccountPolicyGateService
_gateInfo IAccountPolicyGateInfo state AccountPolicyGateStateInactive
override IAccountPolicyGateInfo _gateInfo
_onDidChangeGateInfo
override onDidChangeGateInfo _onDidChangeGateInfoevent
initial IAccountPolicyGateInfo
initial
_gateInfo initial
info IAccountPolicyGateInfo
_gateInfo info
_onDidChangeGateInfoinfo
_onDidChangeGateInfo
override currentDefaultAccount
refreshOptions IDefaultAccountRefreshOptions
_managedSettingsCompatibilityError IManagedSettingsCompatibilityError
override IManagedSettingsCompatibilityError _managedSettingsCompatibilityError
_onDidChangeManagedSettingsCompatibilityError
override onDidChangeManagedSettingsCompatibilityError _onDidChangeManagedSettingsCompatibilityErrorevent
error IManagedSettingsCompatibilityError
_managedSettingsCompatibilityError error
_onDidChangeManagedSettingsCompatibilityErrorerror
override options IDefaultAccountRefreshOptions
refreshOptionsoptions
_onDidChangeManagedSettingsCompatibilityError
forceHiddenValues
forceHidden
override hidden
forceHidden hidden
forceHidden hidden
forceHiddenValueshidden
disposables
sinon
gateService disposables
defaultAccountService disposables
chatEntitlementService
contextKeyService
storageService disposables
dialogService
promptStub sinondialogService
productService
override nameShort
disposables
gateService
contextKeyService
chatEntitlementService
defaultAccountService
dialogService
productService
storageService
NullTelemetryService
states context hidden
states
context ChatAccountPolicyGateActiveContextcontextKeyService
hidden chatEntitlementServiceforceHidden
defaultAccountService
errorCode
minimumClientVersion
defaultAccountService
gateService
state AccountPolicyGateStateRestricted
reason AccountPolicyGateUnsatisfiedReasonOrgNotApproved
defaultAccountService errorCode
gateService state AccountPolicyGateStateInactive
defaultAccountService
compatibilityDialog promptStubfirstCallargs
fallbackCompatibilityDialog promptStubsecondCallargs
assert
states
forceHiddenValues chatEntitlementServiceforceHiddenValues
compatibilityDialog
title compatibilityDialogtitle
message compatibilityDialogmessage
custom compatibilityDialogcustom
buttons compatibilityDialogbuttonsbutton buttonlabel
cancelButton compatibilityDialogcancelButton
fallbackCompatibilityMessage fallbackCompatibilityDialogmessage
states
context hidden
context hidden
context hidden
context hidden
context hidden
context hidden
context hidden
forceHiddenValues
compatibilityDialog
title
message
custom
buttons
cancelButton
fallbackCompatibilityMessage
clock sinon
gateService disposables
state AccountPolicyGateStateRestricted
reason AccountPolicyGateUnsatisfiedReasonManagedSettingsRefresh
managedSettingsFreshness
state ManagedSettingsFreshnessStatePending
source
notificationService
notificationPromptSpy sinonnotificationService
disposables
gateService
disposables
notificationService
override nameShort
disposables
NullTelemetryService
assertnotificationPromptSpycallCount
clock
assertnotificationPromptSpycallCount
clock
pendingNotification notificationPromptSpyfirstCall
gateService state AccountPolicyGateStateSatisfied
gateService
state AccountPolicyGateStateRestricted
reason AccountPolicyGateUnsatisfiedReasonManagedSettingsRefresh
managedSettingsFreshness
state ManagedSettingsFreshnessStatePending
source
clock
gateService state AccountPolicyGateStateSatisfied
clock
assert
callCount notificationPromptSpycallCount
severity pendingNotificationargs
message pendingNotificationargs
actions pendingNotificationargs
options pendingNotificationargs
callCount
severity SeverityInfo
message
actions
options sticky
gateService disposables
defaultAccountService disposables
dialogService
promptStub sinondialogService
notificationService
notificationPromptSpy sinonnotificationService
disposables
gateService
defaultAccountService
notificationService
dialogService
override nameShort
disposables
NullTelemetryService
blockedStates
state ManagedSettingsFreshnessStateBlocked source failure ManagedSettingsFreshnessFailureNoToken
state ManagedSettingsFreshnessStateBlocked source failure ManagedSettingsFreshnessFailureNoUrl
state ManagedSettingsFreshnessStateBlocked source failure ManagedSettingsFreshnessFailureRateLimited
state ManagedSettingsFreshnessStateBlocked source failure ManagedSettingsFreshnessFailureHttpError httpStatus
state ManagedSettingsFreshnessStateBlocked source failure ManagedSettingsFreshnessFailureMalformed
state ManagedSettingsFreshnessStateBlocked source failure ManagedSettingsFreshnessFailureNetwork
satisfies ExtractIManagedSettingsFreshness state ManagedSettingsFreshnessStateBlocked
managedSettingsFreshness blockedStates
info IAccountPolicyGateInfo
state AccountPolicyGateStateRestricted
reason AccountPolicyGateUnsatisfiedReasonManagedSettingsRefresh
managedSettingsFreshness
gateServiceinfo
gateServiceinfo
gateService
state AccountPolicyGateStateRestricted
reason AccountPolicyGateUnsatisfiedReasonManagedSettingsRefresh
managedSettingsFreshness
state ManagedSettingsFreshnessStatePending
source
gateServiceinfo
retryResult promptStubargsbuttons
gateService state AccountPolicyGateStateSatisfied
gateService
state AccountPolicyGateStateRestricted
reason AccountPolicyGateUnsatisfiedReasonManagedSettingsRefresh
managedSettingsFreshness blockedStates
assert
dialogs promptStubcall
title callargstitle
buttons callargsbuttonsbutton buttonlabel
notificationCount notificationPromptSpycallCount
retryOptions defaultAccountServicerefreshOptions
retryResult
dialogs
title
buttons
title
buttons
title
buttons
title
buttons
title
buttons
title
buttons
title
buttons
notificationCount
retryOptions forceRefresh retryManagedSettings
retryResult
assertpromptStubargsmessage
gateService disposables
defaultAccountService disposables
dialogService
promptStub sinondialogService
disposables
gateService
defaultAccountService
dialogService
override nameShort
disposables
NullTelemetryService
updateRequiredInfo IAccountPolicyGateInfo
state AccountPolicyGateStateRestricted
reason AccountPolicyGateUnsatisfiedReasonManagedSettingsRefresh
managedSettingsFreshness
state ManagedSettingsFreshnessStateBlocked
source
failure ManagedSettingsFreshnessFailureUpdateRequired
gateServiceupdateRequiredInfo
gateServiceupdateRequiredInfo
assertpromptStubcallCount
defaultAccountService
errorCode
minimumClientVersion
defaultAccountService
errorCode
minimumClientVersion
dialog promptStubfirstCallargs
assert
callCount promptStubcallCount
title dialogtitle
message dialogmessage
buttons dialogbuttonsbutton buttonlabel
cancelButton dialogcancelButton
callCount
title
message
buttons
cancelButton