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 '../../../browser/media/sidebarActionButton.css';
import './media/accountWidget.css';
import './media/accountTitleBarWidget.css';
import '../../../../workbench/contrib/chat/browser/chatStatus/media/chatStatus.css';
import Severity from '../../../../base/common/severity.js';
import { Disposable, DisposableStore, MutableDisposable, toDisposable } from '../../../../base/common/lifecycle.js';
import { IObservable, runOnChange } from '../../../../base/common/observable.js';
import { localize, localize2 } from '../../../../nls.js';
import { Action2, MenuRegistry, registerAction2 IMenuService
ContextKeyExpr IContextKeyService
IConfigurationService
IDefaultAccountService
IInstantiationService ServicesAccessor
IWorkbenchContribution registerWorkbenchContribution2 WorkbenchPhase
appendUpdateMenuItems registerUpdateMenuItems
Menus
IActionViewItemService
fillInActionBarActions
$ addDisposableListener append clearNode disposableWindowInterval EventType getDomNodePagePosition
mainWindow
ActionBar ActionsOrientation
BaseActionViewItem IBaseActionViewItemOptions
Action IAction Separator
Codicon
IHoverService
IDialogService
registerUpdateTitleBarMenuPlacement
ChatEntitlement ChatEntitlementService getChatPlanName getQuotaReset getQuotaUsage IChatEntitlementService IQuotaSnapshot QuotaUsageKind
ChatStatusDashboard IChatStatusDashboardOptions
HoverPosition
ThemeIcon
getAccountProfileImageUrl getAccountTitleBarBadgeKey getAccountTitleBarState IAccountTitleBarState resolveAccountInfo
observeAllowSignedOutWhenUsable
IsPhoneLayoutContext SessionsWelcomeVisibleContext
IsAuxiliaryWindowContext
IAuthenticationAccessService
IAuthenticationUsageService
IAuthenticationService
IChatDashboardService
InstantiationType registerSingleton
createCodexAccountMenuActions hasSignedInCodexChatGPTAccount ICodexAccountService shouldShowCodexAccount
ICommandService
AICustomizationManagementCommands
AICustomizationManagementSection
SessionType
fromNow safeIntl
language
AgentHostCodexAgentEnabledSettingId
ChatAIDisabledSettingId
SessionsChatPetAchievementBadges
AccountMenu MenusAccountMenu
SessionsTitleBarAccountWidgetAction
accountDateFormatter safeIntllanguage month day
accountTimeFormatter safeIntllanguage hour minute
state PickIAccountTitleBarState hasCopilotDashboard isAccountLoading
hasCopilotDashboard isAccountLoading statesource statekind
MenusTitleBarLeftLayout
group
order
when ContextKeyExpr
IsAuxiliaryWindowContext
SessionsWelcomeVisibleContext
Action2
id
title
icon CodiconsignIn
menu
id AccountMenu
when ContextKeyExpr
group
order
accessor ServicesAccessor
accessorICommandService
Action2
id
title
icon CodiconsignOut
menu
id AccountMenu
when ContextKeyExpr
group
order
accessor ServicesAccessor
defaultAccountService accessorIDefaultAccountService
dialogService accessorIDialogService
authenticationService accessorIAuthenticationService
authenticationUsageService accessorIAuthenticationUsageService
authenticationAccessService accessorIAuthenticationAccessService
defaultAccount defaultAccountService
defaultAccount
providerId defaultAccountauthenticationProviderid
accountLabel defaultAccountaccountName
confirmed dialogService
type SeverityInfo
message
detail accountLabel
primaryButton key comment
confirmed
allSessions authenticationServiceproviderId
sessions allSessionssession sessionaccountlabel accountLabel
sessionssession authenticationServiceproviderId sessionid
authenticationUsageServiceproviderId accountLabel
authenticationAccessServiceproviderId accountLabel
MenuRegistryAccountMenu
command
id
title
icon CodiconsettingsGear
when IsPhoneLayoutContext
group
order
AccountMenu
container HTMLElement
avatarElement HTMLImageElement
iconElement HTMLElement
codexPanelAvatarElement HTMLImageElement
codexPanelIconElement HTMLElement
labelElement HTMLElement
badgeElement HTMLElement
accountName
accountProviderId
accountProviderLabel
accountIcon
isAccountLoading
accountRequestCounter
avatarRequestCounter
currentAvatarUrl
loadedAvatarUrl
codexAvatarRequestCounter
currentCodexAvatarUrl
loadedCodexAvatarUrl
lastCodexAccount ICodexAccountViewInfo
lastState ReturnType getAccountTitleBarState
isMenuVisible
lastBadgeKey
dismissedBadgeKey
copilotDashboardStore
clickPanelDisposable
avatarLoadDisposable
codexAvatarLoadDisposable
allowSignedOutWhenUsable IObservable
action IAction
options IBaseActionViewItemOptions
defaultAccountService IDefaultAccountService
authenticationService IAuthenticationService
menuService IMenuService
contextKeyService IContextKeyService
hoverService IHoverService
instantiationService IInstantiationService
chatEntitlementService ChatEntitlementService
codexAccountService ICodexAccountService
configurationService IConfigurationService
commandService ICommandService
action options
lastCodexAccount codexAccountServiceaccount
allowSignedOutWhenUsable configurationService
lastState
isAccountLoading
entitlement chatEntitlementServiceentitlement
sentiment chatEntitlementServicesentiment
quotas chatEntitlementServicequotas
allowSignedOutWhenUsable
defaultAccountService
authenticationService
chatEntitlementService
chatEntitlementService
chatEntitlementService
chatEntitlementService
codexAccountServiceaccount
lastCodexAccount account
clickPanelDisposable
lastCodexAccount account
configurationServiceevent
eventAgentHostCodexAgentEnabledSettingId eventChatAIDisabledSettingId
clickPanelDisposable
event
allowSignedOutWhenUsable
override _focusable
override container HTMLElement
container
container container
containerclassList
container
containertabIndex
avatarElement container alt draggable HTMLImageElement
avatarElementdecoding
avatarElementreferrerPolicy
iconElement container
labelElement container
badgeElement container
override
container
requestId accountRequestCounter
isAccountLoading
info defaultAccountService authenticationService
requestId accountRequestCounter _storeisDisposed
accountName infoaccountName
accountProviderId infoaccountProviderId
accountProviderLabel infoaccountProviderLabel
accountIcon infoaccountIcon
isAccountLoading
container avatarElement iconElement labelElement badgeElement
entitlement accountName chatEntitlementServiceentitlement ChatEntitlementUnknown
ChatEntitlementUnresolved
chatEntitlementServiceentitlement
state
isAccountLoading isAccountLoading
accountName accountName
accountProviderLabel accountProviderLabel
entitlement
sentiment chatEntitlementServicesentiment
quotas chatEntitlementServicequotas
allowSignedOutWhenUsable allowSignedOutWhenUsable
lastState state
containerclassList
containerclassList
containerclassList isMenuVisible
container stateariaLabel
badgeKey state
badgeKey lastBadgeKey
lastBadgeKey badgeKey
dismissedBadgeKey
shouldShowDotBadge badgeKey badgeKey dismissedBadgeKey
loadedAvatarUrl isAccountLoading loadedAvatarUrl
hasLoadedAvatar loadedAvatarUrl
titleBarIcon statedotBadge Codiconaccount stateicon
avatarElementclassList hasLoadedAvatar
avatarElementalt hasLoadedAvatar
hasLoadedAvatar
avatarElementsrc loadedAvatarUrl
avatarElementsrc loadedAvatarUrl
avatarElement
iconElementclassName
iconElementclassList hasLoadedAvatar
labelElementtextContent
badgeElementtextContent
badgeElementclassList shouldShowDotBadge
badgeElementclassList shouldShowDotBadge statedotBadge
badgeElementclassList shouldShowDotBadge statedotBadge
badgeElementstyledisplay shouldShowDotBadge
hasLoadedAvatar
hasLoadedAvatar accountProviderId accountName
accountName
codexAccountServiceaccountemail
codexAccountServiceaccountemail
codexPanelAvatarElement codexPanelIconElement
avatarUrl loadedCodexAvatarUrl
codexPanelAvatarElementclassList avatarUrl
codexPanelIconElementclassList avatarUrl
codexPanelAvatarElementalt
avatarUrl
codexPanelAvatarElementsrc avatarUrl
codexPanelAvatarElementsrc avatarUrl
codexPanelAvatarElement
avatarUrl configurationService
accountProviderId accountName accountIcon
avatarUrl currentAvatarUrl
currentAvatarUrl avatarUrl
loadedAvatarUrl
avatarLoadDisposable
requestId avatarRequestCounter
avatarUrl
image
imagereferrerPolicy
imageonload
imageonerror
image
requestId avatarRequestCounter
loadedAvatarUrl avatarUrl
image
requestId avatarRequestCounter
loadedAvatarUrl
avatarLoadDisposablevalue
imagesrc
imagesrc avatarUrl
account codexAccountServiceaccount
avatarUrl configurationService accountstatus
accountprofileImageDataUri
avatarUrl currentCodexAvatarUrl
currentCodexAvatarUrl avatarUrl
loadedCodexAvatarUrl
codexAvatarLoadDisposable
requestId codexAvatarRequestCounter
avatarUrl
image
imagereferrerPolicy
imageonload
imageonerror
image
requestId codexAvatarRequestCounter
loadedCodexAvatarUrl avatarUrl
image
requestId codexAvatarRequestCounter
loadedCodexAvatarUrl
codexAvatarLoadDisposablevalue
imagesrc
imagesrc avatarUrl
targetElements HTMLElement x
left width container
targetElements container
x left width
container
isMenuVisible
hoverService
clickPanelDisposable
hoverService
clickPanelDisposable
panelStore
clickPanelDisposablevalue panelStore
badgeKey lastState
badgeKey
dismissedBadgeKey badgeKey
isMenuVisible
containerclassList
panelStore
isMenuVisible
containerclassList
container
panelContent panelStore
hoverWidget hoverService
content panelContent
target
additionalClasses
position hoverPosition HoverPosition
persistence sticky hideOnHover
appearance showPointer skipFadeInAnimation maxHeightRatio
hoverWidget
panelStorehoverWidget
panelStoremainWindow
panelContentisConnected hoverWidgetisDisposed
clickPanelDisposable
panelStore DisposableStore HTMLElement
panel
menu menuServiceAccountMenu contextKeyService
rawActions IAction
menu rawActions
menu
codexAccount codexAccountServiceaccount
codexAccountVisible configurationService
partitioned rawActions
identities panel
accountName isAccountLoading
copilotAccount identities
copilotIdentity copilotAccount
loadedAvatarUrl isAccountLoading loadedAvatarUrl
loadedAvatarUrl
avatar copilotIdentity
alt
draggable
src loadedAvatarUrl
HTMLImageElement
avatardecoding
avatarreferrerPolicy
accountIcon copilotIdentity
accountIconclassListThemeIconCodicongithub
title copilotIdentity
titletextContent
copilotActions copilotIdentity
copilotActionBar panelStore copilotActions
panelStorecopilotActionBar
hoverService
clickPanelDisposable
copilotActionBarpanelStore
ThemeIconCodiconcopilot
commandService
icon label
copilotActionBarpanelStore
ThemeIconCodiconsettingsGear
commandServiceAICustomizationManagementCommandsOpenEditor
sessionType SessionTypeAgentHostCopilot
section AICustomizationManagementSectionAgents
icon label
partitionedsignOut
copilotActionBarpartitionedsignOut icon label
copilotAccount panelStore
partitionedsignIn
copilotAccount identities
copilotIdentity copilotAccount
accountIcon copilotIdentity
accountIconclassListThemeIconCodicongithub
signInActions copilotIdentity
signInActionBar panelStore signInActions
panelStoresignInActionBar
hoverService
clickPanelDisposable
signInActionBarpartitionedsignIn icon label
codexAccount codexAccountVisible
accountSection identities
accountIdentity accountSection
avatar accountIdentity
alt
draggable
HTMLImageElement
avatardecoding
avatarreferrerPolicy
accountIcon accountIdentity
accountIconclassListThemeIconCodiconopenai
codexPanelAvatarElement avatar
codexPanelIconElement accountIcon
panelStore
codexPanelAvatarElement avatar
codexPanelAvatarElement
codexPanelIconElement accountIcon
codexPanelIconElement
accountName accountIdentity
accountNametextContent codexAccountemail
accountActions accountIdentity
accountActionBar panelStore accountActions
panelStoreaccountActionBar
hoverService
clickPanelDisposable
accountActionBarpanelStore
ThemeIconCodiconopenai
commandService
icon label
accountActionBarpanelStore
ThemeIconCodiconsettingsGear
commandServiceAICustomizationManagementCommandsOpenEditor
sessionType SessionTypeAgentHostCodex
section AICustomizationManagementSectionHarnessSettings
icon label
accountActionBarpanelStore
ThemeIconCodiconsignOut
codexAccountService
icon label
accountSection
codexAccountActions codexAccountService codexAccountVisible
codexAccountActionslength
accountSection identities
accountIdentity accountSection
accountIcon accountIdentity
accountIconclassListThemeIconCodiconopenai
signInActions accountIdentity
signInActionBar panelStore signInActions
panelStoresignInActionBar
hoverService
clickPanelDisposable
action codexAccountActions
signInActionBaraction panelStoreaction action icon label
panelStoreinstantiationServiceSessionsChatPetAchievementBadges panel
hoverService
clickPanelDisposable
commandService
footer panel
footer compactQuotaLayout
partitionedothera a
actionsSection panel
actionsActionBar panelStore actionsSection
orientation ActionsOrientation
panelStoreactionsActionBar
hoverService
clickPanelDisposable
lastWasSeparator
action partitionedother
action
lastWasSeparator
actionsActionBaraction
lastWasSeparator
lastWasSeparator
actionsActionBaraction icon label
lastState isAccountLoading
contentSection panel
summary contentSection
summarytextContent lastStateariaLabel
panel
accountSection HTMLElement panelStore DisposableStore
usage accountSection
contentStore panelStore
contentStore
usage
usage contentStore
panelStorechatEntitlementServicerender
panelStorechatEntitlementServicerender
usage HTMLElement store DisposableStore
quota chatEntitlementServicequotaspremiumChat chatEntitlementServicequotaschat
planRow usage
planRow
quotaUsage quota
quota quotaUsage
formatter safeIntllanguage maximumFractionDigits minimumFractionDigits
quotaUsagekind QuotaUsageKindCreditsUsed
creditsFormatted formattervaluequotaUsagecreditsUsed
planRow
creditsFormatted
creditsFormatted
usedPercentage MathquotaUsageusedPercentage
percentageLabel usedPercentage
percentageAriaLabel usedPercentage
used total quotaUsage
usageValue planRow used total tabIndex
usageValuetextContent percentageLabel
usageValue percentageAriaLabel
used total
creditsValue formattervalueused formattervaluetotal
creditsAriaLabel formattervalueused formattervaluetotal
usageValuetextContent creditsValue
usageValue creditsAriaLabel
usageValuetextContent percentageLabel
usageValue percentageAriaLabel
storeusageValue EventType showCredits
storeusageValue EventType showPercentage
storeusageValue EventType showCredits
storeusageValue EventType showPercentage
detailRow usage
resetLabel quota
resetLabel
detailRow resetLabel
detailRowclassList
detailRow
accountSection HTMLElement
account codexAccountServiceaccount
usage accountSection
planRow usage
planRow accountplanType
accountplanType accountplanType
accountrateLimit
percentageFormatter safeIntllanguage maximumFractionDigits
usedPercentage percentageFormattervalueaccountrateLimitusedPercent
planRow
usedPercentage
usedPercentage
detailRow usage
accountrateLimitresetsAt
detailRow
accountrateLimitwindowDurationMins
accountrateLimitresetsAt
detailRowclassList
detailRow
quota IQuotaSnapshot
reset quota chatEntitlementServicequotas
reset
resethasTime
accountDateFormattervalueresetdate accountTimeFormattervalueresetdate
accountDateFormattervalueresetdate
windowDurationMins
windowDurationMins
MathwindowDurationMins
MathwindowDurationMins
rawActions IAction signIn IAction signOut IAction personalize IAction other IAction
signIn IAction
signOut IAction
personalizeMap
other IAction
otherlength otherotherlength
other
action rawActions
action
actionid
signOut action
actionid
isAccountLoading
signIn action
actionid
personalizeMapactionid action
actionid
otheraction
otherlength otherotherlength
other
personalize
id personalizeMapid
a a IAction a
signIn signOut personalize other
accountName
accountName
isAccountLoading
chatEntitlementServiceentitlement
ChatEntitlementAvailable
ChatEntitlementFree
ChatEntitlement
ChatEntitlementPro
ChatEntitlementProPlus
ChatEntitlementBusiness
ChatEntitlementEnterprise
ChatEntitlementMax
chatEntitlementServiceentitlement
chatEntitlementServicesentimenthidden accountName
extraOptions PartialIChatStatusDashboardOptions HTMLElement
store
copilotDashboardStorevalue store
dashboardElement ChatStatusDashboardinstantiationService store
disableInlineSuggestionsSettings
disableModelSelection
disableProviderOptions
disableCompletionsSnooze
disableQuickSettingsCollapsible
extraOptions
storemainWindow
dashboardElementisConnected
store
dashboardElement
previous ICodexAccountViewInfo current ICodexAccountViewInfo
previousstatus currentstatus
previousemail currentemail
previousplanType currentplanType
previousrequiresOpenaiAuth currentrequiresOpenaiAuth
previousauthUrl currentauthUrl
previousauthUrlNonce currentauthUrlNonce
previousrateLimitusedPercent currentrateLimitusedPercent
previousrateLimitwindowDurationMins currentrateLimitwindowDurationMins
previousrateLimitresetsAt currentrateLimitresetsAt
Action2
id SessionsTitleBarAccountWidgetAction
title
menu
id MenusTitleBarRightLayout
group
order
when IsAuxiliaryWindowContext
actionViewItemService IActionViewItemService
instantiationService IInstantiationService
actionViewItemServiceMenusTitleBarRightLayout SessionsTitleBarAccountWidgetAction action options
instantiationServiceTitleBarAccountWidget action options
AccountWidgetContribution AccountWidgetContribution WorkbenchPhaseBlockRestore
_serviceBrand
instantiationService IInstantiationService
store DisposableStore HTMLElement
dashboardElement ChatStatusDashboardinstantiationService store
disableInlineSuggestionsSettings
disableModelSelection
disableProviderOptions
disableCompletionsSnooze
storemainWindow
dashboardElementisConnected
store
dashboardElement
IChatDashboardService ChatDashboardServiceImpl InstantiationTypeDelayed