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 type { CancellationToken, ChatResponseFileTreePart, ChatResponseStream, NotebookDocument } from 'vscode';
import { IChatMLFetcher, IResponsePart } from '../../../platform/chat/common/chatMLFetcher';
import { ChatFetchResponseType, ChatLocation } from '../../../platform/chat/common/commonTypes';
import { IConversationOptions } from '../../../platform/chat/common/conversationOptions';
import { ILogService }
IResponseDelta
IChatEndpoint
IAlternativeNotebookContentEditGenerator NotebookEditGenerationTelemtryOptions NotebookEditGenrationSource
ITelemetryService
IWorkspaceService
extractCodeBlocks filepathCodeBlockMarker
extractNotebookOutline INotebookSection
AsyncIterableObject AsyncIterableSource DeferredPromise
Lazy
IInstantiationService
ChatResponseMarkdownPart NotebookEdit Uri WorkspaceEdit
ChatVariablesCollection
Turn
IBuildPromptContext
IResponseProcessorContext
LineFilters LineOfText streamLines
renderPromptElement
NewNotebookCodeGenerationPrompt NewNotebookCodeImprovementPrompt
sendEditNotebookTelemetry
NewNotebookToolPrompt
messageText
stagedTextToApply
reporting
_resolvedContentDeferredPromise DeferredPromiseChatResponseFileTreePart ChatResponseMarkdownPart
endpoint IChatEndpoint
context IBuildPromptContext
instantiationService IInstantiationService
workspaceService IWorkspaceService
noteBookEditGenerator IAlternativeNotebookContentEditGenerator
logService ILogService
telemetryService ITelemetryService
context IResponseProcessorContext inputStream AsyncIterableIResponsePart outputStream ChatResponseStream token CancellationToken
turn messages context
delta inputStream
tokenisCancellationRequested
deltatext turn outputStream
messages outputStream token
textDelta turn Turn
messageText textDelta
textDelta progress ChatResponseStream
progresstextDelta
_incodeblock
_presentCodeblockProgress
textDelta turn Turn progress ChatResponseStream
reporting
textDelta turn
textDelta stagedTextToApply textDelta
_incodeblock
codeblockEnd textDelta
codeblockEnd
stagedTextToApply textDelta
turn
_presentCodeblockProgress
_presentCodeblockProgress
progressl10n
_incodeblock
textDelta textDelta codeblockEnd
textDelta turn
_e
reporting
stagedTextToApply
_resolvedContentDeferredPromise
codeblockStart textDelta
codeblockStart
_incodeblock
codeblockEnd textDelta codeblockStart
codeblockEnd
_incodeblock
textDelta codeblockStart progress
textDeltacodeblockEnd progress
textDelta turn
reporting
stagedTextToApply
textToReport textDelta codeblockStart
textToReport progress
textDelta turn
stagedTextToApply
_presentCodeblockProgress
_presentCodeblockProgress
progressl10n
_resolvedContentDeferredPromisepp progressp
textDelta progress
textDelta turn
stagedTextToApply
history RawChatMessage outputStream ChatResponseStream token CancellationToken
outline messageText
outline
mockContext IBuildPromptContext context
query
history
chatVariables
messages generateMessages
instantiationService
endpoint
NewNotebookToolPrompt
outline outline
promptContext mockContext
originalCreateNotebookQuery mockContextquery
availableTools contexttoolsavailableTools
sourceStream
newNotebook
notebook workspaceService
updateMetadata NotebookEditObject new_copilot_notebook notebookmetadata
workspaceEdit
workspaceEditnotebookuri updateMetadata
workspaceServiceworkspaceEdit
notebook
sourceLines sourceStreamasyncIterable
LineFilters
line
newNotebookvalue
line
created sourceLines newNotebookvalue token
text index delta IResponseDelta
sourceStreamdeltatext
generateResponse endpoint
debugName
messages generateMessages
finishedCb
location ChatLocationPanel
token
sourceStream
generateResponsetype ChatFetchResponseTypeSuccess
created
logService messageText
ex
logService ex
lines AsyncIterableLineOfText newNotebook NotebookDocument token CancellationToken
promises
telemetryOptions NotebookEditGenerationTelemtryOptions
source NotebookEditGenrationSourcenewNotebookIntent
requestId contextrequestId
model endpointmodel
edit noteBookEditGeneratorUri lines telemetryOptions token
edit
notebook newNotebook
workspaceEdit
workspaceEditnotebookuri edit
promisesworkspaceServiceworkspaceEdit
promises
telemetryService newNotebookuri contextrequestId endpoint
newNotebook
source AsyncIterableLineOfText AsyncIterableLineOfText
emitter
index
line source
index
index linevaluefilepathCodeBlockMarker
emitterline
instantiationService IInstantiationService chatMLFetcher IChatMLFetcher endpoint IChatEndpoint options IConversationOptions history RawChatMessage description section INotebookSection existingCode languageId uri Uri token CancellationToken
messages instantiationService endpoint NewNotebookCodeGenerationPrompt
history
description
section
existingCode
languageId
uri
modelResponse endpoint
debugName
messages
finishedCb
location ChatLocationPanel
token
modelResponsetype ChatFetchResponseTypeSuccess
codeBlocks modelResponsevalue
codeBlockslength
codeBlockscode
modelResponsevalue
instantiationService IInstantiationService chatMLFetcher IChatMLFetcher endpoint IChatEndpoint options IConversationOptions description section INotebookSection existingCode code languageId uri Uri token CancellationToken
messages instantiationService endpoint NewNotebookCodeImprovementPrompt
description
section
existingCode
code
languageId
uri
modelResponse endpoint
debugName
messages
finishedCb
location ChatLocationPanel
token
modelResponsetype ChatFetchResponseTypeSuccess
modelResponsevalue