@codingame/monaco-vscode-katex-common 26.2.2 → 28.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.d.ts +10 -4
- package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.js +37 -11
- package/vscode/src/vs/platform/actions/browser/buttonbar.d.ts +3 -0
- package/vscode/src/vs/platform/actions/browser/buttonbar.js +15 -4
- package/vscode/src/vs/platform/mcp/common/modelContextProtocolApps.d.ts +576 -0
- package/vscode/src/vs/{workbench/contrib → platform}/mcp/common/modelContextProtocolApps.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityProvider.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContinueInAction.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContinueInAction.js +176 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatElicitationActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +127 -64
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +12 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionApprovalModel.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionApprovalModel.js +106 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionHoverWidget.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsControl.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsControl.js +105 -29
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsFilter.d.ts +13 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsFilter.js +69 -43
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsOpener.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.d.ts +35 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.js +187 -78
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/media/agentsessionsviewer.css +138 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgets.d.ts +23 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgets.js +394 -87
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatImplicitContext.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatImplicitContext.js +28 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/implicitContextAttachment.js +38 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingActions.js +113 -116
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +16 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationWidget.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/media/chatEditingEditorOverlay.css +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/media/chatEditingExplanationWidget.css +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionPickerActionItem.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.d.ts +30 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +250 -132
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/searchableOptionPickerActionItem.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewWelcomeController.d.ts +1 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewWelcomeController.js +4 -110
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatAgentHover.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAgentCommandContentPart.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAgentCommandContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAnonymousRateLimitedPart.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAnonymousRateLimitedPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAttachmentsContentPart.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAttachmentsContentPart.js +9 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatChangesSummaryPart.d.ts +2 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatChangesSummaryPart.js +7 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCodeCitationContentPart.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCodeCitationContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollapsibleContentPart.d.ts +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollapsibleContentPart.js +22 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollapsibleMarkdownContentPart.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollapsibleMarkdownContentPart.js +11 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCommandContentPart.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCommandContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatConfirmationContentPart.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatConfirmationContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatConfirmationWidget.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatConfirmationWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatContentParts.d.ts +59 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatContentParts.js +29 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatDiffBlockPart.d.ts +0 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatDiffBlockPart.js +0 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatDisabledClaudeHooksContentPart.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatDisabledClaudeHooksContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatElicitationContentPart.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatErrorConfirmationPart.d.ts +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatErrorConfirmationPart.js +6 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatErrorContentPart.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatExtensionsContentPart.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatExtensionsContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatHookContentPart.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatHookContentPart.js +7 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatInlineAnchorWidget.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatInlineAnchorWidget.js +26 -27
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownContentPart.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownContentPart.js +53 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownTableScrolling.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownTableScrolling.js +55 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMcpServersInteractionContentPart.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMcpServersInteractionContentPart.js +8 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMultiDiffContentPart.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMultiDiffContentPart.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatProgressContentPart.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatProgressContentPart.js +24 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatPullRequestContentPart.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatPullRequestContentPart.js +11 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuestionCarouselPart.d.ts +62 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuestionCarouselPart.js +414 -129
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuotaExceededPart.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuotaExceededPart.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatReferencesContentPart.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatReferencesContentPart.js +19 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatResourceGroupWidget.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatResourceGroupWidget.js +263 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSubagentContentPart.d.ts +14 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSubagentContentPart.js +98 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSuggestNextWidget.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTaskContentPart.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTaskContentPart.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTextEditContentPart.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTextEditContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingContentPart.d.ts +11 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingContentPart.js +252 -80
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTipContentPart.d.ts +29 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTipContentPart.js +246 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTodoListWidget.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTodoListWidget.js +39 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatToolInputOutputContentPart.d.ts +6 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatToolInputOutputContentPart.js +36 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatToolOutputContentSubPart.d.ts +3 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatToolOutputContentSubPart.js +6 -260
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTreeContentPart.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTreeContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatWorkspaceEditContentPart.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatWorkspaceEditContentPart.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/codeBlockPart.d.ts +5 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/codeBlockPart.js +42 -37
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatCodeBlockPill.css +12 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatConfirmationWidget.css +65 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatHookContentPart.css +9 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatInlineAnchorWidget.css +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatQuestionCarousel.css +356 -415
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatTerminalToolProgressPart.css +14 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatThinkingContent.css +102 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatTipContent.css +68 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/codeBlockPart.css +48 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/abstractToolConfirmationSubPart.d.ts +5 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/abstractToolConfirmationSubPart.js +47 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatExtensionsInstallToolSubPart.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatExtensionsInstallToolSubPart.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatInputOutputMarkdownProgressPart.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatInputOutputMarkdownProgressPart.js +0 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppModel.d.ts +8 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppModel.js +57 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppSubPart.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppSubPart.js +24 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatResultListSubPart.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatSimpleToolProgressPart.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatSimpleToolProgressPart.js +103 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolConfirmationSubPart.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolConfirmationSubPart.js +15 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolProgressPart.d.ts +44 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolProgressPart.js +85 -89
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolConfirmationSubPart.d.ts +3 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolConfirmationSubPart.js +15 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolInvocationPart.d.ts +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolInvocationPart.js +41 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolOutputPart.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolOutputPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPartUtilities.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPostExecuteConfirmationPart.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPostExecuteConfirmationPart.js +6 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolProgressPart.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolProgressPart.js +13 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolStreamingSubPart.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolStreamingSubPart.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatDragAndDrop.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatListRenderer.d.ts +21 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatListRenderer.js +341 -88
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatListWidget.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatListWidget.js +13 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatQuestionCarouselAutoReply.d.ts +35 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatQuestionCarouselAutoReply.js +440 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidget.d.ts +24 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidget.js +437 -241
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatFollowups.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPart.d.ts +77 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPart.js +521 -284
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPickerActionItem.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPickerActionItem.js +7 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatModelPicker.d.ts +71 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatModelPicker.js +664 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatModelSelectionLogic.d.ts +104 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatModelSelectionLogic.js +127 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/delegationSessionPickerActionItem.d.ts +12 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/delegationSessionPickerActionItem.js +57 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modePickerActionItem.d.ts +4 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modePickerActionItem.js +89 -49
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPickerActionItem.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPickerActionItem2.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPickerActionItem2.js +87 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/permissionPickerActionItem.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/permissionPickerActionItem.js +213 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/sessionTargetPickerActionItem.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/sessionTargetPickerActionItem.js +15 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/workspacePickerActionItem.js +7 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chat.css +563 -140
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chatViewWelcome.css +35 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageDetails.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageDetails.js +26 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageWidget.d.ts +26 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageWidget.js +145 -79
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatContextUsageDetails.css +36 -50
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatContextUsageWidget.css +35 -15
- package/vscode/src/vs/workbench/contrib/chat/common/widget/annotations.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/chat/common/widget/annotations.js +127 -30
- package/vscode/src/vs/workbench/contrib/chat/common/widget/chatColors.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/widget/chatColors.js +20 -14
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAffordance.d.ts +6 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAffordance.js +96 -34
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.d.ts +11 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +68 -27
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatEditorAffordance.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatEditorAffordance.js +125 -13
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatGutterAffordance.d.ts +8 -11
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatGutterAffordance.js +54 -45
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatOverlayWidget.d.ts +11 -10
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatOverlayWidget.js +172 -112
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +5 -5
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChat.css +2 -44
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChatEditorAffordance.css +28 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChatOverlayWidget.css +84 -3
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.d.ts +9 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +58 -41
- package/vscode/src/vs/workbench/contrib/interactive/browser/replInputHintContentWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocolApps.d.ts +1 -548
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +2 -2
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/chatTerminalCommandMirror.js +6 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPickerActionItem.js +0 -187
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
|
|
2
2
|
import { registerCss } from '@codingame/monaco-vscode-api/css';
|
|
3
3
|
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
4
|
-
import { AnimationFrameScheduler,
|
|
4
|
+
import { $, AnimationFrameScheduler, DisposableResizeObserver, append } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
|
|
5
5
|
import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
|
|
6
|
+
import { MarkdownString } from '@codingame/monaco-vscode-api/vscode/vs/base/common/htmlContent';
|
|
7
|
+
import { Lazy } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lazy';
|
|
6
8
|
import { MutableDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
7
|
-
import
|
|
9
|
+
import '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/index';
|
|
8
10
|
import { rcut } from '@codingame/monaco-vscode-api/vscode/vs/base/common/strings';
|
|
9
11
|
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
10
12
|
import { IHoverService } from '@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover.service';
|
|
11
13
|
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
14
|
+
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
15
|
+
import { IChatToolInvocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService';
|
|
12
16
|
import { ChatCollapsibleContentPart } from './chatCollapsibleContentPart.js';
|
|
13
17
|
import { ChatCollapsibleMarkdownContentPart } from './chatCollapsibleMarkdownContentPart.js';
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/index';
|
|
17
|
-
import { Lazy } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lazy';
|
|
18
|
+
import { renderFileWidgets } from './chatInlineAnchorWidget.js';
|
|
19
|
+
import { IChatMarkdownAnchorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownAnchorService.service';
|
|
18
20
|
import { createThinkingIcon, getToolInvocationIcon } from './chatThinkingContentPart.js';
|
|
19
21
|
import { ChatToolInvocationPart } from './toolInvocationParts/chatToolInvocationPart.js';
|
|
20
|
-
import { IChatMarkdownAnchorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownAnchorService.service';
|
|
21
|
-
import { MarkdownString } from '@codingame/monaco-vscode-api/vscode/vs/base/common/htmlContent';
|
|
22
22
|
import * as chatSubagentContent from './media/chatSubagentContent.css';
|
|
23
23
|
import { autorun } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/reactions/autorun';
|
|
24
24
|
|
|
@@ -26,9 +26,12 @@ var ChatSubagentContentPart_1;
|
|
|
26
26
|
registerCss(chatSubagentContent);
|
|
27
27
|
const MAX_TITLE_LENGTH = 100;
|
|
28
28
|
let ChatSubagentContentPart = ChatSubagentContentPart_1 = class ChatSubagentContentPart extends ChatCollapsibleContentPart {
|
|
29
|
+
static isParentSubagentTool(toolInvocation) {
|
|
30
|
+
return toolInvocation.toolSpecificData?.kind === "subagent" && !toolInvocation.subAgentInvocationId;
|
|
31
|
+
}
|
|
29
32
|
static extractSubagentInfo(toolInvocation) {
|
|
30
|
-
const defaultDescription = ( localize(
|
|
31
|
-
if (toolInvocation
|
|
33
|
+
const defaultDescription = ( localize(6580, "Running subagent..."));
|
|
34
|
+
if (!ChatSubagentContentPart_1.isParentSubagentTool(toolInvocation)) {
|
|
32
35
|
return {
|
|
33
36
|
description: defaultDescription,
|
|
34
37
|
agentName: undefined,
|
|
@@ -73,7 +76,8 @@ let ChatSubagentContentPart = ChatSubagentContentPart_1 = class ChatSubagentCont
|
|
|
73
76
|
announcedToolProgressKeys,
|
|
74
77
|
instantiationService,
|
|
75
78
|
chatMarkdownAnchorService,
|
|
76
|
-
hoverService
|
|
79
|
+
hoverService,
|
|
80
|
+
configurationService
|
|
77
81
|
) {
|
|
78
82
|
const {
|
|
79
83
|
description,
|
|
@@ -81,9 +85,9 @@ let ChatSubagentContentPart = ChatSubagentContentPart_1 = class ChatSubagentCont
|
|
|
81
85
|
prompt,
|
|
82
86
|
modelName
|
|
83
87
|
} = ChatSubagentContentPart_1.extractSubagentInfo(toolInvocation);
|
|
84
|
-
const prefix = agentName || ( localize(
|
|
88
|
+
const prefix = agentName || ( localize(6581, "Subagent"));
|
|
85
89
|
const initialTitle = `${prefix}: ${description}`;
|
|
86
|
-
super(initialTitle, context, undefined, hoverService);
|
|
90
|
+
super(initialTitle, context, undefined, hoverService, configurationService);
|
|
87
91
|
this.subAgentInvocationId = subAgentInvocationId;
|
|
88
92
|
this.context = context;
|
|
89
93
|
this.chatContentMarkdownRenderer = chatContentMarkdownRenderer;
|
|
@@ -110,14 +114,24 @@ let ChatSubagentContentPart = ChatSubagentContentPart_1 = class ChatSubagentCont
|
|
|
110
114
|
this.isInitiallyComplete = this.element.isComplete;
|
|
111
115
|
const node = this.domNode;
|
|
112
116
|
node.classList.add("chat-thinking-box", "chat-thinking-fixed-mode", "chat-subagent-part");
|
|
117
|
+
if (!this.element.isComplete) {
|
|
118
|
+
node.classList.add("chat-thinking-active");
|
|
119
|
+
}
|
|
120
|
+
if (!this.element.isComplete && this._collapseButton) {
|
|
121
|
+
const labelElement = this._collapseButton.labelElement;
|
|
122
|
+
labelElement.textContent = "";
|
|
123
|
+
this.titleShimmerSpan = $("span.chat-thinking-title-shimmer");
|
|
124
|
+
this.titleShimmerSpan.textContent = initialTitle;
|
|
125
|
+
labelElement.appendChild(this.titleShimmerSpan);
|
|
126
|
+
}
|
|
113
127
|
if (this._collapseButton && !this.element.isComplete) {
|
|
114
|
-
this._collapseButton.icon =
|
|
128
|
+
this._collapseButton.icon = Codicon.circleFilled;
|
|
115
129
|
}
|
|
116
130
|
this._register(autorun(r => {
|
|
117
131
|
this.expanded.read(r);
|
|
118
132
|
if (this._collapseButton) {
|
|
119
133
|
if (!this.element.isComplete && this.isActive) {
|
|
120
|
-
this._collapseButton.icon =
|
|
134
|
+
this._collapseButton.icon = Codicon.circleFilled;
|
|
121
135
|
} else {
|
|
122
136
|
this._collapseButton.icon = Codicon.check;
|
|
123
137
|
}
|
|
@@ -176,7 +190,7 @@ let ChatSubagentContentPart = ChatSubagentContentPart_1 = class ChatSubagentCont
|
|
|
176
190
|
return;
|
|
177
191
|
}
|
|
178
192
|
const lines = this.prompt.split("\n");
|
|
179
|
-
const rawFirstLine = lines[0] || ( localize(
|
|
193
|
+
const rawFirstLine = lines[0] || ( localize(6582, "Prompt"));
|
|
180
194
|
const restOfLines = lines.slice(1).join("\n").trim();
|
|
181
195
|
const titleContent = rcut(rawFirstLine, MAX_TITLE_LENGTH);
|
|
182
196
|
const wasTruncated = rawFirstLine.length > MAX_TITLE_LENGTH;
|
|
@@ -210,6 +224,7 @@ let ChatSubagentContentPart = ChatSubagentContentPart_1 = class ChatSubagentCont
|
|
|
210
224
|
}
|
|
211
225
|
markAsInactive() {
|
|
212
226
|
this.isActive = false;
|
|
227
|
+
this.domNode.classList.remove("chat-thinking-active");
|
|
213
228
|
if (this._collapseButton) {
|
|
214
229
|
this._collapseButton.icon = Codicon.check;
|
|
215
230
|
}
|
|
@@ -223,19 +238,73 @@ let ChatSubagentContentPart = ChatSubagentContentPart_1 = class ChatSubagentCont
|
|
|
223
238
|
}
|
|
224
239
|
}
|
|
225
240
|
updateTitle() {
|
|
226
|
-
const prefix = this.agentName || ( localize(
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
241
|
+
const prefix = this.agentName || ( localize(6581, "Subagent"));
|
|
242
|
+
const shimmerText = `${prefix}: ${this.description}`;
|
|
243
|
+
const toolCallText = this.currentRunningToolMessage && this.isActive ? ` \u2014 ${this.currentRunningToolMessage}` : ``;
|
|
244
|
+
if (!this._collapseButton) {
|
|
245
|
+
return;
|
|
246
|
+
}
|
|
247
|
+
const labelElement = this._collapseButton.labelElement;
|
|
248
|
+
if (!this.isActive) {
|
|
249
|
+
labelElement.textContent = "";
|
|
250
|
+
this.titleShimmerSpan = undefined;
|
|
251
|
+
if (this.titleDetailRendered) {
|
|
252
|
+
this.titleDetailRendered.dispose();
|
|
253
|
+
this.titleDetailRendered = undefined;
|
|
254
|
+
}
|
|
255
|
+
this.titleDetailContainer = undefined;
|
|
256
|
+
const prefixSpan = $("span");
|
|
257
|
+
prefixSpan.textContent = `${prefix}:`;
|
|
258
|
+
labelElement.appendChild(prefixSpan);
|
|
259
|
+
const descSpan = $("span.chat-thinking-title-detail-text");
|
|
260
|
+
descSpan.textContent = ` ${this.description}`;
|
|
261
|
+
labelElement.appendChild(descSpan);
|
|
262
|
+
this._collapseButton.element.ariaLabel = shimmerText;
|
|
263
|
+
this._collapseButton.element.ariaExpanded = String(this.isExpanded());
|
|
264
|
+
return;
|
|
265
|
+
}
|
|
266
|
+
if (!this.titleShimmerSpan || !this.titleShimmerSpan.parentElement) {
|
|
267
|
+
labelElement.textContent = "";
|
|
268
|
+
this.titleShimmerSpan = $("span.chat-thinking-title-shimmer");
|
|
269
|
+
labelElement.appendChild(this.titleShimmerSpan);
|
|
270
|
+
}
|
|
271
|
+
this.titleShimmerSpan.textContent = shimmerText;
|
|
272
|
+
if (this.titleDetailRendered) {
|
|
273
|
+
this.titleDetailRendered.dispose();
|
|
274
|
+
this.titleDetailRendered = undefined;
|
|
230
275
|
}
|
|
231
|
-
|
|
276
|
+
if (!toolCallText) {
|
|
277
|
+
if (this.titleDetailContainer) {
|
|
278
|
+
this.titleDetailContainer.remove();
|
|
279
|
+
this.titleDetailContainer = undefined;
|
|
280
|
+
}
|
|
281
|
+
} else {
|
|
282
|
+
const result = this.chatContentMarkdownRenderer.render(( new MarkdownString(toolCallText)));
|
|
283
|
+
result.element.classList.add("collapsible-title-content", "chat-thinking-title-detail");
|
|
284
|
+
renderFileWidgets(
|
|
285
|
+
result.element,
|
|
286
|
+
this.instantiationService,
|
|
287
|
+
this.chatMarkdownAnchorService,
|
|
288
|
+
this._store
|
|
289
|
+
);
|
|
290
|
+
this.titleDetailRendered = result;
|
|
291
|
+
if (this.titleDetailContainer) {
|
|
292
|
+
this.titleDetailContainer.replaceWith(result.element);
|
|
293
|
+
} else {
|
|
294
|
+
labelElement.appendChild(result.element);
|
|
295
|
+
}
|
|
296
|
+
this.titleDetailContainer = result.element;
|
|
297
|
+
}
|
|
298
|
+
const fullLabel = `${shimmerText}${toolCallText}`;
|
|
299
|
+
this._collapseButton.element.ariaLabel = fullLabel;
|
|
300
|
+
this._collapseButton.element.ariaExpanded = String(this.isExpanded());
|
|
232
301
|
}
|
|
233
302
|
updateHover() {
|
|
234
303
|
if (!this.modelName || !this._collapseButton) {
|
|
235
304
|
return;
|
|
236
305
|
}
|
|
237
306
|
this._hoverDisposable.value = this.hoverService.setupDelayedHover(this._collapseButton.element, {
|
|
238
|
-
content: ( localize(
|
|
307
|
+
content: ( localize(6583, "Model: {0}", this.modelName))
|
|
239
308
|
});
|
|
240
309
|
}
|
|
241
310
|
trackToolState(toolInvocation) {
|
|
@@ -267,7 +336,7 @@ let ChatSubagentContentPart = ChatSubagentContentPart_1 = class ChatSubagentCont
|
|
|
267
336
|
}));
|
|
268
337
|
}
|
|
269
338
|
watchToolCompletion(toolInvocation) {
|
|
270
|
-
if (toolInvocation
|
|
339
|
+
if (!ChatSubagentContentPart_1.isParentSubagentTool(toolInvocation)) {
|
|
271
340
|
return;
|
|
272
341
|
}
|
|
273
342
|
if (toolInvocation.kind === "toolInvocation") {
|
|
@@ -387,6 +456,9 @@ let ChatSubagentContentPart = ChatSubagentContentPart_1 = class ChatSubagentCont
|
|
|
387
456
|
}
|
|
388
457
|
}
|
|
389
458
|
appendHookItem(factory, hookPart) {
|
|
459
|
+
const hookMessage = hookPart.stopReason ? (hookPart.toolDisplayName ? ( localize(6584, "Blocked {0}", hookPart.toolDisplayName)) : ( localize(6585, "Blocked by hook"))) : (hookPart.toolDisplayName ? ( localize(6586, "Warning for {0}", hookPart.toolDisplayName)) : ( localize(6587, "Hook warning")));
|
|
460
|
+
this.currentRunningToolMessage = hookMessage;
|
|
461
|
+
this.updateTitle();
|
|
390
462
|
if (this.isExpanded() || this.hasExpandedOnce) {
|
|
391
463
|
const result = factory();
|
|
392
464
|
this.appendHookItemToDOM(result.domNode, hookPart);
|
|
@@ -550,8 +622,8 @@ let ChatSubagentContentPart = ChatSubagentContentPart_1 = class ChatSubagentCont
|
|
|
550
622
|
if (other.kind === "hook" && other.subAgentInvocationId) {
|
|
551
623
|
return this.subAgentInvocationId === other.subAgentInvocationId;
|
|
552
624
|
}
|
|
553
|
-
if ((other.kind === "toolInvocation" || other.kind === "toolInvocationSerialized") && (other.subAgentInvocationId || other
|
|
554
|
-
const otherEffectiveId = other.
|
|
625
|
+
if ((other.kind === "toolInvocation" || other.kind === "toolInvocationSerialized") && (other.subAgentInvocationId || ChatSubagentContentPart_1.isParentSubagentTool(other))) {
|
|
626
|
+
const otherEffectiveId = other.subAgentInvocationId ?? other.toolCallId;
|
|
555
627
|
if (this.subAgentInvocationId && otherEffectiveId) {
|
|
556
628
|
return this.subAgentInvocationId === otherEffectiveId;
|
|
557
629
|
}
|
|
@@ -560,6 +632,6 @@ let ChatSubagentContentPart = ChatSubagentContentPart_1 = class ChatSubagentCont
|
|
|
560
632
|
return false;
|
|
561
633
|
}
|
|
562
634
|
};
|
|
563
|
-
ChatSubagentContentPart = ChatSubagentContentPart_1 = ( __decorate([( __param(9, IInstantiationService)), ( __param(10, IChatMarkdownAnchorService)), ( __param(11, IHoverService))], ChatSubagentContentPart));
|
|
635
|
+
ChatSubagentContentPart = ChatSubagentContentPart_1 = ( __decorate([( __param(9, IInstantiationService)), ( __param(10, IChatMarkdownAnchorService)), ( __param(11, IHoverService)), ( __param(12, IConfigurationService))], ChatSubagentContentPart));
|
|
564
636
|
|
|
565
637
|
export { ChatSubagentContentPart };
|
|
@@ -42,8 +42,8 @@ let ChatSuggestNextWidget = class ChatSuggestNextWidget extends Disposable {
|
|
|
42
42
|
return;
|
|
43
43
|
}
|
|
44
44
|
this._currentMode = mode;
|
|
45
|
-
const modeName = mode.name.get() || mode.label.get() || ( localize(
|
|
46
|
-
this.titleElement.textContent = ( localize(
|
|
45
|
+
const modeName = mode.name.get() || mode.label.get() || ( localize(6588, "current mode"));
|
|
46
|
+
this.titleElement.textContent = ( localize(6589, "Proceed from {0}", modeName));
|
|
47
47
|
const childrenToRemove = [];
|
|
48
48
|
for (let i = 1; i < this.promptsContainer.children.length; i++) {
|
|
49
49
|
childrenToRemove.push(this.promptsContainer.children[i]);
|
|
@@ -73,7 +73,7 @@ let ChatSuggestNextWidget = class ChatSuggestNextWidget extends Disposable {
|
|
|
73
73
|
const button = $(".chat-welcome-view-suggested-prompt");
|
|
74
74
|
button.setAttribute("tabindex", "0");
|
|
75
75
|
button.setAttribute("role", "button");
|
|
76
|
-
button.setAttribute("aria-label", ( localize(
|
|
76
|
+
button.setAttribute("aria-label", ( localize(6590, "{0}", handoff.label)));
|
|
77
77
|
const titleElement = append(button, $(".chat-welcome-view-suggested-prompt-title"));
|
|
78
78
|
titleElement.textContent = handoff.label;
|
|
79
79
|
const showContinueOn = handoff.showContinueOn ?? true;
|
|
@@ -90,7 +90,7 @@ let ChatSuggestNextWidget = class ChatSuggestNextWidget extends Disposable {
|
|
|
90
90
|
const dropdownContainer = append(button, $(".chat-suggest-next-dropdown"));
|
|
91
91
|
dropdownContainer.setAttribute("tabindex", "0");
|
|
92
92
|
dropdownContainer.setAttribute("role", "button");
|
|
93
|
-
dropdownContainer.setAttribute("aria-label", ( localize(
|
|
93
|
+
dropdownContainer.setAttribute("aria-label", ( localize(6591, "More options for {0}", handoff.label)));
|
|
94
94
|
dropdownContainer.setAttribute("aria-haspopup", "true");
|
|
95
95
|
const separator = append(dropdownContainer, $(".chat-suggest-next-separator"));
|
|
96
96
|
separator.setAttribute("aria-hidden", "true");
|
|
@@ -105,7 +105,7 @@ let ChatSuggestNextWidget = class ChatSuggestNextWidget extends Disposable {
|
|
|
105
105
|
const name = getAgentSessionProviderName(provider);
|
|
106
106
|
return (new Action(
|
|
107
107
|
contrib.type,
|
|
108
|
-
localize(
|
|
108
|
+
localize(6592, "Continue in {0}", name),
|
|
109
109
|
ThemeIcon.isThemeIcon(icon) ? ThemeIcon.asClassName(icon) : undefined,
|
|
110
110
|
true,
|
|
111
111
|
() => {
|
|
@@ -3,7 +3,7 @@ import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/pl
|
|
|
3
3
|
import { IMarkdownRenderer } from "@codingame/monaco-vscode-api/vscode/vs/platform/markdown/browser/markdownRenderer";
|
|
4
4
|
import { IChatTask, IChatTaskSerialized } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService";
|
|
5
5
|
import { IChatProgressRenderableResponseContent } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatModel";
|
|
6
|
-
import { IChatContentPart, IChatContentPartRenderContext } from "
|
|
6
|
+
import { IChatContentPart, IChatContentPartRenderContext } from "./chatContentParts.js";
|
|
7
7
|
import { CollapsibleListPool } from "./chatReferencesContentPart.js";
|
|
8
8
|
export declare class ChatTaskContentPart extends Disposable implements IChatContentPart {
|
|
9
9
|
private readonly task;
|
|
@@ -7,7 +7,7 @@ import { IChatService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/c
|
|
|
7
7
|
import { IChatResponseViewModel } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatViewModel";
|
|
8
8
|
import { IChatListItemRendererOptions } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat";
|
|
9
9
|
import { DiffEditorPool } from "./chatContentCodePools.js";
|
|
10
|
-
import { IChatContentPart, IChatContentPartRenderContext } from "
|
|
10
|
+
import { IChatContentPart, IChatContentPartRenderContext } from "./chatContentParts.js";
|
|
11
11
|
import { ICodeCompareModelService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTextEditContentPart.service";
|
|
12
12
|
export declare class ChatTextEditContentPart extends Disposable implements IChatContentPart {
|
|
13
13
|
private readonly codeCompareModelService;
|
|
@@ -39,7 +39,7 @@ let ChatTextEditContentPart = class ChatTextEditContentPart extends Disposable {
|
|
|
39
39
|
this.domNode = $(
|
|
40
40
|
".interactive-edits-summary",
|
|
41
41
|
undefined,
|
|
42
|
-
!element.isComplete ? "" : element.isCanceled ? ( localize(
|
|
42
|
+
!element.isComplete ? "" : element.isCanceled ? ( localize(6593, "Making changes was aborted.")) : ( localize(6594, "Made changes."))
|
|
43
43
|
);
|
|
44
44
|
} else {
|
|
45
45
|
this.domNode = $("div");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IChatMarkdownContent, IChatThinkingPart, IChatToolInvocation, IChatToolInvocationSerialized } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService";
|
|
2
|
-
import { IChatContentPartRenderContext, IChatContentPart } from "
|
|
2
|
+
import { IChatContentPartRenderContext, IChatContentPart } from "./chatContentParts.js";
|
|
3
3
|
import { IChatRendererContent } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatViewModel";
|
|
4
4
|
import { ChatTreeItem } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat";
|
|
5
5
|
import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
@@ -40,6 +40,8 @@ export declare class ChatThinkingContentPart extends ChatCollapsibleContentPart
|
|
|
40
40
|
private appendedItemCount;
|
|
41
41
|
private isActive;
|
|
42
42
|
private toolInvocations;
|
|
43
|
+
private allThinkingParts;
|
|
44
|
+
private hookCount;
|
|
43
45
|
private singleItemInfo;
|
|
44
46
|
private lazyItems;
|
|
45
47
|
private hasExpandedOnce;
|
|
@@ -49,9 +51,13 @@ export declare class ChatThinkingContentPart extends ChatCollapsibleContentPart
|
|
|
49
51
|
private readonly toolWrappersByCallId;
|
|
50
52
|
private readonly toolDisposables;
|
|
51
53
|
private pendingRemovals;
|
|
54
|
+
private pendingRemovalFlushDisposable;
|
|
52
55
|
private pendingScrollDisposable;
|
|
53
56
|
private mutationObserverDisposable;
|
|
54
57
|
private isUpdatingDimensions;
|
|
58
|
+
private titleShimmerSpan;
|
|
59
|
+
private titleDetailContainer;
|
|
60
|
+
private titleDetailRendered;
|
|
55
61
|
private getRandomWorkingMessage;
|
|
56
62
|
constructor(content: IChatThinkingPart, context: IChatContentPartRenderContext, chatContentMarkdownRenderer: IMarkdownRenderer, streamingCompleted: boolean, instantiationService: IInstantiationService, configurationService: IConfigurationService, chatMarkdownAnchorService: IChatMarkdownAnchorService, languageModelsService: ILanguageModelsService, hoverService: IHoverService);
|
|
57
63
|
protected shouldInitEarly(): boolean;
|
|
@@ -65,7 +71,9 @@ export declare class ChatThinkingContentPart extends ChatCollapsibleContentPart
|
|
|
65
71
|
*/
|
|
66
72
|
private updateScrollDimensionsForCompletion;
|
|
67
73
|
private renderMarkdown;
|
|
74
|
+
private setFinalizedTitle;
|
|
68
75
|
private setDropdownClickable;
|
|
76
|
+
private shouldAllowExpansion;
|
|
69
77
|
private updateDropdownClickability;
|
|
70
78
|
private appendToWrapper;
|
|
71
79
|
resetId(): void;
|
|
@@ -74,7 +82,7 @@ export declare class ChatThinkingContentPart extends ChatCollapsibleContentPart
|
|
|
74
82
|
getIsActive(): boolean;
|
|
75
83
|
markAsInactive(): void;
|
|
76
84
|
finalizeTitleIfDefault(): void;
|
|
77
|
-
private
|
|
85
|
+
private setGeneratedTitleOnAllParts;
|
|
78
86
|
private generateTitleViaLLM;
|
|
79
87
|
private restoreSingleItemToOriginalPosition;
|
|
80
88
|
private setFallbackTitle;
|
|
@@ -93,6 +101,7 @@ export declare class ChatThinkingContentPart extends ChatCollapsibleContentPart
|
|
|
93
101
|
*/
|
|
94
102
|
removeLazyItem(toolInvocationId: string): boolean;
|
|
95
103
|
private processPendingRemovals;
|
|
104
|
+
private schedulePendingRemovalsFlush;
|
|
96
105
|
private removeStreamingToolEntry;
|
|
97
106
|
private trackToolMetadata;
|
|
98
107
|
private appendItemToDOM;
|