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 { LRUCache } from '../../../base/common/map.js';
import { Disposable } from '../../../base/common/lifecycle.js';
import { hasKey } from '../../../base/common/types.js';
import { ILogService } from '../../log/common/log.js';
import { GitHubAccountHandle, GitHubFetch, GitHubRequestErrorKind, GitHubRequestPriority } from './githubTypes.js';
import { GitHubRateLimitCoordinator } from './githubRateLimitCoordinator.js';
import { GitHubRequestQueue } from './githubRequestQueue.js';
IGitHubScheduler schedulerDelay systemGitHubScheduler
GitHubFetch
rateLimits GitHubRateLimitCoordinator
account GitHubAccountHandle token request GitHubRestRequest signal AbortSignal GitHubRestResponse
account GitHubAccountHandle token url query variables ReadonlyRecord signal AbortSignal priority GitHubRequestPriority GitHubGraphQLResponse
account GitHubAccountHandle token request GitHubDownloadRequest signal AbortSignal GitHubDownloadResponse
account GitHubAccountHandle reason
message
type
path
extensions
code
message
kind GitHubRequestErrorKind
statusCode
responseBody
graphQLErrors GitHubGraphQLError
message
name
method
url
body object
accept
apiVersion
representationVersion
etag
unconditional
priority GitHubRequestPriority
data
statusCode
etag
finalUrl
link
observedAt
data
errors GitHubGraphQLError
observedAt
url
maximumBytes
timeout
priority GitHubRequestPriority
text
truncated
sourceUrl
contentType
accountKey
etag
body
finalUrl
fetchedAt
link
representationVersion
controller AbortController
promise GitHubRestResponse
waiters
controller AbortController
promise GitHubGraphQLResponse
waiters
blocked blocked value
defaultApiVersion
maximumErrorBodyLength
maximumRedirects
_fetch FetchFunction
_queue GitHubRequestQueue
_rateLimits GitHubRateLimitCoordinator
_restCache
_redirects
_inFlight
_graphQlInFlight
fetchFn FetchFunction
_scheduler IGitHubScheduler systemGitHubScheduler
_allowInsecureLoopbackDownloads
_logService ILogService
_fetch fetchFn input init globalThisinput init
_queue
_rateLimits _scheduler
GitHubRateLimitCoordinator
_rateLimits
account GitHubAccountHandle token request GitHubRestRequest signal AbortSignal GitHubRestResponse
finalUrl _redirectsrequesturl requesturl
cacheKey account request finalUrl
requestmethod
account token request signal cacheKey
coalescingKey account request finalUrl
shared _inFlightcoalescingKey
shared
controller
promise account token request controllersignal cacheKey
shared controller promise waiters
_inFlightcoalescingKey shared
created shared
promise
coalescingKey created
coalescingKey created
_logService
sharedwaiters
shared signal
sharedwaiters
sharedwaiters _inFlightcoalescingKey shared
_inFlightcoalescingKey
_logService
sharedcontroller
account GitHubAccountHandle
token
url
query
variables ReadonlyRecord
signal AbortSignal
priority GitHubRequestPriority
GitHubGraphQLResponse
query
account token url query variables signal priority
account token url query variables signal priority
account GitHubAccountHandle
token
request GitHubDownloadRequest
signal AbortSignal
GitHubDownloadResponse
priority requestpriority
requesturl account priority signal account priority signal
controller
timeout _scheduler
controller
Math requesttimeout
combinedSignal AbortSignalsignal controllersignal
initialOrigin requesturlorigin
url requesturl
authenticated
redirectCount redirectCount maximumRedirects redirectCount
headers Record
defaultApiVersion
authenticated
headers
response Response
response url
method
cache
headers
signal combinedSignal
redirect
error
combinedSignalaborted
combinedSignalreason error
_logService
authenticated
_rateLimitsaccount response
responsestatus
location responseheaders
location
responsestatus
redirected location url
redirected _allowInsecureLoopbackDownloads
authenticated redirectedorigin initialOrigin
_logService
url redirectedhref
responseok
body response
response body
body response requestmaximumBytes combinedSignal
_logService
text bodybytes
truncated bodytruncated
sourceUrl url
contentType responseheaders
timeout
account GitHubAccountHandle
token
url
query
variables ReadonlyRecord
signal AbortSignal
priority GitHubRequestPriority
GitHubGraphQLResponse
key
shared _graphQlInFlightkey
shared
controller
promise account token url query variables controllersignal priority
shared controller promise waiters
_graphQlInFlightkey shared
created shared
promise
key created
key created
_logService
sharedwaiters
shared signal
sharedwaiters
sharedwaiters _graphQlInFlightkey shared
_graphQlInFlightkey
_logService
sharedcontroller
account GitHubAccountHandle
token
url
query
variables ReadonlyRecord
signal AbortSignal
priority GitHubRequestPriority
GitHubGraphQLResponse
operation query
operation account priority signal account priority signal
response url
method
cache
headers
defaultApiVersion
body query variables
signal
redirect
query
_logService
body responsestatus response
_rateLimitsaccount response body
responseok
response body
json body
errors jsonerrors jsonerrors
rateLimit jsondata
_rateLimitsaccount rateLimit
errorserror errortype
_rateLimitsaccount
account
_logService
data jsondata errors observedAt _scheduler
account GitHubAccountHandle reason
accountKey GitHubRequestQueueaccount
restRequests _inFlightkey keylength
graphQlRequests _graphQlInFlightkey keylength
_logService
_queueaccount reason
_rateLimitsaccount
cacheKeys
key entry _restCache
entryaccountKey accountKey
cacheKeyskey
key cacheKeys
_restCachekey
key request _inFlight
key
_inFlightkey
requestcontrollerreason
key request _graphQlInFlight
key
_graphQlInFlightkey
requestcontrollerreason
_logService
_restCache
_redirects
request _inFlight
requestcontroller
_inFlight
request _graphQlInFlight
requestcontroller
_graphQlInFlight
override
account GitHubAccountHandle
token
request GitHubRestRequest
signal AbortSignal
cacheKey
GitHubRestResponse
priority requestpriority requestmethod
operation
operation account priority signal account priority signal
cached requestetag requestunconditional _restCachecacheKey
cached
_logService
headers Record
requestaccept
requestapiVersion defaultApiVersion
cached
headers cachedetag
requestbody
headers
response account requesturl
method requestmethod
cache
headers
body requestbody requestbody
signal
redirect
requestmethod
_logService
finalUrl responseurl _redirectsrequesturl requesturl
body responsestatus responsestatus response
_rateLimitsaccount response body
account responseheaders
responsestatus
cached
revalidatedEtag responseheaders cachedetag
revalidatedLink responseheaders cachedlink
revalidatedEtag cachedetag
_logService
_restCachecacheKey
cached
etag revalidatedEtag
link revalidatedLink
fetchedAt _scheduler
_logService
data cachedbody
statusCode
etag revalidatedEtag
finalUrl cachedfinalUrl
link revalidatedLink
observedAt _scheduler
responseok
requestUrl requesturl
route
response body
responseEtag responseheaders
representationVersion requestrepresentationVersion
finalCacheKey account request finalUrl
requestmethod requestetag
responseEtag
entry IRestCacheEntry
accountKey GitHubRequestQueueaccount
etag responseEtag
body
finalUrl
fetchedAt _scheduler
link responseheaders
representationVersion
_restCachefinalCacheKey entry
_logService
finalCacheKey cacheKey
_restCachecacheKey
_redirectsrequesturl finalUrl
_restCachecacheKey
_restCachefinalCacheKey
data body body
statusCode responsestatus
etag responseEtag
finalUrl
link responseheaders
observedAt _scheduler
account GitHubAccountHandle
resource
priority GitHubRequestPriority
signal AbortSignal
delay _rateLimitsaccount resource
delay
_logService
_rateLimitsaccount resource signal
result _queueaccount priority signal
_rateLimitsaccount resource
_logService
blocked
blocked value
resultblocked
resultvalue
account GitHubAccountHandle initialUrl init RequestInit retry Response
url _redirectsinitialUrl initialUrl
initialOrigin urlorigin
redirectCount redirectCount maximumRedirects redirectCount
response url init retry
responsestatus
url initialUrl
_redirectsinitialUrl url
response
location responseheaders
location
responsestatus
url location urlhref
urlorigin initialOrigin
responsestatus
_logService
url init RequestInit retry Response
failure
attempt attempt retry attempt
response url init
retry attempt responsestatus
_logService
_scheduler _scheduler initsignal AbortSignal
response
error
initsignal AbortSignalaborted
error
failure error
attempt retry
_logService
_scheduler _scheduler initsignal AbortSignal
account GitHubAccountHandle request GitHubRestRequest url
GitHubRequestQueueaccount
requestmethod
url
requestaccept
requestapiVersion defaultApiVersion
requestrepresentationVersion
account GitHubAccountHandle request GitHubRestRequest url
account request url
requestetag
requestunconditional
key request ISharedRequest
_inFlightkey request
_inFlightkey
key request ISharedGraphQLRequest
_graphQlInFlightkey request
_graphQlInFlightkey
prefix response Response body GitHubRequestError
detail body
message
message responsestatus body responsestatus body
body message
body
message
kind
operation
account GitHubAccountHandle
priority GitHubRequestPriority
signal AbortSignal
startedAt _scheduler
_logService
result
_logService
result
error
outcome signalaborted
_logService
error
account GitHubAccountHandle resource
state _rateLimitsaccount resource
state
_logService
shared ISharedRequest signal AbortSignal GitHubRestResponse
signalaborted
signalreason
resolve reject
signalreason
signal onAbort once
sharedpromise
response
signal onAbort
response GitHubRestResponse
error
signal onAbort
error
shared ISharedGraphQLRequest signal AbortSignal GitHubGraphQLResponse
signalaborted
signalreason
resolve reject
signalreason
signal onAbort once
sharedpromise
response
signal onAbort
response GitHubGraphQLResponse
error
signal onAbort
error
statusCode body GitHubRequestErrorKind
statusCode
body
statusCode
body
normalized body
normalized
normalizedlength maximumErrorBodyLength
normalized
data limit remaining used resetAt
data data data rateLimit
rateLimit Reflectdata
rateLimit rateLimit
limit rateLimit
remaining rateLimit
used rateLimit
resetAt rateLimit
value object key
property Reflectvalue key
property property
value object key
property Reflectvalue key
property property
value
value
value value
value
value
url value
value
valuehost
query
querygroupsname
error
error
error errorname error
url allowInsecureLoopback
urlprotocol
allowInsecureLoopback
urlprotocol
urlhostname urlhostname urlhostname
response Response
maximumBytes
signal AbortSignal
bytes Uint8Array truncated
limit Math maximumBytes
responsebody
bytes truncated
reader responsebody
chunks Uint8Array
length
signalaborted
signalreason
result reader
resultdone
length resultvaluebyteLength limit
remaining Math limit length
remaining
chunksresultvalue remaining
length remaining
reader
bytes chunks length truncated
chunksresultvalue
length resultvaluebyteLength
bytes chunks length truncated
reader
chunks Uint8Array length Uint8Array
result length
offset
chunk chunks
resultchunk offset
offset chunkbyteLength
result