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 { shouldInclude } from '../../../util/common/glob';
import { Result } from '../../../util/common/result';
import { TelemetryCorrelationId } from '../../../util/common/telemetryCorrelationId';
import { raceCancellationError } from '../../../util/vs/base/common/async';
import { CancellationToken } from '../../../util/vs/base/common/cancellation';
import { isCancellationError } from '../../../util/vs/base/common/errors';
import { URI
Range
createDecorator IInstantiationService
IAuthenticationService
FileChunk FileChunkAndScore
stripChunkTextMetadata truncateToMaxUtf8Length
EmbeddingType
ICAPIClientService
IEnvService
GithubRepoId toGithubNwo
makeGitHubAPIRequest
getGithubMetadataHeaders
IIgnoreService
ILogService
IFetcherService Response
postRequest
ITelemetryService
CodeSearchOptions LexicalCodeSearchResult RemoteCodeSearchError RemoteCodeSearchIndexState RemoteCodeSearchIndexStatus SemanticCodeSearchResult
results SemanticSearchResult
embedding_model
chunk
hash
text
range start end
line_range start end
embedding embedding
distance
location
path
commit_sha
ref_name
repo
nwo
url
kind
githubRepoId GithubRepoId
localRepoRoot
indexedCommit
kind
org
GithubCodeSearchRepoInfo GithubCodeSearchOrgInfo
IGithubCodeSearchService
_serviceBrand
authOptions silent
githubRepoId GithubRepoId
telemetryInfo TelemetryCorrelationId
token CancellationToken
ResultRemoteCodeSearchIndexState RemoteCodeSearchError
authOptions silent
triggerReason
githubRepoId GithubRepoId
telemetryInfo TelemetryCorrelationId
Result RemoteCodeSearchError
authOptions silent
embeddingType EmbeddingType
scope GithubCodeSearchRepoInfo
query
maxResults
options CodeSearchOptions
telemetryInfo TelemetryCorrelationId
token CancellationToken
SemanticCodeSearchResult
authOptions silent
scope GithubCodeSearchScope
query
maxResults
options CodeSearchOptions
telemetryInfo TelemetryCorrelationId
token CancellationToken
LexicalCodeSearchResult
_serviceBrand
_authenticationService IAuthenticationService
_capiClientService ICAPIClientService
_envService IEnvService
_fetcherService IFetcherService
_ignoreService IIgnoreService
_logService ILogService
_telemetryService ITelemetryService
_instantiationService IInstantiationService
auth silent githubRepoId GithubRepoId telemetryInfo TelemetryCorrelationId token CancellationToken ResultRemoteCodeSearchIndexState RemoteCodeSearchError
repoNwo githubRepoId
repoNwo
Result status RemoteCodeSearchIndexStatusNotYetIndexed
authToken authsilent
authToken
_logService
Result type
statusRequest _capiClientService
method
headers
Authorization
telemetryInfocallTracker _envService
type RequestTypeEmbeddingsIndex repoWithOwner repoNwo token
statusRequestok
_telemetryService
statusCode statusRequeststatus
_logService
statusRequeststatus statusRequeststatus
Result type
Result type error
preCheckResult statusRequest token
preCheckResultsemantic_code_search_ok preCheckResultsemantic_commit_sha
indexedCommit preCheckResultsemantic_commit_sha
_logService
Result
status RemoteCodeSearchIndexStatusReady
indexedCommit
preCheckResultsemantic_indexing_enabled
authToken githubRepoId token token
_logService
Result
status RemoteCodeSearchIndexStatusReady
indexedCommit
_logService
Result status RemoteCodeSearchIndexStatusBuildingIndex
_logService
Result status RemoteCodeSearchIndexStatusNotYetIndexed
e
e
e
_logService
Result type error e e e
auth silent
triggerReason
githubRepoId GithubRepoId
telemetryInfo TelemetryCorrelationId
Result RemoteCodeSearchError
authToken authsilent
authToken
Result type
response _capiClientService
method
headers
Authorization
telemetryInfocallTracker _envService
body
auto triggerReason
type RequestTypeEmbeddingsIndex repoWithOwner githubRepoId
responseok
_logService
_telemetryService
workspaceSearchSource telemetryInfocallTracker
workspaceSearchCorrelationId telemetryInfocorrelationId
triggerReason
statusCode responsestatus
responsestatus responsestatus
Result type
Result type error
_telemetryService
workspaceSearchSource telemetryInfocallTracker
workspaceSearchCorrelationId telemetryInfocorrelationId
triggerReason
Result
auth silent
embeddingType EmbeddingType
repo GithubCodeSearchRepoInfo
searchQuery
maxResults
options CodeSearchOptions
telemetryInfo TelemetryCorrelationId
token CancellationToken
SemanticCodeSearchResult
authToken authsilent
authToken
response
_instantiationServicepostRequest
endpointOrUrl type RequestTypeEmbeddingsCodeSearch
secretKey authToken
intent
requestId
body
scoping_query
prompt searchQuery
include_embeddings
limit maxResults
embedding_model embeddingTypeid
satisfies
scoping_query
prompt
include_embeddings
limit
embedding_model
additionalHeaders telemetryInfocallTracker _envService
cancelToken token
token
responseok
_telemetryService
workspaceSearchSource telemetryInfocallTracker
workspaceSearchCorrelationId telemetryInfocorrelationId
statusCode responsestatus
body response token
bodyresults
result body repo options _ignoreService token
_telemetryService
workspaceSearchSource telemetryInfocallTracker
workspaceSearchCorrelationId telemetryInfocorrelationId
resultCount bodyresultslength
resultOutOfSync resultoutOfSync
result
auth silent
scope GithubCodeSearchScope
query
maxResults
options CodeSearchOptions
telemetryInfo TelemetryCorrelationId
token CancellationToken
LexicalCodeSearchResult
authToken authsilent
authToken
scopeQualifier scopekind
searchQuery
routeSlug
body
_fetcherService
_logService
_telemetryService
_capiClientServicedotcomAPIURL
routeSlug
authToken
accept
additionalHeaders telemetryInfocallTracker _envService
callSite
token
body
_telemetryService
workspaceSearchSource telemetryInfocallTracker
workspaceSearchCorrelationId telemetryInfocorrelationId
bodyitems
result body scope options _ignoreService token
_telemetryService
workspaceSearchSource telemetryInfocallTracker
workspaceSearchCorrelationId telemetryInfocorrelationId
resultCount bodyitemslength
result
silent
_authenticationService silent accessToken
_authenticationService silent accessToken
authToken githubRepoId GithubRepoId token CancellationToken
response _capiClientServicedotcomAPIURL
headers
token
responseok
_logService
data response
datasize datadefault_branch
body ResponseShape repo GithubCodeSearchRepoInfo options CodeSearchOptions skipVerifyRepo ignoreService IIgnoreService SemanticCodeSearchResult
outOfSync
outChunks FileChunkAndScore
embeddingsType bodyembedding_model
bodyresults result FileChunkAndScore
optionsskipVerifyRepo resultlocationreponwo repogithubRepoId
fileUri
repolocalRepoRoot
fileUri repolocalRepoRoot resultlocationpath
ignoreServicefileUri
fileUri
scheme
path resultlocationpath
fileUri optionsglobPatterns
outOfSync repoindexedCommit resultlocationcommit_sha repoindexedCommit
outChunks
chunk
file fileUri
text resultchunktext
rawText
range resultchunkline_rangestart resultchunkline_rangeend
isFullFile
distance
embeddingType embeddingsType
value resultdistance
firstResult bodyresults
remoteUrl
refName
firstResult
apiUrl firstResultlocationrepourl
nwo firstResultlocationreponwo
parsed apiUrl
host parsedauthority parsedauthority
remoteUrl
remoteUrl
rawRef firstResultlocationref_name
rawRef
refName rawReflength
rawRef
refName rawRef
chunks outChunks outOfSync remoteUrl refName
total_count
incomplete_results
items LexicalSearchItem
path
repository
full_name
text_matches
fragment
matches text indices
object_type
property
score
body LexicalSearchResponseShape scope GithubCodeSearchScope skipVerifyRepo options CodeSearchOptions skipVerifyRepo ignoreService IIgnoreService LexicalCodeSearchResult
outChunks FileChunk
bodyitems item
optionsskipVerifyRepo scopekind itemrepositoryfull_name scopegithubRepoId
optionsskipVerifyRepo scopekind itemrepositoryfull_name scopeorg
localRepoRoot scopekind scopelocalRepoRoot
fileUri
localRepoRoot
fileUri localRepoRoot itempath
ignoreServicefileUri
fileUri
scheme
path itemrepositoryfull_name itempath
fileUri optionsglobPatterns
textMatches itemtext_matchesm mproperty
textMatches textMatcheslength
match textMatches
outChunks
file fileUri
text matchfragment
rawText
range
isFullFile
outChunks
file fileUri
text
rawText
range
isFullFile
chunks outChunks outOfSync