@codingame/monaco-vscode-katex-common 24.2.0 → 25.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 +3 -3
- package/vscode/src/vs/platform/actions/browser/buttonbar.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatAccessibilityProvider.d.ts → accessibility/chatAccessibilityProvider.d.ts} +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatAccessibilityProvider.js → accessibility/chatAccessibilityProvider.js} +25 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContinueInAction.js +19 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatElicitationActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +31 -31
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatAttachmentModel.d.ts → attachments/chatAttachmentModel.d.ts} +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatAttachmentModel.js → attachments/chatAttachmentModel.js} +24 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatAttachmentWidgets.d.ts → attachments/chatAttachmentWidgets.d.ts} +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatAttachmentWidgets.js → attachments/chatAttachmentWidgets.js} +80 -89
- package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → attachments}/chatImplicitContext.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → attachments}/chatImplicitContext.js +23 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → attachments}/chatInputRelatedFilesContrib.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → attachments}/chatInputRelatedFilesContrib.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/implicitContextAttachment.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/implicitContextAttachment.js +47 -21
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingActions.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingActions.js +39 -39
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionPickerActionItem.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewWelcomeController.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatAgentHover.d.ts → widget/chatAgentHover.d.ts} +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatAgentHover.js → widget/chatAgentHover.js} +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatAgentCommandContentPart.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatAgentCommandContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatAnonymousRateLimitedPart.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatAnonymousRateLimitedPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatAttachmentsContentPart.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatAttachmentsContentPart.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatChangesSummaryPart.d.ts +10 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatChangesSummaryPart.js +59 -119
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatCodeCitationContentPart.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatCodeCitationContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatCollapsibleContentPart.d.ts +11 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatCollapsibleContentPart.js +31 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatCommandContentPart.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatCommandContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatConfirmationContentPart.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatConfirmationContentPart.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatConfirmationWidget.d.ts +9 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatConfirmationWidget.js +31 -99
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatContentCodePools.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatContentCodePools.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatDiffBlockPart.d.ts → widget/chatContentParts/chatDiffBlockPart.d.ts} +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatElicitationContentPart.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatElicitationContentPart.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatErrorConfirmationPart.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatErrorConfirmationPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatErrorContentPart.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatErrorContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatExtensionsContentPart.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatExtensionsContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatInlineAnchorWidget.d.ts → widget/chatContentParts/chatInlineAnchorWidget.d.ts} +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatInlineAnchorWidget.js → widget/chatContentParts/chatInlineAnchorWidget.js} +18 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatMarkdownContentPart.d.ts +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatMarkdownContentPart.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatMarkdownDecorationsRenderer.d.ts → widget/chatContentParts/chatMarkdownDecorationsRenderer.d.ts} +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatMarkdownDecorationsRenderer.js → widget/chatContentParts/chatMarkdownDecorationsRenderer.js} +9 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatMcpServersInteractionContentPart.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatMcpServersInteractionContentPart.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatMultiDiffContentPart.d.ts +4 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatMultiDiffContentPart.js +31 -35
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatProgressContentPart.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatProgressContentPart.js +9 -42
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatPullRequestContentPart.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatPullRequestContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatQuotaExceededPart.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatQuotaExceededPart.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatReferencesContentPart.d.ts +7 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatReferencesContentPart.js +20 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatSuggestNextWidget.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTaskContentPart.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTaskContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTextEditContentPart.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTextEditContentPart.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTextEditContentPart.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatThinkingContentPart.d.ts +9 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatThinkingContentPart.js +71 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTodoListWidget.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTodoListWidget.js +23 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatToolInputOutputContentPart.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatToolInputOutputContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatToolOutputContentSubPart.d.ts +6 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatToolOutputContentSubPart.js +27 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTreeContentPart.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTreeContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/{codeBlockPart.d.ts → widget/chatContentParts/codeBlockPart.d.ts} +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/{codeBlockPart.js → widget/chatContentParts/codeBlockPart.js} +19 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/media/chatThinkingContent.css +17 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/abstractToolConfirmationSubPart.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/abstractToolConfirmationSubPart.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatExtensionsInstallToolSubPart.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatExtensionsInstallToolSubPart.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatInputOutputMarkdownProgressPart.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatInputOutputMarkdownProgressPart.js +4 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatResultListSubPart.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatResultListSubPart.js +4 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatTerminalToolConfirmationSubPart.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatTerminalToolConfirmationSubPart.js +103 -37
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatTerminalToolProgressPart.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatTerminalToolProgressPart.js +18 -131
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolConfirmationSubPart.d.ts +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolConfirmationSubPart.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolInvocationPart.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolInvocationPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolInvocationSubPart.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolInvocationSubPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolOutputPart.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolOutputPart.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPartUtilities.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPartUtilities.js +46 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolPostExecuteConfirmationPart.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolPostExecuteConfirmationPart.js +11 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolProgressPart.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/toolInvocationParts/chatToolProgressPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatDragAndDrop.d.ts → widget/chatDragAndDrop.d.ts} +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatDragAndDrop.js → widget/chatDragAndDrop.js} +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatListRenderer.d.ts → widget/chatListRenderer.d.ts} +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatListRenderer.js → widget/chatListRenderer.js} +41 -53
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatWidget.d.ts → widget/chatWidget.d.ts} +18 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatWidget.js → widget/chatWidget.js} +77 -57
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatFollowups.d.ts → widget/input/chatFollowups.d.ts} +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatFollowups.js → widget/input/chatFollowups.js} +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatInputPart.d.ts → widget/input/chatInputPart.d.ts} +14 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatInputPart.js → widget/input/chatInputPart.js} +75 -59
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatSelectedTools.d.ts → widget/input/chatSelectedTools.d.ts} +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatSelectedTools.js → widget/input/chatSelectedTools.js} +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → widget/input/editor}/chatInputCompletions.js +36 -24
- package/vscode/src/vs/workbench/contrib/chat/browser/{modelPicker → widget/input}/modePickerActionItem.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{modelPicker → widget/input}/modePickerActionItem.js +9 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/{modelPicker → widget/input}/modelPickerActionItem.d.ts +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{modelPicker → widget/input}/modelPickerActionItem.js +21 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/{media → widget/media}/chat.css +17 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/{media → widget/media}/chatViewWelcome.css +3 -1
- package/vscode/src/vs/workbench/contrib/chat/common/{chatColors.js → widget/chatColors.js} +13 -13
- package/vscode/src/vs/workbench/contrib/chat/common/{chatWidgetHistoryService.d.ts → widget/chatWidgetHistoryService.d.ts} +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/{chatWidgetHistoryService.js → widget/chatWidgetHistoryService.js} +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/{codeBlockModelCollection.d.ts → widget/codeBlockModelCollection.d.ts} +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/{codeBlockModelCollection.js → widget/codeBlockModelCollection.js} +4 -3
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.d.ts +7 -8
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +63 -63
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.d.ts +3 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +16 -18
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.d.ts +1 -5
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +8 -18
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +12 -12
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +35 -54
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpPromptArgumentPick.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/chatTerminalCommandMirror.d.ts +35 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/chatTerminalCommandMirror.js +129 -31
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/common.d.ts +0 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/common.js +0 -76
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts +0 -48
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +0 -373
- /package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/media/{chatSessionAction.css → chatSessionPickerActionItem.css} +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentMarkdownRenderer.d.ts → widget/chatContentMarkdownRenderer.d.ts} +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentMarkdownRenderer.js → widget/chatContentMarkdownRenderer.js} +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatCollections.d.ts +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatCollections.js +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{chatDiffBlockPart.js → widget/chatContentParts/chatDiffBlockPart.js} +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatSuggestNextWidget.d.ts +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatTextEditContentPart.service.js +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{media → widget/chatContentParts/media}/chatCodeBlockPill.css +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/media/chatConfirmationWidget.css +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/media/chatExtensionsContent.css +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{media → widget/chatContentParts/media}/chatInlineAnchorWidget.css +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/media/chatMarkdownPart.css +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/media/chatMcpServersInteractionContent.css +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/media/chatPullRequestContent.css +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/media/chatTerminalToolProgressPart.css +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{codeBlockPart.css → widget/chatContentParts/media/codeBlockPart.css} +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{chatOptions.d.ts → widget/chatOptions.d.ts} +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{chatOptions.js → widget/chatOptions.js} +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{chatInputPartWidgets.d.ts → widget/input/chatInputPartWidgets.d.ts} +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{chatInputPartWidgets.js → widget/input/chatInputPartWidgets.js} +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → widget/input/editor}/chatInputCompletions.d.ts +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{media → widget/media}/chatAgentHover.css +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/common/{chatColors.d.ts → widget/chatColors.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-katex-common",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "25.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - common package depending on katex",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-api": "
|
|
19
|
-
"katex": "0.16.
|
|
18
|
+
"@codingame/monaco-vscode-api": "25.0.0",
|
|
19
|
+
"katex": "0.16.27",
|
|
20
20
|
"marked": "14.0.0"
|
|
21
21
|
},
|
|
22
22
|
"exports": {
|
|
@@ -55,7 +55,7 @@ let WorkbenchButtonBar = class WorkbenchButtonBar extends ButtonBar {
|
|
|
55
55
|
const kb = actionOrSubmenu instanceof SubmenuAction ? '' : this._keybindingService.lookupKeybinding(actionOrSubmenu.id);
|
|
56
56
|
if (kb) {
|
|
57
57
|
tooltip = ( localize(
|
|
58
|
-
|
|
58
|
+
1757,
|
|
59
59
|
"{0} ({1})",
|
|
60
60
|
actionOrSubmenu.tooltip || actionOrSubmenu.label,
|
|
61
61
|
kb.getLabel()
|
|
@@ -115,12 +115,12 @@ let WorkbenchButtonBar = class WorkbenchButtonBar extends ButtonBar {
|
|
|
115
115
|
if (secondary.length > 0) {
|
|
116
116
|
const btn = this.addButton({
|
|
117
117
|
secondary: true,
|
|
118
|
-
ariaLabel: ( localize(
|
|
118
|
+
ariaLabel: ( localize(1758, "More Actions"))
|
|
119
119
|
});
|
|
120
120
|
btn.icon = Codicon.dropDownButton;
|
|
121
121
|
btn.element.classList.add('default-colors', 'monaco-text-button');
|
|
122
122
|
btn.enabled = true;
|
|
123
|
-
this._updateStore.add(this._hoverService.setupManagedHover(hoverDelegate, btn.element, ( localize(
|
|
123
|
+
this._updateStore.add(this._hoverService.setupManagedHover(hoverDelegate, btn.element, ( localize(1758, "More Actions"))));
|
|
124
124
|
this._updateStore.add(btn.onDidClick(async () => {
|
|
125
125
|
this._contextMenuService.showContextMenu({
|
|
126
126
|
getAnchor: () => btn.element,
|
|
@@ -2,7 +2,7 @@ import { AriaRole } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui
|
|
|
2
2
|
import { IListAccessibilityProvider } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/list/listWidget";
|
|
3
3
|
import { IAccessibleViewService } from "@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleView.service";
|
|
4
4
|
import { IInstantiationService, ServicesAccessor } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
5
|
-
import { IChatToolInvocation } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService";
|
|
5
|
+
import { IChatToolInvocation } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService";
|
|
6
6
|
import { ChatTreeItem } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat";
|
|
7
7
|
export declare const getToolConfirmationAlert: (accessor: ServicesAccessor, toolInvocation: IChatToolInvocation[]) => string;
|
|
8
8
|
export declare class ChatAccessibilityProvider implements IListAccessibilityProvider<ChatTreeItem> {
|
|
@@ -9,10 +9,10 @@ import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/pl
|
|
|
9
9
|
import { IKeybindingService } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
10
10
|
import { AccessibilityVerbositySettingId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration';
|
|
11
11
|
import { migrateLegacyTerminalToolSpecificData } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chat';
|
|
12
|
-
import { IChatToolInvocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService';
|
|
13
|
-
import { isRequestVM, isResponseVM } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatViewModel';
|
|
14
|
-
import { toolContentToA11yString } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModelToolsService';
|
|
15
|
-
import { CancelChatActionId } from '
|
|
12
|
+
import { IChatToolInvocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService';
|
|
13
|
+
import { isRequestVM, isResponseVM } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatViewModel';
|
|
14
|
+
import { isToolResultInputOutputDetails, isToolResultOutputDetails, toolContentToA11yString } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/languageModelToolsService';
|
|
15
|
+
import { CancelChatActionId } from '../actions/chatExecuteActions.js';
|
|
16
16
|
import { AcceptToolConfirmationActionId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/actions/chatConstants';
|
|
17
17
|
|
|
18
18
|
const getToolConfirmationAlert = (accessor, toolInvocation) => {
|
|
@@ -23,9 +23,14 @@ const getToolConfirmationAlert = (accessor, toolInvocation) => {
|
|
|
23
23
|
const text = ( toolInvocation.map(v => {
|
|
24
24
|
const state = v.state.get();
|
|
25
25
|
if (state.type === IChatToolInvocation.StateKind.WaitingForPostApproval) {
|
|
26
|
+
const detail = isToolResultInputOutputDetails(state.resultDetails)
|
|
27
|
+
? state.resultDetails.input
|
|
28
|
+
: isToolResultOutputDetails(state.resultDetails)
|
|
29
|
+
? undefined
|
|
30
|
+
: toolContentToA11yString(state.contentForModel);
|
|
26
31
|
return {
|
|
27
|
-
title: ( localize(
|
|
28
|
-
detail:
|
|
32
|
+
title: ( localize(4573, "Approve results of tool")),
|
|
33
|
+
detail: detail,
|
|
29
34
|
};
|
|
30
35
|
}
|
|
31
36
|
if (!(v.confirmationMessages?.message && state.type === IChatToolInvocation.StateKind.WaitingForConfirmation)) {
|
|
@@ -53,19 +58,19 @@ const getToolConfirmationAlert = (accessor, toolInvocation) => {
|
|
|
53
58
|
})).filter(isDefined);
|
|
54
59
|
let message = acceptKb && cancelKb
|
|
55
60
|
? ( localize(
|
|
56
|
-
|
|
61
|
+
4574,
|
|
57
62
|
"Chat confirmation required: {0}. Press {1} to accept or {2} to cancel.",
|
|
58
63
|
( text.map(t => t.title)).join(', '),
|
|
59
64
|
acceptKb,
|
|
60
65
|
cancelKb
|
|
61
66
|
))
|
|
62
67
|
: ( localize(
|
|
63
|
-
|
|
68
|
+
4575,
|
|
64
69
|
"Chat confirmation required: {0}",
|
|
65
70
|
( text.map(t => t.title)).join(', ')
|
|
66
71
|
));
|
|
67
72
|
if (( text.some(t => t.detail))) {
|
|
68
|
-
message += ' ' + ( localize(
|
|
73
|
+
message += ' ' + ( localize(4576, "Details: {0}", ( text.map(t => t.detail ? t.detail : '')).join(' ')));
|
|
69
74
|
}
|
|
70
75
|
return message;
|
|
71
76
|
};
|
|
@@ -81,7 +86,7 @@ let ChatAccessibilityProvider = class ChatAccessibilityProvider {
|
|
|
81
86
|
return 'listitem';
|
|
82
87
|
}
|
|
83
88
|
getWidgetAriaLabel() {
|
|
84
|
-
return localize(
|
|
89
|
+
return localize(4577, "Chat");
|
|
85
90
|
}
|
|
86
91
|
getAriaLabel(element) {
|
|
87
92
|
if (isRequestVM(element)) {
|
|
@@ -112,10 +117,10 @@ let ChatAccessibilityProvider = class ChatAccessibilityProvider {
|
|
|
112
117
|
case 0:
|
|
113
118
|
break;
|
|
114
119
|
case 1:
|
|
115
|
-
tableCountHint = ( localize(
|
|
120
|
+
tableCountHint = ( localize(4578, "1 table "));
|
|
116
121
|
break;
|
|
117
122
|
default:
|
|
118
|
-
tableCountHint = ( localize(
|
|
123
|
+
tableCountHint = ( localize(4579, "{0} tables ", tableCount));
|
|
119
124
|
break;
|
|
120
125
|
}
|
|
121
126
|
const fileTreeCount = element.response.value.filter(v => v.kind === 'treeData').length ?? 0;
|
|
@@ -124,10 +129,10 @@ let ChatAccessibilityProvider = class ChatAccessibilityProvider {
|
|
|
124
129
|
case 0:
|
|
125
130
|
break;
|
|
126
131
|
case 1:
|
|
127
|
-
fileTreeCountHint = ( localize(
|
|
132
|
+
fileTreeCountHint = ( localize(4580, "1 file tree "));
|
|
128
133
|
break;
|
|
129
134
|
default:
|
|
130
|
-
fileTreeCountHint = ( localize(
|
|
135
|
+
fileTreeCountHint = ( localize(4581, "{0} file trees ", fileTreeCount));
|
|
131
136
|
break;
|
|
132
137
|
}
|
|
133
138
|
const elicitationCount = element.response.value.filter(v => v.kind === 'elicitation2' || v.kind === 'elicitationSerialized');
|
|
@@ -142,7 +147,7 @@ let ChatAccessibilityProvider = class ChatAccessibilityProvider {
|
|
|
142
147
|
case 0:
|
|
143
148
|
label = accessibleViewHint
|
|
144
149
|
? ( localize(
|
|
145
|
-
|
|
150
|
+
4582,
|
|
146
151
|
"{0}{1}{2}{3}{4} {5}",
|
|
147
152
|
toolInvocationHint,
|
|
148
153
|
fileTreeCountHint,
|
|
@@ -152,7 +157,7 @@ let ChatAccessibilityProvider = class ChatAccessibilityProvider {
|
|
|
152
157
|
accessibleViewHint
|
|
153
158
|
))
|
|
154
159
|
: ( localize(
|
|
155
|
-
|
|
160
|
+
4583,
|
|
156
161
|
"{0}{1}{2} {3}",
|
|
157
162
|
fileTreeCountHint,
|
|
158
163
|
elicitationHint,
|
|
@@ -163,7 +168,7 @@ let ChatAccessibilityProvider = class ChatAccessibilityProvider {
|
|
|
163
168
|
case 1:
|
|
164
169
|
label = accessibleViewHint
|
|
165
170
|
? ( localize(
|
|
166
|
-
|
|
171
|
+
4584,
|
|
167
172
|
"{0}{1}{2}1 code block: {3} {4}{5}",
|
|
168
173
|
toolInvocationHint,
|
|
169
174
|
fileTreeCountHint,
|
|
@@ -173,7 +178,7 @@ let ChatAccessibilityProvider = class ChatAccessibilityProvider {
|
|
|
173
178
|
accessibleViewHint
|
|
174
179
|
))
|
|
175
180
|
: ( localize(
|
|
176
|
-
|
|
181
|
+
4585,
|
|
177
182
|
"{0}{1}1 code block: {2} {3}",
|
|
178
183
|
fileTreeCountHint,
|
|
179
184
|
elicitationHint,
|
|
@@ -184,7 +189,7 @@ let ChatAccessibilityProvider = class ChatAccessibilityProvider {
|
|
|
184
189
|
default:
|
|
185
190
|
label = accessibleViewHint
|
|
186
191
|
? ( localize(
|
|
187
|
-
|
|
192
|
+
4586,
|
|
188
193
|
"{0}{1}{2}{3} code blocks: {4}{5} {6}",
|
|
189
194
|
toolInvocationHint,
|
|
190
195
|
fileTreeCountHint,
|
|
@@ -195,7 +200,7 @@ let ChatAccessibilityProvider = class ChatAccessibilityProvider {
|
|
|
195
200
|
accessibleViewHint
|
|
196
201
|
))
|
|
197
202
|
: ( localize(
|
|
198
|
-
|
|
203
|
+
4587,
|
|
199
204
|
"{0}{1}{2} code blocks: {3} {4}",
|
|
200
205
|
fileTreeCountHint,
|
|
201
206
|
elicitationHint,
|
|
@@ -21,11 +21,11 @@ import { IKeybindingService } from '@codingame/monaco-vscode-api/vscode/vs/platf
|
|
|
21
21
|
import { IOpenerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service';
|
|
22
22
|
import { ResourceContextKey } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
|
|
23
23
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
24
|
-
import { IChatAgentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents.service';
|
|
25
|
-
import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
26
|
-
import { chatEditingWidgetFileStateContextKey, ModifiedFileEntryState } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatEditingService';
|
|
27
|
-
import { ChatRequestParser } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatRequestParser';
|
|
28
|
-
import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService.service';
|
|
24
|
+
import { IChatAgentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/participants/chatAgents.service';
|
|
25
|
+
import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/actions/chatContextKeys';
|
|
26
|
+
import { chatEditingWidgetFileStateContextKey, ModifiedFileEntryState } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/editing/chatEditingService';
|
|
27
|
+
import { ChatRequestParser } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/requestParser/chatRequestParser';
|
|
28
|
+
import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService.service';
|
|
29
29
|
import { IChatSessionsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService.service';
|
|
30
30
|
import { ChatAgentLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
|
|
31
31
|
import { PROMPT_LANGUAGE_ID } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/promptTypes';
|
|
@@ -33,8 +33,7 @@ import { AgentSessionProviders, getAgentSessionProviderName, getAgentSessionProv
|
|
|
33
33
|
import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
34
34
|
import { ctxHasEditorModification } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys';
|
|
35
35
|
import { CHAT_SETUP_ACTION_ID } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
|
|
36
|
-
import { toPromptFileVariableEntry, PromptFileVariableKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatVariableEntries';
|
|
37
|
-
import { NEW_CHAT_SESSION_ACTION_ID } from '../chatSessions/common.js';
|
|
36
|
+
import { toPromptFileVariableEntry, PromptFileVariableKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/attachments/chatVariableEntries';
|
|
38
37
|
|
|
39
38
|
var ChatContinueInSessionActionItem_1;
|
|
40
39
|
var ActionLocation;
|
|
@@ -47,19 +46,19 @@ class ContinueChatInSessionAction extends Action2 {
|
|
|
47
46
|
constructor() {
|
|
48
47
|
super({
|
|
49
48
|
id: ContinueChatInSessionAction.ID,
|
|
50
|
-
title: ( localize2(
|
|
51
|
-
tooltip: ( localize(
|
|
52
|
-
precondition: ( ContextKeyExpr.and(ChatContextKeys.enabled, ( ChatContextKeys.requestInProgress.negate()), ( ChatContextKeys.remoteJobCreating.negate()))),
|
|
49
|
+
title: ( localize2(4724, "Continue Chat in...")),
|
|
50
|
+
tooltip: ( localize(4724, "Continue Chat in...")),
|
|
51
|
+
precondition: ( ContextKeyExpr.and(ChatContextKeys.enabled, ( ChatContextKeys.requestInProgress.negate()), ( ChatContextKeys.remoteJobCreating.negate()), ChatContextKeys.hasCanDelegateProviders)),
|
|
53
52
|
menu: [{
|
|
54
53
|
id: MenuId.ChatExecute,
|
|
55
54
|
group: 'navigation',
|
|
56
55
|
order: 3.4,
|
|
57
|
-
when: ( ChatContextKeys.lockedToCodingAgent.negate()),
|
|
56
|
+
when: ( ContextKeyExpr.and(( ChatContextKeys.lockedToCodingAgent.negate()), ChatContextKeys.hasCanDelegateProviders)),
|
|
58
57
|
},
|
|
59
58
|
{
|
|
60
59
|
id: MenuId.EditorContent,
|
|
61
60
|
group: 'continueIn',
|
|
62
|
-
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals(ResourceContextKey.Scheme.key, Schemas.untitled)), ( ContextKeyExpr.equals(ResourceContextKey.LangId.key, PROMPT_LANGUAGE_ID)), ( ContextKeyExpr.notEquals(chatEditingWidgetFileStateContextKey.key, ModifiedFileEntryState.Modified)), ( ctxHasEditorModification.negate()))),
|
|
61
|
+
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals(ResourceContextKey.Scheme.key, Schemas.untitled)), ( ContextKeyExpr.equals(ResourceContextKey.LangId.key, PROMPT_LANGUAGE_ID)), ( ContextKeyExpr.notEquals(chatEditingWidgetFileStateContextKey.key, ModifiedFileEntryState.Modified)), ( ctxHasEditorModification.negate()), ChatContextKeys.hasCanDelegateProviders)),
|
|
63
62
|
}
|
|
64
63
|
]
|
|
65
64
|
});
|
|
@@ -80,8 +79,8 @@ let ChatContinueInSessionActionItem = ChatContinueInSessionActionItem_1 = class
|
|
|
80
79
|
const learnMoreUrl = 'https://aka.ms/vscode-continue-chat-in';
|
|
81
80
|
return [{
|
|
82
81
|
id: 'workbench.action.chat.continueChatInSession.learnMore',
|
|
83
|
-
label: ( localize(
|
|
84
|
-
tooltip: ( localize(
|
|
82
|
+
label: ( localize(4725, "Learn More")),
|
|
83
|
+
tooltip: ( localize(4725, "Learn More")),
|
|
85
84
|
class: undefined,
|
|
86
85
|
enabled: true,
|
|
87
86
|
run: async () => {
|
|
@@ -118,8 +117,8 @@ let ChatContinueInSessionActionItem = ChatContinueInSessionActionItem_1 = class
|
|
|
118
117
|
class: undefined,
|
|
119
118
|
description: `@${contrib.name}`,
|
|
120
119
|
label: getAgentSessionProviderName(provider),
|
|
121
|
-
tooltip: ( localize(
|
|
122
|
-
category: { label: ( localize(
|
|
120
|
+
tooltip: ( localize(4726, "Continue in {0}", getAgentSessionProviderName(provider))),
|
|
121
|
+
category: { label: ( localize(4727, "Continue In")), order: 0, showHeader: true },
|
|
123
122
|
run: () => instantiationService.invokeFunction(accessor => {
|
|
124
123
|
if (location === ActionLocation.Editor) {
|
|
125
124
|
return ( new CreateRemoteAgentJobFromEditorAction()).run(accessor, contrib);
|
|
@@ -135,8 +134,8 @@ let ChatContinueInSessionActionItem = ChatContinueInSessionActionItem_1 = class
|
|
|
135
134
|
icon: getAgentSessionProviderIcon(provider),
|
|
136
135
|
class: undefined,
|
|
137
136
|
label: getAgentSessionProviderName(provider),
|
|
138
|
-
tooltip: ( localize(
|
|
139
|
-
category: { label: ( localize(
|
|
137
|
+
tooltip: ( localize(4726, "Continue in {0}", getAgentSessionProviderName(provider))),
|
|
138
|
+
category: { label: ( localize(4727, "Continue In")), order: 0, showHeader: true },
|
|
140
139
|
run: () => instantiationService.invokeFunction(accessor => {
|
|
141
140
|
const commandService = accessor.get(ICommandService);
|
|
142
141
|
return commandService.executeCommand(CHAT_SETUP_ACTION_ID);
|
|
@@ -147,7 +146,7 @@ let ChatContinueInSessionActionItem = ChatContinueInSessionActionItem_1 = class
|
|
|
147
146
|
if (this.location === ActionLocation.Editor) {
|
|
148
147
|
const view = h('span.action-widget-delegate-label', [
|
|
149
148
|
h('span', { className: ThemeIcon.asClassName(Codicon.forward) }),
|
|
150
|
-
h('span', [( localize(
|
|
149
|
+
h('span', [( localize(4728, "Continue in..."))])
|
|
151
150
|
]);
|
|
152
151
|
element.appendChild(view.root);
|
|
153
152
|
return null;
|
|
@@ -167,6 +166,7 @@ ChatContinueInSessionActionItem = ChatContinueInSessionActionItem_1 = ( __decora
|
|
|
167
166
|
( __param(6, IInstantiationService)),
|
|
168
167
|
( __param(7, IOpenerService))
|
|
169
168
|
], ChatContinueInSessionActionItem));
|
|
169
|
+
const NEW_CHAT_SESSION_ACTION_ID = 'workbench.action.chat.openNewSessionEditor';
|
|
170
170
|
class CreateRemoteAgentJobAction {
|
|
171
171
|
constructor() { }
|
|
172
172
|
openUntitledEditor(commandService, continuationTarget) {
|
|
@@ -4,9 +4,9 @@ import { localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
|
4
4
|
import { Action2, registerAction2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
5
5
|
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
6
6
|
import { KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
7
|
-
import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
8
|
-
import { ElicitationState } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService';
|
|
9
|
-
import { isResponseVM } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatViewModel';
|
|
7
|
+
import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/actions/chatContextKeys';
|
|
8
|
+
import { ElicitationState } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService';
|
|
9
|
+
import { isResponseVM } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatViewModel';
|
|
10
10
|
import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
11
11
|
import { CHAT_CATEGORY } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
|
|
12
12
|
|
|
@@ -15,7 +15,7 @@ class AcceptElicitationRequestAction extends Action2 {
|
|
|
15
15
|
constructor() {
|
|
16
16
|
super({
|
|
17
17
|
id: AcceptElicitationRequestActionId,
|
|
18
|
-
title: ( localize2(
|
|
18
|
+
title: ( localize2(4735, "Accept Request")),
|
|
19
19
|
f1: false,
|
|
20
20
|
category: CHAT_CATEGORY,
|
|
21
21
|
keybinding: {
|
|
@@ -14,12 +14,12 @@ import { IDialogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/
|
|
|
14
14
|
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
15
15
|
import { KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
16
16
|
import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
17
|
-
import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
17
|
+
import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/actions/chatContextKeys';
|
|
18
18
|
import { IChatModeService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatModes.service';
|
|
19
|
-
import { chatVariableLeader } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatParserTypes';
|
|
20
|
-
import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService.service';
|
|
19
|
+
import { chatVariableLeader } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/requestParser/chatParserTypes';
|
|
20
|
+
import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService.service';
|
|
21
21
|
import { ChatModeKind, ChatAgentLocation, ChatConfiguration } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
|
|
22
|
-
import { ILanguageModelToolsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModelToolsService.service';
|
|
22
|
+
import { ILanguageModelToolsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/languageModelToolsService.service';
|
|
23
23
|
import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
24
24
|
import { getEditingSessionContext } from '../chatEditing/chatEditingActions.js';
|
|
25
25
|
import { ctxHasEditorModification } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys';
|
|
@@ -57,14 +57,14 @@ class SubmitAction extends Action2 {
|
|
|
57
57
|
if (editsToUndo === 1) {
|
|
58
58
|
if (entriesModifiedInRequestsToRemove.length === 1) {
|
|
59
59
|
message = ( localize(
|
|
60
|
-
|
|
60
|
+
4736,
|
|
61
61
|
"This will remove your last request and undo the edits made to {0}. Do you want to proceed?",
|
|
62
62
|
basename(entriesModifiedInRequestsToRemove[0].modifiedURI)
|
|
63
63
|
));
|
|
64
64
|
}
|
|
65
65
|
else {
|
|
66
66
|
message = ( localize(
|
|
67
|
-
|
|
67
|
+
4737,
|
|
68
68
|
"This will remove your last request and undo edits made to {0} files in your working set. Do you want to proceed?",
|
|
69
69
|
entriesModifiedInRequestsToRemove.length
|
|
70
70
|
));
|
|
@@ -73,14 +73,14 @@ class SubmitAction extends Action2 {
|
|
|
73
73
|
else {
|
|
74
74
|
if (entriesModifiedInRequestsToRemove.length === 1) {
|
|
75
75
|
message = ( localize(
|
|
76
|
-
|
|
76
|
+
4738,
|
|
77
77
|
"This will remove all subsequent requests and undo edits made to {0}. Do you want to proceed?",
|
|
78
78
|
basename(entriesModifiedInRequestsToRemove[0].modifiedURI)
|
|
79
79
|
));
|
|
80
80
|
}
|
|
81
81
|
else {
|
|
82
82
|
message = ( localize(
|
|
83
|
-
|
|
83
|
+
4739,
|
|
84
84
|
"This will remove all subsequent requests and undo edits made to {0} files in your working set. Do you want to proceed?",
|
|
85
85
|
entriesModifiedInRequestsToRemove.length
|
|
86
86
|
));
|
|
@@ -89,11 +89,11 @@ class SubmitAction extends Action2 {
|
|
|
89
89
|
const confirmation = shouldPrompt
|
|
90
90
|
? await dialogService.confirm({
|
|
91
91
|
title: editsToUndo === 1
|
|
92
|
-
? ( localize(
|
|
93
|
-
: ( localize(
|
|
92
|
+
? ( localize(4740, "Do you want to undo your last edit?"))
|
|
93
|
+
: ( localize(4741, "Do you want to undo {0} edits?", editsToUndo)),
|
|
94
94
|
message: message,
|
|
95
|
-
primaryButton: ( localize(
|
|
96
|
-
checkbox: { label: ( localize(
|
|
95
|
+
primaryButton: ( localize(4742, "Yes")),
|
|
96
|
+
checkbox: { label: ( localize(4743, "Don't ask again")), checked: false },
|
|
97
97
|
type: 'info'
|
|
98
98
|
})
|
|
99
99
|
: { confirmed: true };
|
|
@@ -133,7 +133,7 @@ class ChatSubmitAction extends SubmitAction {
|
|
|
133
133
|
const precondition = ( ContextKeyExpr.and(ChatContextKeys.inputHasText, whenNotInProgress));
|
|
134
134
|
super({
|
|
135
135
|
id: ChatSubmitAction.ID,
|
|
136
|
-
title: ( localize2(
|
|
136
|
+
title: ( localize2(4744, "Send")),
|
|
137
137
|
f1: false,
|
|
138
138
|
category: CHAT_CATEGORY,
|
|
139
139
|
icon: Codicon.send,
|
|
@@ -141,7 +141,7 @@ class ChatSubmitAction extends SubmitAction {
|
|
|
141
141
|
toggled: {
|
|
142
142
|
condition: ChatContextKeys.lockedToCodingAgent,
|
|
143
143
|
icon: Codicon.send,
|
|
144
|
-
tooltip: ( localize(
|
|
144
|
+
tooltip: ( localize(4745, "Send to Agent")),
|
|
145
145
|
},
|
|
146
146
|
keybinding: {
|
|
147
147
|
when: ( ContextKeyExpr.and(ChatContextKeys.inChatInput, ( ChatContextKeys.withinEditSessionDiff.negate()))),
|
|
@@ -156,7 +156,7 @@ class ChatSubmitAction extends SubmitAction {
|
|
|
156
156
|
group: 'navigation',
|
|
157
157
|
alt: {
|
|
158
158
|
id: 'workbench.action.chat.sendToNewChat',
|
|
159
|
-
title: ( localize2(
|
|
159
|
+
title: ( localize2(4746, "Send to New Chat")),
|
|
160
160
|
icon: Codicon.plus
|
|
161
161
|
}
|
|
162
162
|
}, {
|
|
@@ -174,7 +174,7 @@ class ChatDelegateToEditSessionAction extends Action2 {
|
|
|
174
174
|
constructor() {
|
|
175
175
|
super({
|
|
176
176
|
id: ChatDelegateToEditSessionAction.ID,
|
|
177
|
-
title: ( localize2(
|
|
177
|
+
title: ( localize2(4747, "Send to Edit Session")),
|
|
178
178
|
f1: false,
|
|
179
179
|
category: CHAT_CATEGORY,
|
|
180
180
|
icon: Codicon.commentDiscussion,
|
|
@@ -225,7 +225,7 @@ class ToggleChatModeAction extends Action2 {
|
|
|
225
225
|
constructor() {
|
|
226
226
|
super({
|
|
227
227
|
id: ToggleChatModeAction.ID,
|
|
228
|
-
title: ( localize2(
|
|
228
|
+
title: ( localize2(4748, "Switch to Next Agent")),
|
|
229
229
|
f1: true,
|
|
230
230
|
category: CHAT_CATEGORY,
|
|
231
231
|
precondition: ( ContextKeyExpr.and(ChatContextKeys.enabled, ( ChatContextKeys.requestInProgress.negate())))
|
|
@@ -296,7 +296,7 @@ class SwitchToNextModelAction extends Action2 {
|
|
|
296
296
|
constructor() {
|
|
297
297
|
super({
|
|
298
298
|
id: SwitchToNextModelAction.ID,
|
|
299
|
-
title: ( localize2(
|
|
299
|
+
title: ( localize2(4749, "Switch to Next Model")),
|
|
300
300
|
category: CHAT_CATEGORY,
|
|
301
301
|
f1: true,
|
|
302
302
|
precondition: ChatContextKeys.enabled,
|
|
@@ -314,7 +314,7 @@ class OpenModelPickerAction extends Action2 {
|
|
|
314
314
|
constructor() {
|
|
315
315
|
super({
|
|
316
316
|
id: OpenModelPickerAction.ID,
|
|
317
|
-
title: ( localize2(
|
|
317
|
+
title: ( localize2(4750, "Open Model Picker")),
|
|
318
318
|
category: CHAT_CATEGORY,
|
|
319
319
|
f1: false,
|
|
320
320
|
keybinding: {
|
|
@@ -345,8 +345,8 @@ class OpenModePickerAction extends Action2 {
|
|
|
345
345
|
constructor() {
|
|
346
346
|
super({
|
|
347
347
|
id: OpenModePickerAction.ID,
|
|
348
|
-
title: ( localize2(
|
|
349
|
-
tooltip: ( localize(
|
|
348
|
+
title: ( localize2(4751, "Open Agent Picker")),
|
|
349
|
+
tooltip: ( localize(4752, "Set Agent")),
|
|
350
350
|
category: CHAT_CATEGORY,
|
|
351
351
|
f1: false,
|
|
352
352
|
precondition: ChatContextKeys.enabled,
|
|
@@ -378,7 +378,7 @@ class ChatSessionPrimaryPickerAction extends Action2 {
|
|
|
378
378
|
constructor() {
|
|
379
379
|
super({
|
|
380
380
|
id: ChatSessionPrimaryPickerAction.ID,
|
|
381
|
-
title: ( localize2(
|
|
381
|
+
title: ( localize2(4753, "Open Picker")),
|
|
382
382
|
category: CHAT_CATEGORY,
|
|
383
383
|
f1: false,
|
|
384
384
|
precondition: ChatContextKeys.enabled,
|
|
@@ -404,7 +404,7 @@ class ChangeChatModelAction extends Action2 {
|
|
|
404
404
|
constructor() {
|
|
405
405
|
super({
|
|
406
406
|
id: ChangeChatModelAction.ID,
|
|
407
|
-
title: ( localize2(
|
|
407
|
+
title: ( localize2(4754, "Change Model")),
|
|
408
408
|
category: CHAT_CATEGORY,
|
|
409
409
|
f1: false,
|
|
410
410
|
precondition: ChatContextKeys.enabled,
|
|
@@ -427,7 +427,7 @@ class ChatEditingSessionSubmitAction extends SubmitAction {
|
|
|
427
427
|
const precondition = ( ContextKeyExpr.and(ChatContextKeys.inputHasText, whenNotInProgress));
|
|
428
428
|
super({
|
|
429
429
|
id: ChatEditingSessionSubmitAction.ID,
|
|
430
|
-
title: ( localize2(
|
|
430
|
+
title: ( localize2(4755, "Send")),
|
|
431
431
|
f1: false,
|
|
432
432
|
category: CHAT_CATEGORY,
|
|
433
433
|
icon: Codicon.send,
|
|
@@ -440,7 +440,7 @@ class ChatEditingSessionSubmitAction extends SubmitAction {
|
|
|
440
440
|
group: 'navigation',
|
|
441
441
|
alt: {
|
|
442
442
|
id: 'workbench.action.chat.sendToNewChat',
|
|
443
|
-
title: ( localize2(
|
|
443
|
+
title: ( localize2(4746, "Send to New Chat")),
|
|
444
444
|
icon: Codicon.plus
|
|
445
445
|
}
|
|
446
446
|
}
|
|
@@ -454,7 +454,7 @@ class SubmitWithoutDispatchingAction extends Action2 {
|
|
|
454
454
|
const precondition = ( ContextKeyExpr.and(ChatContextKeys.inputHasText, whenNotInProgress, ( ChatContextKeys.chatModeKind.isEqualTo(ChatModeKind.Ask))));
|
|
455
455
|
super({
|
|
456
456
|
id: SubmitWithoutDispatchingAction.ID,
|
|
457
|
-
title: ( localize2(
|
|
457
|
+
title: ( localize2(4756, "Send")),
|
|
458
458
|
f1: false,
|
|
459
459
|
category: CHAT_CATEGORY,
|
|
460
460
|
precondition,
|
|
@@ -478,7 +478,7 @@ class ChatSubmitWithCodebaseAction extends Action2 {
|
|
|
478
478
|
const precondition = ( ContextKeyExpr.and(ChatContextKeys.inputHasText, whenNotInProgress));
|
|
479
479
|
super({
|
|
480
480
|
id: ChatSubmitWithCodebaseAction.ID,
|
|
481
|
-
title: ( localize2(
|
|
481
|
+
title: ( localize2(4757, "Send with {0}", `${chatVariableLeader}codebase`)),
|
|
482
482
|
precondition,
|
|
483
483
|
keybinding: {
|
|
484
484
|
when: ChatContextKeys.inChatInput,
|
|
@@ -515,7 +515,7 @@ class SendToNewChatAction extends Action2 {
|
|
|
515
515
|
const precondition = ChatContextKeys.inputHasText;
|
|
516
516
|
super({
|
|
517
517
|
id: 'workbench.action.chat.sendToNewChat',
|
|
518
|
-
title: ( localize2(
|
|
518
|
+
title: ( localize2(4746, "Send to New Chat")),
|
|
519
519
|
precondition,
|
|
520
520
|
category: CHAT_CATEGORY,
|
|
521
521
|
f1: false,
|
|
@@ -545,7 +545,7 @@ class SendToNewChatAction extends Action2 {
|
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
547
|
await widget.clear();
|
|
548
|
-
widget.acceptInput(inputBeforeClear);
|
|
548
|
+
widget.acceptInput(inputBeforeClear, { storeToHistory: true });
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
551
|
const CancelChatActionId = 'workbench.action.chat.cancel';
|
|
@@ -554,7 +554,7 @@ class CancelAction extends Action2 {
|
|
|
554
554
|
constructor() {
|
|
555
555
|
super({
|
|
556
556
|
id: CancelAction.ID,
|
|
557
|
-
title: ( localize2(
|
|
557
|
+
title: ( localize2(4758, "Cancel")),
|
|
558
558
|
f1: false,
|
|
559
559
|
category: CHAT_CATEGORY,
|
|
560
560
|
icon: Codicon.stopCircle,
|
|
@@ -596,7 +596,7 @@ class CancelEdit extends Action2 {
|
|
|
596
596
|
constructor() {
|
|
597
597
|
super({
|
|
598
598
|
id: CancelEdit.ID,
|
|
599
|
-
title: ( localize2(
|
|
599
|
+
title: ( localize2(4759, "Cancel Edit")),
|
|
600
600
|
f1: false,
|
|
601
601
|
category: CHAT_CATEGORY,
|
|
602
602
|
icon: Codicon.x,
|
|
@@ -13,11 +13,11 @@ import { ResourceNotebookCellEdit } from '@codingame/monaco-vscode-api/vscode/vs
|
|
|
13
13
|
import { MENU_INLINE_CHAT_WIDGET_SECONDARY } from '../../../inlineChat/common/inlineChat.js';
|
|
14
14
|
import { NOTEBOOK_EDITOR_ID, CellKind, CellEditType } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
15
15
|
import { NOTEBOOK_IS_ACTIVE_EDITOR } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
|
|
16
|
-
import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
17
|
-
import { applyingChatEditsFailedContextKey, isChatEditingActionContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatEditingService';
|
|
18
|
-
import { ChatAgentVoteDirection } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService';
|
|
19
|
-
import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService.service';
|
|
20
|
-
import { isResponseVM } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatViewModel';
|
|
16
|
+
import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/actions/chatContextKeys';
|
|
17
|
+
import { applyingChatEditsFailedContextKey, isChatEditingActionContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/editing/chatEditingService';
|
|
18
|
+
import { ChatAgentVoteDirection } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService';
|
|
19
|
+
import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService.service';
|
|
20
|
+
import { isResponseVM } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatViewModel';
|
|
21
21
|
import { ChatModeKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
|
|
22
22
|
import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
23
23
|
import { CHAT_CATEGORY } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
|
|
@@ -29,7 +29,7 @@ function registerChatTitleActions() {
|
|
|
29
29
|
constructor() {
|
|
30
30
|
super({
|
|
31
31
|
id: 'workbench.action.chat.markHelpful',
|
|
32
|
-
title: ( localize2(
|
|
32
|
+
title: ( localize2(4797, "Helpful")),
|
|
33
33
|
f1: false,
|
|
34
34
|
category: CHAT_CATEGORY,
|
|
35
35
|
icon: Codicon.thumbsup,
|
|
@@ -83,7 +83,7 @@ function registerChatTitleActions() {
|
|
|
83
83
|
constructor() {
|
|
84
84
|
super({
|
|
85
85
|
id: MarkUnhelpfulActionId,
|
|
86
|
-
title: ( localize2(
|
|
86
|
+
title: ( localize2(4798, "Unhelpful")),
|
|
87
87
|
f1: false,
|
|
88
88
|
category: CHAT_CATEGORY,
|
|
89
89
|
icon: Codicon.thumbsdown,
|
|
@@ -140,7 +140,7 @@ function registerChatTitleActions() {
|
|
|
140
140
|
constructor() {
|
|
141
141
|
super({
|
|
142
142
|
id: 'workbench.action.chat.reportIssueForBug',
|
|
143
|
-
title: ( localize2(
|
|
143
|
+
title: ( localize2(4799, "Report Issue")),
|
|
144
144
|
f1: false,
|
|
145
145
|
category: CHAT_CATEGORY,
|
|
146
146
|
icon: Codicon.report,
|
|
@@ -187,7 +187,7 @@ function registerChatTitleActions() {
|
|
|
187
187
|
constructor() {
|
|
188
188
|
super({
|
|
189
189
|
id: 'workbench.action.chat.retry',
|
|
190
|
-
title: ( localize2(
|
|
190
|
+
title: ( localize2(4800, "Retry")),
|
|
191
191
|
f1: false,
|
|
192
192
|
category: CHAT_CATEGORY,
|
|
193
193
|
icon: Codicon.refresh,
|
|
@@ -238,20 +238,20 @@ function registerChatTitleActions() {
|
|
|
238
238
|
const shouldPrompt = entriesModifiedInLastRequest.length > 0 && configurationService.getValue('chat.editing.confirmEditRequestRetry') === true;
|
|
239
239
|
const confirmation = shouldPrompt
|
|
240
240
|
? await dialogService.confirm({
|
|
241
|
-
title: ( localize(
|
|
241
|
+
title: ( localize(4801, "Do you want to retry your last request?")),
|
|
242
242
|
message: entriesModifiedInLastRequest.length === 1
|
|
243
243
|
? ( localize(
|
|
244
|
-
|
|
244
|
+
4802,
|
|
245
245
|
"This will undo edits made to {0} since this request.",
|
|
246
246
|
basename(entriesModifiedInLastRequest[0].modifiedURI)
|
|
247
247
|
))
|
|
248
248
|
: ( localize(
|
|
249
|
-
|
|
249
|
+
4803,
|
|
250
250
|
"This will undo edits made to {0} files in your working set since this request. Do you want to proceed?",
|
|
251
251
|
entriesModifiedInLastRequest.length
|
|
252
252
|
)),
|
|
253
|
-
primaryButton: ( localize(
|
|
254
|
-
checkbox: { label: ( localize(
|
|
253
|
+
primaryButton: ( localize(4804, "Yes")),
|
|
254
|
+
checkbox: { label: ( localize(4805, "Don't ask again")), checked: false },
|
|
255
255
|
type: 'info'
|
|
256
256
|
})
|
|
257
257
|
: { confirmed: true };
|
|
@@ -279,7 +279,7 @@ function registerChatTitleActions() {
|
|
|
279
279
|
constructor() {
|
|
280
280
|
super({
|
|
281
281
|
id: 'workbench.action.chat.insertIntoNotebook',
|
|
282
|
-
title: ( localize2(
|
|
282
|
+
title: ( localize2(4806, "Insert into Notebook")),
|
|
283
283
|
f1: false,
|
|
284
284
|
category: CHAT_CATEGORY,
|
|
285
285
|
icon: Codicon.insert,
|