@codingame/monaco-vscode-katex-common 33.0.9 → 34.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/base/browser/ui/pixelSpinner/pixelSpinner.css +169 -0
- package/vscode/src/vs/base/browser/ui/pixelSpinner/pixelSpinner.d.ts +28 -0
- package/vscode/src/vs/base/browser/ui/pixelSpinner/pixelSpinner.js +61 -0
- package/vscode/src/vs/platform/actions/browser/actionWidgetDropdownActionViewItem.d.ts +1 -1
- package/vscode/src/vs/platform/actions/browser/actionWidgetDropdownActionViewItem.js +1 -1
- package/vscode/src/vs/platform/actions/browser/buttonbar.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityProvider.js +18 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContinueInAction.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatElicitationActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +40 -38
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolActions.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolPicker.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatInputPicker.contribution.d.ts +1 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatInputPicker.contribution.js +4 -48
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatInputPicker.d.ts +16 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatInputPicker.js +81 -69
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostGenericConfigChips.d.ts +1 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostGenericConfigChips.js +5 -22
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionUri.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionUri.js +21 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/media/agentHostChatInputPicker.css +18 -28
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionHoverWidget.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsControl.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsFilter.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsOpener.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.js +30 -30
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgets.d.ts +13 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgets.js +177 -80
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/implicitContextAttachment.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingActions.js +34 -34
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionPickerActionItem.d.ts +7 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionPickerActionItem.js +69 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/chatToolRiskAssessmentService.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolSetsContribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatAgentHover.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatArtifactsWidget.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentMarkdownRenderer.js +25 -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.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatChangesSummaryPart.js +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 +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollapsibleContentPart.js +4 -2
- 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.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatConfirmationWidget.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatDisabledClaudeHooksContentPart.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatEditPillElement.d.ts +93 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatEditPillElement.js +140 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatExtensionsContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatExternalEditContentPart.d.ts +46 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatExternalEditContentPart.js +134 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatHookContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatInlineAnchorWidget.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownContentPart.d.ts +2 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownContentPart.js +49 -117
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMcpServersInteractionContentPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMultiDiffContentPart.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatPlanReviewPart.js +30 -30
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatProgressContentPart.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatProgressContentPart.js +47 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuestionCarouselPart.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuestionCarouselPart.js +52 -51
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuotaExceededPart.js +18 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatReferencesContentPart.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatResourceGroupWidget.js +23 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSubagentContentPart.js +13 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSuggestNextWidget.d.ts +15 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSuggestNextWidget.js +87 -11
- 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 +21 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingContentPart.js +102 -35
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTipContentPart.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTodoListWidget.js +17 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatToolInputOutputContentPart.js +2 -2
- 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.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/codeBlockPart.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatCodeBlockPill.css +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatTerminalToolProgressPart.css +22 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatThinkingContent.css +22 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/abstractToolConfirmationSubPart.js +6 -2
- 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.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppModel.js +21 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppSubPart.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMissingSandboxDepsConfirmationSubPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatModifiedFilesConfirmationSubPart.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatSimpleToolProgressPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolConfirmationSubPart.js +35 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolProgressPart.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolProgressPart.js +62 -35
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolConfirmationCarouselPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolConfirmationSubPart.js +6 -6
- 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.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPartUtilities.js +15 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPostExecuteConfirmationPart.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolProgressPart.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolProgressPart.js +10 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/terminalToolAutoExpand.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/terminalToolAutoExpand.js +13 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/toolRiskBadgeWidget.js +4 -4
- 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 +19 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatListRenderer.js +154 -59
- 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 +21 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatOptions.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatOptions.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidget.d.ts +17 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidget.js +113 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatFollowups.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatGoalBannerWidget.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatGoalBannerWidget.js +64 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService.d.ts +10 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService.js +7 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationWidget.d.ts +11 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationWidget.js +18 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPart.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPart.js +361 -66
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPickerActionItem.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPickerActionItem.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputStatusActionViewItem.d.ts +30 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputStatusActionViewItem.js +147 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatModelPicker.d.ts +11 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatModelPicker.js +133 -87
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatPhoneInputPresenter.js +2 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/delegationSessionPickerActionItem.d.ts +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/delegationSessionPickerActionItem.js +13 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/media/chatGoalBannerWidget.css +81 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/media/chatInputNotificationWidget.css +32 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modePickerActionItem.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPickerActionItem.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/permissionPickerActionItem.js +39 -40
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/sessionTargetPickerActionItem.d.ts +23 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/sessionTargetPickerActionItem.js +66 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/workspacePickerActionItem.js +3 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chat.css +373 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageDetails.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageWidget.js +5 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatArtifactExtraction.js +18 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatImageExtraction.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/common/chatPermissionWarnings.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/widget/chatColors.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/common/widget/chatWidgetHistoryService.d.ts +12 -2
- package/vscode/src/vs/workbench/contrib/chat/common/widget/chatWidgetHistoryService.js +54 -11
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +3 -3
- 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/common/inlineChat.js +30 -30
- package/vscode/src/vs/workbench/contrib/interactive/browser/replInputHintContentWidget.js +3 -3
- 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/notebook/browser/controller/cellOperations.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +1 -1
- 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/platform/actionWidget/browser/actionWidgetDropdown.d.ts +0 -76
- package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.js +0 -191
- package/vscode/src/vs/platform/networkFilter/common/domainMatcher.d.ts +0 -50
- package/vscode/src/vs/platform/networkFilter/common/domainMatcher.js +0 -138
- package/vscode/src/vs/platform/networkFilter/common/settings.d.ts +0 -12
- package/vscode/src/vs/platform/networkFilter/common/settings.js +0 -14
- package/vscode/src/vs/platform/sandbox/common/sandboxHelperIpc.d.ts +0 -18
- package/vscode/src/vs/platform/sandbox/common/sandboxHelperIpc.js +0 -13
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxService.d.ts +0 -87
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxService.js +0 -10
- package/vscode/src/vs/workbench/contrib/terminal/terminalContribChatExports.d.ts +0 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/alternativeRecommendation.d.ts +0 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/alternativeRecommendation.js +0 -41
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/commandParsers/commandFileWriteParser.d.ts +0 -24
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/commandParsers/sedFileWriteParser.d.ts +0 -26
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/commandParsers/sedFileWriteParser.js +0 -142
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/basicExecuteStrategy.d.ts +0 -52
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/basicExecuteStrategy.js +0 -232
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/executeStrategy.d.ts +0 -65
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/executeStrategy.js +0 -225
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/noneExecuteStrategy.d.ts +0 -27
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/noneExecuteStrategy.js +0 -143
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/richExecuteStrategy.d.ts +0 -37
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/richExecuteStrategy.js +0 -205
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/strategyHelpers.d.ts +0 -40
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/strategyHelpers.js +0 -174
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/outputHelpers.d.ts +0 -7
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/outputHelpers.js +0 -43
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.d.ts +0 -52
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.js +0 -260
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalToolTelemetry.d.ts +0 -44
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalToolTelemetry.js +0 -98
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/toolTerminalCreator.d.ts +0 -42
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/toolTerminalCreator.js +0 -225
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/commandLineAutoApprover.d.ts +0 -31
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/commandLineAutoApprover.js +0 -392
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/npmScriptAutoApprover.d.ts +0 -45
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/npmScriptAutoApprover.js +0 -243
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAnalyzer.d.ts +0 -53
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAnalyzer.js +0 -10
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAutoApproveAnalyzer.d.ts +0 -20
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAutoApproveAnalyzer.js +0 -310
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineFileWriteAnalyzer.d.ts +0 -27
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineFileWriteAnalyzer.js +0 -177
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineSandboxAnalyzer.d.ts +0 -11
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineSandboxAnalyzer.js +0 -33
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/commandLinePresenter.d.ts +0 -41
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/nodeCommandLinePresenter.d.ts +0 -19
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/nodeCommandLinePresenter.js +0 -37
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/pythonCommandLinePresenter.d.ts +0 -19
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/pythonCommandLinePresenter.js +0 -37
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/rubyCommandLinePresenter.d.ts +0 -19
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/rubyCommandLinePresenter.js +0 -44
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/sandboxedCommandLinePresenter.d.ts +0 -13
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/sandboxedCommandLinePresenter.js +0 -22
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineBackgroundDetachRewriter.d.ts +0 -42
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineBackgroundDetachRewriter.js +0 -102
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineCdPrefixRewriter.d.ts +0 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineCdPrefixRewriter.js +0 -27
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLinePreventHistoryRewriter.d.ts +0 -14
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLinePreventHistoryRewriter.js +0 -29
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLinePwshChainOperatorRewriter.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLinePwshChainOperatorRewriter.js +0 -33
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineRewriter.d.ts +0 -24
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineSandboxRewriter.d.ts +0 -15
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineSandboxRewriter.js +0 -53
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.d.ts +0 -177
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.js +0 -512
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/types.d.ts +0 -42
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/types.js +0 -23
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/outputAnalyzer.d.ts +0 -9
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.d.ts +0 -258
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.js +0 -2623
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/sandboxOutputAnalyzer.d.ts +0 -22
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/sandboxOutputAnalyzer.js +0 -43
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalCommandArtifactCollector.d.ts +0 -17
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalCommandArtifactCollector.js +0 -118
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalToolAutoApprove.d.ts +0 -22
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalToolAutoApprove.js +0 -44
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/toolIds.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/treeSitterCommandParser.d.ts +0 -58
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/treeSitterCommandParser.js +0 -223
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxCommandRules.d.ts +0 -31
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxCommandRules.js +0 -49
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxReadAllowList.d.ts +0 -18
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxReadAllowList.js +0 -302
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxRuntimeConfigurationPerOperation.d.ts +0 -7
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxRuntimeConfigurationPerOperation.js +0 -118
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.d.ts +0 -114
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.js +0 -788
|
@@ -152,7 +152,7 @@ let ChatArtifactsWidget = class ChatArtifactsWidget extends Disposable {
|
|
|
152
152
|
return;
|
|
153
153
|
}
|
|
154
154
|
this.domNode.style.display = "";
|
|
155
|
-
titleElement.textContent = data.totalCount === 1 ? ( localize(
|
|
155
|
+
titleElement.textContent = data.totalCount === 1 ? ( localize(7242, "1 Artifact")) : ( localize(7243, "{0} Artifacts", data.totalCount));
|
|
156
156
|
tree.layout(data.treeHeight);
|
|
157
157
|
tree.getHTMLElement().style.height = `${data.treeHeight}px`;
|
|
158
158
|
tree.setChildren(null, data.treeElements);
|
|
@@ -233,7 +233,7 @@ let ChatArtifactsWidget = class ChatArtifactsWidget extends Disposable {
|
|
|
233
233
|
const defaultUri = URI.joinPath(defaultPath, defaultFileName);
|
|
234
234
|
const targetUri = await this._fileDialogService.showSaveDialog({
|
|
235
235
|
defaultUri,
|
|
236
|
-
title: ( localize(
|
|
236
|
+
title: ( localize(7244, "Save Artifact"))
|
|
237
237
|
});
|
|
238
238
|
if (targetUri) {
|
|
239
239
|
const content = await this._fileService.readFile(sourceUri);
|
|
@@ -245,11 +245,11 @@ ChatArtifactsWidget = ChatArtifactsWidget_1 = ( __decorate([( __param(0, IChatAr
|
|
|
245
245
|
function sourceDisplayName(source) {
|
|
246
246
|
switch (source.kind) {
|
|
247
247
|
case "rules":
|
|
248
|
-
return localize(
|
|
248
|
+
return localize(7245, "Rules");
|
|
249
249
|
case "agent":
|
|
250
|
-
return localize(
|
|
250
|
+
return localize(7246, "Agent");
|
|
251
251
|
case "subagent":
|
|
252
|
-
return source.name ?? ( localize(
|
|
252
|
+
return source.name ?? ( localize(7247, "Subagent"));
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
255
|
function buildTreeElementsFromGroups(sourceGroups, multiSource, onClearSource) {
|
|
@@ -383,12 +383,12 @@ class ChatArtifactsTreeDelegate {
|
|
|
383
383
|
class ChatArtifactsAccessibilityProvider {
|
|
384
384
|
getAriaLabel(element) {
|
|
385
385
|
if (isGroupNode(element)) {
|
|
386
|
-
return localize(
|
|
386
|
+
return localize(7248, "{0} ({1} items)", element.groupName, element.artifacts.length);
|
|
387
387
|
}
|
|
388
388
|
return element.artifact.label;
|
|
389
389
|
}
|
|
390
390
|
getWidgetAriaLabel() {
|
|
391
|
-
return localize(
|
|
391
|
+
return localize(7249, "Chat Artifacts");
|
|
392
392
|
}
|
|
393
393
|
}
|
|
394
394
|
class ChatArtifactGroupRenderer {
|
|
@@ -429,7 +429,7 @@ class ChatArtifactGroupRenderer {
|
|
|
429
429
|
const clearFn = group.onClear;
|
|
430
430
|
templateData.actionBar.push(toAction({
|
|
431
431
|
id: "chatArtifacts.clearSource",
|
|
432
|
-
label: ( localize(
|
|
432
|
+
label: ( localize(7250, "Clear")),
|
|
433
433
|
class: ThemeIcon.asClassName(Codicon.close),
|
|
434
434
|
run: () => clearFn()
|
|
435
435
|
}), {
|
|
@@ -493,14 +493,14 @@ class ChatArtifactLeafRenderer {
|
|
|
493
493
|
const clearFn = onClear;
|
|
494
494
|
actions.push(toAction({
|
|
495
495
|
id: "chatArtifacts.clearSource",
|
|
496
|
-
label: ( localize(
|
|
496
|
+
label: ( localize(7250, "Clear")),
|
|
497
497
|
class: ThemeIcon.asClassName(Codicon.close),
|
|
498
498
|
run: () => clearFn()
|
|
499
499
|
}));
|
|
500
500
|
}
|
|
501
501
|
actions.push(toAction({
|
|
502
502
|
id: "chatArtifacts.save",
|
|
503
|
-
label: ( localize(
|
|
503
|
+
label: ( localize(7251, "Save artifact")),
|
|
504
504
|
class: ThemeIcon.asClassName(Codicon.save),
|
|
505
505
|
run: () => this._onSave(artifact)
|
|
506
506
|
}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
-
import {
|
|
3
|
+
import { $, reset } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
|
|
4
4
|
import { getDefaultHoverDelegate } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/hover/hoverDelegateFactory';
|
|
5
5
|
import { DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
6
6
|
import { IMarkdownRendererService } from '@codingame/monaco-vscode-api/vscode/vs/platform/markdown/browser/markdownRenderer.service';
|
|
@@ -13,6 +13,26 @@ import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/netw
|
|
|
13
13
|
import { AGENT_HOST_SCHEME } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentHostUri';
|
|
14
14
|
|
|
15
15
|
const _remoteImageDisallowed = () => false;
|
|
16
|
+
const nonPlainTextMarkdownSyntax = /[\\`*_[\]<>|&$~]/;
|
|
17
|
+
const gfmAutolink = /\b(?:https?:\/\/|www\.)/i;
|
|
18
|
+
const blockMarkdownSyntax = /(^|\n)\s{0,3}(?:#{1,6}\s|>\s?|[-+]\s|\d+[.)]\s|---+\s*$)/;
|
|
19
|
+
function renderPlainTextMarkdown(markdown, outElement) {
|
|
20
|
+
const value = markdown.value;
|
|
21
|
+
if (!value || value.includes("\n") || nonPlainTextMarkdownSyntax.test(value) || gfmAutolink.test(value) || blockMarkdownSyntax.test(value)) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
const element = outElement ?? $("div");
|
|
25
|
+
element.classList.add("rendered-markdown");
|
|
26
|
+
reset(element, $(
|
|
27
|
+
"p",
|
|
28
|
+
undefined,
|
|
29
|
+
value.length > 100_000 ? `${value.substr(0, 100_000)}…` : value
|
|
30
|
+
));
|
|
31
|
+
return {
|
|
32
|
+
element,
|
|
33
|
+
dispose: () => {}
|
|
34
|
+
};
|
|
35
|
+
}
|
|
16
36
|
const allowedChatMarkdownHtmlTags = ( Object.freeze([
|
|
17
37
|
"b",
|
|
18
38
|
"blockquote",
|
|
@@ -83,6 +103,10 @@ let ChatContentMarkdownRenderer = class ChatContentMarkdownRenderer {
|
|
|
83
103
|
this.markdownRendererService = markdownRendererService;
|
|
84
104
|
}
|
|
85
105
|
render(markdown, options, outElement) {
|
|
106
|
+
const plainTextResult = renderPlainTextMarkdown(markdown, outElement);
|
|
107
|
+
if (plainTextResult) {
|
|
108
|
+
return plainTextResult;
|
|
109
|
+
}
|
|
86
110
|
options = getChatMarkdownRenderOptions(options);
|
|
87
111
|
const mdWithBody = (markdown && markdown.supportHtml) ? {
|
|
88
112
|
...markdown,
|
|
@@ -28,7 +28,7 @@ let ChatAgentCommandContentPart = class ChatAgentCommandContentPart extends Disp
|
|
|
28
28
|
}, {
|
|
29
29
|
groupId
|
|
30
30
|
}));
|
|
31
|
-
const rerun = ( localize(
|
|
31
|
+
const rerun = ( localize(7252, "Rerun without {0}{1}", chatSubcommandLeader, cmd.name));
|
|
32
32
|
const btn = ( new Button(this.domNode, {
|
|
33
33
|
ariaLabel: rerun
|
|
34
34
|
}));
|
|
@@ -21,14 +21,14 @@ let ChatAnonymousRateLimitedPart = class ChatAnonymousRateLimitedPart extends Di
|
|
|
21
21
|
const messageContainer = append(this.domNode, $(".chat-rate-limited-message"));
|
|
22
22
|
const message = append(messageContainer, $("div"));
|
|
23
23
|
message.textContent = ( localize(
|
|
24
|
-
|
|
24
|
+
7253,
|
|
25
25
|
"Continue the conversation by signing in. Your free account gets 50 premium requests a month plus access to more models and AI features."
|
|
26
26
|
));
|
|
27
27
|
const signInButton = this._register(( new Button(messageContainer, {
|
|
28
28
|
...defaultButtonStyles,
|
|
29
29
|
supportIcons: true
|
|
30
30
|
})));
|
|
31
|
-
signInButton.label = ( localize(
|
|
31
|
+
signInButton.label = ( localize(7254, "Enable more AI features"));
|
|
32
32
|
signInButton.element.classList.add("chat-rate-limited-button");
|
|
33
33
|
this._register(signInButton.onDidClick(async () => {
|
|
34
34
|
const commandId = "workbench.action.chat.triggerSetup";
|
|
@@ -93,7 +93,7 @@ let ChatCheckpointFileChangesSummaryContentPart = class ChatCheckpointFileChange
|
|
|
93
93
|
renderViewAllFileChangesButton(container) {
|
|
94
94
|
const button = container.appendChild($(".chat-view-changes-icon"));
|
|
95
95
|
const hoverDisposable = this.hoverService.setupDelayedHover(button, () => ({
|
|
96
|
-
content: ( localize2(
|
|
96
|
+
content: ( localize2(7255, "View All File Changes"))
|
|
97
97
|
}));
|
|
98
98
|
button.classList.add(...ThemeIcon.asClassNameArray(Codicon.diffMultiple));
|
|
99
99
|
button.setAttribute("role", "button");
|
|
@@ -29,7 +29,7 @@ let ChatCodeCitationContentPart = class ChatCodeCitationContentPart extends Disp
|
|
|
29
29
|
buttonSecondaryHoverBackground: undefined,
|
|
30
30
|
buttonSeparator: undefined
|
|
31
31
|
})));
|
|
32
|
-
button.label = ( localize(
|
|
32
|
+
button.label = ( localize(7256, "View matches"));
|
|
33
33
|
this._register(button.onDidClick(() => {
|
|
34
34
|
const citationText = `# Code Citations\n\n` + ( citations.citations.map(c => `## License: ${c.license}\n${( c.value.toString())}\n\n\`\`\`\n${c.snippet}\n\`\`\`\n\n`)).join("\n");
|
|
35
35
|
this.editorService.openEditor({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ButtonWithIcon } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/button/button";
|
|
2
2
|
import { IMarkdownString, MarkdownString } from "@codingame/monaco-vscode-api/vscode/vs/base/common/htmlContent";
|
|
3
|
-
import { Disposable, IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
3
|
+
import { Disposable, DisposableStore, IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
4
4
|
import { IObservable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/observable";
|
|
5
5
|
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
6
6
|
import { IHoverService } from "@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover.service";
|
|
@@ -17,6 +17,7 @@ export declare abstract class ChatCollapsibleContentPart extends Disposable impl
|
|
|
17
17
|
protected readonly hoverService: IHoverService;
|
|
18
18
|
private _domNode?;
|
|
19
19
|
private readonly _renderedTitleWithWidgets;
|
|
20
|
+
protected readonly _titleFileWidgetStore: DisposableStore;
|
|
20
21
|
protected readonly hasFollowingContent: boolean;
|
|
21
22
|
protected _isExpanded: import("@codingame/monaco-vscode-api/vscode/vs/base/common/observable").ISettableObservable<boolean, void>;
|
|
22
23
|
protected _collapseButton: ButtonWithIcon | undefined;
|
|
@@ -3,7 +3,7 @@ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib
|
|
|
3
3
|
import { $ } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
|
|
4
4
|
import { ButtonWithIcon } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/button/button';
|
|
5
5
|
import { HoverStyle } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/hover/hover';
|
|
6
|
-
import { Disposable, MutableDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
6
|
+
import { Disposable, MutableDisposable, DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
7
7
|
import '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/index';
|
|
8
8
|
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
9
9
|
import { IHoverService } from '@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover.service';
|
|
@@ -26,6 +26,7 @@ let ChatCollapsibleContentPart = class ChatCollapsibleContentPart extends Dispos
|
|
|
26
26
|
this.hoverMessage = hoverMessage;
|
|
27
27
|
this.hoverService = hoverService;
|
|
28
28
|
this._renderedTitleWithWidgets = this._register(( new MutableDisposable()));
|
|
29
|
+
this._titleFileWidgetStore = this._register(( new DisposableStore()));
|
|
29
30
|
this._isExpanded = observableValue(this, false);
|
|
30
31
|
this._overrideIcon = observableValue(this, undefined);
|
|
31
32
|
this._contentInitialized = false;
|
|
@@ -133,11 +134,12 @@ let ChatCollapsibleContentPart = class ChatCollapsibleContentPart extends Dispos
|
|
|
133
134
|
}
|
|
134
135
|
const result = chatContentMarkdownRenderer.render(content);
|
|
135
136
|
result.element.classList.add("collapsible-title-content");
|
|
137
|
+
this._titleFileWidgetStore.clear();
|
|
136
138
|
renderFileWidgets(
|
|
137
139
|
result.element,
|
|
138
140
|
instantiationService,
|
|
139
141
|
chatMarkdownAnchorService,
|
|
140
|
-
this.
|
|
142
|
+
this._titleFileWidgetStore
|
|
141
143
|
);
|
|
142
144
|
const labelElement = this._collapseButton.labelElement;
|
|
143
145
|
labelElement.textContent = "";
|
|
@@ -23,7 +23,7 @@ let ChatCommandButtonContentPart = class ChatCommandButtonContentPart extends Di
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
renderButton(container, command, enabled, secondary) {
|
|
26
|
-
const tooltip = enabled ? command.tooltip : ( localize(
|
|
26
|
+
const tooltip = enabled ? command.tooltip : ( localize(7257, "Button not available in restored chat"));
|
|
27
27
|
const button = this._register(( new Button(container, {
|
|
28
28
|
...defaultButtonStyles,
|
|
29
29
|
supportIcons: true,
|
|
@@ -26,10 +26,10 @@ let ChatConfirmationContentPart = class ChatConfirmationContentPart extends Disp
|
|
|
26
26
|
data: confirmation.data,
|
|
27
27
|
isSecondary: button !== confirmation.buttons?.[0]
|
|
28
28
|
}))) : [{
|
|
29
|
-
label: ( localize(
|
|
29
|
+
label: ( localize(7258, "Accept")),
|
|
30
30
|
data: confirmation.data
|
|
31
31
|
}, {
|
|
32
|
-
label: ( localize(
|
|
32
|
+
label: ( localize(7259, "Dismiss")),
|
|
33
33
|
data: confirmation.data,
|
|
34
34
|
isSecondary: true
|
|
35
35
|
}];
|
|
@@ -507,12 +507,12 @@ function configureAccessibilityContainer(container, title, message, footerBanner
|
|
|
507
507
|
const messageAsString = typeof message === "string" ? message : message && "value" in message ? message.value : message && "textContent" in message ? message.textContent : "";
|
|
508
508
|
const bannerAsString = footerBanner?.textContent?.trim() ?? "";
|
|
509
509
|
container.setAttribute("aria-label", bannerAsString ? ( localize(
|
|
510
|
-
|
|
510
|
+
7260,
|
|
511
511
|
"Chat Confirmation Dialog {0} {1} {2}",
|
|
512
512
|
titleAsString,
|
|
513
513
|
messageAsString,
|
|
514
514
|
bannerAsString
|
|
515
|
-
)) : ( localize(
|
|
515
|
+
)) : ( localize(7261, "Chat Confirmation Dialog {0} {1}", titleAsString, messageAsString)));
|
|
516
516
|
container.classList.add("chat-confirmation-widget-container");
|
|
517
517
|
}
|
|
518
518
|
|
|
@@ -24,13 +24,13 @@ let ChatDisabledClaudeHooksContentPart = class ChatDisabledClaudeHooksContentPar
|
|
|
24
24
|
const icon = $(".chat-disabled-claude-hooks-icon");
|
|
25
25
|
icon.classList.add(...ThemeIcon.asClassNameArray(Codicon.info));
|
|
26
26
|
const enableLink = createMarkdownCommandLink({
|
|
27
|
-
text: ( localize(
|
|
27
|
+
text: ( localize(7262, "Enable")),
|
|
28
28
|
id: "workbench.action.openSettings",
|
|
29
29
|
arguments: [PromptsConfig.USE_CLAUDE_HOOKS],
|
|
30
|
-
tooltip: ( localize(
|
|
30
|
+
tooltip: ( localize(7263, "Open settings to enable Claude Code hooks"))
|
|
31
31
|
});
|
|
32
32
|
const message = ( localize(
|
|
33
|
-
|
|
33
|
+
7264,
|
|
34
34
|
"Claude Code hooks are available for this workspace. {0}",
|
|
35
35
|
enableLink
|
|
36
36
|
));
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { StandardMouseEvent } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/mouseEvent";
|
|
2
|
+
import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
|
|
3
|
+
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
4
|
+
import { ThemeIcon } from "@codingame/monaco-vscode-api/vscode/vs/base/common/themables";
|
|
5
|
+
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
6
|
+
import { ILanguageService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language.service";
|
|
7
|
+
import { IModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model.service";
|
|
8
|
+
import { IHoverService } from "@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover.service";
|
|
9
|
+
import { ILabelService } from "@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service";
|
|
10
|
+
import { IOpenEditorOptions } from "../../../../../../platform/editor/browser/editor.js";
|
|
11
|
+
/**
|
|
12
|
+
* The shared DOM + styling for a "code block pill" — the small chip rendered in
|
|
13
|
+
* chat output that announces a file edit (e.g. "file.ts Edited +5 -2").
|
|
14
|
+
*
|
|
15
|
+
* This class is intentionally agnostic of where the diff information comes
|
|
16
|
+
* from. Subclasses or callers feed in URI, status icon/label, +/- counts, and
|
|
17
|
+
* an optional progress percentage. Two consumers exist today:
|
|
18
|
+
*
|
|
19
|
+
* - {@link CollapsedCodeBlock} (chat editing pipeline) wires the pill to an
|
|
20
|
+
* {@link IChatEditingSession} so the status and diff update as edits stream
|
|
21
|
+
* in.
|
|
22
|
+
* - {@link ChatExternalEditContentPart} (agent host pipeline) renders a static
|
|
23
|
+
* pill from data already provided by the agent host.
|
|
24
|
+
*/
|
|
25
|
+
export declare class ChatEditPillElement extends Disposable {
|
|
26
|
+
protected readonly labelService: ILabelService;
|
|
27
|
+
protected readonly modelService: IModelService;
|
|
28
|
+
protected readonly languageService: ILanguageService;
|
|
29
|
+
protected readonly hoverService: IHoverService;
|
|
30
|
+
readonly element: HTMLElement;
|
|
31
|
+
protected readonly pillElement: HTMLElement;
|
|
32
|
+
protected readonly statusIndicatorContainer: HTMLElement;
|
|
33
|
+
protected readonly statusIconEl: HTMLElement;
|
|
34
|
+
protected readonly statusLabelEl: HTMLElement;
|
|
35
|
+
protected readonly progressFillEl: HTMLElement;
|
|
36
|
+
protected readonly fileIconEl: HTMLElement;
|
|
37
|
+
protected readonly fileIconLabelEl: HTMLElement;
|
|
38
|
+
protected readonly labelDetailEl: HTMLElement;
|
|
39
|
+
private readonly _hover;
|
|
40
|
+
private _tooltip;
|
|
41
|
+
private _uri;
|
|
42
|
+
get uri(): URI | undefined;
|
|
43
|
+
private _statusIconClasses;
|
|
44
|
+
private _pillIconClasses;
|
|
45
|
+
private _labelAddedEl;
|
|
46
|
+
private _labelRemovedEl;
|
|
47
|
+
private readonly _onDidClick;
|
|
48
|
+
/** Fires when the pill is activated (click / keyboard). Carries the standard open-editor options. */
|
|
49
|
+
readonly onDidClick: Event<IOpenEditorOptions>;
|
|
50
|
+
private readonly _onDidContextMenu;
|
|
51
|
+
/** Fires on right-click. Subclasses can present a context menu. */
|
|
52
|
+
readonly onDidContextMenu: Event<StandardMouseEvent>;
|
|
53
|
+
constructor(labelService: ILabelService, modelService: IModelService, languageService: ILanguageService, hoverService: IHoverService);
|
|
54
|
+
/**
|
|
55
|
+
* Renders or updates the file icon + name. Call this whenever the URI
|
|
56
|
+
* changes; also resets the +added / -removed counters since they no
|
|
57
|
+
* longer apply to the previous file.
|
|
58
|
+
*/
|
|
59
|
+
setUri(uri: URI): void;
|
|
60
|
+
/**
|
|
61
|
+
* Updates the leading status indicator (icon + textual label). Pass
|
|
62
|
+
* `undefined` to clear the icon.
|
|
63
|
+
*/
|
|
64
|
+
setStatus(icon: ThemeIcon | undefined, label: string): void;
|
|
65
|
+
/**
|
|
66
|
+
* Sets the trailing detail label (e.g. "Generating edits...", "(35%)").
|
|
67
|
+
* Pass an empty string to clear.
|
|
68
|
+
*/
|
|
69
|
+
setLabelDetail(text: string): void;
|
|
70
|
+
/**
|
|
71
|
+
* Renders the progress-fill animation behind the pill. `percent` is in
|
|
72
|
+
* the range [0, 100]. Pass `undefined` (or omit) to clear.
|
|
73
|
+
*/
|
|
74
|
+
setProgressFill(percent: number | undefined): void;
|
|
75
|
+
/**
|
|
76
|
+
* Renders the +added / -removed counters at the trailing end of the pill
|
|
77
|
+
* and sets the aria label to a localized summary. Pass `undefined` to
|
|
78
|
+
* hide the counters.
|
|
79
|
+
*/
|
|
80
|
+
setDiff(diff: {
|
|
81
|
+
added: number;
|
|
82
|
+
removed: number;
|
|
83
|
+
} | undefined): void;
|
|
84
|
+
/**
|
|
85
|
+
* Sets the screen-reader announcement for the pill.
|
|
86
|
+
*/
|
|
87
|
+
setAriaLabel(label: string): void;
|
|
88
|
+
/**
|
|
89
|
+
* Sets the delayed hover tooltip text. Re-using the existing hover binding
|
|
90
|
+
* so subsequent calls just swap the displayed text.
|
|
91
|
+
*/
|
|
92
|
+
setTooltip(tooltip: string): void;
|
|
93
|
+
}
|
package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatEditPillElement.js
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
|
|
2
|
+
import { registerCss } from '@codingame/monaco-vscode-api/css';
|
|
3
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
4
|
+
import { $ as $$1, addDisposableListener, EventType, getWindow, EventHelper } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
|
|
5
|
+
import { StandardMouseEvent } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/mouseEvent';
|
|
6
|
+
import { HoverStyle } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/hover/hover';
|
|
7
|
+
import { HoverPosition } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/hover/hoverWidget';
|
|
8
|
+
import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
9
|
+
import { Disposable, MutableDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
10
|
+
import { ThemeIcon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/themables';
|
|
11
|
+
import { ILanguageService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language.service';
|
|
12
|
+
import { getIconClasses } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/getIconClasses';
|
|
13
|
+
import { IModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model.service';
|
|
14
|
+
import { FileKind } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files';
|
|
15
|
+
import { IHoverService } from '@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover.service';
|
|
16
|
+
import { ILabelService } from '@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service';
|
|
17
|
+
import { registerOpenEditorListeners } from '../../../../../../platform/editor/browser/editor.js';
|
|
18
|
+
import * as chatCodeBlockPill from './media/chatCodeBlockPill.css';
|
|
19
|
+
|
|
20
|
+
registerCss(chatCodeBlockPill);
|
|
21
|
+
const $ = $$1;
|
|
22
|
+
let ChatEditPillElement = class ChatEditPillElement extends Disposable {
|
|
23
|
+
get uri() {
|
|
24
|
+
return this._uri;
|
|
25
|
+
}
|
|
26
|
+
constructor(labelService, modelService, languageService, hoverService) {
|
|
27
|
+
super();
|
|
28
|
+
this.labelService = labelService;
|
|
29
|
+
this.modelService = modelService;
|
|
30
|
+
this.languageService = languageService;
|
|
31
|
+
this.hoverService = hoverService;
|
|
32
|
+
this._hover = this._register(( new MutableDisposable()));
|
|
33
|
+
this._statusIconClasses = [];
|
|
34
|
+
this._pillIconClasses = [];
|
|
35
|
+
this._onDidClick = this._register(( new Emitter()));
|
|
36
|
+
this.onDidClick = this._onDidClick.event;
|
|
37
|
+
this._onDidContextMenu = this._register(( new Emitter()));
|
|
38
|
+
this.onDidContextMenu = this._onDidContextMenu.event;
|
|
39
|
+
this.element = $("div.chat-codeblock-pill-container");
|
|
40
|
+
this.statusIndicatorContainer = $("div.status-indicator-container");
|
|
41
|
+
this.statusIconEl = $("span.status-icon");
|
|
42
|
+
this.statusLabelEl = $("span.status-label", {}, "");
|
|
43
|
+
this.statusIndicatorContainer.append(this.statusIconEl, this.statusLabelEl);
|
|
44
|
+
this.pillElement = $(".chat-codeblock-pill-widget");
|
|
45
|
+
this.pillElement.tabIndex = 0;
|
|
46
|
+
this.pillElement.classList.add("show-file-icons");
|
|
47
|
+
this.pillElement.role = "button";
|
|
48
|
+
this.progressFillEl = $("span.progress-fill");
|
|
49
|
+
this.fileIconEl = $("span.icon");
|
|
50
|
+
this.fileIconLabelEl = $("span.icon-label", {}, "");
|
|
51
|
+
this.labelDetailEl = $("span.label-detail", {}, "");
|
|
52
|
+
this.pillElement.append(
|
|
53
|
+
this.progressFillEl,
|
|
54
|
+
this.fileIconEl,
|
|
55
|
+
this.fileIconLabelEl,
|
|
56
|
+
this.labelDetailEl
|
|
57
|
+
);
|
|
58
|
+
this.element.append(this.statusIndicatorContainer, this.pillElement);
|
|
59
|
+
this._register(
|
|
60
|
+
registerOpenEditorListeners(this.pillElement, opts => this._onDidClick.fire(opts))
|
|
61
|
+
);
|
|
62
|
+
this._register(
|
|
63
|
+
addDisposableListener(this.pillElement, EventType.CONTEXT_MENU, e => {
|
|
64
|
+
const event = ( new StandardMouseEvent(getWindow(e), e));
|
|
65
|
+
EventHelper.stop(e, true);
|
|
66
|
+
this._onDidContextMenu.fire(event);
|
|
67
|
+
})
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
setUri(uri) {
|
|
71
|
+
this._uri = uri;
|
|
72
|
+
const iconText = this.labelService.getUriBasenameLabel(uri);
|
|
73
|
+
this.fileIconLabelEl.textContent = iconText;
|
|
74
|
+
const fileKind = uri.path.endsWith("/") ? FileKind.FOLDER : FileKind.FILE;
|
|
75
|
+
this.fileIconEl.classList.remove(...this._pillIconClasses);
|
|
76
|
+
this._pillIconClasses = getIconClasses(this.modelService, this.languageService, uri, fileKind);
|
|
77
|
+
this.fileIconEl.classList.add(...this._pillIconClasses);
|
|
78
|
+
this.setTooltip(this.labelService.getUriLabel(uri, {
|
|
79
|
+
relative: true
|
|
80
|
+
}));
|
|
81
|
+
}
|
|
82
|
+
setStatus(icon, label) {
|
|
83
|
+
this.statusIconEl.classList.remove(...this._statusIconClasses);
|
|
84
|
+
this._statusIconClasses = icon ? ThemeIcon.asClassNameArray(icon) : [];
|
|
85
|
+
if (this._statusIconClasses.length > 0) {
|
|
86
|
+
this.statusIconEl.classList.add(...this._statusIconClasses);
|
|
87
|
+
}
|
|
88
|
+
this.statusLabelEl.textContent = label;
|
|
89
|
+
}
|
|
90
|
+
setLabelDetail(text) {
|
|
91
|
+
this.labelDetailEl.textContent = text;
|
|
92
|
+
}
|
|
93
|
+
setProgressFill(percent) {
|
|
94
|
+
if (typeof percent === "number") {
|
|
95
|
+
this.progressFillEl.style.width = `${percent}%`;
|
|
96
|
+
this.pillElement.classList.add("progress-filling");
|
|
97
|
+
} else {
|
|
98
|
+
this.progressFillEl.style.width = "0%";
|
|
99
|
+
this.pillElement.classList.remove("progress-filling");
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
setDiff(diff) {
|
|
103
|
+
if (!diff) {
|
|
104
|
+
this._labelAddedEl?.remove();
|
|
105
|
+
this._labelRemovedEl?.remove();
|
|
106
|
+
this._labelAddedEl = undefined;
|
|
107
|
+
this._labelRemovedEl = undefined;
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
if (!this._labelAddedEl) {
|
|
111
|
+
this._labelAddedEl = this.pillElement.appendChild($("span.label-added"));
|
|
112
|
+
}
|
|
113
|
+
if (!this._labelRemovedEl) {
|
|
114
|
+
this._labelRemovedEl = this.pillElement.appendChild($("span.label-removed"));
|
|
115
|
+
}
|
|
116
|
+
this._labelAddedEl.textContent = `+${diff.added}`;
|
|
117
|
+
this._labelRemovedEl.textContent = `-${diff.removed}`;
|
|
118
|
+
}
|
|
119
|
+
setAriaLabel(label) {
|
|
120
|
+
this.element.ariaLabel = label;
|
|
121
|
+
}
|
|
122
|
+
setTooltip(tooltip) {
|
|
123
|
+
this._tooltip = tooltip;
|
|
124
|
+
if (!this._hover.value) {
|
|
125
|
+
this._hover.value = this.hoverService.setupDelayedHover(this.pillElement, () => ({
|
|
126
|
+
content: this._tooltip,
|
|
127
|
+
style: HoverStyle.Pointer,
|
|
128
|
+
position: {
|
|
129
|
+
hoverPosition: HoverPosition.BELOW
|
|
130
|
+
},
|
|
131
|
+
persistence: {
|
|
132
|
+
hideOnKeyDown: true
|
|
133
|
+
}
|
|
134
|
+
}));
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
ChatEditPillElement = ( __decorate([( __param(0, ILabelService)), ( __param(1, IModelService)), ( __param(2, ILanguageService)), ( __param(3, IHoverService))], ChatEditPillElement));
|
|
139
|
+
|
|
140
|
+
export { ChatEditPillElement };
|
|
@@ -30,7 +30,7 @@ let ChatExtensionsContentPart = class ChatExtensionsContentPart extends Disposab
|
|
|
30
30
|
append(
|
|
31
31
|
loadingElement,
|
|
32
32
|
$(ThemeIcon.asCSSSelector(ThemeIcon.modify(Codicon.loading, "spin"))),
|
|
33
|
-
$("span.loading-message", undefined, ( localize(
|
|
33
|
+
$("span.loading-message", undefined, ( localize(7265, "Loading extensions...")))
|
|
34
34
|
);
|
|
35
35
|
const extensionsList = append(this.domNode, $(".extensions-list"));
|
|
36
36
|
const list = this._register(
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
|
|
2
|
+
import { ILanguageService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language.service";
|
|
3
|
+
import { IModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model.service";
|
|
4
|
+
import { IHoverService } from "@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover.service";
|
|
5
|
+
import { ILabelService } from "@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service";
|
|
6
|
+
import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
7
|
+
import { IChatExternalEdit } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService";
|
|
8
|
+
import { IEditSessionDiffStats } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/editing/chatEditingService";
|
|
9
|
+
import { IChatRendererContent } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatViewModel";
|
|
10
|
+
import { ChatTreeItem } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat";
|
|
11
|
+
import { ChatEditPillElement } from "./chatEditPillElement.js";
|
|
12
|
+
import { IChatContentPart, IChatContentPartRenderContext } from "./chatContentParts.js";
|
|
13
|
+
/**
|
|
14
|
+
* Renders an {@link IChatExternalEdit} progress part as a static "edit pill".
|
|
15
|
+
*
|
|
16
|
+
* Unlike {@link CollapsedCodeBlock}, this part receives all of its data
|
|
17
|
+
* (URI, edit kind, diff stats, before/after content URIs) up-front from the
|
|
18
|
+
* producer (the agent host) and never reads from an
|
|
19
|
+
* {@link IChatEditingSession}. It exists because agent hosts already know
|
|
20
|
+
* the diff metadata for a completed tool call and there's no value in
|
|
21
|
+
* re-deriving it through the chat editing pipeline.
|
|
22
|
+
*
|
|
23
|
+
* Activation (click / Enter) opens the side-by-side diff editor when both
|
|
24
|
+
* `beforeContentUri` and `afterContentUri` are present, falling back to
|
|
25
|
+
* opening the resulting file otherwise.
|
|
26
|
+
*/
|
|
27
|
+
export declare class ChatExternalEditContentPart extends ChatEditPillElement implements IChatContentPart {
|
|
28
|
+
private readonly edit;
|
|
29
|
+
private readonly editorService;
|
|
30
|
+
private readonly _onDidChangeDiff;
|
|
31
|
+
/**
|
|
32
|
+
* Fires once with the static diff stats from the part data. Wired up by
|
|
33
|
+
* the list renderer so {@link ChatThinkingContentPart} can aggregate
|
|
34
|
+
* per-file stats into the thinking title.
|
|
35
|
+
*
|
|
36
|
+
* The fire is deferred to the next microtask so that consumers
|
|
37
|
+
* subscribing immediately after construction (e.g. via
|
|
38
|
+
* `ChatThinkingContentPart.appendItem`) still receive the initial value.
|
|
39
|
+
*/
|
|
40
|
+
readonly onDidChangeDiff: Event<IEditSessionDiffStats>;
|
|
41
|
+
get domNode(): HTMLElement;
|
|
42
|
+
constructor(edit: IChatExternalEdit, _context: IChatContentPartRenderContext, labelService: ILabelService, modelService: IModelService, languageService: ILanguageService, hoverService: IHoverService, editorService: IEditorService);
|
|
43
|
+
private render;
|
|
44
|
+
private openEdit;
|
|
45
|
+
hasSameContent(other: IChatRendererContent, _followingContent: IChatRendererContent[], _element: ChatTreeItem): boolean;
|
|
46
|
+
}
|