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 { Minimatch } from 'minimatch';
import { createSha256Hash } from '../../../util/common/crypto';
import { coalesce } from '../../../util/vs/base/common/arrays';
import { DeferredPromise, Limiter, raceCancellationError, timeout } from '../../../util/vs/base/common/async';
import { CancellationToken } from '../../../util/vs/base/common/cancellation';
import { IDisposable } from '../../../util/vs/base/common/lifecycle';
ResourceMap
IAuthenticationService
ICAPIClientService
IFileSystemService
readFileFromTextBufferOrFS
IGitService RepoContext normalizeFetchUrl
ILogService
IRequestLogger
IWorkspaceService
composeFetchMiddleware
FetchBlockedError
authBlockedMiddleware
rateLimitBackoffMiddleware
serverErrorBackoffMiddleware
paths
ifNoneMatch
ifAnyMatch
source name type
rules ContentExclusionRule
last_updated_at
repoRootPath fetchUrls
RepoMetadata rootUri
patterns
ifAnyMatch RegExp
ifNoneMatch RegExp
fetchedAt
verdict generation
deferred DeferredPromise dispatched
nocase
matchBase
nonegate
dot
_contentExclusionCache Map CachedRules
_pendingRepos Map PendingFetch
_batchLimiter Limiter
_scheduledDrain
_disposed
_compiledGlobs Minimatch
_regexRuleCount
_rulesGeneration
_earliestRuleExpiry
_ignoreGlobResultCache ResourceMapCachedVerdict
_ignoreRegexResultCache Map CachedVerdict
_fetchExclusionRules HttpFetchFn
_disposables IDisposable
_fileReadLimiter Limiter Uint8Array
_repoRootCache Map CachedRepoMetadata
_gitService IGitService
_logService ILogService
_authService IAuthenticationService
_capiClientService ICAPIClientService
_fileSystemService IFileSystemService
_workspaceService IWorkspaceService
_requestLogger IRequestLogger
Datenow
_disposables_gitServicer
repoInfo r
repoInfo
repoInfo
_disposables_gitServicer
repoInfo r
repoInfo
_repoRootCacherepoInforootUri
url repoInfofetchUrls
_contentExclusionCacheurl
_fileReadLimiter
_disposables_fileReadLimiter
_batchLimiter
_disposables_batchLimiter
_fetchExclusionRules
now _now
request _capiClientService
headers requestheaders
type RequestTypeContentExclusion repos requeststaterepos
file token CancellationToken CancellationTokenNone contents
hasProvidedContents contents
hasProvidedContents
memoised file
memoised
memoised
resolvedRepo file
resolvedRepo
repo _gitServicefile token
resolvedRepo repo
resolvedRepo
resolvedRepo
repoSettled resolvedRepo resolvedRepofetchUrlslength _gitServiceisInitialized
repoMetadata RepoMetadata resolvedRepo repoRootPath fetchUrls
fileName filepathrepoMetadatarepoRootPath
rulesLoaded repoMetadatafetchUrls token
generation _rulesGeneration
glob _compiledGlobs
globfileName globfilepath
_logService
_ignoreGlobResultCachefile verdict generation
fileContents contents
regexRuleSources repoMetadatafetchUrls
repoMetadatafetchUrls
repoMetadatafetchUrls
regexScope regexRuleSources
regexCacheKey
fetchUrl regexRuleSources
ifAnyMatch ifNoneMatch _contentExclusionCachefetchUrl ifAnyMatch ifNoneMatch
ifAnyMatchlength ifNoneMatchlength
fileContents
fileContentOrBuffer _fileReadLimiter _fileSystemService _workspaceService file
fileContents fileContentOrBuffer fileContentOrBuffer fileContentOrBuffer
regexCacheKey
fileContentHash fileContents
regexCacheKey
cachedRegexVerdict _ignoreRegexResultCacheregexCacheKey
cachedRegexVerdict cachedRegexVerdictgeneration generation
cachedRegexVerdictverdict
contentsToCheck fileContents
ifAnyMatchlength contentsToCheck ifAnyMatchpattern patterncontentsToCheck
_logService
_ignoreRegexResultCacheregexCacheKey verdict generation
ifNoneMatchlength contentsToCheck ifNoneMatchpattern patterncontentsToCheck
_logService
_ignoreRegexResultCacheregexCacheKey verdict generation
rulesLoaded repoSettled hasProvidedContents
_ignoreGlobResultCachefile verdict generation
regexCacheKey
_ignoreRegexResultCacheregexCacheKey verdict generation
file
cached _ignoreGlobResultCachefile
cached cachedgeneration _rulesGeneration _earliestRuleExpiry
cachedverdict isRegexContextExclusionsEnabled cachedverdict
_regexRuleCount
repoUris
repos repoUrisuri _gitServiceuri
fetchUrls
repo repos
repoInfo repo
repoInfo
repoInfo
fetchUrlsrepoInfofetchUrls
fetchUrls
metadata CachedRepoMetadata
metadatafetchUrlslength
_repoRootCachemetadatarootUri metadata
_pendingRepospending pendingdeferredp
_contentExclusionCache patterns patterns
_disposed
_pendingRepos
_pendingRepos
_disposablesd d
_disposables
_contentExclusionCache
_compiledGlobs
_regexRuleCount
_earliestRuleExpiry
fetchUrls
required fetchUrls
required
now
waits
url required
cached _contentExclusionCacheurl
cached now cachedfetchedAt
waitsurl
waitslength
waits
url required
_contentExclusionCacheurl
url
existing _pendingReposurl
existing
existingdeferredp
pending PendingFetch deferred dispatched
_disposed
pendingdeferred
pendingdeferredp
_pendingReposurl pending
pendingdeferredp
_scheduledDrain
_scheduledDrain
_scheduledDrain
_disposed
batchable _pendingRepos pending pendingdispatched
batchablelength
batchable pending pendingdispatched
i i batchablelength i
batch batchablei i
_batchLimiter batch
batch PendingFetch
repos batchrepo repo
startTime
ghToken _authService silent accessToken
response
url
headers
method
state repos
responsestatus responsestatus
_logService
repos response ContentExclusionResponse startTime
err
err
_logService
_logService
batch
batch PendingFetch
url pending batch
_pendingReposurl pending
_pendingReposurl
pendingdeferred
repos data ContentExclusionResponse startTime
fetchedAt
loggedRules patterns ifAnyMatch ifNoneMatch
rulesChanged
i i reposlength i
rules datairules
patterns rulesrule rulepaths
ifAnyMatch rulesrule ruleifAnyMatch
ifNoneMatch rulesrule ruleifNoneMatch
previous _contentExclusionCachereposi
rulesChanged previous previous patterns ifAnyMatch ifNoneMatch
_contentExclusionCachereposi patterns ifAnyMatch ifNoneMatch fetchedAt
loggedRules
patterns
ifAnyMatch ifAnyMatchr r
ifNoneMatch ifNoneMatchr r
rulesChanged
duration startTime
_logService
_requestLoggerrepos loggedRules duration
_rulesGeneration
_ignoreGlobResultCache
_ignoreRegexResultCache
globs Minimatch
regexRuleCount
earliestExpiry Number
patterns ifAnyMatch ifNoneMatch fetchedAt _contentExclusionCache
pattern patterns
globs pattern
err
_logService
regexRuleCount ifAnyMatchlength ifNoneMatchlength
earliestExpiry MathearliestExpiry fetchedAt
_compiledGlobs globs
_regexRuleCount regexRuleCount
_earliestRuleExpiry _contentExclusionCachesize earliestExpiry
patterns RegExp
compiled RegExp
pattern patterns
compiledpattern
err
_logService
compiled
repo PickRepoContext CachedRepoMetadata
repo reporemoteFetchUrls
fetchUrls reporemoteFetchUrlsurl
url
url
rootUri reporootUri repoRootPath reporootUripath fetchUrls fetchUrls
file CachedRepoMetadata
filePath filepath
bestMatch CachedRepoMetadata
bestMatchLength
metadata _repoRootCache
metadatarootUrischeme filescheme metadatarootUriauthority fileauthority
normalizedRepoRoot metadatarepoRootPath
filePathnormalizedRepoRoot filePath normalizedRepoRoot
normalizedRepoRootlength bestMatchLength
bestMatch metadata
bestMatchLength normalizedRepoRootlength
bestMatch
rootUri
a OmitCachedRules b OmitCachedRules
apatterns bpatterns
aifAnyMatchString bifAnyMatchString
aifNoneMatchString bifNoneMatchString
a b
alength blength avalue index value bindex
str RegExp
str str
str
pattern str str
flags strstr
pattern flags