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 { RequestType } from '@vscode/copilot-api';
import { retryAfterFromRateLimitHeaders } from '../../../shared-fetch-utils/common/middleware/rateLimitBackoffMiddleware';
import { Emitter } from '../../../util/vs/base/common/event';
import { Disposable, toDisposable } from '../../../util/vs/base/common/lifecycle';
import { SyncDescriptor } from '../../../util/vs/platform/instantiation/common/descriptors';
import { IConfigurationService } from '../../configuration/common/configurationService';
import { ICAPIClientService } from '../../endpoint/common/capiClient';
IDomainService
IEnvService isScenarioAutomation
BaseOctoKitService
NullBaseOctoKitService
ILogService
FetchOptions IFetcherService Response jsonVerboseError
ITelemetryService
TelemetryData
CopilotToken CopilotUserInfo ErrorEnvelope ExtendedTokenInfo StandardErrorEnvelope TokenEnvelope TokenInfoOrError TokenValidationResult containsVSCodeOrg createTestExtendedTokenInfo isErrorEnvelope isStandardErrorEnvelope validateTokenEnvelope
CheckCopilotToken ICopilotTokenManager NotGitHubLoginFailed nowSeconds
ok
status
statusText
retryAfterMs
body TokenEnvelope kind
body ErrorEnvelope kind
body StandardErrorEnvelope kind
body kind parseError
tokenErrorString
pat processenv
oauthToken processenv
isScenarioAutomation pat oauthToken
pat
pat
oauthToken
oauthToken
tokenErrorString
deviceId SyncDescriptorICopilotTokenManager CheckCopilotToken
processenv
StaticExtendedTokenInfoCopilotTokenManager processenv
processenv
CopilotTokenManagerFromGitHubToken processenv
processenv
FixedCopilotTokenManager processenv
isScenarioAutomation
CopilotTokenManagerFromDeviceId deviceId
tokenErrorString
_serviceBrand
_isDisposed
_copilotTokenRefreshEmitter
onDidCopilotTokenRefresh _copilotTokenRefreshEmitterevent
_baseOctokitservice BaseOctoKitService
_logService ILogService
_telemetryService ITelemetryService
_domainService IDomainService
_capiClientService ICAPIClientService
_fetcherService IFetcherService
_envService IEnvService
_isDisposed
_copilotToken ExtendedTokenInfo
ExtendedTokenInfo
_copilotToken
token ExtendedTokenInfo
token _copilotToken
_copilotToken token
_copilotTokenRefreshEmitter
force CopilotToken
httpError
httpError
_telemetryService httpError
_logService
copilotToken
githubToken ghUsername TokenInfoOrError NotGitHubLoginFailed
githubToken ghUsername
devDeviceId TokenInfoOrError NotGitHubLoginFailed
devDeviceId
context githubToken ghUsername devDeviceId
TokenInfoOrError NotGitHubLoginFailed
_telemetryService
result FetchTokenResult
userInfo CopilotUserInfo
ghUsername
context
ghUsername contextghUsername
result userInfo
contextgithubToken
contextgithubToken
result contextdevDeviceId
e
_logService emessage e
kind reason message emessage e
resultok
_logService
resultstatus
_telemetryService
kind reason retryAfterMs resultretryAfterMs
data TelemetryData
status resultstatus
status_text resultstatusText
_telemetryService dataproperties datameasurements
resultstatus
_logService
_telemetryService
kind reason
resultkind
_logService
_telemetryService
kind reason resultbodyerror_details
resultkind
resultbodymessage
_logService
_telemetryService
kind reason retryAfterMs resultretryAfterMs
_logService
kind reason
resultkind
_logService
_telemetryService
kind reason message resultparseError
tokenInfo resultbody
expires_at tokenInfoexpires_at
tokenInfoexpires_at tokenInforefresh_in
login ghUsername
extendedInfo ExtendedTokenInfo
tokenInfo
copilot_plan userInfocopilot_plan tokenInfosku
quota_snapshots userInfoquota_snapshots
quota_reset_date userInfoquota_reset_date
codex_agent_enabled userInfocodex_agent_enabled
token_based_billing userInfotoken_based_billing
organization_login_list userInfoorganization_login_list
username login
isVscodeTeamMember tokenInfoorganization_list
telemetryData TelemetryData
adjusted_expires_at tokenInfoexpires_at
expires_at expires_at
current_time
_telemetryService telemetryDataproperties telemetryDatameasurements
kind extendedInfo
githubToken FetchTokenResult
options FetchOptions
callSite
headers
Authorization
retryFallbacks
expectJSON
response _capiClientServiceoptions type RequestTypeCopilotToken
response
devDeviceId FetchTokenResult
options FetchOptions
callSite
headers
retryFallbacks
expectJSON
response _capiClientServiceoptions type RequestTypeCopilotNLToken
response
response Response FetchTokenResult
httpInfo
ok responseok
status responsestatus
statusText responsestatusText
retryAfterMs responseheaders
parsed
parsed response
err
httpInfo body kind parseError errmessage err
validationResult parsed
validationResultvalid
validationResult
httpInfo body validationResultenvelope kind
parsed
httpInfo body parsed kind
parsed
httpInfo body parsed kind
validationResult
httpInfo body kind parseError parsed
validationResult TokenValidationResult
validationResultstrategy
_telemetryService
strategy validationResultstrategy
strictError validationResultstrictError
fallbackError validationResultfallbackError
githubToken CopilotUserInfo
options FetchOptions
callSite
headers
Authorization
retryFallbacks
expectJSON
response _capiClientServiceoptions type RequestTypeCopilotUserInfo
data response
data
_completionsToken
logService ILogService
telemetryService ITelemetryService
capiClientService ICAPIClientService
domainService IDomainService
fetcherService IFetcherService
envService IEnvService
capiClientService fetcherService logService telemetryService logService telemetryService domainService capiClientService fetcherService envService
copilotToken token _completionsToken username copilot_plan
token
_completionsToken token
copilotToken token username copilot_plan
_completionsToken
CopilotToken
copilotToken
status
status
_initialToken ExtendedTokenInfo
serializedToken
logService ILogService
telemetryService ITelemetryService
capiClientService ICAPIClientService
domainService IDomainService
fetcherService IFetcherService
envService IEnvService
capiClientService fetcherService logService telemetryService logService telemetryService domainService capiClientService fetcherService envService
data BufferserializedToken
_initialToken data
override CopilotToken
copilotToken
copilotToken _initialToken
_initialToken
status
status
TokenInfoOrError NotGitHubLoginFailed
force CopilotToken
copilotToken copilotTokenexpires_at force
tokenResult
tokenResultkind
copilotToken tokenResult
copilotToken
copilotToken copilotTokenexpires_at
tokenResult
tokenResultkind
tokenResult
copilotToken tokenResult
result status
status
result
deviceId
logService ILogService
telemetryService ITelemetryService
domainService IDomainService
capiClientService ICAPIClientService
fetcherService IFetcherService
envService IEnvService
configurationService IConfigurationService
capiClientService fetcherService logService telemetryService logService telemetryService domainService capiClientService fetcherService envService
TokenInfoOrError NotGitHubLoginFailed
deviceId
githubToken
githubUsername
logService ILogService
telemetryService ITelemetryService
domainService IDomainService
capiClientService ICAPIClientService
fetcherService IFetcherService
envService IEnvService
configurationService IConfigurationService
capiClientService fetcherService logService telemetryService logService telemetryService domainService capiClientService fetcherService envService
TokenInfoOrError NotGitHubLoginFailed
githubToken githubUsername