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 * as l10n from '@vscode/l10n';
import * as readline from 'readline';
import { Readable } from 'stream';
import type { Selection, TextDocument, TextEditor } from 'vscode';
import { IAuthenticationService } from '../../../platform/authentication/common/authentication';
import { ConfigKey } from '../../../platform/configuration/common/configurationService';
import { ICustomInstructionsService
TextDocumentSnapshot
ICAPIClientService
IDomainService
IEnvService
IGitExtensionService
Repository
IIgnoreService
ILogService
IFetcherService Response
Progress
ReviewComment ReviewRequest
IWorkspaceService
CancellationToken
path
generateUuid
MarkdownString Range Uri
FeedbackResult
testing
repository Repository
uri Uri
relativePath
before
after
selection Selection
document TextDocument
relativePath
processplatform relativePath relativePath
git
editor TextEditor
workspaceService IWorkspaceService
FileChange
repository giteditordocumenturi
uri editordocumenturi
relativePath workspaceServiceeditordocumenturi
before
after editordocument
selection editorselection
document editordocument
git
group
workspaceService IWorkspaceService
FileChange
repositoryChanges gitrepositories repository
uris
group group
repositorystateindexChangesc uriscuri
group group
repositorystateworkingTreeChangesc uriscuri
repositorystateuntrackedChangesc uriscuri
changes uris uri
document workspaceServiceuri
document
before group group repository urifsPath repository urifsPath
after group repository urifsPath document
relativePath pathrepositoryrootUrifsPath urifsPath
repository
uri
relativePath relativePath
before
after
document
changes
repositoryChanges
git
group repositoryRoot commitMessages patches patch fileUri previousFileUri
workspaceService IWorkspaceService
FileChange
grouppatches patch
uri UripatchfileUri
document workspaceServiceuri
document
after document
before after patchpatch
relativePath pathgrouprepositoryRoot urifsPath
repository gitUrigrouprepositoryRoot
relativePath relativePath
before
after
document
git
group group file Uri
workspaceService IWorkspaceService
FileChange
group g file group
repository gitfile
document workspaceServicefile
repository document
before g repository filefsPath repository filefsPath
after g repository filefsPath document
relativePath pathrepositoryrootUrifsPath filefsPath
repository
relativePath relativePath
before
after
document
git
group group file Uri repositoryRoot commitMessages patches patch fileUri previousFileUri
editor TextEditor
workspaceService IWorkspaceService
FileChange
group
git editor workspaceService
group
changes git group workspaceService
changeschange change FileChange change
group
changes git group workspaceService
changeschange change FileChange change
git group workspaceService
logService ILogService
gitExtensionService IGitExtensionService
authService IAuthenticationService
capiClientService ICAPIClientService
domainService IDomainService
fetcherService IFetcherService
envService IEnvService
ignoreService IIgnoreService
workspaceService IWorkspaceService
customInstructionsService ICustomInstructionsService
group group file Uri repositoryRoot commitMessages patches patch fileUri previousFileUri
editor TextEditor
progress ProgressReviewComment
cancellationToken CancellationToken
FeedbackResult
git gitExtensionService
git
type comments
changes git group editor workspaceService
changeslength
type comments
ignored changesi ignoreServiceidocumenturi
filteredChanges changes_ i ignoredi
filteredChangeslength
logService
type
severity
reason l10n
logService
requestId rl testing
logService
authService
capiClientService
fetcherService
envService
customInstructionsService
workspaceService
group
filteredChangesrepository
filteredChangeschange path changerelativePath content changebefore languageId changedocumentlanguageId
filteredChangeschange path changerelativePath content changeafter languageId changedocumentlanguageId selection change changeselection
cancellationToken
requestId
rl
rl cancellationTokenisCancellationRequested
type
logService
request ReviewRequest
source
promptCount
messageId requestId
inputType
inputRanges
references ResponseReference
comments ReviewComment
line rl
cancellationTokenisCancellationRequested
type
logService
refs line
referencesrefs
ghComment refsref reftype
change filteredChangeschange changerelativePath ghCommentdatapath
change
comment ghComment request changedocument commentslength
commentscomment
progresscomment
excludedComments referencesref ref ExcludedComment reftype
ghComment
change filteredChangeschange changerelativePath ghCommentdatapath
ghComment change
item item ghComment ExcludedComment change NonNullable itemchange itemchange
ghComment change i ghComment request changedocument commentslength i
unsupportedLanguages commentslength referencesref ref ExcludedFile reftype refdatareason
ref refdatalanguage
type comments excludedComments reason unsupportedLanguageslength l10n unsupportedLanguages
logService ILogService
authService IAuthenticationService
capiClientService ICAPIClientService
fetcherService IFetcherService
envService IEnvService
ignoreService IIgnoreService
workspaceService IWorkspaceService
customInstructionsService ICustomInstructionsService
fileInputs currentUri Uri baseContent
cancellationToken CancellationToken
FeedbackResult
changes relativePath before after document TextDocument uri Uri
input fileInputs
document workspaceServiceinputcurrentUri
changes
uri inputcurrentUri
relativePath workspaceServiceinputcurrentUri
before inputbaseContent
after document
document
changeslength
type comments
ignored changesc ignoreServicecuri
filteredChanges changes_ i ignoredi
filteredChangeslength
logService
type
severity
reason l10n
logService
requestId rl
logService authService capiClientService fetcherService envService
customInstructionsService workspaceService
filteredChangesc path crelativePath content cbefore languageId cdocumentlanguageId
filteredChangesc path crelativePath content cafter languageId cdocumentlanguageId
cancellationToken
rl cancellationTokenisCancellationRequested
type
logService
request ReviewRequest
source
promptCount
messageId requestId
inputType
inputRanges
references ResponseReference
comments ReviewComment
line rl
cancellationTokenisCancellationRequested
type
logService
refs line
referencesrefs
ghComment refsref reftype
change filteredChangesc crelativePath ghCommentdatapath
change
comment ghComment request changedocument commentslength
commentscomment
excludedComments referencesref ref ExcludedComment reftype
ghComment
change filteredChangesc crelativePath ghCommentdatapath
ghComment change
item item ghComment ExcludedComment change NonNullable itemchange itemchange
ghComment change i ghComment request changedocument commentslength i
unsupportedLanguages commentslength referencesref ref ExcludedFile reftype refdatareason
ref refdatalanguage
type comments excludedComments reason unsupportedLanguageslength l10n unsupportedLanguages
ghComment ResponseComment ExcludedComment request ReviewRequest document TextDocument index
fromLine documentghCommentdataline
lastNonWhitespaceCharacterIndex fromLinetextlength
range fromLinelineNumber fromLinefirstNonWhitespaceCharacterIndex fromLinelineNumber lastNonWhitespaceCharacterIndex
raw ghCommentdatabody
content suggestions raw
startLine ghCommentdatastart_line ghCommentdatastart_line ghCommentdataline
suggestionRange startLine ghCommentdataline
comment ReviewComment
request
document TextDocumentSnapshotdocument
uri documenturi
languageId documentlanguageId
range
body content
kind
severity
originalIndex index
actionCount
skipSuggestion
suggestion
markdown
edits suggestionssuggestion
oldText documentsuggestionRange
range suggestionRange
newText suggestion
oldText
comment
body
suggestions
content body _match _ws _nl suggestion
suggestion
suggestionssuggestion
content suggestions
path
content
languageId
selection Selection
ResponseComment ExcludedComment ExcludedFile type
type
data
path
line
body
start_line
type
data
path
line
body
start_line
exclusion_reason
type
data
file_path
language
reason
type
data
copilot_references RawReference
ref RawReference ref RawReference type
reftype
line ResponseReference
line
line
parsedLine ParsedResponse line
parsedLinecopilot_references parsedLinecopilot_referenceslength
parsedLinecopilot_referenceshasType ResponseReference
logService ILogService authService IAuthenticationService capiClientService ICAPIClientService fetcherService IFetcherService envService IEnvService customInstructionsService ICustomInstructionsService workspaceService IWorkspaceService kind repository Repository baseFileContents FileState headFileContents FileState cancellationToken CancellationToken
languageIdToFilePatterns
file baseFileContents headFileContents
ext pathfilepath
ext
languageIdToFilePatternsfilelanguageId
languageIdToFilePatternsfilelanguageId
languageIdToFilePatternsfilelanguageId
customInstructions customInstructionsService workspaceService kind languageIdToFilePatterns
requestBody
messages
role
kind
review_type
snippet_files headFileContentsf
path fpath
regions
start_line fselectionstartline
end_line fselectionendline fselectionendcharacter
copilot_references
type
id
data
type
headFileContents headFileContents path content path content
baseFileContents baseFileContents path content path content
customInstructions
abort fetcherService
disposable cancellationToken abort
response Response
copilotToken authService
response capiClientService
method
headers
Authorization copilotTokentoken
body requestBody
signal abortsignal
type RequestTypeCodeReviewAgent
err
fetcherServiceerr
requestId
rl
err
disposable
requestId responseheaders
responseok
responsestatus
err
err severity
err
requestId
rl readline input Readableresponsebody
after diff
patch diff
patchedLines after patch
patchedLines
beforeLineNumber
content
type
patchLines LineChange
changes LineChange
beforeLineNumber
line patchLines
line
match line
match
beforeLineNumber match
beforeLineNumber
line
changes beforeLineNumber content line type
line
changes beforeLineNumber content line type
beforeLineNumber
beforeLineNumber
changes
fileLines patch LineChange
change patch
changetype
fileLineschangebeforeLineNumber
changetype
fileLineschangebeforeLineNumber changecontent
fileLines
type
id
data
id
type
name
description
filePatterns
customInstructionsService ICustomInstructionsService workspaceService IWorkspaceService kind languageIdToFilePatterns Map Set firstId CodingGuideline
customInstructionRefs
nextId firstId
agentInstructionUris customInstructionsService
uri agentInstructionUris
instructions customInstructionsServiceUriuri
instructions
relativePath workspaceServiceUriuri
instruction instructionscontent
instructionlanguageId languageIdToFilePatternsinstructionlanguageId
filePatterns instructionlanguageId languageIdToFilePatternsinstructionlanguageId
customInstructionRefs
type
id
data
id nextId
type
name
description instructioninstruction
filePatterns
nextId
settingsConfigs
config ConfigKeyCodeGenerationInstructions name
kind config ConfigKeyCodeFeedbackInstructions name
config name settingsConfigs
instructionsGroups customInstructionsServiceconfig
instructionsGroup instructionsGroups
instruction instructionsGroupcontent
instructionlanguageId languageIdToFilePatternsinstructionlanguageId
filePatterns instructionlanguageId languageIdToFilePatternsinstructionlanguageId
customInstructionRefs
type
id
data
id nextId
type
name
description instructioninstruction
filePatterns
nextId
customInstructionRefs