@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
|
@@ -6,71 +6,67 @@ import { isMarkdownString, MarkdownString } from '@codingame/monaco-vscode-api/v
|
|
|
6
6
|
import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
7
7
|
import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
|
|
8
8
|
import { isMacintosh } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
|
|
9
|
+
import { assertDefined } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
|
|
9
10
|
import { registerEditorFeature } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/editorFeatures';
|
|
10
11
|
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
11
12
|
import { AccessibleViewRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleViewRegistry';
|
|
12
13
|
import { ICommandService } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service';
|
|
13
14
|
import { Extensions, ConfigurationScope } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
14
|
-
import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
15
15
|
import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
|
|
16
16
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/extensions';
|
|
17
17
|
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
18
|
-
import
|
|
19
|
-
import {
|
|
20
|
-
import { PromptsConfig } from '@codingame/monaco-vscode-a1eb43d5-da63-5f76-8ad4-acf0d6c3b749-common/vscode/vs/platform/prompts/common/config';
|
|
21
|
-
import { DEFAULT_SOURCE_FOLDER, PROMPT_FILE_EXTENSION } from '@codingame/monaco-vscode-a1eb43d5-da63-5f76-8ad4-acf0d6c3b749-common/vscode/vs/platform/prompts/common/constants';
|
|
18
|
+
import { PromptsConfig } from '@codingame/monaco-vscode-51fed910-d648-5620-9b80-9232cd79d116-common/vscode/vs/platform/prompts/common/config';
|
|
19
|
+
import { PROMPT_DEFAULT_SOURCE_FOLDER, PROMPT_FILE_EXTENSION, INSTRUCTIONS_DEFAULT_SOURCE_FOLDER, INSTRUCTION_FILE_EXTENSION } from '@codingame/monaco-vscode-51fed910-d648-5620-9b80-9232cd79d116-common/vscode/vs/platform/prompts/common/constants';
|
|
22
20
|
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
23
|
-
import { EditorPaneDescriptor } from '@codingame/monaco-vscode-
|
|
21
|
+
import { EditorPaneDescriptor } from '@codingame/monaco-vscode-d0fb86d3-2a47-594e-955b-9a24631a7124-common/vscode/vs/workbench/browser/editor';
|
|
24
22
|
import { Extensions as Extensions$1 } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/configuration';
|
|
25
23
|
import { registerWorkbenchContribution2, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
26
24
|
import { EditorExtensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
27
25
|
import { IWorkbenchAssignmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/assignment/common/assignmentService.service';
|
|
28
|
-
import { mcpSchemaId } from '@codingame/monaco-vscode-
|
|
26
|
+
import { mcpSchemaId } from '@codingame/monaco-vscode-4a0e04a7-c3bd-5fb7-9d3b-4fd047cc9e59-common/vscode/vs/workbench/services/configuration/common/configuration';
|
|
29
27
|
import { RegisteredEditorPriority } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorResolverService';
|
|
30
28
|
import { IEditorResolverService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorResolverService.service';
|
|
31
|
-
import { mcpDiscoverySection, allDiscoverySources, discoverySourceLabel, mcpConfigurationSection, mcpSchemaExampleServers, mcpEnabledSection } from '@codingame/monaco-vscode-
|
|
32
|
-
import '@codingame/monaco-vscode-
|
|
29
|
+
import { mcpDiscoverySection, allDiscoverySources, discoverySourceLabel, mcpConfigurationSection, mcpSchemaExampleServers, mcpEnabledSection } from '@codingame/monaco-vscode-1cb11a73-359e-5a2f-9e95-6989cc9858ee-common/vscode/vs/workbench/contrib/mcp/common/mcpConfiguration';
|
|
30
|
+
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents';
|
|
33
31
|
import { IChatAgentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents.service';
|
|
34
|
-
import '@codingame/monaco-vscode-
|
|
35
|
-
import {
|
|
36
|
-
import { ChatEntitlement } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/chat/common/chatEntitlementService';
|
|
32
|
+
import '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/chat/common/chatColors';
|
|
33
|
+
import { ChatEntitlement } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/chatEntitlementService';
|
|
37
34
|
import { IChatEntitlementService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatEntitlementService.service';
|
|
38
|
-
import { chatVariableLeader } from '@codingame/monaco-vscode-
|
|
35
|
+
import { chatVariableLeader } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatParserTypes';
|
|
39
36
|
import '../common/chatServiceImpl.js';
|
|
40
37
|
import '../common/chatSlashCommands.js';
|
|
41
38
|
import { IChatSlashCommandService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSlashCommands.service';
|
|
42
39
|
import '../common/chatTransferService.js';
|
|
43
|
-
import
|
|
44
|
-
import '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/chat/common/chatWidgetHistoryService';
|
|
40
|
+
import '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/chatWidgetHistoryService';
|
|
45
41
|
import { ChatConfiguration, ChatAgentLocation, ChatMode } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
|
|
46
42
|
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModels';
|
|
47
|
-
import '@codingame/monaco-vscode-
|
|
48
|
-
import {
|
|
49
|
-
import '../common/promptSyntax/
|
|
50
|
-
import '../common/promptSyntax/languageFeatures/promptLinkProvider.js';
|
|
51
|
-
import '../common/promptSyntax/languageFeatures/promptPathAutocompletion.js';
|
|
43
|
+
import '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/languageModelStats';
|
|
44
|
+
import { PROMPT_DOCUMENTATION_URL, INSTRUCTIONS_DOCUMENTATION_URL } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/promptSyntax/constants';
|
|
45
|
+
import { registerPromptFileContributions } from '../common/promptSyntax/contributions/index.js';
|
|
52
46
|
import '../common/promptSyntax/service/promptsService.js';
|
|
53
47
|
import { LanguageModelToolsExtensionPointHandler } from '../common/tools/languageModelToolsContribution.js';
|
|
54
48
|
import { BuiltinToolsContribution } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/tools';
|
|
55
49
|
import '../common/voiceChatService.js';
|
|
56
50
|
import { PanelChatAccessibilityHelp, QuickChatAccessibilityHelp, EditsChatAccessibilityHelp, AgentChatAccessibilityHelp } from './actions/chatAccessibilityHelp.js';
|
|
57
|
-
import { CopilotTitleBarMenuRendering, registerChatActions } from '@codingame/monaco-vscode-
|
|
58
|
-
import { ACTION_ID_NEW_CHAT, registerNewChatActions } from '@codingame/monaco-vscode-
|
|
51
|
+
import { CopilotTitleBarMenuRendering, registerChatActions } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/actions/chatActions';
|
|
52
|
+
import { ACTION_ID_NEW_CHAT, registerNewChatActions } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/actions/chatClearActions';
|
|
59
53
|
import { CodeBlockActionRendering, registerChatCodeBlockActions, registerChatCodeCompareBlockActions } from './actions/chatCodeblockActions.js';
|
|
60
54
|
import { registerChatContextActions } from './actions/chatContextActions.js';
|
|
61
55
|
import { registerChatCopyActions } from './actions/chatCopyActions.js';
|
|
62
56
|
import { registerChatDeveloperActions } from './actions/chatDeveloperActions.js';
|
|
63
|
-
import { ChatSubmitAction, registerChatExecuteActions } from '@codingame/monaco-vscode-
|
|
57
|
+
import { ChatSubmitAction, registerChatExecuteActions } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/actions/chatExecuteActions';
|
|
64
58
|
import { registerChatFileTreeActions } from './actions/chatFileTreeActions.js';
|
|
65
59
|
import { ChatGettingStartedContribution } from './actions/chatGettingStarted.js';
|
|
66
60
|
import { registerChatExportActions } from './actions/chatImportExport.js';
|
|
67
61
|
import { registerMoveActions } from './actions/chatMoveActions.js';
|
|
68
62
|
import { registerQuickChatActions } from './actions/chatQuickInputActions.js';
|
|
69
|
-
import { registerChatTitleActions } from '@codingame/monaco-vscode-
|
|
70
|
-
import { registerChatToolActions } from '@codingame/monaco-vscode-
|
|
63
|
+
import { registerChatTitleActions } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/chat/browser/actions/chatTitleActions';
|
|
64
|
+
import { registerChatToolActions } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/actions/chatToolActions';
|
|
71
65
|
import { ChatTransferContribution } from './actions/chatTransfer.js';
|
|
66
|
+
import { SAVE_TO_PROMPT_SLASH_COMMAND_NAME, runSaveToPromptAction } from './actions/promptActions/chatSaveToPromptAction.js';
|
|
67
|
+
import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
72
68
|
import './chatAccessibilityService.js';
|
|
73
|
-
import '@codingame/monaco-vscode-
|
|
69
|
+
import '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/chatAttachmentModel';
|
|
74
70
|
import '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
|
|
75
71
|
import { ChatInputBoxContentProvider } from './chatEdinputInputContentProvider.js';
|
|
76
72
|
import { ChatEditingEditorAccessibility } from './chatEditing/chatEditingEditorAccessibility.js';
|
|
@@ -79,58 +75,59 @@ import { ChatEditingEditorContextKeys } from '@codingame/monaco-vscode-api/vscod
|
|
|
79
75
|
import { ChatEditingEditorOverlay } from './chatEditing/chatEditingEditorOverlay.js';
|
|
80
76
|
import './chatEditing/chatEditingServiceImpl.js';
|
|
81
77
|
import { ChatEditingNotebookFileSystemProviderContrib } from './chatEditing/notebook/chatEditingNotebookFileSystemProvider.js';
|
|
78
|
+
import { SimpleBrowserOverlay } from './chatEditing/simpleBrowserEditorOverlay.js';
|
|
82
79
|
import { ChatEditor } from './chatEditor.js';
|
|
83
|
-
import { ChatEditorInput, ChatEditorInputSerializer } from '@codingame/monaco-vscode-
|
|
84
|
-
import { agentToMarkdown, agentSlashCommandToMarkdown } from '@codingame/monaco-vscode-
|
|
80
|
+
import { ChatEditorInput, ChatEditorInputSerializer } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/chatEditorInput';
|
|
81
|
+
import { agentToMarkdown, agentSlashCommandToMarkdown } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer';
|
|
85
82
|
import { ChatExtensionPointHandler, ChatCompatibilityNotifier } from './chatParticipant.contribution.js';
|
|
86
|
-
import { ChatPasteProvidersFeature } from '@codingame/monaco-vscode-
|
|
83
|
+
import { ChatPasteProvidersFeature } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/chatPasteProviders';
|
|
87
84
|
import './chatQuick.js';
|
|
88
85
|
import { ChatResponseAccessibleView } from './chatResponseAccessibleView.js';
|
|
89
86
|
import { ChatSetupContribution } from './chatSetup.js';
|
|
90
87
|
import { ChatStatusBarEntry } from './chatStatus.js';
|
|
91
88
|
import './chatVariables.js';
|
|
92
|
-
import '@codingame/monaco-vscode-
|
|
93
|
-
import { ChatImplicitContextContribution } from '@codingame/monaco-vscode-
|
|
94
|
-
import '@codingame/monaco-vscode-
|
|
89
|
+
import '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/chat/browser/chatWidget';
|
|
90
|
+
import { ChatImplicitContextContribution } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/contrib/chatImplicitContext';
|
|
91
|
+
import '@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/chat/browser/contrib/chatInputCompletions';
|
|
95
92
|
import './contrib/chatInputEditorContrib.js';
|
|
96
93
|
import './contrib/chatInputEditorHover.js';
|
|
97
|
-
import { ChatRelatedFilesContribution } from '@codingame/monaco-vscode-
|
|
94
|
+
import { ChatRelatedFilesContribution } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/contrib/chatInputRelatedFilesContrib';
|
|
98
95
|
import './languageModelToolsService.js';
|
|
96
|
+
import './promptSyntax/contributions/attachInstructionsCommand.js';
|
|
99
97
|
import './promptSyntax/contributions/createPromptCommand/createPromptCommand.js';
|
|
100
|
-
import './promptSyntax/contributions/usePromptCommand.js';
|
|
101
98
|
import { ChatViewsWelcomeHandler } from './viewsWelcome/chatViewsWelcomeHandler.js';
|
|
102
99
|
|
|
103
100
|
const configurationRegistry = ( Registry.as(Extensions.Configuration));
|
|
104
101
|
configurationRegistry.registerConfiguration({
|
|
105
102
|
id: 'chatSidebar',
|
|
106
|
-
title: ( localize(
|
|
103
|
+
title: ( localize(4531, "Chat")),
|
|
107
104
|
type: 'object',
|
|
108
105
|
properties: {
|
|
109
106
|
'chat.editor.fontSize': {
|
|
110
107
|
type: 'number',
|
|
111
|
-
description: ( localize(
|
|
108
|
+
description: ( localize(4532, "Controls the font size in pixels in chat codeblocks.")),
|
|
112
109
|
default: isMacintosh ? 12 : 14,
|
|
113
110
|
},
|
|
114
111
|
'chat.editor.fontFamily': {
|
|
115
112
|
type: 'string',
|
|
116
|
-
description: ( localize(
|
|
113
|
+
description: ( localize(4533, "Controls the font family in chat codeblocks.")),
|
|
117
114
|
default: 'default'
|
|
118
115
|
},
|
|
119
116
|
'chat.editor.fontWeight': {
|
|
120
117
|
type: 'string',
|
|
121
|
-
description: ( localize(
|
|
118
|
+
description: ( localize(4534, "Controls the font weight in chat codeblocks.")),
|
|
122
119
|
default: 'default'
|
|
123
120
|
},
|
|
124
121
|
'chat.editor.wordWrap': {
|
|
125
122
|
type: 'string',
|
|
126
|
-
description: ( localize(
|
|
123
|
+
description: ( localize(4535, "Controls whether lines should wrap in chat codeblocks.")),
|
|
127
124
|
default: 'off',
|
|
128
125
|
enum: ['on', 'off']
|
|
129
126
|
},
|
|
130
127
|
'chat.editor.lineHeight': {
|
|
131
128
|
type: 'number',
|
|
132
129
|
description: ( localize(
|
|
133
|
-
|
|
130
|
+
4536,
|
|
134
131
|
"Controls the line height in pixels in chat codeblocks. Use 0 to compute the line height from the font size."
|
|
135
132
|
)),
|
|
136
133
|
default: 0
|
|
@@ -138,7 +135,7 @@ configurationRegistry.registerConfiguration({
|
|
|
138
135
|
'chat.commandCenter.enabled': {
|
|
139
136
|
type: 'boolean',
|
|
140
137
|
markdownDescription: ( localize(
|
|
141
|
-
|
|
138
|
+
4537,
|
|
142
139
|
"Controls whether the command center shows a menu for actions to control Copilot (requires {0}).",
|
|
143
140
|
'`#window.commandCenter#`'
|
|
144
141
|
)),
|
|
@@ -148,28 +145,27 @@ configurationRegistry.registerConfiguration({
|
|
|
148
145
|
type: 'object',
|
|
149
146
|
tags: ['experimental'],
|
|
150
147
|
description: ( localize(
|
|
151
|
-
|
|
148
|
+
4538,
|
|
152
149
|
"Enables automatically using the active editor as chat context for specified chat locations."
|
|
153
150
|
)),
|
|
154
151
|
additionalProperties: {
|
|
155
152
|
type: 'string',
|
|
156
153
|
enum: ['never', 'first', 'always'],
|
|
157
|
-
description: ( localize(
|
|
154
|
+
description: ( localize(4539, "The value for the implicit context.")),
|
|
158
155
|
enumDescriptions: [
|
|
159
|
-
( localize(
|
|
160
|
-
( localize(
|
|
161
|
-
( localize(
|
|
156
|
+
( localize(4540, "Implicit context is never enabled.")),
|
|
157
|
+
( localize(4541, "Implicit context is enabled for the first interaction.")),
|
|
158
|
+
( localize(4542, "Implicit context is always enabled."))
|
|
162
159
|
]
|
|
163
160
|
},
|
|
164
161
|
default: {
|
|
165
162
|
'panel': 'always',
|
|
166
|
-
'editing-session': 'first'
|
|
167
163
|
}
|
|
168
164
|
},
|
|
169
165
|
'chat.editing.autoAcceptDelay': {
|
|
170
166
|
type: 'number',
|
|
171
167
|
markdownDescription: ( localize(
|
|
172
|
-
|
|
168
|
+
4543,
|
|
173
169
|
"Delay after which changes made by chat are automatically accepted. Values are in seconds, `0` means disabled and `100` seconds is the maximum."
|
|
174
170
|
)),
|
|
175
171
|
default: 0,
|
|
@@ -180,7 +176,7 @@ configurationRegistry.registerConfiguration({
|
|
|
180
176
|
type: 'boolean',
|
|
181
177
|
scope: ConfigurationScope.APPLICATION,
|
|
182
178
|
markdownDescription: ( localize(
|
|
183
|
-
|
|
179
|
+
4544,
|
|
184
180
|
"Whether to show a confirmation before removing a request and its associated edits."
|
|
185
181
|
)),
|
|
186
182
|
default: true,
|
|
@@ -189,7 +185,7 @@ configurationRegistry.registerConfiguration({
|
|
|
189
185
|
type: 'boolean',
|
|
190
186
|
scope: ConfigurationScope.APPLICATION,
|
|
191
187
|
markdownDescription: ( localize(
|
|
192
|
-
|
|
188
|
+
4545,
|
|
193
189
|
"Whether to show a confirmation before retrying a request and its associated edits."
|
|
194
190
|
)),
|
|
195
191
|
default: true,
|
|
@@ -197,48 +193,36 @@ configurationRegistry.registerConfiguration({
|
|
|
197
193
|
'chat.experimental.detectParticipant.enabled': {
|
|
198
194
|
type: 'boolean',
|
|
199
195
|
deprecationMessage: ( localize(
|
|
200
|
-
|
|
196
|
+
4546,
|
|
201
197
|
"This setting is deprecated. Please use `chat.detectParticipant.enabled` instead."
|
|
202
198
|
)),
|
|
203
|
-
description: ( localize(
|
|
199
|
+
description: ( localize(4547, "Enables chat participant autodetection for panel chat.")),
|
|
204
200
|
default: null
|
|
205
201
|
},
|
|
206
202
|
'chat.detectParticipant.enabled': {
|
|
207
203
|
type: 'boolean',
|
|
208
|
-
description: ( localize(
|
|
204
|
+
description: ( localize(4548, "Enables chat participant autodetection for panel chat.")),
|
|
209
205
|
default: true
|
|
210
206
|
},
|
|
211
207
|
'chat.renderRelatedFiles': {
|
|
212
208
|
type: 'boolean',
|
|
213
209
|
description: ( localize(
|
|
214
|
-
|
|
210
|
+
4549,
|
|
215
211
|
"Controls whether related files should be rendered in the chat input."
|
|
216
212
|
)),
|
|
217
213
|
default: false
|
|
218
214
|
},
|
|
219
|
-
'chat.setupFromDialog': {
|
|
220
|
-
type: 'boolean',
|
|
221
|
-
description: ( localize(
|
|
222
|
-
4518,
|
|
223
|
-
"Controls whether Copilot setup starts from a dialog or from the welcome view."
|
|
224
|
-
)),
|
|
225
|
-
default: product.quality !== 'stable',
|
|
226
|
-
tags: ['experimental', 'onExp']
|
|
227
|
-
},
|
|
228
215
|
'chat.focusWindowOnConfirmation': {
|
|
229
216
|
type: 'boolean',
|
|
230
217
|
description: ( localize(
|
|
231
|
-
|
|
218
|
+
4550,
|
|
232
219
|
"Controls whether the Copilot window should be focused when a confirmation is needed."
|
|
233
220
|
)),
|
|
234
221
|
default: true,
|
|
235
222
|
},
|
|
236
223
|
'chat.tools.autoApprove': {
|
|
237
224
|
default: false,
|
|
238
|
-
description: ( localize(
|
|
239
|
-
4520,
|
|
240
|
-
"Controls whether tool use should be automatically approved ('YOLO mode')."
|
|
241
|
-
)),
|
|
225
|
+
description: ( localize(4551, "Controls whether tool use should be automatically approved.")),
|
|
242
226
|
type: 'boolean',
|
|
243
227
|
tags: ['experimental'],
|
|
244
228
|
policy: {
|
|
@@ -248,10 +232,39 @@ configurationRegistry.registerConfiguration({
|
|
|
248
232
|
defaultValue: false
|
|
249
233
|
}
|
|
250
234
|
},
|
|
235
|
+
'chat.sendElementsToChat.enabled': {
|
|
236
|
+
default: true,
|
|
237
|
+
description: ( localize(
|
|
238
|
+
4552,
|
|
239
|
+
"Controls whether elements can be sent to chat from the Simple Browser."
|
|
240
|
+
)),
|
|
241
|
+
type: 'boolean',
|
|
242
|
+
tags: ['experimental']
|
|
243
|
+
},
|
|
244
|
+
'chat.sendElementsToChat.attachCSS': {
|
|
245
|
+
default: true,
|
|
246
|
+
markdownDescription: ( localize(
|
|
247
|
+
4553,
|
|
248
|
+
"Controls whether CSS of the selected element will be added to the chat. {0} must be enabled.",
|
|
249
|
+
'`#chat.sendElementsToChat.enabled#`'
|
|
250
|
+
)),
|
|
251
|
+
type: 'boolean',
|
|
252
|
+
tags: ['experimental']
|
|
253
|
+
},
|
|
254
|
+
'chat.sendElementsToChat.attachImages': {
|
|
255
|
+
default: true,
|
|
256
|
+
markdownDescription: ( localize(
|
|
257
|
+
4554,
|
|
258
|
+
"Controls whether a screenshot of the selected element will be added to the chat. {0} must be enabled.",
|
|
259
|
+
'`#chat.sendElementsToChat.enabled#`'
|
|
260
|
+
)),
|
|
261
|
+
type: 'boolean',
|
|
262
|
+
tags: ['experimental']
|
|
263
|
+
},
|
|
251
264
|
[mcpEnabledSection]: {
|
|
252
265
|
type: 'boolean',
|
|
253
266
|
description: ( localize(
|
|
254
|
-
|
|
267
|
+
4555,
|
|
255
268
|
"Enables integration with Model Context Protocol servers to provide additional tools and functionality."
|
|
256
269
|
)),
|
|
257
270
|
default: true,
|
|
@@ -269,22 +282,13 @@ configurationRegistry.registerConfiguration({
|
|
|
269
282
|
inputs: [],
|
|
270
283
|
servers: mcpSchemaExampleServers,
|
|
271
284
|
},
|
|
272
|
-
description: ( localize(
|
|
285
|
+
description: ( localize(4556, "Model Context Protocol server configurations")),
|
|
273
286
|
$ref: mcpSchemaId
|
|
274
287
|
},
|
|
275
|
-
[ChatConfiguration.UnifiedChatView]: {
|
|
276
|
-
type: 'boolean',
|
|
277
|
-
description: ( localize(
|
|
278
|
-
4523,
|
|
279
|
-
"Enables the unified view with Ask, Edit, and Agent modes in one view."
|
|
280
|
-
)),
|
|
281
|
-
default: true,
|
|
282
|
-
tags: ['preview'],
|
|
283
|
-
},
|
|
284
288
|
[ChatConfiguration.UseFileStorage]: {
|
|
285
289
|
type: 'boolean',
|
|
286
290
|
description: ( localize(
|
|
287
|
-
|
|
291
|
+
4557,
|
|
288
292
|
"Enables storing chat sessions on disk instead of in the storage service. Enabling this does a one-time per-workspace migration of existing sessions to the new format."
|
|
289
293
|
)),
|
|
290
294
|
default: true,
|
|
@@ -293,7 +297,7 @@ configurationRegistry.registerConfiguration({
|
|
|
293
297
|
[ChatConfiguration.Edits2Enabled]: {
|
|
294
298
|
type: 'boolean',
|
|
295
299
|
description: ( localize(
|
|
296
|
-
|
|
300
|
+
4558,
|
|
297
301
|
"Enable the new Edits mode that is based on tool-calling. When this is enabled, models that don't support tool-calling are unavailable for Edits mode."
|
|
298
302
|
)),
|
|
299
303
|
default: true,
|
|
@@ -301,22 +305,32 @@ configurationRegistry.registerConfiguration({
|
|
|
301
305
|
},
|
|
302
306
|
[ChatConfiguration.ExtensionToolsEnabled]: {
|
|
303
307
|
type: 'boolean',
|
|
304
|
-
description: ( localize(
|
|
305
|
-
4526,
|
|
306
|
-
"Enable using tools contributed by third-party extensions in Copilot Chat agent mode."
|
|
307
|
-
)),
|
|
308
|
+
description: ( localize(4559, "Enable using tools contributed by third-party extensions.")),
|
|
308
309
|
default: true,
|
|
309
310
|
policy: {
|
|
310
311
|
name: 'ChatAgentExtensionTools',
|
|
311
312
|
minimumVersion: '1.99',
|
|
312
|
-
description: ( localize(
|
|
313
|
-
4527,
|
|
314
|
-
"Enable using tools contributed by third-party extensions in Copilot Chat agent mode."
|
|
315
|
-
)),
|
|
313
|
+
description: ( localize(4560, "Enable using tools contributed by third-party extensions.")),
|
|
316
314
|
previewFeature: true,
|
|
317
315
|
defaultValue: false
|
|
318
316
|
}
|
|
319
317
|
},
|
|
318
|
+
[ChatConfiguration.AgentEnabled]: {
|
|
319
|
+
type: 'boolean',
|
|
320
|
+
description: ( localize(
|
|
321
|
+
4561,
|
|
322
|
+
"Enable agent mode for {0}. When this is enabled, agent mode can be activated via the dropdown in the view.",
|
|
323
|
+
'Copilot Chat'
|
|
324
|
+
)),
|
|
325
|
+
default: true,
|
|
326
|
+
tags: ['onExp'],
|
|
327
|
+
policy: {
|
|
328
|
+
name: 'ChatAgentMode',
|
|
329
|
+
minimumVersion: '1.99',
|
|
330
|
+
previewFeature: false,
|
|
331
|
+
defaultValue: false
|
|
332
|
+
}
|
|
333
|
+
},
|
|
320
334
|
[mcpDiscoverySection]: {
|
|
321
335
|
oneOf: [
|
|
322
336
|
{ type: 'boolean' },
|
|
@@ -325,24 +339,25 @@ configurationRegistry.registerConfiguration({
|
|
|
325
339
|
default: Object.fromEntries(( allDiscoverySources.map(k => [k, true]))),
|
|
326
340
|
properties: Object.fromEntries(( allDiscoverySources.map(k => [
|
|
327
341
|
k,
|
|
328
|
-
{ type: 'boolean', description: ( localize(
|
|
342
|
+
{ type: 'boolean', description: ( localize(4562, "Enables discovery of {0} servers", discoverySourceLabel[k])) }
|
|
329
343
|
]))),
|
|
330
344
|
}
|
|
331
345
|
],
|
|
332
346
|
default: true,
|
|
333
347
|
markdownDescription: ( localize(
|
|
334
|
-
|
|
348
|
+
4563,
|
|
335
349
|
"Configures discovery of Model Context Protocol servers on the machine. It may be set to `true` or `false` to disable or enable all sources, and an mapping sources you wish to enable."
|
|
336
350
|
)),
|
|
337
351
|
},
|
|
338
352
|
[PromptsConfig.KEY]: {
|
|
339
353
|
type: 'boolean',
|
|
340
|
-
title: ( localize(
|
|
354
|
+
title: ( localize(4564, "Prompt Files")),
|
|
341
355
|
markdownDescription: ( localize(
|
|
342
|
-
|
|
343
|
-
"Enable reusable prompt
|
|
356
|
+
4565,
|
|
357
|
+
"Enable reusable prompt (`*{0}`) and instruction files in Chat, Edits, and Inline Chat sessions. [Learn More]({1}).",
|
|
344
358
|
PROMPT_FILE_EXTENSION,
|
|
345
|
-
|
|
359
|
+
INSTRUCTION_FILE_EXTENSION,
|
|
360
|
+
PROMPT_DOCUMENTATION_URL
|
|
346
361
|
)),
|
|
347
362
|
default: true,
|
|
348
363
|
restricted: true,
|
|
@@ -352,24 +367,49 @@ configurationRegistry.registerConfiguration({
|
|
|
352
367
|
name: 'ChatPromptFiles',
|
|
353
368
|
minimumVersion: '1.99',
|
|
354
369
|
description: ( localize(
|
|
355
|
-
|
|
356
|
-
"Enables reusable prompt files in Chat, Edits, and Inline Chat sessions."
|
|
370
|
+
4566,
|
|
371
|
+
"Enables reusable prompt and instruction files in Chat, Edits, and Inline Chat sessions."
|
|
357
372
|
)),
|
|
358
373
|
previewFeature: true,
|
|
359
374
|
defaultValue: false
|
|
360
375
|
}
|
|
361
376
|
},
|
|
362
|
-
[PromptsConfig.
|
|
377
|
+
[PromptsConfig.INSTRUCTIONS_LOCATION_KEY]: {
|
|
378
|
+
type: 'object',
|
|
379
|
+
title: ( localize(4567, "Instructions File Locations")),
|
|
380
|
+
markdownDescription: ( localize(
|
|
381
|
+
4568,
|
|
382
|
+
"Specify location(s) of instructions files (`*{0}`) that can be attached in Chat, Edits, and Inline Chat sessions. [Learn More]({1}).\n\nRelative paths are resolved from the root folder(s) of your workspace.",
|
|
383
|
+
INSTRUCTION_FILE_EXTENSION,
|
|
384
|
+
INSTRUCTIONS_DOCUMENTATION_URL
|
|
385
|
+
)),
|
|
386
|
+
default: {
|
|
387
|
+
[INSTRUCTIONS_DEFAULT_SOURCE_FOLDER]: true,
|
|
388
|
+
},
|
|
389
|
+
additionalProperties: { type: 'boolean' },
|
|
390
|
+
restricted: true,
|
|
391
|
+
tags: ['experimental', 'prompts', 'reusable prompts', 'prompt snippets', 'instructions'],
|
|
392
|
+
examples: [
|
|
393
|
+
{
|
|
394
|
+
[INSTRUCTIONS_DEFAULT_SOURCE_FOLDER]: true,
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
[INSTRUCTIONS_DEFAULT_SOURCE_FOLDER]: true,
|
|
398
|
+
'/Users/vscode/repos/instructions': true,
|
|
399
|
+
},
|
|
400
|
+
],
|
|
401
|
+
},
|
|
402
|
+
[PromptsConfig.PROMPT_LOCATIONS_KEY]: {
|
|
363
403
|
type: 'object',
|
|
364
|
-
title: ( localize(
|
|
404
|
+
title: ( localize(4569, "Prompt File Locations")),
|
|
365
405
|
markdownDescription: ( localize(
|
|
366
|
-
|
|
367
|
-
"Specify location(s) of reusable prompt files (`*{0}`) that can be
|
|
406
|
+
4570,
|
|
407
|
+
"Specify location(s) of reusable prompt files (`*{0}`) that can be run in Chat, Edits, and Inline Chat sessions. [Learn More]({1}).\n\nRelative paths are resolved from the root folder(s) of your workspace.",
|
|
368
408
|
PROMPT_FILE_EXTENSION,
|
|
369
|
-
|
|
409
|
+
PROMPT_DOCUMENTATION_URL
|
|
370
410
|
)),
|
|
371
411
|
default: {
|
|
372
|
-
[
|
|
412
|
+
[PROMPT_DEFAULT_SOURCE_FOLDER]: true,
|
|
373
413
|
},
|
|
374
414
|
additionalProperties: { type: 'boolean' },
|
|
375
415
|
unevaluatedProperties: { type: 'boolean' },
|
|
@@ -377,17 +417,17 @@ configurationRegistry.registerConfiguration({
|
|
|
377
417
|
tags: ['experimental', 'prompts', 'reusable prompts', 'prompt snippets', 'instructions'],
|
|
378
418
|
examples: [
|
|
379
419
|
{
|
|
380
|
-
[
|
|
420
|
+
[PROMPT_DEFAULT_SOURCE_FOLDER]: true,
|
|
381
421
|
},
|
|
382
422
|
{
|
|
383
|
-
[
|
|
423
|
+
[PROMPT_DEFAULT_SOURCE_FOLDER]: true,
|
|
384
424
|
'/Users/vscode/repos/prompts': true,
|
|
385
425
|
},
|
|
386
426
|
],
|
|
387
427
|
},
|
|
388
428
|
}
|
|
389
429
|
});
|
|
390
|
-
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(ChatEditor, ChatEditorInput.EditorID, ( localize(
|
|
430
|
+
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(ChatEditor, ChatEditorInput.EditorID, ( localize(4571, "Chat"))), [
|
|
391
431
|
( new SyncDescriptor(ChatEditorInput))
|
|
392
432
|
]);
|
|
393
433
|
( Registry.as(Extensions$1.ConfigurationMigration)).registerConfigurationMigrations([
|
|
@@ -405,7 +445,7 @@ let ChatResolverContribution = class ChatResolverContribution extends Disposable
|
|
|
405
445
|
super();
|
|
406
446
|
this._register(editorResolverService.registerEditor(`${Schemas.vscodeChatSesssion}:**/**`, {
|
|
407
447
|
id: ChatEditorInput.EditorID,
|
|
408
|
-
label: ( localize(
|
|
448
|
+
label: ( localize(4571, "Chat")),
|
|
409
449
|
priority: RegisteredEditorPriority.builtin
|
|
410
450
|
}, {
|
|
411
451
|
singlePerResource: true,
|
|
@@ -423,61 +463,12 @@ ChatResolverContribution = ( __decorate([
|
|
|
423
463
|
], ChatResolverContribution));
|
|
424
464
|
let ChatAgentSettingContribution = class ChatAgentSettingContribution extends Disposable {
|
|
425
465
|
static { this.ID = 'workbench.contrib.chatAgentSetting'; }
|
|
426
|
-
constructor(experimentService,
|
|
466
|
+
constructor(experimentService, entitlementService) {
|
|
427
467
|
super();
|
|
428
468
|
this.experimentService = experimentService;
|
|
429
|
-
this.productService = productService;
|
|
430
469
|
this.entitlementService = entitlementService;
|
|
431
|
-
if (this.productService.quality !== 'stable') {
|
|
432
|
-
this.registerEnablementSetting();
|
|
433
|
-
}
|
|
434
|
-
const expDisabledKey = ChatContextKeys.Editing.agentModeDisallowed.bindTo(contextKeyService);
|
|
435
|
-
experimentService.getTreatment('chatAgentEnabled').then(enabled => {
|
|
436
|
-
if (enabled || typeof enabled !== 'boolean') {
|
|
437
|
-
this.registerEnablementSetting();
|
|
438
|
-
expDisabledKey.set(false);
|
|
439
|
-
}
|
|
440
|
-
else {
|
|
441
|
-
this.deregisterSetting();
|
|
442
|
-
expDisabledKey.set(true);
|
|
443
|
-
}
|
|
444
|
-
});
|
|
445
470
|
this.registerMaxRequestsSetting();
|
|
446
471
|
}
|
|
447
|
-
registerEnablementSetting() {
|
|
448
|
-
if (this.registeredNode) {
|
|
449
|
-
return;
|
|
450
|
-
}
|
|
451
|
-
this.registeredNode = configurationRegistry.registerConfiguration({
|
|
452
|
-
id: 'chatAgent',
|
|
453
|
-
title: ( localize(4499, "Chat")),
|
|
454
|
-
type: 'object',
|
|
455
|
-
properties: {
|
|
456
|
-
[ChatConfiguration.AgentEnabled]: {
|
|
457
|
-
type: 'boolean',
|
|
458
|
-
description: ( localize(
|
|
459
|
-
4536,
|
|
460
|
-
"Enable agent mode for {0}. When this is enabled, a dropdown appears in the view to toggle agent mode.",
|
|
461
|
-
'Copilot Chat'
|
|
462
|
-
)),
|
|
463
|
-
default: this.productService.quality !== 'stable',
|
|
464
|
-
tags: ['onExp'],
|
|
465
|
-
policy: {
|
|
466
|
-
name: 'ChatAgentMode',
|
|
467
|
-
minimumVersion: '1.99',
|
|
468
|
-
previewFeature: false,
|
|
469
|
-
defaultValue: false
|
|
470
|
-
}
|
|
471
|
-
},
|
|
472
|
-
}
|
|
473
|
-
});
|
|
474
|
-
}
|
|
475
|
-
deregisterSetting() {
|
|
476
|
-
if (this.registeredNode) {
|
|
477
|
-
configurationRegistry.deregisterConfigurations([this.registeredNode]);
|
|
478
|
-
this.registeredNode = undefined;
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
472
|
registerMaxRequestsSetting() {
|
|
482
473
|
let lastNode;
|
|
483
474
|
const registerMaxRequestsSetting = () => {
|
|
@@ -488,14 +479,14 @@ let ChatAgentSettingContribution = class ChatAgentSettingContribution extends Di
|
|
|
488
479
|
const defaultValue = value ?? (this.entitlementService.entitlement === ChatEntitlement.Limited ? 5 : 15);
|
|
489
480
|
const node = {
|
|
490
481
|
id: 'chatSidebar',
|
|
491
|
-
title: ( localize(
|
|
482
|
+
title: ( localize(4531, "Chat")),
|
|
492
483
|
type: 'object',
|
|
493
484
|
properties: {
|
|
494
485
|
'chat.agent.maxRequests': {
|
|
495
486
|
type: 'number',
|
|
496
487
|
markdownDescription: ( localize(
|
|
497
|
-
|
|
498
|
-
"The maximum number of requests to allow Copilot Edits to use per-turn in agent mode. When the limit is reached, Copilot will ask the user to confirm that it should keep working.
|
|
488
|
+
4572,
|
|
489
|
+
"The maximum number of requests to allow Copilot Edits to use per-turn in agent mode. When the limit is reached, Copilot will ask the user to confirm that it should keep working."
|
|
499
490
|
)),
|
|
500
491
|
default: defaultValue,
|
|
501
492
|
},
|
|
@@ -510,9 +501,7 @@ let ChatAgentSettingContribution = class ChatAgentSettingContribution extends Di
|
|
|
510
501
|
};
|
|
511
502
|
ChatAgentSettingContribution = ( __decorate([
|
|
512
503
|
( __param(0, IWorkbenchAssignmentService)),
|
|
513
|
-
( __param(1,
|
|
514
|
-
( __param(2, IContextKeyService)),
|
|
515
|
-
( __param(3, IChatEntitlementService))
|
|
504
|
+
( __param(1, IChatEntitlementService))
|
|
516
505
|
], ChatAgentSettingContribution));
|
|
517
506
|
AccessibleViewRegistry.register(( new ChatResponseAccessibleView()));
|
|
518
507
|
AccessibleViewRegistry.register(( new PanelChatAccessibilityHelp()));
|
|
@@ -522,17 +511,29 @@ AccessibleViewRegistry.register(( new AgentChatAccessibilityHelp()));
|
|
|
522
511
|
registerEditorFeature(ChatInputBoxContentProvider);
|
|
523
512
|
let ChatSlashStaticSlashCommandsContribution = class ChatSlashStaticSlashCommandsContribution extends Disposable {
|
|
524
513
|
static { this.ID = 'workbench.contrib.chatSlashStaticSlashCommands'; }
|
|
525
|
-
constructor(slashCommandService, commandService, chatAgentService,
|
|
514
|
+
constructor(slashCommandService, commandService, chatAgentService, chatWidgetService, instantiationService) {
|
|
526
515
|
super();
|
|
527
516
|
this._store.add(slashCommandService.registerSlashCommand({
|
|
528
517
|
command: 'clear',
|
|
529
|
-
detail: ( localize(
|
|
518
|
+
detail: ( localize(4573, "Start a new chat")),
|
|
530
519
|
sortText: 'z2_clear',
|
|
531
520
|
executeImmediately: true,
|
|
532
521
|
locations: [ChatAgentLocation.Panel]
|
|
533
522
|
}, async () => {
|
|
534
523
|
commandService.executeCommand(ACTION_ID_NEW_CHAT);
|
|
535
524
|
}));
|
|
525
|
+
this._store.add(slashCommandService.registerSlashCommand({
|
|
526
|
+
command: SAVE_TO_PROMPT_SLASH_COMMAND_NAME,
|
|
527
|
+
detail: ( localize(4574, "Save chat to a prompt file")),
|
|
528
|
+
sortText: `z3_${SAVE_TO_PROMPT_SLASH_COMMAND_NAME}`,
|
|
529
|
+
executeImmediately: true,
|
|
530
|
+
silent: true,
|
|
531
|
+
locations: [ChatAgentLocation.Panel]
|
|
532
|
+
}, async () => {
|
|
533
|
+
const { lastFocusedWidget } = chatWidgetService;
|
|
534
|
+
assertDefined(lastFocusedWidget, 'No currently active chat widget found.');
|
|
535
|
+
runSaveToPromptAction({ chat: lastFocusedWidget }, commandService);
|
|
536
|
+
}));
|
|
536
537
|
this._store.add(slashCommandService.registerSlashCommand({
|
|
537
538
|
command: 'help',
|
|
538
539
|
detail: '',
|
|
@@ -575,7 +576,7 @@ let ChatSlashStaticSlashCommandsContribution = class ChatSlashStaticSlashCommand
|
|
|
575
576
|
progress.report({ content: ( new MarkdownString(defaultAgent.metadata.helpTextVariablesPrefix)), kind: 'markdownContent' });
|
|
576
577
|
}
|
|
577
578
|
const variables = [
|
|
578
|
-
{ name: 'file', description: ( localize(
|
|
579
|
+
{ name: 'file', description: ( localize(4575, "Choose a file in the workspace")) }
|
|
579
580
|
];
|
|
580
581
|
const variableText = ( variables
|
|
581
582
|
.map(v => `* \`${chatVariableLeader}${v.name}\` - ${v.description}`))
|
|
@@ -599,7 +600,7 @@ ChatSlashStaticSlashCommandsContribution = ( __decorate([
|
|
|
599
600
|
( __param(0, IChatSlashCommandService)),
|
|
600
601
|
( __param(1, ICommandService)),
|
|
601
602
|
( __param(2, IChatAgentService)),
|
|
602
|
-
( __param(3,
|
|
603
|
+
( __param(3, IChatWidgetService)),
|
|
603
604
|
( __param(4, IInstantiationService))
|
|
604
605
|
], ChatSlashStaticSlashCommandsContribution));
|
|
605
606
|
( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(ChatEditorInput.TypeID, ChatEditorInputSerializer);
|
|
@@ -617,9 +618,10 @@ registerWorkbenchContribution2(ChatGettingStartedContribution.ID, ChatGettingSta
|
|
|
617
618
|
registerWorkbenchContribution2(ChatSetupContribution.ID, ChatSetupContribution, WorkbenchPhase.BlockRestore);
|
|
618
619
|
registerWorkbenchContribution2(ChatStatusBarEntry.ID, ChatStatusBarEntry, WorkbenchPhase.BlockRestore);
|
|
619
620
|
registerWorkbenchContribution2(BuiltinToolsContribution.ID, BuiltinToolsContribution, WorkbenchPhase.Eventually);
|
|
620
|
-
registerWorkbenchContribution2(ChatAgentSettingContribution.ID, ChatAgentSettingContribution, WorkbenchPhase.
|
|
621
|
+
registerWorkbenchContribution2(ChatAgentSettingContribution.ID, ChatAgentSettingContribution, WorkbenchPhase.AfterRestored);
|
|
621
622
|
registerWorkbenchContribution2(ChatEditingEditorAccessibility.ID, ChatEditingEditorAccessibility, WorkbenchPhase.AfterRestored);
|
|
622
623
|
registerWorkbenchContribution2(ChatEditingEditorOverlay.ID, ChatEditingEditorOverlay, WorkbenchPhase.AfterRestored);
|
|
624
|
+
registerWorkbenchContribution2(SimpleBrowserOverlay.ID, SimpleBrowserOverlay, WorkbenchPhase.AfterRestored);
|
|
623
625
|
registerWorkbenchContribution2(ChatEditingEditorContextKeys.ID, ChatEditingEditorContextKeys, WorkbenchPhase.AfterRestored);
|
|
624
626
|
registerWorkbenchContribution2(ChatTransferContribution.ID, ChatTransferContribution, WorkbenchPhase.BlockRestore);
|
|
625
627
|
registerChatActions();
|
|
@@ -639,3 +641,4 @@ registerChatEditorActions();
|
|
|
639
641
|
registerChatToolActions();
|
|
640
642
|
registerEditorFeature(ChatPasteProvidersFeature);
|
|
641
643
|
registerWorkbenchContribution2(ChatEditingNotebookFileSystemProviderContrib.ID, ChatEditingNotebookFileSystemProviderContrib, WorkbenchPhase.BlockStartup);
|
|
644
|
+
registerPromptFileContributions();
|