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 * as vscode from 'vscode';
import TelemetryReporter from '@vscode/extension-telemetry';
import { Keychain } from './common/keychain';
import { GitHubServer, IGitHubServer } from './githubServer';
import { EntraTokenExchangeError, EntraTokenExchangeFailure, IEntraRenewedToken } from './entraTokenExchange';
import { PromiseAdapter, arrayEquals, promiseFromEvent } from './common/utils';
import { ExperimentationTelemetry } from './common/experimentationService';
import Log
AccountLinks IAccountLink
IGitHubUserInfo
MicrosoftAuthentication
crypto
GitHubSignInProvider isSignInProvider
Parameters vscodeUrifrom
id
account
label
displayName
id
icon UriComponents
scopes
accessToken
session vscodeAuthenticationSession
expiresAt
AuthProviderType
github
githubEnterprise
AuthenticationProviderSessionOptions
provider GitHubSignInProvider
extraAuthorizeParameters Record
object object GitHubAuthenticationProviderOptions
object object
provider extraAuthorizeParameters object GitHubAuthenticationProviderOptions
provider provider
extraAuthorizeParameters
extraAuthorizeParameters extraAuthorizeParameters
key value ObjectextraAuthorizeParameters
key value
EventEmittervscodeUri UriHandler
_pendingNonces
_codeExchangePromises
uri vscodeUri
uri
logger Log scopes nonce token vscodeCancellationToken
existingNonces _pendingNoncesscopes
_pendingNoncesscopes existingNonces nonce
codeExchangePromise _codeExchangePromisesscopes
codeExchangePromise
codeExchangePromise event logger scopes
_codeExchangePromisesscopes codeExchangePromise
codeExchangePromisepromise
_ reject
tokenonCancellationRequested _ __ reject promise
_pendingNoncesscopes
codeExchangePromisecancel
_codeExchangePromisesscopes
logger Log scopes PromiseAdaptervscodeUri
logger Log scopes uri resolve reject
query uriquery
code query
nonce query
code
nonce
acceptedNonces _pendingNoncesscopes
acceptedNoncesnonce
logger
code
crypto prev curr prev curr
AuthenticationProvider vscodeDisposable
_sessionChangeEmitter
_logger Log
_githubServer IGitHubServer
_microsoft MicrosoftAuthentication
_telemetryReporter ExperimentationTelemetry
_keychain Keychain
_accountLinks AccountLinks
_accountsSeen
_disposable vscodeDisposable
_persistedSessionsPromise vscodeAuthenticationSession
_transientSessions
_renewals
_restores
_restoresTried
_microsoftGeneration
context vscodeExtensionContext
uriHandler UriEventHandler
ghesUri vscodeUri
aiKey contextextensionpackageJSON name version aiKey
_telemetryReporter context aiKey
type ghesUri AuthProviderTypegithubEnterprise AuthProviderTypegithub
_logger type
serviceId type AuthProviderTypegithub
_keychain context serviceId _logger
_accountLinks contextglobalState _logger
_microsoft
_githubServer
_logger
_telemetryReporter
uriHandler
contextextensionextensionKind
_microsoft
_accountLinks
ghesUri
_persistedSessionsPromise sessions
sessionss s
sessions
supportedAuthorizationServers ghesUri
vscodeUrighesUri
vscodeUri
_disposable vscodeDisposable
_telemetryReporter
vscodeauthentication
type
_githubServerfriendlyName
supportsMultipleAccounts
supportedAuthorizationServers
contextsecrets
vscodeauthentication e
eproviderid
_microsoftGeneration
_restoresTried
_transientSessions
_disposable
vscodeAuthenticationSession
_transientSessionsheld heldsession
_sessionChangeEmitterevent
scopes options vscodeAuthenticationProviderSessionOptions vscodeAuthenticationSession
sortedScopes scopes
describedScopes sortedScopeslength sortedScopes
_logger
candidates _persistedSessionsPromise transientSessions
wanted candidatessession
optionsaccount sessionaccountlabel optionsaccountlabel
sortedScopeslength sessionscopes sortedScopes
finalSessions wanted
restored sortedScopes optionsaccount finalSessions
_logger
finalSessions restored
scopes
account vscodeAuthenticationSessionAccountInformation
already vscodeAuthenticationSession
vscodeAuthenticationSession
missing _accountLinkslink
account linkgitHubAccountLabel accountlabel
alreadysession sessionaccountlabel linkgitHubAccountLabel
_restoresTriedlink scopes
missinglength
restored missinglink link scopes
session session session
restoredlength
_logger
_sessionChangeEmitter added restored removed changed
restored
link IAccountLink scopes
link IAccountLink scopes vscodeAuthenticationSession
key link scopes
restore _restoreskey
restore
restore link scopes key _restoreskey
_restoreskey restore
restore
link IAccountLink scopes key vscodeAuthenticationSession
generation _microsoftGeneration
microsoftAccount _microsoft
candidate candidatelabel linkmicrosoftAccountLabel
microsoftAccount
_logger
_restoresTriedkey
renewed IEntraRenewedToken
renewed _githubServer
scopes scopeslength scopes
gitHubAccountId linkgitHubAccountId
microsoftAccount
e
_logger
_restoresTriedkey
e efailure EntraTokenExchangeFailureAccountMismatch
_accountLinkslinkgitHubAccountLabel
renewedscopeslength
_logger
_restoresTriedkey
generation microsoftAccountlabel
session renewedaccount renewedtoken renewedscopes
_transientSessionssessionid session expiresAt Date renewedexpiresIn
session
session
wanted vscodeAuthenticationSession vscodeAuthenticationSession
now Date
usable vscodeAuthenticationSession
stale vscodeAuthenticationSession
session wanted
held _transientSessionssessionid
held heldexpiresAt now
usablesession
stalesession
stalelength
usable
renewed stalesession session
stale_ index renewedindex
usable renewedsession session session
sessions vscodeAuthenticationSession reason
removed vscodeAuthenticationSession
session sessions
_transientSessionssessionid
removedsession
removedlength
_logger
_sessionChangeEmitter added removed changed
reachable _microsoftaccount accountlabel
rows _accountLinkslink linkgitHubAccountLabel link
transientSessionssession
microsoftAccountLabel rowssessionaccountlabelmicrosoftAccountLabel
microsoftAccountLabel reachablemicrosoftAccountLabel
session vscodeAuthenticationSession vscodeAuthenticationSession
renewal _renewalssessionid
renewal
renewal session _renewalssessionid
_renewalssessionid renewal
renewal
session vscodeAuthenticationSession vscodeAuthenticationSession
generation _microsoftGeneration
microsoftAccount sessionaccountlabel
microsoftAccount
_logger
renewed IEntraRenewedToken
renewed _githubServer
scopes sessionscopes
gitHubAccountId sessionaccountid
microsoftAccount
e
_logger
generation microsoftAccountlabel
next vscodeAuthenticationSession session accessToken renewedtoken
_transientSessionsnextid session next expiresAt Date renewedexpiresIn
_logger
_sessionChangeEmitter added removed changed next
next
generation label what
_microsoftGeneration generation
_microsoftaccount accountlabel label
_logger
session vscodeAuthenticationSession
_accountsSeensessionaccountid
_accountsSeensessionaccountid
_githubServersession
source added removed changed
kind added removed added removed
message
kind
_loggermessage
_loggermessage
previousSessions _persistedSessionsPromise
_persistedSessionsPromise
storedSessions _persistedSessionsPromise
added vscodeAuthenticationSession
removed vscodeAuthenticationSession
storedSessionssession
matchesExisting previousSessionss sid sessionid
matchesExisting
_logger
addedsession
previousSessionssession
matchesExisting storedSessionss sid sessionid
matchesExisting
_logger
removedsession
addedlength removedlength
addedlength removedlength
_sessionChangeEmitter added removed changed
vscodeAuthenticationSession
sessionData SessionData
_logger
storedSessions _keychain
storedSessions
_logger
sessionData storedSessions
e
_keychain
e
e
_logger
seenNumberAccountId
scopesSeen
sessionPromises sessionData session SessionData vscodeAuthenticationSession
scopesStr sessionscopes
userInfo IGitHubUserInfo
sessionaccount
userInfo _githubServersessionaccessToken
_logger
e
emessage
_logger
scopesSeenscopesStr
accountId
sessionaccountid
sessionaccountid
seenNumberAccountId
accountId
accountId userInfoid
icon sessionaccounticon
vscodeUrisessionaccounticon
userInfoavatarUrl vscodeUriuserInfoavatarUrl
id sessionid
account
label sessionaccount
sessionaccountlabel sessionaccountdisplayName
userInfoaccountName
id accountId
icon
scopes sessionscopes
accessToken sessionaccessToken
verifiedSessions sessionPromises
p pstatus
p p PromiseFulfilledResultvscodeAuthenticationSession value
p p p
_logger
seenNumberAccountId verifiedSessionslength sessionDatalength
verifiedSessions
verifiedSessions
sessions vscodeAuthenticationSession
_logger
_persistedSessionsPromise sessions
_keychainsessions
_logger
scopes options GitHubAuthenticationProviderOptions vscodeAuthenticationSession
sortedScopes scopes
_telemetryReporter
scopes scopes
options options
loginWith optionsaccountlabel
signInProvider optionsprovider
_logger
signInProvider GitHubSignInProviderMicrosoft
session scopes loginWith
_logger
session
sessions _persistedSessionsPromise
scopeString sortedScopes
token _githubServerscopeString signInProvider optionsextraAuthorizeParameters loginWith
session token scopes
session
sessionIndex sessionss saccountid sessionaccountid sscopes sortedScopes
removed
sessionIndex
removedsessionssessionIndex session
sessionssession
sessions
removedlength
_sessionChangeEmitter added session removed changed
_logger
session
e
e emessage
_telemetryReporter
e
_telemetryReporter
vscodewindowvscodel10n
_loggere
e
scopes gitHubAccountLabel vscodeAuthenticationSession
exchanged _githubServerscopes
microsoftAccount gitHubAccountLabel
session exchangedaccount exchangedtoken scopes
session
_transientSessionssessionid
session
expiresAt Date exchangedexpiresIn
_sessionChangeEmitter added session removed changed
session
account IGitHubUserInfo accessToken scopes vscodeAuthenticationSession
id
accessToken
account
label accountaccountName
id accountid
icon accountavatarUrl vscodeUriaccountavatarUrl
scopes
gitHubAccountLabel vscodeAuthenticationSessionAccountInformation
gitHubAccountLabel
microsoftAccountLabel _accountLinksgitHubAccountLabel
microsoftAccountLabel
accounts _microsoft
accountsaccount accountlabel microsoftAccountLabel
account vscodeAuthenticationSessionAccountInformation
remaining _persistedSessionsPromise transientSessions
remainingsession sessionaccountlabel accountlabel
_accountLinksaccountlabel
token scopes vscodeAuthenticationSession
userInfo _githubServertoken
id
accessToken token
account label userInfoaccountName id userInfoid icon userInfoavatarUrl vscodeUriuserInfoavatarUrl
scopes
id
_telemetryReporter
_logger
transient _transientSessionsid
transient
_transientSessionsid
transientsessionaccount
_sessionChangeEmitter added removed transientsession changed
sessions _persistedSessionsPromise
sessionIndex sessionssession sessionid id
sessionIndex
session sessionssessionIndex
sessionssessionIndex
sessions
_githubServersession
sessionaccount
_sessionChangeEmitter added removed session changed
_logger
e
_telemetryReporter
vscodewindowvscodel10n
_loggere
e