@codingame/monaco-vscode-katex-common 25.1.2 → 26.0.1
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 +23 -2
- package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.js +64 -27
- package/vscode/src/vs/platform/actions/browser/actionWidgetDropdownActionViewItem.d.ts +3 -1
- package/vscode/src/vs/platform/actions/browser/actionWidgetDropdownActionViewItem.js +31 -28
- package/vscode/src/vs/platform/actions/browser/buttonbar.d.ts +2 -0
- package/vscode/src/vs/platform/actions/browser/buttonbar.js +71 -50
- package/vscode/src/vs/platform/editor/browser/editor.js +17 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityProvider.js +112 -129
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContinueInAction.d.ts +10 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContinueInAction.js +110 -85
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatElicitationActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.d.ts +21 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +308 -216
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +153 -148
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionHoverWidget.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionHoverWidget.js +247 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsControl.d.ts +71 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsControl.js +347 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsFilter.d.ts +44 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsFilter.js +287 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsOpener.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsOpener.js +89 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.d.ts +188 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.js +677 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/media/agentSessionHoverWidget.css +98 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/media/agentsessionsviewer.css +263 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentModel.js +34 -25
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgets.d.ts +19 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgets.js +762 -359
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatImplicitContext.d.ts +22 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatImplicitContext.js +188 -99
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/implicitContextAttachment.d.ts +9 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/implicitContextAttachment.js +166 -113
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingActions.d.ts +12 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingActions.js +279 -213
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.d.ts +46 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +533 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +382 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationWidget.d.ts +101 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationWidget.js +509 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/media/chatEditingEditorOverlay.css +130 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/media/chatEditingExplanationWidget.css +276 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionPickerActionItem.d.ts +24 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionPickerActionItem.js +128 -52
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.d.ts +153 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +1218 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/media/chatSessionPickerActionItem.css +14 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/searchableOptionPickerActionItem.d.ts +39 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/searchableOptionPickerActionItem.js +193 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewWelcomeController.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewWelcomeController.js +93 -89
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcome.js +5 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatAgentHover.js +42 -47
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentMarkdownRenderer.js +58 -56
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAgentCommandContentPart.js +18 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAnonymousRateLimitedPart.js +17 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAttachmentsContentPart.d.ts +6 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAttachmentsContentPart.js +132 -68
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatChangesSummaryPart.d.ts +0 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatChangesSummaryPart.js +68 -47
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCodeCitationContentPart.js +14 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollapsibleContentPart.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollapsibleContentPart.js +36 -24
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollapsibleMarkdownContentPart.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollapsibleMarkdownContentPart.js +32 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollections.d.ts +7 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollections.js +15 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCommandContentPart.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCommandContentPart.js +22 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatConfirmationContentPart.d.ts +0 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatConfirmationContentPart.js +34 -27
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatConfirmationWidget.d.ts +1 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatConfirmationWidget.js +198 -135
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatContentCodePools.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatContentCodePools.js +38 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatDiffBlockPart.js +29 -27
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatElicitationContentPart.d.ts +0 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatElicitationContentPart.js +41 -36
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatErrorConfirmationPart.d.ts +0 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatErrorConfirmationPart.js +23 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatErrorContentPart.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatExtensionsContentPart.d.ts +0 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatExtensionsContentPart.js +20 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatInlineAnchorWidget.d.ts +11 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatInlineAnchorWidget.js +291 -152
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownContentPart.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownContentPart.js +227 -162
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownDecorationsRenderer.js +68 -72
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMcpServersInteractionContentPart.d.ts +2 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMcpServersInteractionContentPart.js +76 -75
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMultiDiffContentPart.d.ts +2 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMultiDiffContentPart.js +96 -76
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatProgressContentPart.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatProgressContentPart.js +74 -38
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatPullRequestContentPart.d.ts +0 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatPullRequestContentPart.js +11 -25
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuestionCarouselPart.d.ts +107 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuestionCarouselPart.js +814 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuotaExceededPart.d.ts +0 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuotaExceededPart.js +34 -29
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatReferencesContentPart.d.ts +8 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatReferencesContentPart.js +236 -197
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSubagentContentPart.d.ts +123 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSubagentContentPart.js +492 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSuggestNextWidget.js +75 -47
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTaskContentPart.d.ts +2 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTaskContentPart.js +31 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTextEditContentPart.d.ts +0 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTextEditContentPart.js +42 -36
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingContentPart.d.ts +55 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingContentPart.js +714 -148
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTipContentPart.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTipContentPart.js +21 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTodoListWidget.d.ts +2 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTodoListWidget.js +143 -153
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatToolInputOutputContentPart.d.ts +14 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatToolInputOutputContentPart.js +79 -61
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatToolOutputContentSubPart.d.ts +10 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatToolOutputContentSubPart.js +209 -77
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTreeContentPart.d.ts +9 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTreeContentPart.js +71 -54
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatWorkspaceEditContentPart.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatWorkspaceEditContentPart.js +83 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/codeBlockPart.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/codeBlockPart.js +248 -190
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatConfirmationWidget.css +1 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatInlineAnchorWidget.css +23 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatPullRequestContent.css +5 -41
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatQuestionCarousel.css +493 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatSubagentContent.css +63 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatTerminalToolProgressPart.css +9 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatThinkingContent.css +121 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatTipContent.css +37 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/abstractToolConfirmationSubPart.js +51 -45
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatExtensionsInstallToolSubPart.js +46 -42
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatInputOutputMarkdownProgressPart.d.ts +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatInputOutputMarkdownProgressPart.js +99 -67
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppModel.d.ts +112 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppModel.js +634 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppSubPart.d.ts +49 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppSubPart.js +132 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatResultListSubPart.js +15 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolConfirmationSubPart.js +196 -149
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolProgressPart.d.ts +17 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatTerminalToolProgressPart.js +577 -193
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolConfirmationSubPart.js +119 -86
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolInvocationPart.d.ts +10 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolInvocationPart.js +165 -36
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolInvocationSubPart.d.ts +0 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolInvocationSubPart.js +5 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolOutputPart.d.ts +5 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolOutputPart.js +75 -65
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPartUtilities.js +30 -28
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPostExecuteConfirmationPart.d.ts +1 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPostExecuteConfirmationPart.js +102 -106
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolProgressPart.js +44 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolStreamingSubPart.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolStreamingSubPart.js +67 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/terminalToolAutoExpand.d.ts +57 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/terminalToolAutoExpand.js +69 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatDragAndDrop.js +122 -82
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatListRenderer.d.ts +39 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatListRenderer.js +1110 -597
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatListWidget.d.ts +291 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatListWidget.js +485 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatOptions.js +38 -28
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidget.d.ts +9 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidget.js +650 -689
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatFollowups.js +21 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPart.d.ts +102 -36
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPart.js +1253 -790
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPartWidgets.d.ts +0 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPartWidgets.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPickerActionItem.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPickerActionItem.js +55 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatSelectedTools.d.ts +6 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatSelectedTools.js +51 -35
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/delegationSessionPickerActionItem.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/delegationSessionPickerActionItem.js +102 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modePickerActionItem.d.ts +16 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modePickerActionItem.js +192 -44
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPickerActionItem.d.ts +11 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPickerActionItem.js +99 -66
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/sessionTargetPickerActionItem.d.ts +47 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/sessionTargetPickerActionItem.js +188 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/workspacePickerActionItem.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/workspacePickerActionItem.js +115 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chat.css +129 -167
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chatViewWelcome.css +16 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageDetails.d.ts +37 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageDetails.js +143 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageWidget.d.ts +56 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageWidget.js +206 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatContextUsageDetails.css +152 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatContextUsageWidget.css +67 -0
- package/vscode/src/vs/workbench/contrib/chat/common/widget/annotations.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/chat/common/widget/annotations.js +170 -0
- 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 +80 -19
- package/vscode/src/vs/workbench/contrib/chat/common/widget/chatWidgetHistoryService.js +20 -28
- package/vscode/src/vs/workbench/contrib/chat/common/widget/codeBlockModelCollection.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/widget/codeBlockModelCollection.js +22 -19
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAffordance.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAffordance.js +122 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.d.ts +19 -104
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +316 -1040
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatEditorAffordance.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatEditorAffordance.js +162 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatGutterAffordance.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatGutterAffordance.js +98 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatOverlayWidget.d.ts +68 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatOverlayWidget.js +416 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.d.ts +1 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +194 -215
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +74 -104
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChat.css +45 -91
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChatEditorAffordance.css +22 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChatOverlayWidget.css +98 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.d.ts +5 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +96 -68
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveCommon.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveCommon.js +11 -0
- package/vscode/src/vs/workbench/contrib/interactive/browser/replInputHintContentWidget.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/interactive/browser/replInputHintContentWidget.js +150 -0
- package/vscode/src/vs/workbench/contrib/markdown/browser/markedKatexSupport.js +141 -147
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpToolCallUI.d.ts +64 -0
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpToolCallUI.js +200 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocolApps.d.ts +548 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocolApps.js +23 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +338 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/notebookVisibleCellObserver.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/notebookVisibleCellObserver.js +58 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.d.ts +75 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +364 -0
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/interactiveEditor.css +21 -0
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/media/interactive.css +36 -0
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditor.d.ts +110 -0
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditor.js +692 -0
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorInput.d.ts +40 -0
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorInput.js +158 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/chatTerminalCommandMirror.d.ts +80 -21
- package/vscode/src/vs/workbench/contrib/terminal/browser/chatTerminalCommandMirror.js +440 -82
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatInputRelatedFilesContrib.d.ts +0 -34
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatInputRelatedFilesContrib.js +0 -139
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.d.ts +0 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.js +0 -1081
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.d.ts +0 -199
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.js +0 -482
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +0 -28
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.js +0 -37
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.d.ts +0 -94
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +0 -495
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.d.ts +0 -72
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +0 -454
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.d.ts +0 -13
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.js +0 -66
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpPromptArgumentPick.d.ts +0 -41
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpPromptArgumentPick.js +0 -372
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.d.ts +0 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.js +0 -58
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.d.ts +0 -26
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +0 -594
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.js +0 -55
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.d.ts +0 -273
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +0 -1746
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.d.ts +0 -50
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +0 -269
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.d.ts +0 -258
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.js +0 -806
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.d.ts +0 -41
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.js +0 -116
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/editorHeightCalculator.d.ts +0 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/editorHeightCalculator.js +0 -62
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.d.ts +0 -27
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.js +0 -40
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookCellDiffDecorator.d.ts +0 -23
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookCellDiffDecorator.js +0 -295
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookDeletedCellDecorator.d.ts +0 -51
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookDeletedCellDecorator.js +0 -241
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiff.d.ts +0 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiff.js +0 -146
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiffWidget.d.ts +0 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiffWidget.js +0 -90
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInsertedCellDecorator.d.ts +0 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInsertedCellDecorator.js +0 -41
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalCellModelFactory.d.ts +0 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalCellModelFactory.js +0 -42
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.d.ts +0 -25
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.js +0 -77
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiff.css +0 -469
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.d.ts +0 -149
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +0 -823
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.d.ts +0 -180
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +0 -29
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.d.ts +0 -102
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +0 -567
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.d.ts +0 -30
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.js +0 -189
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffViewModel.d.ts +0 -75
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffViewModel.js +0 -439
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.d.ts +0 -57
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.js +0 -263
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditorInput.d.ts +0 -22
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditorInput.js +0 -48
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/unchangedEditorRegions.d.ts +0 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/unchangedEditorRegions.js +0 -39
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel.d.ts +0 -19
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel.js +0 -89
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiff.d.ts +0 -26
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiff.js +0 -92
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiffEditorInput.d.ts +0 -33
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiffEditorInput.js +0 -108
package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatDiffBlockPart.js
CHANGED
|
@@ -13,35 +13,30 @@ import { ITextModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor
|
|
|
13
13
|
import { EditorModel } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor/editorModel';
|
|
14
14
|
|
|
15
15
|
function parseUnifiedDiff(diffText) {
|
|
16
|
-
const lines = diffText.split(
|
|
16
|
+
const lines = diffText.split("\n");
|
|
17
17
|
const beforeLines = [];
|
|
18
18
|
const afterLines = [];
|
|
19
19
|
for (const line of lines) {
|
|
20
|
-
if (line.startsWith(
|
|
20
|
+
if (line.startsWith("- ")) {
|
|
21
21
|
beforeLines.push(line.substring(2));
|
|
22
|
-
}
|
|
23
|
-
else if (line.startsWith('-')) {
|
|
22
|
+
} else if (line.startsWith("-")) {
|
|
24
23
|
beforeLines.push(line.substring(1));
|
|
25
|
-
}
|
|
26
|
-
else if (line.startsWith('+ ')) {
|
|
24
|
+
} else if (line.startsWith("+ ")) {
|
|
27
25
|
afterLines.push(line.substring(2));
|
|
28
|
-
}
|
|
29
|
-
else if (line.startsWith('+')) {
|
|
26
|
+
} else if (line.startsWith("+")) {
|
|
30
27
|
afterLines.push(line.substring(1));
|
|
31
|
-
}
|
|
32
|
-
else if (line.startsWith(' ')) {
|
|
28
|
+
} else if (line.startsWith(" ")) {
|
|
33
29
|
const content = line.substring(1);
|
|
34
30
|
beforeLines.push(content);
|
|
35
31
|
afterLines.push(content);
|
|
36
|
-
}
|
|
37
|
-
else if (!line.startsWith('@@') && !line.startsWith('---') && !line.startsWith('+++') && !line.startsWith('diff ')) {
|
|
32
|
+
} else if (!line.startsWith("@@") && !line.startsWith("---") && !line.startsWith("+++") && !line.startsWith("diff ")) {
|
|
38
33
|
beforeLines.push(line);
|
|
39
34
|
afterLines.push(line);
|
|
40
35
|
}
|
|
41
36
|
}
|
|
42
37
|
return {
|
|
43
|
-
before: beforeLines.join(
|
|
44
|
-
after: afterLines.join(
|
|
38
|
+
before: beforeLines.join("\n"),
|
|
39
|
+
after: afterLines.join("\n")
|
|
45
40
|
};
|
|
46
41
|
}
|
|
47
42
|
class SimpleDiffEditorModel extends EditorModel {
|
|
@@ -59,7 +54,14 @@ class SimpleDiffEditorModel extends EditorModel {
|
|
|
59
54
|
}
|
|
60
55
|
}
|
|
61
56
|
let MarkdownDiffBlockPart = class MarkdownDiffBlockPart extends Disposable {
|
|
62
|
-
constructor(
|
|
57
|
+
constructor(
|
|
58
|
+
data,
|
|
59
|
+
diffEditorPool,
|
|
60
|
+
currentWidth,
|
|
61
|
+
modelService,
|
|
62
|
+
textModelService,
|
|
63
|
+
languageService
|
|
64
|
+
) {
|
|
63
65
|
super();
|
|
64
66
|
this.modelService = modelService;
|
|
65
67
|
this.textModelService = textModelService;
|
|
@@ -73,15 +75,19 @@ let MarkdownDiffBlockPart = class MarkdownDiffBlockPart extends Disposable {
|
|
|
73
75
|
}));
|
|
74
76
|
const originalUri = ( URI.from({
|
|
75
77
|
scheme: Schemas.vscodeChatCodeBlock,
|
|
76
|
-
path: `/chat-diff-original-${data.codeBlockIndex}-${generateUuid()}
|
|
78
|
+
path: `/chat-diff-original-${data.codeBlockIndex}-${generateUuid()}`
|
|
77
79
|
}));
|
|
78
80
|
const modifiedUri = ( URI.from({
|
|
79
81
|
scheme: Schemas.vscodeChatCodeBlock,
|
|
80
|
-
path: `/chat-diff-modified-${data.codeBlockIndex}-${generateUuid()}
|
|
82
|
+
path: `/chat-diff-modified-${data.codeBlockIndex}-${generateUuid()}`
|
|
81
83
|
}));
|
|
82
84
|
const languageSelection = this.languageService.createById(data.languageId);
|
|
83
|
-
this._register(
|
|
84
|
-
|
|
85
|
+
this._register(
|
|
86
|
+
this.modelService.createModel(data.beforeContent, languageSelection, originalUri, false)
|
|
87
|
+
);
|
|
88
|
+
this._register(
|
|
89
|
+
this.modelService.createModel(data.afterContent, languageSelection, modifiedUri, false)
|
|
90
|
+
);
|
|
85
91
|
const modelsPromise = Promise.all([
|
|
86
92
|
this.textModelService.createModelReference(originalUri),
|
|
87
93
|
this.textModelService.createModelReference(modifiedUri)
|
|
@@ -95,15 +101,15 @@ let MarkdownDiffBlockPart = class MarkdownDiffBlockPart extends Disposable {
|
|
|
95
101
|
edit: {
|
|
96
102
|
uri: data.codeBlockResource || modifiedUri,
|
|
97
103
|
edits: [],
|
|
98
|
-
kind:
|
|
104
|
+
kind: "textEditGroup",
|
|
99
105
|
done: true
|
|
100
106
|
},
|
|
101
|
-
diffData: modelsPromise.then(async
|
|
107
|
+
diffData: modelsPromise.then(async model => {
|
|
102
108
|
this.modelRef.value = model;
|
|
103
109
|
const diffData = {
|
|
104
110
|
original: model.original,
|
|
105
111
|
modified: model.modified,
|
|
106
|
-
originalSha1: await hashAsync(model.original.getValue())
|
|
112
|
+
originalSha1: await hashAsync(model.original.getValue())
|
|
107
113
|
};
|
|
108
114
|
return diffData;
|
|
109
115
|
})
|
|
@@ -118,10 +124,6 @@ let MarkdownDiffBlockPart = class MarkdownDiffBlockPart extends Disposable {
|
|
|
118
124
|
this.modelRef.clear();
|
|
119
125
|
}
|
|
120
126
|
};
|
|
121
|
-
MarkdownDiffBlockPart = ( __decorate([
|
|
122
|
-
( __param(3, IModelService)),
|
|
123
|
-
( __param(4, ITextModelService)),
|
|
124
|
-
( __param(5, ILanguageService))
|
|
125
|
-
], MarkdownDiffBlockPart));
|
|
127
|
+
MarkdownDiffBlockPart = ( __decorate([( __param(3, IModelService)), ( __param(4, ITextModelService)), ( __param(5, ILanguageService))], MarkdownDiffBlockPart));
|
|
126
128
|
|
|
127
129
|
export { MarkdownDiffBlockPart, parseUnifiedDiff };
|
|
@@ -13,8 +13,6 @@ export declare class ChatElicitationContentPart extends Disposable implements IC
|
|
|
13
13
|
private readonly contextKeyService;
|
|
14
14
|
private readonly keybindingService;
|
|
15
15
|
readonly domNode: HTMLElement;
|
|
16
|
-
private readonly _onDidChangeHeight;
|
|
17
|
-
readonly onDidChangeHeight: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event<void>;
|
|
18
16
|
private readonly _confirmWidget;
|
|
19
17
|
get codeblocks(): import("@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat").IChatCodeBlockInfo[] | undefined;
|
|
20
18
|
get codeblocksPartId(): string | undefined;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
-
import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
4
3
|
import { isMarkdownString, MarkdownString } from '@codingame/monaco-vscode-api/vscode/vs/base/common/htmlContent';
|
|
5
4
|
import { Disposable, toDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
6
5
|
import '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/index';
|
|
@@ -21,31 +20,39 @@ let ChatElicitationContentPart = class ChatElicitationContentPart extends Dispos
|
|
|
21
20
|
get codeblocksPartId() {
|
|
22
21
|
return this._confirmWidget.codeblocksPartId;
|
|
23
22
|
}
|
|
24
|
-
constructor(
|
|
23
|
+
constructor(
|
|
24
|
+
elicitation,
|
|
25
|
+
context,
|
|
26
|
+
instantiationService,
|
|
27
|
+
chatAccessibilityService,
|
|
28
|
+
contextKeyService,
|
|
29
|
+
keybindingService
|
|
30
|
+
) {
|
|
25
31
|
super();
|
|
26
32
|
this.elicitation = elicitation;
|
|
27
33
|
this.instantiationService = instantiationService;
|
|
28
34
|
this.chatAccessibilityService = chatAccessibilityService;
|
|
29
35
|
this.contextKeyService = contextKeyService;
|
|
30
36
|
this.keybindingService = keybindingService;
|
|
31
|
-
this._onDidChangeHeight = this._register(( new Emitter()));
|
|
32
|
-
this.onDidChangeHeight = this._onDidChangeHeight.event;
|
|
33
37
|
const buttons = [];
|
|
34
|
-
if (elicitation.kind ===
|
|
35
|
-
const
|
|
36
|
-
const acceptTooltip = acceptKeybinding ? `${elicitation.acceptButtonLabel} (${acceptKeybinding.getLabel()})` : elicitation.acceptButtonLabel;
|
|
38
|
+
if (elicitation.kind === "elicitation2") {
|
|
39
|
+
const acceptTooltip = this.keybindingService.appendKeybinding(elicitation.acceptButtonLabel, AcceptElicitationRequestActionId);
|
|
37
40
|
buttons.push({
|
|
38
41
|
label: elicitation.acceptButtonLabel,
|
|
39
42
|
tooltip: acceptTooltip,
|
|
40
43
|
data: true,
|
|
41
|
-
moreActions: elicitation.moreActions?.map(
|
|
44
|
+
moreActions: elicitation.moreActions?.map(action => ({
|
|
42
45
|
label: action.label,
|
|
43
46
|
data: action,
|
|
44
47
|
run: action.run
|
|
45
48
|
}))
|
|
46
49
|
});
|
|
47
50
|
if (elicitation.rejectButtonLabel && elicitation.reject) {
|
|
48
|
-
buttons.push({
|
|
51
|
+
buttons.push({
|
|
52
|
+
label: elicitation.rejectButtonLabel,
|
|
53
|
+
data: false,
|
|
54
|
+
isSecondary: true
|
|
55
|
+
});
|
|
49
56
|
}
|
|
50
57
|
this._register(autorun(reader => {
|
|
51
58
|
if (elicitation.isHidden?.read(reader)) {
|
|
@@ -59,51 +66,54 @@ let ChatElicitationContentPart = class ChatElicitationContentPart extends Dispos
|
|
|
59
66
|
this._register(toDisposable(() => hasElicitationKey.reset()));
|
|
60
67
|
this.chatAccessibilityService.acceptElicitation(elicitation);
|
|
61
68
|
}
|
|
62
|
-
const confirmationWidget = this._register(
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
+
const confirmationWidget = this._register(
|
|
70
|
+
this.instantiationService.createInstance(ChatConfirmationWidget, context, {
|
|
71
|
+
title: elicitation.title,
|
|
72
|
+
subtitle: elicitation.subtitle,
|
|
73
|
+
buttons,
|
|
74
|
+
message: this.getMessageToRender(elicitation),
|
|
75
|
+
toolbarData: {
|
|
76
|
+
partType: "elicitation",
|
|
77
|
+
partSource: elicitation.source?.type,
|
|
78
|
+
arg: elicitation
|
|
79
|
+
}
|
|
80
|
+
})
|
|
81
|
+
);
|
|
69
82
|
this._confirmWidget = confirmationWidget;
|
|
70
|
-
confirmationWidget.setShowButtons(
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
83
|
+
confirmationWidget.setShowButtons(
|
|
84
|
+
elicitation.kind === "elicitation2" && elicitation.state.get() === ElicitationState.Pending
|
|
85
|
+
);
|
|
86
|
+
this._register(confirmationWidget.onDidClick(async e => {
|
|
87
|
+
if (elicitation.kind !== "elicitation2") {
|
|
74
88
|
return;
|
|
75
89
|
}
|
|
76
90
|
let result;
|
|
77
|
-
if (typeof e.data ===
|
|
91
|
+
if (typeof e.data === "boolean" && e.data === true) {
|
|
78
92
|
result = e.data;
|
|
79
|
-
}
|
|
80
|
-
else if (e.data && typeof e.data === 'object' && 'run' in e.data && 'label' in e.data) {
|
|
93
|
+
} else if (e.data && typeof e.data === "object" && "run" in e.data && "label" in e.data) {
|
|
81
94
|
result = e.data;
|
|
82
|
-
}
|
|
83
|
-
else {
|
|
95
|
+
} else {
|
|
84
96
|
result = undefined;
|
|
85
97
|
}
|
|
86
98
|
if (result !== undefined) {
|
|
87
99
|
await elicitation.accept(result);
|
|
88
|
-
}
|
|
89
|
-
else if (elicitation.reject) {
|
|
100
|
+
} else if (elicitation.reject) {
|
|
90
101
|
await elicitation.reject();
|
|
91
102
|
}
|
|
92
103
|
confirmationWidget.setShowButtons(false);
|
|
93
104
|
confirmationWidget.updateMessage(this.getMessageToRender(elicitation));
|
|
94
|
-
this._onDidChangeHeight.fire();
|
|
95
105
|
}));
|
|
96
106
|
this.domNode = confirmationWidget.domNode;
|
|
97
107
|
this.domNode.tabIndex = 0;
|
|
98
108
|
const messageToRender = this.getMessageToRender(elicitation);
|
|
99
|
-
this.domNode.ariaLabel = elicitation.title +
|
|
109
|
+
this.domNode.ariaLabel = elicitation.title + " " + (typeof messageToRender === "string" ? messageToRender : messageToRender.value || "");
|
|
100
110
|
}
|
|
101
111
|
getMessageToRender(elicitation) {
|
|
102
112
|
if (!elicitation.acceptedResult) {
|
|
103
113
|
return elicitation.message;
|
|
104
114
|
}
|
|
105
115
|
const messageMd = isMarkdownString(elicitation.message) ? MarkdownString.lift(elicitation.message) : ( new MarkdownString(elicitation.message));
|
|
106
|
-
messageMd.appendCodeblock(
|
|
116
|
+
messageMd.appendCodeblock("json", JSON.stringify(elicitation.acceptedResult, null, 2));
|
|
107
117
|
return messageMd;
|
|
108
118
|
}
|
|
109
119
|
hasSameContent(other) {
|
|
@@ -113,11 +123,6 @@ let ChatElicitationContentPart = class ChatElicitationContentPart extends Dispos
|
|
|
113
123
|
this._register(disposable);
|
|
114
124
|
}
|
|
115
125
|
};
|
|
116
|
-
ChatElicitationContentPart = ( __decorate([
|
|
117
|
-
( __param(2, IInstantiationService)),
|
|
118
|
-
( __param(3, IChatAccessibilityService)),
|
|
119
|
-
( __param(4, IContextKeyService)),
|
|
120
|
-
( __param(5, IKeybindingService))
|
|
121
|
-
], ChatElicitationContentPart));
|
|
126
|
+
ChatElicitationContentPart = ( __decorate([( __param(2, IInstantiationService)), ( __param(3, IChatAccessibilityService)), ( __param(4, IContextKeyService)), ( __param(5, IKeybindingService))], ChatElicitationContentPart));
|
|
122
127
|
|
|
123
128
|
export { ChatElicitationContentPart };
|
|
@@ -10,8 +10,6 @@ import { IChatContentPart, IChatContentPartRenderContext } from "@codingame/mona
|
|
|
10
10
|
export declare class ChatErrorConfirmationContentPart extends Disposable implements IChatContentPart {
|
|
11
11
|
private readonly errorDetails;
|
|
12
12
|
readonly domNode: HTMLElement;
|
|
13
|
-
private readonly _onDidChangeHeight;
|
|
14
|
-
readonly onDidChangeHeight: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event<void>;
|
|
15
13
|
constructor(kind: ChatErrorLevel, content: IMarkdownString, errorDetails: IChatErrorDetailsPart, confirmationButtons: IChatResponseErrorDetailsConfirmationButton[], renderer: IMarkdownRenderer, context: IChatContentPartRenderContext, instantiationService: IInstantiationService, chatWidgetService: IChatWidgetService, chatService: IChatService);
|
|
16
14
|
hasSameContent(other: IChatRendererContent): boolean;
|
|
17
15
|
addDisposable(disposable: IDisposable): void;
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
3
|
import { $ as $$1, append } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
|
|
4
4
|
import { Button } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/button/button';
|
|
5
|
-
import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
6
5
|
import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
7
6
|
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
8
7
|
import { defaultButtonStyles } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/browser/defaultStyles';
|
|
@@ -13,34 +12,44 @@ import { ChatErrorWidget } from './chatErrorContentPart.js';
|
|
|
13
12
|
|
|
14
13
|
const $ = $$1;
|
|
15
14
|
let ChatErrorConfirmationContentPart = class ChatErrorConfirmationContentPart extends Disposable {
|
|
16
|
-
constructor(
|
|
15
|
+
constructor(
|
|
16
|
+
kind,
|
|
17
|
+
content,
|
|
18
|
+
errorDetails,
|
|
19
|
+
confirmationButtons,
|
|
20
|
+
renderer,
|
|
21
|
+
context,
|
|
22
|
+
instantiationService,
|
|
23
|
+
chatWidgetService,
|
|
24
|
+
chatService
|
|
25
|
+
) {
|
|
17
26
|
super();
|
|
18
27
|
this.errorDetails = errorDetails;
|
|
19
|
-
this._onDidChangeHeight = this._register(( new Emitter()));
|
|
20
|
-
this.onDidChangeHeight = this._onDidChangeHeight.event;
|
|
21
28
|
const element = context.element;
|
|
22
29
|
assertIsResponseVM(element);
|
|
23
|
-
this.domNode = $(
|
|
30
|
+
this.domNode = $(".chat-error-confirmation");
|
|
24
31
|
this.domNode.append(this._register(( new ChatErrorWidget(kind, content, renderer))).domNode);
|
|
25
|
-
const buttonOptions = {
|
|
26
|
-
|
|
32
|
+
const buttonOptions = {
|
|
33
|
+
...defaultButtonStyles
|
|
34
|
+
};
|
|
35
|
+
const buttonContainer = append(this.domNode, $(".chat-buttons-container"));
|
|
27
36
|
confirmationButtons.forEach(buttonData => {
|
|
28
37
|
const button = this._register(( new Button(buttonContainer, buttonOptions)));
|
|
29
38
|
button.label = buttonData.label;
|
|
30
39
|
this._register(button.onDidClick(async () => {
|
|
31
40
|
const prompt = buttonData.label;
|
|
32
|
-
const options = buttonData.isSecondary ?
|
|
33
|
-
|
|
34
|
-
|
|
41
|
+
const options = buttonData.isSecondary ? {
|
|
42
|
+
rejectedConfirmationData: [buttonData.data]
|
|
43
|
+
} : {
|
|
44
|
+
acceptedConfirmationData: [buttonData.data]
|
|
45
|
+
};
|
|
35
46
|
options.agentId = element.agent?.id;
|
|
36
47
|
options.slashCommand = element.slashCommand?.name;
|
|
37
48
|
options.confirmation = buttonData.label;
|
|
38
49
|
const widget = chatWidgetService.getWidgetBySessionResource(element.sessionResource);
|
|
39
50
|
options.userSelectedModelId = widget?.input.currentLanguageModel;
|
|
40
51
|
Object.assign(options, widget?.getModeRequestOptions());
|
|
41
|
-
|
|
42
|
-
this._onDidChangeHeight.fire();
|
|
43
|
-
}
|
|
52
|
+
await chatService.sendRequest(element.sessionResource, prompt, options);
|
|
44
53
|
}));
|
|
45
54
|
});
|
|
46
55
|
}
|
|
@@ -51,10 +60,6 @@ let ChatErrorConfirmationContentPart = class ChatErrorConfirmationContentPart ex
|
|
|
51
60
|
this._register(disposable);
|
|
52
61
|
}
|
|
53
62
|
};
|
|
54
|
-
ChatErrorConfirmationContentPart = ( __decorate([
|
|
55
|
-
( __param(6, IInstantiationService)),
|
|
56
|
-
( __param(7, IChatWidgetService)),
|
|
57
|
-
( __param(8, IChatService))
|
|
58
|
-
], ChatErrorConfirmationContentPart));
|
|
63
|
+
ChatErrorConfirmationContentPart = ( __decorate([( __param(6, IInstantiationService)), ( __param(7, IChatWidgetService)), ( __param(8, IChatService))], ChatErrorConfirmationContentPart));
|
|
59
64
|
|
|
60
65
|
export { ChatErrorConfirmationContentPart };
|
package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatErrorContentPart.js
CHANGED
|
@@ -19,23 +19,23 @@ class ChatErrorContentPart extends Disposable {
|
|
|
19
19
|
class ChatErrorWidget extends Disposable {
|
|
20
20
|
constructor(kind, content, renderer) {
|
|
21
21
|
super();
|
|
22
|
-
this.domNode = $(
|
|
22
|
+
this.domNode = $(".chat-notification-widget");
|
|
23
23
|
this.domNode.tabIndex = 0;
|
|
24
24
|
let icon;
|
|
25
25
|
let iconClass;
|
|
26
26
|
switch (kind) {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
27
|
+
case ChatErrorLevel.Warning:
|
|
28
|
+
icon = Codicon.warning;
|
|
29
|
+
iconClass = ".chat-warning-codicon";
|
|
30
|
+
break;
|
|
31
|
+
case ChatErrorLevel.Error:
|
|
32
|
+
icon = Codicon.error;
|
|
33
|
+
iconClass = ".chat-error-codicon";
|
|
34
|
+
break;
|
|
35
|
+
case ChatErrorLevel.Info:
|
|
36
|
+
icon = Codicon.info;
|
|
37
|
+
iconClass = ".chat-info-codicon";
|
|
38
|
+
break;
|
|
39
39
|
}
|
|
40
40
|
this.domNode.appendChild($(iconClass, undefined, renderIcon(icon)));
|
|
41
41
|
const markdownContent = this._register(renderer.render(content));
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
|
|
2
1
|
import { Disposable, IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
3
2
|
import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
4
3
|
import { IExtensionsWorkbenchService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/extensions/common/extensions.service";
|
|
@@ -9,8 +8,6 @@ import { IChatContentPart } from "@codingame/monaco-vscode-api/vscode/vs/workben
|
|
|
9
8
|
export declare class ChatExtensionsContentPart extends Disposable implements IChatContentPart {
|
|
10
9
|
private readonly extensionsContent;
|
|
11
10
|
readonly domNode: HTMLElement;
|
|
12
|
-
private _onDidChangeHeight;
|
|
13
|
-
readonly onDidChangeHeight: Event<void>;
|
|
14
11
|
get codeblocks(): IChatCodeBlockInfo[];
|
|
15
12
|
get codeblocksPartId(): string | undefined;
|
|
16
13
|
constructor(extensionsContent: IChatExtensionsContent, extensionsWorkbenchService: IExtensionsWorkbenchService, instantiationService: IInstantiationService);
|
|
@@ -3,7 +3,7 @@ import { registerCss } from '@codingame/monaco-vscode-api/css';
|
|
|
3
3
|
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
4
4
|
import * as chatExtensionsContent from './media/chatExtensionsContent.css';
|
|
5
5
|
import { $, append } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
|
|
6
|
-
import {
|
|
6
|
+
import { Event } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
7
7
|
import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
8
8
|
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
9
9
|
import { ExtensionsList, getExtensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/extensions/browser/extensionsViewer';
|
|
@@ -25,13 +25,23 @@ let ChatExtensionsContentPart = class ChatExtensionsContentPart extends Disposab
|
|
|
25
25
|
constructor(extensionsContent, extensionsWorkbenchService, instantiationService) {
|
|
26
26
|
super();
|
|
27
27
|
this.extensionsContent = extensionsContent;
|
|
28
|
-
this.
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
28
|
+
this.domNode = $(".chat-extensions-content-part");
|
|
29
|
+
const loadingElement = append(this.domNode, $(".loading-extensions-element"));
|
|
30
|
+
append(
|
|
31
|
+
loadingElement,
|
|
32
|
+
$(ThemeIcon.asCSSSelector(ThemeIcon.modify(Codicon.loading, "spin"))),
|
|
33
|
+
$("span.loading-message", undefined, ( localize(5837, "Loading extensions...")))
|
|
34
|
+
);
|
|
35
|
+
const extensionsList = append(this.domNode, $(".extensions-list"));
|
|
36
|
+
const list = this._register(
|
|
37
|
+
instantiationService.createInstance(ExtensionsList, extensionsList, ChatViewId, {
|
|
38
|
+
alwaysConsumeMouseWheel: false
|
|
39
|
+
}, {
|
|
40
|
+
onFocus: Event.None,
|
|
41
|
+
onBlur: Event.None,
|
|
42
|
+
filters: {}
|
|
43
|
+
})
|
|
44
|
+
);
|
|
35
45
|
getExtensions(extensionsContent.extensions, extensionsWorkbenchService).then(extensions => {
|
|
36
46
|
loadingElement.remove();
|
|
37
47
|
if (this._store.isDisposed) {
|
|
@@ -39,19 +49,15 @@ let ChatExtensionsContentPart = class ChatExtensionsContentPart extends Disposab
|
|
|
39
49
|
}
|
|
40
50
|
list.setModel(( new PagedModel(extensions)));
|
|
41
51
|
list.layout();
|
|
42
|
-
this._onDidChangeHeight.fire();
|
|
43
52
|
});
|
|
44
53
|
}
|
|
45
54
|
hasSameContent(other, followingContent, element) {
|
|
46
|
-
return other.kind ===
|
|
55
|
+
return other.kind === "extensions" && other.extensions.length === this.extensionsContent.extensions.length && other.extensions.every(ext => this.extensionsContent.extensions.includes(ext));
|
|
47
56
|
}
|
|
48
57
|
addDisposable(disposable) {
|
|
49
58
|
this._register(disposable);
|
|
50
59
|
}
|
|
51
60
|
};
|
|
52
|
-
ChatExtensionsContentPart = ( __decorate([
|
|
53
|
-
( __param(1, IExtensionsWorkbenchService)),
|
|
54
|
-
( __param(2, IInstantiationService))
|
|
55
|
-
], ChatExtensionsContentPart));
|
|
61
|
+
ChatExtensionsContentPart = ( __decorate([( __param(1, IExtensionsWorkbenchService)), ( __param(2, IInstantiationService))], ChatExtensionsContentPart));
|
|
56
62
|
|
|
57
63
|
export { ChatExtensionsContentPart };
|
|
@@ -10,12 +10,14 @@ import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/fi
|
|
|
10
10
|
import { IHoverService } from "@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover.service";
|
|
11
11
|
import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
12
12
|
import { ILabelService } from "@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service";
|
|
13
|
+
import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service";
|
|
13
14
|
import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
14
15
|
import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
|
|
15
16
|
import { INotebookDocumentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/notebook/common/notebookDocumentService.service";
|
|
16
17
|
import { IWorkspaceSymbol } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/search/common/search";
|
|
17
18
|
import { IChatContentInlineReference } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService";
|
|
18
19
|
import { IChatMarkdownAnchorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownAnchorService.service";
|
|
20
|
+
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
19
21
|
type ContentRefData = {
|
|
20
22
|
readonly kind: "symbol";
|
|
21
23
|
readonly symbol: IWorkspaceSymbol;
|
|
@@ -24,16 +26,24 @@ type ContentRefData = {
|
|
|
24
26
|
readonly uri: URI;
|
|
25
27
|
readonly range?: IRange;
|
|
26
28
|
};
|
|
29
|
+
type InlineAnchorWidgetMetadata = {
|
|
30
|
+
vscodeLinkType: string;
|
|
31
|
+
linkText?: string;
|
|
32
|
+
};
|
|
27
33
|
export declare function renderFileWidgets(element: HTMLElement, instantiationService: IInstantiationService, chatMarkdownAnchorService: IChatMarkdownAnchorService, disposables: DisposableStore): void;
|
|
28
34
|
export declare class InlineAnchorWidget extends Disposable {
|
|
29
35
|
private readonly element;
|
|
30
36
|
readonly inlineReference: IChatContentInlineReference;
|
|
37
|
+
private readonly metadata;
|
|
38
|
+
private readonly configurationService;
|
|
31
39
|
private readonly notebookDocumentService;
|
|
40
|
+
private readonly openerService;
|
|
32
41
|
static readonly className = "chat-inline-anchor-widget";
|
|
33
42
|
private readonly _chatResourceContext;
|
|
34
43
|
readonly data: ContentRefData;
|
|
35
|
-
constructor(element: HTMLAnchorElement | HTMLElement, inlineReference: IChatContentInlineReference, originalContextKeyService: IContextKeyService, contextMenuService: IContextMenuService, fileService: IFileService, hoverService: IHoverService, instantiationService: IInstantiationService, labelService: ILabelService, languageService: ILanguageService, menuService: IMenuService, modelService: IModelService, telemetryService: ITelemetryService, themeService: IThemeService, notebookDocumentService: INotebookDocumentService);
|
|
44
|
+
constructor(element: HTMLAnchorElement | HTMLElement, inlineReference: IChatContentInlineReference, metadata: InlineAnchorWidgetMetadata | undefined, configurationService: IConfigurationService, originalContextKeyService: IContextKeyService, contextMenuService: IContextMenuService, fileService: IFileService, hoverService: IHoverService, instantiationService: IInstantiationService, labelService: ILabelService, languageService: ILanguageService, menuService: IMenuService, modelService: IModelService, telemetryService: ITelemetryService, themeService: IThemeService, notebookDocumentService: INotebookDocumentService, openerService: IOpenerService);
|
|
36
45
|
getHTMLElement(): HTMLElement;
|
|
46
|
+
private updateAppearance;
|
|
37
47
|
private getCellIndex;
|
|
38
48
|
}
|
|
39
49
|
export {};
|