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 * as l10n from '@vscode/l10n';
import { Raw } from '@vscode/prompt-tsx';
import { parse } from 'jsonc-parser';
import type * as vscode from 'vscode';
import { IResponsePart } from '../../../platform/chat/common/chatMLFetcher';
import { ChatLocation } from '../../../platform/chat/common/commonTypes';
import { ConfigKey, IConfigurationService } from '../../../platform/configuration/common/configurationService';
import { IEndpointProvider
FileType
GithubRepositoryItem IGithubRepositoryService
IChatEndpoint
IWorkspaceService
extractCodeBlocks
createServiceIdentifier
CancellationToken
path
IInstantiationService
ChatResponseFileTreePart MarkdownString Uri
Intent
commandUri
convertFileTreeToChatResponseFileTree
IBuildPromptContext
IIntent IIntentInvocation IIntentInvocationContext IIntentSlashCommandInfo IntentLinkificationOptions IResponseProcessorContext
PromptRenderer
NewWorkspaceGithubContentMetadata NewWorkspacePrompt
NewWorkspaceContentsPromptProps
FileContentsGenerator ProjectSpecificationGenerator
ChatResponseFileTree
content Uint8Array
ctime
type FileType
INewWorkspacePreviewContentManager
_serviceBrand
responseId projectName fileTree ChatResponseFileTreePart serviceArgs
uri Uri FileTreeDataWithContent
responseId ChatResponseFileTreePart
CreateProjectCommand
CreateFileCommand
OpenFileCommand
_serviceBrand
copilotContentManager NewWorkspaceCopilotContentManager
githubContentManager NewWorkspaceGitHubContentManager
fileContentManager NewWorkspaceFileContentManager
responseScopedData
prevResponseId
prevFileContents
instantiationService IInstantiationService
copilotContentManager instantiationServiceNewWorkspaceCopilotContentManager
githubContentManager instantiationServiceNewWorkspaceGitHubContentManager
fileContentManager
responseId projectName fileTree ChatResponseFileTreePart serviceArgs
responseScopedDataresponseId fileTree
fileTreebaseUri
githubContentManagerresponseId projectName fileTree serviceArgs
fileTreebaseUri
fileContentManagerresponseId projectName fileTree serviceArgs
copilotContentManagerresponseId projectName fileTree serviceArgs
uri Uri FileTreeDataWithContent
prevResponseId uriauthority
prevFileContents
prevResponseId uriauthority
fileContents FileTreeDataWithContent
uri
fileContents githubContentManageruriauthority uripath
uri
fileContents fileContentManageruriauthority uripath
fileContents copilotContentManageruriauthority uripath prevFileContents
fileContentscontentcontent
prevFileContentsuripath
decoder
fileContentStr decodercontent
prevFileContentsuripath fileContentStr
fileContents
responseId ChatResponseFileTreePart
responseScopedDataresponseId
userPrompt
projectStructure
projectSpecification
fileTree ChatResponseFileTreePart
chatMessages RawChatMessage
_serviceBrand
promises
responseScopedData
generatePlanPrompt instantiationServiceProjectSpecificationGenerator
generateFilePrompt instantiationServiceFileContentsGenerator
instantiationService IInstantiationService
responseId projectName fileTree ChatResponseFileTreePart serviceArgs
userPrompt projectStructure chatMessages serviceArgs
promptArgs NewWorkspaceContentsPromptProps
query userPrompt
fileTreeStr projectStructure
history chatMessages
projectSpecificationPromise generatePlanPromptpromptArgs CancellationTokenNone
promisesprojectSpecificationPromise
sessionScopedData responseId
projectData ProjectData userPrompt projectSpecification projectSpecificationPromise projectStructure fileTree fileTree chatMessages
sessionScopedDataprojectName projectData
responseId path prevFileContents Map FileTreeDataWithContent
projectName path relativePath path
responseScopedData responseId
data responseScopedDataprojectName
data
fileNodes FileTreeDataWithContent datafileTreevalue
currentNode fileNodes relativePath
currentNode currentNodecontent
nodeWithMissingContent currentNode
nodeWithMissingContentcontent datauserPrompt dataprojectStructure dataprojectSpecification path datachatMessages prevFileContents nodeWithMissingContentcontent
currentNode
userPrompt projectStructure projectSpecification fileTree vscodeChatResponseFileTree chatMessages RawChatMessage FileTreeDataWithContent
ctime Date
fileTreechildren
fileTree type FileTypeDirectory children fileTreechildrenchild userPrompt projectStructure projectSpecification child chatMessages ctime
fileTree type FileTypeFile content ctime
projectDescription projectStructure projectSpecPromise filePath chatMessages RawChatMessage prevFileContents Map Uint8Array
promptArgs NewWorkspaceContentsPromptProps
query projectDescription
fileTreeStr projectStructure
filePath filePath
projectSpecification projectSpecPromise
history chatMessages
relavantFiles prevFileContentsfilePath filePath prevFileContentsfilePath
generateFilePromptpromptArgs CancellationTokenNoneresponse Bufferresponse
responseId
responseScopedData responseScopedDataresponseId
responseScopedData
responseScopedData
responseScopedDataresponseId responseScopedData
responseScopedData
fullPath
projectName path fullPath
projectName path
org
repo
path
fileTree ChatResponseFileTreePart
responseScopedData
repositoryService IGithubRepositoryService
responseId projectName fileTree ChatResponseFileTreePart serviceArgs
githubContentMetadata serviceArgs NewWorkspaceGithubContentMetadata
sessionScopedData responseId
githubData GithubData githubContentMetadata fileTree
sessionScopedDataprojectName githubData
responseId filePath FileTreeDataWithContent
projectName path relativePath filePath
responseScopedData responseId
rootNode responseScopedDataprojectName
rootNode
fileNodes FileTreeDataWithContent rootNodefileTreevalue
currentNode fileNodes relativePath
currentNode currentNodecontent currentNodechildren
nodeWithMissingContent currentNode
folderPath rootNodepath pathposixrootNoderepo filePath pathposixrootNodepath filePath
nodeWithMissingContentcontent repositoryServicerootNodeorg rootNoderepo folderPath nodeWithMissingContentcontent
currentNode
fullPath
projectName path fullPath
projectName path
responseId
responseScopedData responseScopedDataresponseId
responseScopedData
responseScopedData
responseScopedDataresponseId responseScopedData
responseScopedData
fileTree ChatResponseFileTreePart
content
responseScopedData
responseId projectName fileTree ChatResponseFileTreePart serviceArgs
fileContents serviceArgs
sessionScopedData responseId
fileContentData FileData content fileContents fileTree
sessionScopedDataprojectName fileContentData
responseId filePath FileTreeDataWithContent
projectName path relativePath filePath
responseScopedData responseId
rootNode responseScopedDataprojectName
rootNode
fileNodes FileTreeDataWithContent rootNodefileTreevalue
currentNode fileNodes relativePath
currentNode currentNodecontent currentNodechildren
currentNodecontent rootNodecontent
currentNode
fullPath
projectName path fullPath
projectName path
responseId
responseScopedData responseScopedDataresponseId
responseScopedData
responseScopedData
responseScopedDataresponseId responseScopedData
responseScopedData
fileTree vscodeChatResponseFileTree pathElements FileTreeDataWithContent
currentNode FileTreeDataWithContent
element pathElements
currentNode
currentNodechildren
currentNode currentNodechildrennode nodename element currentNode
currentNode fileTreenode nodename element
currentNode
newId
IntentNew
id IntentNew
locations ChatLocationPanel
description l10n
commandInfo IIntentSlashCommandInfo
allowsEmptyArgs
defaultEnablement
endpointProvider IEndpointProvider
instantiationService IInstantiationService
invocationContext IIntentInvocationContext IIntentInvocation
location invocationContextlocation
endpoint endpointProviderinvocationContextrequest
instantiationServiceNewWorkspaceIntentInvocation endpoint location
fileTree ChatResponseFileTreePart workspaceRoot Uri vscodeCommand
command CreateProjectCommand
arguments fileTree workspaceRoot
title l10n
fileTree ChatResponseFileTreePart vscodeCommand
command CreateFileCommand
arguments fileTree
title l10n
githubContentMetadata NewWorkspaceGithubContentMetadata
linkification IntentLinkificationOptions disable
intent NewWorkspaceIntent
endpoint IChatEndpoint
location ChatLocation
instantiationService IInstantiationService
configurationService IConfigurationService
newWorkspacePreviewContentManager INewWorkspacePreviewContentManager
workspaceService IWorkspaceService
useProjectTemplates configurationServiceConfigKeyUseProjectTemplates
useProjectTemplates
useProjectTemplates
promptContext IBuildPromptContext progress vscodeProgressvscodeChatResponseProgressPart vscodeChatResponseReferencePart token vscodeCancellationToken
query history chatVariables promptContext
useTemplates chatVariables historyhistorylength requestmessage query
renderer PromptRendererinstantiationService endpoint NewWorkspacePrompt
promptContext
useTemplates useTemplates
endpoint endpoint
result rendererprogress token
metadata resultmetadataNewWorkspaceGithubContentMetadata
metadata
githubContentMetadata metadata
result
context IResponseProcessorContext inputStream AsyncIterableIResponsePart outputStream vscodeChatResponseStream token CancellationToken
responseProcessor newWorkspacePreviewContentManager workspaceService githubContentMetadata
responseProcessorcontext inputStream outputStream token
items GithubRepositoryItem baseUri Uri isRepoRoot ChatResponseFileTreePart
paths
isRepoRoot
paths itemsitem baseUripath itempath
paths itemsitem itempath
rootName paths
root vscodeChatResponseFileTree name rootName children
result key vscodeChatResponseFileTree rootName root
path paths
pathParts path
currentPath rootName
currentNode root
i achildren bchildren
name rootName children sortedTree baseUri
CopilotWorkspaceScheme
GithubWorkspaceScheme
CopilotFileScheme
requestId filePath isGithubRepo
Uri
scheme isGithubRepo GithubWorkspaceScheme CopilotWorkspaceScheme
authority requestId
path filePath
_appliedText
_p
newWorkspacePreviewContentManager INewWorkspacePreviewContentManager
workspaceService IWorkspaceService
githubContentMetadata NewWorkspaceGithubContentMetadata
context IResponseProcessorContext inputStream AsyncIterableIResponsePart outputStream vscodeChatResponseStream token vscodeCancellationToken
turn messages context
isBufferingFileTree
projectStructure
fileTreeStartRegex
chatMessages messagesmessage messagerole RawChatRoleSystem
hasReportingStarted
delta inputStream
tokenisCancellationRequested
incomingText deltatext
_p _p
requestId turnid
incomingText
_appliedText
_appliedText incomingText
_appliedText
userPrompt turnrequestmessage
hasWholeCodeBlock _appliedText
hasWholeCodeBlock isBufferingFileTree hasReportingStarted
isBufferingFileTree
before after _appliedTexthasWholeCodeBlock
hasReportingStarted
outputStreambefore
projectStructure hasWholeCodeBlock
chatResponseTree projectName projectStructure fp requestId fp
outputStreaml10n
outputStreamchatResponseTree
outputStreamafter
newWorkspacePreviewContentManagerrequestId projectName chatResponseTree userPrompt projectStructure chatMessages
_appliedTextfileTreeStartRegex isBufferingFileTree hasWholeCodeBlock
isBufferingFileTree
_ after _appliedTextfileTreeStartRegex
projectStructure after
outputStreaml10n
isBufferingFileTree
projectStructure incomingText
isBufferingFileTree _appliedText
hasReportingStarted
outputStreamincomingText
_appliedText
outputStreamincomingText
_appliedText
_p
turnid
githubContentMetadata
githubContentMetadataorg
githubContentMetadatarepo
githubContentMetadatapath
githubContentMetadatagithubRepoItems
newWorkspacePreviewContentManagerturnid
outputStreamUrigithubContentMetadatagithubRepoItemshtml_url
outputStreaml10n
isRepoRoot githubContentMetadatapath
projectName isRepoRoot githubContentMetadatarepo githubContentMetadatapath
chatResponseTree githubContentMetadatagithubRepoItems turnid projectName isRepoRoot
outputStreamchatResponseTree
workspaceFolders workspaceService
outputStreamchatResponseTree workspaceFolderslength workspaceFolders
newWorkspacePreviewContentManagerturnid projectName chatResponseTree githubContentMetadata
query
markdownString l10n query
markdownStringisTrusted enabledCommands
outputStreammarkdownString
fileContentGeneration _appliedText
fileContentGenerationlength
fileName
fileName fileContentGenerationcode
e
e
baseUri Uri
scheme CopilotFileScheme
authority turnid
path
fileTree name baseUri
commandstr OpenFileCommand fileTree
markdownString
markdownStringisTrusted enabledCommands OpenFileCommand
outputStreaml10n
outputStreammarkdownString
newWorkspacePreviewContentManagerturnid fileNamefileName fileTree fileContentGenerationcode
turnid outputStream
turnRequestId outputStream vscodeChatResponseStream
fileTree newWorkspacePreviewContentManagerturnRequestId
fileTree
fileTreebaseUri
fileTreebaseUri
outputStreamfileTree
workspaceFolders workspaceService
outputStreamfileTree workspaceFolderslength workspaceFolders
uri Uri
urischeme GithubWorkspaceScheme
uri Uri
urischeme CopilotFileScheme