@codingame/monaco-vscode-api 32.0.0 → 32.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -8
- package/services.js +3 -3
- package/vscode/src/vs/base/common/paging.js +66 -2
- package/vscode/src/vs/platform/extensionManagement/common/unsupportedExtensionsMigration.d.ts +14 -0
- package/vscode/src/vs/platform/extensionManagement/common/unsupportedExtensionsMigration.js +145 -0
- package/vscode/src/vs/platform/extensionRecommendations/common/extensionRecommendations.d.ts +19 -0
- package/vscode/src/vs/platform/extensionRecommendations/common/extensionRecommendations.js +25 -0
- package/vscode/src/vs/platform/extensionRecommendations/common/extensionRecommendations.service.d.ts +1 -1
- package/vscode/src/vs/platform/product/common/product.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatScreenshotContext.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +3 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +43 -43
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.js +86 -86
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.js +2 -2
- 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.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatToolInvocation.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +13 -13
- 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 +79 -79
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.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/reviewPlanTool.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactRulesTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.js +4 -4
- 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.js +6 -6
- 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 +12 -12
- 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/customEditorDiffInput.js +2 -2
- 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.d.ts +76 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/abstractRuntimeExtensionsEditor.js +470 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/configBasedRecommendations.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/configBasedRecommendations.js +83 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/exeBasedRecommendations.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/exeBasedRecommendations.js +66 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEditor.d.ts +83 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEditor.js +1353 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementWorkspaceTrustTransitionParticipant.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementWorkspaceTrustTransitionParticipant.js +49 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionFeaturesTab.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionFeaturesTab.js +728 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationNotificationService.d.ts +63 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationNotificationService.js +522 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendations.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendations.js +18 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationsService.d.ts +71 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationsService.js +263 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensions.contribution.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensions.contribution.js +2227 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +179 -179
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActivationProgress.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActivationProgress.js +40 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.js +77 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsDependencyChecker.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsDependencyChecker.js +93 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +25 -25
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsQuickAccess.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsQuickAccess.js +100 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewer.js +7 -7
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.d.ts +151 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.js +1031 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.d.ts +235 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.js +1600 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.js +30 -30
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.d.ts +314 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.js +3449 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.d.ts +44 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.js +368 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/keymapRecommendations.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/keymapRecommendations.js +30 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/languageRecommendations.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/languageRecommendations.js +30 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionEditor.css +910 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionManagement.css +12 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionsViewlet.css +229 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/loading-dark.svg +31 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/loading-hc.svg +31 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/loading.svg +31 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/runtimeExtensionsEditor.css +86 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/remoteRecommendations.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/remoteRecommendations.js +38 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/unsupportedExtensionsMigrationContribution.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/unsupportedExtensionsMigrationContribution.js +41 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/webRecommendations.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/webRecommendations.js +38 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/workspaceRecommendations.d.ts +33 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/workspaceRecommendations.js +179 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionQuery.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionQuery.js +90 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +50 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +3 -3
- package/vscode/src/vs/workbench/contrib/extensions/common/runtimeExtensionsInput.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/runtimeExtensionsInput.js +47 -0
- 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 +28 -28
- 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/common/mcpConfiguration.js +42 -42
- 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/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 +24 -24
- 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/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.js +9 -9
- 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/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.js +2 -2
- 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 +6 -6
- 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/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.js +40 -40
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +15 -15
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +10 -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/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/chat/browser/terminalChat.js +9 -9
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.js +72 -72
- 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 +2 -2
- 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/welcomeOnboarding/common/onboardingTypes.js +14 -14
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.d.ts +35 -0
- package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.js +876 -0
- 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.js +16 -16
- 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 +2 -2
- 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/policies/common/accountPolicyService.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/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
|
@@ -36,9 +36,9 @@ var TerminalChatAgentToolsSettingId;
|
|
|
36
36
|
const autoApproveBoolean = {
|
|
37
37
|
type: "boolean",
|
|
38
38
|
enum: [true, false],
|
|
39
|
-
enumDescriptions: [( localize(
|
|
39
|
+
enumDescriptions: [( localize(14448, "Automatically approve the pattern.")), ( localize(14449, "Require explicit approval for the pattern."))],
|
|
40
40
|
description: ( localize(
|
|
41
|
-
|
|
41
|
+
14450,
|
|
42
42
|
"The start of a command to match against. A regular expression can be provided by wrapping the string in `/` characters."
|
|
43
43
|
))
|
|
44
44
|
};
|
|
@@ -47,7 +47,7 @@ const terminalChatAgentProfileSchema = {
|
|
|
47
47
|
required: ["path"],
|
|
48
48
|
properties: {
|
|
49
49
|
path: {
|
|
50
|
-
description: ( localize(
|
|
50
|
+
description: ( localize(14451, "A path to a shell executable.")),
|
|
51
51
|
type: "string"
|
|
52
52
|
},
|
|
53
53
|
...terminalProfileBaseProperties
|
|
@@ -56,7 +56,7 @@ const terminalChatAgentProfileSchema = {
|
|
|
56
56
|
const terminalChatAgentToolsConfiguration = {
|
|
57
57
|
[TerminalChatAgentToolsSettingId.EnableAutoApprove]: {
|
|
58
58
|
description: ( localize(
|
|
59
|
-
|
|
59
|
+
14452,
|
|
60
60
|
"Controls whether to allow auto approval in the run in terminal tool."
|
|
61
61
|
)),
|
|
62
62
|
type: "boolean",
|
|
@@ -69,7 +69,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
69
69
|
description: {
|
|
70
70
|
key: "autoApproveMode.description",
|
|
71
71
|
value: ( localize(
|
|
72
|
-
|
|
72
|
+
14452,
|
|
73
73
|
"Controls whether to allow auto approval in the run in terminal tool."
|
|
74
74
|
))
|
|
75
75
|
}
|
|
@@ -81,18 +81,18 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
81
81
|
},
|
|
82
82
|
[TerminalChatAgentToolsSettingId.AutoApprove]: {
|
|
83
83
|
markdownDescription: [( localize(
|
|
84
|
-
|
|
84
|
+
14453,
|
|
85
85
|
"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.",
|
|
86
86
|
"`/`",
|
|
87
87
|
"`i`"
|
|
88
88
|
)), ( localize(
|
|
89
|
-
|
|
89
|
+
14454,
|
|
90
90
|
"Set to {0} to automatically approve commands, {1} to always require explicit approval or {2} to unset the value.",
|
|
91
91
|
"`true`",
|
|
92
92
|
"`false`",
|
|
93
93
|
"`null`"
|
|
94
94
|
)), ( localize(
|
|
95
|
-
|
|
95
|
+
14455,
|
|
96
96
|
"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.",
|
|
97
97
|
"`foo && bar`",
|
|
98
98
|
"`foo`",
|
|
@@ -101,34 +101,34 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
101
101
|
"`false`",
|
|
102
102
|
"`<(foo)`"
|
|
103
103
|
)), ( localize(
|
|
104
|
-
|
|
104
|
+
14456,
|
|
105
105
|
"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.",
|
|
106
106
|
"`{ approve: false, matchCommandLine: true }`"
|
|
107
107
|
)), ( localize(
|
|
108
|
-
|
|
108
|
+
14457,
|
|
109
109
|
"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.",
|
|
110
110
|
`\`#${TerminalChatAgentToolsSettingId.IgnoreDefaultAutoApproveRules}#\``,
|
|
111
111
|
"`true`"
|
|
112
|
-
)), [( localize(
|
|
113
|
-
|
|
112
|
+
)), [( localize(14458, "Examples:")), `|${( localize(14459, "Value"))}|${( localize(14460, "Description"))}|`, "|---|---|", "| `\"mkdir\": true` | " + ( localize(14461, "Allow all commands starting with {0}", "`mkdir`")), "| `\"npm run build\": true` | " + ( localize(14462, "Allow all commands starting with {0}", "`npm run build`")), "| `\"bin/test.sh\": true` | " + ( localize(
|
|
113
|
+
14463,
|
|
114
114
|
"Allow all commands that match the path {0} ({1}, {2}, etc.)",
|
|
115
115
|
"`bin/test.sh`",
|
|
116
116
|
"`bin\\test.sh`",
|
|
117
117
|
"`./bin/test.sh`"
|
|
118
118
|
)), "| `\"/^git (status\\|show\\\\b.*)$/\": true` | " + ( localize(
|
|
119
|
-
|
|
119
|
+
14464,
|
|
120
120
|
"Allow {0} and all commands starting with {1}",
|
|
121
121
|
"`git status`",
|
|
122
122
|
"`git show`"
|
|
123
|
-
)), "| `\"/^Get-ChildItem\\\\b/i\": true` | " + ( localize(
|
|
124
|
-
|
|
123
|
+
)), "| `\"/^Get-ChildItem\\\\b/i\": true` | " + ( localize(14465, "will allow {0} commands regardless of casing", "`Get-ChildItem`")), "| `\"/.*/\": true` | " + ( localize(14466, "Allow all commands (denied commands still require approval)")), "| `\"rm\": false` | " + ( localize(
|
|
124
|
+
14467,
|
|
125
125
|
"Require explicit approval for all commands starting with {0}",
|
|
126
126
|
"`rm`"
|
|
127
127
|
)), "| `\"/\\\\.ps1/i\": { approve: false, matchCommandLine: true }` | " + ( localize(
|
|
128
|
-
|
|
128
|
+
14468,
|
|
129
129
|
"Require explicit approval for any _command line_ that contains {0} regardless of casing",
|
|
130
130
|
"`\".ps1\"`"
|
|
131
|
-
)), "| `\"rm\": null` | " + ( localize(
|
|
131
|
+
)), "| `\"rm\": null` | " + ( localize(14469, "Unset the default {0} value for {1}", "`false`", "`rm`"))].join("\n")].join("\n\n"),
|
|
132
132
|
type: "object",
|
|
133
133
|
additionalProperties: {
|
|
134
134
|
anyOf: [autoApproveBoolean, {
|
|
@@ -138,12 +138,12 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
138
138
|
matchCommandLine: {
|
|
139
139
|
type: "boolean",
|
|
140
140
|
enum: [true, false],
|
|
141
|
-
enumDescriptions: [( localize(
|
|
142
|
-
|
|
141
|
+
enumDescriptions: [( localize(14470, "Match against the full command line, eg. `foo && bar`.")), ( localize(
|
|
142
|
+
14471,
|
|
143
143
|
"Match against sub-commands and inline commands, eg. `foo && bar` will need both `foo` and `bar` to match."
|
|
144
144
|
))],
|
|
145
145
|
description: ( localize(
|
|
146
|
-
|
|
146
|
+
14472,
|
|
147
147
|
"Whether to match against the full command line, as opposed to splitting by sub-commands and inline commands."
|
|
148
148
|
))
|
|
149
149
|
}
|
|
@@ -152,7 +152,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
152
152
|
}, {
|
|
153
153
|
type: "null",
|
|
154
154
|
description: ( localize(
|
|
155
|
-
|
|
155
|
+
14473,
|
|
156
156
|
"Ignore the pattern, this is useful for unsetting the same pattern set at a higher scope."
|
|
157
157
|
))
|
|
158
158
|
}]
|
|
@@ -287,7 +287,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
287
287
|
default: false,
|
|
288
288
|
tags: ["experimental"],
|
|
289
289
|
markdownDescription: ( localize(
|
|
290
|
-
|
|
290
|
+
14474,
|
|
291
291
|
"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.",
|
|
292
292
|
`\`#${TerminalChatAgentToolsSettingId.AutoApprove}#\``
|
|
293
293
|
))
|
|
@@ -298,27 +298,27 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
298
298
|
default: true,
|
|
299
299
|
tags: ["experimental"],
|
|
300
300
|
markdownDescription: ( localize(
|
|
301
|
-
|
|
301
|
+
14475,
|
|
302
302
|
"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."
|
|
303
303
|
))
|
|
304
304
|
},
|
|
305
305
|
[TerminalChatAgentToolsSettingId.BlockDetectedFileWrites]: {
|
|
306
306
|
type: "string",
|
|
307
307
|
enum: ["never", "outsideWorkspace", "all"],
|
|
308
|
-
enumDescriptions: [( localize(
|
|
309
|
-
|
|
308
|
+
enumDescriptions: [( localize(14476, "Allow all detected file writes.")), ( localize(
|
|
309
|
+
14477,
|
|
310
310
|
"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."
|
|
311
|
-
)), ( localize(
|
|
311
|
+
)), ( localize(14478, "Block all detected file writes."))],
|
|
312
312
|
default: "outsideWorkspace",
|
|
313
313
|
tags: ["experimental"],
|
|
314
314
|
markdownDescription: ( localize(
|
|
315
|
-
|
|
315
|
+
14479,
|
|
316
316
|
"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`)"
|
|
317
317
|
))
|
|
318
318
|
},
|
|
319
319
|
[TerminalChatAgentToolsSettingId.ShellIntegrationTimeout]: {
|
|
320
320
|
markdownDescription: ( localize(
|
|
321
|
-
|
|
321
|
+
14480,
|
|
322
322
|
"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.",
|
|
323
323
|
`\`#${TerminalSettingId.ShellIntegrationEnabled}#\``
|
|
324
324
|
)),
|
|
@@ -327,14 +327,14 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
327
327
|
maximum: 60000,
|
|
328
328
|
default: -1,
|
|
329
329
|
markdownDeprecationMessage: ( localize(
|
|
330
|
-
|
|
330
|
+
14481,
|
|
331
331
|
"Use {0} instead",
|
|
332
332
|
`\`#${TerminalSettingId.ShellIntegrationTimeout}#\``
|
|
333
333
|
))
|
|
334
334
|
},
|
|
335
335
|
[TerminalChatAgentToolsSettingId.IdlePollInterval]: {
|
|
336
336
|
markdownDescription: ( localize(
|
|
337
|
-
|
|
337
|
+
14482,
|
|
338
338
|
"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."
|
|
339
339
|
)),
|
|
340
340
|
type: "integer",
|
|
@@ -345,7 +345,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
345
345
|
[TerminalChatAgentToolsSettingId.TerminalProfileLinux]: {
|
|
346
346
|
restricted: true,
|
|
347
347
|
markdownDescription: ( localize(
|
|
348
|
-
|
|
348
|
+
14483,
|
|
349
349
|
"The terminal profile to use on Linux for chat agent's run in terminal tool."
|
|
350
350
|
)),
|
|
351
351
|
type: ["object", "null"],
|
|
@@ -362,7 +362,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
362
362
|
[TerminalChatAgentToolsSettingId.TerminalProfileMacOs]: {
|
|
363
363
|
restricted: true,
|
|
364
364
|
markdownDescription: ( localize(
|
|
365
|
-
|
|
365
|
+
14484,
|
|
366
366
|
"The terminal profile to use on macOS for chat agent's run in terminal tool."
|
|
367
367
|
)),
|
|
368
368
|
type: ["object", "null"],
|
|
@@ -379,7 +379,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
379
379
|
[TerminalChatAgentToolsSettingId.TerminalProfileWindows]: {
|
|
380
380
|
restricted: true,
|
|
381
381
|
markdownDescription: ( localize(
|
|
382
|
-
|
|
382
|
+
14485,
|
|
383
383
|
"The terminal profile to use on Windows for chat agent's run in terminal tool."
|
|
384
384
|
)),
|
|
385
385
|
type: ["object", "null"],
|
|
@@ -394,10 +394,10 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
394
394
|
}]
|
|
395
395
|
},
|
|
396
396
|
[TerminalChatAgentToolsSettingId.OutputLocation]: {
|
|
397
|
-
markdownDescription: ( localize(
|
|
397
|
+
markdownDescription: ( localize(14486, "Where to show the output from the run in terminal tool.")),
|
|
398
398
|
type: "string",
|
|
399
399
|
enum: ["terminal", "chat"],
|
|
400
|
-
enumDescriptions: [( localize(
|
|
400
|
+
enumDescriptions: [( localize(14487, "Reveal the terminal in the panel or editor in addition to chat.")), ( localize(14488, "Reveal the terminal output within chat only."))],
|
|
401
401
|
default: "chat",
|
|
402
402
|
tags: ["experimental"],
|
|
403
403
|
experiment: {
|
|
@@ -406,7 +406,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
406
406
|
},
|
|
407
407
|
[AgentSandboxSettingId.AgentSandboxEnabled]: {
|
|
408
408
|
markdownDescription: ( localize(
|
|
409
|
-
|
|
409
|
+
14489,
|
|
410
410
|
"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."
|
|
411
411
|
)),
|
|
412
412
|
type: "string",
|
|
@@ -415,8 +415,8 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
415
415
|
AgentSandboxEnabledValue.On,
|
|
416
416
|
AgentSandboxEnabledValue.AllowNetwork
|
|
417
417
|
],
|
|
418
|
-
enumDescriptions: [( localize(
|
|
419
|
-
|
|
418
|
+
enumDescriptions: [( localize(14490, "Disable sandboxing for agent mode tools.")), ( localize(14491, "Enable sandboxing for agent mode tools.")), ( localize(
|
|
419
|
+
14492,
|
|
420
420
|
"Enable sandboxing for agent mode tools and allow all network domains."
|
|
421
421
|
))],
|
|
422
422
|
default: AgentSandboxEnabledValue.Off,
|
|
@@ -433,20 +433,20 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
433
433
|
description: {
|
|
434
434
|
key: "agentSandbox.enabledSetting",
|
|
435
435
|
value: ( localize(
|
|
436
|
-
|
|
436
|
+
14489,
|
|
437
437
|
"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."
|
|
438
438
|
))
|
|
439
439
|
},
|
|
440
440
|
enumDescriptions: [{
|
|
441
441
|
key: "agentSandbox.enabledSetting.offDescription",
|
|
442
|
-
value: ( localize(
|
|
442
|
+
value: ( localize(14490, "Disable sandboxing for agent mode tools."))
|
|
443
443
|
}, {
|
|
444
444
|
key: "agentSandbox.enabledSetting.onDescription",
|
|
445
|
-
value: ( localize(
|
|
445
|
+
value: ( localize(14491, "Enable sandboxing for agent mode tools."))
|
|
446
446
|
}, {
|
|
447
447
|
key: "agentSandbox.enabledSetting.allowNetworkDescription",
|
|
448
448
|
value: ( localize(
|
|
449
|
-
|
|
449
|
+
14492,
|
|
450
450
|
"Enable sandboxing for agent mode tools and allow all network domains."
|
|
451
451
|
))
|
|
452
452
|
}]
|
|
@@ -455,7 +455,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
455
455
|
},
|
|
456
456
|
[AgentSandboxSettingId.AgentSandboxAllowUnsandboxedCommands]: {
|
|
457
457
|
markdownDescription: ( localize(
|
|
458
|
-
|
|
458
|
+
14493,
|
|
459
459
|
"Controls whether agent mode terminal commands can run outside the sandbox after user confirmation when a sandboxed command fails or when sandbox restrictions would block the command. This applies only when {0} is enabled.",
|
|
460
460
|
`\`#${AgentSandboxSettingId.AgentSandboxEnabled}#\``
|
|
461
461
|
)),
|
|
@@ -471,7 +471,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
471
471
|
description: {
|
|
472
472
|
key: "agentSandbox.allowUnsandboxedCommands",
|
|
473
473
|
value: ( localize(
|
|
474
|
-
|
|
474
|
+
14493,
|
|
475
475
|
"Controls whether agent mode terminal commands can run outside the sandbox after user confirmation when a sandboxed command fails or when sandbox restrictions would block the command. This applies only when {0} is enabled.",
|
|
476
476
|
`\`#${AgentSandboxSettingId.AgentSandboxEnabled}#\``
|
|
477
477
|
))
|
|
@@ -481,7 +481,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
481
481
|
},
|
|
482
482
|
[AgentSandboxSettingId.AgentSandboxAutoApproveUnsandboxedCommands]: {
|
|
483
483
|
markdownDescription: ( localize(
|
|
484
|
-
|
|
484
|
+
14494,
|
|
485
485
|
"Controls whether agent mode terminal commands that run outside the sandbox are auto-approved. This applies only when both {0} and {1} are enabled.",
|
|
486
486
|
`\`#${AgentSandboxSettingId.AgentSandboxEnabled}#\``,
|
|
487
487
|
`\`#${AgentSandboxSettingId.AgentSandboxAllowUnsandboxedCommands}#\``
|
|
@@ -498,7 +498,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
498
498
|
description: {
|
|
499
499
|
key: "agentSandbox.autoApproveUnsandboxedCommands",
|
|
500
500
|
value: ( localize(
|
|
501
|
-
|
|
501
|
+
14494,
|
|
502
502
|
"Controls whether agent mode terminal commands that run outside the sandbox are auto-approved. This applies only when both {0} and {1} are enabled.",
|
|
503
503
|
`\`#${AgentSandboxSettingId.AgentSandboxEnabled}#\``,
|
|
504
504
|
`\`#${AgentSandboxSettingId.AgentSandboxAllowUnsandboxedCommands}#\``
|
|
@@ -509,7 +509,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
509
509
|
},
|
|
510
510
|
[AgentSandboxSettingId.AgentSandboxAllowAutoApprove]: {
|
|
511
511
|
markdownDescription: ( localize(
|
|
512
|
-
|
|
512
|
+
14495,
|
|
513
513
|
"Controls whether agent mode terminal commands that run inside the sandbox are auto-approved. When disabled, the run in terminal tool uses the existing approval flow. This applies only when {0} is enabled.",
|
|
514
514
|
`\`#${AgentSandboxSettingId.AgentSandboxEnabled}#\``
|
|
515
515
|
)),
|
|
@@ -525,7 +525,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
525
525
|
description: {
|
|
526
526
|
key: "agentSandbox.allowAutoApprove",
|
|
527
527
|
value: ( localize(
|
|
528
|
-
|
|
528
|
+
14495,
|
|
529
529
|
"Controls whether agent mode terminal commands that run inside the sandbox are auto-approved. When disabled, the run in terminal tool uses the existing approval flow. This applies only when {0} is enabled.",
|
|
530
530
|
`\`#${AgentSandboxSettingId.AgentSandboxEnabled}#\``
|
|
531
531
|
))
|
|
@@ -535,7 +535,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
535
535
|
},
|
|
536
536
|
[TerminalChatAgentToolsSettingId.AgentSandboxLinuxFileSystem]: {
|
|
537
537
|
markdownDescription: ( localize(
|
|
538
|
-
|
|
538
|
+
14496,
|
|
539
539
|
"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.",
|
|
540
540
|
`\`#${AgentSandboxSettingId.AgentSandboxEnabled}#\``
|
|
541
541
|
)),
|
|
@@ -544,7 +544,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
544
544
|
denyRead: {
|
|
545
545
|
type: "array",
|
|
546
546
|
description: ( localize(
|
|
547
|
-
|
|
547
|
+
14497,
|
|
548
548
|
"Array of paths to deny read access. Leave empty to allow reading all paths."
|
|
549
549
|
)),
|
|
550
550
|
items: {
|
|
@@ -555,7 +555,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
555
555
|
allowRead: {
|
|
556
556
|
type: "array",
|
|
557
557
|
description: ( localize(
|
|
558
|
-
|
|
558
|
+
14498,
|
|
559
559
|
"Array of paths to re-allow read access within denied regions. Takes precedence over denyRead."
|
|
560
560
|
)),
|
|
561
561
|
items: {
|
|
@@ -566,7 +566,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
566
566
|
allowWrite: {
|
|
567
567
|
type: "array",
|
|
568
568
|
description: ( localize(
|
|
569
|
-
|
|
569
|
+
14499,
|
|
570
570
|
"Array of additional paths to allow write access. Leave empty to disallow writes outside the workspace folders and sandbox temp directory."
|
|
571
571
|
)),
|
|
572
572
|
items: {
|
|
@@ -577,7 +577,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
577
577
|
denyWrite: {
|
|
578
578
|
type: "array",
|
|
579
579
|
description: ( localize(
|
|
580
|
-
|
|
580
|
+
14500,
|
|
581
581
|
"Array of paths to deny write access within allowed paths (takes precedence over allowWrite)."
|
|
582
582
|
)),
|
|
583
583
|
items: {
|
|
@@ -597,7 +597,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
597
597
|
},
|
|
598
598
|
[TerminalChatAgentToolsSettingId.AgentSandboxMacFileSystem]: {
|
|
599
599
|
markdownDescription: ( localize(
|
|
600
|
-
|
|
600
|
+
14501,
|
|
601
601
|
"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).",
|
|
602
602
|
`\`#${AgentSandboxSettingId.AgentSandboxEnabled}#\``
|
|
603
603
|
)),
|
|
@@ -606,7 +606,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
606
606
|
denyRead: {
|
|
607
607
|
type: "array",
|
|
608
608
|
description: ( localize(
|
|
609
|
-
|
|
609
|
+
14502,
|
|
610
610
|
"Array of paths to deny read access. Leave empty to allow reading all paths."
|
|
611
611
|
)),
|
|
612
612
|
items: {
|
|
@@ -617,7 +617,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
617
617
|
allowRead: {
|
|
618
618
|
type: "array",
|
|
619
619
|
description: ( localize(
|
|
620
|
-
|
|
620
|
+
14503,
|
|
621
621
|
"Array of paths to re-allow read access within denied regions. Takes precedence over denyRead."
|
|
622
622
|
)),
|
|
623
623
|
items: {
|
|
@@ -628,7 +628,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
628
628
|
allowWrite: {
|
|
629
629
|
type: "array",
|
|
630
630
|
description: ( localize(
|
|
631
|
-
|
|
631
|
+
14504,
|
|
632
632
|
"Array of additional paths to allow write access. Leave empty to disallow writes outside the workspace folders and sandbox temp directory."
|
|
633
633
|
)),
|
|
634
634
|
items: {
|
|
@@ -639,7 +639,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
639
639
|
denyWrite: {
|
|
640
640
|
type: "array",
|
|
641
641
|
description: ( localize(
|
|
642
|
-
|
|
642
|
+
14505,
|
|
643
643
|
"Array of paths to deny write access within allowed paths (takes precedence over allowWrite)."
|
|
644
644
|
)),
|
|
645
645
|
items: {
|
|
@@ -660,7 +660,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
660
660
|
[TerminalChatAgentToolsSettingId.AgentSandboxAdvancedRuntime]: {
|
|
661
661
|
included: false,
|
|
662
662
|
markdownDescription: ( localize(
|
|
663
|
-
|
|
663
|
+
14506,
|
|
664
664
|
"Note: this setting is applicable only when {0} is enabled. Key/value pairs are passed through to the root of the sandbox runtime configuration.",
|
|
665
665
|
`\`#${AgentSandboxSettingId.AgentSandboxEnabled}#\``
|
|
666
666
|
)),
|
|
@@ -674,19 +674,19 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
674
674
|
type: "boolean",
|
|
675
675
|
default: true,
|
|
676
676
|
markdownDescription: [( localize(
|
|
677
|
-
|
|
677
|
+
14507,
|
|
678
678
|
"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:"
|
|
679
679
|
)), `- \`bash\`: ${( localize(
|
|
680
|
-
|
|
680
|
+
14508,
|
|
681
681
|
"Sets `HISTCONTROL=ignorespace` and prepends the command with space"
|
|
682
682
|
))}`, `- \`zsh\`: ${( localize(
|
|
683
|
-
|
|
683
|
+
14509,
|
|
684
684
|
"Sets `HIST_IGNORE_SPACE` option and prepends the command with space"
|
|
685
685
|
))}`, `- \`fish\`: ${( localize(
|
|
686
|
-
|
|
686
|
+
14510,
|
|
687
687
|
"Sets `fish_private_mode` to prevent any command from entering history"
|
|
688
688
|
))}`, `- \`pwsh\`: ${( localize(
|
|
689
|
-
|
|
689
|
+
14511,
|
|
690
690
|
"Sets a custom history handler via PSReadLine's `AddToHistoryHandler` to prevent any command from entering history"
|
|
691
691
|
))}`].join("\n")
|
|
692
692
|
},
|
|
@@ -699,7 +699,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
699
699
|
mode: "auto"
|
|
700
700
|
},
|
|
701
701
|
markdownDescription: ( localize(
|
|
702
|
-
|
|
702
|
+
14512,
|
|
703
703
|
"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."
|
|
704
704
|
))
|
|
705
705
|
},
|
|
@@ -710,7 +710,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
710
710
|
default: false,
|
|
711
711
|
tags: ["experimental"],
|
|
712
712
|
markdownDescription: ( localize(
|
|
713
|
-
|
|
713
|
+
14513,
|
|
714
714
|
"Whether to detach persistent terminal processes so they survive when VS Code exits. When enabled, commands started with `mode: \"async\"` (legacy: `isBackground: true`) are wrapped with `nohup` (POSIX) or `Start-Process` (Windows) so the process continues running after the terminal is disposed."
|
|
715
715
|
))
|
|
716
716
|
},
|
|
@@ -721,11 +721,11 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
721
721
|
tags: ["experimental"],
|
|
722
722
|
deprecated: true,
|
|
723
723
|
markdownDeprecationMessage: ( localize(
|
|
724
|
-
|
|
724
|
+
14514,
|
|
725
725
|
"This setting is deprecated. Terminal completion and input-needed notifications are now always enabled."
|
|
726
726
|
)),
|
|
727
727
|
markdownDescription: ( localize(
|
|
728
|
-
|
|
728
|
+
14515,
|
|
729
729
|
"This setting is deprecated and no longer has any effect. Terminal completion and input-needed notifications are now always enabled for any command that continues running after the tool returns."
|
|
730
730
|
))
|
|
731
731
|
}
|
|
@@ -740,7 +740,7 @@ for (const id of [
|
|
|
740
740
|
terminalChatAgentToolsConfiguration[id] = {
|
|
741
741
|
deprecated: true,
|
|
742
742
|
markdownDeprecationMessage: ( localize(
|
|
743
|
-
|
|
743
|
+
14516,
|
|
744
744
|
"Use {0} instead",
|
|
745
745
|
`\`#${TerminalChatAgentToolsSettingId.AutoApprove}#\``
|
|
746
746
|
))
|
|
@@ -750,7 +750,7 @@ terminalChatAgentToolsConfiguration[TerminalChatAgentToolsSettingId.DeprecatedAg
|
|
|
750
750
|
type: "object",
|
|
751
751
|
deprecated: true,
|
|
752
752
|
markdownDeprecationMessage: ( localize(
|
|
753
|
-
|
|
753
|
+
14517,
|
|
754
754
|
"Use {0} instead",
|
|
755
755
|
`\`#${TerminalChatAgentToolsSettingId.AgentSandboxLinuxFileSystem}#\``
|
|
756
756
|
))
|
|
@@ -759,7 +759,7 @@ terminalChatAgentToolsConfiguration[TerminalChatAgentToolsSettingId.DeprecatedAg
|
|
|
759
759
|
type: "object",
|
|
760
760
|
deprecated: true,
|
|
761
761
|
markdownDeprecationMessage: ( localize(
|
|
762
|
-
|
|
762
|
+
14518,
|
|
763
763
|
"Use {0} instead",
|
|
764
764
|
`\`#${TerminalChatAgentToolsSettingId.AgentSandboxMacFileSystem}#\``
|
|
765
765
|
))
|
|
@@ -769,7 +769,7 @@ terminalChatAgentToolsConfiguration[AgentSandboxSettingId.DeprecatedAgentSandbox
|
|
|
769
769
|
deprecated: true,
|
|
770
770
|
included: false,
|
|
771
771
|
markdownDeprecationMessage: ( localize(
|
|
772
|
-
|
|
772
|
+
14519,
|
|
773
773
|
"Use {0} instead",
|
|
774
774
|
`\`#${AgentSandboxSettingId.AgentSandboxEnabled}#\``
|
|
775
775
|
))
|
|
@@ -10,7 +10,7 @@ const terminalCommandGuideConfiguration = {
|
|
|
10
10
|
[TerminalCommandGuideSettingId.ShowCommandGuide]: {
|
|
11
11
|
restricted: true,
|
|
12
12
|
markdownDescription: ( localize(
|
|
13
|
-
|
|
13
|
+
14538,
|
|
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
|
+
14599,
|
|
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",
|
|
@@ -11,7 +11,7 @@ const terminalInitialHintConfiguration = {
|
|
|
11
11
|
[TerminalInitialHintSettingId.Enabled]: {
|
|
12
12
|
restricted: true,
|
|
13
13
|
markdownDescription: ( localize(
|
|
14
|
-
|
|
14
|
+
14612,
|
|
15
15
|
"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.",
|
|
16
16
|
`\`#${TerminalSettingId.SendKeybindingsToShell}#\``
|
|
17
17
|
)),
|
|
@@ -24,7 +24,7 @@ const terminalInitialHintConfiguration = {
|
|
|
24
24
|
[TerminalInitialHintSettingId.CopilotCli]: {
|
|
25
25
|
restricted: true,
|
|
26
26
|
markdownDescription: ( localize(
|
|
27
|
-
|
|
27
|
+
14613,
|
|
28
28
|
"When enabled, the terminal initial hint will suggest using Copilot CLI by typing {0} instead of opening Copilot Chat.",
|
|
29
29
|
"`copilot`"
|
|
30
30
|
)),
|
|
@@ -10,7 +10,7 @@ var TerminalOscNotificationsSettingId;
|
|
|
10
10
|
const terminalOscNotificationsConfiguration = {
|
|
11
11
|
[TerminalOscNotificationsSettingId.EnableNotifications]: {
|
|
12
12
|
description: ( localize(
|
|
13
|
-
|
|
13
|
+
14640,
|
|
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
|
+
14684,
|
|
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
|
+
14685,
|
|
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
|
+
14686,
|
|
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",
|