@codingame/monaco-vscode-katex-common 25.1.2 → 26.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.d.ts +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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
3
|
import { addDisposableListener, Dimension } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
|
|
4
4
|
import { status } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/aria/aria';
|
|
5
|
-
import { toDisposable
|
|
5
|
+
import { toDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
6
6
|
import '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/index';
|
|
7
7
|
import { isEqual } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
8
8
|
import { assertType } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
|
|
@@ -15,31 +15,40 @@ import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platf
|
|
|
15
15
|
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
16
16
|
import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
|
|
17
17
|
import { ChatMode } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatModes';
|
|
18
|
-
import { isResponseVM } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatViewModel';
|
|
19
18
|
import { CTX_INLINE_CHAT_OUTER_CURSOR_POSITION, MENU_INLINE_CHAT_SIDE, MENU_INLINE_CHAT_WIDGET_SECONDARY, ACTION_REGENERATE_RESPONSE, ACTION_TOGGLE_DIFF, ACTION_REPORT_ISSUE, MENU_INLINE_CHAT_WIDGET_STATUS } from '../common/inlineChat.js';
|
|
20
19
|
import { EditorBasedInlineChatWidget } from './inlineChatWidget.js';
|
|
21
20
|
import { autorun } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/reactions/autorun';
|
|
22
21
|
|
|
23
22
|
var InlineChatZoneWidget_1;
|
|
24
23
|
let InlineChatZoneWidget = class InlineChatZoneWidget extends ZoneWidget {
|
|
25
|
-
static {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
24
|
+
static {
|
|
25
|
+
InlineChatZoneWidget_1 = this;
|
|
26
|
+
}
|
|
27
|
+
static {
|
|
28
|
+
this._options = {
|
|
29
|
+
showFrame: true,
|
|
30
|
+
frameWidth: 1,
|
|
31
|
+
isResizeable: true,
|
|
32
|
+
showArrow: false,
|
|
33
|
+
isAccessible: true,
|
|
34
|
+
className: "inline-chat-widget",
|
|
35
|
+
keepEditorSelection: true,
|
|
36
|
+
showInHiddenAreas: true,
|
|
37
|
+
ordinal: 50000
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
constructor(
|
|
41
|
+
location,
|
|
42
|
+
options,
|
|
43
|
+
editors,
|
|
44
|
+
clearDelegate,
|
|
45
|
+
_instaService,
|
|
46
|
+
_logService,
|
|
47
|
+
contextKeyService
|
|
48
|
+
) {
|
|
39
49
|
super(editors.editor, InlineChatZoneWidget_1._options);
|
|
40
50
|
this._instaService = _instaService;
|
|
41
51
|
this._logService = _logService;
|
|
42
|
-
this._scrollUp = this._disposables.add(( new ScrollUpState(this.editor)));
|
|
43
52
|
this.notebookEditor = editors.notebookEditor;
|
|
44
53
|
this._ctxCursorPosition = CTX_INLINE_CHAT_OUTER_CURSOR_POSITION.bindTo(contextKeyService);
|
|
45
54
|
this._disposables.add(toDisposable(() => {
|
|
@@ -52,10 +61,15 @@ let InlineChatZoneWidget = class InlineChatZoneWidget extends ZoneWidget {
|
|
|
52
61
|
buttonConfigProvider: (action, index) => {
|
|
53
62
|
const isSecondary = index > 0;
|
|
54
63
|
if (( ( new Set([ACTION_REGENERATE_RESPONSE, ACTION_TOGGLE_DIFF, ACTION_REPORT_ISSUE])).has(action.id))) {
|
|
55
|
-
return {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
64
|
+
return {
|
|
65
|
+
isSecondary,
|
|
66
|
+
showIcon: true,
|
|
67
|
+
showLabel: false
|
|
68
|
+
};
|
|
69
|
+
} else {
|
|
70
|
+
return {
|
|
71
|
+
isSecondary
|
|
72
|
+
};
|
|
59
73
|
}
|
|
60
74
|
}
|
|
61
75
|
}
|
|
@@ -64,13 +78,13 @@ let InlineChatZoneWidget = class InlineChatZoneWidget extends ZoneWidget {
|
|
|
64
78
|
inZoneWidget: true,
|
|
65
79
|
chatWidgetViewOptions: {
|
|
66
80
|
menus: {
|
|
67
|
-
telemetrySource:
|
|
81
|
+
telemetrySource: "interactiveEditorWidget-toolbar",
|
|
68
82
|
inputSideToolbar: MENU_INLINE_CHAT_SIDE
|
|
69
83
|
},
|
|
70
84
|
clear: clearDelegate,
|
|
71
85
|
...options,
|
|
72
86
|
rendererOptions: {
|
|
73
|
-
renderTextEditsAsSummary:
|
|
87
|
+
renderTextEditsAsSummary: uri => {
|
|
74
88
|
return isEqual(uri, editors.editor.getModel()?.uri);
|
|
75
89
|
},
|
|
76
90
|
renderDetectedCommandsWithRequest: true,
|
|
@@ -98,9 +112,9 @@ let InlineChatZoneWidget = class InlineChatZoneWidget extends ZoneWidget {
|
|
|
98
112
|
this.create();
|
|
99
113
|
this._disposables.add(autorun(r => {
|
|
100
114
|
const isBusy = this.widget.requestInProgress.read(r);
|
|
101
|
-
this.domNode.firstElementChild?.classList.toggle(
|
|
115
|
+
this.domNode.firstElementChild?.classList.toggle("busy", isBusy);
|
|
102
116
|
}));
|
|
103
|
-
this._disposables.add(addDisposableListener(this.domNode,
|
|
117
|
+
this._disposables.add(addDisposableListener(this.domNode, "click", e => {
|
|
104
118
|
if (!this.editor.hasWidgetFocus() && !this.widget.hasFocus()) {
|
|
105
119
|
this.editor.focus();
|
|
106
120
|
}
|
|
@@ -108,23 +122,22 @@ let InlineChatZoneWidget = class InlineChatZoneWidget extends ZoneWidget {
|
|
|
108
122
|
const updateCursorIsAboveContextKey = () => {
|
|
109
123
|
if (!this.position || !this.editor.hasModel()) {
|
|
110
124
|
this._ctxCursorPosition.reset();
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
else
|
|
116
|
-
this._ctxCursorPosition.set('below');
|
|
117
|
-
}
|
|
118
|
-
else {
|
|
125
|
+
} else if (this.position.lineNumber === this.editor.getPosition().lineNumber) {
|
|
126
|
+
this._ctxCursorPosition.set("above");
|
|
127
|
+
} else if (this.position.lineNumber + 1 === this.editor.getPosition().lineNumber) {
|
|
128
|
+
this._ctxCursorPosition.set("below");
|
|
129
|
+
} else {
|
|
119
130
|
this._ctxCursorPosition.reset();
|
|
120
131
|
}
|
|
121
132
|
};
|
|
122
|
-
this._disposables.add(
|
|
133
|
+
this._disposables.add(
|
|
134
|
+
this.editor.onDidChangeCursorPosition(e => updateCursorIsAboveContextKey())
|
|
135
|
+
);
|
|
123
136
|
this._disposables.add(this.editor.onDidFocusEditorText(e => updateCursorIsAboveContextKey()));
|
|
124
137
|
updateCursorIsAboveContextKey();
|
|
125
138
|
}
|
|
126
139
|
_fillContainer(container) {
|
|
127
|
-
container.style.setProperty(
|
|
140
|
+
container.style.setProperty("--vscode-inlineChat-background", "var(--vscode-editor-background)");
|
|
128
141
|
container.appendChild(this.widget.domNode);
|
|
129
142
|
}
|
|
130
143
|
_doLayout(heightInPixel) {
|
|
@@ -139,7 +152,10 @@ let InlineChatZoneWidget = class InlineChatZoneWidget extends ZoneWidget {
|
|
|
139
152
|
const editorHeight = this.notebookEditor?.getLayoutInfo().height ?? this.editor.getLayoutInfo().height;
|
|
140
153
|
const contentHeight = this._decoratingElementsHeight() + Math.min(chatContentHeight, Math.max(this.widget.minHeight, editorHeight * 0.42));
|
|
141
154
|
const heightInLines = contentHeight / this.editor.getOption(EditorOption.lineHeight);
|
|
142
|
-
return {
|
|
155
|
+
return {
|
|
156
|
+
linesValue: heightInLines,
|
|
157
|
+
pixelsValue: contentHeight
|
|
158
|
+
};
|
|
143
159
|
}
|
|
144
160
|
_getResizeBounds() {
|
|
145
161
|
const lineHeight = this.editor.getOption(EditorOption.lineHeight);
|
|
@@ -164,7 +180,6 @@ let InlineChatZoneWidget = class InlineChatZoneWidget extends ZoneWidget {
|
|
|
164
180
|
this.widget.chatWidget.setVisible(true);
|
|
165
181
|
this.widget.focus();
|
|
166
182
|
revealZone();
|
|
167
|
-
this._scrollUp.enable();
|
|
168
183
|
}
|
|
169
184
|
_updatePadding() {
|
|
170
185
|
assertType(this.container);
|
|
@@ -175,30 +190,25 @@ let InlineChatZoneWidget = class InlineChatZoneWidget extends ZoneWidget {
|
|
|
175
190
|
reveal(position) {
|
|
176
191
|
const stickyScroll = this.editor.getOption(EditorOption.stickyScroll);
|
|
177
192
|
const magicValue = stickyScroll.enabled ? stickyScroll.maxLineCount : 0;
|
|
178
|
-
this.editor.revealLines(
|
|
179
|
-
|
|
193
|
+
this.editor.revealLines(
|
|
194
|
+
position.lineNumber + magicValue,
|
|
195
|
+
position.lineNumber + magicValue,
|
|
196
|
+
ScrollType.Immediate
|
|
197
|
+
);
|
|
180
198
|
this.updatePositionAndHeight(position);
|
|
181
199
|
}
|
|
182
200
|
updatePositionAndHeight(position) {
|
|
183
201
|
const revealZone = this._createZoneAndScrollRestoreFn(position);
|
|
184
|
-
super.updatePositionAndHeight(
|
|
202
|
+
super.updatePositionAndHeight(
|
|
203
|
+
position,
|
|
204
|
+
!this._usesResizeHeight ? this._computeHeight().linesValue : undefined
|
|
205
|
+
);
|
|
185
206
|
revealZone();
|
|
186
207
|
}
|
|
187
208
|
_createZoneAndScrollRestoreFn(position) {
|
|
188
209
|
const scrollState = StableEditorBottomScrollState.capture(this.editor);
|
|
189
210
|
const lineNumber = position.lineNumber <= 1 ? 1 : 1 + position.lineNumber;
|
|
190
|
-
|
|
191
|
-
const lineTop = this.editor.getTopForLineNumber(lineNumber);
|
|
192
|
-
const zoneTop = lineTop - this._computeHeight().pixelsValue;
|
|
193
|
-
const hasResponse = this.widget.chatWidget.viewModel?.getItems().find(candidate => {
|
|
194
|
-
return isResponseVM(candidate) && candidate.response.value.length > 0;
|
|
195
|
-
});
|
|
196
|
-
if (hasResponse && zoneTop < scrollTop || this._scrollUp.didScrollUpOrDown) {
|
|
197
|
-
return this._scrollUp.runIgnored(() => {
|
|
198
|
-
scrollState.restore(this.editor);
|
|
199
|
-
});
|
|
200
|
-
}
|
|
201
|
-
return this._scrollUp.runIgnored(() => {
|
|
211
|
+
return () => {
|
|
202
212
|
scrollState.restore(this.editor);
|
|
203
213
|
const scrollTop = this.editor.getScrollTop();
|
|
204
214
|
const lineTop = this.editor.getTopForLineNumber(lineNumber);
|
|
@@ -212,68 +222,28 @@ let InlineChatZoneWidget = class InlineChatZoneWidget extends ZoneWidget {
|
|
|
212
222
|
forceScrollTop = true;
|
|
213
223
|
}
|
|
214
224
|
if (newScrollTop < scrollTop || forceScrollTop) {
|
|
215
|
-
this._logService.trace(
|
|
225
|
+
this._logService.trace("[IE] REVEAL zone", {
|
|
226
|
+
zoneTop,
|
|
227
|
+
lineTop,
|
|
228
|
+
lineBottom,
|
|
229
|
+
scrollTop,
|
|
230
|
+
newScrollTop,
|
|
231
|
+
forceScrollTop
|
|
232
|
+
});
|
|
216
233
|
this.editor.setScrollTop(newScrollTop, ScrollType.Immediate);
|
|
217
234
|
}
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
revealRange(range, isLastLine) {
|
|
235
|
+
};
|
|
221
236
|
}
|
|
237
|
+
revealRange(range, isLastLine) {}
|
|
222
238
|
hide() {
|
|
223
239
|
const scrollState = StableEditorBottomScrollState.capture(this.editor);
|
|
224
|
-
this._scrollUp.disable();
|
|
225
240
|
this._ctxCursorPosition.reset();
|
|
226
241
|
this.widget.chatWidget.setVisible(false);
|
|
227
242
|
super.hide();
|
|
228
|
-
status(( localize(
|
|
243
|
+
status(( localize(8660, "Closed inline chat widget")));
|
|
229
244
|
scrollState.restore(this.editor);
|
|
230
245
|
}
|
|
231
246
|
};
|
|
232
|
-
InlineChatZoneWidget = InlineChatZoneWidget_1 = ( __decorate([
|
|
233
|
-
( __param(4, IInstantiationService)),
|
|
234
|
-
( __param(5, ILogService)),
|
|
235
|
-
( __param(6, IContextKeyService))
|
|
236
|
-
], InlineChatZoneWidget));
|
|
237
|
-
class ScrollUpState {
|
|
238
|
-
constructor(_editor) {
|
|
239
|
-
this._editor = _editor;
|
|
240
|
-
this._ignoreEvents = false;
|
|
241
|
-
this._listener = ( new MutableDisposable());
|
|
242
|
-
}
|
|
243
|
-
dispose() {
|
|
244
|
-
this._listener.dispose();
|
|
245
|
-
}
|
|
246
|
-
reset() {
|
|
247
|
-
this._didScrollUpOrDown = undefined;
|
|
248
|
-
}
|
|
249
|
-
enable() {
|
|
250
|
-
this._didScrollUpOrDown = undefined;
|
|
251
|
-
this._listener.value = this._editor.onDidScrollChange(e => {
|
|
252
|
-
if (!e.scrollTopChanged || this._ignoreEvents) {
|
|
253
|
-
return;
|
|
254
|
-
}
|
|
255
|
-
this._listener.clear();
|
|
256
|
-
this._didScrollUpOrDown = true;
|
|
257
|
-
});
|
|
258
|
-
}
|
|
259
|
-
disable() {
|
|
260
|
-
this._listener.clear();
|
|
261
|
-
this._didScrollUpOrDown = undefined;
|
|
262
|
-
}
|
|
263
|
-
runIgnored(callback) {
|
|
264
|
-
return () => {
|
|
265
|
-
this._ignoreEvents = true;
|
|
266
|
-
try {
|
|
267
|
-
return callback();
|
|
268
|
-
}
|
|
269
|
-
finally {
|
|
270
|
-
this._ignoreEvents = false;
|
|
271
|
-
}
|
|
272
|
-
};
|
|
273
|
-
}
|
|
274
|
-
get didScrollUpOrDown() {
|
|
275
|
-
return this._didScrollUpOrDown;
|
|
276
|
-
}
|
|
277
|
-
}
|
|
247
|
+
InlineChatZoneWidget = InlineChatZoneWidget_1 = ( __decorate([( __param(4, IInstantiationService)), ( __param(5, ILogService)), ( __param(6, IContextKeyService))], InlineChatZoneWidget));
|
|
278
248
|
|
|
279
249
|
export { InlineChatZoneWidget };
|
|
@@ -96,15 +96,18 @@
|
|
|
96
96
|
.monaco-workbench .zone-widget.inline-chat-widget.inline-chat-2 {
|
|
97
97
|
|
|
98
98
|
.inline-chat .chat-widget .interactive-session .interactive-input-part {
|
|
99
|
-
padding: 8px 0
|
|
99
|
+
padding: 8px 0 4px 0;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
+
.interactive-session .chat-input-container.focused,
|
|
102
103
|
.interactive-session .chat-input-container {
|
|
103
|
-
border-color: var(--vscode-
|
|
104
|
+
border-color: var(--vscode-inlineChat-background);
|
|
105
|
+
background-color: var(--vscode-inlineChat-background);
|
|
106
|
+
padding-left: 0;
|
|
104
107
|
}
|
|
105
108
|
|
|
106
|
-
.
|
|
107
|
-
|
|
109
|
+
.chat-attachments-container {
|
|
110
|
+
margin-right: 0;
|
|
108
111
|
}
|
|
109
112
|
|
|
110
113
|
.chat-attachments-container > .chat-input-toolbar {
|
|
@@ -116,6 +119,10 @@
|
|
|
116
119
|
.request-in-progress .monaco-editor [class^="ced-chat-session-detail"]::after {
|
|
117
120
|
animation: pulse-opacity 2.5s ease-in-out infinite;
|
|
118
121
|
}
|
|
122
|
+
|
|
123
|
+
.chat-editor-container .interactive-input-editor .monaco-editor .monaco-editor-background {
|
|
124
|
+
background-color: var(--vscode-inlineChat-background);
|
|
125
|
+
}
|
|
119
126
|
}
|
|
120
127
|
|
|
121
128
|
|
|
@@ -175,7 +182,7 @@
|
|
|
175
182
|
max-width: 66%;
|
|
176
183
|
}
|
|
177
184
|
|
|
178
|
-
.monaco-workbench .inline-chat .chat-widget .interactive-session .chat-input-toolbars > .chat-execute-toolbar .chat-
|
|
185
|
+
.monaco-workbench .inline-chat .chat-widget .interactive-session .chat-input-toolbars > .chat-execute-toolbar .chat-input-picker-item {
|
|
179
186
|
min-width: 40px;
|
|
180
187
|
max-width: 132px;
|
|
181
188
|
}
|
|
@@ -236,27 +243,7 @@
|
|
|
236
243
|
line-height: 18px;
|
|
237
244
|
}
|
|
238
245
|
|
|
239
|
-
.monaco-workbench .inline-chat .status .
|
|
240
|
-
display: inline-flex;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
.monaco-workbench .inline-chat .status .rerun:not(:empty) {
|
|
244
|
-
padding-top: 8px;
|
|
245
|
-
padding-left: 4px;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
.monaco-workbench .inline-chat .status .rerun .agentOrSlashCommandDetected A {
|
|
249
|
-
cursor: pointer;
|
|
250
|
-
color: var(--vscode-textLink-foreground);
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
.monaco-workbench .inline-chat .interactive-item-container.interactive-response .detail-container .detail .agentOrSlashCommandDetected,
|
|
254
|
-
.monaco-workbench .inline-chat .interactive-item-container.interactive-response .detail-container .chat-animated-ellipsis {
|
|
255
|
-
display: none;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
.monaco-workbench .inline-chat .status .actions,
|
|
259
|
-
.monaco-workbench .inline-chat-diff-overlay {
|
|
246
|
+
.monaco-workbench .inline-chat .status .actions {
|
|
260
247
|
|
|
261
248
|
display: flex;
|
|
262
249
|
height: 18px;
|
|
@@ -307,31 +294,6 @@
|
|
|
307
294
|
display: inherit;
|
|
308
295
|
}
|
|
309
296
|
|
|
310
|
-
.monaco-workbench .inline-chat-diff-overlay {
|
|
311
|
-
|
|
312
|
-
.monaco-button {
|
|
313
|
-
border-radius: 0;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
.monaco-button.secondary.checked {
|
|
317
|
-
background-color: var(--vscode-button-secondaryHoverBackground);
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
.monaco-button:first-child {
|
|
321
|
-
border-top-left-radius: 2px;
|
|
322
|
-
border-bottom-left-radius: 2px;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
.monaco-button:last-child {
|
|
326
|
-
border-top-right-radius: 2px;
|
|
327
|
-
border-bottom-right-radius: 2px;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
.monaco-button:not(:last-child) {
|
|
331
|
-
border-right: 1px solid var(--vscode-button-foreground);
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
|
|
335
297
|
.monaco-workbench .inline-chat .status .disclaimer {
|
|
336
298
|
a {
|
|
337
299
|
color: var(--vscode-textLink-foreground);
|
|
@@ -354,58 +316,50 @@
|
|
|
354
316
|
background-color: var(--vscode-button-hoverBackground);
|
|
355
317
|
}
|
|
356
318
|
|
|
357
|
-
/* accessible diff viewer */
|
|
358
|
-
|
|
359
|
-
.monaco-workbench .inline-chat .diff-review {
|
|
360
|
-
padding: 4px 6px;
|
|
361
|
-
background-color: unset;
|
|
362
|
-
}
|
|
363
319
|
|
|
364
|
-
.monaco-workbench .inline-chat .diff-review.hidden {
|
|
365
|
-
display: none;
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
/* decoration styles */
|
|
369
|
-
|
|
370
|
-
.monaco-workbench .inline-chat-inserted-range {
|
|
371
|
-
background-color: var(--vscode-inlineChatDiff-inserted);
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
.monaco-workbench .inline-chat-inserted-range-linehighlight {
|
|
375
|
-
background-color: var(--vscode-diffEditor-insertedLineBackground);
|
|
376
|
-
}
|
|
377
320
|
|
|
378
|
-
.monaco-workbench .inline-chat-
|
|
379
|
-
|
|
380
|
-
opacity: 0.8;
|
|
321
|
+
.monaco-workbench .inline-chat .chat-attached-context {
|
|
322
|
+
padding: 2px 0px;
|
|
381
323
|
}
|
|
382
324
|
|
|
383
|
-
|
|
384
|
-
|
|
325
|
+
/* Gutter menu overlay widget */
|
|
326
|
+
.inline-chat-gutter-menu {
|
|
327
|
+
background: var(--vscode-menu-background);
|
|
328
|
+
border: 1px solid var(--vscode-menu-border, var(--vscode-widget-border));
|
|
329
|
+
border-radius: 4px;
|
|
330
|
+
box-shadow: 0 2px 8px var(--vscode-widget-shadow);
|
|
331
|
+
padding: 4px 0;
|
|
332
|
+
min-width: 160px;
|
|
333
|
+
z-index: 10000;
|
|
385
334
|
}
|
|
386
335
|
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
.monaco-workbench .glyph-margin-widgets .cgmr.codicon-inline-chat-opaque,
|
|
390
|
-
.monaco-workbench .glyph-margin-widgets .cgmr.codicon-inline-chat-transparent {
|
|
391
|
-
display: block;
|
|
392
|
-
cursor: pointer;
|
|
393
|
-
transition: opacity .2s ease-in-out;
|
|
336
|
+
.inline-chat-gutter-menu .input {
|
|
337
|
+
padding: 0 8px;
|
|
394
338
|
}
|
|
395
339
|
|
|
396
|
-
.
|
|
397
|
-
|
|
340
|
+
.inline-chat-gutter-menu .monaco-action-bar.vertical .action-item {
|
|
341
|
+
display: flex;
|
|
342
|
+
justify-content: space-between;
|
|
343
|
+
border-radius: 3px;
|
|
344
|
+
margin: 0 4px;
|
|
398
345
|
}
|
|
399
346
|
|
|
400
|
-
.
|
|
401
|
-
|
|
347
|
+
.inline-chat-gutter-menu .monaco-action-bar.vertical .action-item .action-label {
|
|
348
|
+
font-size: 13px;
|
|
349
|
+
width: 100%;
|
|
402
350
|
}
|
|
403
351
|
|
|
404
|
-
.
|
|
405
|
-
.
|
|
406
|
-
|
|
352
|
+
.inline-chat-gutter-menu .monaco-action-bar.vertical .action-item:not(.disabled):hover,
|
|
353
|
+
.inline-chat-gutter-menu .monaco-action-bar.vertical .action-item:not(.disabled):focus-within {
|
|
354
|
+
background-color: var(--vscode-list-activeSelectionBackground);
|
|
355
|
+
color: var(--vscode-list-activeSelectionForeground);
|
|
356
|
+
outline: 1px solid var(--vscode-menu-selectionBorder, transparent);
|
|
357
|
+
outline-offset: -1px;
|
|
407
358
|
}
|
|
408
359
|
|
|
409
|
-
.monaco-
|
|
410
|
-
|
|
360
|
+
.inline-chat-gutter-menu .monaco-action-bar.vertical .action-item:not(.disabled):hover .action-label,
|
|
361
|
+
.inline-chat-gutter-menu .monaco-action-bar.vertical .action-item:not(.disabled):focus-within .action-label {
|
|
362
|
+
color: var(--vscode-list-activeSelectionForeground);
|
|
363
|
+
outline: 1px solid var(--vscode-menu-selectionBorder, transparent);
|
|
364
|
+
outline-offset: -1px;
|
|
411
365
|
}
|
package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChatEditorAffordance.css
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
|
|
6
|
+
.inline-chat-content-widget {
|
|
7
|
+
background-color: var(--vscode-editor-background);
|
|
8
|
+
padding: 2px;
|
|
9
|
+
border-radius: 8px;
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
box-shadow: 0 4px 8px var(--vscode-widget-shadow);
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
min-width: var(--vscode-inline-chat-affordance-height);
|
|
15
|
+
min-height: var(--vscode-inline-chat-affordance-height);
|
|
16
|
+
line-height: var(--vscode-inline-chat-affordance-height);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.inline-chat-content-widget .icon.codicon {
|
|
20
|
+
margin: 0;
|
|
21
|
+
color: var(--vscode-editorLightBulb-foreground);
|
|
22
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
|
|
6
|
+
.inline-chat-gutter-menu.clamped {
|
|
7
|
+
transition: top 100ms;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.inline-chat-gutter-menu .input .monaco-editor-background {
|
|
11
|
+
background-color: var(--vscode-menu-background);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.inline-chat-session-overlay-widget {
|
|
15
|
+
z-index: 1;
|
|
16
|
+
transition: top 100ms;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.inline-chat-session-overlay-container {
|
|
20
|
+
padding: 2px 4px;
|
|
21
|
+
color: var(--vscode-foreground);
|
|
22
|
+
background-color: var(--vscode-editorWidget-background);
|
|
23
|
+
border-radius: 6px;
|
|
24
|
+
border: 1px solid var(--vscode-contrastBorder);
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
gap: 4px;
|
|
29
|
+
z-index: 10;
|
|
30
|
+
box-shadow: 0 2px 8px var(--vscode-widget-shadow);
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.inline-chat-session-overlay-container .status {
|
|
35
|
+
align-items: center;
|
|
36
|
+
display: inline-flex;
|
|
37
|
+
padding: 5px 0 5px 5px;
|
|
38
|
+
font-size: 12px;
|
|
39
|
+
overflow: hidden;
|
|
40
|
+
gap: 6px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.inline-chat-session-overlay-container .status .message {
|
|
44
|
+
white-space: nowrap;
|
|
45
|
+
overflow: hidden;
|
|
46
|
+
text-overflow: ellipsis;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.inline-chat-session-overlay-container .status .message:not(:empty) {
|
|
50
|
+
padding-right: 2em;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.inline-chat-session-overlay-container .status .codicon {
|
|
54
|
+
color: var(--vscode-foreground);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.inline-chat-session-overlay-container .action-item > .action-label {
|
|
58
|
+
padding: 4px 6px;
|
|
59
|
+
font-size: 11px;
|
|
60
|
+
line-height: 14px;
|
|
61
|
+
border-radius: 4px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.inline-chat-session-overlay-container .monaco-action-bar .actions-container {
|
|
65
|
+
gap: 4px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.inline-chat-session-overlay-container .action-item.primary > .action-label {
|
|
69
|
+
background-color: var(--vscode-button-background);
|
|
70
|
+
color: var(--vscode-button-foreground);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.monaco-workbench .inline-chat-session-overlay-container .monaco-action-bar .action-item.primary > .action-label:hover {
|
|
74
|
+
background-color: var(--vscode-button-hoverBackground);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.inline-chat-session-overlay-container .action-item > .action-label.codicon:not(.separator) {
|
|
78
|
+
color: var(--vscode-foreground);
|
|
79
|
+
width: 22px;
|
|
80
|
+
height: 22px;
|
|
81
|
+
padding: 0;
|
|
82
|
+
font-size: 16px;
|
|
83
|
+
line-height: 22px;
|
|
84
|
+
display: flex;
|
|
85
|
+
align-items: center;
|
|
86
|
+
justify-content: center;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.inline-chat-session-overlay-container .monaco-action-bar .action-item.disabled {
|
|
90
|
+
|
|
91
|
+
> .action-label.codicon::before,
|
|
92
|
+
> .action-label.codicon,
|
|
93
|
+
> .action-label,
|
|
94
|
+
> .action-label:hover {
|
|
95
|
+
color: var(--vscode-button-separator);
|
|
96
|
+
opacity: 1;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
@@ -2,11 +2,13 @@ import { MenuId } from "@codingame/monaco-vscode-api/vscode/vs/platform/actions/
|
|
|
2
2
|
import { RawContextKey } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey";
|
|
3
3
|
export declare enum InlineChatConfigKeys {
|
|
4
4
|
FinishOnType = "inlineChat.finishOnType",
|
|
5
|
-
StartWithOverlayWidget = "inlineChat.startWithOverlayWidget",
|
|
6
5
|
HoldToSpeech = "inlineChat.holdToSpeech",
|
|
7
6
|
/** @deprecated do not read on client */
|
|
8
7
|
EnableV2 = "inlineChat.enableV2",
|
|
9
|
-
notebookAgent = "inlineChat.notebookAgent"
|
|
8
|
+
notebookAgent = "inlineChat.notebookAgent",
|
|
9
|
+
DefaultModel = "inlineChat.defaultModel",
|
|
10
|
+
Affordance = "inlineChat.affordance",
|
|
11
|
+
RenderMode = "inlineChat.renderMode"
|
|
10
12
|
}
|
|
11
13
|
export declare const INLINE_CHAT_ID = "interactiveEditor";
|
|
12
14
|
export declare const INTERACTIVE_EDITOR_ACCESSIBILITY_HELP_ID = "interactiveEditorAccessiblityHelp";
|
|
@@ -34,6 +36,7 @@ export declare const CTX_INLINE_CHAT_REQUEST_IN_PROGRESS: RawContextKey<boolean>
|
|
|
34
36
|
export declare const CTX_INLINE_CHAT_RESPONSE_TYPE: RawContextKey<InlineChatResponseType>;
|
|
35
37
|
export declare const CTX_INLINE_CHAT_V1_ENABLED: import("@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey").ContextKeyExpression | undefined;
|
|
36
38
|
export declare const CTX_INLINE_CHAT_V2_ENABLED: import("@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey").ContextKeyExpression | undefined;
|
|
39
|
+
export declare const CTX_HOVER_MODE: import("@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey").ContextKeyExpression;
|
|
37
40
|
export declare const ACTION_START = "inlineChat.start";
|
|
38
41
|
export declare const ACTION_ACCEPT_CHANGES = "inlineChat.acceptChanges";
|
|
39
42
|
export declare const ACTION_DISCARD_CHANGES = "inlineChat.discardHunkChange";
|