@codingame/monaco-vscode-api 29.1.1 → 30.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/missing-services.js +39 -16
- package/package.json +8 -8
- package/services.js +3 -3
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/contextview/contextview.js +5 -5
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +6 -2
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +19 -7
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +81 -15
- package/vscode/src/vs/base/common/codicons.d.ts +4 -0
- package/vscode/src/vs/base/common/codicons.js +3 -1
- package/vscode/src/vs/base/common/glob.js +5 -1
- package/vscode/src/vs/base/common/performance.d.ts +4 -0
- package/vscode/src/vs/base/common/performance.js +40 -17
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +1 -1
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +4 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionList.d.ts +13 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +106 -74
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +14 -11
- package/vscode/src/vs/platform/actions/common/actions.d.ts +3 -0
- package/vscode/src/vs/platform/actions/common/actions.js +9 -0
- package/vscode/src/vs/platform/browserView/common/browserView.d.ts +34 -7
- package/vscode/src/vs/platform/editor/common/editor.d.ts +29 -4
- package/vscode/src/vs/platform/environment/common/argv.d.ts +1 -0
- package/vscode/src/vs/platform/environment/common/environmentService.d.ts +1 -0
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +1 -0
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +3 -0
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +3 -0
- package/vscode/src/vs/platform/keyboardLayout/common/keyboardLayout.js +2 -2
- package/vscode/src/vs/platform/label/common/label.d.ts +6 -0
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/pickerQuickAccess.d.ts +11 -2
- package/vscode/src/vs/platform/quickinput/browser/pickerQuickAccess.js +6 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +14 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +6 -2
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +5 -3
- package/vscode/src/vs/platform/quickinput/common/quickInput.js +6 -2
- package/vscode/src/vs/platform/sandbox/common/sandboxHelperService.d.ts +4 -0
- package/vscode/src/vs/platform/sandbox/common/sandboxHelperService.service.d.ts +6 -0
- package/vscode/src/vs/platform/sandbox/common/sandboxHelperService.service.js +6 -0
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +3 -1
- package/vscode/src/vs/platform/terminal/common/terminal.js +5 -2
- package/vscode/src/vs/platform/theme/common/colorUtils.d.ts +4 -0
- package/vscode/src/vs/platform/theme/common/colorUtils.js +9 -0
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +6 -1
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +21 -1
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +3 -2
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +5 -1
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +57 -4
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +5 -3
- package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.js +34 -14
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +5 -1
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +32 -2
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +11 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +24 -2
- package/vscode/src/vs/workbench/browser/parts/editor/media/modalEditorPart.css +35 -5
- package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.d.ts +1 -0
- package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.js +70 -4
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +8 -1
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +156 -167
- package/vscode/src/vs/workbench/common/configuration.js +9 -9
- package/vscode/src/vs/workbench/common/contextkeys.js +77 -77
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/common/theme.js +161 -161
- package/vscode/src/vs/workbench/common/views.d.ts +0 -6
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +154 -154
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/browserView/common/browserView.d.ts +11 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +65 -64
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.d.ts +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.js +26 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.d.ts +21 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.js +21 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.js +8 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatScreenshotContext.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.d.ts +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.js +51 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.d.ts +165 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +1409 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.js +87 -83
- package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.d.ts +12 -2
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.js +5 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.js +13 -12
- package/vscode/src/vs/workbench/contrib/chat/common/chatPerf.d.ts +75 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatPerf.js +30 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.d.ts +9 -12
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.js +1 -13
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.service.d.ts +1 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +45 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +17 -4
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +6 -1
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.d.ts +48 -5
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.js +46 -18
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.service.d.ts +10 -3
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.d.ts +6 -2
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.service.d.ts +9 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +23 -23
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.d.ts +11 -8
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.js +54 -20
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatToolInvocation.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatViewModel.d.ts +3 -5
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatViewModel.js +3 -7
- package/vscode/src/vs/workbench/contrib/chat/common/participants/chatAgents.js +5 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginRepositoryService.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginInstallService.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginInstallService.service.d.ts +10 -6
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.service.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +36 -6
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/config.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.d.ts +3 -29
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.js +2 -18
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookSchema.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookTypes.js +20 -20
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptFileAttributes.js +78 -88
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileParser.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileParser.js +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.js +16 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +28 -23
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.js +1 -7
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/tools.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/tools/chatArtifactsService.service.d.ts +2 -8
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +22 -22
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/widget/input/modelPickerWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +11 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.d.ts +8 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +41 -8
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/common/languageConfigurationExtensionPoint.js +65 -65
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +2 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +14 -14
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +16 -16
- package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +12 -12
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +14 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +75 -75
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +38 -38
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +18 -18
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.js +2 -2
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +4 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/abstractRuntimeExtensionsEditor.js +18 -18
- package/vscode/src/vs/workbench/contrib/extensions/browser/configBasedRecommendations.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/exeBasedRecommendations.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEditor.js +41 -41
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementWorkspaceTrustTransitionParticipant.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionFeaturesTab.js +15 -15
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationNotificationService.js +14 -14
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensions.contribution.js +148 -148
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +170 -170
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActivationProgress.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsDependencyChecker.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +25 -25
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsQuickAccess.js +4 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewer.js +7 -7
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.js +47 -47
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.js +30 -30
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.js +76 -76
- package/vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/browser/webRecommendations.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/workspaceRecommendations.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +3 -3
- package/vscode/src/vs/workbench/contrib/extensions/common/runtimeExtensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -4
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +3 -3
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +39 -39
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +27 -27
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +50 -50
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +17 -17
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/common/files.js +16 -16
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration.js +66 -66
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerActions.js +40 -40
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerEditor.js +34 -34
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerIcons.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerWidgets.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfiguration.js +40 -40
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpServer.js +16 -16
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +4 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +23 -23
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.js +20 -9
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/meteredConnection/browser/meteredConnection.contribution.js +8 -8
- package/vscode/src/vs/workbench/contrib/meteredConnection/browser/meteredConnectionStatus.js +4 -4
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +17 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +27 -27
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +29 -29
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +1 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +13 -13
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +10 -10
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +60 -60
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +15 -15
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +59 -59
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +11 -11
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistoryChatContext.js +6 -6
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.js +14 -14
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +30 -13
- package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +12 -12
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +9 -9
- package/vscode/src/vs/workbench/contrib/search/browser/searchChatContext.js +5 -5
- package/vscode/src/vs/workbench/contrib/search/browser/searchFindInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +20 -20
- package/vscode/src/vs/workbench/contrib/search/browser/searchMessage.js +2 -2
- package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +14 -14
- package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +55 -55
- package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.js +11 -11
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +32 -5
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +5 -5
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +6 -6
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +13 -13
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +43 -45
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +15 -15
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +13 -10
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -23
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +17 -17
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +26 -26
- package/vscode/src/vs/workbench/contrib/terminal/terminalContribExports.d.ts +10 -3
- package/vscode/src/vs/workbench/contrib/terminal/terminalContribExports.js +10 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/common/terminalAccessibilityConfiguration.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/autoReplies/common/terminalAutoRepliesConfiguration.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.d.ts +10 -6
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.js +134 -91
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.service.d.ts +6 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/commandGuide/common/terminalCommandGuideConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/history/common/terminal.history.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/inlineHint/common/terminalInitialHintConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/notification/common/terminalNotificationConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/common/terminalStickyScrollConfiguration.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminalSuggestConfiguration.js +30 -30
- package/vscode/src/vs/workbench/contrib/terminalContrib/typeAhead/common/terminalTypeAheadConfiguration.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/zoom/common/terminal.zoom.js +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindAccessibilityHelp.js +30 -30
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.js +1 -1
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +11 -11
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.d.ts +4 -0
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +27 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.d.ts +1 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.js +1 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/environment/browser/environmentService.d.ts +1 -0
- package/vscode/src/vs/workbench/services/environment/browser/environmentService.js +9 -0
- package/vscode/src/vs/workbench/services/environment/common/environmentService.service.d.ts +1 -0
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionsIcons.js +3 -3
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +10 -10
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +88 -88
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
- package/vscode/src/vs/workbench/services/language/common/languageService.js +24 -24
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +4 -4
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +30 -30
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +18 -18
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +24 -24
- package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.d.ts +2 -2
- package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.js +8 -4
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +16 -16
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +0 -4
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +19 -1
- package/vscode-dts/vscode.proposed.chatSessionCustomizationProvider.d.ts +168 -0
- package/vscode-dts/vscode.proposed.d.ts +1 -0
- package/vscode-dts/vscode.proposed.terminalShellEnv.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.d.ts +0 -26
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +0 -746
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.d.ts +0 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +0 -300
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.js +0 -55
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.d.ts +0 -273
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +0 -1963
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.d.ts +0 -50
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +0 -314
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.d.ts +0 -258
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.js +0 -886
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.d.ts +0 -41
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.js +0 -118
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/editorHeightCalculator.d.ts +0 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/editorHeightCalculator.js +0 -71
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.d.ts +0 -27
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.js +0 -40
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookCellDiffDecorator.d.ts +0 -23
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookCellDiffDecorator.js +0 -313
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookDeletedCellDecorator.d.ts +0 -51
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookDeletedCellDecorator.js +0 -265
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiff.d.ts +0 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiff.js +0 -185
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiffWidget.d.ts +0 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiffWidget.js +0 -104
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInsertedCellDecorator.d.ts +0 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInsertedCellDecorator.js +0 -43
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalCellModelFactory.d.ts +0 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalCellModelFactory.js +0 -41
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.d.ts +0 -25
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.js +0 -69
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiff.css +0 -469
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.d.ts +0 -149
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +0 -933
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.d.ts +0 -180
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +0 -32
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.d.ts +0 -102
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +0 -643
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.d.ts +0 -30
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.js +0 -197
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffViewModel.d.ts +0 -75
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffViewModel.js +0 -539
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/unchangedEditorRegions.d.ts +0 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/unchangedEditorRegions.js +0 -39
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel.d.ts +0 -19
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel.js +0 -90
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiff.d.ts +0 -26
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiff.js +0 -92
|
@@ -14,19 +14,23 @@ var TerminalChatAgentToolsSettingId;
|
|
|
14
14
|
TerminalChatAgentToolsSettingId["ShellIntegrationTimeout"] = "chat.tools.terminal.shellIntegrationTimeout";
|
|
15
15
|
TerminalChatAgentToolsSettingId["AutoReplyToPrompts"] = "chat.tools.terminal.autoReplyToPrompts";
|
|
16
16
|
TerminalChatAgentToolsSettingId["OutputLocation"] = "chat.tools.terminal.outputLocation";
|
|
17
|
-
TerminalChatAgentToolsSettingId["
|
|
18
|
-
TerminalChatAgentToolsSettingId["
|
|
19
|
-
TerminalChatAgentToolsSettingId["
|
|
20
|
-
TerminalChatAgentToolsSettingId["
|
|
21
|
-
TerminalChatAgentToolsSettingId["
|
|
22
|
-
TerminalChatAgentToolsSettingId["TerminalSandboxMacFileSystem"] = "chat.tools.terminal.sandbox.macFileSystem";
|
|
17
|
+
TerminalChatAgentToolsSettingId["AgentSandboxEnabled"] = "chat.agent.sandbox";
|
|
18
|
+
TerminalChatAgentToolsSettingId["AgentSandboxNetworkAllowedDomains"] = "chat.agent.sandboxNetwork.allowedDomains";
|
|
19
|
+
TerminalChatAgentToolsSettingId["AgentSandboxNetworkDeniedDomains"] = "chat.agent.sandboxNetwork.deniedDomains";
|
|
20
|
+
TerminalChatAgentToolsSettingId["AgentSandboxLinuxFileSystem"] = "chat.agent.sandboxFileSystem.linux";
|
|
21
|
+
TerminalChatAgentToolsSettingId["AgentSandboxMacFileSystem"] = "chat.agent.sandboxFileSystem.mac";
|
|
23
22
|
TerminalChatAgentToolsSettingId["PreventShellHistory"] = "chat.tools.terminal.preventShellHistory";
|
|
24
23
|
TerminalChatAgentToolsSettingId["EnforceTimeoutFromModel"] = "chat.tools.terminal.enforceTimeoutFromModel";
|
|
25
24
|
TerminalChatAgentToolsSettingId["IdlePollInterval"] = "chat.tools.terminal.idlePollInterval";
|
|
26
25
|
TerminalChatAgentToolsSettingId["TerminalProfileLinux"] = "chat.tools.terminal.terminalProfile.linux";
|
|
27
26
|
TerminalChatAgentToolsSettingId["TerminalProfileMacOs"] = "chat.tools.terminal.terminalProfile.osx";
|
|
28
27
|
TerminalChatAgentToolsSettingId["TerminalProfileWindows"] = "chat.tools.terminal.terminalProfile.windows";
|
|
28
|
+
TerminalChatAgentToolsSettingId["DeprecatedTerminalSandboxEnabled"] = "chat.tools.terminal.sandbox.enabled";
|
|
29
29
|
TerminalChatAgentToolsSettingId["DeprecatedTerminalSandboxNetwork"] = "chat.tools.terminal.sandbox.network";
|
|
30
|
+
TerminalChatAgentToolsSettingId["DeprecatedTerminalSandboxNetworkAllowedDomains"] = "chat.tools.terminal.sandbox.network.allowedDomains";
|
|
31
|
+
TerminalChatAgentToolsSettingId["DeprecatedTerminalSandboxNetworkDeniedDomains"] = "chat.tools.terminal.sandbox.network.deniedDomains";
|
|
32
|
+
TerminalChatAgentToolsSettingId["DeprecatedTerminalSandboxLinuxFileSystem"] = "chat.tools.terminal.sandbox.linuxFileSystem";
|
|
33
|
+
TerminalChatAgentToolsSettingId["DeprecatedTerminalSandboxMacFileSystem"] = "chat.tools.terminal.sandbox.macFileSystem";
|
|
30
34
|
TerminalChatAgentToolsSettingId["DeprecatedAutoApproveCompatible"] = "chat.agent.terminal.autoApprove";
|
|
31
35
|
TerminalChatAgentToolsSettingId["DeprecatedAutoApprove1"] = "chat.agent.terminal.allowList";
|
|
32
36
|
TerminalChatAgentToolsSettingId["DeprecatedAutoApprove2"] = "chat.agent.terminal.denyList";
|
|
@@ -36,9 +40,9 @@ var TerminalChatAgentToolsSettingId;
|
|
|
36
40
|
const autoApproveBoolean = {
|
|
37
41
|
type: "boolean",
|
|
38
42
|
enum: [true, false],
|
|
39
|
-
enumDescriptions: [( localize(
|
|
43
|
+
enumDescriptions: [( localize(13974, "Automatically approve the pattern.")), ( localize(13975, "Require explicit approval for the pattern."))],
|
|
40
44
|
description: ( localize(
|
|
41
|
-
|
|
45
|
+
13976,
|
|
42
46
|
"The start of a command to match against. A regular expression can be provided by wrapping the string in `/` characters."
|
|
43
47
|
))
|
|
44
48
|
};
|
|
@@ -47,7 +51,7 @@ const terminalChatAgentProfileSchema = {
|
|
|
47
51
|
required: ["path"],
|
|
48
52
|
properties: {
|
|
49
53
|
path: {
|
|
50
|
-
description: ( localize(
|
|
54
|
+
description: ( localize(13977, "A path to a shell executable.")),
|
|
51
55
|
type: "string"
|
|
52
56
|
},
|
|
53
57
|
...terminalProfileBaseProperties
|
|
@@ -56,7 +60,7 @@ const terminalChatAgentProfileSchema = {
|
|
|
56
60
|
const terminalChatAgentToolsConfiguration = {
|
|
57
61
|
[TerminalChatAgentToolsSettingId.EnableAutoApprove]: {
|
|
58
62
|
description: ( localize(
|
|
59
|
-
|
|
63
|
+
13978,
|
|
60
64
|
"Controls whether to allow auto approval in the run in terminal tool."
|
|
61
65
|
)),
|
|
62
66
|
type: "boolean",
|
|
@@ -69,7 +73,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
69
73
|
description: {
|
|
70
74
|
key: "autoApproveMode.description",
|
|
71
75
|
value: ( localize(
|
|
72
|
-
|
|
76
|
+
13978,
|
|
73
77
|
"Controls whether to allow auto approval in the run in terminal tool."
|
|
74
78
|
))
|
|
75
79
|
}
|
|
@@ -78,18 +82,18 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
78
82
|
},
|
|
79
83
|
[TerminalChatAgentToolsSettingId.AutoApprove]: {
|
|
80
84
|
markdownDescription: [( localize(
|
|
81
|
-
|
|
85
|
+
13979,
|
|
82
86
|
"A list of commands or regular expressions that control whether the run in terminal tool commands require explicit approval. These will be matched against the start of a command. A regular expression can be provided by wrapping the string in {0} characters followed by optional flags such as {1} for case-insensitivity.",
|
|
83
87
|
"`/`",
|
|
84
88
|
"`i`"
|
|
85
89
|
)), ( localize(
|
|
86
|
-
|
|
90
|
+
13980,
|
|
87
91
|
"Set to {0} to automatically approve commands, {1} to always require explicit approval or {2} to unset the value.",
|
|
88
92
|
"`true`",
|
|
89
93
|
"`false`",
|
|
90
94
|
"`null`"
|
|
91
95
|
)), ( localize(
|
|
92
|
-
|
|
96
|
+
13981,
|
|
93
97
|
"Note that these commands and regular expressions are evaluated for every _sub-command_ within the full _command line_, so {0} for example will need both {1} and {2} to match a {3} entry and must not match a {4} entry in order to auto approve. Inline commands such as {5} (process substitution) should also be detected.",
|
|
94
98
|
"`foo && bar`",
|
|
95
99
|
"`foo`",
|
|
@@ -98,34 +102,34 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
98
102
|
"`false`",
|
|
99
103
|
"`<(foo)`"
|
|
100
104
|
)), ( localize(
|
|
101
|
-
|
|
105
|
+
13982,
|
|
102
106
|
"An object can be used to match against the full command line instead of matching sub-commands and inline commands, for example {0}. In order to be auto approved _both_ the sub-command and command line must not be explicitly denied, then _either_ all sub-commands or command line needs to be approved.",
|
|
103
107
|
"`{ approve: false, matchCommandLine: true }`"
|
|
104
108
|
)), ( localize(
|
|
105
|
-
|
|
109
|
+
13983,
|
|
106
110
|
"Note that there's a default set of rules to allow and also deny commands. Consider setting {0} to {1} to ignore all default rules to ensure there are no conflicts with your own rules. Do this at your own risk, the default denial rules are designed to protect you against running dangerous commands.",
|
|
107
111
|
`\`#${TerminalChatAgentToolsSettingId.IgnoreDefaultAutoApproveRules}#\``,
|
|
108
112
|
"`true`"
|
|
109
|
-
)), [( localize(
|
|
110
|
-
|
|
113
|
+
)), [( localize(13984, "Examples:")), `|${( localize(13985, "Value"))}|${( localize(13986, "Description"))}|`, "|---|---|", "| `\"mkdir\": true` | " + ( localize(13987, "Allow all commands starting with {0}", "`mkdir`")), "| `\"npm run build\": true` | " + ( localize(13988, "Allow all commands starting with {0}", "`npm run build`")), "| `\"bin/test.sh\": true` | " + ( localize(
|
|
114
|
+
13989,
|
|
111
115
|
"Allow all commands that match the path {0} ({1}, {2}, etc.)",
|
|
112
116
|
"`bin/test.sh`",
|
|
113
117
|
"`bin\\test.sh`",
|
|
114
118
|
"`./bin/test.sh`"
|
|
115
119
|
)), "| `\"/^git (status\\|show\\\\b.*)$/\": true` | " + ( localize(
|
|
116
|
-
|
|
120
|
+
13990,
|
|
117
121
|
"Allow {0} and all commands starting with {1}",
|
|
118
122
|
"`git status`",
|
|
119
123
|
"`git show`"
|
|
120
|
-
)), "| `\"/^Get-ChildItem\\\\b/i\": true` | " + ( localize(
|
|
121
|
-
|
|
124
|
+
)), "| `\"/^Get-ChildItem\\\\b/i\": true` | " + ( localize(13991, "will allow {0} commands regardless of casing", "`Get-ChildItem`")), "| `\"/.*/\": true` | " + ( localize(13992, "Allow all commands (denied commands still require approval)")), "| `\"rm\": false` | " + ( localize(
|
|
125
|
+
13993,
|
|
122
126
|
"Require explicit approval for all commands starting with {0}",
|
|
123
127
|
"`rm`"
|
|
124
128
|
)), "| `\"/\\\\.ps1/i\": { approve: false, matchCommandLine: true }` | " + ( localize(
|
|
125
|
-
|
|
129
|
+
13994,
|
|
126
130
|
"Require explicit approval for any _command line_ that contains {0} regardless of casing",
|
|
127
131
|
"`\".ps1\"`"
|
|
128
|
-
)), "| `\"rm\": null` | " + ( localize(
|
|
132
|
+
)), "| `\"rm\": null` | " + ( localize(13995, "Unset the default {0} value for {1}", "`false`", "`rm`"))].join("\n")].join("\n\n"),
|
|
129
133
|
type: "object",
|
|
130
134
|
additionalProperties: {
|
|
131
135
|
anyOf: [autoApproveBoolean, {
|
|
@@ -135,12 +139,12 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
135
139
|
matchCommandLine: {
|
|
136
140
|
type: "boolean",
|
|
137
141
|
enum: [true, false],
|
|
138
|
-
enumDescriptions: [( localize(
|
|
139
|
-
|
|
142
|
+
enumDescriptions: [( localize(13996, "Match against the full command line, eg. `foo && bar`.")), ( localize(
|
|
143
|
+
13997,
|
|
140
144
|
"Match against sub-commands and inline commands, eg. `foo && bar` will need both `foo` and `bar` to match."
|
|
141
145
|
))],
|
|
142
146
|
description: ( localize(
|
|
143
|
-
|
|
147
|
+
13998,
|
|
144
148
|
"Whether to match against the full command line, as opposed to splitting by sub-commands and inline commands."
|
|
145
149
|
))
|
|
146
150
|
}
|
|
@@ -149,7 +153,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
149
153
|
}, {
|
|
150
154
|
type: "null",
|
|
151
155
|
description: ( localize(
|
|
152
|
-
|
|
156
|
+
13999,
|
|
153
157
|
"Ignore the pattern, this is useful for unsetting the same pattern set at a higher scope."
|
|
154
158
|
))
|
|
155
159
|
}]
|
|
@@ -284,7 +288,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
284
288
|
default: false,
|
|
285
289
|
tags: ["experimental"],
|
|
286
290
|
markdownDescription: ( localize(
|
|
287
|
-
|
|
291
|
+
14000,
|
|
288
292
|
"Whether to ignore the built-in default auto-approve rules used by the run in terminal tool as defined in {0}. When this setting is enabled, the run in terminal tool will ignore any rule that comes from the default set but still follow rules defined in the user, remote and workspace settings. Use this setting at your own risk; the default auto-approve rules are designed to protect you against running dangerous commands.",
|
|
289
293
|
`\`#${TerminalChatAgentToolsSettingId.AutoApprove}#\``
|
|
290
294
|
))
|
|
@@ -295,27 +299,27 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
295
299
|
default: true,
|
|
296
300
|
tags: ["experimental"],
|
|
297
301
|
markdownDescription: ( localize(
|
|
298
|
-
|
|
302
|
+
14001,
|
|
299
303
|
"Whether to automatically approve npm, yarn, and pnpm run commands when the script is defined in a workspace package.json file. Since the workspace is trusted, scripts defined in package.json are considered safe to run without explicit approval."
|
|
300
304
|
))
|
|
301
305
|
},
|
|
302
306
|
[TerminalChatAgentToolsSettingId.BlockDetectedFileWrites]: {
|
|
303
307
|
type: "string",
|
|
304
308
|
enum: ["never", "outsideWorkspace", "all"],
|
|
305
|
-
enumDescriptions: [( localize(
|
|
306
|
-
|
|
309
|
+
enumDescriptions: [( localize(14002, "Allow all detected file writes.")), ( localize(
|
|
310
|
+
14003,
|
|
307
311
|
"Block file writes detected outside the workspace. This depends on the shell integration feature working correctly to determine the current working directory of the terminal."
|
|
308
|
-
)), ( localize(
|
|
312
|
+
)), ( localize(14004, "Block all detected file writes."))],
|
|
309
313
|
default: "outsideWorkspace",
|
|
310
314
|
tags: ["experimental"],
|
|
311
315
|
markdownDescription: ( localize(
|
|
312
|
-
|
|
316
|
+
14005,
|
|
313
317
|
"Controls whether detected file write operations are blocked in the run in terminal tool. When detected, this will require explicit approval regardless of whether the command would normally be auto approved. Note that this cannot detect all possible methods of writing files, this is what is currently detected:\n\n- File redirection (detected via the bash or PowerShell tree sitter grammar)\n- `sed` in-place editing (`-i`, `-I`, `--in-place`)"
|
|
314
318
|
))
|
|
315
319
|
},
|
|
316
320
|
[TerminalChatAgentToolsSettingId.ShellIntegrationTimeout]: {
|
|
317
321
|
markdownDescription: ( localize(
|
|
318
|
-
|
|
322
|
+
14006,
|
|
319
323
|
"Configures the duration in milliseconds to wait for shell integration to be detected when the run in terminal tool launches a new terminal. Set to `0` to skip the wait entirely, the default value `-1` uses a variable wait time based on the value of {0} and whether it's a remote window. A large value can be useful if your shell starts very slowly.",
|
|
320
324
|
`\`#${TerminalSettingId.ShellIntegrationEnabled}#\``
|
|
321
325
|
)),
|
|
@@ -324,14 +328,14 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
324
328
|
maximum: 60000,
|
|
325
329
|
default: -1,
|
|
326
330
|
markdownDeprecationMessage: ( localize(
|
|
327
|
-
|
|
331
|
+
14007,
|
|
328
332
|
"Use {0} instead",
|
|
329
333
|
`\`#${TerminalSettingId.ShellIntegrationTimeout}#\``
|
|
330
334
|
))
|
|
331
335
|
},
|
|
332
336
|
[TerminalChatAgentToolsSettingId.IdlePollInterval]: {
|
|
333
337
|
markdownDescription: ( localize(
|
|
334
|
-
|
|
338
|
+
14008,
|
|
335
339
|
"Configures the idle poll interval in milliseconds used by the run in terminal tool to detect when commands have finished executing. Lower values make command detection faster but may cause false positives on slow systems. This primarily affects terminals without shell integration where idle detection is used instead of shell integration events."
|
|
336
340
|
)),
|
|
337
341
|
type: "integer",
|
|
@@ -342,7 +346,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
342
346
|
[TerminalChatAgentToolsSettingId.TerminalProfileLinux]: {
|
|
343
347
|
restricted: true,
|
|
344
348
|
markdownDescription: ( localize(
|
|
345
|
-
|
|
349
|
+
14009,
|
|
346
350
|
"The terminal profile to use on Linux for chat agent's run in terminal tool."
|
|
347
351
|
)),
|
|
348
352
|
type: ["object", "null"],
|
|
@@ -359,7 +363,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
359
363
|
[TerminalChatAgentToolsSettingId.TerminalProfileMacOs]: {
|
|
360
364
|
restricted: true,
|
|
361
365
|
markdownDescription: ( localize(
|
|
362
|
-
|
|
366
|
+
14010,
|
|
363
367
|
"The terminal profile to use on macOS for chat agent's run in terminal tool."
|
|
364
368
|
)),
|
|
365
369
|
type: ["object", "null"],
|
|
@@ -376,7 +380,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
376
380
|
[TerminalChatAgentToolsSettingId.TerminalProfileWindows]: {
|
|
377
381
|
restricted: true,
|
|
378
382
|
markdownDescription: ( localize(
|
|
379
|
-
|
|
383
|
+
14011,
|
|
380
384
|
"The terminal profile to use on Windows for chat agent's run in terminal tool."
|
|
381
385
|
)),
|
|
382
386
|
type: ["object", "null"],
|
|
@@ -395,25 +399,25 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
395
399
|
default: false,
|
|
396
400
|
tags: ["experimental"],
|
|
397
401
|
markdownDescription: ( localize(
|
|
398
|
-
|
|
402
|
+
14012,
|
|
399
403
|
"Whether to automatically respond to prompts in the terminal such as `Confirm? y/n`. This is an experimental feature and may not work in all scenarios.\n\n**This feature is inherently risky to use as you're deferring potentially sensitive decisions to an LLM. Use at your own risk.**"
|
|
400
404
|
))
|
|
401
405
|
},
|
|
402
406
|
[TerminalChatAgentToolsSettingId.OutputLocation]: {
|
|
403
|
-
markdownDescription: ( localize(
|
|
407
|
+
markdownDescription: ( localize(14013, "Where to show the output from the run in terminal tool.")),
|
|
404
408
|
type: "string",
|
|
405
409
|
enum: ["terminal", "chat"],
|
|
406
|
-
enumDescriptions: [( localize(
|
|
410
|
+
enumDescriptions: [( localize(14014, "Reveal the terminal in the panel or editor in addition to chat.")), ( localize(14015, "Reveal the terminal output within chat only."))],
|
|
407
411
|
default: "chat",
|
|
408
412
|
tags: ["experimental"],
|
|
409
413
|
experiment: {
|
|
410
414
|
mode: "auto"
|
|
411
415
|
}
|
|
412
416
|
},
|
|
413
|
-
[TerminalChatAgentToolsSettingId.
|
|
417
|
+
[TerminalChatAgentToolsSettingId.AgentSandboxEnabled]: {
|
|
414
418
|
markdownDescription: ( localize(
|
|
415
|
-
|
|
416
|
-
"Controls whether to
|
|
419
|
+
14016,
|
|
420
|
+
"Controls whether agent mode uses sandboxing to restrict what tools can do. When enabled, tools like the terminal are run in a sandboxed environment to limit access to the system."
|
|
417
421
|
)),
|
|
418
422
|
type: "boolean",
|
|
419
423
|
default: false,
|
|
@@ -423,11 +427,11 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
423
427
|
mode: "auto"
|
|
424
428
|
}
|
|
425
429
|
},
|
|
426
|
-
[TerminalChatAgentToolsSettingId.
|
|
430
|
+
[TerminalChatAgentToolsSettingId.AgentSandboxNetworkAllowedDomains]: {
|
|
427
431
|
markdownDescription: ( localize(
|
|
428
|
-
|
|
429
|
-
"Note: this setting is applicable only when {0} is enabled. Allowed domains for network access in
|
|
430
|
-
`\`#${TerminalChatAgentToolsSettingId.
|
|
432
|
+
14017,
|
|
433
|
+
"Note: this setting is applicable only when {0} is enabled. Allowed domains for network access in sandbox. Supports wildcards like {1} and an empty list means no network access.",
|
|
434
|
+
`\`#${TerminalChatAgentToolsSettingId.AgentSandboxEnabled}#\``,
|
|
431
435
|
"`*.example.com`"
|
|
432
436
|
)),
|
|
433
437
|
type: "array",
|
|
@@ -438,12 +442,12 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
438
442
|
tags: ["preview"],
|
|
439
443
|
restricted: true
|
|
440
444
|
},
|
|
441
|
-
[TerminalChatAgentToolsSettingId.
|
|
445
|
+
[TerminalChatAgentToolsSettingId.AgentSandboxNetworkDeniedDomains]: {
|
|
442
446
|
markdownDescription: ( localize(
|
|
443
|
-
|
|
444
|
-
"Note: this setting is applicable only when {0} is enabled. Array of denied domains for network access in
|
|
445
|
-
`\`#${TerminalChatAgentToolsSettingId.
|
|
446
|
-
`\`#${TerminalChatAgentToolsSettingId.
|
|
447
|
+
14018,
|
|
448
|
+
"Note: this setting is applicable only when {0} is enabled. Array of denied domains for network access in sandbox (checked first, takes precedence over {1}).",
|
|
449
|
+
`\`#${TerminalChatAgentToolsSettingId.AgentSandboxEnabled}#\``,
|
|
450
|
+
`\`#${TerminalChatAgentToolsSettingId.AgentSandboxNetworkAllowedDomains}#\``
|
|
447
451
|
)),
|
|
448
452
|
type: "array",
|
|
449
453
|
items: {
|
|
@@ -453,29 +457,18 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
453
457
|
tags: ["preview"],
|
|
454
458
|
restricted: true
|
|
455
459
|
},
|
|
456
|
-
[TerminalChatAgentToolsSettingId.
|
|
460
|
+
[TerminalChatAgentToolsSettingId.AgentSandboxLinuxFileSystem]: {
|
|
457
461
|
markdownDescription: ( localize(
|
|
458
|
-
|
|
459
|
-
"Note: this setting is applicable only when {0} is enabled.
|
|
460
|
-
`\`#${TerminalChatAgentToolsSettingId.
|
|
461
|
-
)),
|
|
462
|
-
type: "boolean",
|
|
463
|
-
default: false,
|
|
464
|
-
tags: ["preview"],
|
|
465
|
-
restricted: true
|
|
466
|
-
},
|
|
467
|
-
[TerminalChatAgentToolsSettingId.TerminalSandboxLinuxFileSystem]: {
|
|
468
|
-
markdownDescription: ( localize(
|
|
469
|
-
13945,
|
|
470
|
-
"Note: this setting is applicable only when {0} is enabled. Controls file system access in the terminal sandbox on Linux. Paths do not support glob patterns, only literal paths (ex: ./src/, ~/.ssh, .env). **bubblewrap** and **socat** should be installed for this setting to work.",
|
|
471
|
-
`\`#${TerminalChatAgentToolsSettingId.TerminalSandboxEnabled}#\``
|
|
462
|
+
14019,
|
|
463
|
+
"Note: this setting is applicable only when {0} is enabled. Controls file system access in sandbox on Linux. Paths do not support glob patterns, only literal paths (ex: ./src/, ~/.ssh, .env). **bubblewrap** and **socat** should be installed for this setting to work.",
|
|
464
|
+
`\`#${TerminalChatAgentToolsSettingId.AgentSandboxEnabled}#\``
|
|
472
465
|
)),
|
|
473
466
|
type: "object",
|
|
474
467
|
properties: {
|
|
475
468
|
denyRead: {
|
|
476
469
|
type: "array",
|
|
477
470
|
description: ( localize(
|
|
478
|
-
|
|
471
|
+
14020,
|
|
479
472
|
"Array of paths to deny read access. Leave empty to allow reading all paths."
|
|
480
473
|
)),
|
|
481
474
|
items: {
|
|
@@ -486,7 +479,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
486
479
|
allowWrite: {
|
|
487
480
|
type: "array",
|
|
488
481
|
description: ( localize(
|
|
489
|
-
|
|
482
|
+
14021,
|
|
490
483
|
"Array of paths to allow write access. Leave empty to disallow all writes."
|
|
491
484
|
)),
|
|
492
485
|
items: {
|
|
@@ -497,7 +490,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
497
490
|
denyWrite: {
|
|
498
491
|
type: "array",
|
|
499
492
|
description: ( localize(
|
|
500
|
-
|
|
493
|
+
14022,
|
|
501
494
|
"Array of paths to deny write access within allowed paths (takes precedence over allowWrite)."
|
|
502
495
|
)),
|
|
503
496
|
items: {
|
|
@@ -514,18 +507,18 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
514
507
|
tags: ["preview"],
|
|
515
508
|
restricted: true
|
|
516
509
|
},
|
|
517
|
-
[TerminalChatAgentToolsSettingId.
|
|
510
|
+
[TerminalChatAgentToolsSettingId.AgentSandboxMacFileSystem]: {
|
|
518
511
|
markdownDescription: ( localize(
|
|
519
|
-
|
|
520
|
-
"Note: this setting is applicable only when {0} is enabled. Controls file system access in
|
|
521
|
-
`\`#${TerminalChatAgentToolsSettingId.
|
|
512
|
+
14023,
|
|
513
|
+
"Note: this setting is applicable only when {0} is enabled. Controls file system access in sandbox on macOS. Paths also support git-style glob patterns(ex: *.ts, ./src, ./src/**/*.ts, file?.txt).",
|
|
514
|
+
`\`#${TerminalChatAgentToolsSettingId.AgentSandboxEnabled}#\``
|
|
522
515
|
)),
|
|
523
516
|
type: "object",
|
|
524
517
|
properties: {
|
|
525
518
|
denyRead: {
|
|
526
519
|
type: "array",
|
|
527
520
|
description: ( localize(
|
|
528
|
-
|
|
521
|
+
14024,
|
|
529
522
|
"Array of paths to deny read access. Leave empty to allow reading all paths."
|
|
530
523
|
)),
|
|
531
524
|
items: {
|
|
@@ -536,7 +529,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
536
529
|
allowWrite: {
|
|
537
530
|
type: "array",
|
|
538
531
|
description: ( localize(
|
|
539
|
-
|
|
532
|
+
14025,
|
|
540
533
|
"Array of paths to allow write access. Leave empty to disallow all writes."
|
|
541
534
|
)),
|
|
542
535
|
items: {
|
|
@@ -547,7 +540,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
547
540
|
denyWrite: {
|
|
548
541
|
type: "array",
|
|
549
542
|
description: ( localize(
|
|
550
|
-
|
|
543
|
+
14026,
|
|
551
544
|
"Array of paths to deny write access within allowed paths (takes precedence over allowWrite)."
|
|
552
545
|
)),
|
|
553
546
|
items: {
|
|
@@ -568,19 +561,19 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
568
561
|
type: "boolean",
|
|
569
562
|
default: true,
|
|
570
563
|
markdownDescription: [( localize(
|
|
571
|
-
|
|
564
|
+
14027,
|
|
572
565
|
"Whether to exclude commands run by the terminal tool from the shell history. See below for the supported shells and the method used for each:"
|
|
573
566
|
)), `- \`bash\`: ${( localize(
|
|
574
|
-
|
|
567
|
+
14028,
|
|
575
568
|
"Sets `HISTCONTROL=ignorespace` and prepends the command with space"
|
|
576
569
|
))}`, `- \`zsh\`: ${( localize(
|
|
577
|
-
|
|
570
|
+
14029,
|
|
578
571
|
"Sets `HIST_IGNORE_SPACE` option and prepends the command with space"
|
|
579
572
|
))}`, `- \`fish\`: ${( localize(
|
|
580
|
-
|
|
573
|
+
14030,
|
|
581
574
|
"Sets `fish_private_mode` to prevent any command from entering history"
|
|
582
575
|
))}`, `- \`pwsh\`: ${( localize(
|
|
583
|
-
|
|
576
|
+
14031,
|
|
584
577
|
"Sets a custom history handler via PSReadLine's `AddToHistoryHandler` to prevent any command from entering history"
|
|
585
578
|
))}`].join("\n")
|
|
586
579
|
},
|
|
@@ -593,7 +586,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
593
586
|
mode: "auto"
|
|
594
587
|
},
|
|
595
588
|
markdownDescription: ( localize(
|
|
596
|
-
|
|
589
|
+
14032,
|
|
597
590
|
"Whether to enforce the timeout value provided by the model in the run in terminal tool. When enabled, if the model provides a timeout parameter, the tool will stop tracking the command after that duration and return the output collected so far."
|
|
598
591
|
))
|
|
599
592
|
}
|
|
@@ -608,7 +601,7 @@ for (const id of [
|
|
|
608
601
|
terminalChatAgentToolsConfiguration[id] = {
|
|
609
602
|
deprecated: true,
|
|
610
603
|
markdownDeprecationMessage: ( localize(
|
|
611
|
-
|
|
604
|
+
14033,
|
|
612
605
|
"Use {0} instead",
|
|
613
606
|
`\`#${TerminalChatAgentToolsSettingId.AutoApprove}#\``
|
|
614
607
|
))
|
|
@@ -618,11 +611,61 @@ terminalChatAgentToolsConfiguration[TerminalChatAgentToolsSettingId.DeprecatedTe
|
|
|
618
611
|
type: "object",
|
|
619
612
|
deprecated: true,
|
|
620
613
|
markdownDeprecationMessage: ( localize(
|
|
621
|
-
|
|
622
|
-
"This setting has been split into {0}
|
|
623
|
-
`\`#${TerminalChatAgentToolsSettingId.
|
|
624
|
-
`\`#${TerminalChatAgentToolsSettingId.
|
|
625
|
-
|
|
614
|
+
14034,
|
|
615
|
+
"This setting has been split into {0} and {1}.",
|
|
616
|
+
`\`#${TerminalChatAgentToolsSettingId.AgentSandboxNetworkAllowedDomains}#\``,
|
|
617
|
+
`\`#${TerminalChatAgentToolsSettingId.AgentSandboxNetworkDeniedDomains}#\``
|
|
618
|
+
))
|
|
619
|
+
};
|
|
620
|
+
terminalChatAgentToolsConfiguration[TerminalChatAgentToolsSettingId.DeprecatedTerminalSandboxEnabled] = {
|
|
621
|
+
type: "boolean",
|
|
622
|
+
deprecated: true,
|
|
623
|
+
markdownDeprecationMessage: ( localize(
|
|
624
|
+
14035,
|
|
625
|
+
"Use {0} instead",
|
|
626
|
+
`\`#${TerminalChatAgentToolsSettingId.AgentSandboxEnabled}#\``
|
|
627
|
+
))
|
|
628
|
+
};
|
|
629
|
+
terminalChatAgentToolsConfiguration[TerminalChatAgentToolsSettingId.DeprecatedTerminalSandboxNetworkAllowedDomains] = {
|
|
630
|
+
type: "array",
|
|
631
|
+
items: {
|
|
632
|
+
type: "string"
|
|
633
|
+
},
|
|
634
|
+
deprecated: true,
|
|
635
|
+
markdownDeprecationMessage: ( localize(
|
|
636
|
+
14036,
|
|
637
|
+
"Use {0} instead",
|
|
638
|
+
`\`#${TerminalChatAgentToolsSettingId.AgentSandboxNetworkAllowedDomains}#\``
|
|
639
|
+
))
|
|
640
|
+
};
|
|
641
|
+
terminalChatAgentToolsConfiguration[TerminalChatAgentToolsSettingId.DeprecatedTerminalSandboxNetworkDeniedDomains] = {
|
|
642
|
+
type: "array",
|
|
643
|
+
items: {
|
|
644
|
+
type: "string"
|
|
645
|
+
},
|
|
646
|
+
deprecated: true,
|
|
647
|
+
markdownDeprecationMessage: ( localize(
|
|
648
|
+
14037,
|
|
649
|
+
"Use {0} instead",
|
|
650
|
+
`\`#${TerminalChatAgentToolsSettingId.AgentSandboxNetworkDeniedDomains}#\``
|
|
651
|
+
))
|
|
652
|
+
};
|
|
653
|
+
terminalChatAgentToolsConfiguration[TerminalChatAgentToolsSettingId.DeprecatedTerminalSandboxLinuxFileSystem] = {
|
|
654
|
+
type: "object",
|
|
655
|
+
deprecated: true,
|
|
656
|
+
markdownDeprecationMessage: ( localize(
|
|
657
|
+
14038,
|
|
658
|
+
"Use {0} instead",
|
|
659
|
+
`\`#${TerminalChatAgentToolsSettingId.AgentSandboxLinuxFileSystem}#\``
|
|
660
|
+
))
|
|
661
|
+
};
|
|
662
|
+
terminalChatAgentToolsConfiguration[TerminalChatAgentToolsSettingId.DeprecatedTerminalSandboxMacFileSystem] = {
|
|
663
|
+
type: "object",
|
|
664
|
+
deprecated: true,
|
|
665
|
+
markdownDeprecationMessage: ( localize(
|
|
666
|
+
14039,
|
|
667
|
+
"Use {0} instead",
|
|
668
|
+
`\`#${TerminalChatAgentToolsSettingId.AgentSandboxMacFileSystem}#\``
|
|
626
669
|
))
|
|
627
670
|
};
|
|
628
671
|
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
+
import { CancellationToken } from "../../../../../base/common/cancellation.js";
|
|
1
2
|
import { OperatingSystem } from "../../../../../base/common/platform.js";
|
|
2
3
|
import { URI } from "../../../../../base/common/uri.js";
|
|
3
|
-
import { ITerminalSandboxResolvedNetworkDomains } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService";
|
|
4
|
+
import { ITerminalSandboxPrerequisiteCheckResult, ITerminalSandboxResolvedNetworkDomains, ISandboxDependencyInstallOptions, ISandboxDependencyInstallResult } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService";
|
|
4
5
|
export declare const ITerminalSandboxService: import("../../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ITerminalSandboxService>;
|
|
5
6
|
export interface ITerminalSandboxService {
|
|
6
7
|
readonly _serviceBrand: undefined;
|
|
7
8
|
isEnabled(): Promise<boolean>;
|
|
8
9
|
getOS(): Promise<OperatingSystem>;
|
|
9
|
-
|
|
10
|
+
checkForSandboxingPrereqs(forceRefresh?: boolean): Promise<ITerminalSandboxPrerequisiteCheckResult>;
|
|
11
|
+
wrapCommand(command: string, requestUnsandboxedExecution?: boolean): string;
|
|
10
12
|
getSandboxConfigPath(forceRefresh?: boolean): Promise<string | undefined>;
|
|
11
13
|
getTempDir(): URI | undefined;
|
|
12
14
|
setNeedsForceUpdateConfigFile(): void;
|
|
13
15
|
getResolvedNetworkDomains(): ITerminalSandboxResolvedNetworkDomains;
|
|
16
|
+
getMissingSandboxDependencies(): Promise<string[]>;
|
|
17
|
+
installMissingSandboxDependencies(missingDependencies: string[], sessionResource: URI | undefined, token: CancellationToken, options: ISandboxDependencyInstallOptions): Promise<ISandboxDependencyInstallResult>;
|
|
14
18
|
}
|
|
@@ -10,7 +10,7 @@ const terminalCommandGuideConfiguration = {
|
|
|
10
10
|
[TerminalCommandGuideSettingId.ShowCommandGuide]: {
|
|
11
11
|
restricted: true,
|
|
12
12
|
markdownDescription: ( localize(
|
|
13
|
-
|
|
13
|
+
14058,
|
|
14
14
|
"Whether to show the command guide when hovering over a command in the terminal."
|
|
15
15
|
)),
|
|
16
16
|
type: "boolean",
|
|
@@ -19,7 +19,7 @@ const terminalHistoryConfiguration = {
|
|
|
19
19
|
[TerminalHistorySettingId.ShellIntegrationCommandHistory]: {
|
|
20
20
|
restricted: true,
|
|
21
21
|
markdownDescription: ( localize(
|
|
22
|
-
|
|
22
|
+
14119,
|
|
23
23
|
"Controls the number of recently used commands to keep in the terminal command history. Set to 0 to disable terminal command history."
|
|
24
24
|
)),
|
|
25
25
|
type: "number",
|
|
@@ -10,7 +10,7 @@ const terminalInitialHintConfiguration = {
|
|
|
10
10
|
[TerminalInitialHintSettingId.Enabled]: {
|
|
11
11
|
restricted: true,
|
|
12
12
|
markdownDescription: ( localize(
|
|
13
|
-
|
|
13
|
+
14130,
|
|
14
14
|
"Controls if the first terminal without input will show a hint about available actions when it is focused. This will only show when {0} is disabled.",
|
|
15
15
|
`\`#${TerminalSettingId.SendKeybindingsToShell}#\``
|
|
16
16
|
)),
|
|
@@ -10,7 +10,7 @@ var TerminalOscNotificationsSettingId;
|
|
|
10
10
|
const terminalOscNotificationsConfiguration = {
|
|
11
11
|
[TerminalOscNotificationsSettingId.EnableNotifications]: {
|
|
12
12
|
description: ( localize(
|
|
13
|
-
|
|
13
|
+
14157,
|
|
14
14
|
"Controls whether notifications sent from the terminal via OSC 99 are shown. This uses notifications inside the product instead of desktop notifications. Sounds, icons and filtering are not supported."
|
|
15
15
|
)),
|
|
16
16
|
type: "boolean",
|
|
@@ -11,7 +11,7 @@ var TerminalStickyScrollSettingId;
|
|
|
11
11
|
const terminalStickyScrollConfiguration = {
|
|
12
12
|
[TerminalStickyScrollSettingId.Enabled]: {
|
|
13
13
|
markdownDescription: ( localize(
|
|
14
|
-
|
|
14
|
+
14201,
|
|
15
15
|
"Shows the current command at the top of the terminal. This feature requires [shell integration]({0}) to be activated. See {1}.",
|
|
16
16
|
"https://code.visualstudio.com/docs/terminal/shell-integration",
|
|
17
17
|
`\`#${TerminalSettingId.ShellIntegrationEnabled}#\``
|
|
@@ -21,7 +21,7 @@ const terminalStickyScrollConfiguration = {
|
|
|
21
21
|
},
|
|
22
22
|
[TerminalStickyScrollSettingId.MaxLineCount]: {
|
|
23
23
|
markdownDescription: ( localize(
|
|
24
|
-
|
|
24
|
+
14202,
|
|
25
25
|
"Defines the maximum number of sticky lines to show. Sticky scroll lines will never exceed 40% of the viewport regardless of this setting."
|
|
26
26
|
)),
|
|
27
27
|
type: "number",
|
|
@@ -31,7 +31,7 @@ const terminalStickyScrollConfiguration = {
|
|
|
31
31
|
},
|
|
32
32
|
[TerminalStickyScrollSettingId.IgnoredCommands]: {
|
|
33
33
|
markdownDescription: ( localize(
|
|
34
|
-
|
|
34
|
+
14203,
|
|
35
35
|
"A list of commands that should not trigger sticky scroll. When a command from this list is detected, the sticky scroll overlay will be hidden."
|
|
36
36
|
)),
|
|
37
37
|
type: "array",
|