@codingame/monaco-vscode-chat-service-override 16.1.1 → 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
package/index.js
CHANGED
|
@@ -5,23 +5,23 @@ import { IChatCodeBlockContextProviderService, IChatAccessibilityService, IQuick
|
|
|
5
5
|
import { ChatAccessibilityService } from './vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityService.js';
|
|
6
6
|
import { QuickChatService } from './vscode/src/vs/workbench/contrib/chat/browser/chatQuick.js';
|
|
7
7
|
import { ChatVariablesService } from './vscode/src/vs/workbench/contrib/chat/browser/chatVariables.js';
|
|
8
|
-
import { ChatWidgetService } from '@codingame/monaco-vscode-
|
|
8
|
+
import { ChatWidgetService } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/chat/browser/chatWidget';
|
|
9
9
|
import { ChatCodeBlockContextProviderService } from './vscode/src/vs/workbench/contrib/chat/browser/codeBlockContextProviderService.js';
|
|
10
|
-
import { ChatAgentNameService, ChatAgentService } from '@codingame/monaco-vscode-
|
|
10
|
+
import { ChatAgentNameService, ChatAgentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents';
|
|
11
11
|
import { IChatAgentNameService, IChatAgentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents.service';
|
|
12
12
|
import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService.service';
|
|
13
13
|
import { ChatService } from './vscode/src/vs/workbench/contrib/chat/common/chatServiceImpl.js';
|
|
14
14
|
import { ChatSlashCommandService } from './vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js';
|
|
15
15
|
import { IChatSlashCommandService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSlashCommands.service';
|
|
16
16
|
import { IChatVariablesService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatVariables.service';
|
|
17
|
-
import { ChatWidgetHistoryService } from '@codingame/monaco-vscode-
|
|
17
|
+
import { ChatWidgetHistoryService } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/chatWidgetHistoryService';
|
|
18
18
|
import { IChatWidgetHistoryService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatWidgetHistoryService.service';
|
|
19
19
|
import { ILanguageModelStatsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModelStats.service';
|
|
20
20
|
import { LanguageModelsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModels';
|
|
21
21
|
import { ILanguageModelsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModels.service';
|
|
22
22
|
import { IInlineChatSessionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service';
|
|
23
|
-
import { InlineChatSessionServiceImpl } from '@codingame/monaco-vscode-
|
|
24
|
-
import { LanguageModelStatsService } from '@codingame/monaco-vscode-
|
|
23
|
+
import { InlineChatSessionServiceImpl } from '@codingame/monaco-vscode-9f229325-8261-585c-a552-16085958c680-common/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl';
|
|
24
|
+
import { LanguageModelStatsService } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/languageModelStats';
|
|
25
25
|
import { ILanguageModelToolsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModelToolsService.service';
|
|
26
26
|
import { LanguageModelToolsService } from './vscode/src/vs/workbench/contrib/chat/browser/languageModelToolsService.js';
|
|
27
27
|
import { ICodeMapperService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatCodeMapperService.service';
|
|
@@ -32,7 +32,7 @@ import { ILanguageModelIgnoredFilesService } from '@codingame/monaco-vscode-api/
|
|
|
32
32
|
import { IChatMarkdownAnchorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service';
|
|
33
33
|
import { ChatMarkdownAnchorService } from './vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.js';
|
|
34
34
|
import { ChatEditingService } from './vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.js';
|
|
35
|
-
import { ChatEntitlementService } from '@codingame/monaco-vscode-
|
|
35
|
+
import { ChatEntitlementService } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/chatEntitlementService';
|
|
36
36
|
import { PromptsService } from './vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.js';
|
|
37
37
|
import { IChatEntitlementService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatEntitlementService.service';
|
|
38
38
|
import { IPromptsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/service/types.service';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-chat-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "17.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - chat service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,32 +15,35 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-1021b67c-93e5-5c78-a270-cbdb2574d980-common": "
|
|
19
|
-
"@codingame/monaco-vscode-
|
|
20
|
-
"@codingame/monaco-vscode-1cc4ea0a-c5b6-54ed-bb60-078a99119b55-common": "
|
|
21
|
-
"@codingame/monaco-vscode-
|
|
22
|
-
"@codingame/monaco-vscode-
|
|
23
|
-
"@codingame/monaco-vscode-
|
|
24
|
-
"@codingame/monaco-vscode-
|
|
25
|
-
"@codingame/monaco-vscode-
|
|
26
|
-
"@codingame/monaco-vscode-
|
|
27
|
-
"@codingame/monaco-vscode-
|
|
28
|
-
"@codingame/monaco-vscode-
|
|
29
|
-
"@codingame/monaco-vscode-
|
|
30
|
-
"@codingame/monaco-vscode-
|
|
31
|
-
"@codingame/monaco-vscode-
|
|
32
|
-
"@codingame/monaco-vscode-
|
|
33
|
-
"@codingame/monaco-vscode-
|
|
34
|
-
"@codingame/monaco-vscode-
|
|
35
|
-
"@codingame/monaco-vscode-
|
|
36
|
-
"@codingame/monaco-vscode-
|
|
37
|
-
"@codingame/monaco-vscode-
|
|
38
|
-
"@codingame/monaco-vscode-
|
|
39
|
-
"@codingame/monaco-vscode-
|
|
40
|
-
"@codingame/monaco-vscode-
|
|
41
|
-
"@codingame/monaco-vscode-
|
|
42
|
-
"@codingame/monaco-vscode-
|
|
43
|
-
"@codingame/monaco-vscode-
|
|
18
|
+
"@codingame/monaco-vscode-1021b67c-93e5-5c78-a270-cbdb2574d980-common": "17.0.0",
|
|
19
|
+
"@codingame/monaco-vscode-1cb11a73-359e-5a2f-9e95-6989cc9858ee-common": "17.0.0",
|
|
20
|
+
"@codingame/monaco-vscode-1cc4ea0a-c5b6-54ed-bb60-078a99119b55-common": "17.0.0",
|
|
21
|
+
"@codingame/monaco-vscode-324f9a6e-6231-5bfc-af17-e147abd2dfd2-common": "17.0.0",
|
|
22
|
+
"@codingame/monaco-vscode-42931eb9-e564-530c-bafc-fa23ab43a070-common": "17.0.0",
|
|
23
|
+
"@codingame/monaco-vscode-4a0e04a7-c3bd-5fb7-9d3b-4fd047cc9e59-common": "17.0.0",
|
|
24
|
+
"@codingame/monaco-vscode-51fed910-d648-5620-9b80-9232cd79d116-common": "17.0.0",
|
|
25
|
+
"@codingame/monaco-vscode-5945a5e2-a66c-5a82-bd2c-1965724b29eb-common": "17.0.0",
|
|
26
|
+
"@codingame/monaco-vscode-64322fa2-7385-5f46-935b-8f243d98004b-common": "17.0.0",
|
|
27
|
+
"@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "17.0.0",
|
|
28
|
+
"@codingame/monaco-vscode-8c844347-a703-5de1-9eeb-5e0c7f503a58-common": "17.0.0",
|
|
29
|
+
"@codingame/monaco-vscode-97284942-b044-5fbb-b53b-3f46d2468746-common": "17.0.0",
|
|
30
|
+
"@codingame/monaco-vscode-9c72783f-914c-50be-b9ef-da16356d81a8-common": "17.0.0",
|
|
31
|
+
"@codingame/monaco-vscode-9f229325-8261-585c-a552-16085958c680-common": "17.0.0",
|
|
32
|
+
"@codingame/monaco-vscode-a7c9ae3c-16d2-5d17-86b2-981be7094566-common": "17.0.0",
|
|
33
|
+
"@codingame/monaco-vscode-api": "17.0.0",
|
|
34
|
+
"@codingame/monaco-vscode-bb83fe45-f4c7-5673-b9f1-5c409a63f19c-common": "17.0.0",
|
|
35
|
+
"@codingame/monaco-vscode-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common": "17.0.0",
|
|
36
|
+
"@codingame/monaco-vscode-c3c61c00-c254-5856-9dc9-d7929c1f9062-common": "17.0.0",
|
|
37
|
+
"@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common": "17.0.0",
|
|
38
|
+
"@codingame/monaco-vscode-c8227507-8e59-53d6-b50b-71c0ab384cf4-common": "17.0.0",
|
|
39
|
+
"@codingame/monaco-vscode-d0fb86d3-2a47-594e-955b-9a24631a7124-common": "17.0.0",
|
|
40
|
+
"@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common": "17.0.0",
|
|
41
|
+
"@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common": "17.0.0",
|
|
42
|
+
"@codingame/monaco-vscode-e67a0dae-5b2c-54e6-8d61-90102c78362d-common": "17.0.0",
|
|
43
|
+
"@codingame/monaco-vscode-ea14e352-8f1c-5569-b79a-8a96a53e8abe-common": "17.0.0",
|
|
44
|
+
"@codingame/monaco-vscode-ecf3436d-6064-5fbd-a760-37a211ce79c7-common": "17.0.0",
|
|
45
|
+
"@codingame/monaco-vscode-f1bbc6d3-6129-583c-a2ba-c80b832993d2-common": "17.0.0",
|
|
46
|
+
"@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common": "17.0.0"
|
|
44
47
|
},
|
|
45
48
|
"main": "index.js",
|
|
46
49
|
"module": "index.js",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
2
|
-
import { ObservableDisposable } from "@codingame/monaco-vscode-
|
|
2
|
+
import { ObservableDisposable } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/base/common/observableDisposable";
|
|
3
3
|
export declare class ObjectCache<TValue extends ObservableDisposable, TKey extends NonNullable<unknown> = string> extends Disposable {
|
|
4
4
|
private readonly factory;
|
|
5
5
|
private readonly cache;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import { Disposable, DisposableMap } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
3
|
-
import { assertNotDisposed } from '@codingame/monaco-vscode-
|
|
3
|
+
import { assertNotDisposed } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/base/common/observableDisposable';
|
|
4
4
|
|
|
5
5
|
class ObjectCache extends Disposable {
|
|
6
6
|
constructor(factory) {
|
|
@@ -6,7 +6,7 @@ import { AccessibleViewType, AccessibleContentProvider, AccessibleViewProviderId
|
|
|
6
6
|
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
7
7
|
import { IKeybindingService } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
8
8
|
import { AccessibilityVerbositySettingId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration';
|
|
9
|
-
import { INLINE_CHAT_ID } from '@codingame/monaco-vscode-
|
|
9
|
+
import { INLINE_CHAT_ID } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/inlineChat/common/inlineChat';
|
|
10
10
|
import { ChatContextKeys, ChatContextKeyExprs } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
11
11
|
import { ChatAgentLocation, ChatMode } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
|
|
12
12
|
import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
@@ -72,55 +72,55 @@ function getAccessibilityHelpText(type, keybindingService) {
|
|
|
72
72
|
if (type === 'panelChat' || type === 'quickChat') {
|
|
73
73
|
if (type === 'quickChat') {
|
|
74
74
|
content.push(( localize(
|
|
75
|
-
|
|
75
|
+
4301,
|
|
76
76
|
'The quick chat view is comprised of an input box and a request/response list. The input box is used to make requests and the list is used to display responses.'
|
|
77
77
|
)));
|
|
78
78
|
content.push(( localize(
|
|
79
|
-
|
|
79
|
+
4302,
|
|
80
80
|
'The quick chat view is a transient interface for making and viewing requests, while the panel chat view is a persistent interface that also supports navigating suggested follow-up questions.'
|
|
81
81
|
)));
|
|
82
82
|
}
|
|
83
83
|
if (type === 'panelChat') {
|
|
84
84
|
content.push(( localize(
|
|
85
|
-
|
|
85
|
+
4303,
|
|
86
86
|
'The panel chat view is a persistent interface that also supports navigating suggested follow-up questions, while the quick chat view is a transient interface for making and viewing requests.'
|
|
87
87
|
)));
|
|
88
88
|
content.push(( localize(
|
|
89
|
-
|
|
89
|
+
4304,
|
|
90
90
|
'In the input box, navigate to the suggested follow up question (Shift+Tab) and press Enter to run it.'
|
|
91
91
|
)));
|
|
92
92
|
}
|
|
93
93
|
content.push(( localize(
|
|
94
|
-
|
|
94
|
+
4305,
|
|
95
95
|
'In the input box, use up and down arrows to navigate your request history. Edit input and use enter or the submit button to run a new request.'
|
|
96
96
|
)));
|
|
97
97
|
content.push(( localize(
|
|
98
|
-
|
|
98
|
+
4306,
|
|
99
99
|
'In the input box, inspect the last response in the accessible view{0}.',
|
|
100
100
|
'<keybinding:editor.action.accessibleView>'
|
|
101
101
|
)));
|
|
102
102
|
content.push(( localize(
|
|
103
|
-
|
|
103
|
+
4307,
|
|
104
104
|
'Chat responses will be announced as they come in. A response will indicate the number of code blocks, if any, and then the rest of the response.'
|
|
105
105
|
)));
|
|
106
106
|
content.push(( localize(
|
|
107
|
-
|
|
107
|
+
4308,
|
|
108
108
|
'To focus the chat request/response list, which can be navigated with up and down arrows, invoke the Focus Chat command{0}.',
|
|
109
109
|
getChatFocusKeybindingLabel(keybindingService, type, false)
|
|
110
110
|
)));
|
|
111
111
|
content.push(( localize(
|
|
112
|
-
|
|
112
|
+
4309,
|
|
113
113
|
'To focus the input box for chat requests, invoke the Focus Chat Input command{0}.',
|
|
114
114
|
getChatFocusKeybindingLabel(keybindingService, type, true)
|
|
115
115
|
)));
|
|
116
116
|
content.push(( localize(
|
|
117
|
-
|
|
117
|
+
4310,
|
|
118
118
|
'To focus the next code block within a response, invoke the Chat: Next Code Block command{0}.',
|
|
119
119
|
'<keybinding:workbench.action.chat.nextCodeBlock>'
|
|
120
120
|
)));
|
|
121
121
|
if (type === 'panelChat') {
|
|
122
122
|
content.push(( localize(
|
|
123
|
-
|
|
123
|
+
4311,
|
|
124
124
|
'To create a new chat session, invoke the New Chat command{0}.',
|
|
125
125
|
'<keybinding:workbench.action.chat.new>'
|
|
126
126
|
)));
|
|
@@ -129,118 +129,118 @@ function getAccessibilityHelpText(type, keybindingService) {
|
|
|
129
129
|
if (type === 'editsView' || type === 'agentView') {
|
|
130
130
|
if (type === 'agentView') {
|
|
131
131
|
content.push(( localize(
|
|
132
|
-
|
|
132
|
+
4312,
|
|
133
133
|
'The chat agent view is used to apply edits across files in your workspace, enable running commands in the terminal, and more.'
|
|
134
134
|
)));
|
|
135
135
|
}
|
|
136
136
|
else {
|
|
137
|
-
content.push(( localize(
|
|
137
|
+
content.push(( localize(4313, 'The chat editing view is used to apply edits across files.')));
|
|
138
138
|
}
|
|
139
139
|
content.push(( localize(
|
|
140
|
-
|
|
140
|
+
4314,
|
|
141
141
|
'It is comprised of an input box and a file working set (Shift+Tab).'
|
|
142
142
|
)));
|
|
143
143
|
content.push(( localize(
|
|
144
|
-
|
|
144
|
+
4315,
|
|
145
145
|
'When a request is made, a progress indicator will play while the edits are being applied.'
|
|
146
146
|
)));
|
|
147
147
|
content.push(( localize(
|
|
148
|
-
|
|
148
|
+
4316,
|
|
149
149
|
'Once the edits are applied, a sound will play to indicate the document has been opened and is ready for review. The sound can be disabled with accessibility.signals.chatEditModifiedFile.'
|
|
150
150
|
)));
|
|
151
151
|
content.push(( localize(
|
|
152
|
-
|
|
152
|
+
4317,
|
|
153
153
|
'Navigate between edits in the editor with navigate previous{0} and next{1}',
|
|
154
154
|
'<keybinding:chatEditor.action.navigatePrevious>',
|
|
155
155
|
'<keybinding:chatEditor.action.navigateNext>'
|
|
156
156
|
)));
|
|
157
157
|
content.push(( localize(
|
|
158
|
-
|
|
158
|
+
4318,
|
|
159
159
|
'In the editor, Keep{0}, Undo{1}, or Toggle the Diff{2} for the current Change.',
|
|
160
160
|
'<keybinding:chatEditor.action.acceptHunk>',
|
|
161
161
|
'<keybinding:chatEditor.action.undoHunk>',
|
|
162
162
|
'<keybinding:chatEditor.action.toggleDiff>'
|
|
163
163
|
)));
|
|
164
164
|
content.push(( localize(
|
|
165
|
-
|
|
165
|
+
4319,
|
|
166
166
|
'Sounds will play when a change is accepted or undone. The sounds can be disabled with accessibility.signals.editsKept and accessibility.signals.editsUndone.'
|
|
167
167
|
)));
|
|
168
168
|
if (type === 'agentView') {
|
|
169
169
|
content.push(( localize(
|
|
170
|
-
|
|
170
|
+
4320,
|
|
171
171
|
'An alert will indicate when user action is required. For example, if the agent wants to run something in the terminal, you will hear Action Required: Run Command in Terminal.'
|
|
172
172
|
)));
|
|
173
173
|
content.push(( localize(
|
|
174
|
-
|
|
174
|
+
4321,
|
|
175
175
|
'To take the action, use the accept tool command{0}.',
|
|
176
176
|
'<keybinding:workbench.action.chat.acceptTool>'
|
|
177
177
|
)));
|
|
178
178
|
}
|
|
179
|
-
content.push(( localize(
|
|
180
|
-
content.push(( localize(
|
|
179
|
+
content.push(( localize(4322, 'Some helpful commands include:')));
|
|
180
|
+
content.push(( localize(4323, '- Undo Edits{0}.', '<keybinding:workbench.action.chat.undoEdits>')));
|
|
181
181
|
content.push(( localize(
|
|
182
|
-
|
|
182
|
+
4324,
|
|
183
183
|
'- Attach Files{0}.',
|
|
184
184
|
'<keybinding:workbench.action.chat.editing.attachFiles>'
|
|
185
185
|
)));
|
|
186
186
|
content.push(( localize(
|
|
187
|
-
|
|
187
|
+
4325,
|
|
188
188
|
'- Remove File from Working Set{0}.',
|
|
189
189
|
'<keybinding:chatEditing.removeFileFromWorkingSet>'
|
|
190
190
|
)));
|
|
191
191
|
content.push(( localize(
|
|
192
|
-
|
|
192
|
+
4326,
|
|
193
193
|
'- Keep{0} and Undo File{1}.',
|
|
194
194
|
'<keybinding:chatEditing.acceptFile>',
|
|
195
195
|
'<keybinding:chatEditing.discardFile>'
|
|
196
196
|
)));
|
|
197
|
-
content.push(( localize(
|
|
198
|
-
content.push(( localize(
|
|
199
|
-
content.push(( localize(
|
|
200
|
-
content.push(( localize(
|
|
201
|
-
content.push(( localize(
|
|
197
|
+
content.push(( localize(4327, '- Save All Files{0}.', '<keybinding:chatEditing.saveAllFiles>')));
|
|
198
|
+
content.push(( localize(4328, '- Keep All Edits{0}.', '<keybinding:chatEditing.acceptAllFiles>')));
|
|
199
|
+
content.push(( localize(4329, '- Undo All Edits{0}.', '<keybinding:chatEditing.discardAllFiles>')));
|
|
200
|
+
content.push(( localize(4330, '- Open File in Diff{0}.', '<keybinding:chatEditing.openFileInDiff>')));
|
|
201
|
+
content.push(( localize(4331, '- View Changes{0}.', '<keybinding:chatEditing.viewChanges>')));
|
|
202
202
|
}
|
|
203
203
|
else {
|
|
204
204
|
content.push(( localize(
|
|
205
|
-
|
|
205
|
+
4332,
|
|
206
206
|
"Inline chat occurs within a code editor and takes into account the current selection. It is useful for making changes to the current editor. For example, fixing diagnostics, documenting or refactoring code. Keep in mind that AI generated code may be incorrect."
|
|
207
207
|
)));
|
|
208
208
|
content.push(( localize(
|
|
209
|
-
|
|
209
|
+
4333,
|
|
210
210
|
"It can be activated via code actions or directly using the command: Inline Chat: Start Inline Chat{0}.",
|
|
211
211
|
'<keybinding:inlineChat.start>'
|
|
212
212
|
)));
|
|
213
213
|
content.push(( localize(
|
|
214
|
-
|
|
214
|
+
4334,
|
|
215
215
|
'In the input box, use Show Previous{0} and Show Next{1} to navigate your request history. Edit input and use enter or the submit button to run a new request.',
|
|
216
216
|
'<keybinding:history.showPrevious>',
|
|
217
217
|
'<keybinding:history.showNext>'
|
|
218
218
|
)));
|
|
219
219
|
content.push(( localize(
|
|
220
|
-
|
|
220
|
+
4335,
|
|
221
221
|
'In the input box, inspect the response in the accessible view{0}.',
|
|
222
222
|
'<keybinding:editor.action.accessibleView>'
|
|
223
223
|
)));
|
|
224
224
|
content.push(( localize(
|
|
225
|
-
|
|
225
|
+
4336,
|
|
226
226
|
"Context menu actions may run a request prefixed with a /. Type / to discover such ready-made commands."
|
|
227
227
|
)));
|
|
228
228
|
content.push(( localize(
|
|
229
|
-
|
|
229
|
+
4337,
|
|
230
230
|
"If a fix action is invoked, a response will indicate the problem with the current code. A diff editor will be rendered and can be reached by tabbing."
|
|
231
231
|
)));
|
|
232
232
|
content.push(( localize(
|
|
233
|
-
|
|
233
|
+
4338,
|
|
234
234
|
"Once in the diff editor, enter review mode with{0}. Use up and down arrows to navigate lines with the proposed changes.",
|
|
235
235
|
AccessibleDiffViewerNext.id
|
|
236
236
|
)));
|
|
237
237
|
content.push(( localize(
|
|
238
|
-
|
|
238
|
+
4339,
|
|
239
239
|
"Use tab to reach conditional parts like commands, status, message responses and more."
|
|
240
240
|
)));
|
|
241
241
|
}
|
|
242
242
|
content.push(( localize(
|
|
243
|
-
|
|
243
|
+
4340,
|
|
244
244
|
"Accessibility Signals can be changed via settings with a prefix of signals.chat. By default, if a request takes more than 4 seconds, you will hear a sound indicating that progress is still occurring."
|
|
245
245
|
)));
|
|
246
246
|
return content.join('\n');
|
|
@@ -3,8 +3,8 @@ import { IActionViewItemService } from "@codingame/monaco-vscode-api/vscode/vs/p
|
|
|
3
3
|
import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
4
4
|
import { ILabelService } from "@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service";
|
|
5
5
|
import { IWorkbenchContribution } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions";
|
|
6
|
-
import { IChatResponseViewModel } from "@codingame/monaco-vscode-
|
|
7
|
-
import { ICodeBlockActionContext, ICodeCompareBlockActionContext } from "@codingame/monaco-vscode-
|
|
6
|
+
import { IChatResponseViewModel } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/chatViewModel";
|
|
7
|
+
import { ICodeBlockActionContext, ICodeCompareBlockActionContext } from "@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/chat/browser/codeBlockPart";
|
|
8
8
|
export interface IChatCodeBlockActionContext extends ICodeBlockActionContext {
|
|
9
9
|
element: IChatResponseViewModel;
|
|
10
10
|
}
|
|
@@ -20,16 +20,16 @@ import { ILabelService } from '@codingame/monaco-vscode-api/vscode/vs/platform/l
|
|
|
20
20
|
import { TerminalLocation } from '@codingame/monaco-vscode-api/vscode/vs/platform/terminal/common/terminal';
|
|
21
21
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
22
22
|
import { accessibleViewInCodeBlock } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration';
|
|
23
|
-
import { reviewEdits } from '@codingame/monaco-vscode-
|
|
23
|
+
import { reviewEdits } from '@codingame/monaco-vscode-9f229325-8261-585c-a552-16085958c680-common/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatController';
|
|
24
24
|
import { ITerminalService, ITerminalEditorService, ITerminalGroupService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/terminal/browser/terminal.service';
|
|
25
25
|
import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatContextKeys';
|
|
26
26
|
import { ChatCopyKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService';
|
|
27
27
|
import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService.service';
|
|
28
|
-
import { isResponseVM } from '@codingame/monaco-vscode-
|
|
28
|
+
import { isResponseVM } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/chatViewModel';
|
|
29
29
|
import { ChatAgentLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
|
|
30
30
|
import { IChatWidgetService, IChatCodeBlockContextProviderService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
31
|
-
import { DefaultChatTextEditor } from '@codingame/monaco-vscode-
|
|
32
|
-
import { CHAT_CATEGORY } from '@codingame/monaco-vscode-
|
|
31
|
+
import { DefaultChatTextEditor } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/chat/browser/codeBlockPart';
|
|
32
|
+
import { CHAT_CATEGORY } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
|
|
33
33
|
import { ApplyCodeBlockOperation, InsertCodeBlockOperation } from './codeBlockOperations.js';
|
|
34
34
|
|
|
35
35
|
const shellLangIds = [
|
|
@@ -81,7 +81,7 @@ let CodeBlockActionRendering = class CodeBlockActionRendering extends Disposable
|
|
|
81
81
|
const context = this._context;
|
|
82
82
|
if (isCodeBlockActionContext(context) && context.codemapperUri) {
|
|
83
83
|
const label = labelService.getUriLabel(context.codemapperUri, { relative: true });
|
|
84
|
-
return localize(
|
|
84
|
+
return localize(4389, "Apply to {0}", label);
|
|
85
85
|
}
|
|
86
86
|
return super.getTooltip();
|
|
87
87
|
}
|
|
@@ -104,7 +104,7 @@ function registerChatCodeBlockActions() {
|
|
|
104
104
|
constructor() {
|
|
105
105
|
super({
|
|
106
106
|
id: 'workbench.action.chat.copyCodeBlock',
|
|
107
|
-
title: ( localize2(
|
|
107
|
+
title: ( localize2(4390, "Copy")),
|
|
108
108
|
f1: false,
|
|
109
109
|
category: CHAT_CATEGORY,
|
|
110
110
|
icon: Codicon.copy,
|
|
@@ -189,7 +189,7 @@ function registerChatCodeBlockActions() {
|
|
|
189
189
|
constructor() {
|
|
190
190
|
super({
|
|
191
191
|
id: APPLY_IN_EDITOR_ID,
|
|
192
|
-
title: ( localize2(
|
|
192
|
+
title: ( localize2(4391, "Apply in Editor")),
|
|
193
193
|
precondition: ChatContextKeys.enabled,
|
|
194
194
|
f1: true,
|
|
195
195
|
category: CHAT_CATEGORY,
|
|
@@ -225,7 +225,7 @@ function registerChatCodeBlockActions() {
|
|
|
225
225
|
constructor() {
|
|
226
226
|
super({
|
|
227
227
|
id: 'workbench.action.chat.insertCodeBlock',
|
|
228
|
-
title: ( localize2(
|
|
228
|
+
title: ( localize2(4392, "Insert At Cursor")),
|
|
229
229
|
precondition: ChatContextKeys.enabled,
|
|
230
230
|
f1: true,
|
|
231
231
|
category: CHAT_CATEGORY,
|
|
@@ -259,7 +259,7 @@ function registerChatCodeBlockActions() {
|
|
|
259
259
|
constructor() {
|
|
260
260
|
super({
|
|
261
261
|
id: 'workbench.action.chat.insertIntoNewFile',
|
|
262
|
-
title: ( localize2(
|
|
262
|
+
title: ( localize2(4393, "Insert into New File")),
|
|
263
263
|
precondition: ChatContextKeys.enabled,
|
|
264
264
|
f1: true,
|
|
265
265
|
category: CHAT_CATEGORY,
|
|
@@ -300,7 +300,7 @@ function registerChatCodeBlockActions() {
|
|
|
300
300
|
constructor() {
|
|
301
301
|
super({
|
|
302
302
|
id: 'workbench.action.chat.runInTerminal',
|
|
303
|
-
title: ( localize2(
|
|
303
|
+
title: ( localize2(4394, "Insert into Terminal")),
|
|
304
304
|
precondition: ChatContextKeys.enabled,
|
|
305
305
|
f1: true,
|
|
306
306
|
category: CHAT_CATEGORY,
|
|
@@ -394,7 +394,7 @@ function registerChatCodeBlockActions() {
|
|
|
394
394
|
constructor() {
|
|
395
395
|
super({
|
|
396
396
|
id: 'workbench.action.chat.nextCodeBlock',
|
|
397
|
-
title: ( localize2(
|
|
397
|
+
title: ( localize2(4395, "Next Code Block")),
|
|
398
398
|
keybinding: {
|
|
399
399
|
primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.PageDown,
|
|
400
400
|
mac: { primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.PageDown, },
|
|
@@ -414,7 +414,7 @@ function registerChatCodeBlockActions() {
|
|
|
414
414
|
constructor() {
|
|
415
415
|
super({
|
|
416
416
|
id: 'workbench.action.chat.previousCodeBlock',
|
|
417
|
-
title: ( localize2(
|
|
417
|
+
title: ( localize2(4396, "Previous Code Block")),
|
|
418
418
|
keybinding: {
|
|
419
419
|
primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.PageUp,
|
|
420
420
|
mac: { primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.PageUp, },
|
|
@@ -455,7 +455,8 @@ function getContextFromEditor(editor, accessor) {
|
|
|
455
455
|
codeBlockIndex: codeBlockInfo.codeBlockIndex,
|
|
456
456
|
code: editor.getValue(),
|
|
457
457
|
languageId: editor.getModel().getLanguageId(),
|
|
458
|
-
codemapperUri: codeBlockInfo.codemapperUri
|
|
458
|
+
codemapperUri: codeBlockInfo.codemapperUri,
|
|
459
|
+
chatSessionId: codeBlockInfo.chatSessionId,
|
|
459
460
|
};
|
|
460
461
|
}
|
|
461
462
|
function registerChatCodeCompareBlockActions() {
|
|
@@ -472,7 +473,7 @@ function registerChatCodeCompareBlockActions() {
|
|
|
472
473
|
constructor() {
|
|
473
474
|
super({
|
|
474
475
|
id: 'workbench.action.chat.applyCompareEdits',
|
|
475
|
-
title: ( localize2(
|
|
476
|
+
title: ( localize2(4397, "Apply Edits")),
|
|
476
477
|
f1: false,
|
|
477
478
|
category: CHAT_CATEGORY,
|
|
478
479
|
icon: Codicon.gitPullRequestGoToChanges,
|
|
@@ -514,7 +515,7 @@ function registerChatCodeCompareBlockActions() {
|
|
|
514
515
|
constructor() {
|
|
515
516
|
super({
|
|
516
517
|
id: 'workbench.action.chat.discardCompareEdits',
|
|
517
|
-
title: ( localize2(
|
|
518
|
+
title: ( localize2(4398, "Discard Edits")),
|
|
518
519
|
f1: false,
|
|
519
520
|
category: CHAT_CATEGORY,
|
|
520
521
|
icon: Codicon.trash,
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import { ServicesAccessor } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorExtensions";
|
|
2
|
-
import { Action2
|
|
2
|
+
import { Action2 } from "@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions";
|
|
3
3
|
export declare function registerChatContextActions(): void;
|
|
4
4
|
export declare class AttachSearchResultAction extends Action2 {
|
|
5
|
-
static readonly Name
|
|
6
|
-
static readonly ID = "workbench.action.chat.insertSearchResults";
|
|
5
|
+
private static readonly Name;
|
|
7
6
|
constructor();
|
|
8
|
-
run(accessor: ServicesAccessor
|
|
7
|
+
run(accessor: ServicesAccessor): Promise<void>;
|
|
9
8
|
}
|
|
10
9
|
export declare class AttachContextAction extends Action2 {
|
|
11
|
-
|
|
12
|
-
constructor(desc?: Readonly<IAction2Options>);
|
|
10
|
+
constructor();
|
|
13
11
|
private _getFileContextId;
|
|
14
12
|
private _attachContext;
|
|
15
13
|
run(accessor: ServicesAccessor, ...args: any[]): Promise<void>;
|