@codingame/monaco-vscode-chat-service-override 16.1.0 → 17.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/index.js +6 -6
- package/package.json +30 -27
- package/vscode/src/vs/base/common/objectCache.d.ts +1 -1
- package/vscode/src/vs/base/common/objectCache.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +41 -41
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +16 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.d.ts +4 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +410 -443
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatGettingStarted.d.ts +1 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatGettingStarted.js +3 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +9 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTransfer.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.d.ts +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.js +32 -28
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/promptActions/chatAttachInstructionsAction.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/promptActions/chatAttachInstructionsAction.js +61 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/promptActions/chatRunPromptAction.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/promptActions/chatRunPromptAction.js +159 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/promptActions/chatSaveToPromptAction.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/promptActions/chatSaveToPromptAction.js +140 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/promptActions/dialogs/askToSelectPrompt/promptFilePickers.d.ts +32 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/promptActions/dialogs/askToSelectPrompt/promptFilePickers.js +244 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/promptActions/dialogs/askToSelectPrompt/utils/attachInstructions.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/promptActions/dialogs/askToSelectPrompt/utils/attachInstructions.js +30 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/promptActions/dialogs/askToSelectPrompt/utils/runPrompt.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/promptActions/dialogs/askToSelectPrompt/utils/runPrompt.js +12 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/promptActions/index.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/promptActions/index.js +13 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +171 -168
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEdinputInputContentProvider.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.js +48 -45
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +46 -44
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +118 -123
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.d.ts +5 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.js +45 -29
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.d.ts +12 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.js +48 -34
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.js +53 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.js +32 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.d.ts +9 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.js +80 -268
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSessionStorage.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSessionStorage.js +214 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingModifiedNotebookDiff.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingModifiedNotebookSnapshot.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookCellEntry.d.ts +7 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookCellEntry.js +26 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.d.ts +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.js +186 -106
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/overlayToolbarDecorator.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/overlayToolbarDecorator.js +129 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/simpleBrowserEditorOverlay.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/simpleBrowserEditorOverlay.js +313 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditor.d.ts +4 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditor.js +12 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.d.ts +0 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.js +42 -181
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuick.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuick.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseAccessibleView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseAccessibleView.js +15 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup.d.ts +2 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup.js +484 -384
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus.js +187 -101
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatusItemService.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatVariables.d.ts +3 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatVariables.js +8 -52
- package/vscode/src/vs/workbench/contrib/chat/browser/chatViewPane.d.ts +53 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatViewPane.js +264 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockContextProviderService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputEditorContrib.js +28 -22
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputEditorHover.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputEditorHover.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/languageModelToolsService.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/languageModelToolsService.js +41 -45
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatEditingEditorOverlay.css +8 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatSetup.css +2 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatStatus.css +20 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/media/simpleBrowserOverlay.css +67 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/contributions/attachInstructionsCommand.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/contributions/attachInstructionsCommand.js +73 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/contributions/createPromptCommand/createPromptCommand.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/contributions/createPromptCommand/createPromptCommand.js +82 -67
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/contributions/createPromptCommand/dialogs/askForPromptName.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/contributions/createPromptCommand/dialogs/askForPromptName.js +44 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/contributions/createPromptCommand/dialogs/askForPromptSourceFolder.d.ts +5 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/contributions/createPromptCommand/dialogs/askForPromptSourceFolder.js +24 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/contributions/createPromptCommand/errors.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/contributions/createPromptCommand/utils/createPromptFile.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcomeHandler.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatCodeMapperService.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatProgressTypes/chatToolInvocation.d.ts +7 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatProgressTypes/chatToolInvocation.js +14 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatServiceImpl.d.ts +8 -7
- package/vscode/src/vs/workbench/contrib/chat/common/chatServiceImpl.js +84 -80
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionStore.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionStore.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatTransferService.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatTransferService.js +27 -3
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/configMigration.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/configMigration.js +62 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/index.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/index.js +16 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/languageFeatures/index.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/languageFeatures/index.js +17 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/languageFeatures/providers/decorationsProvider/decorations/frontMatterDecoration.d.ts +29 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/languageFeatures/providers/decorationsProvider/decorations/frontMatterDecoration.js +74 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/languageFeatures/providers/decorationsProvider/decorations/frontMatterMarkerDecoration.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/languageFeatures/providers/decorationsProvider/decorations/frontMatterMarkerDecoration.js +40 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/languageFeatures/providers/decorationsProvider/decorations/utils/decorationBase.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/languageFeatures/providers/decorationsProvider/decorations/utils/decorationBase.js +40 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/languageFeatures/providers/decorationsProvider/decorations/utils/index.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/languageFeatures/providers/decorationsProvider/decorations/utils/index.js +9 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/languageFeatures/providers/decorationsProvider/decorations/utils/reactiveDecorationBase.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/languageFeatures/providers/decorationsProvider/decorations/utils/reactiveDecorationBase.js +68 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/languageFeatures/providers/decorationsProvider/decorations/utils/types.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/languageFeatures/providers/decorationsProvider/promptDecorationsProvider.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/languageFeatures/providers/decorationsProvider/promptDecorationsProvider.js +121 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/languageFeatures/providers/decorationsProvider/types.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/languageFeatures/providers/decorationsProvider/types.js +13 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/languageFeatures/providers/promptHeaderDiagnosticsProvider.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/languageFeatures/providers/promptHeaderDiagnosticsProvider.js +62 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/languageFeatures/providers/promptLinkDiagnosticsProvider.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/languageFeatures/providers/promptLinkDiagnosticsProvider.js +65 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/{languageFeatures → contributions/languageFeatures/providers}/promptLinkProvider.js +3 -8
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/{languageFeatures → contributions/languageFeatures/providers}/promptPathAutocompletion.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/{languageFeatures → contributions/languageFeatures/providers}/promptPathAutocompletion.js +14 -19
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/languageFeatures/providers/providerInstanceBase.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/languageFeatures/providers/providerInstanceBase.js +22 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/languageFeatures/providers/providerInstanceManagerBase.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contributions/languageFeatures/providers/providerInstanceManagerBase.js +83 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/textModelPromptParser.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/textModelPromptParser.js +8 -6
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +17 -5
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.js +223 -21
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.d.ts +5 -4
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.js +28 -22
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/treeUtils.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/treeUtils.js +25 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +20 -31
- package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.js +15 -12
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibilityHelp.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibleView.js +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatCurrentLine.js +12 -12
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatNotebook.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookModifiedCellDecorator.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookModifiedCellDecorator.js +2 -2
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceUtils.d.ts +0 -2
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceUtils.js +1 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAttachPromptAction/chatAttachPromptAction.d.ts +0 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAttachPromptAction/chatAttachPromptAction.js +0 -54
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAttachPromptAction/dialogs/askToSelectPrompt/askToSelectPrompt.d.ts +0 -25
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAttachPromptAction/dialogs/askToSelectPrompt/askToSelectPrompt.js +0 -79
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAttachPromptAction/dialogs/askToSelectPrompt/constants.d.ts +0 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAttachPromptAction/dialogs/askToSelectPrompt/constants.js +0 -27
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAttachPromptAction/dialogs/askToSelectPrompt/utils/attachPrompts.d.ts +0 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAttachPromptAction/dialogs/askToSelectPrompt/utils/attachPrompts.js +0 -53
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAttachPromptAction/dialogs/askToSelectPrompt/utils/createPlaceholderText.d.ts +0 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAttachPromptAction/dialogs/askToSelectPrompt/utils/createPlaceholderText.js +0 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAttachPromptAction/dialogs/askToSelectPrompt/utils/createPromptPickItem.d.ts +0 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAttachPromptAction/dialogs/askToSelectPrompt/utils/createPromptPickItem.js +0 -27
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAttachPromptAction/dialogs/askToSelectPrompt/utils/handleButtonClick.d.ts +0 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAttachPromptAction/dialogs/askToSelectPrompt/utils/handleButtonClick.js +0 -49
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/contributions/usePromptCommand.d.ts +0 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/contributions/usePromptCommand.js +0 -80
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/constants.d.ts +0 -3
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/constants.js +0 -13
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/textModelContentsProvider.d.ts +0 -21
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/textModelContentsProvider.js +0 -64
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageFeatures/promptLinkDiagnosticsProvider.d.ts +0 -9
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageFeatures/promptLinkDiagnosticsProvider.js +0 -117
- /package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/{languageFeatures → contributions/languageFeatures/providers}/promptLinkProvider.d.ts +0 -0
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
import { localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
3
3
|
import { registerAction2, Action2, MenuId } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
4
4
|
import { IClipboardService } from '@codingame/monaco-vscode-api/vscode/vs/platform/clipboard/common/clipboardService.service';
|
|
5
|
-
import { CHAT_CATEGORY, stringifyItem } from '@codingame/monaco-vscode-
|
|
5
|
+
import { CHAT_CATEGORY, stringifyItem } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
|
|
6
6
|
import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
7
7
|
import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
8
|
-
import { isRequestVM, isResponseVM } from '@codingame/monaco-vscode-
|
|
8
|
+
import { isRequestVM, isResponseVM } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/chatViewModel';
|
|
9
9
|
|
|
10
10
|
function registerChatCopyActions() {
|
|
11
11
|
registerAction2(class CopyAllAction extends Action2 {
|
|
12
12
|
constructor() {
|
|
13
13
|
super({
|
|
14
14
|
id: 'workbench.action.chat.copyAll',
|
|
15
|
-
title: ( localize2(
|
|
15
|
+
title: ( localize2(4427, "Copy All")),
|
|
16
16
|
f1: false,
|
|
17
17
|
category: CHAT_CATEGORY,
|
|
18
18
|
menu: {
|
|
19
19
|
id: MenuId.ChatContext,
|
|
20
|
-
when: ( ChatContextKeys.responseIsFiltered.
|
|
20
|
+
when: ( ChatContextKeys.responseIsFiltered.negate()),
|
|
21
21
|
group: 'copy',
|
|
22
22
|
}
|
|
23
23
|
});
|
|
@@ -42,12 +42,12 @@ function registerChatCopyActions() {
|
|
|
42
42
|
constructor() {
|
|
43
43
|
super({
|
|
44
44
|
id: 'workbench.action.chat.copyItem',
|
|
45
|
-
title: ( localize2(
|
|
45
|
+
title: ( localize2(4428, "Copy")),
|
|
46
46
|
f1: false,
|
|
47
47
|
category: CHAT_CATEGORY,
|
|
48
48
|
menu: {
|
|
49
49
|
id: MenuId.ChatContext,
|
|
50
|
-
when: ( ChatContextKeys.responseIsFiltered.
|
|
50
|
+
when: ( ChatContextKeys.responseIsFiltered.negate()),
|
|
51
51
|
group: 'copy',
|
|
52
52
|
}
|
|
53
53
|
});
|
|
@@ -16,7 +16,7 @@ class LogChatInputHistoryAction extends Action2 {
|
|
|
16
16
|
constructor() {
|
|
17
17
|
super({
|
|
18
18
|
id: LogChatInputHistoryAction.ID,
|
|
19
|
-
title: ( localize2(
|
|
19
|
+
title: ( localize2(4429, "Log Chat Input History")),
|
|
20
20
|
icon: Codicon.attach,
|
|
21
21
|
category: Categories.Developer,
|
|
22
22
|
f1: true,
|
|
@@ -33,7 +33,7 @@ class LogChatIndexAction extends Action2 {
|
|
|
33
33
|
constructor() {
|
|
34
34
|
super({
|
|
35
35
|
id: LogChatIndexAction.ID,
|
|
36
|
-
title: ( localize2(
|
|
36
|
+
title: ( localize2(4430, "Log Chat Index")),
|
|
37
37
|
icon: Codicon.attach,
|
|
38
38
|
category: Categories.Developer,
|
|
39
39
|
f1: true
|
|
@@ -3,17 +3,17 @@ import { KeyMod, KeyCode } from '@codingame/monaco-vscode-api/vscode/vs/base/com
|
|
|
3
3
|
import { localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
4
4
|
import { registerAction2, Action2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
5
5
|
import { KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
6
|
-
import { CHAT_CATEGORY } from '@codingame/monaco-vscode-
|
|
6
|
+
import { CHAT_CATEGORY } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
|
|
7
7
|
import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
8
8
|
import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
9
|
-
import { isResponseVM } from '@codingame/monaco-vscode-
|
|
9
|
+
import { isResponseVM } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/chatViewModel';
|
|
10
10
|
|
|
11
11
|
function registerChatFileTreeActions() {
|
|
12
12
|
registerAction2(class NextFileTreeAction extends Action2 {
|
|
13
13
|
constructor() {
|
|
14
14
|
super({
|
|
15
15
|
id: 'workbench.action.chat.nextFileTree',
|
|
16
|
-
title: ( localize2(
|
|
16
|
+
title: ( localize2(4449, "Next File Tree")),
|
|
17
17
|
keybinding: {
|
|
18
18
|
primary: KeyMod.CtrlCmd | KeyCode.F9,
|
|
19
19
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -32,7 +32,7 @@ function registerChatFileTreeActions() {
|
|
|
32
32
|
constructor() {
|
|
33
33
|
super({
|
|
34
34
|
id: 'workbench.action.chat.previousFileTree',
|
|
35
|
-
title: ( localize2(
|
|
35
|
+
title: ( localize2(4450, "Previous File Tree")),
|
|
36
36
|
keybinding: {
|
|
37
37
|
primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.F9,
|
|
38
38
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -4,25 +4,19 @@ import { IProductService } from "@codingame/monaco-vscode-api/vscode/vs/platform
|
|
|
4
4
|
import { IExtensionService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service";
|
|
5
5
|
import { IExtensionManagementService } from "@codingame/monaco-vscode-api/vscode/vs/platform/extensionManagement/common/extensionManagement.service";
|
|
6
6
|
import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
|
|
7
|
-
import { IViewDescriptorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service";
|
|
8
7
|
import { IWorkbenchLayoutService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/layout/browser/layoutService.service";
|
|
9
|
-
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
10
8
|
import { IViewsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service";
|
|
11
|
-
import { IStatusbarService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/statusbar/browser/statusbar.service";
|
|
12
9
|
export declare class ChatGettingStartedContribution extends Disposable implements IWorkbenchContribution {
|
|
13
10
|
private readonly productService;
|
|
14
11
|
private readonly extensionService;
|
|
15
12
|
private readonly viewsService;
|
|
16
13
|
private readonly extensionManagementService;
|
|
17
14
|
private readonly storageService;
|
|
18
|
-
private readonly viewDescriptorService;
|
|
19
15
|
private readonly layoutService;
|
|
20
|
-
private readonly configurationService;
|
|
21
|
-
private readonly statusbarService;
|
|
22
16
|
static readonly ID = "workbench.contrib.chatGettingStarted";
|
|
23
17
|
private recentlyInstalled;
|
|
24
18
|
private static readonly hideWelcomeView;
|
|
25
|
-
constructor(productService: IProductService, extensionService: IExtensionService, viewsService: IViewsService, extensionManagementService: IExtensionManagementService, storageService: IStorageService,
|
|
19
|
+
constructor(productService: IProductService, extensionService: IExtensionService, viewsService: IViewsService, extensionManagementService: IExtensionManagementService, storageService: IStorageService, layoutService: IWorkbenchLayoutService);
|
|
26
20
|
private registerListeners;
|
|
27
21
|
private onDidInstallChat;
|
|
28
22
|
}
|
|
@@ -8,29 +8,23 @@ import { InstallOperation } from '@codingame/monaco-vscode-api/vscode/vs/platfor
|
|
|
8
8
|
import { IExtensionManagementService } from '@codingame/monaco-vscode-api/vscode/vs/platform/extensionManagement/common/extensionManagement.service';
|
|
9
9
|
import { StorageScope, StorageTarget } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage';
|
|
10
10
|
import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
|
|
11
|
-
import { IViewDescriptorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service';
|
|
12
11
|
import { IWorkbenchLayoutService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/layout/browser/layoutService.service';
|
|
13
|
-
import { showCopilotView
|
|
14
|
-
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
12
|
+
import { showCopilotView } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/chat';
|
|
15
13
|
import { IViewsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
16
|
-
import { IStatusbarService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/statusbar/browser/statusbar.service';
|
|
17
14
|
|
|
18
15
|
var ChatGettingStartedContribution_1;
|
|
19
16
|
let ChatGettingStartedContribution = class ChatGettingStartedContribution extends Disposable {
|
|
20
17
|
static { ChatGettingStartedContribution_1 = this; }
|
|
21
18
|
static { this.ID = 'workbench.contrib.chatGettingStarted'; }
|
|
22
19
|
static { this.hideWelcomeView = 'workbench.chat.hideWelcomeView'; }
|
|
23
|
-
constructor(productService, extensionService, viewsService, extensionManagementService, storageService,
|
|
20
|
+
constructor(productService, extensionService, viewsService, extensionManagementService, storageService, layoutService) {
|
|
24
21
|
super();
|
|
25
22
|
this.productService = productService;
|
|
26
23
|
this.extensionService = extensionService;
|
|
27
24
|
this.viewsService = viewsService;
|
|
28
25
|
this.extensionManagementService = extensionManagementService;
|
|
29
26
|
this.storageService = storageService;
|
|
30
|
-
this.viewDescriptorService = viewDescriptorService;
|
|
31
27
|
this.layoutService = layoutService;
|
|
32
|
-
this.configurationService = configurationService;
|
|
33
|
-
this.statusbarService = statusbarService;
|
|
34
28
|
this.recentlyInstalled = false;
|
|
35
29
|
const defaultChatAgent = this.productService.defaultChatAgent;
|
|
36
30
|
const hideWelcomeView = this.storageService.getBoolean(ChatGettingStartedContribution_1.hideWelcomeView, StorageScope.APPLICATION, false);
|
|
@@ -62,14 +56,8 @@ let ChatGettingStartedContribution = class ChatGettingStartedContribution extend
|
|
|
62
56
|
}
|
|
63
57
|
async onDidInstallChat() {
|
|
64
58
|
showCopilotView(this.viewsService, this.layoutService);
|
|
65
|
-
const setupFromDialog = this.configurationService.getValue('chat.setupFromDialog');
|
|
66
|
-
if (!setupFromDialog) {
|
|
67
|
-
ensureSideBarChatViewSize(this.viewDescriptorService, this.layoutService, this.viewsService);
|
|
68
|
-
}
|
|
69
59
|
this.storageService.store(ChatGettingStartedContribution_1.hideWelcomeView, true, StorageScope.APPLICATION, StorageTarget.MACHINE);
|
|
70
60
|
this.recentlyInstalled = false;
|
|
71
|
-
this.statusbarService.updateEntryVisibility('chat.statusBarEntry', true);
|
|
72
|
-
this.configurationService.updateValue('chat.commandCenter.enabled', true);
|
|
73
61
|
}
|
|
74
62
|
};
|
|
75
63
|
ChatGettingStartedContribution = ChatGettingStartedContribution_1 = ( __decorate([
|
|
@@ -78,10 +66,7 @@ ChatGettingStartedContribution = ChatGettingStartedContribution_1 = ( __decorate
|
|
|
78
66
|
( __param(2, IViewsService)),
|
|
79
67
|
( __param(3, IExtensionManagementService)),
|
|
80
68
|
( __param(4, IStorageService)),
|
|
81
|
-
( __param(5,
|
|
82
|
-
( __param(6, IWorkbenchLayoutService)),
|
|
83
|
-
( __param(7, IConfigurationService)),
|
|
84
|
-
( __param(8, IStatusbarService))
|
|
69
|
+
( __param(5, IWorkbenchLayoutService))
|
|
85
70
|
], ChatGettingStartedContribution));
|
|
86
71
|
|
|
87
72
|
export { ChatGettingStartedContribution };
|
|
@@ -5,23 +5,23 @@ import { localize, localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls'
|
|
|
5
5
|
import { registerAction2, Action2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
6
6
|
import { IFileDialogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service';
|
|
7
7
|
import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
|
|
8
|
-
import { CHAT_CATEGORY } from '@codingame/monaco-vscode-
|
|
8
|
+
import { CHAT_CATEGORY } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
|
|
9
9
|
import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
10
|
-
import { ChatEditorInput } from '@codingame/monaco-vscode-
|
|
10
|
+
import { ChatEditorInput } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/chatEditorInput';
|
|
11
11
|
import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
12
|
-
import { isExportableSessionData } from '@codingame/monaco-vscode-
|
|
12
|
+
import { isExportableSessionData } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatModel';
|
|
13
13
|
import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService.service';
|
|
14
14
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
15
15
|
|
|
16
16
|
const defaultFileName = 'chat.json';
|
|
17
|
-
const filters = [{ name: ( localize(
|
|
17
|
+
const filters = [{ name: ( localize(4451, "Chat Session")), extensions: ['json'] }];
|
|
18
18
|
function registerChatExportActions() {
|
|
19
19
|
registerAction2(class ExportChatAction extends Action2 {
|
|
20
20
|
constructor() {
|
|
21
21
|
super({
|
|
22
22
|
id: 'workbench.action.chat.export',
|
|
23
23
|
category: CHAT_CATEGORY,
|
|
24
|
-
title: ( localize2(
|
|
24
|
+
title: ( localize2(4452, "Export Chat...")),
|
|
25
25
|
precondition: ChatContextKeys.enabled,
|
|
26
26
|
f1: true,
|
|
27
27
|
});
|
|
@@ -55,7 +55,7 @@ function registerChatExportActions() {
|
|
|
55
55
|
constructor() {
|
|
56
56
|
super({
|
|
57
57
|
id: 'workbench.action.chat.import',
|
|
58
|
-
title: ( localize2(
|
|
58
|
+
title: ( localize2(4453, "Import Chat...")),
|
|
59
59
|
category: CHAT_CATEGORY,
|
|
60
60
|
precondition: ChatContextKeys.enabled,
|
|
61
61
|
f1: true,
|
|
@@ -9,14 +9,12 @@ import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench
|
|
|
9
9
|
import { IViewsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
10
10
|
import { isChatViewTitleActionContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatActions';
|
|
11
11
|
import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
12
|
-
import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService.service';
|
|
13
12
|
import { ChatAgentLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
|
|
14
|
-
import { ChatViewId } from '@codingame/monaco-vscode-
|
|
13
|
+
import { ChatViewId } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/chat';
|
|
15
14
|
import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
16
15
|
import { ChatEditor } from '../chatEditor.js';
|
|
17
|
-
import { ChatEditorInput } from '@codingame/monaco-vscode-
|
|
18
|
-
import { CHAT_CATEGORY } from '@codingame/monaco-vscode-
|
|
19
|
-
import { waitForChatSessionCleared } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/chat/browser/actions/chatClearActions';
|
|
16
|
+
import { ChatEditorInput } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/chatEditorInput';
|
|
17
|
+
import { CHAT_CATEGORY } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
|
|
20
18
|
|
|
21
19
|
var MoveToNewLocation;
|
|
22
20
|
(function (MoveToNewLocation) {
|
|
@@ -28,7 +26,7 @@ function registerMoveActions() {
|
|
|
28
26
|
constructor() {
|
|
29
27
|
super({
|
|
30
28
|
id: `workbench.action.chat.openInEditor`,
|
|
31
|
-
title: ( localize2(
|
|
29
|
+
title: ( localize2(4454, "Open Chat in Editor")),
|
|
32
30
|
category: CHAT_CATEGORY,
|
|
33
31
|
precondition: ChatContextKeys.enabled,
|
|
34
32
|
f1: true,
|
|
@@ -49,7 +47,7 @@ function registerMoveActions() {
|
|
|
49
47
|
constructor() {
|
|
50
48
|
super({
|
|
51
49
|
id: `workbench.action.chat.openInNewWindow`,
|
|
52
|
-
title: ( localize2(
|
|
50
|
+
title: ( localize2(4455, "Open Chat in New Window")),
|
|
53
51
|
category: CHAT_CATEGORY,
|
|
54
52
|
precondition: ChatContextKeys.enabled,
|
|
55
53
|
f1: true,
|
|
@@ -70,7 +68,7 @@ function registerMoveActions() {
|
|
|
70
68
|
constructor() {
|
|
71
69
|
super({
|
|
72
70
|
id: `workbench.action.chat.openInSidebar`,
|
|
73
|
-
title: ( localize2(
|
|
71
|
+
title: ( localize2(4456, "Open Chat in Side Bar")),
|
|
74
72
|
category: CHAT_CATEGORY,
|
|
75
73
|
precondition: ChatContextKeys.enabled,
|
|
76
74
|
f1: true,
|
|
@@ -89,18 +87,17 @@ function registerMoveActions() {
|
|
|
89
87
|
async function executeMoveToAction(accessor, moveTo, _sessionId) {
|
|
90
88
|
const widgetService = accessor.get(IChatWidgetService);
|
|
91
89
|
const editorService = accessor.get(IEditorService);
|
|
92
|
-
const chatService = accessor.get(IChatService);
|
|
93
90
|
const widget = (_sessionId ? widgetService.getWidgetBySessionId(_sessionId) : undefined)
|
|
94
91
|
?? widgetService.lastFocusedWidget;
|
|
95
92
|
if (!widget || !widget.viewModel || widget.location !== ChatAgentLocation.Panel) {
|
|
96
|
-
await editorService.openEditor({ resource: ChatEditorInput.getNewEditorUri(), options: { pinned: true } }, moveTo === MoveToNewLocation.Window ? AUX_WINDOW_GROUP : ACTIVE_GROUP);
|
|
93
|
+
await editorService.openEditor({ resource: ChatEditorInput.getNewEditorUri(), options: { pinned: true, compact: moveTo === MoveToNewLocation.Window } }, moveTo === MoveToNewLocation.Window ? AUX_WINDOW_GROUP : ACTIVE_GROUP);
|
|
97
94
|
return;
|
|
98
95
|
}
|
|
99
96
|
const sessionId = widget.viewModel.sessionId;
|
|
100
97
|
const viewState = widget.getViewState();
|
|
101
98
|
widget.clear();
|
|
102
|
-
await
|
|
103
|
-
const options = { target: { sessionId }, pinned: true, viewState:
|
|
99
|
+
await widget.waitForReady();
|
|
100
|
+
const options = { target: { sessionId }, pinned: true, viewState, compact: moveTo === MoveToNewLocation.Window };
|
|
104
101
|
await editorService.openEditor({ resource: ChatEditorInput.getNewEditorUri(), options }, moveTo === MoveToNewLocation.Window ? AUX_WINDOW_GROUP : ACTIVE_GROUP);
|
|
105
102
|
}
|
|
106
103
|
async function moveToSidebar(accessor) {
|
|
@@ -5,7 +5,7 @@ import { Selection } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/
|
|
|
5
5
|
import { localize2, localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
6
6
|
import { registerAction2, Action2, MenuId } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
7
7
|
import { KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
8
|
-
import { CHAT_CATEGORY } from '@codingame/monaco-vscode-
|
|
8
|
+
import { CHAT_CATEGORY } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
|
|
9
9
|
import { IQuickChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
10
10
|
import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
11
11
|
import { ASK_QUICK_QUESTION_ACTION_ID } from '@codingame/monaco-vscode-ea14e352-8f1c-5569-b79a-8a96a53e8abe-common/vscode/vs/workbench/contrib/chat/browser/actions/chatConstants';
|
|
@@ -18,7 +18,7 @@ function registerQuickChatActions() {
|
|
|
18
18
|
constructor() {
|
|
19
19
|
super({
|
|
20
20
|
id: 'workbench.action.quickchat.openInChatView',
|
|
21
|
-
title: ( localize2(
|
|
21
|
+
title: ( localize2(4457, "Open in Chat View")),
|
|
22
22
|
f1: false,
|
|
23
23
|
category: CHAT_CATEGORY,
|
|
24
24
|
icon: Codicon.commentDiscussion,
|
|
@@ -38,7 +38,7 @@ function registerQuickChatActions() {
|
|
|
38
38
|
constructor() {
|
|
39
39
|
super({
|
|
40
40
|
id: 'workbench.action.quickchat.close',
|
|
41
|
-
title: ( localize2(
|
|
41
|
+
title: ( localize2(4458, "Close Quick Chat")),
|
|
42
42
|
f1: false,
|
|
43
43
|
category: CHAT_CATEGORY,
|
|
44
44
|
icon: Codicon.close,
|
|
@@ -59,7 +59,7 @@ class QuickChatGlobalAction extends Action2 {
|
|
|
59
59
|
constructor() {
|
|
60
60
|
super({
|
|
61
61
|
id: ASK_QUICK_QUESTION_ACTION_ID,
|
|
62
|
-
title: ( localize2(
|
|
62
|
+
title: ( localize2(4459, 'Quick Chat')),
|
|
63
63
|
precondition: ChatContextKeys.enabled,
|
|
64
64
|
icon: Codicon.commentDiscussion,
|
|
65
65
|
f1: false,
|
|
@@ -74,7 +74,7 @@ class QuickChatGlobalAction extends Action2 {
|
|
|
74
74
|
order: 4
|
|
75
75
|
},
|
|
76
76
|
metadata: {
|
|
77
|
-
description: ( localize(
|
|
77
|
+
description: ( localize(4460, 'Toggle the quick chat')),
|
|
78
78
|
args: [{
|
|
79
79
|
name: 'args',
|
|
80
80
|
schema: {
|
|
@@ -84,18 +84,18 @@ class QuickChatGlobalAction extends Action2 {
|
|
|
84
84
|
required: ['query'],
|
|
85
85
|
properties: {
|
|
86
86
|
query: {
|
|
87
|
-
description: ( localize(
|
|
87
|
+
description: ( localize(4461, "The query to open the quick chat with")),
|
|
88
88
|
type: 'string'
|
|
89
89
|
},
|
|
90
90
|
isPartialQuery: {
|
|
91
|
-
description: ( localize(
|
|
91
|
+
description: ( localize(4462, "Whether the query is partial; it will wait for more user input")),
|
|
92
92
|
type: 'boolean'
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
type: 'string',
|
|
98
|
-
description: ( localize(
|
|
98
|
+
description: ( localize(4461, "The query to open the quick chat with"))
|
|
99
99
|
}
|
|
100
100
|
]
|
|
101
101
|
}
|
|
@@ -125,7 +125,7 @@ class AskQuickChatAction extends Action2 {
|
|
|
125
125
|
super({
|
|
126
126
|
id: `workbench.action.openQuickChat`,
|
|
127
127
|
category: CHAT_CATEGORY,
|
|
128
|
-
title: ( localize2(
|
|
128
|
+
title: ( localize2(4463, "Open Quick Chat")),
|
|
129
129
|
precondition: ChatContextKeys.enabled,
|
|
130
130
|
f1: true
|
|
131
131
|
});
|
|
@@ -7,7 +7,7 @@ let ChatTransferContribution = class ChatTransferContribution extends Disposable
|
|
|
7
7
|
static { this.ID = 'workbench.contrib.chatTransfer'; }
|
|
8
8
|
constructor(chatTransferService) {
|
|
9
9
|
super();
|
|
10
|
-
chatTransferService.
|
|
10
|
+
chatTransferService.checkAndSetTransferredWorkspaceTrust();
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
ChatTransferContribution = ( __decorate([
|
|
@@ -9,10 +9,11 @@ import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench
|
|
|
9
9
|
import { ITextFileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/textfile/common/textfiles.service";
|
|
10
10
|
import { ICodeMapperService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatCodeMapperService.service";
|
|
11
11
|
import { IChatService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService.service";
|
|
12
|
-
import { ICodeBlockActionContext } from "@codingame/monaco-vscode-
|
|
12
|
+
import { ICodeBlockActionContext } from "@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/chat/browser/codeBlockPart";
|
|
13
13
|
import { IQuickInputService } from "@codingame/monaco-vscode-api/vscode/vs/platform/quickinput/common/quickInput.service";
|
|
14
14
|
import { ILabelService } from "@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service";
|
|
15
15
|
import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
16
|
+
import { INotebookService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service";
|
|
16
17
|
export declare class InsertCodeBlockOperation {
|
|
17
18
|
private readonly editorService;
|
|
18
19
|
private readonly textFileService;
|
|
@@ -40,7 +41,8 @@ export declare class ApplyCodeBlockOperation {
|
|
|
40
41
|
private readonly quickInputService;
|
|
41
42
|
private readonly labelService;
|
|
42
43
|
private readonly instantiationService;
|
|
43
|
-
|
|
44
|
+
private readonly notebookService;
|
|
45
|
+
constructor(editorService: IEditorService, textFileService: ITextFileService, chatService: IChatService, languageService: ILanguageService, fileService: IFileService, dialogService: IDialogService, logService: ILogService, codeMapperService: ICodeMapperService, progressService: IProgressService, quickInputService: IQuickInputService, labelService: ILabelService, instantiationService: IInstantiationService, notebookService: INotebookService);
|
|
44
46
|
run(context: ICodeBlockActionContext): Promise<void>;
|
|
45
47
|
private evaluateURIToUse;
|
|
46
48
|
private handleNotebookEditor;
|
|
@@ -22,15 +22,16 @@ import { ProgressLocation } from '@codingame/monaco-vscode-api/vscode/vs/platfor
|
|
|
22
22
|
import { IProgressService } from '@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress.service';
|
|
23
23
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
24
24
|
import { ITextFileService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/textfile/common/textfiles.service';
|
|
25
|
-
import { reviewEdits } from '@codingame/monaco-vscode-
|
|
26
|
-
import { insertCell } from '@codingame/monaco-vscode-
|
|
25
|
+
import { reviewEdits } from '@codingame/monaco-vscode-9f229325-8261-585c-a552-16085958c680-common/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatController';
|
|
26
|
+
import { insertCell } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/controller/cellOperations';
|
|
27
27
|
import { CellKind, NOTEBOOK_EDITOR_ID } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
28
28
|
import { ICodeMapperService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatCodeMapperService.service';
|
|
29
29
|
import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService.service';
|
|
30
|
-
import { isResponseVM } from '@codingame/monaco-vscode-
|
|
30
|
+
import { isResponseVM } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/chatViewModel';
|
|
31
31
|
import { IQuickInputService } from '@codingame/monaco-vscode-api/vscode/vs/platform/quickinput/common/quickInput.service';
|
|
32
32
|
import { ILabelService } from '@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service';
|
|
33
33
|
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
34
|
+
import { INotebookService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
|
|
34
35
|
|
|
35
36
|
let InsertCodeBlockOperation = class InsertCodeBlockOperation {
|
|
36
37
|
constructor(editorService, textFileService, bulkEditService, codeEditorService, chatService, languageService, dialogService) {
|
|
@@ -54,7 +55,7 @@ let InsertCodeBlockOperation = class InsertCodeBlockOperation {
|
|
|
54
55
|
}
|
|
55
56
|
else {
|
|
56
57
|
this.notify(( localize(
|
|
57
|
-
|
|
58
|
+
4486,
|
|
58
59
|
"To insert the code block, open a code editor or notebook editor and set the cursor at the location where to insert the code block."
|
|
59
60
|
)));
|
|
60
61
|
}
|
|
@@ -67,7 +68,7 @@ let InsertCodeBlockOperation = class InsertCodeBlockOperation {
|
|
|
67
68
|
}
|
|
68
69
|
async handleNotebookEditor(notebookEditor, codeBlockContext) {
|
|
69
70
|
if (notebookEditor.isReadOnly) {
|
|
70
|
-
this.notify(( localize(
|
|
71
|
+
this.notify(( localize(4487, "Cannot insert the code block to read-only notebook editor.")));
|
|
71
72
|
return false;
|
|
72
73
|
}
|
|
73
74
|
const focusRange = notebookEditor.getFocus();
|
|
@@ -78,7 +79,7 @@ let InsertCodeBlockOperation = class InsertCodeBlockOperation {
|
|
|
78
79
|
async handleTextEditor(codeEditor, codeBlockContext) {
|
|
79
80
|
const activeModel = codeEditor.getModel();
|
|
80
81
|
if (isReadOnly(activeModel, this.textFileService)) {
|
|
81
|
-
this.notify(( localize(
|
|
82
|
+
this.notify(( localize(4488, "Cannot insert the code block to read-only code editor.")));
|
|
82
83
|
return false;
|
|
83
84
|
}
|
|
84
85
|
const range = codeEditor.getSelection() ?? ( new Range(activeModel.getLineCount(), 1, activeModel.getLineCount(), 1));
|
|
@@ -102,7 +103,7 @@ InsertCodeBlockOperation = ( __decorate([
|
|
|
102
103
|
( __param(6, IDialogService))
|
|
103
104
|
], InsertCodeBlockOperation));
|
|
104
105
|
let ApplyCodeBlockOperation = class ApplyCodeBlockOperation {
|
|
105
|
-
constructor(editorService, textFileService, chatService, languageService, fileService, dialogService, logService, codeMapperService, progressService, quickInputService, labelService, instantiationService) {
|
|
106
|
+
constructor(editorService, textFileService, chatService, languageService, fileService, dialogService, logService, codeMapperService, progressService, quickInputService, labelService, instantiationService, notebookService) {
|
|
106
107
|
this.editorService = editorService;
|
|
107
108
|
this.textFileService = textFileService;
|
|
108
109
|
this.chatService = chatService;
|
|
@@ -115,6 +116,7 @@ let ApplyCodeBlockOperation = class ApplyCodeBlockOperation {
|
|
|
115
116
|
this.quickInputService = quickInputService;
|
|
116
117
|
this.labelService = labelService;
|
|
117
118
|
this.instantiationService = instantiationService;
|
|
119
|
+
this.notebookService = notebookService;
|
|
118
120
|
}
|
|
119
121
|
async run(context) {
|
|
120
122
|
let activeEditorControl = getEditableActiveCodeEditor(this.editorService);
|
|
@@ -122,7 +124,7 @@ let ApplyCodeBlockOperation = class ApplyCodeBlockOperation {
|
|
|
122
124
|
if (!codemapperUri) {
|
|
123
125
|
return;
|
|
124
126
|
}
|
|
125
|
-
if (codemapperUri && !isEqual(activeEditorControl?.getModel().uri, codemapperUri)) {
|
|
127
|
+
if (codemapperUri && !isEqual(activeEditorControl?.getModel().uri, codemapperUri) && !this.notebookService.hasSupportedNotebooks(codemapperUri)) {
|
|
126
128
|
try {
|
|
127
129
|
const editorPane = await this.editorService.openEditor({ resource: codemapperUri });
|
|
128
130
|
const codeEditor = getCodeEditor(editorPane?.getControl());
|
|
@@ -131,7 +133,7 @@ let ApplyCodeBlockOperation = class ApplyCodeBlockOperation {
|
|
|
131
133
|
activeEditorControl = codeEditor;
|
|
132
134
|
}
|
|
133
135
|
else {
|
|
134
|
-
this.notify(( localize(
|
|
136
|
+
this.notify(( localize(4489, "Failed to open {0} in a code editor.", (codemapperUri.toString()))));
|
|
135
137
|
return;
|
|
136
138
|
}
|
|
137
139
|
}
|
|
@@ -141,8 +143,8 @@ let ApplyCodeBlockOperation = class ApplyCodeBlockOperation {
|
|
|
141
143
|
}
|
|
142
144
|
}
|
|
143
145
|
let result = undefined;
|
|
144
|
-
if (activeEditorControl) {
|
|
145
|
-
result = await this.handleTextEditor(activeEditorControl, context.code);
|
|
146
|
+
if (activeEditorControl && !this.notebookService.hasSupportedNotebooks(codemapperUri)) {
|
|
147
|
+
result = await this.handleTextEditor(activeEditorControl, context.chatSessionId, context.code);
|
|
146
148
|
}
|
|
147
149
|
else {
|
|
148
150
|
const activeNotebookEditor = getActiveNotebookEditor(this.editorService);
|
|
@@ -150,7 +152,7 @@ let ApplyCodeBlockOperation = class ApplyCodeBlockOperation {
|
|
|
150
152
|
result = await this.handleNotebookEditor(activeNotebookEditor, context.code);
|
|
151
153
|
}
|
|
152
154
|
else {
|
|
153
|
-
this.notify(( localize(
|
|
155
|
+
this.notify(( localize(4490, "To apply this code block, open a code or notebook editor.")));
|
|
154
156
|
}
|
|
155
157
|
}
|
|
156
158
|
notifyUserAction(this.chatService, context, {
|
|
@@ -166,15 +168,15 @@ let ApplyCodeBlockOperation = class ApplyCodeBlockOperation {
|
|
|
166
168
|
return resource;
|
|
167
169
|
}
|
|
168
170
|
const activeEditorOption = activeEditorControl?.getModel().uri ? { label: ( localize(
|
|
169
|
-
|
|
171
|
+
4491,
|
|
170
172
|
"Active editor '{0}'",
|
|
171
173
|
this.labelService.getUriLabel(activeEditorControl.getModel().uri, { relative: true })
|
|
172
174
|
)), id: 'activeEditor' } : undefined;
|
|
173
|
-
const untitledEditorOption = { label: ( localize(
|
|
175
|
+
const untitledEditorOption = { label: ( localize(4492, "New untitled editor")), id: 'newUntitledFile' };
|
|
174
176
|
const options = [];
|
|
175
177
|
if (resource) {
|
|
176
178
|
options.push({ label: ( localize(
|
|
177
|
-
|
|
179
|
+
4493,
|
|
178
180
|
"New file '{0}'",
|
|
179
181
|
this.labelService.getUriLabel(resource, { relative: true })
|
|
180
182
|
)), id: 'createFile' });
|
|
@@ -189,7 +191,7 @@ let ApplyCodeBlockOperation = class ApplyCodeBlockOperation {
|
|
|
189
191
|
}
|
|
190
192
|
options.push(untitledEditorOption);
|
|
191
193
|
}
|
|
192
|
-
const selected = options.length > 1 ? await this.quickInputService.pick(options, { placeHolder: ( localize(
|
|
194
|
+
const selected = options.length > 1 ? await this.quickInputService.pick(options, { placeHolder: ( localize(4494, "Select where to apply the code block")) }) : options[0];
|
|
193
195
|
if (selected) {
|
|
194
196
|
switch (selected.id) {
|
|
195
197
|
case 'createFile':
|
|
@@ -198,7 +200,7 @@ let ApplyCodeBlockOperation = class ApplyCodeBlockOperation {
|
|
|
198
200
|
await this.fileService.writeFile(resource, VSBuffer.fromString(''));
|
|
199
201
|
}
|
|
200
202
|
catch (error) {
|
|
201
|
-
this.notify(( localize(
|
|
203
|
+
this.notify(( localize(4495, "Failed to create file: {0}", error.message)));
|
|
202
204
|
return ( URI.from({ scheme: 'untitled', path: resource.path }));
|
|
203
205
|
}
|
|
204
206
|
}
|
|
@@ -213,7 +215,7 @@ let ApplyCodeBlockOperation = class ApplyCodeBlockOperation {
|
|
|
213
215
|
}
|
|
214
216
|
async handleNotebookEditor(notebookEditor, code) {
|
|
215
217
|
if (notebookEditor.isReadOnly) {
|
|
216
|
-
this.notify(( localize(
|
|
218
|
+
this.notify(( localize(4496, "Cannot apply code block to read-only notebook editor.")));
|
|
217
219
|
return undefined;
|
|
218
220
|
}
|
|
219
221
|
const focusRange = notebookEditor.getFocus();
|
|
@@ -221,31 +223,31 @@ let ApplyCodeBlockOperation = class ApplyCodeBlockOperation {
|
|
|
221
223
|
insertCell(this.languageService, notebookEditor, next, CellKind.Code, 'below', code, true);
|
|
222
224
|
return undefined;
|
|
223
225
|
}
|
|
224
|
-
async handleTextEditor(codeEditor, code) {
|
|
226
|
+
async handleTextEditor(codeEditor, chatSessionId, code) {
|
|
225
227
|
const activeModel = codeEditor.getModel();
|
|
226
228
|
if (isReadOnly(activeModel, this.textFileService)) {
|
|
227
|
-
this.notify(( localize(
|
|
229
|
+
this.notify(( localize(4497, "Cannot apply code block to read-only file.")));
|
|
228
230
|
return undefined;
|
|
229
231
|
}
|
|
230
|
-
const codeBlock = { code, resource: activeModel.uri, markdownBeforeBlock: undefined };
|
|
232
|
+
const codeBlock = { code, resource: activeModel.uri, chatSessionId, markdownBeforeBlock: undefined };
|
|
231
233
|
const codeMapper = this.codeMapperService.providers[0]?.displayName;
|
|
232
234
|
if (!codeMapper) {
|
|
233
|
-
this.notify(( localize(
|
|
235
|
+
this.notify(( localize(4498, "No code mapper available.")));
|
|
234
236
|
return undefined;
|
|
235
237
|
}
|
|
236
238
|
let editsProposed = false;
|
|
237
239
|
const cancellationTokenSource = ( new CancellationTokenSource());
|
|
238
240
|
try {
|
|
239
241
|
const iterable = await this.progressService.withProgress({ location: ProgressLocation.Notification, delay: 500, sticky: true, cancellable: true }, async (progress) => {
|
|
240
|
-
progress.report({ message: ( localize(
|
|
241
|
-
const editsIterable = this.getEdits(codeBlock, cancellationTokenSource.token);
|
|
242
|
+
progress.report({ message: ( localize(4499, "Applying code block using {0}...", codeMapper)) });
|
|
243
|
+
const editsIterable = this.getEdits(codeBlock, chatSessionId, cancellationTokenSource.token);
|
|
242
244
|
return await this.waitForFirstElement(editsIterable);
|
|
243
245
|
}, () => cancellationTokenSource.cancel());
|
|
244
246
|
editsProposed = await this.applyWithInlinePreview(iterable, codeEditor, cancellationTokenSource);
|
|
245
247
|
}
|
|
246
248
|
catch (e) {
|
|
247
249
|
if (!isCancellationError(e)) {
|
|
248
|
-
this.notify(( localize(
|
|
250
|
+
this.notify(( localize(4500, "Failed to apply code block: {0}", e.message)));
|
|
249
251
|
}
|
|
250
252
|
}
|
|
251
253
|
finally {
|
|
@@ -256,10 +258,11 @@ let ApplyCodeBlockOperation = class ApplyCodeBlockOperation {
|
|
|
256
258
|
codeMapper
|
|
257
259
|
};
|
|
258
260
|
}
|
|
259
|
-
getEdits(codeBlock, token) {
|
|
261
|
+
getEdits(codeBlock, chatSessionId, token) {
|
|
260
262
|
return ( new AsyncIterableObject(async (executor) => {
|
|
261
263
|
const request = {
|
|
262
|
-
codeBlocks: [codeBlock]
|
|
264
|
+
codeBlocks: [codeBlock],
|
|
265
|
+
chatSessionId
|
|
263
266
|
};
|
|
264
267
|
const response = {
|
|
265
268
|
textEdit: (target, edit) => {
|
|
@@ -321,7 +324,8 @@ ApplyCodeBlockOperation = ( __decorate([
|
|
|
321
324
|
( __param(8, IProgressService)),
|
|
322
325
|
( __param(9, IQuickInputService)),
|
|
323
326
|
( __param(10, ILabelService)),
|
|
324
|
-
( __param(11, IInstantiationService))
|
|
327
|
+
( __param(11, IInstantiationService)),
|
|
328
|
+
( __param(12, INotebookService))
|
|
325
329
|
], ApplyCodeBlockOperation));
|
|
326
330
|
function notifyUserAction(chatService, context, action) {
|
|
327
331
|
if (isResponseVM(context.element)) {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IChatWidget } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/chat";
|
|
2
|
+
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
3
|
+
import { ICommandService } from "@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service";
|
|
4
|
+
export interface IAttachInstructionsActionOptions {
|
|
5
|
+
readonly widget?: IChatWidget;
|
|
6
|
+
readonly resource?: URI;
|
|
7
|
+
readonly skipSelectionDialog?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const runAttachInstructionsAction: (commandService: ICommandService, options: IAttachInstructionsActionOptions) => Promise<void>;
|
|
10
|
+
export declare const registerAttachPromptActions: () => void;
|