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 { localize } from '../../../../../nls.js';
import { IAction } from '../../../../../base/common/actions.js';
import { DeferredPromise } from '../../../../../base/common/async.js';
import { CancellationToken } from '../../../../../base/common/cancellation.js';
import { IStringDictionary } from '../../../../../base/common/collections.js';
import { Event } from '../../../../../base/common/event.js';
import { IMarkdownString } from '../../../../../base/common/htmlContent.js';
import { DisposableStore, IDisposable IReference
autorun autorunSelfDisposable IObservable IReader
ThemeIcon
hasKey
UriComponents
IRange Range
ISelection
Command Location TextEdit
FileType
createDecorator
IAutostartResult
ICellEditOperation
IWorkspaceSymbol
IChatRequestVariableEntry
IChatRequestVariableValue
ReadonlyChatSessionOptionsMap
ChatAgentLocation SessionTypeSelectionReason ChatModeKind
IChatEditingSession
IChatModel IChatRequestModeInfo IChatRequestModel IChatRequestVariableData IChatResponseModel IExportableChatData ISerializableChatData
IChatModelReferenceDebugSnapshot
IChatAgentCommand IChatAgentData IChatAgentResult UserSelectedTools
HookTypeValue
IParsedChatRequest
IChatParserContext
IPreparedToolInvocation IToolConfirmationMessages IToolResult IToolResultInputOutputDetails ToolDataSource
ConfirmationOptionKind
message
variables Record IChatRequestVariableValue
ChatErrorLevel
Info
Warning
Error
data
label
isSecondary
resend
preserveRequestId
message
responseIsIncomplete
responseIsFiltered
responseIsRedacted
isQuotaExceeded
isRateLimited
isExpectedError
level ChatErrorLevel
confirmationButtons IChatResponseErrorDetailsConfirmationButton
code
label
uri
type FileType
children IChatResponseProgressFileTreeData
uri
version
ranges IRange
obj obj IDocumentContext
obj
obj
obj objuri
obj objversion
obj objranges objrangesRangeisIRange
documents IDocumentContext
kind
obj obj IChatUsedContext
obj
obj
obj
objdocuments
objdocumentsisIDocumentContext
variableName
value Location
obj obj IChatContentVariableReference
obj
obj
obj IChatContentVariableReferencevariableName
ChatResponseReferencePartStatusKind
Complete
Partial
Omitted
ChatResponseClearToPreviousToolInvocationReason
NoReason
FilteredContentRetry
CopyrightContentRetry
reference Location IChatContentVariableReference
iconPath ThemeIcon light dark
options
status description kind ChatResponseReferencePartStatusKind
diffMeta added removed
originalUri
modifiedUri
isDeletion
kind
value
license
snippet
kind
category
label
percentageOfPrompt
model
inputTokens
cachedTokens
outputTokens
promptTokens
completionTokens
outputBuffer
promptTokenDetails IChatUsagePromptTokenDetail
copilotCredits
modelTotals IChatUsageModelTotal
sessionCopilotCredits
actualModelId
kind
credits
credits
credits
formatted credits
formatted
formatted
formatted
resolveId
inlineReference Location IWorkspaceSymbol
name
kind
kind
content IMarkdownString
inlineReferences Record IChatContentInlineReference
treeData IChatResponseProgressFileTreeData
kind
originalUri
modifiedUri
goToFileUri
added
removed
title
resources IMultiDiffResource
multiDiffData IChatMultiDiffInnerData IObservableIChatMultiDiffInnerData
kind
collapsed
readOnly
IChatMultiDiffDataSerialized
multiDiffData IChatMultiDiffInnerData
kind
collapsed
readOnly
kind
collapsed
readOnly
multiDiffData IChatMultiDiffData
opts
multiDiffData IChatMultiDiffInnerData IObservableIChatMultiDiffInnerData
collapsed
readOnly
readOnly optsreadOnly
collapsed optscollapsed
multiDiffData optsmultiDiffData
IChatMultiDiffDataSerialized
kind kind
multiDiffData multiDiffData title multiDiffData multiDiffData
collapsed collapsed
readOnly readOnly
content IMarkdownString
kind
shimmer
id
content IMarkdownString
kind
icon ThemeIcon
deferred DeferredPromise
progress IChatWarningMessage IChatContentReference
onDidAddProgress EventIChatWarningMessage IChatContentReference
progress IChatWarningMessage IChatContentReference
result
IChatTaskSerialized
kind
id
kind
undoStopId
start
resources UriComponents
contentFor UriComponents
content IMarkdownString
kind
content IMarkdownString
progress IChatWarningMessage IChatContentReference
kind
content IMarkdownString
kind
content IMarkdownString
kind
content IMarkdownString
kind
title
description
kind
uri
isEdit
undoStopId
subAgentInvocationId
content IMarkdownString
vulnerabilities IChatAgentVulnerabilityDetails
kind
command Command
kind
additionalCommands Command
uri
range IRange
kind
uri
edits TextEdit
kind
done
isExternalEdit
kind
reason ChatResponseClearToPreviousToolInvocationReason
uri
edits ICellEditOperation
kind
done
isExternalEdit
oldResource
newResource
kind
edits IChatWorkspaceFileEdit
kind
uri
editKind ChatExternalEditKind
originalUri
beforeContentUri
afterContentUri
diff added removed
undoStopId
title
message IMarkdownString
data
buttons
isUsed
kind
minLength
maxLength
format
minimum
maximum
isInteger
id
type
title
message IMarkdownString
description
options id label value
defaultValue
allowFreeformInput
required
validation IChatQuestionValidation
detailedMessage IMarkdownString
selectedValue
freeformValue
selectedValues
freeformValue
IChatSingleSelectAnswer IChatMultiSelectAnswer
Record IChatQuestionAnswerValue
questions IChatQuestion
allowSkip
resolveId
data IChatQuestionAnswers
isUsed
answeredExternally
autoReply
message IMarkdownString
source ToolDataSource
terminalId
answerPresentation
kind
ElicitationState
Pending
Accepted
Rejected
kind
title IMarkdownString
message IMarkdownString
acceptButtonLabel
rejectButtonLabel
subtitle IMarkdownString
source ToolDataSource
state IObservableElicitationState
acceptedResult Record
moreActions IAction
riskAssessment toolId parameters
value IAction
reject
isHidden IObservable
hide
IChatElicitationRequestSerialized
kind
title IMarkdownString
message IMarkdownString
subtitle IMarkdownString
source ToolDataSource
state ElicitationStateAccepted ElicitationStateRejected
isHidden
acceptedResult Record
kind
value
id
metadata key
generatedTitle
reasoningDurationMs
kind
resolved id name
kind
hookType HookTypeValue
stopReason
systemMessage
toolDisplayName
metadata key
subAgentInvocationId
kind
id ChatVoiceProgressStage
value
kind
commandLine
original
userEdited
toolEdited
forDisplay
isSandboxWrapped
intention
cwd UriComponents
confirmation
commandLine
cwdLabel
cdPrefix
presentationOverrides
commandLine
language
alternativeRecommendation
language
terminalToolSessionId
isPty
terminalCommandId
isBackground
autoApproveRuleResolvable
requestUnsandboxedExecution
requestUnsandboxedExecutionReason
requestAllowNetwork
requestAllowNetworkReason
terminalCommandUri UriComponents
terminalCommandOutput
text
truncated
lineCount
terminalTheme
background
foreground
terminalCommandState
exitCode
timestamp
duration
didContinueInBackground
autoApproveInfo IMarkdownString
missingSandboxDependencies
sandboxRemediations
sandboxPrerequisiteFailure
kind
command
language
data data ILegacyChatTerminalToolInvocationData
data data data data
kind
resourceUri
serverDefinitionId
collectionId
kind
resourceUri
connectionAuthority
channel
serverId
kind
rawInput
mcpAppData ChatMcpAppData
ToolConfirmKind
Denied
ConfirmationNotNeeded
Setting
LmServicePerTool
UserAction
Skipped
type ToolConfirmKindDenied
type ToolConfirmKindConfirmationNotNeeded reason IMarkdownString
type ToolConfirmKindSetting id
type ToolConfirmKindLmServicePerTool scope
type ToolConfirmKindUserAction selectedButton selectedButtonKind ConfirmationOptionKind
type ToolConfirmKindSkipped
presentation IPreparedToolInvocation
toolSpecificData IChatTerminalToolInvocationData ILegacyChatTerminalToolInvocationData IChatToolInputInvocationData IChatExtensionsContent IChatPullRequestContent IChatTodoListContent IChatSubagentToolInvocationData IChatSimpleToolInvocationData IChatSearchToolInvocationData IChatToolResourcesInvocationData IChatModifiedFilesConfirmationData IChatAgentFeedbackReviewConfirmationData IChatSessionCreatedData IChatGeneratedImageData IChatAutomationConfigurationData IChatAutomationConfiguredData
otherClientToolCall IChatToolInvocationOtherClientData
toolSpecificDataKind IObservable
originMessage IMarkdownString
invocationMessage IMarkdownString
pastTenseMessage IMarkdownString
source ToolDataSource
toolId
toolCallId
subAgentInvocationId
icon ThemeIcon
state IObservableIChatToolInvocationState
generatedTitle
isAttachedToThinking
kind
IChatToolInvocationSerialized
IChatToolInvocation
StateKind
Streaming
WaitingForConfirmation
Executing
WaitingForPostApproval
Completed
Cancelled
WaitingForAuthentication
type StateKind
type StateKindStreaming
partialInput IObservable
streamingMessage IObservable IMarkdownString
parameters
confirmationMessages IToolConfirmationMessages
IChatToolInvocationPostStreamState
type StateKindWaitingForConfirmation
reason ConfirmedReason
confirmed ConfirmedReason
IChatToolInvocationPostConfirmState
type StateKindExecuting
progress IObservable message IMarkdownString progress
IChatToolInvocationPostConfirmState
type StateKindWaitingForAuthentication
server IChatMcpAuthenticationRequiredServer
resultDetails IToolResult
IChatToolInvocationPostExecuteState
type StateKindWaitingForPostApproval
reason ConfirmedReason
contentForModel IToolResult
IChatToolInvocationPostExecuteState
type StateKindCompleted
postConfirmed ConfirmedReason
contentForModel IToolResult
IChatToolInvocationPostStreamState
type StateKindCancelled
reason ToolConfirmKindDenied ToolConfirmKindSkipped
reasonMessage IMarkdownString
IChatToolInvocationStreamingState
IChatToolInvocationWaitingForConfirmationState
IChatToolInvocationExecutingState
IChatToolInvocationWaitingForAuthenticationState
IChatToolWaitingForPostApprovalState
IChatToolInvocationCompleteState
IChatToolInvocationCancelledState
invocation IChatToolInvocation IChatToolInvocationSerialized reader IReader ConfirmedReason
invocationkind
invocationisConfirmed invocationisConfirmed
type invocationisConfirmed ToolConfirmKindUserAction ToolConfirmKindDenied
invocationisConfirmed
state invocationstatereader
statetype StateKindStreaming statetype StateKindWaitingForConfirmation
statetype StateKindCancelled
type statereason
stateconfirmed
invocation IChatToolInvocation token CancellationToken ConfirmedReason
reason invocation
reason
reason
store
resolve
token
storetoken
type ToolConfirmKindDenied
storereader
reason invocation reader
reason
store
reason
store
invocation IChatToolInvocation reader IReader ConfirmedReason
state invocationstatereader
statetype StateKindCompleted
statepostConfirmed type ToolConfirmKindConfirmationNotNeeded
statetype StateKindCancelled
type statereason
invocation IChatToolInvocation reason ConfirmedReason
state invocationstate
statetype StateKindWaitingForConfirmation statetype StateKindWaitingForPostApproval
statereason
invocation IChatToolInvocation token CancellationToken ConfirmedReason
reason invocation
reason
reason
store
resolve
token
storetoken
type ToolConfirmKindDenied
storereader
reason invocation reader
reason
store
reason
store
invocation IChatToolInvocation IChatToolInvocationSerialized reader IReader
invocationkind
invocationresultDetails
state invocationstatereader
statetype StateKindCompleted statetype StateKindWaitingForPostApproval
stateresultDetails
invocation IChatToolInvocation IChatToolInvocationSerialized reader IReader
invocationkind
state invocationstatereader
statetype StateKindCompleted statetype StateKindCancelled
invocation IChatToolInvocation IChatToolInvocationSerialized reader IReader
invocationpresentation
invocationpresentation invocation reader
invocation IChatToolInvocation IChatToolInvocationSerialized reader IReader
invocationkind
state invocationstatereader
statetype StateKindStreaming
invocation IChatToolInvocation IChatToolInvocationSerialized reader IReader
invocationkind
state invocationstatereader
statetype StateKindStreaming
stateparameters
invocation IChatToolInvocation IChatToolInvocationSerialized reader IReader IToolConfirmationMessages
invocationkind
state invocationstatereader
statetype StateKindStreaming
stateconfirmationMessages
output
type
mimeType
base64Data
presentation IPreparedToolInvocation
toolSpecificData IChatTerminalToolInvocationData IChatToolInputInvocationData IChatExtensionsContent IChatPullRequestContent IChatTodoListContent IChatSubagentToolInvocationData IChatSimpleToolInvocationData IChatSearchToolInvocationData IChatToolResourcesInvocationData IChatModifiedFilesConfirmationData IChatAgentFeedbackReviewConfirmationData IChatSessionCreatedData IChatGeneratedImageData IChatAutomationConfiguredData
invocationMessage IMarkdownString
originMessage IMarkdownString
pastTenseMessage IMarkdownString
resultDetails Location IToolResultInputOutputDetails IToolResultOutputDetailsSerialized
isConfirmed ConfirmedReason
isComplete
toolCallId
toolId
icon
source ToolDataSource
subAgentInvocationId
generatedTitle
isAttachedToThinking
kind
extensions
kind
uri
command Command
title
description
author
linkTag
kind
kind
isActive
activity
description
agentDisplayName
agentName
prompt
result
modelName
credits
startedAt
duration
chatResource
kind
toolCallId
toolName
isComplete
errorMessage
invocationMessage IMarkdownString
pastTenseMessage IMarkdownString
toolSpecificData IChatTerminalToolInvocationData IChatToolInputInvocationData IChatExtensionsContent IChatTodoListContent IChatSubagentToolInvocationData IChatModifiedFilesConfirmationData
subagentInvocationId
resultDetails IToolResultInputOutputDetails
kind
todoList
id
title
status
kind
input
output
kind
kind
values Location
kind
openLink
label
fullTitle
isChat
kind
kind
automationId
automationName
operation
kind
expectedAutomationId
expectedEditableState
kind
options
modifiedFiles
uri UriComponents
editKind ChatExternalEditKind
originalUri UriComponents
modifiedContentUri UriComponents
originalContentUri UriComponents
insertions
deletions
title
description
kind
options
id
kindLabel
text
fileUri UriComponents
pullRequestThreadId
commentId
AgentFeedbackReviewCommandId
GetComments
GetPullRequestThreadLinks
Reveal
RevealAt
Delete
Accept
kind
state IObservableIAutostartResult
didStartServerIds
IChatMcpServersStartingSerialized
kind
state
didStartServerIds
kind
sessionResource UriComponents
servers IObservable IChatMcpAuthenticationRequiredServer
isUsed
id
name
resource
oauthClient McpOAuthClient
authorizationServers
supportedScopes
requiredScopes
reason
kind
sessionResource UriComponents
servers IObservable IChatMcpStartingServer
id
name
kind
id
label
description
permissionLevel
action
actionId
rejected
feedback
feedbackOverall
feedbackInlineMarkdown
kind
title
content
actions IChatPlanApprovalAction
canProvideFeedback
planUri UriComponents
resolveId
data IChatPlanReviewResult
isUsed
isOutdated
source ToolDataSource
kind
didStartServerIds
s state
sworking sserversRequiringInteractionlength
state IObservableIAutostartResult
resolve
reader
s statereader
sworking
reader
s
IChatMcpServersStartingSerialized
kind didStartServerIds didStartServerIds
IChatMarkdownContent
IChatAgentMarkdownContentWithVulnerability
IChatUsage
IChatTreeData
IChatMultiDiffData
IChatMultiDiffDataSerialized
IChatUsedContext
IChatContentReference
IChatContentInlineReference
IChatCodeCitation
IChatProgressMessage
IChatSystemNotificationPart
IChatTask
IChatTaskResult
IChatCommandButton
IChatWarningMessage
IChatInfoMessage
IChatTextEdit
IChatNotebookEdit
IChatWorkspaceEdit
IChatExternalEdit
IChatMoveMessage
IChatResponseCodeblockUriPart
IChatConfirmation
IChatQuestionCarousel
IChatPlanReview
IChatClearToPreviousToolInvocation
IChatToolInvocation
IChatToolInvocationSerialized
IChatExtensionsContent
IChatPullRequestContent
IChatUndoStop
IChatThinkingPart
IChatVoiceProgressPart
IChatTaskSerialized
IChatElicitationRequest
IChatElicitationRequestSerialized
IChatMcpServersStarting
IChatMcpServersStartingSerialized
IChatMcpAuthenticationRequired
IChatMcpServersStartingSlow
IChatHookPart
IChatExternalToolInvocationUpdate
IChatDisabledClaudeHooksPart
IChatAutoModeResolutionPart
kind
message
agentId
subCommand
title
tooltip
obj obj IChatFollowup
obj
obj IChatFollowupkind
obj IChatFollowupmessage
obj IChatFollowupagentId
ChatAgentVoteDirection
Down
Up
kind
direction ChatAgentVoteDirection
ChatCopyKind
Action
Toolbar
kind
codeBlockIndex
copyKind ChatCopyKind
copiedCharacters
totalCharacters
copiedText
totalLines
copiedLines
modelId
languageId
kind
codeBlockIndex
totalCharacters
totalLines
languageId
modelId
newFile
kind
codeBlockIndex
totalCharacters
totalLines
languageId
modelId
newFile
codeMapper
editsProposed
kind
codeBlockIndex
languageId
kind
commandButton IChatCommandButton
kind
followup IChatFollowup
kind
kind
action
kind
uri
hasRemainingEdits
outcome
kind
uri
lineCount
linesAdded
linesRemoved
outcome
hasRemainingEdits
modeId
modelId
languageId
IChatVoteAction IChatCopyAction IChatInsertAction IChatApplyAction IChatTerminalAction IChatCommandAction IChatFollowupAction IChatBugReportAction IChatInlineChatCodeAction IChatEditingSessionAction IChatEditingHunkAction
action ChatUserAction
agentId
command
sessionResource
requestId
result IChatAgentResult
modelId
modeId
message
metadata
message ReadonlyArrayIChatProgress
result IChatAgentResult
followups IChatFollowup
fileCount
added
removed
created
lastRequestStarted
lastRequestEnded
startTime
endTime
timing IChatSessionTiming ILegacyChatSessionTiming IChatSessionTiming
timing created
timing
created timingstartTime
lastRequestStarted timingstartTime
lastRequestEnded timingendTime
ResponseModelState
Pending
Complete
Cancelled
Failed
NeedsInput
sessionResource
title
lastMessageDate
timing IChatSessionTiming ILegacyChatSessionTiming
isActive
stats IChatSessionStats
lastResponseState ResponseModelState
workingDirectory
id
responseCreatedPromise IChatResponseModel
responseCompletePromise
agent IChatAgentData
slashCommand IChatAgentCommand
ChatSendResultRejected
ChatSendResultSent
ChatSendResultQueued
kind
reason
newSessionResource
kind
data IChatSendRequestData
newSessionResource
kind
deferred ChatSendResult
ChatSendResult
result ChatSendResult result ChatSendResultSent
resultkind
result ChatSendResult result ChatSendResultRejected
resultkind
result ChatSendResult result ChatSendResultQueued
resultkind
result ChatSendResult result ChatSendResultSent
resultkind
type ChatAgentLocationEditorInline
id
document
selection ISelection
wholeRange IRange
type ChatAgentLocationNotebook
sessionInputUri
type ChatAgentLocationTerminal
IChatEditorLocationData IChatNotebookLocationData IChatTerminalLocationData
ChatRequestQueueKind
Queued
Steering
id
kind ChatRequestQueueKind
message
variableData IChatRequestVariableData
timestamp
modeInfo IChatRequestModeInfo
isVoiceModeInput
userSelectedModelId
userSelectedModelConfiguration IStringDictionary
userSelectedTools IObservableUserSelectedTools
location ChatAgentLocation
locationData IChatLocationData
parserContext IChatParserContext
attempt
noCommandDetection
acceptedConfirmationData
rejectedConfirmationData
attachedContext IChatRequestVariableEntry
resolvedVariables IChatRequestVariableEntry
agentHostSessionConfig Record
agentId
agentIdSilent
slashCommand
confirmation
queue ChatRequestQueueKind
pauseQueue
isSystemInitiated
hideFromTranscript
systemInitiatedLabel
terminalExecutionId
instructionContext
modeKind ChatModeKind
enabledTools UserSelectedTools
enabledSubAgents
IReferenceIChatModel
chatSessionResource
message IParsedChatRequest
attachedContext IChatRequestVariableEntry
IChatService
_serviceBrand
transferredSessionResource
onDidSubmitRequest EventIChatRequestSubmittedEvent
onDidCreateModel EventIChatModel
sessionResource IDisposable
chatModels IObservableIterableIChatModel
editingSessions IChatEditingSession
location ChatAgentLocation
location ChatAgentLocation options IChatSessionStartOptions IChatModelReference
sessionResource IChatModel
sessionResource debugOwner IChatModelReference
sessionResource location ChatAgentLocation token CancellationToken debugOwner sessionTypeSelectionReason SessionTypeSelectionReason IChatModelReference
data IExportableChatData ISerializableChatData debugOwner sessionTypeSelectionReason SessionTypeSelectionReason IChatModelReference
IChatModelReferenceDebugSnapshot
sessionResource message options IChatSendRequestOptions ChatSendResult
sessionResource
sessionResource title
request IChatRequestModel progress IChatProgress
request IChatRequestModel options IChatSendRequestOptions preserveRequestId
sessionResource request IChatRequestModel
sessionResource requestId
sessionResource source
originalResource targetResource
sessionResource
sessionResource requestId
sessionResource requests requestId kind ChatRequestQueueKind
sessionResource requests IRemotePendingRequest
sessionResource
sessionResource requestId
sessionResource message IParsedChatRequest variableData IChatRequestVariableData attempt response IChatCompleteResponse
sessionResource title
IChatDetail
sessionResource
IChatDetail
IChatDetail
sessionResource IChatDetail
onDidPerformUserAction EventIChatUserActionEvent
event IChatUserActionEvent
onDidReceiveQuestionCarouselAnswer Event requestId resolveId answers IChatQuestionAnswers
requestId resolveId answers IChatQuestionAnswers
onDidDisposeSession Event sessionResources reason
transferredSessionResource toWorkspace
location ChatAgentLocation
requestInProgressObs IObservable
enabled
initialSessionOptions ReadonlyChatSessionOptionsMap
canUseTools
disableBackgroundKeepAlive
debugOwner
sessionTypeSelectionReason SessionTypeSelectionReason
ChatStopCancellationNoopEventName
source
reason
requestInProgress
pendingRequests
sessionScheme
lastRequestId
chatSessionId
source classification purpose comment
reason classification purpose comment
requestInProgress classification purpose comment
pendingRequests classification purpose comment isMeasurement
sessionScheme classification purpose comment
lastRequestId classification purpose comment
chatSessionId classification purpose comment
owner
comment
ChatPendingRequestChangeEventName
action
source
requestId
chatSessionId
action classification purpose comment
source classification purpose comment
requestId classification purpose comment
chatSessionId classification purpose comment
owner
comment