@codingame/monaco-vscode-api 37.2.0 → 37.3.1
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/css.d.ts +1 -1
- package/css.js +4 -3
- package/lifecycle.d.ts +2 -2
- package/missing-services.js +884 -35
- package/override/vs/sessions/contrib/providers/remoteAgentHost/browser/devTunnelsWebLoader.d.ts +4 -0
- package/package.json +8 -8
- package/service-override/tools/editor.d.ts +1 -1
- package/services.d.ts +49 -1
- package/services.js +56 -4
- package/vscode/src/vs/base/browser/animationSync.d.ts +45 -0
- package/vscode/src/vs/base/browser/animationSync.js +122 -0
- package/vscode/src/vs/base/browser/dom.js +4 -4
- package/vscode/src/vs/base/browser/domSanitize.js +6 -4
- package/vscode/src/vs/base/browser/fonts.js +6 -5
- package/vscode/src/vs/base/browser/htmlToMarkdown.d.ts +1 -0
- package/vscode/src/vs/base/browser/htmlToMarkdown.js +144 -0
- package/vscode/src/vs/base/browser/iframe.js +1 -1
- package/vscode/src/vs/base/browser/indexedDB.js +1 -1
- package/vscode/src/vs/base/browser/markdownRenderer.js +3 -3
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +1 -1
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +1 -1
- package/vscode/src/vs/base/browser/ui/aria/aria.js +1 -1
- package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.js +1 -1
- package/vscode/src/vs/base/browser/ui/button/button.js +1 -1
- package/vscode/src/vs/base/browser/ui/centered/centeredViewLayout.js +1 -1
- package/vscode/src/vs/base/browser/ui/codicons/codiconStyles.js +2 -2
- package/vscode/src/vs/base/browser/ui/contextview/contextview.js +1 -1
- package/vscode/src/vs/base/browser/ui/countBadge/countBadge.js +1 -1
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +10 -10
- package/vscode/src/vs/base/browser/ui/dnd/dnd.js +1 -1
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +1 -1
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +1 -1
- package/vscode/src/vs/base/browser/ui/grid/grid.js +7 -7
- package/vscode/src/vs/base/browser/ui/grid/gridview.js +35 -27
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +1 -1
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +5 -5
- package/vscode/src/vs/base/browser/ui/icons/iconSelectBox.js +1 -1
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +1 -1
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +1 -1
- package/vscode/src/vs/base/browser/ui/list/listPaging.js +19 -19
- package/vscode/src/vs/base/browser/ui/list/listView.js +16 -16
- package/vscode/src/vs/base/browser/ui/list/listWidget.js +32 -29
- package/vscode/src/vs/base/browser/ui/list/rangeMap.js +9 -35
- package/vscode/src/vs/base/browser/ui/menu/menubar.js +1 -1
- package/vscode/src/vs/base/browser/ui/mouseCursor/mouseCursor.js +1 -1
- package/vscode/src/vs/base/browser/ui/pixelSpinner/pixelSpinner.css +169 -0
- package/vscode/src/vs/base/browser/ui/pixelSpinner/pixelSpinner.d.ts +32 -0
- package/vscode/src/vs/base/browser/ui/pixelSpinner/pixelSpinner.js +43 -0
- package/vscode/src/vs/base/browser/ui/progressbar/progressbar.js +1 -1
- package/vscode/src/vs/base/browser/ui/radio/radio.js +4 -4
- package/vscode/src/vs/base/browser/ui/sash/sash.js +1 -1
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +1 -1
- package/vscode/src/vs/base/browser/ui/segmentedIconToggle/segmentedIconToggle.css +114 -0
- package/vscode/src/vs/base/browser/ui/selectBox/selectBox.js +1 -1
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +10 -3
- package/vscode/src/vs/base/browser/ui/severityIcon/severityIcon.js +1 -1
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +5 -5
- package/vscode/src/vs/base/browser/ui/splitview/splitview.js +19 -19
- package/vscode/src/vs/base/browser/ui/table/tableWidget.js +7 -7
- package/vscode/src/vs/base/browser/ui/toggle/switch.js +1 -1
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +4 -4
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +41 -29
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +50 -38
- package/vscode/src/vs/base/browser/ui/tree/compressedObjectTreeModel.js +22 -22
- package/vscode/src/vs/base/browser/ui/tree/dataTree.js +2 -2
- package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.js +11 -6
- package/vscode/src/vs/base/browser/ui/tree/objectTree.js +1 -1
- package/vscode/src/vs/base/browser/ui/tree/objectTreeModel.js +4 -4
- package/vscode/src/vs/base/common/arrays.js +4 -4
- package/vscode/src/vs/base/common/async.js +12 -12
- package/vscode/src/vs/base/common/dataTransfer.js +2 -2
- package/vscode/src/vs/base/common/equals.js +1 -1
- package/vscode/src/vs/base/common/event.js +6 -6
- package/vscode/src/vs/base/common/fuzzyScorer.js +3 -3
- package/vscode/src/vs/base/common/glob.js +11 -3
- package/vscode/src/vs/base/common/htmlContent.js +2 -2
- package/vscode/src/vs/base/common/labels.js +2 -2
- package/vscode/src/vs/base/common/lifecycle.js +3 -3
- package/vscode/src/vs/base/common/linkedText.js +1 -1
- package/vscode/src/vs/base/common/markdownLinks.d.ts +37 -0
- package/vscode/src/vs/base/common/markdownLinks.js +127 -0
- package/vscode/src/vs/base/common/objects.js +1 -1
- package/vscode/src/vs/base/common/observableInternal/logging/consoleObservableLogger.js +6 -3
- package/vscode/src/vs/base/common/observableInternal/logging/debugger/devToolsLogger.js +8 -8
- package/vscode/src/vs/base/common/observableInternal/utils/utilsCancellation.js +2 -2
- package/vscode/src/vs/base/common/paging.js +4 -1
- package/vscode/src/vs/base/common/uriTemplate.js +8 -8
- package/vscode/src/vs/base/common/yaml.js +2 -2
- package/vscode/src/vs/base/parts/ipc/common/webSocketFraming.d.ts +57 -0
- package/vscode/src/vs/base/parts/ipc/common/webSocketFraming.js +219 -0
- package/vscode/src/vs/editor/browser/config/fontMeasurements.js +1 -1
- package/vscode/src/vs/editor/browser/controller/editContext/clipboardUtils.js +2 -2
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +1 -1
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
- package/vscode/src/vs/editor/browser/coreCommands.js +22 -15
- package/vscode/src/vs/editor/browser/editorExtensions.js +1 -1
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlas.js +2 -2
- package/vscode/src/vs/editor/browser/gpu/css/decorationCssRuleExtractor.js +1 -1
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +9 -3
- package/vscode/src/vs/editor/browser/observableCodeEditor.js +8 -8
- package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.js +3 -3
- package/vscode/src/vs/editor/browser/services/bulkEditService.js +2 -2
- package/vscode/src/vs/editor/browser/services/codeEditorService.service.d.ts +1 -2
- package/vscode/src/vs/editor/browser/services/editorWorkerService.js +5 -5
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.js +1 -1
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.service.d.ts +1 -1
- package/vscode/src/vs/editor/browser/view/domLineBreaksComputer.js +6 -6
- package/vscode/src/vs/editor/browser/view.js +4 -4
- package/vscode/src/vs/editor/browser/viewParts/blockDecorations/blockDecorations.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/decorations/decorations.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/gpuMark/gpuMark.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.js +5 -5
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/linesDecorations/linesDecorations.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/margin/margin.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/marginDecorations/marginDecorations.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/selections/selections.js +4 -4
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.js +2 -2
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +4 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +3 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorDecorations.js +27 -66
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +4 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +3 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +38 -28
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +23 -17
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +10 -10
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +12 -8
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +12 -8
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +12 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +4 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +1 -1
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/editorMarkdownCodeBlockRenderer.js +1 -1
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/compressedVirtualizedScrollView.js +1 -1
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorLogging.js +2 -2
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.js +5 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +11 -11
- package/vscode/src/vs/editor/common/core/2d/point.js +1 -1
- package/vscode/src/vs/editor/common/core/2d/size.js +1 -1
- package/vscode/src/vs/editor/common/core/edits/edit.js +1 -1
- package/vscode/src/vs/editor/common/core/edits/lengthEdit.js +1 -1
- package/vscode/src/vs/editor/common/core/edits/lineEdit.js +8 -8
- package/vscode/src/vs/editor/common/core/edits/stringEdit.js +5 -5
- package/vscode/src/vs/editor/common/core/edits/textEdit.js +5 -5
- package/vscode/src/vs/editor/common/core/ranges/lineRange.js +2 -2
- package/vscode/src/vs/editor/common/core/ranges/offsetRange.js +1 -1
- package/vscode/src/vs/editor/common/core/text/positionToOffsetImpl.js +2 -2
- package/vscode/src/vs/editor/common/cursor/cursor.js +3 -3
- package/vscode/src/vs/editor/common/cursor/cursorCollection.js +5 -5
- package/vscode/src/vs/editor/common/cursor/cursorMoveCommands.js +16 -16
- package/vscode/src/vs/editor/common/cursor/cursorTypeEditOperations.js +10 -10
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.js +5 -3
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +5 -5
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js +1 -1
- package/vscode/src/vs/editor/common/diff/legacyLinesDiffComputer.js +2 -2
- package/vscode/src/vs/editor/common/diff/linesDiffComputer.js +1 -1
- package/vscode/src/vs/editor/common/diff/rangeMapping.js +9 -6
- package/vscode/src/vs/editor/common/editorContextKeys.js +64 -64
- package/vscode/src/vs/editor/common/languageFeatureRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages/language.service.d.ts +1 -2
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.js +4 -4
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.service.d.ts +1 -1
- package/vscode/src/vs/editor/common/languages/supports/characterPair.js +3 -3
- package/vscode/src/vs/editor/common/languages/supports/languageBracketsConfiguration.js +2 -2
- package/vscode/src/vs/editor/common/languages/supports/richEditBrackets.js +6 -6
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/beforeEditPositionMapper.js +3 -3
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/bracketPairsTree.js +2 -2
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/brackets.js +1 -1
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/colorizedBracketPairsDecorationProvider.js +3 -3
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/fixBrackets.js +1 -1
- package/vscode/src/vs/editor/common/model/editStack.js +11 -5
- package/vscode/src/vs/editor/common/model/textModel.js +16 -16
- package/vscode/src/vs/editor/common/model/textModelStringEdit.js +3 -3
- package/vscode/src/vs/editor/common/model/textModelTokens.js +1 -1
- package/vscode/src/vs/editor/common/model/tokens/abstractSyntaxTokenBackend.js +4 -2
- package/vscode/src/vs/editor/common/model/tokens/annotations.js +4 -4
- package/vscode/src/vs/editor/common/model/tokens/tokenizerSyntaxTokenBackend.js +1 -1
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterTokenizationImpl.js +9 -9
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterTree.js +2 -2
- package/vscode/src/vs/editor/common/services/editorWebWorker.js +4 -4
- package/vscode/src/vs/editor/common/services/editorWorker.service.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/languagesAssociations.js +23 -48
- package/vscode/src/vs/editor/common/services/markerDecorations.service.d.ts +1 -2
- package/vscode/src/vs/editor/common/services/markerDecorationsService.js +3 -3
- package/vscode/src/vs/editor/common/services/model.service.d.ts +1 -2
- package/vscode/src/vs/editor/common/services/resolverService.service.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/textResourceConfiguration.service.d.ts +1 -2
- package/vscode/src/vs/editor/common/services/unicodeTextModelHighlighter.js +1 -1
- package/vscode/src/vs/editor/common/textModelEditSource.js +2 -2
- package/vscode/src/vs/editor/common/tokens/lineTokens.js +2 -2
- package/vscode/src/vs/editor/common/tokens/tokenWithTextArray.js +2 -2
- package/vscode/src/vs/editor/common/viewLayout/lineHeights.js +2 -2
- package/vscode/src/vs/editor/common/viewModel/modelLineProjection.js +1 -1
- package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +2 -2
- package/vscode/src/vs/editor/common/viewModel/viewModelLines.js +8 -8
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +2 -2
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +12 -9
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +7 -7
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionKeybindingResolver.js +2 -2
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +4 -4
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.js +2 -2
- package/vscode/src/vs/editor/contrib/codelens/browser/codelens.js +2 -2
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +4 -4
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParticipantUtils.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerBody.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerInsertButton.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerSaturationBox.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerStrip.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +2 -2
- package/vscode/src/vs/editor/contrib/diffEditorBreadcrumbs/browser/contribution.js +4 -4
- package/vscode/src/vs/editor/contrib/dnd/browser/dnd.js +3 -3
- package/vscode/src/vs/editor/contrib/documentSymbols/browser/outlineModel.js +4 -4
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +10 -10
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +4 -4
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/edit.js +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +2 -2
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +2 -2
- package/vscode/src/vs/editor/contrib/find/browser/findDecorations.js +4 -4
- package/vscode/src/vs/editor/contrib/find/browser/findModel.js +15 -12
- package/vscode/src/vs/editor/contrib/find/browser/findOptionsWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +4 -4
- package/vscode/src/vs/editor/contrib/folding/browser/syntaxRangeProvider.js +2 -2
- package/vscode/src/vs/editor/contrib/format/browser/format.js +4 -4
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/format/browser/formattingEdit.js +7 -6
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.service.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToSymbol.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverComputer.js +5 -4
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/getHover.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverComputer.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverController.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hoverContribution.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +1 -1
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +2 -2
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHints.js +2 -2
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +3 -3
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsLocations.js +3 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +16 -16
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +11 -9
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/changeRecorder.js +3 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/editKind.js +3 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.js +4 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +49 -47
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +15 -12
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +6 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/typingSpeed.js +14 -33
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +4 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +14 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +9 -9
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +25 -25
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +62 -41
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js +5 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCollapsedView.js +7 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsDeletionView.js +15 -13
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.js +14 -14
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.js +6 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.js +29 -29
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +15 -15
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/jumpToView.js +7 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/longDistanceHint/inlineEditsLongDistanceHint.js +7 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/longDistanceHint/longDistancePreviewEditor.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/longDistanceHint/longDistnaceWidgetPlacement.js +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/originalEditorInlineDiffView.js +7 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/flexBoxLayout.js +5 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineSuggestionsView.js +3 -3
- package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgress.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +15 -15
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +6 -6
- package/vscode/src/vs/editor/contrib/links/browser/getLinks.js +3 -3
- package/vscode/src/vs/editor/contrib/links/browser/links.js +1 -1
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +2 -2
- package/vscode/src/vs/editor/contrib/middleScroll/browser/middleScrollController.js +8 -5
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +8 -8
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/provideSignatureHelp.js +13 -17
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +2 -2
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +3 -3
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +11 -8
- package/vscode/src/vs/editor/contrib/sectionHeaders/browser/sectionHeaders.js +2 -2
- package/vscode/src/vs/editor/contrib/semanticTokens/browser/viewportSemanticTokens.js +1 -1
- package/vscode/src/vs/editor/contrib/semanticTokens/common/getSemanticTokens.js +4 -4
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +21 -15
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +5 -5
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetParser.js +14 -14
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.js +7 -7
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +15 -15
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestAlternatives.js +1 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +33 -27
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +19 -19
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +3 -3
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +3 -3
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +34 -34
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +2 -2
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +29 -29
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +10 -10
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/textualHighlightProvider.js +4 -4
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +8 -8
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +14 -10
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +3 -3
- package/vscode/src/vs/editor/standalone/browser/standaloneLayoutService.js +3 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +2 -2
- package/vscode/src/vs/platform/accessibility/common/accessibility.js +6 -5
- package/vscode/src/vs/platform/accessibility/common/accessibility.service.d.ts +1 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +72 -70
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.service.d.ts +2 -1
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +13 -13
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +13 -13
- package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.js +1 -1
- package/vscode/src/vs/platform/actionWidget/browser/tabbedActionListWidget.css +74 -0
- package/vscode/src/vs/platform/actionWidget/browser/tabbedActionListWidget.d.ts +149 -0
- package/vscode/src/vs/platform/actionWidget/browser/tabbedActionListWidget.js +429 -0
- package/vscode/src/vs/platform/actions/browser/actionViewItemService.service.d.ts +1 -1
- package/vscode/src/vs/platform/actions/browser/actionWidgetDropdownActionViewItem.d.ts +31 -0
- package/vscode/src/vs/platform/actions/browser/actionWidgetDropdownActionViewItem.js +92 -0
- package/vscode/src/vs/platform/actions/browser/buttonbar.css +29 -0
- package/vscode/src/vs/platform/actions/browser/buttonbar.d.ts +66 -0
- package/vscode/src/vs/platform/actions/browser/buttonbar.js +253 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +20 -12
- package/vscode/src/vs/platform/actions/browser/toolbar.js +3 -3
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +3 -3
- package/vscode/src/vs/platform/agentHost/browser/agentHostProtocolClient.d.ts +603 -0
- package/vscode/src/vs/platform/agentHost/browser/agentHostProtocolClient.js +1911 -0
- package/vscode/src/vs/platform/agentHost/browser/agentHostSandboxToggle.d.ts +16 -0
- package/vscode/src/vs/platform/agentHost/browser/agentHostSandboxToggle.js +48 -0
- package/vscode/src/vs/platform/agentHost/browser/codexApprovalsPicker.d.ts +3 -0
- package/vscode/src/vs/platform/agentHost/browser/codexApprovalsPicker.js +18 -0
- package/vscode/src/vs/platform/agentHost/browser/media/codexApprovalsPicker.css +10 -0
- package/vscode/src/vs/platform/agentHost/browser/nullAgentHostService.d.ts +3 -3
- package/vscode/src/vs/platform/agentHost/browser/webPubSubRelayTransport.d.ts +106 -0
- package/vscode/src/vs/platform/agentHost/browser/webPubSubRelayTransport.js +207 -0
- package/vscode/src/vs/platform/agentHost/common/agent.d.ts +2 -2
- package/vscode/src/vs/platform/agentHost/common/agentHostByokLm.d.ts +146 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostByokLm.js +13 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostByokLm.service.d.ts +31 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostByokLm.service.js +6 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostChangesetOperationService.d.ts +112 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostChangesetOperationService.js +20 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostClientInfo.d.ts +9 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostClientInfo.js +20 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostConnectionsService.d.ts +1 -1
- package/vscode/src/vs/platform/agentHost/common/agentHostConnectionsService.service.d.ts +1 -2
- package/vscode/src/vs/platform/agentHost/common/agentHostEnablementService.d.ts +7 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostEnablementService.js +92 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostExtensionProtocol.d.ts +144 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostExtensionProtocol.js +20 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostFileSystemProvider.d.ts +204 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostFileSystemProvider.js +443 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostManagedRules.d.ts +47 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostManagedRules.js +75 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostManagedSettings.d.ts +68 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostManagedSettings.js +161 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostOperatingSystem.d.ts +6 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostOperatingSystem.js +32 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostPlanReview.d.ts +20 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostResourceService.service.d.ts +1 -1
- package/vscode/src/vs/platform/agentHost/common/agentHostSchema.js +104 -104
- package/vscode/src/vs/platform/agentHost/common/agentHostTelemetry.d.ts +1 -1
- package/vscode/src/vs/platform/agentHost/common/agentHostWorkingDirectories.d.ts +16 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostWorkingDirectories.js +17 -0
- package/vscode/src/vs/platform/agentHost/common/agentMerge.d.ts +261 -0
- package/vscode/src/vs/platform/agentHost/common/agentMerge.js +165 -0
- package/vscode/src/vs/platform/agentHost/common/agentMergePrompt.d.ts +1 -1
- package/vscode/src/vs/platform/agentHost/common/agentMergePrompt.js +7 -7
- package/vscode/src/vs/platform/agentHost/common/agentModelSource.d.ts +27 -0
- package/vscode/src/vs/platform/agentHost/common/agentModelSource.js +23 -0
- package/vscode/src/vs/platform/agentHost/common/agentService.d.ts +3 -3
- package/vscode/src/vs/platform/agentHost/common/agentService.service.d.ts +2 -3
- package/vscode/src/vs/platform/agentHost/common/ahpJsonlLogger.d.ts +39 -0
- package/vscode/src/vs/platform/agentHost/common/ahpJsonlLogger.js +169 -0
- package/vscode/src/vs/platform/agentHost/common/annotationsUri.d.ts +12 -0
- package/vscode/src/vs/platform/agentHost/common/annotationsUri.js +8 -0
- package/vscode/src/vs/platform/agentHost/common/automationMigration.d.ts +20 -0
- package/vscode/src/vs/platform/agentHost/common/automationMigration.js +58 -0
- package/vscode/src/vs/platform/agentHost/common/changesetUri.d.ts +130 -0
- package/vscode/src/vs/platform/agentHost/common/changesetUri.js +42 -0
- package/vscode/src/vs/platform/agentHost/common/claudeSessionConfigKeys.d.ts +30 -0
- package/vscode/src/vs/platform/agentHost/common/claudeSessionConfigKeys.js +8 -0
- package/vscode/src/vs/platform/agentHost/common/cloudSandboxAgentHost.d.ts +230 -0
- package/vscode/src/vs/platform/agentHost/common/cloudSandboxAgentHost.js +53 -0
- package/vscode/src/vs/platform/agentHost/common/cloudSandboxAgentHost.service.d.ts +67 -0
- package/vscode/src/vs/platform/agentHost/common/cloudSandboxAgentHost.service.js +7 -0
- package/vscode/src/vs/platform/agentHost/common/codexSessionConfigKeys.d.ts +72 -0
- package/vscode/src/vs/platform/agentHost/common/codexSessionConfigKeys.js +16 -0
- package/vscode/src/vs/platform/agentHost/common/copilotCliConfig.d.ts +104 -0
- package/vscode/src/vs/platform/agentHost/common/copilotCliConfig.js +237 -0
- package/vscode/src/vs/platform/agentHost/common/customAgents.d.ts +42 -0
- package/vscode/src/vs/platform/agentHost/common/customAgents.js +56 -0
- package/vscode/src/vs/platform/agentHost/common/customizationEnablement.js +32 -26
- package/vscode/src/vs/platform/agentHost/common/fileEditDiff.d.ts +37 -0
- package/vscode/src/vs/platform/agentHost/common/fileEditDiff.js +34 -0
- package/vscode/src/vs/platform/agentHost/common/githubEndpoints.d.ts +52 -0
- package/vscode/src/vs/platform/agentHost/common/githubEndpoints.js +38 -0
- package/vscode/src/vs/platform/agentHost/common/githubIssueReferences.d.ts +8 -0
- package/vscode/src/vs/platform/agentHost/common/githubIssueReferences.js +13 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentChangesetFileMeta.d.ts +6 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentChangesetFileMeta.js +15 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentCompletionAttachmentMeta.d.ts +110 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentCompletionAttachmentMeta.js +79 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentDevContainerWorktreeMeta.d.ts +9 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentDevContainerWorktreeMeta.js +24 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentElementAttachments.d.ts +9 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentElementAttachments.js +21 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentFeedbackAnnotations.d.ts +128 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentFeedbackAnnotations.js +83 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentFeedbackAttachments.d.ts +30 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentFeedbackAttachments.js +85 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentHostArtifactRemovalMeta.d.ts +4 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentHostArtifactRemovalMeta.js +8 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentMergeMessageMeta.d.ts +15 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentMergeMessageMeta.js +8 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentMessageDelegationMeta.d.ts +19 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentMessageDelegationMeta.js +27 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentPermissionRequestMeta.d.ts +41 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentPermissionRequestMeta.js +34 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentPullRequestOperationMeta.d.ts +45 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentPullRequestOperationMeta.js +144 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentSystemNotificationMeta.d.ts +49 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentSystemNotificationMeta.js +52 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentToolCallMeta.d.ts +81 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentToolCallMeta.js +92 -0
- package/vscode/src/vs/platform/agentHost/common/meta/automationMeta.d.ts +15 -0
- package/vscode/src/vs/platform/agentHost/common/meta/automationMeta.js +17 -0
- package/vscode/src/vs/platform/agentHost/common/meta/browserViewAttachments.d.ts +9 -0
- package/vscode/src/vs/platform/agentHost/common/meta/browserViewAttachments.js +31 -0
- package/vscode/src/vs/platform/agentHost/common/openSessionLink.d.ts +75 -0
- package/vscode/src/vs/platform/agentHost/common/openSessionLink.js +125 -0
- package/vscode/src/vs/platform/agentHost/common/partialToolInput.d.ts +2 -0
- package/vscode/src/vs/platform/agentHost/common/partialToolInput.js +24 -0
- package/vscode/src/vs/platform/agentHost/common/reasoningEffort.d.ts +61 -0
- package/vscode/src/vs/platform/agentHost/common/reasoningEffort.js +50 -0
- package/vscode/src/vs/platform/agentHost/common/reconnectingTransport.js +81 -0
- package/vscode/src/vs/platform/agentHost/common/relayTransport.d.ts +1 -1
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostLocationPreference.service.d.ts +18 -0
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostLocationPreference.service.js +6 -0
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostLocationPreferenceDialog.d.ts +40 -0
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostLocationPreferenceDialog.js +75 -0
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.js +145 -11
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.service.d.ts +1 -1
- package/vscode/src/vs/platform/agentHost/common/resourceReadLogging.d.ts +1 -0
- package/vscode/src/vs/platform/agentHost/common/resourceReadLogging.js +26 -0
- package/vscode/src/vs/platform/agentHost/common/serverToolNames.d.ts +36 -0
- package/vscode/src/vs/platform/agentHost/common/serverToolNames.js +22 -0
- package/vscode/src/vs/platform/agentHost/common/sessionArtifacts.d.ts +75 -0
- package/vscode/src/vs/platform/agentHost/common/sessionArtifacts.js +84 -0
- package/vscode/src/vs/platform/agentHost/common/sessionConfigKeys.js +39 -1
- package/vscode/src/vs/platform/agentHost/common/sessionDbUri.d.ts +39 -0
- package/vscode/src/vs/platform/agentHost/common/sessionDbUri.js +40 -0
- package/vscode/src/vs/platform/agentHost/common/sshRemoteAgentHost.d.ts +1 -1
- package/vscode/src/vs/platform/agentHost/common/sshRemoteAgentHost.js +14 -0
- package/vscode/src/vs/platform/agentHost/common/sshRemoteAgentHost.service.d.ts +2 -3
- package/vscode/src/vs/platform/agentHost/common/state/agentSubscription.d.ts +461 -0
- package/vscode/src/vs/platform/agentHost/common/state/agentSubscription.js +803 -0
- package/vscode/src/vs/platform/agentHost/common/state/legacyProtocolCompatibility.js +2 -2
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-annotations/reducer.d.ts +18 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-annotations/reducer.js +89 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-automation/reducer.d.ts +4 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-automation/reducer.js +37 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-automation-run/reducer.d.ts +4 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-automation-run/reducer.js +45 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/reducer.d.ts +13 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/reducer.js +147 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/reducer.d.ts +6 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/reducer.js +837 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-resource-watch/reducer.d.ts +21 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-root/reducer.d.ts +6 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-root/reducer.js +30 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/reducer.d.ts +6 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/reducer.js +484 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-terminal/reducer.d.ts +6 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-terminal/reducer.js +79 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/reducer-helpers.d.ts +17 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/reducer-helpers.js +9 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/timestamps.d.ts +1 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/timestamps.js +7 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/reducers.d.ts +10 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/version/registry.d.ts +67 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/version/registry.js +117 -0
- package/vscode/src/vs/platform/agentHost/common/state/sessionActions.d.ts +106 -0
- package/vscode/src/vs/platform/agentHost/common/state/sessionActions.js +25 -0
- package/vscode/src/vs/platform/agentHost/common/state/sessionProtocol.d.ts +1 -1
- package/vscode/src/vs/platform/agentHost/common/state/sessionReducers.d.ts +16 -0
- package/vscode/src/vs/platform/agentHost/common/state/sessionReducers.js +23 -0
- package/vscode/src/vs/platform/agentHost/common/state/sessionState.js +219 -5
- package/vscode/src/vs/platform/agentHost/common/taskEventReplay.d.ts +51 -0
- package/vscode/src/vs/platform/agentHost/common/taskEventReplay.js +184 -0
- package/vscode/src/vs/platform/agentHost/common/transportConstants.d.ts +15 -0
- package/vscode/src/vs/platform/agentHost/common/transportConstants.js +6 -0
- package/vscode/src/vs/platform/agentHost/common/tunnelAgentHost.js +169 -1
- package/vscode/src/vs/platform/agentHost/common/tunnelAgentHost.service.d.ts +158 -0
- package/vscode/src/vs/platform/agentHost/common/tunnelAgentHost.service.js +6 -0
- package/vscode/src/vs/platform/agentHost/common/tunnelAgentHostConnector.d.ts +115 -0
- package/vscode/src/vs/platform/agentHost/common/tunnelAgentHostConnector.js +459 -0
- package/vscode/src/vs/platform/agentHost/common/tunnelGatewaySelection.d.ts +101 -0
- package/vscode/src/vs/platform/agentHost/common/tunnelGatewaySelection.js +82 -0
- package/vscode/src/vs/platform/agentHost/common/tunnelMessageSocket.d.ts +33 -0
- package/vscode/src/vs/platform/agentHost/common/webPubSub/chunking.d.ts +100 -0
- package/vscode/src/vs/platform/agentHost/common/webPubSub/chunking.js +256 -0
- package/vscode/src/vs/platform/agentHost/common/webPubSub/framing.d.ts +86 -0
- package/vscode/src/vs/platform/agentHost/common/webPubSub/framing.js +64 -0
- package/vscode/src/vs/platform/agentHost/common/webPubSub/groups.d.ts +46 -0
- package/vscode/src/vs/platform/agentHost/common/webPubSub/groups.js +92 -0
- package/vscode/src/vs/platform/agentHost/common/webSocketOverDuplex.d.ts +18 -0
- package/vscode/src/vs/platform/agentHost/common/webSocketOverDuplex.js +443 -0
- package/vscode/src/vs/platform/agentHost/common/worktreePaths.d.ts +24 -0
- package/vscode/src/vs/platform/agentHost/common/worktreePaths.js +15 -0
- package/vscode/src/vs/platform/agentPlugins/common/pluginParsers.js +13 -11
- package/vscode/src/vs/platform/browserView/common/browserPermissions.js +16 -16
- package/vscode/src/vs/platform/chat/common/sessionArchiveActions.d.ts +26 -0
- package/vscode/src/vs/platform/chat/common/sessionArchiveActions.js +58 -0
- package/vscode/src/vs/platform/clipboard/browser/clipboardService.js +2 -2
- package/vscode/src/vs/platform/clipboard/common/clipboardService.service.d.ts +1 -1
- package/vscode/src/vs/platform/commands/common/commands.service.d.ts +1 -1
- package/vscode/src/vs/platform/configuration/common/configuration.service.d.ts +1 -1
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +2 -2
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +14 -14
- package/vscode/src/vs/platform/configuration/common/configurations.js +1 -1
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +2 -2
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +23 -23
- package/vscode/src/vs/platform/contextkey/common/contextkey.service.d.ts +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +11 -11
- package/vscode/src/vs/platform/contextkey/common/scanner.js +6 -6
- package/vscode/src/vs/platform/contextview/browser/contextView.service.d.ts +1 -1
- package/vscode/src/vs/platform/dataChannel/common/dataChannel.service.d.ts +1 -2
- package/vscode/src/vs/platform/debug/common/extensionHostDebug.service.d.ts +1 -1
- package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.service.d.ts +1 -1
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +12 -12
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -2
- package/vscode/src/vs/platform/dnd/browser/dnd.js +7 -4
- package/vscode/src/vs/platform/domWidget/browser/domWidget.d.ts +52 -0
- package/vscode/src/vs/platform/domWidget/browser/domWidget.js +53 -0
- package/vscode/src/vs/platform/download/common/download.service.d.ts +1 -1
- package/vscode/src/vs/platform/editor/browser/editor.d.ts +12 -0
- package/vscode/src/vs/platform/editor/browser/editor.js +61 -0
- package/vscode/src/vs/platform/endpoint/common/licenseAgreement.d.ts +7 -0
- package/vscode/src/vs/platform/endpoint/common/licenseAgreement.js +5 -0
- package/vscode/src/vs/platform/environment/common/environment.service.d.ts +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionEnablementService.js +2 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionGalleryManifest.service.d.ts +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +15 -15
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +1 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionStorage.service.d.ts +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.js +2 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.service.d.ts +1 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +40 -35
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.service.d.ts +1 -2
- package/vscode/src/vs/platform/extensionRecommendations/common/extensionRecommendations.service.d.ts +1 -1
- package/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.service.d.ts +1 -1
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +19 -19
- package/vscode/src/vs/platform/extensions/common/extensions.js +1 -1
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +3 -3
- package/vscode/src/vs/platform/files/common/files.js +9 -9
- package/vscode/src/vs/platform/files/common/files.service.d.ts +1 -2
- package/vscode/src/vs/platform/files/common/inMemoryFilesystemProvider.js +1 -1
- package/vscode/src/vs/platform/files/common/watcher.js +2 -2
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +4 -4
- package/vscode/src/vs/platform/hover/browser/hoverWidget.js +3 -3
- package/vscode/src/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +18 -16
- package/vscode/src/vs/platform/keybinding/common/baseResolvedKeybinding.js +3 -3
- package/vscode/src/vs/platform/keybinding/common/keybinding.service.d.ts +1 -1
- package/vscode/src/vs/platform/keybinding/common/usLayoutResolvedKeybinding.js +1 -1
- package/vscode/src/vs/platform/keyboardLayout/common/keyboardLayout.service.d.ts +1 -1
- package/vscode/src/vs/platform/label/common/label.service.d.ts +1 -2
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +3 -3
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.service.d.ts +1 -1
- package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +3 -3
- package/vscode/src/vs/platform/layout/browser/layoutService.service.d.ts +1 -1
- package/vscode/src/vs/platform/layout/browser/zIndexRegistry.d.ts +12 -0
- package/vscode/src/vs/platform/layout/browser/zIndexRegistry.js +64 -0
- package/vscode/src/vs/platform/list/browser/listService.js +39 -39
- package/vscode/src/vs/platform/localTranscription/common/localTranscription.service.d.ts +1 -1
- package/vscode/src/vs/platform/log/common/log.js +7 -7
- package/vscode/src/vs/platform/log/common/log.service.d.ts +1 -2
- package/vscode/src/vs/platform/markers/common/markerService.js +3 -3
- package/vscode/src/vs/platform/markers/common/markers.js +6 -6
- package/vscode/src/vs/platform/markers/common/markers.service.d.ts +1 -2
- package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.service.d.ts +1 -1
- package/vscode/src/vs/platform/mcp/common/mcpManagement.service.d.ts +1 -2
- package/vscode/src/vs/platform/mcp/common/mcpManagementIpc.js +5 -5
- package/vscode/src/vs/platform/mcp/common/mcpManagementService.js +11 -9
- package/vscode/src/vs/platform/mcp/common/mcpResourceScannerService.service.d.ts +1 -1
- package/vscode/src/vs/platform/mcp/common/modelContextProtocolApps.d.ts +576 -0
- package/vscode/src/vs/platform/mcp/common/modelContextProtocolApps.js +24 -0
- package/vscode/src/vs/platform/meteredConnection/common/meteredConnection.service.d.ts +1 -1
- package/vscode/src/vs/platform/networkFilter/common/domainMatcher.d.ts +54 -0
- package/vscode/src/vs/platform/networkFilter/common/domainMatcher.js +210 -0
- package/vscode/src/vs/platform/networkFilter/common/networkFilterService.service.d.ts +1 -2
- package/vscode/src/vs/platform/networkFilter/common/settings.d.ts +8 -0
- package/vscode/src/vs/platform/networkFilter/common/settings.js +10 -0
- package/vscode/src/vs/platform/notification/common/notification.js +3 -3
- package/vscode/src/vs/platform/notification/common/notification.service.d.ts +1 -1
- package/vscode/src/vs/platform/opener/browser/link.js +2 -2
- package/vscode/src/vs/platform/opener/common/opener.service.d.ts +1 -1
- package/vscode/src/vs/platform/policy/common/copilotManagedSettings.service.d.ts +1 -1
- package/vscode/src/vs/platform/policy/common/policy.service.d.ts +1 -1
- package/vscode/src/vs/platform/product/common/product.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +15 -15
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +5 -5
- package/vscode/src/vs/platform/quickinput/browser/quickInputBox.d.ts +2 -2
- package/vscode/src/vs/platform/quickinput/browser/quickInputBox.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +6 -6
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +17 -13
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +2 -2
- package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +8 -3
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +2 -2
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.js +2 -2
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +1 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.service.d.ts +1 -1
- package/vscode/src/vs/platform/remote/common/remoteAuthorityResolver.service.d.ts +1 -2
- package/vscode/src/vs/platform/remoteTunnel/common/remoteTunnel.service.d.ts +1 -1
- package/vscode/src/vs/platform/request/common/request.js +20 -20
- package/vscode/src/vs/platform/request/common/request.service.d.ts +1 -1
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxMxcRuntime.service.d.ts +1 -1
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxService.service.d.ts +1 -1
- package/vscode/src/vs/platform/secrets/common/secrets.service.d.ts +1 -1
- package/vscode/src/vs/platform/storage/common/storage.service.d.ts +1 -1
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/promptInputModel.js +1 -1
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +1 -1
- package/vscode/src/vs/platform/terminal/common/capabilities/naiveCwdDetectionCapability.d.ts +11 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/naiveCwdDetectionCapability.js +26 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/terminalCapabilityStore.js +28 -28
- package/vscode/src/vs/platform/terminal/common/environmentVariable.d.ts +86 -0
- package/vscode/src/vs/platform/terminal/common/environmentVariable.js +10 -0
- package/vscode/src/vs/platform/terminal/common/environmentVariableCollection.d.ts +17 -0
- package/vscode/src/vs/platform/terminal/common/environmentVariableCollection.js +218 -0
- package/vscode/src/vs/platform/terminal/common/environmentVariableShared.d.ts +1 -1
- package/vscode/src/vs/platform/terminal/common/environmentVariableShared.js +4 -4
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +1 -1
- package/vscode/src/vs/platform/terminal/common/terminal.service.d.ts +1 -1
- package/vscode/src/vs/platform/terminal/common/terminalPlatformConfiguration.js +34 -34
- package/vscode/src/vs/platform/terminal/common/terminalProcess.d.ts +1 -1
- package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +7 -7
- package/vscode/src/vs/platform/terminal/common/terminalRecorder.d.ts +14 -0
- package/vscode/src/vs/platform/terminal/common/terminalRecorder.js +73 -0
- package/vscode/src/vs/platform/theme/common/colorUtils.js +4 -4
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +19 -19
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +9 -9
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +48 -48
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +16 -16
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +10 -10
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +12 -12
- package/vscode/src/vs/platform/theme/common/sizeUtils.js +2 -2
- package/vscode/src/vs/platform/theme/common/sizes/baseSizes.js +37 -37
- package/vscode/src/vs/platform/theme/common/themeService.service.d.ts +1 -1
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +45 -45
- package/vscode/src/vs/platform/tunnel/common/tunnel.js +1 -1
- package/vscode/src/vs/platform/tunnel/common/tunnel.service.d.ts +1 -2
- package/vscode/src/vs/platform/undoRedo/common/undoRedo.service.d.ts +1 -1
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/update/common/update.service.d.ts +1 -1
- package/vscode/src/vs/platform/uriIdentity/common/uriIdentity.service.d.ts +1 -1
- package/vscode/src/vs/platform/uriIdentity/common/uriIdentityService.js +1 -1
- package/vscode/src/vs/platform/url/common/trustedDomains.js +1 -1
- package/vscode/src/vs/platform/url/common/url.service.d.ts +2 -1
- package/vscode/src/vs/platform/url/common/urlGlob.js +3 -3
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +4 -4
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.service.d.ts +1 -2
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfileStorageService.service.d.ts +1 -1
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +8 -3
- package/vscode/src/vs/platform/userDataSync/common/extensionsMerge.js +6 -6
- package/vscode/src/vs/platform/userDataSync/common/extensionsSync.js +8 -8
- package/vscode/src/vs/platform/userDataSync/common/globalStateSync.js +4 -1
- package/vscode/src/vs/platform/userDataSync/common/keybindingsMerge.js +9 -9
- package/vscode/src/vs/platform/userDataSync/common/keybindingsSync.js +2 -2
- package/vscode/src/vs/platform/userDataSync/common/settingsMerge.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/settingsSync.js +5 -3
- package/vscode/src/vs/platform/userDataSync/common/snippetsSync.js +2 -2
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +6 -6
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.d.ts +1 -2
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncAccount.service.d.ts +1 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +3 -3
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.service.d.ts +1 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncStoreService.js +2 -2
- package/vscode/src/vs/platform/webContentExtractor/common/webContentExtractor.service.d.ts +1 -1
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/platform/workspace/common/workspace.service.d.ts +1 -2
- package/vscode/src/vs/platform/workspace/common/workspaceTrust.service.d.ts +1 -2
- package/vscode/src/vs/platform/workspaces/common/workspaces.service.d.ts +1 -2
- package/vscode/src/vs/sessions/browser/accountTitleBarState.d.ts +55 -0
- package/vscode/src/vs/sessions/browser/accountTitleBarState.js +178 -0
- package/vscode/src/vs/sessions/browser/chatDashboardService.service.d.ts +10 -0
- package/vscode/src/vs/sessions/browser/chatDashboardService.service.js +6 -0
- package/vscode/src/vs/sessions/browser/dnd.d.ts +79 -0
- package/vscode/src/vs/sessions/browser/dnd.js +61 -0
- package/vscode/src/vs/sessions/browser/layoutPolicy.d.ts +71 -0
- package/vscode/src/vs/sessions/browser/layoutPolicy.js +82 -0
- package/vscode/src/vs/sessions/browser/media/phoneLayout.css +220 -0
- package/vscode/src/vs/sessions/browser/media/sessions-logo-dark.svg +6 -0
- package/vscode/src/vs/sessions/browser/media/sessions-logo-light.svg +6 -0
- package/vscode/src/vs/sessions/browser/media/sidebarActionButton.css +50 -0
- package/vscode/src/vs/sessions/browser/media/style.css +106 -0
- package/vscode/src/vs/sessions/browser/media/workbench.css +381 -0
- package/vscode/src/vs/sessions/browser/menus.d.ts +76 -0
- package/vscode/src/vs/sessions/browser/menus.js +56 -0
- package/vscode/src/vs/sessions/browser/mobileNavigationStack.d.ts +35 -0
- package/vscode/src/vs/sessions/browser/mobileNavigationStack.js +72 -0
- package/vscode/src/vs/sessions/browser/parts/agentsPartCard.d.ts +28 -0
- package/vscode/src/vs/sessions/browser/parts/agentsPartCard.js +35 -0
- package/vscode/src/vs/sessions/browser/parts/auxiliaryBarPart.d.ts +62 -0
- package/vscode/src/vs/sessions/browser/parts/auxiliaryBarPart.js +286 -0
- package/vscode/src/vs/sessions/browser/parts/chatView.d.ts +135 -0
- package/vscode/src/vs/sessions/browser/parts/chatView.js +56 -0
- package/vscode/src/vs/sessions/browser/parts/editorPartSizing.d.ts +9 -0
- package/vscode/src/vs/sessions/browser/parts/editorPartSizing.js +6 -0
- package/vscode/src/vs/sessions/browser/parts/media/auxiliaryBarPart.css +17 -0
- package/vscode/src/vs/sessions/browser/parts/media/sessionsEmptyState.css +31 -0
- package/vscode/src/vs/sessions/browser/parts/media/sidebarPart.css +127 -0
- package/vscode/src/vs/sessions/browser/parts/media/titlebarpart.css +231 -0
- package/vscode/src/vs/sessions/browser/parts/mobile/contributions/media/mobileOverlayViews.css +582 -0
- package/vscode/src/vs/sessions/browser/parts/mobile/contributions/mobileChangesView.d.ts +87 -0
- package/vscode/src/vs/sessions/browser/parts/mobile/contributions/mobileChangesView.js +46 -0
- package/vscode/src/vs/sessions/browser/parts/mobile/contributions/mobileDiffColors.d.ts +3 -0
- package/vscode/src/vs/sessions/browser/parts/mobile/contributions/mobileDiffColors.js +31 -0
- package/vscode/src/vs/sessions/browser/parts/mobile/media/mobilePickerSheet.css +581 -0
- package/vscode/src/vs/sessions/browser/parts/mobile/media/mobileSessionFilterChips.css +84 -0
- package/vscode/src/vs/sessions/browser/parts/mobile/media/mobileSortGroupSheet.css +216 -0
- package/vscode/src/vs/sessions/browser/parts/mobile/mobileChatShell.css +973 -0
- package/vscode/src/vs/sessions/browser/parts/mobile/mobileChipLaneScroll.d.ts +26 -0
- package/vscode/src/vs/sessions/browser/parts/mobile/mobileChipLaneScroll.js +66 -0
- package/vscode/src/vs/sessions/browser/parts/mobile/mobileLayout.d.ts +18 -0
- package/vscode/src/vs/sessions/browser/parts/mobile/mobileLayout.js +8 -0
- package/vscode/src/vs/sessions/browser/parts/mobile/mobilePickerSheet.d.ts +253 -0
- package/vscode/src/vs/sessions/browser/parts/mobile/mobilePickerSheet.js +441 -0
- package/vscode/src/vs/sessions/browser/parts/mobile/mobileSessionFilterChips.d.ts +73 -0
- package/vscode/src/vs/sessions/browser/parts/mobile/mobileSessionFilterChips.js +190 -0
- package/vscode/src/vs/sessions/browser/parts/mobile/mobileSortGroupSheet.d.ts +40 -0
- package/vscode/src/vs/sessions/browser/parts/mobile/mobileSortGroupSheet.js +117 -0
- package/vscode/src/vs/sessions/browser/parts/mobile/mobileTitlebarPart.d.ts +104 -0
- package/vscode/src/vs/sessions/browser/parts/mobile/mobileTitlebarPart.js +457 -0
- package/vscode/src/vs/sessions/browser/parts/mobile/mobileVisualViewport.d.ts +67 -0
- package/vscode/src/vs/sessions/browser/parts/mobile/mobileVisualViewport.js +61 -0
- package/vscode/src/vs/sessions/browser/parts/mobile/mobileVisualViewport.service.d.ts +30 -0
- package/vscode/src/vs/sessions/browser/parts/mobile/mobileVisualViewport.service.js +6 -0
- package/vscode/src/vs/sessions/browser/parts/sessionsEmptyState.d.ts +4 -0
- package/vscode/src/vs/sessions/browser/parts/sessionsEmptyState.js +16 -0
- package/vscode/src/vs/sessions/browser/parts/sidebarPart.d.ts +65 -0
- package/vscode/src/vs/sessions/browser/parts/sidebarPart.js +289 -0
- package/vscode/src/vs/sessions/browser/parts/titlebarPart.d.ts +110 -0
- package/vscode/src/vs/sessions/browser/parts/titlebarPart.js +481 -0
- package/vscode/src/vs/sessions/browser/sessionActionRunner.d.ts +10 -0
- package/vscode/src/vs/sessions/browser/sessionActionRunner.js +19 -0
- package/vscode/src/vs/sessions/browser/sessionActionViewItem.d.ts +7 -0
- package/vscode/src/vs/sessions/browser/sessionActionViewItem.js +27 -0
- package/vscode/src/vs/sessions/browser/sessionAgentMerge.d.ts +26 -0
- package/vscode/src/vs/sessions/browser/sessionAgentMerge.js +92 -0
- package/vscode/src/vs/sessions/browser/sessionConversationGroups.d.ts +8 -0
- package/vscode/src/vs/sessions/browser/sessionConversationGroups.js +31 -0
- package/vscode/src/vs/sessions/browser/sessionStatusIcon.d.ts +54 -0
- package/vscode/src/vs/sessions/browser/sessionStatusIcon.js +153 -0
- package/vscode/src/vs/sessions/browser/sessionsAuthGate.d.ts +77 -0
- package/vscode/src/vs/sessions/browser/sessionsAuthGate.js +49 -0
- package/vscode/src/vs/sessions/browser/sessionsSetUpService.service.d.ts +11 -0
- package/vscode/src/vs/sessions/browser/sessionsSetUpService.service.js +6 -0
- package/vscode/src/vs/sessions/browser/web.factory.d.ts +6 -0
- package/vscode/src/vs/sessions/browser/workbench.d.ts +456 -0
- package/vscode/src/vs/sessions/browser/workbench.js +2106 -0
- package/vscode/src/vs/sessions/browser/workbench.service.d.ts +48 -0
- package/vscode/src/vs/sessions/browser/workbench.service.js +7 -0
- package/vscode/src/vs/sessions/common/agentHostSessionWorkspace.d.ts +46 -0
- package/vscode/src/vs/sessions/common/agentHostSessionWorkspace.js +111 -0
- package/vscode/src/vs/sessions/common/agentHostSessionsProvider.d.ts +343 -0
- package/vscode/src/vs/sessions/common/agentHostSessionsProvider.js +88 -0
- package/vscode/src/vs/sessions/common/categories.d.ts +3 -0
- package/vscode/src/vs/sessions/common/categories.js +8 -0
- package/vscode/src/vs/sessions/common/contextkeys.d.ts +89 -0
- package/vscode/src/vs/sessions/common/contextkeys.js +196 -0
- package/vscode/src/vs/sessions/common/devContainerAgentHostService.d.ts +34 -0
- package/vscode/src/vs/sessions/common/devContainerAgentHostService.js +5 -0
- package/vscode/src/vs/sessions/common/devContainerAgentHostService.service.d.ts +15 -0
- package/vscode/src/vs/sessions/common/devContainerAgentHostService.service.js +6 -0
- package/vscode/src/vs/sessions/common/dockedEditorInput.d.ts +13 -0
- package/vscode/src/vs/sessions/common/dockedEditorInput.js +11 -0
- package/vscode/src/vs/sessions/common/layoutConstants.d.ts +2 -0
- package/vscode/src/vs/sessions/common/layoutConstants.js +6 -0
- package/vscode/src/vs/sessions/common/sessionCommands.d.ts +42 -0
- package/vscode/src/vs/sessions/common/sessionCommands.js +23 -0
- package/vscode/src/vs/sessions/common/sessionConfig.d.ts +11 -0
- package/vscode/src/vs/sessions/common/sessionConfig.js +10 -0
- package/vscode/src/vs/sessions/common/sessionLinks.d.ts +2 -0
- package/vscode/src/vs/sessions/common/sessionLinks.js +7 -0
- package/vscode/src/vs/sessions/common/sessionsTelemetry.d.ts +96 -0
- package/vscode/src/vs/sessions/common/sessionsTelemetry.js +117 -0
- package/vscode/src/vs/sessions/common/theme.d.ts +29 -0
- package/vscode/src/vs/sessions/common/theme.js +162 -0
- package/vscode/src/vs/sessions/common/workspaceSelection.d.ts +28 -0
- package/vscode/src/vs/sessions/common/workspaceSelection.js +19 -0
- package/vscode/src/vs/sessions/contrib/agentFeedback/browser/agentFeedbackAttachmentEntry.d.ts +29 -0
- package/vscode/src/vs/sessions/contrib/agentFeedback/browser/agentFeedbackAttachmentEntry.js +37 -0
- package/vscode/src/vs/sessions/contrib/agentFeedback/browser/agentFeedbackEditorUtils.d.ts +30 -0
- package/vscode/src/vs/sessions/contrib/agentFeedback/browser/agentFeedbackItemsBackend.d.ts +132 -0
- package/vscode/src/vs/sessions/contrib/agentFeedback/browser/agentFeedbackItemsBackend.js +394 -0
- package/vscode/src/vs/sessions/contrib/agentFeedback/browser/agentFeedbackModel.d.ts +93 -0
- package/vscode/src/vs/sessions/contrib/agentFeedback/browser/agentFeedbackModel.js +17 -0
- package/vscode/src/vs/sessions/contrib/agentFeedback/browser/agentFeedbackService.d.ts +212 -0
- package/vscode/src/vs/sessions/contrib/agentFeedback/browser/agentFeedbackService.js +29 -0
- package/vscode/src/vs/sessions/contrib/agentFeedback/browser/agentFeedbackService.service.d.ts +158 -0
- package/vscode/src/vs/sessions/contrib/agentFeedback/browser/agentFeedbackService.service.js +6 -0
- package/vscode/src/vs/sessions/contrib/agentFeedback/browser/feedbackInputWidget.d.ts +73 -0
- package/vscode/src/vs/sessions/contrib/agentFeedback/browser/feedbackInputWidget.js +210 -0
- package/vscode/src/vs/sessions/contrib/agentFeedback/browser/media/agentFeedbackEditorInput.css +137 -0
- package/vscode/src/vs/sessions/contrib/agentFeedback/browser/sessionEditorComments.d.ts +49 -0
- package/vscode/src/vs/sessions/contrib/agentFeedback/browser/sessionEditorComments.js +11 -0
- package/vscode/src/vs/sessions/contrib/aiCustomizationTreeView/browser/aiCustomizationTreeView.d.ts +23 -0
- package/vscode/src/vs/sessions/contrib/aiCustomizationTreeView/browser/aiCustomizationTreeView.js +10 -0
- package/vscode/src/vs/sessions/contrib/aquarium/browser/aquariumOverlay.service.d.ts +31 -0
- package/vscode/src/vs/sessions/contrib/aquarium/browser/aquariumOverlay.service.js +6 -0
- package/vscode/src/vs/sessions/contrib/automations/browser/automationModelConfiguration.d.ts +21 -0
- package/vscode/src/vs/sessions/contrib/automations/browser/automationModelConfiguration.js +88 -0
- package/vscode/src/vs/sessions/contrib/automations/browser/automationService.d.ts +53 -0
- package/vscode/src/vs/sessions/contrib/automations/browser/automationService.js +893 -0
- package/vscode/src/vs/sessions/contrib/automations/common/automationStorageService.d.ts +6 -0
- package/vscode/src/vs/sessions/contrib/automations/common/automationStorageService.js +8 -0
- package/vscode/src/vs/sessions/contrib/automations/common/automationStorageService.service.d.ts +10 -0
- package/vscode/src/vs/sessions/contrib/automations/common/automationStorageService.service.js +6 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/changesEditorLabels.d.ts +14 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/changesEditorLabels.js +34 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/changesSummaryWidget.d.ts +12 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/changesSummaryWidget.js +74 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/changesView.d.ts +198 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/changesView.js +1969 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/changesViewRenderer.d.ts +79 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/changesViewRenderer.js +344 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/changesViewService.d.ts +63 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/changesViewService.js +426 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/checksActions.d.ts +50 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/checksActions.js +196 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/checksViewModel.d.ts +8 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/checksViewModel.js +18 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/checksWidget.d.ts +63 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/checksWidget.js +377 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/createPullRequestChatRequest.d.ts +9 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/createPullRequestChatRequest.js +59 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/createPullRequestContextView.d.ts +27 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/createPullRequestContextView.js +117 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/createPullRequestWidget.d.ts +86 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/createPullRequestWidget.js +682 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/media/changesSummaryWidget.css +17 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/media/changesView.css +358 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/media/checksWidget.css +263 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/media/createPullRequest.css +301 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/media/sessionChangesEditor.css +349 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/media/sessionChangesEditorInput.css +22 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/sessionChangesEditor.d.ts +88 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/sessionChangesEditor.js +418 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/sessionChangesEditorInput.d.ts +49 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/sessionChangesEditorInput.js +135 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/sessionChangesService.d.ts +31 -0
- package/vscode/src/vs/sessions/contrib/changes/browser/sessionChangesService.js +155 -0
- package/vscode/src/vs/sessions/contrib/changes/common/changes.d.ts +48 -0
- package/vscode/src/vs/sessions/contrib/changes/common/changes.js +45 -0
- package/vscode/src/vs/sessions/contrib/changes/common/changesViewService.d.ts +32 -0
- package/vscode/src/vs/sessions/contrib/changes/common/changesViewService.service.d.ts +33 -0
- package/vscode/src/vs/sessions/contrib/changes/common/changesViewService.service.js +6 -0
- package/vscode/src/vs/sessions/contrib/changes/common/createPullRequestPreferences.d.ts +22 -0
- package/vscode/src/vs/sessions/contrib/changes/common/createPullRequestPreferences.js +47 -0
- package/vscode/src/vs/sessions/contrib/changes/common/pullRequestCreation.d.ts +56 -0
- package/vscode/src/vs/sessions/contrib/changes/common/pullRequestCreation.js +7 -0
- package/vscode/src/vs/sessions/contrib/changes/common/sessionChangesService.d.ts +12 -0
- package/vscode/src/vs/sessions/contrib/changes/common/sessionChangesService.service.d.ts +17 -0
- package/vscode/src/vs/sessions/contrib/changes/common/sessionChangesService.service.js +6 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/agentHostInputCompletions.d.ts +125 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/agentHostInputCompletions.js +520 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/branchPicker.d.ts +71 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/branchPicker.js +254 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/chatViewStateService.service.d.ts +8 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/chatViewStateService.service.js +6 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/chatWidgetUtils.d.ts +7 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/chatWidgetUtils.js +38 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/checkboxChip.d.ts +38 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/checkboxChip.js +100 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/customizationHarnessService.d.ts +12 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/customizationHarnessService.js +20 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/externalSessionBanner.d.ts +48 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/externalSessionBanner.js +321 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/media/branchPicker.css +23 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/media/chatInput.css +764 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/media/chatInputMobile.css +52 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/media/chatView.css +327 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/media/chatWidget.css +547 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/media/checkboxChip.css +30 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/media/externalSessionBanner.css +78 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/media/newChatInSession.css +130 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/media/newSessionPromptOptions.css +218 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/media/noAgentHostEmptyState.css +98 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/media/voiceChatView.css +33 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/mobile/mobileSessionTypePicker.d.ts +36 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/mobile/mobileSessionTypePicker.js +137 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/mobile/mobileWorkspacePickerSheet.d.ts +47 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/mobile/mobileWorkspacePickerSheet.js +305 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/modelPicker.d.ts +53 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/modelPicker.js +189 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newChatContextAttachments.d.ts +81 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newChatContextAttachments.js +555 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newChatInSessionWidget.d.ts +37 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newChatInSessionWidget.js +195 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newChatInput.d.ts +247 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newChatInput.js +1806 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newChatInputPasteTarget.d.ts +31 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newChatInputPasteTarget.js +69 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newChatModelPicker.d.ts +14 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newChatModelPicker.js +27 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newChatModelPicker.service.d.ts +9 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newChatModelPicker.service.js +6 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newChatPickerTelemetry.d.ts +30 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newChatPickerTelemetry.js +15 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newChatVoice.d.ts +87 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newChatVoice.js +293 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newChatVoice.service.d.ts +23 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newChatVoice.service.js +6 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newChatWidget.d.ts +165 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newChatWidget.js +1006 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionComposerService.d.ts +84 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionComposerService.js +69 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionComposerService.service.d.ts +22 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionComposerService.service.js +6 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionConfigToolbars.d.ts +7 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionConfigToolbars.js +26 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionPromptOptions.d.ts +36 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionPromptOptions.js +217 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/noAgentHostEmptyState.d.ts +20 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/noAgentHostEmptyState.js +66 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/promptTemplatePlaceholder.d.ts +21 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/promptTemplatePlaceholder.js +134 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/promptTypingAnimation.d.ts +22 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/promptTypingAnimation.js +76 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/responseSelectionResolver.d.ts +16 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/responseSelectionResolver.js +84 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/responseSelectionSideChatController.d.ts +79 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/responseSelectionSideChatController.js +323 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionArchiveNudge.d.ts +55 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionArchiveNudge.js +333 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionArchiveNudge.service.d.ts +12 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionArchiveNudge.service.js +6 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionArtifacts.d.ts +64 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionArtifacts.js +347 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionBackgroundActivitiesControl.d.ts +26 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionBackgroundActivitiesControl.js +59 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionBrowsersControl.d.ts +30 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionBrowsersControl.js +141 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionChatInputToolbar.d.ts +95 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionChatInputToolbar.js +501 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionChatInputToolbarDebug.service.d.ts +11 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionChatInputToolbarDebug.service.js +6 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionCustomizations.d.ts +17 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionCustomizations.js +148 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionModelPickerState.d.ts +26 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionModelPickerState.js +41 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionModelSelection.d.ts +84 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionModelSelection.js +410 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionModelSelection.service.d.ts +10 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionModelSelection.service.js +6 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionReferenceCompletions.d.ts +34 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionReferenceCompletions.js +182 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionTaskRunner.service.d.ts +24 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionTaskRunner.service.js +6 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionTypePicker.d.ts +212 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionTypePicker.js +558 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionWorkspaceFallback.d.ts +34 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionWorkspaceFallback.js +81 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionWorkspacePicker.d.ts +423 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionWorkspacePicker.js +1926 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionsChatHistory.d.ts +1 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionsChatHistory.js +5 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionsTasksService.d.ts +126 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionsTasksService.js +454 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionsTasksService.service.d.ts +101 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionsTasksService.service.js +6 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sideChatOrchestration.d.ts +13 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sideChatOrchestration.js +14 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/slashCommands.d.ts +50 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/slashCommands.js +353 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/variableCompletions.d.ts +49 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/variableCompletions.js +326 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/voiceInputDecorations.d.ts +2 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/voiceInputDecorations.js +6 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/webWorkspacePicker.d.ts +47 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/webWorkspacePicker.js +197 -0
- package/vscode/src/vs/sessions/contrib/chat/common/constants.d.ts +3 -0
- package/vscode/src/vs/sessions/contrib/chat/common/constants.js +7 -0
- package/vscode/src/vs/sessions/contrib/chat/common/newChatContextIds.d.ts +12 -0
- package/vscode/src/vs/sessions/contrib/chat/common/newChatContextIds.js +21 -0
- package/vscode/src/vs/sessions/contrib/codeReview/browser/codeReviewService.d.ts +73 -0
- package/vscode/src/vs/sessions/contrib/codeReview/browser/codeReviewService.js +216 -0
- package/vscode/src/vs/sessions/contrib/codeReview/browser/codeReviewService.service.d.ts +32 -0
- package/vscode/src/vs/sessions/contrib/codeReview/browser/codeReviewService.service.js +6 -0
- package/vscode/src/vs/sessions/contrib/editor/browser/diffEditor.sessions.contribution.d.ts +54 -0
- package/vscode/src/vs/sessions/contrib/editor/browser/diffEditor.sessions.contribution.js +211 -0
- package/vscode/src/vs/sessions/contrib/editor/browser/diffEditorOptionsService.d.ts +23 -0
- package/vscode/src/vs/sessions/contrib/editor/browser/diffEditorOptionsService.js +62 -0
- package/vscode/src/vs/sessions/contrib/editor/common/diffEditorOptionsService.d.ts +6 -0
- package/vscode/src/vs/sessions/contrib/editor/common/diffEditorOptionsService.js +9 -0
- package/vscode/src/vs/sessions/contrib/editor/common/diffEditorOptionsService.service.d.ts +15 -0
- package/vscode/src/vs/sessions/contrib/editor/common/diffEditorOptionsService.service.js +6 -0
- package/vscode/src/vs/sessions/contrib/github/browser/fetchers/githubChangesFetcher.d.ts +10 -0
- package/vscode/src/vs/sessions/contrib/github/browser/fetchers/githubChangesFetcher.js +20 -0
- package/vscode/src/vs/sessions/contrib/github/browser/fetchers/githubIssueFetcher.d.ts +7 -0
- package/vscode/src/vs/sessions/contrib/github/browser/fetchers/githubIssueFetcher.js +39 -0
- package/vscode/src/vs/sessions/contrib/github/browser/fetchers/githubPRCIFetcher.d.ts +29 -0
- package/vscode/src/vs/sessions/contrib/github/browser/fetchers/githubPRCIFetcher.js +113 -0
- package/vscode/src/vs/sessions/contrib/github/browser/fetchers/githubPRFetcher.d.ts +21 -0
- package/vscode/src/vs/sessions/contrib/github/browser/fetchers/githubPRFetcher.js +276 -0
- package/vscode/src/vs/sessions/contrib/github/browser/fetchers/githubPullRequestContextFetcher.d.ts +8 -0
- package/vscode/src/vs/sessions/contrib/github/browser/fetchers/githubPullRequestContextFetcher.js +80 -0
- package/vscode/src/vs/sessions/contrib/github/browser/fetchers/githubPullRequestsFetcher.d.ts +10 -0
- package/vscode/src/vs/sessions/contrib/github/browser/fetchers/githubPullRequestsFetcher.js +109 -0
- package/vscode/src/vs/sessions/contrib/github/browser/fetchers/githubRecentUserWorkFetcher.d.ts +34 -0
- package/vscode/src/vs/sessions/contrib/github/browser/fetchers/githubRecentUserWorkFetcher.js +160 -0
- package/vscode/src/vs/sessions/contrib/github/browser/fetchers/githubRepositoryFetcher.d.ts +11 -0
- package/vscode/src/vs/sessions/contrib/github/browser/fetchers/githubRepositoryFetcher.js +25 -0
- package/vscode/src/vs/sessions/contrib/github/browser/githubApiClient.d.ts +45 -0
- package/vscode/src/vs/sessions/contrib/github/browser/githubApiClient.js +189 -0
- package/vscode/src/vs/sessions/contrib/github/browser/githubService.d.ts +57 -0
- package/vscode/src/vs/sessions/contrib/github/browser/githubService.js +200 -0
- package/vscode/src/vs/sessions/contrib/github/browser/githubService.service.d.ts +61 -0
- package/vscode/src/vs/sessions/contrib/github/browser/githubService.service.js +6 -0
- package/vscode/src/vs/sessions/contrib/github/browser/issueHover.d.ts +10 -0
- package/vscode/src/vs/sessions/contrib/github/browser/issueHover.js +57 -0
- package/vscode/src/vs/sessions/contrib/github/browser/media/issueHover.css +59 -0
- package/vscode/src/vs/sessions/contrib/github/browser/media/pullRequestHover.css +88 -0
- package/vscode/src/vs/sessions/contrib/github/browser/models/githubIssueModel.d.ts +77 -0
- package/vscode/src/vs/sessions/contrib/github/browser/models/githubIssueModel.js +119 -0
- package/vscode/src/vs/sessions/contrib/github/browser/models/githubPullRequestCIModel.d.ts +78 -0
- package/vscode/src/vs/sessions/contrib/github/browser/models/githubPullRequestCIModel.js +188 -0
- package/vscode/src/vs/sessions/contrib/github/browser/models/githubPullRequestModel.d.ts +51 -0
- package/vscode/src/vs/sessions/contrib/github/browser/models/githubPullRequestModel.js +133 -0
- package/vscode/src/vs/sessions/contrib/github/browser/models/githubPullRequestReviewThreadsModel.d.ts +54 -0
- package/vscode/src/vs/sessions/contrib/github/browser/models/githubPullRequestReviewThreadsModel.js +128 -0
- package/vscode/src/vs/sessions/contrib/github/browser/models/githubRepositoryModel.d.ts +30 -0
- package/vscode/src/vs/sessions/contrib/github/browser/models/githubRepositoryModel.js +66 -0
- package/vscode/src/vs/sessions/contrib/github/browser/pullRequestHover.d.ts +10 -0
- package/vscode/src/vs/sessions/contrib/github/browser/pullRequestHover.js +62 -0
- package/vscode/src/vs/sessions/contrib/github/browser/pullRequestIconCache.d.ts +18 -0
- package/vscode/src/vs/sessions/contrib/github/browser/pullRequestIconCache.js +72 -0
- package/vscode/src/vs/sessions/contrib/github/browser/pullRequestIconCache.service.d.ts +26 -0
- package/vscode/src/vs/sessions/contrib/github/browser/pullRequestIconCache.service.js +6 -0
- package/vscode/src/vs/sessions/contrib/github/browser/pullRequestIconStatus.d.ts +38 -0
- package/vscode/src/vs/sessions/contrib/github/browser/pullRequestIconStatus.js +82 -0
- package/vscode/src/vs/sessions/contrib/github/common/sessionLifecycleSettings.d.ts +5 -0
- package/vscode/src/vs/sessions/contrib/github/common/sessionLifecycleSettings.js +7 -0
- package/vscode/src/vs/sessions/contrib/github/common/types.d.ts +215 -0
- package/vscode/src/vs/sessions/contrib/github/common/types.js +105 -0
- package/vscode/src/vs/sessions/contrib/github/common/utils.d.ts +23 -0
- package/vscode/src/vs/sessions/contrib/github/common/utils.js +46 -0
- package/vscode/src/vs/sessions/contrib/onboardingTours/browser/tours/sessionArchiveTour.d.ts +5 -0
- package/vscode/src/vs/sessions/contrib/onboardingTours/browser/tours/sessionArchiveTour.js +43 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostAutomationStore.d.ts +104 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostAutomationStore.js +1413 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostDiffs.d.ts +51 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostDiffs.js +59 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostPullRequestCreation.d.ts +19 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostPullRequestCreation.js +70 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostSessionArtifacts.d.ts +25 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostSessionArtifacts.js +123 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostSessionChangesets.d.ts +32 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostSessionChangesets.js +470 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostSessionCustomizations.d.ts +65 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostSessionCustomizations.js +240 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostSessionFiles.d.ts +127 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostSessionFiles.js +315 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostSkillButtons.d.ts +33 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostSkillButtons.js +151 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/baseAgentHostSessionsProvider.d.ts +1416 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/baseAgentHostSessionsProvider.js +5017 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/reconnectableAgentHostAutomationStore.d.ts +56 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/reconnectableAgentHostAutomationStore.js +300 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/browserTunnelAgentHostService.d.ts +102 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/browserTunnelAgentHostService.js +543 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxAgentHostService.d.ts +43 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxAgentHostService.js +264 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxApiService.d.ts +114 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxApiService.js +593 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxCredentialRefresh.d.ts +71 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxCredentialRefresh.js +147 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxTelemetry.d.ts +43 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxTelemetry.js +91 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxTelemetry.service.d.ts +28 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxTelemetry.service.js +6 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/devTunnelsModule.js +27377 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/devTunnelsWebLoader.js +10 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/remoteAgentHostConnectionCustomization.service.d.ts +20 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/remoteAgentHostConnectionCustomization.service.js +6 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/remoteAgentHostSessionsProvider.d.ts +290 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/remoteAgentHostSessionsProvider.js +700 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/remoteHostOptions.d.ts +156 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/remoteHostOptions.js +421 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/tunnelAgentHostStorage.d.ts +29 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/tunnelAgentHostStorage.js +117 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/webTunnelAgentHostService.contribution.d.ts +45 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/webTunnelAgentHostService.contribution.js +104 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/webTunnelAgentHostService.d.ts +61 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/webTunnelAgentHostService.js +351 -0
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/media/sessionInputBanners.css +269 -0
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionInputBannerWidget.d.ts +73 -0
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionInputBannerWidget.js +356 -0
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionInputBanners.d.ts +63 -0
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionInputBanners.js +550 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/agentHostShortcutsWidget.d.ts +18 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/agentHostShortcutsWidget.js +39 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/aiCustomizationShortcutsWidget.d.ts +47 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/aiCustomizationShortcutsWidget.js +237 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/automationsConstants.d.ts +1 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/automationsConstants.js +5 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/automationsNewBadge.d.ts +42 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/automationsNewBadge.js +196 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/customizationsToolbar.contribution.d.ts +85 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/customizationsToolbar.contribution.js +335 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/media/agentHostToolbar.css +42 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/media/customizationsToolbar.css +192 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/media/sessionsList.css +1111 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/media/sessionsViewPane.css +242 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/sessionHoverContent.d.ts +23 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/sessionHoverContent.js +76 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/sessionsLifecycleTracker.d.ts +191 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/sessionsLifecycleTracker.js +514 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/views/sessionsList.d.ts +641 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/views/sessionsList.js +3939 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/views/sessionsView.d.ts +88 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/views/sessionsView.js +721 -0
- package/vscode/src/vs/sessions/services/agentHostFilter/common/agentHostFilter.d.ts +47 -0
- package/vscode/src/vs/sessions/services/agentHostFilter/common/agentHostFilter.js +10 -0
- package/vscode/src/vs/sessions/services/agentHostFilter/common/agentHostFilter.service.d.ts +71 -0
- package/vscode/src/vs/sessions/services/agentHostFilter/common/agentHostFilter.service.js +6 -0
- package/vscode/src/vs/sessions/services/chatBackground/browser/chatBackgroundRenderer.d.ts +23 -0
- package/vscode/src/vs/sessions/services/chatBackground/browser/chatBackgroundRenderer.js +192 -0
- package/vscode/src/vs/sessions/services/chatBackground/browser/chatBackgroundService.d.ts +108 -0
- package/vscode/src/vs/sessions/services/chatBackground/browser/chatBackgroundService.js +258 -0
- package/vscode/src/vs/sessions/services/chatBackground/browser/chatBackgroundService.service.d.ts +14 -0
- package/vscode/src/vs/sessions/services/chatBackground/browser/chatBackgroundService.service.js +6 -0
- package/vscode/src/vs/sessions/services/chatBackground/browser/media/chatBackground.css +47 -0
- package/vscode/src/vs/sessions/services/chatView/browser/chatViewFactory.service.d.ts +21 -0
- package/vscode/src/vs/sessions/services/chatView/browser/chatViewFactory.service.js +6 -0
- package/vscode/src/vs/sessions/services/customView/browser/customViewGridPartService.service.d.ts +14 -0
- package/vscode/src/vs/sessions/services/customView/browser/customViewGridPartService.service.js +6 -0
- package/vscode/src/vs/sessions/services/customView/browser/customViewService.service.d.ts +21 -0
- package/vscode/src/vs/sessions/services/customView/browser/customViewService.service.js +6 -0
- package/vscode/src/vs/sessions/services/sessions/browser/gitHubRepositoryResolver.d.ts +9 -0
- package/vscode/src/vs/sessions/services/sessions/browser/gitHubRepositoryResolver.js +115 -0
- package/vscode/src/vs/sessions/services/sessions/browser/sessionContext.d.ts +23 -0
- package/vscode/src/vs/sessions/services/sessions/browser/sessionContext.js +19 -0
- package/vscode/src/vs/sessions/services/sessions/browser/sessionContext.service.d.ts +26 -0
- package/vscode/src/vs/sessions/services/sessions/browser/sessionContext.service.js +6 -0
- package/vscode/src/vs/sessions/services/sessions/browser/sessionGroupsService.service.d.ts +51 -0
- package/vscode/src/vs/sessions/services/sessions/browser/sessionGroupsService.service.js +6 -0
- package/vscode/src/vs/sessions/services/sessions/browser/sessionOpenTelemetryService.service.d.ts +14 -0
- package/vscode/src/vs/sessions/services/sessions/browser/sessionOpenTelemetryService.service.js +6 -0
- package/vscode/src/vs/sessions/services/sessions/browser/sessionReference.d.ts +20 -0
- package/vscode/src/vs/sessions/services/sessions/browser/sessionReference.js +30 -0
- package/vscode/src/vs/sessions/services/sessions/browser/sessionSectionOrderService.service.d.ts +48 -0
- package/vscode/src/vs/sessions/services/sessions/browser/sessionSectionOrderService.service.js +6 -0
- package/vscode/src/vs/sessions/services/sessions/browser/sessionsListModelService.service.d.ts +56 -0
- package/vscode/src/vs/sessions/services/sessions/browser/sessionsListModelService.service.js +6 -0
- package/vscode/src/vs/sessions/services/sessions/browser/sessionsPartService.d.ts +9 -0
- package/vscode/src/vs/sessions/services/sessions/browser/sessionsPartService.service.d.ts +58 -0
- package/vscode/src/vs/sessions/services/sessions/browser/sessionsPartService.service.js +6 -0
- package/vscode/src/vs/sessions/services/sessions/browser/sessionsProvidersService.service.d.ts +17 -0
- package/vscode/src/vs/sessions/services/sessions/browser/sessionsProvidersService.service.js +6 -0
- package/vscode/src/vs/sessions/services/sessions/browser/sessionsRecentWorkspacesService.d.ts +53 -0
- package/vscode/src/vs/sessions/services/sessions/browser/sessionsRecentWorkspacesService.js +411 -0
- package/vscode/src/vs/sessions/services/sessions/browser/sessionsRecentWorkspacesService.service.d.ts +32 -0
- package/vscode/src/vs/sessions/services/sessions/browser/sessionsRecentWorkspacesService.service.js +6 -0
- package/vscode/src/vs/sessions/services/sessions/browser/sessionsService.service.d.ts +184 -0
- package/vscode/src/vs/sessions/services/sessions/browser/sessionsService.service.js +6 -0
- package/vscode/src/vs/sessions/services/sessions/browser/sessionsWindowUsageService.service.d.ts +6 -0
- package/vscode/src/vs/sessions/services/sessions/browser/sessionsWindowUsageService.service.js +6 -0
- package/vscode/src/vs/sessions/services/sessions/common/session.d.ts +868 -0
- package/vscode/src/vs/sessions/services/sessions/common/session.js +265 -0
- package/vscode/src/vs/sessions/services/sessions/common/sessionChangesStatsCache.d.ts +36 -0
- package/vscode/src/vs/sessions/services/sessions/common/sessionChangesStatsCache.js +130 -0
- package/vscode/src/vs/sessions/services/sessions/common/sessionChangesStatsCache.service.d.ts +22 -0
- package/vscode/src/vs/sessions/services/sessions/common/sessionChangesStatsCache.service.js +6 -0
- package/vscode/src/vs/sessions/services/sessions/common/sessionsManagement.d.ts +208 -0
- package/vscode/src/vs/sessions/services/sessions/common/sessionsManagement.js +17 -0
- package/vscode/src/vs/sessions/services/sessions/common/sessionsManagement.service.d.ts +316 -0
- package/vscode/src/vs/sessions/services/sessions/common/sessionsManagement.service.js +6 -0
- package/vscode/src/vs/sessions/services/sessions/common/sessionsProvider.d.ts +471 -0
- package/vscode/src/vs/sessions/sessions.web.main.internal.d.ts +6 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadDocuments.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookDto.d.ts +17 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookDto.js +131 -0
- package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +9 -7
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +3 -3
- package/vscode/src/vs/workbench/api/common/extHostAgentEditorComments.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +24 -24
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +17 -14
- package/vscode/src/vs/workbench/api/common/extHostBrowsers.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +24 -22
- package/vscode/src/vs/workbench/api/common/extHostChatDebug.js +14 -14
- package/vscode/src/vs/workbench/api/common/extHostChatInputNotification.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +20 -20
- package/vscode/src/vs/workbench/api/common/extHostCodeMapper.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostCommands.js +6 -6
- package/vscode/src/vs/workbench/api/common/extHostComments.js +7 -7
- package/vscode/src/vs/workbench/api/common/extHostDataChannels.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostDebugService.js +7 -7
- package/vscode/src/vs/workbench/api/common/extHostDecorations.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostDialogs.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDocuments.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostDocumentsAndEditors.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostEditorTabs.js +10 -10
- package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +15 -13
- package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.js +11 -11
- package/vscode/src/vs/workbench/api/common/extHostGitExtensionService.js +10 -10
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +67 -62
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +22 -15
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLoggerService.js +5 -1
- package/vscode/src/vs/workbench/api/common/extHostMcp.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostMemento.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +64 -54
- package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +8 -8
- package/vscode/src/vs/workbench/api/common/extHostNotebookEditor.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebookEditors.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +12 -12
- package/vscode/src/vs/workbench/api/common/extHostQuickDiff.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostQuickOpen.js +7 -7
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +16 -16
- package/vscode/src/vs/workbench/api/common/extHostSearch.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostSecrets.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTestItem.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostTesting.js +28 -25
- package/vscode/src/vs/workbench/api/common/extHostTextEditor.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostTextEditors.js +9 -9
- package/vscode/src/vs/workbench/api/common/extHostTimeline.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +21 -19
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +11 -9
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +112 -111
- package/vscode/src/vs/workbench/api/common/extHostTypes/snippetString.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostWebview.js +4 -1
- package/vscode/src/vs/workbench/api/common/extHostWebviewMessaging.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +11 -11
- package/vscode/src/vs/workbench/api/common/extHostXaaAuthProvider.js +1 -1
- package/vscode/src/vs/workbench/api/common/extensionHostMain.js +2 -2
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +20 -20
- package/vscode/src/vs/workbench/api/worker/extensionHostWorker.js +4 -2
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +69 -60
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +144 -144
- package/vscode/src/vs/workbench/browser/actions/policyDiagnosticsMarkdown.js +5 -1
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/actions/widgetNavigationCommands.js +16 -14
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +23 -23
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +10 -10
- package/vscode/src/vs/workbench/browser/animatedCounterWidget.d.ts +31 -0
- package/vscode/src/vs/workbench/browser/animatedCounterWidget.js +102 -0
- package/vscode/src/vs/workbench/browser/chatChangesPill.d.ts +29 -0
- package/vscode/src/vs/workbench/browser/chatChangesPill.js +84 -0
- package/vscode/src/vs/workbench/browser/chatDropdownPill.d.ts +95 -0
- package/vscode/src/vs/workbench/browser/chatDropdownPill.js +315 -0
- package/vscode/src/vs/workbench/browser/chatPills.d.ts +167 -0
- package/vscode/src/vs/workbench/browser/chatPills.js +450 -0
- package/vscode/src/vs/workbench/browser/chatResourcePill.d.ts +21 -0
- package/vscode/src/vs/workbench/browser/chatResourcePill.js +67 -0
- package/vscode/src/vs/workbench/browser/dnd.js +20 -18
- package/vscode/src/vs/workbench/browser/editor.js +5 -5
- package/vscode/src/vs/workbench/browser/labels.js +4 -4
- package/vscode/src/vs/workbench/browser/media/animatedCounterWidget.css +21 -0
- package/vscode/src/vs/workbench/browser/media/chatPills.css +268 -0
- package/vscode/src/vs/workbench/browser/part.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +25 -25
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +25 -25
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/compositeBar.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +14 -14
- package/vscode/src/vs/workbench/browser/parts/compositePart.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/dialogs/dialog.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +38 -38
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +7 -7
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +157 -151
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +35 -35
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommandsContext.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +12 -12
- package/vscode/src/vs/workbench/browser/parts/editor/editorHeaderControl.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +11 -11
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +78 -76
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +8 -8
- package/vscode/src/vs/workbench/browser/parts/editor/editorTitleControl.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorTypePicker.js +12 -12
- package/vscode/src/vs/workbench/browser/parts/editor/editorsObserver.js +10 -6
- package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +10 -10
- package/vscode/src/vs/workbench/browser/parts/editor/noEditorTabsControl.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +6 -3
- package/vscode/src/vs/workbench/browser/parts/editor/singleEditorTabsControl.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +21 -21
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationAccessibleView.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +23 -23
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +11 -9
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +7 -7
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +20 -20
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +28 -28
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarActions.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/titlebar/media/titlebarpart.css +541 -0
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubar.contribution.js +78 -0
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +12 -12
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +25 -23
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +7 -7
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +17 -17
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/style.js +1 -1
- package/vscode/src/vs/workbench/browser/window.js +14 -14
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +232 -232
- package/vscode/src/vs/workbench/browser/workbench.zenMode.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/browser/workbench.zenMode.contribution.js +140 -0
- package/vscode/src/vs/workbench/common/chatPullRequest.d.ts +19 -0
- package/vscode/src/vs/workbench/common/chatPullRequest.js +65 -0
- package/vscode/src/vs/workbench/common/configuration.js +17 -14
- package/vscode/src/vs/workbench/common/contextkeys.js +140 -139
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/editorGroupModel.js +4 -4
- 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 +6 -6
- package/vscode/src/vs/workbench/common/notifications.js +1 -1
- package/vscode/src/vs/workbench/common/resources.js +1 -1
- package/vscode/src/vs/workbench/common/theme.js +199 -199
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/common/views.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +232 -228
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/voiceModeOnboarding.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoice.js +5 -5
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoice.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoiceColors.js +2 -2
- package/vscode/src/vs/workbench/contrib/browserView/common/browserEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/browserView/common/browserView.js +11 -11
- package/vscode/src/vs/workbench/contrib/browserView/common/browserView.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/browserView/common/browserZoomService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkCellEdits.js +3 -3
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/conflicts.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/conflicts.js +73 -0
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEdit.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEdit.contribution.js +311 -0
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEdit.css +104 -0
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEditPane.d.ts +64 -0
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEditPane.js +391 -0
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEditPreview.d.ts +88 -0
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEditPreview.js +393 -0
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEditTree.d.ts +132 -0
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEditTree.js +630 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityProvider.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityProvider.js +220 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +65 -65
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContext.d.ts +59 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContext.js +482 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContinueInAction.d.ts +86 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContinueInAction.js +600 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatElicitationActions.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatElicitationActions.js +60 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.d.ts +89 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +928 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatForkActions.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatForkActions.js +246 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatModelFeedbackSurveyActions.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatModelFeedbackSurveyActions.js +119 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatSpeechToTextActions.d.ts +58 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatSpeechToTextActions.js +341 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +368 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolActions.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolActions.js +211 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolPicker.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolPicker.js +712 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/configureVoiceInstructionsAction.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/configureVoiceInstructionsAction.js +89 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/exportAgentHostDebugLogsAction.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentHostCompletionAction.d.ts +30 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentHostCompletionAction.js +37 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginActions.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginItems.d.ts +30 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginItems.js +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostByokLmHandler.d.ts +50 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostByokLmHandler.js +479 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatInputPicker.contribution.d.ts +45 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatInputPicker.contribution.js +137 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatInputPicker.d.ts +156 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatInputPicker.js +1053 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatReferenceAttachment.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatReferenceAttachment.js +35 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationService.service.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostDownloadProgress.d.ts +35 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostDownloadProgress.js +73 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostFolderPickerActionItem.d.ts +50 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostFolderPickerActionItem.js +189 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostFolderPickerTip.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostFolderPickerTip.js +55 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostGenericConfigChips.d.ts +47 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostGenericConfigChips.js +183 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostImportConversationStore.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostModePickerPresentation.d.ts +37 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostModePickerPresentation.js +230 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostNewSessionFolderService.d.ts +101 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostNewSessionFolderService.js +164 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostNewSessionFolderService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostProtectedResourcesService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSdkSetupNotification.d.ts +110 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSdkSetupNotification.js +279 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionReferenceAttachment.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionReferenceAttachment.js +76 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionUri.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionUri.js +21 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectoryResolver.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectorySynchronizer.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostShellInitSynchronizer.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSnapshotController.d.ts +116 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSnapshotController.js +348 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolSetEnablementService.d.ts +51 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolSetEnablementService.js +167 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolSetEnablementService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/importLocalConversationToAgentSession.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/importLocalConversationToAgentSession.js +218 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/media/agentHostChatInputPicker.css +171 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/media/agentHostModePicker.css +193 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/stateToProgressAdapter.d.ts +273 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/stateToProgressAdapter.js +2478 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionApprovalModel.d.ts +45 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionApprovalModel.js +122 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsBanner.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsFilter.d.ts +72 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsFilter.js +393 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.d.ts +262 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.js +865 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsOpener.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsOpener.js +160 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsService.service.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/externalSessionsFilterMenu.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/externalSessionsFilterMenu.js +62 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/media/agentSessionHoverWidget.css +98 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/media/agentsessionsviewer.css +471 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/media/sessionSummaryHover.css +104 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/sessionSummaryHover.d.ts +115 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/sessionSummaryHover.js +168 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/sessionSummaryHoverService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/sessionTypeAvailability.d.ts +83 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/sessionTypeAvailability.js +134 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationDebugPanel.d.ts +35 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationDebugPanel.js +294 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationIcons.d.ts +66 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationIcons.js +39 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemSource.d.ts +147 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemSource.js +349 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemsModel.d.ts +83 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemsModel.js +264 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemsModel.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidget.d.ts +278 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidget.js +2036 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidgetUtils.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidgetUtils.js +18 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditor.d.ts +397 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditor.js +4132 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditorInput.d.ts +37 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditorInput.js +93 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementSectionRegistry.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementSectionRegistry.js +34 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationPresentation.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationPresentation.js +23 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWelcomePage.d.ts +57 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWelcomePage.js +48 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWelcomePagePromptLaunchers.d.ts +40 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWelcomePagePromptLaunchers.js +369 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationCardList.d.ts +40 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationCardList.js +302 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationCreatorService.d.ts +70 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationCreatorService.js +220 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationGroupHeaderRenderer.d.ts +43 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationGroupHeaderRenderer.js +63 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigration.d.ts +38 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigration.js +240 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationCategories.d.ts +82 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationCategories.js +765 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationDashboard.d.ts +80 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationDashboard.js +279 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedAgentPluginDetail.d.ts +109 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedAgentPluginDetail.js +743 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedExtensionToolsDetail.d.ts +42 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedExtensionToolsDetail.js +130 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedMcpServerDetail.d.ts +62 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedMcpServerDetail.js +217 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/galleryItemRenderer.d.ts +46 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/galleryItemRenderer.js +91 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpListWidget.d.ts +357 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpListWidget.js +2661 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/media/aiCustomizationManagement.css +3742 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/media/aiCustomizationWelcomePromptLaunchers.css +301 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/media/customizationMigrationDashboard.css +354 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/pluginListWidget.d.ts +197 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/pluginListWidget.js +2205 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/promptsServiceCustomizationItemProvider.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/promptsServiceCustomizationItemProvider.js +317 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/toolsListWidget.d.ts +132 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/toolsListWidget.js +1216 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentModel.d.ts +37 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentModel.js +197 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentResolveService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgets.d.ts +275 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgets.js +2252 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatContextPickService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables.d.ts +57 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables.js +311 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatImplicitContext.d.ts +76 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatImplicitContext.js +485 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatScreenshotContext.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatVariables.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatVariables.js +80 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatWidgetPasteTarget.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatWidgetPasteTarget.js +40 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/implicitContextAttachment.d.ts +53 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/implicitContextAttachment.js +363 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingActions.d.ts +52 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingActions.js +788 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationModelManager.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelContentProviders.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelContentProviders.js +98 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatIcons.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatIcons.js +36 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImageCarouselService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImageUtils.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPills.d.ts +86 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPills.js +289 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsViewModel.d.ts +118 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsViewModel.js +543 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.d.ts +82 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.js +1452 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/media/chatModelsWidget.css +329 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOutline.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementPreview.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementPreview.js +114 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievements.d.ts +99 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievements.js +329 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetService.d.ts +66 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetService.js +504 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetService.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatRequestText.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatRequestText.js +12 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseFileChangesService.d.ts +55 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseFileChangesService.js +37 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseFileChangesService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionPickerActionItem.d.ts +60 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionPickerActionItem.js +259 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.d.ts +231 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +1852 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/media/chatSessionPickerActionItem.css +58 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.d.ts +109 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.js +85 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatus.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatus.js +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.d.ts +99 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.js +1268 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusItemService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/media/chatStatus.css +552 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTerminalCommandPaste.d.ts +35 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTerminalCommandPaste.js +94 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/editorChatResponseFileChangesService.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/editorChatResponseFileChangesService.js +45 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/enablementActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/feedbackSurvey/chatModelFeedbackSurveyService.d.ts +123 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/feedbackSurvey/chatModelFeedbackSurveyService.js +484 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/feedbackSurvey/chatModelFeedbackSurveyService.service.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/feedbackSurvey/chatModelFeedbackSurveyWidget.d.ts +39 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/feedbackSurvey/chatModelFeedbackSurveyWidget.js +230 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/feedbackSurvey/media/chatModelFeedbackSurvey.css +108 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/attachInstructionsAction.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/attachInstructionsAction.js +95 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookActions.d.ts +31 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookActions.js +676 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookUtils.d.ts +68 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookUtils.js +225 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/newPromptFileActions.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/newPromptFileActions.js +355 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/pickers/askForPromptName.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/pickers/askForPromptName.js +81 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/pickers/askForPromptSourceFolder.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/pickers/askForPromptSourceFolder.js +181 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/pickers/promptFilePickers.d.ts +75 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/pickers/promptFilePickers.js +632 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptFileRewriter.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/sessionChatPillOptions.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/sessionChatPillOptions.js +52 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/sessionPullRequestPill.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/sessionPullRequestPill.js +58 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/sessionResourceMatching.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/chatSpeechToTextService.js +19 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/chatSpeechToTextService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationActionViewItem.d.ts +32 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationActionViewItem.js +77 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationDownloadActionViewItem.d.ts +30 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationDownloadActionViewItem.js +91 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationDownloadRing.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationMicGlow.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationMicGlow.js +121 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationOnboarding.d.ts +124 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationOnboarding.js +622 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationOnboarding.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationSession.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/media/dictationMicGlow.css +99 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/media/dictationOnboarding.css +128 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/micButtonHovers.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/micButtonHovers.js +60 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/micButtonMenuActions.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/micButtonMenuActions.js +161 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/voiceCodeTranscriptionClient.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/chatToolRiskAssessmentService.d.ts +35 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/chatToolRiskAssessmentService.js +321 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/chatToolRiskAssessmentService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolSetsContribution.d.ts +45 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolSetsContribution.js +509 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewWelcomeController.d.ts +58 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewWelcomeController.js +177 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcome.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcome.js +31 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/media/voiceGlow.css +264 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/media/voiceInputDecorations.css +50 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/ttsPlaybackService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceGlow.d.ts +82 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceGlow.js +101 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceGlowController.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceGlowController.js +459 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceInputDecorations.d.ts +47 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceInputDecorations.js +193 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceInputUtils.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceInputUtils.js +13 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceModeActionViewItem.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceModeActionViewItem.js +59 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceSessionController.d.ts +1174 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceSessionController.js +5599 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceSessionController.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceToolDispatchService.d.ts +99 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceToolDispatchService.js +691 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceToolDispatchService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceInputMode/media/voiceInputMode.css +201 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceInputMode/voiceInputModeActionViewItem.d.ts +137 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceInputMode/voiceInputModeActionViewItem.js +777 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceInputMode/voiceInputModeContextKeys.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceInputMode/voiceInputModeContextKeys.js +14 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatAgentHover.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatAgentHover.js +112 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatArtifactsWidget.d.ts +41 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatArtifactsWidget.js +533 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatCard.d.ts +37 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatCard.js +44 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatCardListbox.d.ts +35 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatCardListbox.js +55 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatClipboard.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatClipboard.js +92 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentMarkdownRenderer.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentMarkdownRenderer.js +175 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAgentCommandContentPart.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAgentCommandContentPart.js +51 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAgentMergeContentPart.d.ts +72 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAgentMergeContentPart.js +418 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAnonymousRateLimitedPart.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAnonymousRateLimitedPart.js +51 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAttachmentsContentPart.d.ts +51 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAttachmentsContentPart.js +321 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAutoModeResolutionContentPart.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAutoModeResolutionContentPart.js +48 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatChangesSummaryPart.d.ts +52 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatChangesSummaryPart.js +354 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCodeCitationContentPart.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCodeCitationContentPart.js +50 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollapsibleContentPart.d.ts +69 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollapsibleContentPart.js +272 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollapsibleMarkdownContentPart.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollapsibleMarkdownContentPart.js +52 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollections.d.ts +61 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollections.js +186 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCommandContentPart.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCommandContentPart.js +45 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatContentCodePools.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatContentCodePools.js +97 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatContentParts.d.ts +70 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatContentParts.js +29 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatDiffBlockPart.d.ts +40 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatDiffBlockPart.js +155 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatDisabledClaudeHooksContentPart.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatDisabledClaudeHooksContentPart.js +56 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatEditPillElement.d.ts +104 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatEditPillElement.js +153 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatErrorConfirmationPart.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatErrorConfirmationPart.js +92 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatErrorContentPart.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatErrorContentPart.js +46 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatExtensionsContentPart.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatExtensionsContentPart.js +63 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatExternalEditContentPart.d.ts +49 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatExternalEditContentPart.js +149 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatHookContentPart.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatHookContentPart.js +67 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatIncrementalRendering/animations/animation.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatIncrementalRendering/animations/animationRegistry.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatIncrementalRendering/animations/animationRegistry.js +16 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatIncrementalRendering/animations/blockAnimations.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatIncrementalRendering/animations/blockAnimations.js +33 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatIncrementalRendering/buffers/buffer.d.ts +46 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatIncrementalRendering/buffers/bufferRegistry.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatIncrementalRendering/buffers/bufferRegistry.js +12 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatIncrementalRendering/buffers/offBuffer.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatIncrementalRendering/buffers/offBuffer.js +12 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatIncrementalRendering/buffers/paragraphBuffer.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatIncrementalRendering/buffers/paragraphBuffer.js +37 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatIncrementalRendering/buffers/wordBuffer.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatIncrementalRendering/buffers/wordBuffer.js +68 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatIncrementalRendering/chatIncrementalRendering.d.ts +84 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatIncrementalRendering/chatIncrementalRendering.js +187 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatIncrementalRendering/media/chatIncrementalRendering.css +112 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatInlineAnchorWidget.d.ts +63 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatInlineAnchorWidget.js +584 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownAnchorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownDecorationsRenderer.d.ts +48 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownDecorationsRenderer.js +257 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownTableScrolling.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownTableScrolling.js +55 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMcpAuthenticationContentPart.d.ts +35 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMcpAuthenticationContentPart.js +143 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMcpServersInteractionContentPart.d.ts +32 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMcpServersInteractionContentPart.js +228 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMcpServersStartingContentPart.d.ts +32 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMcpServersStartingContentPart.js +67 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMultiDiffContentPart.d.ts +31 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMultiDiffContentPart.js +302 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatPlanReviewPart.d.ts +101 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatPlanReviewPart.js +904 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatProgressContentPart.d.ts +55 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatProgressContentPart.js +291 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatPullRequestContentPart.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatPullRequestContentPart.js +46 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuestionCarouselPart.d.ts +212 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuestionCarouselPart.js +1656 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuotaExceededPart.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuotaExceededPart.js +75 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatReferencesContentPart.d.ts +69 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatReferencesContentPart.js +586 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatRequestOriginPart.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatRequestOriginPart.js +192 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatResourceGroupWidget.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatResourceGroupWidget.js +280 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatRichLink.d.ts +35 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatRichLink.js +364 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSuggestNextWidget.d.ts +37 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSuggestNextWidget.js +250 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSystemNotificationContentPart.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSystemNotificationContentPart.js +141 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTaskContentPart.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTaskContentPart.js +61 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTextEditContentPart.d.ts +32 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTextEditContentPart.js +163 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingContentPart.d.ts +251 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingContentPart.js +2187 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingExternalResourcesWidget.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingExternalResourcesWidget.js +70 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingStyleContentPart.d.ts +50 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingStyleContentPart.js +78 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTipContentPart.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTipContentPart.js +267 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTodoListWidget.d.ts +47 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTodoListWidget.js +388 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatToolOutputContentSubPart.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatToolOutputContentSubPart.js +113 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTreeContentPart.d.ts +37 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTreeContentPart.js +190 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTurnPillsPart.d.ts +29 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTurnPillsPart.js +156 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatWorkspaceEditContentPart.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatWorkspaceEditContentPart.js +83 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/codeBlockPart.d.ts +180 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/codeBlockPart.js +945 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatAgentFeedbackReviewConfirmation.css +140 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatAgentMergeContent.css +385 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatCodeBlockPill.css +158 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatCollapsibleContentPart.css +62 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatConfirmationWidget.css +602 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatDisabledClaudeHooksContent.css +18 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatExtensionsContent.css +31 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatHookContentPart.css +47 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatInlineAnchorWidget.css +87 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatMarkdownPart.css +23 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatMcpServersInteractionContent.css +18 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatPlanReview.css +384 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatPullRequestContent.css +39 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatQuestionCarousel.css +618 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatRequestOrigin.css +80 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatRichLink.css +471 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatSessionCreatedResult.css +18 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatSubagentContent.css +124 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatSystemNotificationContentPart.css +145 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatTerminalToolProgressPart.css +310 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatThinkingContent.css +567 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatTipContent.css +70 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatToolConfirmationCarousel.css +244 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/codeBlockPart.css +204 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatAutomationConfiguredResultSubPart.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatAutomationConfiguredResultSubPart.js +36 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatGeneratedImageResultSubPart.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatGeneratedImageResultSubPart.js +102 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppModel.d.ts +159 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppModel.js +752 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppSubPart.d.ts +51 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatMcpAppSubPart.js +148 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatOtherClientToolProgressPart.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatOtherClientToolProgressPart.js +55 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatResultListSubPart.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatResultListSubPart.js +32 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatSessionCreatedResultSubPart.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatSessionCreatedResultSubPart.js +70 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolConfirmationCarouselPart.d.ts +71 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolConfirmationCarouselPart.js +533 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolInvocationSubPart.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolInvocationSubPart.js +37 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolOutputPart.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolOutputPart.js +125 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPartUtilities.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolPartUtilities.js +65 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolProgressPart.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolProgressPart.js +137 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolStreamingSubPart.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/chatToolStreamingSubPart.js +69 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/media/toolRiskBadge.css +76 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/terminalToolAutoExpand.d.ts +60 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/terminalToolAutoExpand.js +66 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/toolRiskBadgeHelper.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/toolRiskBadgeHelper.js +78 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/toolRiskBadgeWidget.d.ts +38 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/toolInvocationParts/toolRiskBadgeWidget.js +142 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatDragAndDrop.d.ts +84 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatDragAndDrop.js +470 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatEditorAssociations.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatEditorAssociations.js +16 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatFind/chatFindCommandIds.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatFind/chatFindCommandIds.js +14 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatFind/chatFindContent.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatFind/chatFindContent.js +92 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatFind/chatFindHighlights.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatFind/chatFindHighlights.js +77 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatFind/chatFindWidget.css +23 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatForkActionViewItem.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatForkActionViewItem.js +87 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatOptions.d.ts +51 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatOptions.js +100 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatPendingDragAndDrop.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatPendingDragAndDrop.js +148 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatPetAccessoryRenderer.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatPetAccessoryRenderer.js +278 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatPetAccessoryRig.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatPetAccessoryRig.js +183 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatPetWidget.d.ts +372 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatPetWidget.js +3435 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatPetWidgetService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatReadOnlyBanner.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatReadOnlyBanner.js +44 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatReferenceDrop.d.ts +56 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatReferenceDrop.js +43 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatRestoreCheckpointActionViewItem.d.ts +30 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatRestoreCheckpointActionViewItem.js +138 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatTurnPills.d.ts +79 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatTurnPills.js +56 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatFollowups.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatFollowups.js +57 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatGoalBannerWidget.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatGoalBannerWidget.js +74 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputModelSelectionController.d.ts +130 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputModelSelectionController.js +432 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputModelUtils.d.ts +156 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputModelUtils.js +159 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNoticeHost.d.ts +115 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNoticeHost.js +146 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNoticeHub.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNoticeWidget.d.ts +115 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNoticeWidget.js +130 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService.d.ts +140 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService.js +186 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationWidget.d.ts +96 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationWidget.js +364 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputOnboarding.d.ts +83 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputOnboarding.js +178 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputOnboardingHosts.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputOnboardingHosts.js +30 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPart.d.ts +895 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPart.js +4571 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPickerActionItem.d.ts +42 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPickerActionItem.js +97 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPickerResponsiveLayout.d.ts +38 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPickerResponsiveLayout.js +212 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputStack.d.ts +63 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputStack.js +62 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputStatePersistence.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputStatePersistence.js +18 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputTipPresenter.d.ts +51 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputTipPresenter.js +102 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatModelConfigurationLogic.d.ts +52 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatModelConfigurationLogic.js +118 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatModelConfigurationStore.d.ts +79 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatModelConfigurationStore.js +127 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatModelSelectionDiagnostics.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatModelSelectionDiagnostics.js +60 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatPhoneInputPresenter.d.ts +76 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatPhoneInputPresenter.js +126 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatPhoneInputPresenter.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatSelectedTools.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatSelectedTools.js +192 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatSessionArchiveNudge.d.ts +49 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatSessionArchiveNudge.js +238 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/delegationSessionPickerActionItem.d.ts +44 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/delegationSessionPickerActionItem.js +193 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/agentHostInputCompletionsBase.d.ts +73 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/agentHostInputCompletionsBase.js +65 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatDynamicVariablesConstant.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatDynamicVariablesConstant.js +5 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletionUtils.d.ts +31 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletionUtils.js +110 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputPlaceholderDecoration.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputPlaceholderDecoration.js +28 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputReferenceDecorations.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputReferenceDecorations.js +16 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatPasteProviders.d.ts +71 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatPasteProviders.js +800 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/media/chatGoalBannerWidget.css +72 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/media/chatInputNotice.css +245 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/media/chatInputNotificationWidget.css +162 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/media/chatInputStack.css +86 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/media/chatPhoneInputPresenter.css +22 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/media/chatSessionArchiveNudge.css +128 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modePickerActionItem.d.ts +41 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modePickerActionItem.js +337 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/media/modelPicker.css +1120 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerActionItem.d.ts +82 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerActionItem.js +130 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerAutoRow.d.ts +30 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerAutoRow.js +140 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerBadges.d.ts +29 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerBadges.js +44 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerCard.d.ts +91 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerCard.js +428 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerConfiguration.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerConfiguration.js +175 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerDetails.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerDetails.js +51 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerHover.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerHover.js +226 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerItemPrimitives.d.ts +29 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerItemPrimitives.js +251 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerItemSections.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerItemSections.js +580 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerItemTypes.d.ts +38 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerItems.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerItems.js +101 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerLineage.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerLineage.js +52 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerModelConfig.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerModelConfig.js +45 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerPresentation.d.ts +30 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerPresentation.js +79 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerTabbedWidget.d.ts +102 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerTabbedWidget.js +501 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerTabs.d.ts +95 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerTabs.js +193 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerTelemetry.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerTelemetry.js +27 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerVariants.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerVariants.js +47 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerWelcome.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerWelcome.js +40 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerWidget.d.ts +140 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerWidget.js +615 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelProviderIcons.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelProviderIcons.js +67 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/permissionPickerActionItem.d.ts +99 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/permissionPickerActionItem.js +371 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/sessionTargetPickerActionItem.d.ts +79 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/sessionTargetPickerActionItem.js +375 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/workspacePickerActionItem.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/workspacePickerActionItem.js +115 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chat.css +4959 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chatAgentHover.css +87 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chatCard.css +117 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chatPet.css +573 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chatReadOnlyBanner.css +47 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chatViewWelcome.css +233 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageDetails.d.ts +50 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageDetails.js +213 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageWidget.d.ts +144 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatContextUsageWidget.js +362 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatContextUsageDetails.css +242 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatContextUsageWidget.css +87 -0
- package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.js +325 -325
- package/vscode/src/vs/workbench/contrib/chat/common/agentHostConfigPolicy.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/common/agentHostConfigPolicy.js +28 -0
- package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.js +20 -6
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariables.d.ts +46 -0
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariables.js +17 -0
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariables.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/automations/automation.js +20 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/automationBlueprint.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/automationBlueprint.js +251 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/automationDialogService.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/automationDialogService.service.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/automationDialogService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/automationRunner.d.ts +37 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/automationRunner.service.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/automationRunner.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/automationService.d.ts +137 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/automationService.js +77 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/automationService.service.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/automationService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/automationsEnabled.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/automationsEnabled.js +12 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/schedule.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/schedule.js +83 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chat.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatArtifactExtraction.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatArtifactExtraction.js +236 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAutoModeExplainability.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAutoModeExplainability.js +9 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatErrorMessages.d.ts +110 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatErrorMessages.js +511 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatImageExtraction.d.ts +35 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatImageExtraction.js +170 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatModeTelemetry.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatModeTelemetry.js +24 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatNotification.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatNotification.js +12 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatPermissionStorageKeys.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatPermissionStorageKeys.js +7 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatPermissionWarnings.d.ts +35 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatPermissionWarnings.js +141 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatProgressFormatting.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatProgressFormatting.js +52 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSelectedModel.d.ts +87 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSelectedModel.js +69 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatQuestionCarouselHelpers.d.ts +42 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatQuestionCarouselHelpers.js +99 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.service.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatSideChatService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.d.ts +300 -0
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.js +272 -0
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.service.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/expPayload.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/chat/common/expPayload.js +86 -0
- package/vscode/src/vs/workbench/contrib/chat/common/feedbackSurvey/chatModelFeedbackSurveyConfig.d.ts +115 -0
- package/vscode/src/vs/workbench/contrib/chat/common/feedbackSurvey/chatModelFeedbackSurveyConfig.js +334 -0
- package/vscode/src/vs/workbench/contrib/chat/common/feedbackSurvey/chatModelFeedbackSurveyTelemetry.d.ts +42 -0
- package/vscode/src/vs/workbench/contrib/chat/common/feedbackSurvey/chatModelFeedbackSurveyTelemetry.js +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/ignoredFiles.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelSourcePresentation.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelSourcePresentation.js +41 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +44 -42
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelsConfiguration.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.js +42 -42
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModelIdle.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModelIdle.js +39 -0
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatToolInvocation.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatTransferService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/modelSelection.d.ts +94 -0
- package/vscode/src/vs/workbench/contrib/chat/common/modelSelection.js +139 -0
- package/vscode/src/vs/workbench/contrib/chat/common/participants/chatAgents.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/common/participants/chatAgents.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/participants/chatSlashCommands.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement.js +178 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginRepositoryService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginRepositoryService.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.d.ts +78 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.js +51 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/fileBackedInstalledPluginsStore.d.ts +67 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/fileBackedInstalledPluginsStore.js +195 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/marketplaceReference.d.ts +67 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/marketplaceReference.js +294 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginGitService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginInstallService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginInstallService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.d.ts +212 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.js +955 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.service.d.ts +3 -4
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginSource.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/strictKnownMarketplaces.d.ts +31 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/strictKnownMarketplaces.js +122 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/config.d.ts +150 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/config.js +142 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookClaudeCompat.d.ts +50 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookClaudeCompat.js +77 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCompatibility.d.ts +77 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCompatibility.js +120 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCopilotCliCompat.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCopilotCliCompat.js +23 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookSchema.js +21 -21
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookTypes.js +21 -21
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptFileAttributes.js +80 -80
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileParser.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/customizationMigrationService.d.ts +115 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/customizationMigrationService.js +69 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/customizationMigrationService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/extensionPromptFileService.d.ts +92 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/extensionPromptFileService.js +335 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.d.ts +235 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +1675 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.d.ts +202 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.js +874 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptTimeline.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptTimeline.js +9 -0
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatParserTypes.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatParserTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.d.ts +35 -0
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.js +289 -0
- package/vscode/src/vs/workbench/contrib/chat/common/sessionChatPills.d.ts +60 -0
- package/vscode/src/vs/workbench/contrib/chat/common/sessionChatPills.js +139 -0
- package/vscode/src/vs/workbench/contrib/chat/common/sessionChatPills.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.d.ts +72 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.js +602 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/chatArtifactsService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/chatTodoListService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsConfirmationService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/tools/terminalToolIds.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/terminalToolIds.js +17 -0
- package/vscode/src/vs/workbench/contrib/chat/common/voiceClient/voiceClientService.d.ts +305 -0
- package/vscode/src/vs/workbench/contrib/chat/common/voiceClient/voiceClientService.js +227 -0
- package/vscode/src/vs/workbench/contrib/chat/common/voiceClient/voiceClientService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/voiceClient/voiceCloseCodes.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/chat/common/voiceClient/voiceCloseCodes.js +46 -0
- package/vscode/src/vs/workbench/contrib/chat/common/voiceClient/voiceConfirmation.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/voiceClient/voiceConfirmation.js +50 -0
- package/vscode/src/vs/workbench/contrib/chat/common/voiceClient/voicePendingNarration.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/chat/common/voiceClient/voicePendingNarration.js +22 -0
- package/vscode/src/vs/workbench/contrib/chat/common/voiceClient/voiceQuestionAnswers.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/chat/common/voiceClient/voiceQuestionAnswers.js +74 -0
- package/vscode/src/vs/workbench/contrib/chat/common/voicePlaybackService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/widget/annotations.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/chat/common/widget/annotations.js +316 -0
- package/vscode/src/vs/workbench/contrib/chat/common/widget/chatColors.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/chat/common/widget/chatColors.js +202 -0
- package/vscode/src/vs/workbench/contrib/chat/common/widget/chatWidgetHistoryService.d.ts +65 -0
- package/vscode/src/vs/workbench/contrib/chat/common/widget/chatWidgetHistoryService.js +211 -0
- package/vscode/src/vs/workbench/contrib/chat/common/widget/chatWidgetHistoryService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +11 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorLineNumberMenu.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorSettingsMigration.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorSettingsMigration.js +16 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +11 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +12 -10
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectKeybindings.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectKeybindings.js +51 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +12 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +8 -8
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleColumnSelection.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleColumnSelection.js +92 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleOvertype.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleOvertype.js +39 -0
- 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 +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/common/languageConfigurationExtensionPoint.js +74 -74
- 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 +32 -4
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentService.service.d.ts +1 -2
- 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 +4 -4
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/comments.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +11 -11
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +20 -20
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +19 -19
- package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +36 -36
- package/vscode/src/vs/workbench/contrib/comments/common/commentModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorDiffInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +57 -47
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +21 -21
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +85 -85
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugANSIHandling.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +13 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +43 -43
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +18 -18
- package/vscode/src/vs/workbench/contrib/debug/browser/debugExpressionRenderer.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +10 -5
- 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 +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +19 -19
- package/vscode/src/vs/workbench/contrib/debug/browser/replFilter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +18 -16
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +191 -191
- package/vscode/src/vs/workbench/contrib/debug/common/debug.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +15 -15
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugUtils.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.js +2 -2
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +6 -6
- package/vscode/src/vs/workbench/contrib/editSessions/common/editSessions.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/configBasedRecommendations.js +3 -3
- package/vscode/src/vs/workbench/contrib/extensions/browser/exeBasedRecommendations.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEditor.js +48 -46
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementWorkspaceTrustTransitionParticipant.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionFeaturesTab.js +26 -22
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationNotificationService.js +25 -23
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationsService.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensions.contribution.js +227 -174
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +212 -207
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActivationProgress.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsDependencyChecker.js +10 -8
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +25 -25
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsList.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsQuickAccess.js +4 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewer.js +11 -11
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.js +82 -80
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.js +22 -22
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.js +31 -31
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.js +121 -118
- package/vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.js +8 -3
- package/vscode/src/vs/workbench/contrib/extensions/browser/keymapRecommendations.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/browser/languageRecommendations.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/browser/remoteRecommendations.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/browser/webRecommendations.js +3 -3
- package/vscode/src/vs/workbench/contrib/extensions/browser/workspaceRecommendations.js +3 -3
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionQuery.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +8 -8
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +1 -2
- 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 +17 -14
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +6 -6
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -4
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +10 -10
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.service.d.ts +1 -1
- 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/textFileEditorTracker.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +19 -19
- package/vscode/src/vs/workbench/contrib/files/browser/explorerFileContrib.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +15 -15
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +39 -39
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +113 -110
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +10 -10
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +13 -13
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +11 -11
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +48 -44
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +53 -53
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/files.js +5 -3
- package/vscode/src/vs/workbench/contrib/files/browser/files.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +12 -12
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +37 -33
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +12 -12
- 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/explorerFileNestingTrie.js +8 -6
- package/vscode/src/vs/workbench/contrib/files/common/explorerModel.js +9 -8
- package/vscode/src/vs/workbench/contrib/files/common/files.js +49 -49
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +24 -24
- 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/git/common/gitService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/git/common/utils.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/git/common/utils.js +105 -0
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +6 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAffordance.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAffordance.js +133 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAffordanceWidget.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAffordanceWidget.js +312 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionResolver.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.js +44 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChat.css +424 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChatEditorAffordance.css +46 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.d.ts +44 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +143 -0
- package/vscode/src/vs/workbench/contrib/inlineCompletions/browser/inlineCompletionLanguageStatusBarContribution.js +6 -6
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveCommon.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveCommon.js +11 -0
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveDocumentService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveHistoryService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/interactive/browser/replInputHintContentWidget.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/interactive/browser/replInputHintContentWidget.js +150 -0
- package/vscode/src/vs/workbench/contrib/issue/browser/recordingService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +7 -0
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.js +444 -0
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/media/languageStatus.css +125 -0
- 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/markdown/browser/markdownSettingRenderer.d.ts +43 -0
- package/vscode/src/vs/workbench/contrib/markdown/browser/markdownSettingRenderer.js +330 -0
- package/vscode/src/vs/workbench/contrib/markdown/common/markdownColors.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/markdown/common/markdownColors.js +23 -0
- package/vscode/src/vs/workbench/contrib/markers/common/markers.js +29 -29
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration.js +73 -73
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerActions.js +44 -42
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpToolCallUI.d.ts +96 -0
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpToolCallUI.js +316 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/discovery/pluginMcpDiscovery.js +3 -1
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfiguration.js +47 -47
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpDevMode.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpDevMode.js +116 -13
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpDevMode.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpDevMode.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpGatewayService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpIcons.js +2 -2
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpSandboxService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpServer.js +39 -37
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +6 -6
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocolApps.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +5 -5
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +25 -25
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/diffComputer.js +3 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/editing.js +4 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mapping.js +8 -8
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +19 -13
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/modifiedBaseRange.js +7 -7
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +24 -24
- package/vscode/src/vs/workbench/contrib/modernUI/browser/media/tabs.css +1044 -0
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/actions.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/actions.js +274 -0
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +6 -6
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorLayoutDebug.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorLayoutDebug.js +128 -0
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +8 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +338 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/notebookVisibleCellObserver.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/notebookVisibleCellObserver.js +58 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findMatchDecorationModel.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findModel.js +5 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +18 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.d.ts +75 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +364 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +746 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +283 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.d.ts +91 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +340 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +272 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +300 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.js +55 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.d.ts +273 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +1963 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.d.ts +50 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +314 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.d.ts +258 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.js +886 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.d.ts +41 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.js +122 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/editorHeightCalculator.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/editorHeightCalculator.js +71 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.js +40 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookCellDiffDecorator.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookCellDiffDecorator.js +313 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookDeletedCellDecorator.d.ts +51 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookDeletedCellDecorator.js +265 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiff.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiff.js +185 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiffWidget.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiffWidget.js +104 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInsertedCellDecorator.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInsertedCellDecorator.js +43 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalCellModelFactory.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalCellModelFactory.js +41 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalCellModelFactory.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.js +69 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiff.css +469 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.d.ts +149 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +933 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.d.ts +180 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +32 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.d.ts +102 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +643 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.d.ts +30 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.js +197 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffViewModel.d.ts +75 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffViewModel.js +539 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/unchangedEditorRegions.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/unchangedEditorRegions.js +39 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebook.css +686 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellChat.css +348 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellEditorHint.css +8 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellInsertToolbar.css +92 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellOutput.css +119 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellStatusBar.css +79 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellTitleToolbar.css +61 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookChatEditController.css +55 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookChatEditorOverlay.css +63 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookDnd.css +79 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookEditorStickyScroll.css +63 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookFocusIndicator.css +92 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookFolding.css +79 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookKernelActionViewItem.css +24 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookOutline.css +61 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookToolbar.css +102 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +131 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookCellLayoutManager.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookCellLayoutManager.js +92 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.d.ts +105 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +673 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorExtensions.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorExtensions.js +37 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.d.ts +354 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +2932 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.d.ts +29 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +36 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookLogger.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookLogger.js +19 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.d.ts +200 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.js +591 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookViewEvents.d.ts +56 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookViewEvents.js +30 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellPart.d.ts +99 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellPart.js +131 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellActionView.d.ts +30 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellActionView.js +115 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.js +158 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellContextKeys.d.ts +40 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellContextKeys.js +183 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDecorations.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDecorations.js +66 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDnd.d.ts +52 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDnd.js +429 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDragRenderer.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDragRenderer.js +108 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +221 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellExecution.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellExecution.js +142 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocus.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocus.js +23 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocusIndicator.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocusIndicator.js +104 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.d.ts +92 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +767 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellProgressBar.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellProgressBar.js +58 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.js +357 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbarStickyScroll.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbarStickyScroll.js +32 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.d.ts +47 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.js +260 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellWidgets.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellWidgets.js +10 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatPart.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatPart.js +24 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.d.ts +182 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +796 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +79 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.d.ts +30 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +126 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellInput.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellInput.js +32 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +50 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +119 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.d.ts +57 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +443 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellAnchor.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellAnchor.js +56 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellEditorPool.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellEditorPool.js +121 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.d.ts +152 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.js +1288 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellListView.d.ts +59 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellListView.js +287 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookRenderingCommon.d.ts +117 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookRenderingCommon.js +6 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.d.ts +222 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +1847 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.d.ts +63 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +449 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewMessages.d.ts +432 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +2548 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewThemeMapping.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewThemeMapping.js +105 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.d.ts +137 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +646 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellEditorOptions.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellEditorOptions.js +101 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputTextHelper.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputTextHelper.js +111 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputViewModel.d.ts +30 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputViewModel.js +65 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellSelectionCollection.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellSelectionCollection.js +49 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.d.ts +89 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +474 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/eventDispatcher.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/eventDispatcher.js +34 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/foldingModel.d.ts +33 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/foldingModel.js +275 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.d.ts +69 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.js +269 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.d.ts +125 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +960 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/viewContext.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/viewContext.js +11 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookCellOverlays.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookCellOverlays.js +101 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.d.ts +65 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +458 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.d.ts +80 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.js +708 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorWidgetContextKeys.d.ts +37 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorWidgetContextKeys.js +193 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookHorizontalTracker.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookHorizontalTracker.js +62 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.d.ts +108 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +719 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +183 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookOverviewRuler.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookOverviewRuler.js +134 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookTopCellToolbar.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookTopCellToolbar.js +135 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +213 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellOutputTextModel.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellOutputTextModel.js +104 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellTextModel.d.ts +115 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellTextModel.js +480 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel.js +90 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCellStatusBarService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookContextKeys.js +43 -42
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiff.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiff.js +92 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.d.ts +81 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.js +9 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookKernelService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookPerformance.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookPerformance.js +19 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRange.js +9 -9
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRendererMessagingService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookWorkerService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/onboarding/browser/media/onboardingTarget.css +28 -0
- package/vscode/src/vs/workbench/contrib/onboarding/browser/sequence/runOnboardingStep.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/onboarding/browser/sequence/runOnboardingStep.js +32 -0
- package/vscode/src/vs/workbench/contrib/onboarding/browser/spotlight/onboardingTarget.d.ts +37 -0
- package/vscode/src/vs/workbench/contrib/onboarding/browser/spotlight/onboardingTarget.js +48 -0
- package/vscode/src/vs/workbench/contrib/onboarding/browser/spotlight/spotlightTypes.d.ts +67 -0
- package/vscode/src/vs/workbench/contrib/onboarding/browser/spotlight/spotlightTypes.js +5 -0
- package/vscode/src/vs/workbench/contrib/onboarding/common/onboardingRegistry.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/onboarding/common/onboardingRegistry.js +35 -0
- package/vscode/src/vs/workbench/contrib/onboarding/common/onboardingScenario.d.ts +172 -0
- package/vscode/src/vs/workbench/contrib/onboarding/common/onboardingScenario.js +20 -0
- package/vscode/src/vs/workbench/contrib/onboarding/common/onboardingScenarioService.d.ts +48 -0
- package/vscode/src/vs/workbench/contrib/onboarding/common/onboardingScenarioService.js +19 -0
- package/vscode/src/vs/workbench/contrib/onboarding/common/onboardingScenarioService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/onboarding/common/onboardingSequence.d.ts +45 -0
- package/vscode/src/vs/workbench/contrib/onboarding/common/onboardingSequence.js +29 -0
- package/vscode/src/vs/workbench/contrib/outline/browser/outline.js +8 -8
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +6 -6
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +13 -13
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +12 -12
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +60 -60
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +10 -8
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +16 -16
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +17 -17
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +83 -81
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/interactiveEditor.css +21 -0
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/media/interactive.css +36 -0
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditor.d.ts +110 -0
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditor.js +692 -0
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorInput.d.ts +40 -0
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorInput.js +158 -0
- package/vscode/src/vs/workbench/contrib/scm/browser/quickDiffModel.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +20 -20
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistoryChatContext.js +10 -10
- package/vscode/src/vs/workbench/contrib/scm/browser/util.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.js +14 -14
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/common/scm.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/search/browser/AISearch/aiSearchModel.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/AISearch/aiSearchModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +36 -34
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchContributions.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchModel.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchModel.js +22 -11
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchModelBase.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchService.js +9 -9
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/searchNotebookHelpers.js +2 -2
- package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +4 -4
- package/vscode/src/vs/workbench/contrib/search/browser/replaceContributions.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/search/browser/replaceContributions.js +15 -0
- package/vscode/src/vs/workbench/contrib/search/browser/replaceService.d.ts +40 -0
- package/vscode/src/vs/workbench/contrib/search/browser/replaceService.js +264 -0
- package/vscode/src/vs/workbench/contrib/search/browser/search.common.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/search/browser/search.common.contribution.js +148 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsSymbol.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsSymbol.js +41 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +9 -9
- package/vscode/src/vs/workbench/contrib/search/browser/searchChatContext.js +11 -11
- 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/searchQuickAccess.contribution.js +38 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +15 -15
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/fileMatch.js +2 -2
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/folderMatch.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/match.js +2 -2
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/searchTreeCommon.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/searchTreeCommon.js +43 -24
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/textSearchHeading.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +67 -67
- 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/search/common/cellSearchModel.js +4 -4
- package/vscode/src/vs/workbench/contrib/search/common/constants.js +29 -29
- package/vscode/src/vs/workbench/contrib/search/common/search.js +7 -7
- package/vscode/src/vs/workbench/contrib/search/common/searchHistoryService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/search/common/searchNotebookHelpers.js +4 -4
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/constants.js +9 -9
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +9 -9
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +15 -13
- package/vscode/src/vs/workbench/contrib/share/common/share.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippets.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +4 -4
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +11 -11
- package/vscode/src/vs/workbench/contrib/snippets/browser/tabCompletion.js +3 -3
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +35 -35
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/splash/browser/splash.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/splash/browser/splash.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/tags/common/workspaceTags.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +7 -7
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +12 -12
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/agentHostOutputChannel.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/agentHostOutputChannel.js +48 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/agentHostPty.d.ts +129 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/agentHostPty.js +439 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/agentHostTerminalService.d.ts +77 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/agentHostTerminalService.js +345 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/agentHostTerminalService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/terminal/browser/ahpTerminalCommandSource.d.ts +111 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/ahpTerminalCommandSource.js +138 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/chatTerminalCommandMirror.d.ts +195 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/chatTerminalCommandMirror.js +788 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/detachedTerminal.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/environmentVariableInfo.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/environmentVariableInfo.js +119 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalActions.d.ts +104 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalActions.js +1643 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalContextMenu.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalContextMenu.js +54 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIconPicker.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIconPicker.js +78 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +13 -13
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +43 -43
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProcessManager.d.ts +144 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProcessManager.js +806 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalResizeDebouncer.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalResizeDebouncer.js +83 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalStatusList.d.ts +57 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalStatusList.js +139 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTabsList.d.ts +45 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTabsList.js +807 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTooltip.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTooltip.js +75 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalUri.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalUri.js +51 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationAddon.d.ts +79 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationAddon.js +652 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +15 -15
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/lineDataEventAddon.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/lineDataEventAddon.js +61 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.d.ts +64 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.js +566 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/basePty.d.ts +38 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/basePty.js +127 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +10 -10
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -23
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +39 -39
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalEnvironment.d.ts +38 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalEnvironment.js +321 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalExtensionPoints.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStorageKeys.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStorageKeys.js +17 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +26 -26
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/common/terminalAccessibilityConfiguration.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/autoReplies/common/terminalAutoRepliesConfiguration.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.js +77 -77
- 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/links/browser/links.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/notification/common/terminalNotificationConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/resizeDimensionsOverlay/common/terminalResizeDimensionsOverlayConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/media/stickyScroll.css +49 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/terminalStickyScrollColorRegistry.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/terminalStickyScrollColorRegistry.js +25 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/common/terminalStickyScrollConfiguration.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/browser/terminalCompletionService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminalSuggestConfiguration.js +31 -31
- 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/testExplorerFilterState.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testItemCollection.js +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/testProfileService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +12 -12
- package/vscode/src/vs/workbench/contrib/testing/common/testResultService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +9 -9
- package/vscode/src/vs/workbench/contrib/testing/common/testingContinuousRunService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testingDecorations.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/testing/common/testingPeekOpener.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testingStates.js +1 -1
- package/vscode/src/vs/workbench/contrib/timeline/common/timeline.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/update/browser/media/updateTitleBarEntry.css +91 -0
- package/vscode/src/vs/workbench/contrib/update/browser/media/updateTooltip.css +165 -0
- package/vscode/src/vs/workbench/contrib/update/browser/releaseNotesEditor.d.ts +67 -0
- package/vscode/src/vs/workbench/contrib/update/browser/releaseNotesEditor.js +646 -0
- package/vscode/src/vs/workbench/contrib/update/browser/update.d.ts +65 -0
- package/vscode/src/vs/workbench/contrib/update/browser/update.js +498 -0
- package/vscode/src/vs/workbench/contrib/update/browser/updateTitleBarEntry.d.ts +64 -0
- package/vscode/src/vs/workbench/contrib/update/browser/updateTitleBarEntry.js +396 -0
- package/vscode/src/vs/workbench/contrib/update/browser/updateTooltip.d.ts +61 -0
- package/vscode/src/vs/workbench/contrib/update/browser/updateTooltip.js +395 -0
- package/vscode/src/vs/workbench/contrib/update/common/update.js +2 -2
- package/vscode/src/vs/workbench/contrib/update/common/updateUtils.d.ts +61 -0
- package/vscode/src/vs/workbench/contrib/update/common/updateUtils.js +129 -0
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/url/common/trustedDomainService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindAccessibilityHelp.js +30 -30
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +3 -3
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeAgentSessions/browser/agentSessionsWelcomeInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeOnboarding/common/onboardingService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeOnboarding/common/onboardingTypes.js +12 -12
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.js +2 -2
- package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/agentEditorComments/common/agentEditorComments.service.d.ts +1 -2
- package/vscode/src/vs/workbench/services/agentHost/browser/agentSdkSetupService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/agentHost/browser/codexAccountService.js +8 -5
- package/vscode/src/vs/workbench/services/agentHost/browser/codexAccountService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/agentHost/common/agentHostFileSystemService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/aiSettingsSearch/common/aiSettingsSearch.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationAccessService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpAccessService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +11 -11
- package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +1 -2
- package/vscode/src/vs/workbench/services/authentication/common/authenticationQuery.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/authentication/common/dynamicAuthenticationProviderStorage.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +7 -7
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +45 -45
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/configuration/common/configuration.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/configuration/common/jsonEditing.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverExpression.js +1 -1
- 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/dataChannel/browser/dataChannelService.js +15 -15
- package/vscode/src/vs/workbench/services/decorations/common/decorations.service.d.ts +1 -2
- package/vscode/src/vs/workbench/services/driver/browser/driver.js +1 -1
- package/vscode/src/vs/workbench/services/editor/browser/editorService.js +17 -17
- package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorPaneService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +6 -6
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/services/editor/common/editorService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/services/environment/browser/environmentService.js +1 -1
- package/vscode/src/vs/workbench/services/environment/common/environmentService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionFeatures.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionGalleryAccount.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.d.ts +1 -2
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionsIcons.js +3 -3
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.service.d.ts +1 -2
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +25 -19
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +13 -13
- package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.js +2 -2
- package/vscode/src/vs/workbench/services/extensions/common/extensions.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +93 -93
- package/vscode/src/vs/workbench/services/extensions/common/workspaceContains.js +2 -2
- package/vscode/src/vs/workbench/services/files/common/elevatedFileService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +6 -6
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/services/history/common/history.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/inlineCompletions/common/inlineCompletionsUnification.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/language/common/languageService.js +27 -27
- package/vscode/src/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/languageStatus/common/languageStatusService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/log/common/defaultLogLevels.service.d.ts +1 -2
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/mcp/common/mcpWorkbenchManagementService.js +6 -6
- package/vscode/src/vs/workbench/services/mcp/common/mcpWorkbenchManagementService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/services/notebook/common/notebookDocumentService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/outline/browser/outline.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/output/common/output.js +15 -15
- package/vscode/src/vs/workbench/services/output/common/output.service.d.ts +1 -3
- package/vscode/src/vs/workbench/services/panecomposite/browser/panecomposite.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/path/common/pathService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/policies/common/accountPolicyService.js +3 -3
- package/vscode/src/vs/workbench/services/policies/common/accountPolicyService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/power/common/powerService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +12 -12
- package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +1 -2
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +4 -4
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +15 -15
- package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +38 -34
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +20 -16
- package/vscode/src/vs/workbench/services/search/common/fileSearchManager.js +3 -3
- package/vscode/src/vs/workbench/services/search/common/ignoreFile.js +31 -33
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +21 -19
- package/vscode/src/vs/workbench/services/search/common/search.js +5 -5
- package/vscode/src/vs/workbench/services/search/common/searchExtConversionTypes.js +15 -13
- package/vscode/src/vs/workbench/services/search/common/searchHelpers.js +5 -5
- package/vscode/src/vs/workbench/services/search/common/textSearchManager.js +3 -3
- package/vscode/src/vs/workbench/services/terminal/common/embedderTerminalService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textMate/common/TMHelper.js +1 -1
- package/vscode/src/vs/workbench/services/textfile/common/encoding.js +1 -1
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/themes/browser/modernTabColorCustomizations.d.ts +1 -0
- package/vscode/src/vs/workbench/services/themes/browser/modernTabColorCustomizations.js +255 -0
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +20 -20
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +14 -14
- package/vscode/src/vs/workbench/services/themes/common/hostColorSchemeService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +26 -26
- package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/services/userActivity/common/userActivityService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/userDataProfile/browser/iconSelectBox.js +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +5 -5
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.service.d.ts +1 -2
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +19 -19
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.service.d.ts +1 -2
- package/vscode/src/vs/workbench/services/views/common/viewsService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +16 -16
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyHistory.service.d.ts +1 -2
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceEditing.service.d.ts +1 -2
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceTrust.js +13 -13
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostLocationPreference.d.ts +0 -7
- package/vscode/src/vs/platform/meteredConnection/common/meteredConnection.config.contribution.js +0 -32
- package/vscode/src/vs/platform/meteredConnection/common/meteredConnection.d.ts +0 -44
- package/vscode/src/vs/platform/meteredConnection/common/meteredConnection.js +0 -62
- package/vscode/src/vs/workbench/contrib/meteredConnection/browser/meteredConnection.contribution.js +0 -55
- package/vscode/src/vs/workbench/contrib/meteredConnection/browser/meteredConnectionStatus.d.ts +0 -13
- package/vscode/src/vs/workbench/contrib/meteredConnection/browser/meteredConnectionStatus.js +0 -63
- /package/vscode/src/vs/{platform/meteredConnection/common/meteredConnection.config.contribution.d.ts → workbench/browser/parts/titlebar/menubar.contribution.d.ts} +0 -0
- /package/vscode/src/vs/workbench/contrib/{meteredConnection/browser/meteredConnection.contribution.d.ts → search/browser/searchQuickAccess.contribution.d.ts} +0 -0
|
@@ -0,0 +1,2932 @@
|
|
|
1
|
+
|
|
2
|
+
import { registerCss } from '../../../../../../../css.js';
|
|
3
|
+
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
4
|
+
import * as notebook from './media/notebook.css';
|
|
5
|
+
import * as notebookCellChat from './media/notebookCellChat.css';
|
|
6
|
+
import * as notebookCellEditorHint from './media/notebookCellEditorHint.css';
|
|
7
|
+
import * as notebookCellInsertToolbar from './media/notebookCellInsertToolbar.css';
|
|
8
|
+
import * as notebookCellStatusBar from './media/notebookCellStatusBar.css';
|
|
9
|
+
import * as notebookCellTitleToolbar from './media/notebookCellTitleToolbar.css';
|
|
10
|
+
import * as notebookFocusIndicator from './media/notebookFocusIndicator.css';
|
|
11
|
+
import * as notebookToolbar from './media/notebookToolbar.css';
|
|
12
|
+
import * as notebookDnd from './media/notebookDnd.css';
|
|
13
|
+
import * as notebookFolding from './media/notebookFolding.css';
|
|
14
|
+
import * as notebookCellOutput from './media/notebookCellOutput.css';
|
|
15
|
+
import * as notebookEditorStickyScroll from './media/notebookEditorStickyScroll.css';
|
|
16
|
+
import * as notebookKernelActionViewItem from './media/notebookKernelActionViewItem.css';
|
|
17
|
+
import * as notebookOutline from './media/notebookOutline.css';
|
|
18
|
+
import * as notebookChatEditController from './media/notebookChatEditController.css';
|
|
19
|
+
import * as notebookChatEditorOverlay from './media/notebookChatEditorOverlay.css';
|
|
20
|
+
import { $ as $$1, getWindow, createElement, append, addStandardDisposableGenericMouseDownListener, addStandardDisposableGenericMouseUpListener, trackFocus, runWhenWindowIdle, scheduleAtNextAnimationFrame, getActiveElement, size, isHTMLElement, isAncestorOfActiveElement } from '../../../../base/browser/dom.js';
|
|
21
|
+
import { createStyleSheet } from '../../../../base/browser/domStylesheets.js';
|
|
22
|
+
import { OverlayLayoutElement } from '../../../../base/browser/overlayLayoutElement.js';
|
|
23
|
+
import { mainWindow } from '../../../../base/browser/window.js';
|
|
24
|
+
import { SequencerByKey } from '../../../../base/common/async.js';
|
|
25
|
+
import { Color, RGBA } from '../../../../base/common/color.js';
|
|
26
|
+
import { onUnexpectedError } from '../../../../base/common/errors.js';
|
|
27
|
+
import { Emitter, Event } from '../../../../base/common/event.js';
|
|
28
|
+
import { Disposable, DisposableStore, combinedDisposable, dispose, MutableDisposable } from '../../../../base/common/lifecycle.js';
|
|
29
|
+
import { setTimeout0 } from '../../../../base/common/platform.js';
|
|
30
|
+
import { isEqual, extname } from '../../../../base/common/resources.js';
|
|
31
|
+
import { generateUuid } from '../../../../base/common/uuid.js';
|
|
32
|
+
import { FontMeasurements } from '../../../../editor/browser/config/fontMeasurements.js';
|
|
33
|
+
import { createBareFontInfoFromRawSettings } from '../../../../editor/common/config/fontInfoFromSettings.js';
|
|
34
|
+
import { Range } from '../../../../editor/common/core/range.js';
|
|
35
|
+
import { SuggestController } from '../../../../editor/contrib/suggest/browser/suggestController.js';
|
|
36
|
+
import { localize } from '../../../../nls.js';
|
|
37
|
+
import { MenuId } from '../../../../platform/actions/common/actions.js';
|
|
38
|
+
import { IConfigurationService } from '../../../../platform/configuration/common/configuration.service.js';
|
|
39
|
+
import { RawContextKey } from '../../../../platform/contextkey/common/contextkey.js';
|
|
40
|
+
import { IContextKeyService } from '../../../../platform/contextkey/common/contextkey.service.js';
|
|
41
|
+
import { IContextMenuService } from '../../../../platform/contextview/browser/contextView.service.js';
|
|
42
|
+
import { IInstantiationService } from '../../../../platform/instantiation/common/instantiation.js';
|
|
43
|
+
import { ServiceCollection } from '../../../../platform/instantiation/common/serviceCollection.js';
|
|
44
|
+
import { Parts } from '../../../services/layout/browser/layoutService.js';
|
|
45
|
+
import { IWorkbenchLayoutService } from '../../../services/layout/browser/layoutService.service.js';
|
|
46
|
+
import { registerZIndex, ZIndex } from '../../../../platform/layout/browser/zIndexRegistry.js';
|
|
47
|
+
import { IEditorProgressService } from '../../../../platform/progress/common/progress.service.js';
|
|
48
|
+
import { ITelemetryService } from '../../../../platform/telemetry/common/telemetry.service.js';
|
|
49
|
+
import { registerColor, transparent } from '../../../../platform/theme/common/colorUtils.js';
|
|
50
|
+
import { foreground, focusBorder, errorForeground, contrastBorder } from '../../../../platform/theme/common/colors/baseColors.js';
|
|
51
|
+
import '../../../../platform/theme/common/colors/chartsColors.js';
|
|
52
|
+
import '../../../../platform/theme/common/colors/editorColors.js';
|
|
53
|
+
import '../../../../platform/theme/common/colors/inputColors.js';
|
|
54
|
+
import { listInactiveSelectionBackground } from '../../../../platform/theme/common/colors/listColors.js';
|
|
55
|
+
import '../../../../platform/theme/common/colors/menuColors.js';
|
|
56
|
+
import '../../../../platform/theme/common/colors/minimapColors.js';
|
|
57
|
+
import { scrollbarSliderBackground, scrollbarSliderHoverBackground, scrollbarSliderActiveBackground } from '../../../../platform/theme/common/colors/miscColors.js';
|
|
58
|
+
import '../../../../platform/theme/common/colors/quickpickColors.js';
|
|
59
|
+
import '../../../../platform/theme/common/colors/searchColors.js';
|
|
60
|
+
import { PANEL_BORDER, SIDE_BAR_BACKGROUND, EDITOR_PANE_BACKGROUND } from '../../../common/theme.js';
|
|
61
|
+
import { debugIconStartForeground } from '../../debug/browser/debugColors.js';
|
|
62
|
+
import { CellEditState, CellFocusMode, CellRevealType, CellRevealRangeType, ScrollToRevealBehavior, RenderOutputType } from './notebookBrowser.js';
|
|
63
|
+
import { NotebookEditorExtensionsRegistry } from './notebookEditorExtensions.js';
|
|
64
|
+
import { INotebookEditorService } from './services/notebookEditorService.service.js';
|
|
65
|
+
import { notebookDebug } from './notebookLogger.js';
|
|
66
|
+
import { NotebookLayoutChangedEvent } from './notebookViewEvents.js';
|
|
67
|
+
import { CellContextKeyManager } from './view/cellParts/cellContextKeys.js';
|
|
68
|
+
import { CellDragAndDropController } from './view/cellParts/cellDnd.js';
|
|
69
|
+
import { NotebookCellList, ListViewInfoAccessor, NOTEBOOK_WEBVIEW_BOUNDARY } from './view/notebookCellList.js';
|
|
70
|
+
import { BackLayerWebView } from './view/renderers/backLayerWebView.js';
|
|
71
|
+
import { CodeCellRenderer, MarkupCellRenderer, NotebookCellListDelegate } from './view/renderers/cellRenderer.js';
|
|
72
|
+
import { outputDisplayLimit, CodeCellViewModel } from './viewModel/codeCellViewModel.js';
|
|
73
|
+
import { NotebookEventDispatcher } from './viewModel/eventDispatcher.js';
|
|
74
|
+
import { MarkupCellViewModel } from './viewModel/markupCellViewModel.js';
|
|
75
|
+
import { NotebookViewModel } from './viewModel/notebookViewModelImpl.js';
|
|
76
|
+
import { ViewContext } from './viewModel/viewContext.js';
|
|
77
|
+
import { NotebookEditorWorkbenchToolbar } from './viewParts/notebookEditorToolbar.js';
|
|
78
|
+
import { NotebookEditorContextKeys } from './viewParts/notebookEditorWidgetContextKeys.js';
|
|
79
|
+
import { NotebookOverviewRuler } from './viewParts/notebookOverviewRuler.js';
|
|
80
|
+
import { ListTopCellToolbar } from './viewParts/notebookTopCellToolbar.js';
|
|
81
|
+
import { SelectionStateType, RENDERER_NOT_AVAILABLE, CellKind, NotebookFindScopeType, CellEditType } from '../common/notebookCommon.js';
|
|
82
|
+
import { NOTEBOOK_EDITOR_FOCUSED, NOTEBOOK_OUTPUT_FOCUSED, NOTEBOOK_OUTPUT_INPUT_FOCUSED, NOTEBOOK_EDITOR_EDITABLE, NOTEBOOK_CURSOR_NAVIGATION_MODE } from '../common/notebookContextKeys.js';
|
|
83
|
+
import { INotebookExecutionService } from '../common/notebookExecutionService.service.js';
|
|
84
|
+
import { INotebookKernelService } from '../common/notebookKernelService.service.js';
|
|
85
|
+
import { NotebookOptions, OutputInnerContainerTopPadding } from './notebookOptions.js';
|
|
86
|
+
import { cellRangesToIndexes } from '../common/notebookRange.js';
|
|
87
|
+
import { INotebookRendererMessagingService } from '../common/notebookRendererMessagingService.service.js';
|
|
88
|
+
import { INotebookService } from '../common/notebookService.service.js';
|
|
89
|
+
import { EditorExtensionsRegistry } from '../../../../editor/browser/editorExtensions.js';
|
|
90
|
+
import { IEditorGroupsService } from '../../../services/editor/common/editorGroupsService.service.js';
|
|
91
|
+
import { BaseCellEditorOptions } from './viewModel/cellEditorOptions.js';
|
|
92
|
+
import { FloatingEditorClickMenu } from '../../../browser/codeeditor.js';
|
|
93
|
+
import { CellFindMatchModel } from './contrib/find/findModel.js';
|
|
94
|
+
import { INotebookLoggingService } from '../common/notebookLoggingService.service.js';
|
|
95
|
+
import { Schemas } from '../../../../base/common/network.js';
|
|
96
|
+
import { DropIntoEditorController } from '../../../../editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js';
|
|
97
|
+
import { CopyPasteController } from '../../../../editor/contrib/dropOrPasteInto/browser/copyPasteController.js';
|
|
98
|
+
import { NotebookStickyScroll } from './viewParts/notebookEditorStickyScroll.js';
|
|
99
|
+
import { PixelRatio } from '../../../../base/browser/pixelRatio.js';
|
|
100
|
+
import { PreventDefaultContextMenuItemsContextKeyName } from '../../webview/browser/webview.contribution.js';
|
|
101
|
+
import { NotebookAccessibilityProvider } from './notebookAccessibilityProvider.js';
|
|
102
|
+
import { NotebookHorizontalTracker } from './viewParts/notebookHorizontalTracker.js';
|
|
103
|
+
import { NotebookCellEditorPool } from './view/notebookCellEditorPool.js';
|
|
104
|
+
import { InlineCompletionsController } from '../../../../editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js';
|
|
105
|
+
import { NotebookCellLayoutManager } from './notebookCellLayoutManager.js';
|
|
106
|
+
import { FloatingEditorToolbar } from '../../../../editor/contrib/floatingMenu/browser/floatingMenu.js';
|
|
107
|
+
|
|
108
|
+
registerCss(notebook, 1);
|
|
109
|
+
registerCss(notebookCellChat, 1);
|
|
110
|
+
registerCss(notebookCellEditorHint, 1);
|
|
111
|
+
registerCss(notebookCellInsertToolbar, 1);
|
|
112
|
+
registerCss(notebookCellStatusBar, 1);
|
|
113
|
+
registerCss(notebookCellTitleToolbar, 1);
|
|
114
|
+
registerCss(notebookFocusIndicator, 1);
|
|
115
|
+
registerCss(notebookToolbar, 1);
|
|
116
|
+
registerCss(notebookDnd, 1);
|
|
117
|
+
registerCss(notebookFolding, 1);
|
|
118
|
+
registerCss(notebookCellOutput, 1);
|
|
119
|
+
registerCss(notebookEditorStickyScroll, 1);
|
|
120
|
+
registerCss(notebookKernelActionViewItem, 1);
|
|
121
|
+
registerCss(notebookOutline, 1);
|
|
122
|
+
registerCss(notebookChatEditController, 1);
|
|
123
|
+
registerCss(notebookChatEditorOverlay, 1);
|
|
124
|
+
const $ = $$1;
|
|
125
|
+
function getDefaultNotebookCreationOptions() {
|
|
126
|
+
const skipContributions = [
|
|
127
|
+
"editor.contrib.review",
|
|
128
|
+
FloatingEditorClickMenu.ID,
|
|
129
|
+
FloatingEditorToolbar.ID,
|
|
130
|
+
"editor.contrib.dirtydiff",
|
|
131
|
+
"editor.contrib.testingOutputPeek",
|
|
132
|
+
"editor.contrib.testingDecorations",
|
|
133
|
+
"store.contrib.stickyScrollController",
|
|
134
|
+
"editor.contrib.findController",
|
|
135
|
+
"editor.contrib.emptyTextEditorHint"
|
|
136
|
+
];
|
|
137
|
+
const contributions = EditorExtensionsRegistry.getEditorContributions().filter(c => skipContributions.indexOf(c.id) === -1);
|
|
138
|
+
return {
|
|
139
|
+
menuIds: {
|
|
140
|
+
notebookToolbar: MenuId.NotebookToolbar,
|
|
141
|
+
cellTitleToolbar: MenuId.NotebookCellTitle,
|
|
142
|
+
cellDeleteToolbar: MenuId.NotebookCellDelete,
|
|
143
|
+
cellInsertToolbar: MenuId.NotebookCellBetween,
|
|
144
|
+
cellTopInsertToolbar: MenuId.NotebookCellListTop,
|
|
145
|
+
cellExecuteToolbar: MenuId.NotebookCellExecute,
|
|
146
|
+
cellExecutePrimary: MenuId.NotebookCellExecutePrimary
|
|
147
|
+
},
|
|
148
|
+
cellEditorContributions: contributions
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
152
|
+
get isVisible() {
|
|
153
|
+
return this._isVisible;
|
|
154
|
+
}
|
|
155
|
+
get isDisposed() {
|
|
156
|
+
return this._isDisposed;
|
|
157
|
+
}
|
|
158
|
+
set viewModel(newModel) {
|
|
159
|
+
this._onWillChangeModel.fire(this._notebookViewModel?.notebookDocument);
|
|
160
|
+
this._notebookViewModel = newModel;
|
|
161
|
+
this._onDidChangeModel.fire(newModel?.notebookDocument);
|
|
162
|
+
}
|
|
163
|
+
get viewModel() {
|
|
164
|
+
return this._notebookViewModel;
|
|
165
|
+
}
|
|
166
|
+
get textModel() {
|
|
167
|
+
return this._notebookViewModel?.notebookDocument;
|
|
168
|
+
}
|
|
169
|
+
get isReadOnly() {
|
|
170
|
+
return this._notebookViewModel?.options.isReadOnly ?? false;
|
|
171
|
+
}
|
|
172
|
+
get activeCodeEditor() {
|
|
173
|
+
if (this._isDisposed) {
|
|
174
|
+
return;
|
|
175
|
+
}
|
|
176
|
+
const [focused] = this._list.getFocusedElements();
|
|
177
|
+
return this._renderedEditors.get(focused);
|
|
178
|
+
}
|
|
179
|
+
get activeCellAndCodeEditor() {
|
|
180
|
+
if (this._isDisposed) {
|
|
181
|
+
return;
|
|
182
|
+
}
|
|
183
|
+
const [focused] = this._list.getFocusedElements();
|
|
184
|
+
const editor = this._renderedEditors.get(focused);
|
|
185
|
+
if (!editor) {
|
|
186
|
+
return;
|
|
187
|
+
}
|
|
188
|
+
return [focused, editor];
|
|
189
|
+
}
|
|
190
|
+
get codeEditors() {
|
|
191
|
+
return [...this._renderedEditors];
|
|
192
|
+
}
|
|
193
|
+
get visibleRanges() {
|
|
194
|
+
return this._list ? (this._list.visibleRanges || []) : [];
|
|
195
|
+
}
|
|
196
|
+
get notebookOptions() {
|
|
197
|
+
return this._notebookOptions;
|
|
198
|
+
}
|
|
199
|
+
constructor(
|
|
200
|
+
creationOptions,
|
|
201
|
+
dimension,
|
|
202
|
+
instantiationService,
|
|
203
|
+
editorGroupsService,
|
|
204
|
+
notebookRendererMessaging,
|
|
205
|
+
notebookEditorService,
|
|
206
|
+
notebookKernelService,
|
|
207
|
+
_notebookService,
|
|
208
|
+
configurationService,
|
|
209
|
+
contextKeyService,
|
|
210
|
+
layoutService,
|
|
211
|
+
contextMenuService,
|
|
212
|
+
telemetryService,
|
|
213
|
+
notebookExecutionService,
|
|
214
|
+
editorProgressService,
|
|
215
|
+
logService
|
|
216
|
+
) {
|
|
217
|
+
super();
|
|
218
|
+
this.creationOptions = creationOptions;
|
|
219
|
+
this.editorGroupsService = editorGroupsService;
|
|
220
|
+
this.notebookRendererMessaging = notebookRendererMessaging;
|
|
221
|
+
this.notebookEditorService = notebookEditorService;
|
|
222
|
+
this.notebookKernelService = notebookKernelService;
|
|
223
|
+
this._notebookService = _notebookService;
|
|
224
|
+
this.configurationService = configurationService;
|
|
225
|
+
this.layoutService = layoutService;
|
|
226
|
+
this.contextMenuService = contextMenuService;
|
|
227
|
+
this.telemetryService = telemetryService;
|
|
228
|
+
this.notebookExecutionService = notebookExecutionService;
|
|
229
|
+
this.editorProgressService = editorProgressService;
|
|
230
|
+
this.logService = logService;
|
|
231
|
+
this._onDidChangeCellState = this._register(( new Emitter()));
|
|
232
|
+
this.onDidChangeCellState = this._onDidChangeCellState.event;
|
|
233
|
+
this._onDidChangeViewCells = this._register(( new Emitter()));
|
|
234
|
+
this.onDidChangeViewCells = this._onDidChangeViewCells.event;
|
|
235
|
+
this._onWillChangeModel = this._register(( new Emitter()));
|
|
236
|
+
this.onWillChangeModel = this._onWillChangeModel.event;
|
|
237
|
+
this._onDidChangeModel = this._register(( new Emitter()));
|
|
238
|
+
this.onDidChangeModel = this._onDidChangeModel.event;
|
|
239
|
+
this._onDidAttachViewModel = this._register(( new Emitter()));
|
|
240
|
+
this.onDidAttachViewModel = this._onDidAttachViewModel.event;
|
|
241
|
+
this._onDidChangeOptions = this._register(( new Emitter()));
|
|
242
|
+
this.onDidChangeOptions = this._onDidChangeOptions.event;
|
|
243
|
+
this._onDidChangeDecorations = this._register(( new Emitter()));
|
|
244
|
+
this.onDidChangeDecorations = this._onDidChangeDecorations.event;
|
|
245
|
+
this._onDidScroll = this._register(( new Emitter()));
|
|
246
|
+
this.onDidScroll = this._onDidScroll.event;
|
|
247
|
+
this._onDidChangeLayout = this._register(( new Emitter()));
|
|
248
|
+
this.onDidChangeLayout = this._onDidChangeLayout.event;
|
|
249
|
+
this._onDidChangeActiveCell = this._register(( new Emitter()));
|
|
250
|
+
this.onDidChangeActiveCell = this._onDidChangeActiveCell.event;
|
|
251
|
+
this._onDidChangeFocus = this._register(( new Emitter()));
|
|
252
|
+
this.onDidChangeFocus = this._onDidChangeFocus.event;
|
|
253
|
+
this._onDidChangeSelection = this._register(( new Emitter()));
|
|
254
|
+
this.onDidChangeSelection = this._onDidChangeSelection.event;
|
|
255
|
+
this._onDidChangeVisibleRanges = this._register(( new Emitter()));
|
|
256
|
+
this.onDidChangeVisibleRanges = this._onDidChangeVisibleRanges.event;
|
|
257
|
+
this._onDidFocusEmitter = this._register(( new Emitter()));
|
|
258
|
+
this.onDidFocusWidget = this._onDidFocusEmitter.event;
|
|
259
|
+
this._onDidBlurEmitter = this._register(( new Emitter()));
|
|
260
|
+
this.onDidBlurWidget = this._onDidBlurEmitter.event;
|
|
261
|
+
this._onDidChangeActiveEditor = this._register(( new Emitter()));
|
|
262
|
+
this.onDidChangeActiveEditor = this._onDidChangeActiveEditor.event;
|
|
263
|
+
this._onDidChangeActiveKernel = this._register(( new Emitter()));
|
|
264
|
+
this.onDidChangeActiveKernel = this._onDidChangeActiveKernel.event;
|
|
265
|
+
this._onMouseUp = this._register(( new Emitter()));
|
|
266
|
+
this.onMouseUp = this._onMouseUp.event;
|
|
267
|
+
this._onMouseDown = this._register(( new Emitter()));
|
|
268
|
+
this.onMouseDown = this._onMouseDown.event;
|
|
269
|
+
this._onDidReceiveMessage = this._register(( new Emitter()));
|
|
270
|
+
this.onDidReceiveMessage = this._onDidReceiveMessage.event;
|
|
271
|
+
this._onDidRenderOutput = this._register(( new Emitter()));
|
|
272
|
+
this.onDidRenderOutput = this._onDidRenderOutput.event;
|
|
273
|
+
this._onDidRemoveOutput = this._register(( new Emitter()));
|
|
274
|
+
this.onDidRemoveOutput = this._onDidRemoveOutput.event;
|
|
275
|
+
this._onDidResizeOutputEmitter = this._register(( new Emitter()));
|
|
276
|
+
this.onDidResizeOutput = this._onDidResizeOutputEmitter.event;
|
|
277
|
+
this._webview = null;
|
|
278
|
+
this._webviewResolvePromise = null;
|
|
279
|
+
this._webviewTransparentCover = null;
|
|
280
|
+
this._listDelegate = null;
|
|
281
|
+
this._dndController = null;
|
|
282
|
+
this._listTopCellToolbar = null;
|
|
283
|
+
this._renderedEditors = ( new Map());
|
|
284
|
+
this._localStore = this._register(( new DisposableStore()));
|
|
285
|
+
this._localCellStateListeners = [];
|
|
286
|
+
this._contributions = ( new Map());
|
|
287
|
+
this._insetModifyQueueByOutputId = ( new SequencerByKey());
|
|
288
|
+
this._cellContextKeyManager = null;
|
|
289
|
+
this._uuid = generateUuid();
|
|
290
|
+
this._webviewFocused = false;
|
|
291
|
+
this._isVisible = false;
|
|
292
|
+
this._isDisposed = false;
|
|
293
|
+
this._baseCellEditorOptions = ( new Map());
|
|
294
|
+
this._debugFlag = false;
|
|
295
|
+
this._backgroundMarkdownRenderRunning = false;
|
|
296
|
+
this._lastCellWithEditorFocus = null;
|
|
297
|
+
this._pendingOutputHeightAcks = ( new Map());
|
|
298
|
+
this._dimension = dimension;
|
|
299
|
+
this.isReplHistory = creationOptions.isReplHistory ?? false;
|
|
300
|
+
this._readOnly = creationOptions.isReadOnly ?? false;
|
|
301
|
+
this._overlayLayout = this._register(( new OverlayLayoutElement()));
|
|
302
|
+
this._overlayContainer = this._overlayLayout.content;
|
|
303
|
+
this.scopedContextKeyService = this._register(contextKeyService.createScoped(this._overlayContainer));
|
|
304
|
+
this.instantiationService = this._register(instantiationService.createChild(( new ServiceCollection([IContextKeyService, this.scopedContextKeyService]))));
|
|
305
|
+
this._notebookOptions = creationOptions.options ?? this.instantiationService.createInstance(
|
|
306
|
+
NotebookOptions,
|
|
307
|
+
this.creationOptions?.codeWindow ?? mainWindow,
|
|
308
|
+
this._readOnly,
|
|
309
|
+
undefined
|
|
310
|
+
);
|
|
311
|
+
this._register(this._notebookOptions);
|
|
312
|
+
const eventDispatcher = this._register(( new NotebookEventDispatcher()));
|
|
313
|
+
this._viewContext = ( new ViewContext(
|
|
314
|
+
this._notebookOptions,
|
|
315
|
+
eventDispatcher,
|
|
316
|
+
language => this.getBaseCellEditorOptions(language)
|
|
317
|
+
));
|
|
318
|
+
this._register(this._viewContext.eventDispatcher.onDidChangeLayout(() => {
|
|
319
|
+
this._onDidChangeLayout.fire();
|
|
320
|
+
}));
|
|
321
|
+
this._register(this._viewContext.eventDispatcher.onDidChangeCellState(e => {
|
|
322
|
+
this._onDidChangeCellState.fire(e);
|
|
323
|
+
}));
|
|
324
|
+
this._register(_notebookService.onDidChangeOutputRenderers(() => {
|
|
325
|
+
this._updateOutputRenderers();
|
|
326
|
+
}));
|
|
327
|
+
this._register(this.instantiationService.createInstance(NotebookEditorContextKeys, this));
|
|
328
|
+
this._register(notebookKernelService.onDidChangeSelectedNotebooks(e => {
|
|
329
|
+
if (isEqual(e.notebook, this.viewModel?.uri)) {
|
|
330
|
+
this._loadKernelPreloads();
|
|
331
|
+
this._onDidChangeActiveKernel.fire();
|
|
332
|
+
}
|
|
333
|
+
}));
|
|
334
|
+
this._scrollBeyondLastLine = this.configurationService.getValue("editor.scrollBeyondLastLine");
|
|
335
|
+
this._register(this.configurationService.onDidChangeConfiguration(e => {
|
|
336
|
+
if (e.affectsConfiguration("editor.scrollBeyondLastLine")) {
|
|
337
|
+
this._scrollBeyondLastLine = this.configurationService.getValue("editor.scrollBeyondLastLine");
|
|
338
|
+
if (this._dimension && this._isVisible) {
|
|
339
|
+
this.layout(this._dimension);
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
}));
|
|
343
|
+
this._register(this._notebookOptions.onDidChangeOptions(e => {
|
|
344
|
+
if (e.cellStatusBarVisibility || e.cellToolbarLocation || e.cellToolbarInteraction) {
|
|
345
|
+
this._updateForNotebookConfiguration();
|
|
346
|
+
}
|
|
347
|
+
if (e.fontFamily) {
|
|
348
|
+
this._generateFontInfo();
|
|
349
|
+
}
|
|
350
|
+
if (e.compactView || e.focusIndicator || e.insertToolbarPosition || e.cellToolbarLocation || e.dragAndDropEnabled || e.fontSize || e.markupFontSize || e.markdownLineHeight || e.fontFamily || e.insertToolbarAlignment || e.outputFontSize || e.outputLineHeight || e.outputFontFamily || e.outputWordWrap || e.outputScrolling || e.outputLinkifyFilePaths || e.minimalError) {
|
|
351
|
+
this._styleElement?.remove();
|
|
352
|
+
this._createLayoutStyles();
|
|
353
|
+
this._webview?.updateOptions({
|
|
354
|
+
...this.notebookOptions.computeWebviewOptions(),
|
|
355
|
+
fontFamily: this._generateFontFamily()
|
|
356
|
+
});
|
|
357
|
+
}
|
|
358
|
+
if (this._dimension && this._isVisible) {
|
|
359
|
+
this.layout(this._dimension);
|
|
360
|
+
}
|
|
361
|
+
}));
|
|
362
|
+
const container = creationOptions.codeWindow ? this.layoutService.getContainer(creationOptions.codeWindow) : this.layoutService.mainContainer;
|
|
363
|
+
this.notebookEditorService.addNotebookEditor(this);
|
|
364
|
+
const id = generateUuid();
|
|
365
|
+
this._overlayContainer.id = `notebook-${id}`;
|
|
366
|
+
this._overlayContainer.className = "notebookOverlay";
|
|
367
|
+
this._overlayContainer.classList.add("notebook-editor");
|
|
368
|
+
this._overlayContainer.inert = true;
|
|
369
|
+
this._overlayContainer.style.visibility = "hidden";
|
|
370
|
+
container.appendChild(this._overlayLayout.root);
|
|
371
|
+
this._createBody(this._overlayContainer);
|
|
372
|
+
this._generateFontInfo();
|
|
373
|
+
this._isVisible = true;
|
|
374
|
+
this._editorFocus = NOTEBOOK_EDITOR_FOCUSED.bindTo(this.scopedContextKeyService);
|
|
375
|
+
this._outputFocus = NOTEBOOK_OUTPUT_FOCUSED.bindTo(this.scopedContextKeyService);
|
|
376
|
+
this._outputInputFocus = NOTEBOOK_OUTPUT_INPUT_FOCUSED.bindTo(this.scopedContextKeyService);
|
|
377
|
+
this._editorEditable = NOTEBOOK_EDITOR_EDITABLE.bindTo(this.scopedContextKeyService);
|
|
378
|
+
this._cursorNavMode = NOTEBOOK_CURSOR_NAVIGATION_MODE.bindTo(this.scopedContextKeyService);
|
|
379
|
+
new RawContextKey(PreventDefaultContextMenuItemsContextKeyName, false).bindTo(this.scopedContextKeyService).set(true);
|
|
380
|
+
this._editorEditable.set(!creationOptions.isReadOnly);
|
|
381
|
+
let contributions;
|
|
382
|
+
if (Array.isArray(this.creationOptions.contributions)) {
|
|
383
|
+
contributions = this.creationOptions.contributions;
|
|
384
|
+
} else {
|
|
385
|
+
contributions = NotebookEditorExtensionsRegistry.getEditorContributions();
|
|
386
|
+
}
|
|
387
|
+
for (const desc of contributions) {
|
|
388
|
+
let contribution;
|
|
389
|
+
try {
|
|
390
|
+
contribution = this.instantiationService.createInstance(desc.ctor, this);
|
|
391
|
+
} catch (err) {
|
|
392
|
+
onUnexpectedError(err);
|
|
393
|
+
}
|
|
394
|
+
if (contribution) {
|
|
395
|
+
if (!( this._contributions.has(desc.id))) {
|
|
396
|
+
this._contributions.set(desc.id, contribution);
|
|
397
|
+
} else {
|
|
398
|
+
contribution.dispose();
|
|
399
|
+
throw ( new Error(`DUPLICATE notebook editor contribution: '${desc.id}'`));
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
this._updateForNotebookConfiguration();
|
|
404
|
+
}
|
|
405
|
+
_debug(...args) {
|
|
406
|
+
if (!this._debugFlag) {
|
|
407
|
+
return;
|
|
408
|
+
}
|
|
409
|
+
notebookDebug(...args);
|
|
410
|
+
}
|
|
411
|
+
getId() {
|
|
412
|
+
return this._uuid;
|
|
413
|
+
}
|
|
414
|
+
getViewModel() {
|
|
415
|
+
return this.viewModel;
|
|
416
|
+
}
|
|
417
|
+
getLength() {
|
|
418
|
+
return this.viewModel?.length ?? 0;
|
|
419
|
+
}
|
|
420
|
+
getSelections() {
|
|
421
|
+
return this.viewModel?.getSelections() ?? [{
|
|
422
|
+
start: 0,
|
|
423
|
+
end: 0
|
|
424
|
+
}];
|
|
425
|
+
}
|
|
426
|
+
setSelections(selections) {
|
|
427
|
+
if (!this.viewModel) {
|
|
428
|
+
return;
|
|
429
|
+
}
|
|
430
|
+
const focus = this.viewModel.getFocus();
|
|
431
|
+
this.viewModel.updateSelectionsState({
|
|
432
|
+
kind: SelectionStateType.Index,
|
|
433
|
+
focus: focus,
|
|
434
|
+
selections: selections
|
|
435
|
+
});
|
|
436
|
+
}
|
|
437
|
+
getFocus() {
|
|
438
|
+
return this.viewModel?.getFocus() ?? {
|
|
439
|
+
start: 0,
|
|
440
|
+
end: 0
|
|
441
|
+
};
|
|
442
|
+
}
|
|
443
|
+
setFocus(focus) {
|
|
444
|
+
if (!this.viewModel) {
|
|
445
|
+
return;
|
|
446
|
+
}
|
|
447
|
+
const selections = this.viewModel.getSelections();
|
|
448
|
+
this.viewModel.updateSelectionsState({
|
|
449
|
+
kind: SelectionStateType.Index,
|
|
450
|
+
focus: focus,
|
|
451
|
+
selections: selections
|
|
452
|
+
});
|
|
453
|
+
}
|
|
454
|
+
getSelectionViewModels() {
|
|
455
|
+
if (!this.viewModel) {
|
|
456
|
+
return [];
|
|
457
|
+
}
|
|
458
|
+
const cellsSet = ( new Set());
|
|
459
|
+
return this.viewModel.getSelections().map(range => this.viewModel.viewCells.slice(range.start, range.end)).reduce((a, b) => {
|
|
460
|
+
b.forEach(cell => {
|
|
461
|
+
if (!( cellsSet.has(cell.handle))) {
|
|
462
|
+
cellsSet.add(cell.handle);
|
|
463
|
+
a.push(cell);
|
|
464
|
+
}
|
|
465
|
+
});
|
|
466
|
+
return a;
|
|
467
|
+
}, []);
|
|
468
|
+
}
|
|
469
|
+
hasModel() {
|
|
470
|
+
return !!this._notebookViewModel;
|
|
471
|
+
}
|
|
472
|
+
showProgress() {
|
|
473
|
+
this._currentProgress = this.editorProgressService.show(true);
|
|
474
|
+
}
|
|
475
|
+
hideProgress() {
|
|
476
|
+
if (this._currentProgress) {
|
|
477
|
+
this._currentProgress.done();
|
|
478
|
+
this._currentProgress = undefined;
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
getBaseCellEditorOptions(language) {
|
|
482
|
+
const existingOptions = this._baseCellEditorOptions.get(language);
|
|
483
|
+
if (existingOptions) {
|
|
484
|
+
return existingOptions;
|
|
485
|
+
} else {
|
|
486
|
+
const options = ( new BaseCellEditorOptions(this, this.notebookOptions, this.configurationService, language));
|
|
487
|
+
this._baseCellEditorOptions.set(language, options);
|
|
488
|
+
return options;
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
_updateForNotebookConfiguration() {
|
|
492
|
+
if (!this._overlayContainer) {
|
|
493
|
+
return;
|
|
494
|
+
}
|
|
495
|
+
this._overlayContainer.classList.remove("cell-title-toolbar-left");
|
|
496
|
+
this._overlayContainer.classList.remove("cell-title-toolbar-right");
|
|
497
|
+
this._overlayContainer.classList.remove("cell-title-toolbar-hidden");
|
|
498
|
+
const cellToolbarLocation = this._notebookOptions.computeCellToolbarLocation(this.viewModel?.viewType);
|
|
499
|
+
this._overlayContainer.classList.add(`cell-title-toolbar-${cellToolbarLocation}`);
|
|
500
|
+
const cellToolbarInteraction = this._notebookOptions.getDisplayOptions().cellToolbarInteraction;
|
|
501
|
+
let cellToolbarInteractionState = "hover";
|
|
502
|
+
this._overlayContainer.classList.remove("cell-toolbar-hover");
|
|
503
|
+
this._overlayContainer.classList.remove("cell-toolbar-click");
|
|
504
|
+
if (cellToolbarInteraction === "hover" || cellToolbarInteraction === "click") {
|
|
505
|
+
cellToolbarInteractionState = cellToolbarInteraction;
|
|
506
|
+
}
|
|
507
|
+
this._overlayContainer.classList.add(`cell-toolbar-${cellToolbarInteractionState}`);
|
|
508
|
+
}
|
|
509
|
+
_generateFontInfo() {
|
|
510
|
+
const editorOptions = this.configurationService.getValue("editor");
|
|
511
|
+
const targetWindow = getWindow(this.getDomNode());
|
|
512
|
+
this._fontInfo = FontMeasurements.readFontInfo(
|
|
513
|
+
targetWindow,
|
|
514
|
+
createBareFontInfoFromRawSettings(editorOptions, PixelRatio.getInstance(targetWindow).value)
|
|
515
|
+
);
|
|
516
|
+
}
|
|
517
|
+
_createBody(parent) {
|
|
518
|
+
this._notebookTopToolbarContainer = createElement("div");
|
|
519
|
+
this._notebookTopToolbarContainer.classList.add("notebook-toolbar-container");
|
|
520
|
+
this._notebookTopToolbarContainer.style.display = "none";
|
|
521
|
+
append(parent, this._notebookTopToolbarContainer);
|
|
522
|
+
this._notebookStickyScrollContainer = createElement("div");
|
|
523
|
+
this._notebookStickyScrollContainer.classList.add("notebook-sticky-scroll-container");
|
|
524
|
+
append(parent, this._notebookStickyScrollContainer);
|
|
525
|
+
this._body = createElement("div");
|
|
526
|
+
append(parent, this._body);
|
|
527
|
+
this._body.classList.add("cell-list-container");
|
|
528
|
+
this._createLayoutStyles();
|
|
529
|
+
this._createCellList();
|
|
530
|
+
this._notebookOverviewRulerContainer = createElement("div");
|
|
531
|
+
this._notebookOverviewRulerContainer.classList.add("notebook-overview-ruler-container");
|
|
532
|
+
this._list.scrollableElement.appendChild(this._notebookOverviewRulerContainer);
|
|
533
|
+
this._registerNotebookOverviewRuler();
|
|
534
|
+
this._register(
|
|
535
|
+
this.instantiationService.createInstance(NotebookHorizontalTracker, this, this._list.scrollableElement)
|
|
536
|
+
);
|
|
537
|
+
this._overflowContainer = createElement("div");
|
|
538
|
+
this._overflowContainer.classList.add("notebook-overflow-widget-container", "monaco-editor");
|
|
539
|
+
append(parent, this._overflowContainer);
|
|
540
|
+
}
|
|
541
|
+
_generateFontFamily() {
|
|
542
|
+
return this._fontInfo?.fontFamily ?? `"SF Mono", Monaco, Menlo, Consolas, "Ubuntu Mono", "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace`;
|
|
543
|
+
}
|
|
544
|
+
_createLayoutStyles() {
|
|
545
|
+
this._styleElement = createStyleSheet(this._body);
|
|
546
|
+
const {
|
|
547
|
+
cellRightMargin,
|
|
548
|
+
cellTopMargin,
|
|
549
|
+
cellRunGutter,
|
|
550
|
+
cellBottomMargin,
|
|
551
|
+
codeCellLeftMargin,
|
|
552
|
+
markdownCellGutter,
|
|
553
|
+
markdownCellLeftMargin,
|
|
554
|
+
markdownCellBottomMargin,
|
|
555
|
+
markdownCellTopMargin,
|
|
556
|
+
collapsedIndicatorHeight,
|
|
557
|
+
focusIndicator,
|
|
558
|
+
insertToolbarPosition,
|
|
559
|
+
outputFontSize,
|
|
560
|
+
focusIndicatorLeftMargin,
|
|
561
|
+
focusIndicatorGap
|
|
562
|
+
} = this._notebookOptions.getLayoutConfiguration();
|
|
563
|
+
const {
|
|
564
|
+
insertToolbarAlignment,
|
|
565
|
+
compactView,
|
|
566
|
+
fontSize
|
|
567
|
+
} = this._notebookOptions.getDisplayOptions();
|
|
568
|
+
const getCellEditorContainerLeftMargin = this._notebookOptions.getCellEditorContainerLeftMargin();
|
|
569
|
+
const {
|
|
570
|
+
bottomToolbarGap,
|
|
571
|
+
bottomToolbarHeight
|
|
572
|
+
} = this._notebookOptions.computeBottomToolbarDimensions(this.viewModel?.viewType);
|
|
573
|
+
const styleSheets = [];
|
|
574
|
+
if (!this._fontInfo) {
|
|
575
|
+
this._generateFontInfo();
|
|
576
|
+
}
|
|
577
|
+
const fontFamily = this._generateFontFamily();
|
|
578
|
+
styleSheets.push(`
|
|
579
|
+
.notebook-editor {
|
|
580
|
+
--notebook-cell-output-font-size: ${outputFontSize}px;
|
|
581
|
+
--notebook-cell-input-preview-font-size: ${fontSize}px;
|
|
582
|
+
--notebook-cell-input-preview-font-family: ${fontFamily};
|
|
583
|
+
}
|
|
584
|
+
`);
|
|
585
|
+
if (compactView) {
|
|
586
|
+
styleSheets.push(
|
|
587
|
+
`.notebookOverlay .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .markdown-cell-row div.cell.code { margin-left: ${getCellEditorContainerLeftMargin}px; }`
|
|
588
|
+
);
|
|
589
|
+
} else {
|
|
590
|
+
styleSheets.push(
|
|
591
|
+
`.notebookOverlay .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .markdown-cell-row div.cell.code { margin-left: ${codeCellLeftMargin}px; }`
|
|
592
|
+
);
|
|
593
|
+
}
|
|
594
|
+
if (focusIndicator === "border") {
|
|
595
|
+
styleSheets.push(`
|
|
596
|
+
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .cell-focus-indicator-top:before,
|
|
597
|
+
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .cell-focus-indicator-bottom:before,
|
|
598
|
+
.monaco-workbench .notebookOverlay .monaco-list .markdown-cell-row .cell-inner-container:before,
|
|
599
|
+
.monaco-workbench .notebookOverlay .monaco-list .markdown-cell-row .cell-inner-container:after {
|
|
600
|
+
content: "";
|
|
601
|
+
position: absolute;
|
|
602
|
+
width: 100%;
|
|
603
|
+
height: 1px;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .cell-focus-indicator-left:before,
|
|
607
|
+
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .cell-focus-indicator-right:before {
|
|
608
|
+
content: "";
|
|
609
|
+
position: absolute;
|
|
610
|
+
width: 1px;
|
|
611
|
+
height: 100%;
|
|
612
|
+
z-index: 10;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
/* top border */
|
|
616
|
+
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .cell-focus-indicator-top:before {
|
|
617
|
+
border-top: 1px solid transparent;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
/* left border */
|
|
621
|
+
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .cell-focus-indicator-left:before {
|
|
622
|
+
border-left: 1px solid transparent;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
/* bottom border */
|
|
626
|
+
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .cell-focus-indicator-bottom:before {
|
|
627
|
+
border-bottom: 1px solid transparent;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
/* right border */
|
|
631
|
+
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .cell-focus-indicator-right:before {
|
|
632
|
+
border-right: 1px solid transparent;
|
|
633
|
+
}
|
|
634
|
+
`);
|
|
635
|
+
styleSheets.push(`
|
|
636
|
+
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.code-cell-row.focused .cell-focus-indicator-left:before,
|
|
637
|
+
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.code-cell-row.focused .cell-focus-indicator-right:before,
|
|
638
|
+
.monaco-workbench .notebookOverlay .monaco-list.selection-multiple .monaco-list-row.code-cell-row.selected .cell-focus-indicator-left:before,
|
|
639
|
+
.monaco-workbench .notebookOverlay .monaco-list.selection-multiple .monaco-list-row.code-cell-row.selected .cell-focus-indicator-right:before {
|
|
640
|
+
top: -${cellTopMargin}px; height: calc(100% + ${cellTopMargin + cellBottomMargin}px)
|
|
641
|
+
}`);
|
|
642
|
+
} else {
|
|
643
|
+
styleSheets.push(`
|
|
644
|
+
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .cell-focus-indicator-left .codeOutput-focus-indicator {
|
|
645
|
+
border-left: 3px solid transparent;
|
|
646
|
+
border-radius: 4px;
|
|
647
|
+
width: 0px;
|
|
648
|
+
margin-left: ${focusIndicatorLeftMargin}px;
|
|
649
|
+
border-color: var(--vscode-notebook-inactiveFocusedCellBorder) !important;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.focused .cell-focus-indicator-left .codeOutput-focus-indicator-container,
|
|
653
|
+
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .cell-output-hover .cell-focus-indicator-left .codeOutput-focus-indicator-container,
|
|
654
|
+
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .markdown-cell-hover .cell-focus-indicator-left .codeOutput-focus-indicator-container,
|
|
655
|
+
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row:hover .cell-focus-indicator-left .codeOutput-focus-indicator-container {
|
|
656
|
+
display: block;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .cell-focus-indicator-left .codeOutput-focus-indicator-container:hover .codeOutput-focus-indicator {
|
|
660
|
+
border-left: 5px solid transparent;
|
|
661
|
+
margin-left: ${focusIndicatorLeftMargin - 1}px;
|
|
662
|
+
}
|
|
663
|
+
`);
|
|
664
|
+
styleSheets.push(`
|
|
665
|
+
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.focused .cell-inner-container.cell-output-focus .cell-focus-indicator-left .codeOutput-focus-indicator,
|
|
666
|
+
.monaco-workbench .notebookOverlay .monaco-list:focus-within .monaco-list-row.focused .cell-inner-container .cell-focus-indicator-left .codeOutput-focus-indicator {
|
|
667
|
+
border-color: var(--vscode-notebook-focusedCellBorder) !important;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .cell-inner-container .cell-focus-indicator-left .output-focus-indicator {
|
|
671
|
+
margin-top: ${focusIndicatorGap}px;
|
|
672
|
+
}
|
|
673
|
+
`);
|
|
674
|
+
}
|
|
675
|
+
if (insertToolbarPosition === "betweenCells" || insertToolbarPosition === "both") {
|
|
676
|
+
styleSheets.push(
|
|
677
|
+
`.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-bottom-toolbar-container { display: flex; }`
|
|
678
|
+
);
|
|
679
|
+
styleSheets.push(
|
|
680
|
+
`.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .view-zones .cell-list-top-cell-toolbar-container { display: flex; }`
|
|
681
|
+
);
|
|
682
|
+
} else {
|
|
683
|
+
styleSheets.push(
|
|
684
|
+
`.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-bottom-toolbar-container { display: none; }`
|
|
685
|
+
);
|
|
686
|
+
styleSheets.push(
|
|
687
|
+
`.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .view-zones .cell-list-top-cell-toolbar-container { display: none; }`
|
|
688
|
+
);
|
|
689
|
+
}
|
|
690
|
+
if (insertToolbarAlignment === "left") {
|
|
691
|
+
styleSheets.push(`
|
|
692
|
+
.monaco-workbench .notebookOverlay .cell-list-top-cell-toolbar-container .action-item:first-child,
|
|
693
|
+
.monaco-workbench .notebookOverlay .cell-list-top-cell-toolbar-container .action-item:first-child, .monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-bottom-toolbar-container .action-item:first-child {
|
|
694
|
+
margin-right: 0px !important;
|
|
695
|
+
}`);
|
|
696
|
+
styleSheets.push(`
|
|
697
|
+
.monaco-workbench .notebookOverlay .cell-list-top-cell-toolbar-container .monaco-toolbar .action-label,
|
|
698
|
+
.monaco-workbench .notebookOverlay .cell-list-top-cell-toolbar-container .monaco-toolbar .action-label, .monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-bottom-toolbar-container .monaco-toolbar .action-label {
|
|
699
|
+
padding: 0px !important;
|
|
700
|
+
justify-content: center;
|
|
701
|
+
border-radius: 4px;
|
|
702
|
+
}`);
|
|
703
|
+
styleSheets.push(`
|
|
704
|
+
.monaco-workbench .notebookOverlay .cell-list-top-cell-toolbar-container,
|
|
705
|
+
.monaco-workbench .notebookOverlay .cell-list-top-cell-toolbar-container, .monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-bottom-toolbar-container {
|
|
706
|
+
align-items: flex-start;
|
|
707
|
+
justify-content: left;
|
|
708
|
+
margin: 0 16px 0 ${8 + codeCellLeftMargin}px;
|
|
709
|
+
}`);
|
|
710
|
+
styleSheets.push(`
|
|
711
|
+
.monaco-workbench .notebookOverlay .cell-list-top-cell-toolbar-container,
|
|
712
|
+
.notebookOverlay .cell-bottom-toolbar-container .action-item {
|
|
713
|
+
border: 0px;
|
|
714
|
+
}`);
|
|
715
|
+
}
|
|
716
|
+
styleSheets.push(
|
|
717
|
+
`.notebookOverlay .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .code-cell-row div.cell.code { margin-left: ${getCellEditorContainerLeftMargin}px; }`
|
|
718
|
+
);
|
|
719
|
+
styleSheets.push(
|
|
720
|
+
`.notebookOverlay .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .view-zones .code-cell-row div.cell.code { margin-left: ${getCellEditorContainerLeftMargin}px; }`
|
|
721
|
+
);
|
|
722
|
+
styleSheets.push(
|
|
723
|
+
`.notebookOverlay .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .view-zones .code-cell-row div.cell { margin-right: ${cellRightMargin}px; }`
|
|
724
|
+
);
|
|
725
|
+
styleSheets.push(
|
|
726
|
+
`.notebookOverlay .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row div.cell { margin-right: ${cellRightMargin}px; }`
|
|
727
|
+
);
|
|
728
|
+
styleSheets.push(
|
|
729
|
+
`.notebookOverlay .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row > .cell-inner-container { padding-top: ${cellTopMargin}px; }`
|
|
730
|
+
);
|
|
731
|
+
styleSheets.push(
|
|
732
|
+
`.notebookOverlay .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .markdown-cell-row > .cell-inner-container { padding-bottom: ${markdownCellBottomMargin}px; padding-top: ${markdownCellTopMargin}px; }`
|
|
733
|
+
);
|
|
734
|
+
styleSheets.push(
|
|
735
|
+
`.notebookOverlay .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .markdown-cell-row > .cell-inner-container.webview-backed-markdown-cell { padding: 0; }`
|
|
736
|
+
);
|
|
737
|
+
styleSheets.push(
|
|
738
|
+
`.notebookOverlay .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .markdown-cell-row > .webview-backed-markdown-cell.markdown-cell-edit-mode .cell.code { padding-bottom: ${markdownCellBottomMargin}px; padding-top: ${markdownCellTopMargin}px; }`
|
|
739
|
+
);
|
|
740
|
+
styleSheets.push(
|
|
741
|
+
`.notebookOverlay .output { margin: 0px ${cellRightMargin}px 0px ${getCellEditorContainerLeftMargin}px; }`
|
|
742
|
+
);
|
|
743
|
+
styleSheets.push(
|
|
744
|
+
`.notebookOverlay .output { width: calc(100% - ${getCellEditorContainerLeftMargin + cellRightMargin}px); }`
|
|
745
|
+
);
|
|
746
|
+
styleSheets.push(
|
|
747
|
+
`.notebookOverlay .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-comment-container { left: ${getCellEditorContainerLeftMargin}px; }`
|
|
748
|
+
);
|
|
749
|
+
styleSheets.push(
|
|
750
|
+
`.notebookOverlay .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-comment-container { width: calc(100% - ${getCellEditorContainerLeftMargin + cellRightMargin}px); }`
|
|
751
|
+
);
|
|
752
|
+
styleSheets.push(
|
|
753
|
+
`.monaco-workbench .notebookOverlay .output .output-collapse-container .expandButton { left: -${cellRunGutter}px; }`
|
|
754
|
+
);
|
|
755
|
+
styleSheets.push(
|
|
756
|
+
`.monaco-workbench .notebookOverlay .output .output-collapse-container .expandButton {
|
|
757
|
+
position: absolute;
|
|
758
|
+
width: ${cellRunGutter}px;
|
|
759
|
+
padding: 6px 0px;
|
|
760
|
+
}`
|
|
761
|
+
);
|
|
762
|
+
styleSheets.push(
|
|
763
|
+
`.notebookOverlay .output-show-more-container { margin: 0px ${cellRightMargin}px 0px ${getCellEditorContainerLeftMargin}px; }`
|
|
764
|
+
);
|
|
765
|
+
styleSheets.push(
|
|
766
|
+
`.notebookOverlay .output-show-more-container { width: calc(100% - ${getCellEditorContainerLeftMargin + cellRightMargin}px); }`
|
|
767
|
+
);
|
|
768
|
+
styleSheets.push(
|
|
769
|
+
`.notebookOverlay .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row div.cell.markdown { padding-left: ${cellRunGutter}px; }`
|
|
770
|
+
);
|
|
771
|
+
styleSheets.push(
|
|
772
|
+
`.monaco-workbench .notebookOverlay > .cell-list-container .notebook-folding-indicator { left: ${(markdownCellGutter - 20) / 2 + markdownCellLeftMargin}px; }`
|
|
773
|
+
);
|
|
774
|
+
styleSheets.push(
|
|
775
|
+
`.notebookOverlay > .cell-list-container .notebook-folded-hint { left: ${markdownCellGutter + markdownCellLeftMargin + 8}px; }`
|
|
776
|
+
);
|
|
777
|
+
styleSheets.push(
|
|
778
|
+
`.notebookOverlay .monaco-list .monaco-list-row :not(.webview-backed-markdown-cell) .cell-focus-indicator-top { height: ${cellTopMargin}px; }`
|
|
779
|
+
);
|
|
780
|
+
styleSheets.push(
|
|
781
|
+
`.notebookOverlay .monaco-list .monaco-list-row .cell-focus-indicator-side { bottom: ${bottomToolbarGap}px; }`
|
|
782
|
+
);
|
|
783
|
+
styleSheets.push(
|
|
784
|
+
`.notebookOverlay .monaco-list .monaco-list-row.code-cell-row .cell-focus-indicator-left { width: ${getCellEditorContainerLeftMargin}px; }`
|
|
785
|
+
);
|
|
786
|
+
styleSheets.push(
|
|
787
|
+
`.notebookOverlay .monaco-list .monaco-list-row.markdown-cell-row .cell-focus-indicator-left { width: ${codeCellLeftMargin}px; }`
|
|
788
|
+
);
|
|
789
|
+
styleSheets.push(
|
|
790
|
+
`.notebookOverlay .monaco-list .monaco-list-row .cell-focus-indicator.cell-focus-indicator-right { width: ${cellRightMargin}px; }`
|
|
791
|
+
);
|
|
792
|
+
styleSheets.push(
|
|
793
|
+
`.notebookOverlay .monaco-list .monaco-list-row .cell-focus-indicator-bottom { height: ${cellBottomMargin}px; }`
|
|
794
|
+
);
|
|
795
|
+
styleSheets.push(
|
|
796
|
+
`.notebookOverlay .monaco-list .monaco-list-row .cell-shadow-container-bottom { top: ${cellBottomMargin}px; }`
|
|
797
|
+
);
|
|
798
|
+
styleSheets.push(`
|
|
799
|
+
.notebookOverlay .monaco-list.selection-multiple .monaco-list-row:has(+ .monaco-list-row.selected) .cell-focus-indicator-bottom {
|
|
800
|
+
height: ${bottomToolbarGap + cellBottomMargin}px;
|
|
801
|
+
}
|
|
802
|
+
`);
|
|
803
|
+
styleSheets.push(`
|
|
804
|
+
.notebookOverlay .monaco-list .monaco-list-row.code-cell-row.nb-multiCellHighlight:has(+ .monaco-list-row.nb-multiCellHighlight) .cell-focus-indicator-bottom {
|
|
805
|
+
height: ${bottomToolbarGap + cellBottomMargin}px;
|
|
806
|
+
background-color: var(--vscode-notebook-symbolHighlightBackground) !important;
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
.notebookOverlay .monaco-list .monaco-list-row.markdown-cell-row.nb-multiCellHighlight:has(+ .monaco-list-row.nb-multiCellHighlight) .cell-focus-indicator-bottom {
|
|
810
|
+
height: ${bottomToolbarGap + cellBottomMargin - 6}px;
|
|
811
|
+
background-color: var(--vscode-notebook-symbolHighlightBackground) !important;
|
|
812
|
+
}
|
|
813
|
+
`);
|
|
814
|
+
styleSheets.push(`
|
|
815
|
+
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .input-collapse-container .cell-collapse-preview {
|
|
816
|
+
line-height: ${collapsedIndicatorHeight}px;
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .input-collapse-container .cell-collapse-preview .monaco-tokenized-source {
|
|
820
|
+
max-height: ${collapsedIndicatorHeight}px;
|
|
821
|
+
}
|
|
822
|
+
`);
|
|
823
|
+
styleSheets.push(
|
|
824
|
+
`.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-bottom-toolbar-container .monaco-toolbar { height: ${bottomToolbarHeight}px }`
|
|
825
|
+
);
|
|
826
|
+
styleSheets.push(
|
|
827
|
+
`.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .view-zones .cell-list-top-cell-toolbar-container .monaco-toolbar { height: ${bottomToolbarHeight}px }`
|
|
828
|
+
);
|
|
829
|
+
styleSheets.push(
|
|
830
|
+
`.monaco-workbench .notebookOverlay.cell-title-toolbar-right > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-title-toolbar {
|
|
831
|
+
right: ${cellRightMargin + 26}px;
|
|
832
|
+
}
|
|
833
|
+
.monaco-workbench .notebookOverlay.cell-title-toolbar-left > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-title-toolbar {
|
|
834
|
+
left: ${getCellEditorContainerLeftMargin + 16}px;
|
|
835
|
+
}
|
|
836
|
+
.monaco-workbench .notebookOverlay.cell-title-toolbar-hidden > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .cell-title-toolbar {
|
|
837
|
+
display: none;
|
|
838
|
+
}`
|
|
839
|
+
);
|
|
840
|
+
styleSheets.push(`
|
|
841
|
+
.monaco-workbench .notebookOverlay .output > div.foreground.output-inner-container {
|
|
842
|
+
padding: ${OutputInnerContainerTopPadding}px 8px;
|
|
843
|
+
}
|
|
844
|
+
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .output-collapse-container {
|
|
845
|
+
padding: ${OutputInnerContainerTopPadding}px 8px;
|
|
846
|
+
}
|
|
847
|
+
`);
|
|
848
|
+
styleSheets.push(`
|
|
849
|
+
.monaco-workbench .notebookOverlay .cell-chat-part {
|
|
850
|
+
margin: 0 ${cellRightMargin}px 6px 4px;
|
|
851
|
+
}
|
|
852
|
+
`);
|
|
853
|
+
this._styleElement.textContent = styleSheets.join("\n");
|
|
854
|
+
}
|
|
855
|
+
_createCellList() {
|
|
856
|
+
this._body.classList.add("cell-list-container");
|
|
857
|
+
this._dndController = this._register(( new CellDragAndDropController(this, this._body)));
|
|
858
|
+
const getScopedContextKeyService = container => this._list.contextKeyService.createScoped(container);
|
|
859
|
+
this._editorPool = this._register(
|
|
860
|
+
this.instantiationService.createInstance(NotebookCellEditorPool, this, getScopedContextKeyService)
|
|
861
|
+
);
|
|
862
|
+
const renderers = [this.instantiationService.createInstance(
|
|
863
|
+
CodeCellRenderer,
|
|
864
|
+
this,
|
|
865
|
+
this._renderedEditors,
|
|
866
|
+
this._editorPool,
|
|
867
|
+
this._dndController,
|
|
868
|
+
getScopedContextKeyService
|
|
869
|
+
), this.instantiationService.createInstance(
|
|
870
|
+
MarkupCellRenderer,
|
|
871
|
+
this,
|
|
872
|
+
this._dndController,
|
|
873
|
+
this._renderedEditors,
|
|
874
|
+
getScopedContextKeyService
|
|
875
|
+
)];
|
|
876
|
+
renderers.forEach(renderer => {
|
|
877
|
+
this._register(renderer);
|
|
878
|
+
});
|
|
879
|
+
this._listDelegate = this.instantiationService.createInstance(NotebookCellListDelegate, getWindow(this.getDomNode()));
|
|
880
|
+
this._register(this._listDelegate);
|
|
881
|
+
const accessibilityProvider = this.instantiationService.createInstance(NotebookAccessibilityProvider, () => this.viewModel, this.isReplHistory);
|
|
882
|
+
this._register(accessibilityProvider);
|
|
883
|
+
this._list = this.instantiationService.createInstance(
|
|
884
|
+
NotebookCellList,
|
|
885
|
+
"NotebookCellList",
|
|
886
|
+
this._body,
|
|
887
|
+
this._viewContext.notebookOptions,
|
|
888
|
+
this._listDelegate,
|
|
889
|
+
renderers,
|
|
890
|
+
this.scopedContextKeyService,
|
|
891
|
+
{
|
|
892
|
+
setRowLineHeight: false,
|
|
893
|
+
setRowHeight: false,
|
|
894
|
+
supportDynamicHeights: true,
|
|
895
|
+
horizontalScrolling: false,
|
|
896
|
+
keyboardSupport: false,
|
|
897
|
+
mouseSupport: true,
|
|
898
|
+
multipleSelectionSupport: true,
|
|
899
|
+
selectionNavigation: true,
|
|
900
|
+
typeNavigationEnabled: true,
|
|
901
|
+
paddingTop: 0,
|
|
902
|
+
paddingBottom: 0,
|
|
903
|
+
transformOptimization: false,
|
|
904
|
+
initialSize: this._dimension,
|
|
905
|
+
styleController: _suffix => {
|
|
906
|
+
return this._list;
|
|
907
|
+
},
|
|
908
|
+
overrideStyles: {
|
|
909
|
+
listBackground: notebookEditorBackground,
|
|
910
|
+
listActiveSelectionBackground: notebookEditorBackground,
|
|
911
|
+
listActiveSelectionForeground: foreground,
|
|
912
|
+
listFocusAndSelectionBackground: notebookEditorBackground,
|
|
913
|
+
listFocusAndSelectionForeground: foreground,
|
|
914
|
+
listFocusBackground: notebookEditorBackground,
|
|
915
|
+
listFocusForeground: foreground,
|
|
916
|
+
listHoverForeground: foreground,
|
|
917
|
+
listHoverBackground: notebookEditorBackground,
|
|
918
|
+
listHoverOutline: focusBorder,
|
|
919
|
+
listFocusOutline: focusBorder,
|
|
920
|
+
listInactiveSelectionBackground: notebookEditorBackground,
|
|
921
|
+
listInactiveSelectionForeground: foreground,
|
|
922
|
+
listInactiveFocusBackground: notebookEditorBackground,
|
|
923
|
+
listInactiveFocusOutline: notebookEditorBackground
|
|
924
|
+
},
|
|
925
|
+
accessibilityProvider
|
|
926
|
+
}
|
|
927
|
+
);
|
|
928
|
+
this._cellLayoutManager = ( new NotebookCellLayoutManager(this, this._list, this.logService));
|
|
929
|
+
this._dndController.setList(this._list);
|
|
930
|
+
this._register(this._list);
|
|
931
|
+
this._listViewInfoAccessor = ( new ListViewInfoAccessor(this._list));
|
|
932
|
+
this._register(this._listViewInfoAccessor);
|
|
933
|
+
this._register(combinedDisposable(...renderers));
|
|
934
|
+
this._listTopCellToolbar = this._register(
|
|
935
|
+
this.instantiationService.createInstance(ListTopCellToolbar, this, this.notebookOptions)
|
|
936
|
+
);
|
|
937
|
+
this._webviewTransparentCover = append(this._list.rowsContainer, $(".webview-cover"));
|
|
938
|
+
this._webviewTransparentCover.style.display = "none";
|
|
939
|
+
this._register(
|
|
940
|
+
addStandardDisposableGenericMouseDownListener(this._overlayContainer, e => {
|
|
941
|
+
if (e.target.classList.contains("slider") && this._webviewTransparentCover) {
|
|
942
|
+
this._webviewTransparentCover.style.display = "block";
|
|
943
|
+
}
|
|
944
|
+
})
|
|
945
|
+
);
|
|
946
|
+
this._register(
|
|
947
|
+
addStandardDisposableGenericMouseUpListener(this._overlayContainer, () => {
|
|
948
|
+
if (this._webviewTransparentCover) {
|
|
949
|
+
this._webviewTransparentCover.style.display = "none";
|
|
950
|
+
}
|
|
951
|
+
})
|
|
952
|
+
);
|
|
953
|
+
this._register(this._list.onMouseDown(e => {
|
|
954
|
+
if (e.element) {
|
|
955
|
+
this._onMouseDown.fire({
|
|
956
|
+
event: e.browserEvent,
|
|
957
|
+
target: e.element
|
|
958
|
+
});
|
|
959
|
+
}
|
|
960
|
+
}));
|
|
961
|
+
this._register(this._list.onMouseUp(e => {
|
|
962
|
+
if (e.element) {
|
|
963
|
+
this._onMouseUp.fire({
|
|
964
|
+
event: e.browserEvent,
|
|
965
|
+
target: e.element
|
|
966
|
+
});
|
|
967
|
+
}
|
|
968
|
+
}));
|
|
969
|
+
this._register(this._list.onDidChangeFocus(_e => {
|
|
970
|
+
this._onDidChangeActiveEditor.fire(this);
|
|
971
|
+
this._onDidChangeActiveCell.fire();
|
|
972
|
+
this._onDidChangeFocus.fire();
|
|
973
|
+
this._cursorNavMode.set(false);
|
|
974
|
+
}));
|
|
975
|
+
this._register(this._list.onContextMenu(e => {
|
|
976
|
+
this.showListContextMenu(e);
|
|
977
|
+
}));
|
|
978
|
+
this._register(this._list.onDidChangeVisibleRanges(() => {
|
|
979
|
+
this._onDidChangeVisibleRanges.fire();
|
|
980
|
+
}));
|
|
981
|
+
this._register(this._list.onDidScroll(e => {
|
|
982
|
+
if (e.scrollTop !== e.oldScrollTop) {
|
|
983
|
+
this._onDidScroll.fire();
|
|
984
|
+
this.clearActiveCellWidgets();
|
|
985
|
+
}
|
|
986
|
+
if (e.scrollTop === e.oldScrollTop && e.scrollHeightChanged) {
|
|
987
|
+
this._onDidChangeLayout.fire();
|
|
988
|
+
}
|
|
989
|
+
}));
|
|
990
|
+
this._focusTracker = this._register(trackFocus(this.getDomNode()));
|
|
991
|
+
this._register(this._focusTracker.onDidBlur(() => {
|
|
992
|
+
this._editorFocus.set(false);
|
|
993
|
+
this.viewModel?.setEditorFocus(false);
|
|
994
|
+
this._onDidBlurEmitter.fire();
|
|
995
|
+
}));
|
|
996
|
+
this._register(this._focusTracker.onDidFocus(() => {
|
|
997
|
+
this._editorFocus.set(true);
|
|
998
|
+
this.viewModel?.setEditorFocus(true);
|
|
999
|
+
this._onDidFocusEmitter.fire();
|
|
1000
|
+
}));
|
|
1001
|
+
this._registerNotebookActionsToolbar();
|
|
1002
|
+
this._registerNotebookStickyScroll();
|
|
1003
|
+
this._register(this.configurationService.onDidChangeConfiguration(e => {
|
|
1004
|
+
if (e.affectsConfiguration(accessibilityProvider.verbositySettingId)) {
|
|
1005
|
+
this._list.ariaLabel = accessibilityProvider?.getWidgetAriaLabel();
|
|
1006
|
+
}
|
|
1007
|
+
}));
|
|
1008
|
+
}
|
|
1009
|
+
showListContextMenu(e) {
|
|
1010
|
+
this.contextMenuService.showContextMenu({
|
|
1011
|
+
menuId: MenuId.NotebookCellTitle,
|
|
1012
|
+
menuActionOptions: {
|
|
1013
|
+
shouldForwardArgs: true
|
|
1014
|
+
},
|
|
1015
|
+
contextKeyService: this.scopedContextKeyService,
|
|
1016
|
+
getAnchor: () => e.anchor,
|
|
1017
|
+
getActionsContext: () => {
|
|
1018
|
+
return {
|
|
1019
|
+
from: "cellContainer"
|
|
1020
|
+
};
|
|
1021
|
+
}
|
|
1022
|
+
});
|
|
1023
|
+
}
|
|
1024
|
+
_registerNotebookOverviewRuler() {
|
|
1025
|
+
this._notebookOverviewRuler = this._register(
|
|
1026
|
+
this.instantiationService.createInstance(NotebookOverviewRuler, this, this._notebookOverviewRulerContainer)
|
|
1027
|
+
);
|
|
1028
|
+
}
|
|
1029
|
+
_registerNotebookActionsToolbar() {
|
|
1030
|
+
this._notebookTopToolbar = this._register(this.instantiationService.createInstance(
|
|
1031
|
+
NotebookEditorWorkbenchToolbar,
|
|
1032
|
+
this,
|
|
1033
|
+
this.scopedContextKeyService,
|
|
1034
|
+
this._notebookOptions,
|
|
1035
|
+
this._notebookTopToolbarContainer
|
|
1036
|
+
));
|
|
1037
|
+
this._register(this._notebookTopToolbar.onDidChangeVisibility(() => {
|
|
1038
|
+
if (this._dimension && this._isVisible) {
|
|
1039
|
+
this.layout(this._dimension);
|
|
1040
|
+
}
|
|
1041
|
+
}));
|
|
1042
|
+
}
|
|
1043
|
+
_registerNotebookStickyScroll() {
|
|
1044
|
+
this._notebookStickyScroll = this._register(this.instantiationService.createInstance(
|
|
1045
|
+
NotebookStickyScroll,
|
|
1046
|
+
this._notebookStickyScrollContainer,
|
|
1047
|
+
this,
|
|
1048
|
+
this._list,
|
|
1049
|
+
sizeDelta => {
|
|
1050
|
+
if (this.isDisposed) {
|
|
1051
|
+
return;
|
|
1052
|
+
}
|
|
1053
|
+
if (this._dimension && this._isVisible) {
|
|
1054
|
+
if (sizeDelta > 0) {
|
|
1055
|
+
this.layout(this._dimension);
|
|
1056
|
+
this.setScrollTop(this.scrollTop + sizeDelta);
|
|
1057
|
+
} else if (sizeDelta < 0) {
|
|
1058
|
+
this.setScrollTop(this.scrollTop + sizeDelta);
|
|
1059
|
+
this.layout(this._dimension);
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
this._onDidScroll.fire();
|
|
1063
|
+
}
|
|
1064
|
+
));
|
|
1065
|
+
}
|
|
1066
|
+
_updateOutputRenderers() {
|
|
1067
|
+
if (!this.viewModel || !this._webview) {
|
|
1068
|
+
return;
|
|
1069
|
+
}
|
|
1070
|
+
this._webview.updateOutputRenderers();
|
|
1071
|
+
this.viewModel.viewCells.forEach(cell => {
|
|
1072
|
+
cell.outputsViewModels.forEach(output => {
|
|
1073
|
+
if (output.pickedMimeType?.rendererId === RENDERER_NOT_AVAILABLE) {
|
|
1074
|
+
output.resetRenderer();
|
|
1075
|
+
}
|
|
1076
|
+
});
|
|
1077
|
+
});
|
|
1078
|
+
}
|
|
1079
|
+
getDomNode() {
|
|
1080
|
+
return this._overlayContainer;
|
|
1081
|
+
}
|
|
1082
|
+
getOverflowContainerDomNode() {
|
|
1083
|
+
return this._overflowContainer;
|
|
1084
|
+
}
|
|
1085
|
+
getInnerWebview() {
|
|
1086
|
+
return this._webview?.webview;
|
|
1087
|
+
}
|
|
1088
|
+
setEditorProgressService(editorProgressService) {
|
|
1089
|
+
this.editorProgressService = editorProgressService;
|
|
1090
|
+
}
|
|
1091
|
+
setParentContextKeyService(parentContextKeyService) {
|
|
1092
|
+
this.scopedContextKeyService.updateParent(parentContextKeyService);
|
|
1093
|
+
}
|
|
1094
|
+
async setModel(textModel, viewState, perf, viewType) {
|
|
1095
|
+
if (this.viewModel === undefined || !this.viewModel.equal(textModel)) {
|
|
1096
|
+
const oldBottomToolbarDimensions = this._notebookOptions.computeBottomToolbarDimensions(this.viewModel?.viewType);
|
|
1097
|
+
this._detachModel();
|
|
1098
|
+
await this._attachModel(textModel, viewType ?? textModel.viewType, viewState, perf);
|
|
1099
|
+
const newBottomToolbarDimensions = this._notebookOptions.computeBottomToolbarDimensions(this.viewModel?.viewType);
|
|
1100
|
+
if (oldBottomToolbarDimensions.bottomToolbarGap !== newBottomToolbarDimensions.bottomToolbarGap || oldBottomToolbarDimensions.bottomToolbarHeight !== newBottomToolbarDimensions.bottomToolbarHeight) {
|
|
1101
|
+
this._styleElement?.remove();
|
|
1102
|
+
this._createLayoutStyles();
|
|
1103
|
+
this._webview?.updateOptions({
|
|
1104
|
+
...this.notebookOptions.computeWebviewOptions(),
|
|
1105
|
+
fontFamily: this._generateFontFamily()
|
|
1106
|
+
});
|
|
1107
|
+
}
|
|
1108
|
+
this.telemetryService.publicLog2("notebook/editorOpened", {
|
|
1109
|
+
scheme: textModel.uri.scheme,
|
|
1110
|
+
ext: extname(textModel.uri),
|
|
1111
|
+
viewType: textModel.viewType,
|
|
1112
|
+
isRepl: this.isReplHistory
|
|
1113
|
+
});
|
|
1114
|
+
} else {
|
|
1115
|
+
this.restoreListViewState(viewState);
|
|
1116
|
+
}
|
|
1117
|
+
this._restoreSelectedKernel(viewState);
|
|
1118
|
+
this._loadKernelPreloads();
|
|
1119
|
+
this._dndController?.clearGlobalDragState();
|
|
1120
|
+
this._localStore.add(this._list.onDidChangeFocus(() => {
|
|
1121
|
+
this.updateContextKeysOnFocusChange();
|
|
1122
|
+
}));
|
|
1123
|
+
this.updateContextKeysOnFocusChange();
|
|
1124
|
+
this._backgroundMarkdownRendering();
|
|
1125
|
+
}
|
|
1126
|
+
_backgroundMarkdownRendering() {
|
|
1127
|
+
if (this._backgroundMarkdownRenderRunning) {
|
|
1128
|
+
return;
|
|
1129
|
+
}
|
|
1130
|
+
this._backgroundMarkdownRenderRunning = true;
|
|
1131
|
+
runWhenWindowIdle(getWindow(this.getDomNode()), deadline => {
|
|
1132
|
+
this._backgroundMarkdownRenderingWithDeadline(deadline);
|
|
1133
|
+
});
|
|
1134
|
+
}
|
|
1135
|
+
_backgroundMarkdownRenderingWithDeadline(deadline) {
|
|
1136
|
+
const endTime = Date.now() + deadline.timeRemaining();
|
|
1137
|
+
const execute = () => {
|
|
1138
|
+
try {
|
|
1139
|
+
this._backgroundMarkdownRenderRunning = true;
|
|
1140
|
+
if (this._isDisposed) {
|
|
1141
|
+
return;
|
|
1142
|
+
}
|
|
1143
|
+
if (!this.viewModel) {
|
|
1144
|
+
return;
|
|
1145
|
+
}
|
|
1146
|
+
const firstMarkupCell = this.viewModel.viewCells.find(
|
|
1147
|
+
cell => cell.cellKind === CellKind.Markup && !this._webview?.markupPreviewMapping.has(cell.id) && !this.cellIsHidden(cell)
|
|
1148
|
+
);
|
|
1149
|
+
if (!firstMarkupCell) {
|
|
1150
|
+
return;
|
|
1151
|
+
}
|
|
1152
|
+
this.createMarkupPreview(firstMarkupCell);
|
|
1153
|
+
} finally {
|
|
1154
|
+
this._backgroundMarkdownRenderRunning = false;
|
|
1155
|
+
}
|
|
1156
|
+
if (Date.now() < endTime) {
|
|
1157
|
+
setTimeout0(execute);
|
|
1158
|
+
} else {
|
|
1159
|
+
this._backgroundMarkdownRendering();
|
|
1160
|
+
}
|
|
1161
|
+
};
|
|
1162
|
+
execute();
|
|
1163
|
+
}
|
|
1164
|
+
updateContextKeysOnFocusChange() {
|
|
1165
|
+
if (!this.viewModel) {
|
|
1166
|
+
return;
|
|
1167
|
+
}
|
|
1168
|
+
const focused = this._list.getFocusedElements()[0];
|
|
1169
|
+
if (focused) {
|
|
1170
|
+
if (!this._cellContextKeyManager) {
|
|
1171
|
+
this._cellContextKeyManager = this._localStore.add(
|
|
1172
|
+
this.instantiationService.createInstance(CellContextKeyManager, this, focused)
|
|
1173
|
+
);
|
|
1174
|
+
}
|
|
1175
|
+
this._cellContextKeyManager.updateForElement(focused);
|
|
1176
|
+
}
|
|
1177
|
+
}
|
|
1178
|
+
async setOptions(options) {
|
|
1179
|
+
if (options?.isReadOnly !== undefined) {
|
|
1180
|
+
this._readOnly = options?.isReadOnly;
|
|
1181
|
+
}
|
|
1182
|
+
if (!this.viewModel) {
|
|
1183
|
+
return;
|
|
1184
|
+
}
|
|
1185
|
+
this.viewModel.updateOptions({
|
|
1186
|
+
isReadOnly: this._readOnly
|
|
1187
|
+
});
|
|
1188
|
+
this.notebookOptions.updateOptions(this._readOnly);
|
|
1189
|
+
const cellOptions = options?.cellOptions ?? this._parseIndexedCellOptions(options);
|
|
1190
|
+
if (cellOptions) {
|
|
1191
|
+
const cell = this.viewModel.viewCells.find(cell => ( cell.uri.toString()) === ( cellOptions.resource.toString()));
|
|
1192
|
+
if (cell) {
|
|
1193
|
+
this.focusElement(cell);
|
|
1194
|
+
const selection = cellOptions.options?.selection;
|
|
1195
|
+
if (selection) {
|
|
1196
|
+
cell.updateEditState(CellEditState.Editing, "setOptions");
|
|
1197
|
+
cell.focusMode = CellFocusMode.Editor;
|
|
1198
|
+
await this.revealRangeInCenterIfOutsideViewportAsync(cell, ( new Range(
|
|
1199
|
+
selection.startLineNumber,
|
|
1200
|
+
selection.startColumn,
|
|
1201
|
+
selection.endLineNumber || selection.startLineNumber,
|
|
1202
|
+
selection.endColumn || selection.startColumn
|
|
1203
|
+
)));
|
|
1204
|
+
} else {
|
|
1205
|
+
this._list.revealCell(cell, options?.cellRevealType ?? CellRevealType.CenterIfOutsideViewport);
|
|
1206
|
+
}
|
|
1207
|
+
const editor = this._renderedEditors.get(cell);
|
|
1208
|
+
if (editor) {
|
|
1209
|
+
if (cellOptions.options?.selection) {
|
|
1210
|
+
const {
|
|
1211
|
+
selection
|
|
1212
|
+
} = cellOptions.options;
|
|
1213
|
+
const editorSelection = ( new Range(
|
|
1214
|
+
selection.startLineNumber,
|
|
1215
|
+
selection.startColumn,
|
|
1216
|
+
selection.endLineNumber || selection.startLineNumber,
|
|
1217
|
+
selection.endColumn || selection.startColumn
|
|
1218
|
+
));
|
|
1219
|
+
editor.setSelection(editorSelection);
|
|
1220
|
+
editor.revealPositionInCenterIfOutsideViewport({
|
|
1221
|
+
lineNumber: selection.startLineNumber,
|
|
1222
|
+
column: selection.startColumn
|
|
1223
|
+
});
|
|
1224
|
+
await this.revealRangeInCenterIfOutsideViewportAsync(cell, editorSelection);
|
|
1225
|
+
}
|
|
1226
|
+
if (!cellOptions.options?.preserveFocus) {
|
|
1227
|
+
editor.focus();
|
|
1228
|
+
}
|
|
1229
|
+
}
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
if (options?.cellSelections) {
|
|
1233
|
+
const focusCellIndex = options.cellSelections[0].start;
|
|
1234
|
+
const focusedCell = this.viewModel.cellAt(focusCellIndex);
|
|
1235
|
+
if (focusedCell) {
|
|
1236
|
+
this.viewModel.updateSelectionsState({
|
|
1237
|
+
kind: SelectionStateType.Index,
|
|
1238
|
+
focus: {
|
|
1239
|
+
start: focusCellIndex,
|
|
1240
|
+
end: focusCellIndex + 1
|
|
1241
|
+
},
|
|
1242
|
+
selections: options.cellSelections
|
|
1243
|
+
});
|
|
1244
|
+
this.revealInCenterIfOutsideViewport(focusedCell);
|
|
1245
|
+
}
|
|
1246
|
+
}
|
|
1247
|
+
this._updateForOptions();
|
|
1248
|
+
this._onDidChangeOptions.fire();
|
|
1249
|
+
}
|
|
1250
|
+
_parseIndexedCellOptions(options) {
|
|
1251
|
+
if (options?.indexedCellOptions) {
|
|
1252
|
+
const cell = this.cellAt(options.indexedCellOptions.index);
|
|
1253
|
+
if (cell) {
|
|
1254
|
+
return {
|
|
1255
|
+
resource: cell.uri,
|
|
1256
|
+
options: {
|
|
1257
|
+
selection: options.indexedCellOptions.selection,
|
|
1258
|
+
preserveFocus: false
|
|
1259
|
+
}
|
|
1260
|
+
};
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
return undefined;
|
|
1264
|
+
}
|
|
1265
|
+
_detachModel() {
|
|
1266
|
+
this._localStore.clear();
|
|
1267
|
+
dispose(this._localCellStateListeners);
|
|
1268
|
+
this._list.detachViewModel();
|
|
1269
|
+
this.viewModel?.dispose();
|
|
1270
|
+
this.viewModel = undefined;
|
|
1271
|
+
this._webview?.dispose();
|
|
1272
|
+
this._webview?.element.remove();
|
|
1273
|
+
this._webview = null;
|
|
1274
|
+
this._list.clear();
|
|
1275
|
+
}
|
|
1276
|
+
_updateForOptions() {
|
|
1277
|
+
if (!this.viewModel) {
|
|
1278
|
+
return;
|
|
1279
|
+
}
|
|
1280
|
+
this._editorEditable.set(!this.viewModel.options.isReadOnly);
|
|
1281
|
+
this._overflowContainer.classList.toggle("notebook-editor-editable", !this.viewModel.options.isReadOnly);
|
|
1282
|
+
this.getDomNode().classList.toggle("notebook-editor-editable", !this.viewModel.options.isReadOnly);
|
|
1283
|
+
}
|
|
1284
|
+
async _resolveWebview() {
|
|
1285
|
+
if (!this.textModel) {
|
|
1286
|
+
return null;
|
|
1287
|
+
}
|
|
1288
|
+
if (this._webviewResolvePromise) {
|
|
1289
|
+
return this._webviewResolvePromise;
|
|
1290
|
+
}
|
|
1291
|
+
if (!this._webview) {
|
|
1292
|
+
this._ensureWebview(this.getId(), this.textModel.viewType, this.textModel.uri);
|
|
1293
|
+
}
|
|
1294
|
+
this._webviewResolvePromise = (async () => {
|
|
1295
|
+
if (!this._webview) {
|
|
1296
|
+
throw ( new Error("Notebook output webview object is not created successfully."));
|
|
1297
|
+
}
|
|
1298
|
+
await this._webview.createWebview(this.creationOptions.codeWindow ?? mainWindow);
|
|
1299
|
+
if (!this._webview.webview) {
|
|
1300
|
+
throw ( new Error("Notebook output webview element was not created successfully."));
|
|
1301
|
+
}
|
|
1302
|
+
this._localStore.add(this._webview.webview.onDidBlur(() => {
|
|
1303
|
+
this._outputFocus.set(false);
|
|
1304
|
+
this._webviewFocused = false;
|
|
1305
|
+
this.updateEditorFocus();
|
|
1306
|
+
this.updateCellFocusMode();
|
|
1307
|
+
}));
|
|
1308
|
+
this._localStore.add(this._webview.webview.onDidFocus(() => {
|
|
1309
|
+
this._outputFocus.set(true);
|
|
1310
|
+
this.updateEditorFocus();
|
|
1311
|
+
this._webviewFocused = true;
|
|
1312
|
+
}));
|
|
1313
|
+
this._localStore.add(this._webview.onMessage(e => {
|
|
1314
|
+
this._onDidReceiveMessage.fire(e);
|
|
1315
|
+
}));
|
|
1316
|
+
return this._webview;
|
|
1317
|
+
})();
|
|
1318
|
+
return this._webviewResolvePromise;
|
|
1319
|
+
}
|
|
1320
|
+
_ensureWebview(id, viewType, resource) {
|
|
1321
|
+
if (this._webview) {
|
|
1322
|
+
return;
|
|
1323
|
+
}
|
|
1324
|
+
const that = this;
|
|
1325
|
+
this._webview = this.instantiationService.createInstance(BackLayerWebView, {
|
|
1326
|
+
get creationOptions() {
|
|
1327
|
+
return that.creationOptions;
|
|
1328
|
+
},
|
|
1329
|
+
setScrollTop(scrollTop) {
|
|
1330
|
+
that._list.scrollTop = scrollTop;
|
|
1331
|
+
},
|
|
1332
|
+
triggerScroll(event) {
|
|
1333
|
+
that._list.triggerScrollFromMouseWheelEvent(event);
|
|
1334
|
+
},
|
|
1335
|
+
getCellByInfo: that.getCellByInfo.bind(that),
|
|
1336
|
+
getCellById: that._getCellById.bind(that),
|
|
1337
|
+
toggleNotebookCellSelection: that._toggleNotebookCellSelection.bind(that),
|
|
1338
|
+
focusNotebookCell: that.focusNotebookCell.bind(that),
|
|
1339
|
+
focusNextNotebookCell: that.focusNextNotebookCell.bind(that),
|
|
1340
|
+
updateOutputHeight: that._updateOutputHeight.bind(that),
|
|
1341
|
+
scheduleOutputHeightAck: that._scheduleOutputHeightAck.bind(that),
|
|
1342
|
+
updateMarkupCellHeight: that._updateMarkupCellHeight.bind(that),
|
|
1343
|
+
setMarkupCellEditState: that._setMarkupCellEditState.bind(that),
|
|
1344
|
+
didStartDragMarkupCell: that._didStartDragMarkupCell.bind(that),
|
|
1345
|
+
didDragMarkupCell: that._didDragMarkupCell.bind(that),
|
|
1346
|
+
didDropMarkupCell: that._didDropMarkupCell.bind(that),
|
|
1347
|
+
didEndDragMarkupCell: that._didEndDragMarkupCell.bind(that),
|
|
1348
|
+
didResizeOutput: that._didResizeOutput.bind(that),
|
|
1349
|
+
updatePerformanceMetadata: that._updatePerformanceMetadata.bind(that),
|
|
1350
|
+
didFocusOutputInputChange: that._didFocusOutputInputChange.bind(that)
|
|
1351
|
+
}, id, viewType, resource, {
|
|
1352
|
+
...this._notebookOptions.computeWebviewOptions(),
|
|
1353
|
+
fontFamily: this._generateFontFamily()
|
|
1354
|
+
}, this.notebookRendererMessaging.getScoped(this._uuid));
|
|
1355
|
+
this._webview.element.style.width = "100%";
|
|
1356
|
+
this._list.attachWebview(this._webview.element);
|
|
1357
|
+
}
|
|
1358
|
+
async _attachModel(textModel, viewType, viewState, perf) {
|
|
1359
|
+
this._ensureWebview(this.getId(), textModel.viewType, textModel.uri);
|
|
1360
|
+
this.viewModel = this.instantiationService.createInstance(
|
|
1361
|
+
NotebookViewModel,
|
|
1362
|
+
viewType,
|
|
1363
|
+
textModel,
|
|
1364
|
+
this._viewContext,
|
|
1365
|
+
this.getLayoutInfo(),
|
|
1366
|
+
{
|
|
1367
|
+
isReadOnly: this._readOnly
|
|
1368
|
+
}
|
|
1369
|
+
);
|
|
1370
|
+
this._viewContext.eventDispatcher.emit([( new NotebookLayoutChangedEvent({
|
|
1371
|
+
width: true,
|
|
1372
|
+
fontInfo: true
|
|
1373
|
+
}, this.getLayoutInfo()))]);
|
|
1374
|
+
this.notebookOptions.updateOptions(this._readOnly);
|
|
1375
|
+
this._updateForOptions();
|
|
1376
|
+
this._updateForNotebookConfiguration();
|
|
1377
|
+
{
|
|
1378
|
+
this.viewModel.restoreEditorViewState(viewState);
|
|
1379
|
+
const contributionsState = viewState?.contributionsState || {};
|
|
1380
|
+
for (const [id, contribution] of this._contributions) {
|
|
1381
|
+
if (typeof contribution.restoreViewState === "function") {
|
|
1382
|
+
contribution.restoreViewState(contributionsState[id]);
|
|
1383
|
+
}
|
|
1384
|
+
}
|
|
1385
|
+
}
|
|
1386
|
+
this._localStore.add(this.viewModel.onDidChangeViewCells(e => {
|
|
1387
|
+
this._onDidChangeViewCells.fire(e);
|
|
1388
|
+
}));
|
|
1389
|
+
this._localStore.add(this.viewModel.onDidChangeSelection(() => {
|
|
1390
|
+
this._onDidChangeSelection.fire();
|
|
1391
|
+
this.updateSelectedMarkdownPreviews();
|
|
1392
|
+
}));
|
|
1393
|
+
this._localStore.add(this._list.onWillScroll(e => {
|
|
1394
|
+
if (this._webview?.isResolved()) {
|
|
1395
|
+
this._webviewTransparentCover.style.transform = `translateY(${e.scrollTop})`;
|
|
1396
|
+
}
|
|
1397
|
+
}));
|
|
1398
|
+
let hasPendingChangeContentHeight = false;
|
|
1399
|
+
const renderScrollHeightDisposable = this._localStore.add(( new MutableDisposable()));
|
|
1400
|
+
this._localStore.add(this._list.onDidChangeContentHeight(() => {
|
|
1401
|
+
if (hasPendingChangeContentHeight) {
|
|
1402
|
+
return;
|
|
1403
|
+
}
|
|
1404
|
+
hasPendingChangeContentHeight = true;
|
|
1405
|
+
renderScrollHeightDisposable.value = scheduleAtNextAnimationFrame(getWindow(this.getDomNode()), () => {
|
|
1406
|
+
hasPendingChangeContentHeight = false;
|
|
1407
|
+
this._updateScrollHeight();
|
|
1408
|
+
}, 100);
|
|
1409
|
+
}));
|
|
1410
|
+
this._localStore.add(this._list.onDidRemoveOutputs(outputs => {
|
|
1411
|
+
outputs.forEach(output => this.removeInset(output));
|
|
1412
|
+
}));
|
|
1413
|
+
this._localStore.add(this._list.onDidHideOutputs(outputs => {
|
|
1414
|
+
outputs.forEach(output => this.hideInset(output));
|
|
1415
|
+
}));
|
|
1416
|
+
this._localStore.add(this._list.onDidRemoveCellsFromView(cells => {
|
|
1417
|
+
const hiddenCells = [];
|
|
1418
|
+
const deletedCells = [];
|
|
1419
|
+
for (const cell of cells) {
|
|
1420
|
+
if (cell.cellKind === CellKind.Markup) {
|
|
1421
|
+
const mdCell = cell;
|
|
1422
|
+
if (this.viewModel?.viewCells.find(cell => cell.handle === mdCell.handle)) {
|
|
1423
|
+
hiddenCells.push(mdCell);
|
|
1424
|
+
} else {
|
|
1425
|
+
deletedCells.push(mdCell);
|
|
1426
|
+
}
|
|
1427
|
+
}
|
|
1428
|
+
}
|
|
1429
|
+
this.hideMarkupPreviews(hiddenCells);
|
|
1430
|
+
this.deleteMarkupPreviews(deletedCells);
|
|
1431
|
+
}));
|
|
1432
|
+
await this._warmupWithMarkdownRenderer(this.viewModel, viewState, perf);
|
|
1433
|
+
perf?.mark("customMarkdownLoaded");
|
|
1434
|
+
this._localCellStateListeners = this.viewModel.viewCells.map(cell => this._bindCellListener(cell));
|
|
1435
|
+
this._lastCellWithEditorFocus = this.viewModel.viewCells.find(
|
|
1436
|
+
viewCell => this.getActiveCell() === viewCell && viewCell.focusMode === CellFocusMode.Editor
|
|
1437
|
+
) ?? null;
|
|
1438
|
+
this._localStore.add(this.viewModel.onDidChangeViewCells(e => {
|
|
1439
|
+
if (this._isDisposed) {
|
|
1440
|
+
return;
|
|
1441
|
+
}
|
|
1442
|
+
[...e.splices].reverse().forEach(splice => {
|
|
1443
|
+
const [start, deleted, newCells] = splice;
|
|
1444
|
+
const deletedCells = this._localCellStateListeners.splice(start, deleted, ...newCells.map(cell => this._bindCellListener(cell)));
|
|
1445
|
+
dispose(deletedCells);
|
|
1446
|
+
});
|
|
1447
|
+
if (( e.splices.some(s => ( s[2].some(cell => cell.cellKind === CellKind.Markup))))) {
|
|
1448
|
+
this._backgroundMarkdownRendering();
|
|
1449
|
+
}
|
|
1450
|
+
}));
|
|
1451
|
+
if (this._dimension) {
|
|
1452
|
+
this._list.layout(this.getBodyHeight(this._dimension.height), this._dimension.width);
|
|
1453
|
+
} else {
|
|
1454
|
+
this._list.layout();
|
|
1455
|
+
}
|
|
1456
|
+
this._dndController?.clearGlobalDragState();
|
|
1457
|
+
this.restoreListViewState(viewState);
|
|
1458
|
+
}
|
|
1459
|
+
_bindCellListener(cell) {
|
|
1460
|
+
const store = ( new DisposableStore());
|
|
1461
|
+
store.add(cell.onDidChangeLayout(e => {
|
|
1462
|
+
if (e.totalHeight || e.outerWidth) {
|
|
1463
|
+
this.layoutNotebookCell(cell, cell.layoutInfo.totalHeight, e.context);
|
|
1464
|
+
}
|
|
1465
|
+
}));
|
|
1466
|
+
if (cell.cellKind === CellKind.Code) {
|
|
1467
|
+
store.add(cell.onDidRemoveOutputs(outputs => {
|
|
1468
|
+
outputs.forEach(output => this.removeInset(output));
|
|
1469
|
+
}));
|
|
1470
|
+
}
|
|
1471
|
+
store.add(cell.onDidChangeState(e => {
|
|
1472
|
+
if (e.inputCollapsedChanged && cell.isInputCollapsed && cell.cellKind === CellKind.Markup) {
|
|
1473
|
+
this.hideMarkupPreviews([cell]);
|
|
1474
|
+
}
|
|
1475
|
+
if (e.outputCollapsedChanged && cell.isOutputCollapsed && cell.cellKind === CellKind.Code) {
|
|
1476
|
+
cell.outputsViewModels.forEach(output => this.hideInset(output));
|
|
1477
|
+
}
|
|
1478
|
+
if (e.focusModeChanged) {
|
|
1479
|
+
this._validateCellFocusMode(cell);
|
|
1480
|
+
}
|
|
1481
|
+
}));
|
|
1482
|
+
store.add(cell.onCellDecorationsChanged(e => {
|
|
1483
|
+
e.added.forEach(options => {
|
|
1484
|
+
if (options.className) {
|
|
1485
|
+
this.deltaCellContainerClassNames(cell.id, [options.className], [], cell.cellKind);
|
|
1486
|
+
}
|
|
1487
|
+
if (options.outputClassName) {
|
|
1488
|
+
this.deltaCellContainerClassNames(cell.id, [options.outputClassName], [], cell.cellKind);
|
|
1489
|
+
}
|
|
1490
|
+
});
|
|
1491
|
+
e.removed.forEach(options => {
|
|
1492
|
+
if (options.className) {
|
|
1493
|
+
this.deltaCellContainerClassNames(cell.id, [], [options.className], cell.cellKind);
|
|
1494
|
+
}
|
|
1495
|
+
if (options.outputClassName) {
|
|
1496
|
+
this.deltaCellContainerClassNames(cell.id, [], [options.outputClassName], cell.cellKind);
|
|
1497
|
+
}
|
|
1498
|
+
});
|
|
1499
|
+
}));
|
|
1500
|
+
return store;
|
|
1501
|
+
}
|
|
1502
|
+
_validateCellFocusMode(cell) {
|
|
1503
|
+
if (cell.focusMode !== CellFocusMode.Editor) {
|
|
1504
|
+
return;
|
|
1505
|
+
}
|
|
1506
|
+
if (this._lastCellWithEditorFocus && this._lastCellWithEditorFocus !== cell) {
|
|
1507
|
+
this._lastCellWithEditorFocus.focusMode = CellFocusMode.Container;
|
|
1508
|
+
}
|
|
1509
|
+
this._lastCellWithEditorFocus = cell;
|
|
1510
|
+
}
|
|
1511
|
+
async _warmupWithMarkdownRenderer(viewModel, viewState, perf) {
|
|
1512
|
+
this.logService.debug("NotebookEditorWidget", "warmup " + this.viewModel?.uri.toString());
|
|
1513
|
+
await this._resolveWebview();
|
|
1514
|
+
perf?.mark("webviewCommLoaded");
|
|
1515
|
+
this.logService.debug("NotebookEditorWidget", "warmup - webview resolved");
|
|
1516
|
+
this._webview.element.style.visibility = "hidden";
|
|
1517
|
+
await this._warmupViewportMarkdownCells(viewModel, viewState);
|
|
1518
|
+
this.logService.debug("NotebookEditorWidget", "warmup - viewport warmed up");
|
|
1519
|
+
this._list.layout(0, 0);
|
|
1520
|
+
this._list.attachViewModel(viewModel);
|
|
1521
|
+
this._list.scrollTop = viewState?.scrollPosition?.top ?? 0;
|
|
1522
|
+
this._debug("finish initial viewport warmup and view state restore.");
|
|
1523
|
+
this._webview.element.style.visibility = "visible";
|
|
1524
|
+
this.logService.debug(
|
|
1525
|
+
"NotebookEditorWidget",
|
|
1526
|
+
"warmup - list view model attached, set to visible"
|
|
1527
|
+
);
|
|
1528
|
+
this._onDidAttachViewModel.fire();
|
|
1529
|
+
}
|
|
1530
|
+
async _warmupViewportMarkdownCells(viewModel, viewState) {
|
|
1531
|
+
if (viewState && viewState.cellTotalHeights) {
|
|
1532
|
+
const totalHeightCache = viewState.cellTotalHeights;
|
|
1533
|
+
const scrollTop = viewState.scrollPosition?.top ?? 0;
|
|
1534
|
+
const scrollBottom = scrollTop + Math.max(this._dimension?.height ?? 0, 1080);
|
|
1535
|
+
let offset = 0;
|
|
1536
|
+
const requests = [];
|
|
1537
|
+
for (let i = 0; i < viewModel.length; i++) {
|
|
1538
|
+
const cell = viewModel.cellAt(i);
|
|
1539
|
+
const cellHeight = totalHeightCache[i] ?? 0;
|
|
1540
|
+
if (offset + cellHeight < scrollTop) {
|
|
1541
|
+
offset += cellHeight;
|
|
1542
|
+
continue;
|
|
1543
|
+
}
|
|
1544
|
+
if (cell.cellKind === CellKind.Markup) {
|
|
1545
|
+
requests.push([cell, offset]);
|
|
1546
|
+
}
|
|
1547
|
+
offset += cellHeight;
|
|
1548
|
+
if (offset > scrollBottom) {
|
|
1549
|
+
break;
|
|
1550
|
+
}
|
|
1551
|
+
}
|
|
1552
|
+
await this._webview.initializeMarkup(
|
|
1553
|
+
requests.map(([model, offset]) => this.createMarkupCellInitialization(model, offset))
|
|
1554
|
+
);
|
|
1555
|
+
} else {
|
|
1556
|
+
const initRequests = viewModel.viewCells.filter(cell => cell.cellKind === CellKind.Markup).slice(0, 5).map(cell => this.createMarkupCellInitialization(cell, -1e4));
|
|
1557
|
+
await this._webview.initializeMarkup(initRequests);
|
|
1558
|
+
let offset = 0;
|
|
1559
|
+
const offsetUpdateRequests = [];
|
|
1560
|
+
const scrollBottom = Math.max(this._dimension?.height ?? 0, 1080);
|
|
1561
|
+
for (const cell of viewModel.viewCells) {
|
|
1562
|
+
if (cell.cellKind === CellKind.Markup) {
|
|
1563
|
+
offsetUpdateRequests.push({
|
|
1564
|
+
id: cell.id,
|
|
1565
|
+
top: offset
|
|
1566
|
+
});
|
|
1567
|
+
}
|
|
1568
|
+
offset += cell.getHeight(this.getLayoutInfo().fontInfo.lineHeight);
|
|
1569
|
+
if (offset > scrollBottom) {
|
|
1570
|
+
break;
|
|
1571
|
+
}
|
|
1572
|
+
}
|
|
1573
|
+
this._webview?.updateScrollTops([], offsetUpdateRequests);
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
createMarkupCellInitialization(model, offset) {
|
|
1577
|
+
return ({
|
|
1578
|
+
mime: model.mime,
|
|
1579
|
+
cellId: model.id,
|
|
1580
|
+
cellHandle: model.handle,
|
|
1581
|
+
content: model.getText(),
|
|
1582
|
+
offset: offset,
|
|
1583
|
+
visible: false,
|
|
1584
|
+
metadata: model.metadata
|
|
1585
|
+
});
|
|
1586
|
+
}
|
|
1587
|
+
restoreListViewState(viewState) {
|
|
1588
|
+
if (!this.viewModel) {
|
|
1589
|
+
return;
|
|
1590
|
+
}
|
|
1591
|
+
if (viewState?.scrollPosition !== undefined) {
|
|
1592
|
+
this._list.scrollTop = viewState.scrollPosition.top;
|
|
1593
|
+
this._list.scrollLeft = viewState.scrollPosition.left;
|
|
1594
|
+
} else {
|
|
1595
|
+
this._list.scrollTop = 0;
|
|
1596
|
+
this._list.scrollLeft = 0;
|
|
1597
|
+
}
|
|
1598
|
+
const focusIdx = typeof viewState?.focus === "number" ? viewState.focus : 0;
|
|
1599
|
+
if (focusIdx < this.viewModel.length) {
|
|
1600
|
+
const element = this.viewModel.cellAt(focusIdx);
|
|
1601
|
+
if (element) {
|
|
1602
|
+
this.viewModel?.updateSelectionsState({
|
|
1603
|
+
kind: SelectionStateType.Handle,
|
|
1604
|
+
primary: element.handle,
|
|
1605
|
+
selections: [element.handle]
|
|
1606
|
+
});
|
|
1607
|
+
}
|
|
1608
|
+
} else if (this._list.length > 0) {
|
|
1609
|
+
this.viewModel.updateSelectionsState({
|
|
1610
|
+
kind: SelectionStateType.Index,
|
|
1611
|
+
focus: {
|
|
1612
|
+
start: 0,
|
|
1613
|
+
end: 1
|
|
1614
|
+
},
|
|
1615
|
+
selections: [{
|
|
1616
|
+
start: 0,
|
|
1617
|
+
end: 1
|
|
1618
|
+
}]
|
|
1619
|
+
});
|
|
1620
|
+
}
|
|
1621
|
+
if (viewState?.editorFocused) {
|
|
1622
|
+
const cell = this.viewModel.cellAt(focusIdx);
|
|
1623
|
+
if (cell) {
|
|
1624
|
+
cell.focusMode = CellFocusMode.Editor;
|
|
1625
|
+
}
|
|
1626
|
+
}
|
|
1627
|
+
}
|
|
1628
|
+
_restoreSelectedKernel(viewState) {
|
|
1629
|
+
if (viewState?.selectedKernelId && this.textModel) {
|
|
1630
|
+
const matching = this.notebookKernelService.getMatchingKernel(this.textModel);
|
|
1631
|
+
const kernel = matching.all.find(k => k.id === viewState.selectedKernelId);
|
|
1632
|
+
if (kernel && !matching.selected) {
|
|
1633
|
+
this.notebookKernelService.selectKernelForNotebook(kernel, this.textModel);
|
|
1634
|
+
}
|
|
1635
|
+
}
|
|
1636
|
+
}
|
|
1637
|
+
getEditorViewState() {
|
|
1638
|
+
const state = this.viewModel?.getEditorViewState();
|
|
1639
|
+
if (!state) {
|
|
1640
|
+
return {
|
|
1641
|
+
editingCells: {},
|
|
1642
|
+
cellLineNumberStates: {},
|
|
1643
|
+
editorViewStates: {},
|
|
1644
|
+
collapsedInputCells: {},
|
|
1645
|
+
collapsedOutputCells: {}
|
|
1646
|
+
};
|
|
1647
|
+
}
|
|
1648
|
+
if (this._list) {
|
|
1649
|
+
state.scrollPosition = {
|
|
1650
|
+
left: this._list.scrollLeft,
|
|
1651
|
+
top: this._list.scrollTop
|
|
1652
|
+
};
|
|
1653
|
+
const cellHeights = {};
|
|
1654
|
+
for (let i = 0; i < this.viewModel.length; i++) {
|
|
1655
|
+
const elm = this.viewModel.cellAt(i);
|
|
1656
|
+
cellHeights[i] = elm.layoutInfo.totalHeight;
|
|
1657
|
+
}
|
|
1658
|
+
state.cellTotalHeights = cellHeights;
|
|
1659
|
+
if (this.viewModel) {
|
|
1660
|
+
const focusRange = this.viewModel.getFocus();
|
|
1661
|
+
const element = this.viewModel.cellAt(focusRange.start);
|
|
1662
|
+
if (element) {
|
|
1663
|
+
const itemDOM = this._list.domElementOfElement(element);
|
|
1664
|
+
const editorFocused = element.getEditState() === CellEditState.Editing && !!(itemDOM && getActiveElement(itemDOM.ownerDocument) && itemDOM.contains(getActiveElement(itemDOM.ownerDocument)));
|
|
1665
|
+
state.editorFocused = editorFocused;
|
|
1666
|
+
state.focus = focusRange.start;
|
|
1667
|
+
}
|
|
1668
|
+
}
|
|
1669
|
+
}
|
|
1670
|
+
const contributionsState = {};
|
|
1671
|
+
for (const [id, contribution] of this._contributions) {
|
|
1672
|
+
if (typeof contribution.saveViewState === "function") {
|
|
1673
|
+
contributionsState[id] = contribution.saveViewState();
|
|
1674
|
+
}
|
|
1675
|
+
}
|
|
1676
|
+
state.contributionsState = contributionsState;
|
|
1677
|
+
if (this.textModel?.uri.scheme === Schemas.untitled) {
|
|
1678
|
+
state.selectedKernelId = this.activeKernel?.id;
|
|
1679
|
+
}
|
|
1680
|
+
return state;
|
|
1681
|
+
}
|
|
1682
|
+
_allowScrollBeyondLastLine() {
|
|
1683
|
+
return this._scrollBeyondLastLine && !this.isReplHistory;
|
|
1684
|
+
}
|
|
1685
|
+
getBodyHeight(dimensionHeight) {
|
|
1686
|
+
return Math.max(
|
|
1687
|
+
dimensionHeight - (this._notebookTopToolbar?.useGlobalToolbar ? 26 : 0),
|
|
1688
|
+
0
|
|
1689
|
+
);
|
|
1690
|
+
}
|
|
1691
|
+
layout(dimension, shadowElement, position) {
|
|
1692
|
+
if (!shadowElement && !this._shadowElement) {
|
|
1693
|
+
this._dimension = dimension;
|
|
1694
|
+
return;
|
|
1695
|
+
}
|
|
1696
|
+
if (dimension.width <= 0 || dimension.height <= 0) {
|
|
1697
|
+
this.onWillHide();
|
|
1698
|
+
return;
|
|
1699
|
+
}
|
|
1700
|
+
const whenContainerStylesLoaded = this.layoutService.whenContainerStylesLoaded(getWindow(this.getDomNode()));
|
|
1701
|
+
if (whenContainerStylesLoaded) {
|
|
1702
|
+
whenContainerStylesLoaded.then(() => this.layoutNotebook(dimension, shadowElement));
|
|
1703
|
+
} else {
|
|
1704
|
+
this.layoutNotebook(dimension, shadowElement);
|
|
1705
|
+
}
|
|
1706
|
+
}
|
|
1707
|
+
layoutNotebook(dimension, shadowElement) {
|
|
1708
|
+
if (shadowElement) {
|
|
1709
|
+
this._shadowElement = shadowElement;
|
|
1710
|
+
}
|
|
1711
|
+
this._dimension = dimension;
|
|
1712
|
+
const newBodyHeight = this.getBodyHeight(dimension.height) - this.getLayoutInfo().stickyHeight;
|
|
1713
|
+
size(this._body, dimension.width, newBodyHeight);
|
|
1714
|
+
const newCellListHeight = newBodyHeight;
|
|
1715
|
+
if (this._list.getRenderHeight() < newCellListHeight) {
|
|
1716
|
+
this._list.updateOptions({
|
|
1717
|
+
paddingBottom: this._allowScrollBeyondLastLine() ? Math.max(0, (newCellListHeight - 50)) : 0,
|
|
1718
|
+
paddingTop: 0
|
|
1719
|
+
});
|
|
1720
|
+
this._list.layout(newCellListHeight, dimension.width);
|
|
1721
|
+
} else {
|
|
1722
|
+
this._list.layout(newCellListHeight, dimension.width);
|
|
1723
|
+
this._list.updateOptions({
|
|
1724
|
+
paddingBottom: this._allowScrollBeyondLastLine() ? Math.max(0, (newCellListHeight - 50)) : 0,
|
|
1725
|
+
paddingTop: 0
|
|
1726
|
+
});
|
|
1727
|
+
}
|
|
1728
|
+
this._overlayContainer.inert = false;
|
|
1729
|
+
this.layoutContainerOverShadowElement(shadowElement ?? this._shadowElement);
|
|
1730
|
+
if (this._webviewTransparentCover) {
|
|
1731
|
+
this._webviewTransparentCover.style.height = `${dimension.height}px`;
|
|
1732
|
+
this._webviewTransparentCover.style.width = `${dimension.width}px`;
|
|
1733
|
+
}
|
|
1734
|
+
this._notebookTopToolbar.layout(this._dimension);
|
|
1735
|
+
this._notebookOverviewRuler.layout();
|
|
1736
|
+
this._viewContext?.eventDispatcher.emit([( new NotebookLayoutChangedEvent({
|
|
1737
|
+
width: true,
|
|
1738
|
+
fontInfo: true
|
|
1739
|
+
}, this.getLayoutInfo()))]);
|
|
1740
|
+
}
|
|
1741
|
+
layoutContainerOverShadowElement(anchorElement) {
|
|
1742
|
+
if (!anchorElement) {
|
|
1743
|
+
return;
|
|
1744
|
+
}
|
|
1745
|
+
const modalEditorContainer = this.editorGroupsService.activeModalEditorPart?.modalElement;
|
|
1746
|
+
const isModal = isHTMLElement(modalEditorContainer) && modalEditorContainer.contains(anchorElement);
|
|
1747
|
+
const clippingContainer = isModal ? undefined : this.layoutService.getContainer(getWindow(this.getDomNode()), Parts.EDITOR_PART);
|
|
1748
|
+
this._overlayContainer.style.visibility = "visible";
|
|
1749
|
+
this._overlayLayout.setAnchorElement(anchorElement, {
|
|
1750
|
+
clippingContainer
|
|
1751
|
+
});
|
|
1752
|
+
this._overlayLayout.reapplyLayoutStyles();
|
|
1753
|
+
}
|
|
1754
|
+
focus() {
|
|
1755
|
+
this._isVisible = true;
|
|
1756
|
+
this._editorFocus.set(true);
|
|
1757
|
+
if (this._webviewFocused) {
|
|
1758
|
+
this._webview?.focusWebview();
|
|
1759
|
+
} else {
|
|
1760
|
+
if (this.viewModel) {
|
|
1761
|
+
const focusRange = this.viewModel.getFocus();
|
|
1762
|
+
const element = this.viewModel.cellAt(focusRange.start);
|
|
1763
|
+
if (!this.hasEditorFocus()) {
|
|
1764
|
+
this.focusContainer();
|
|
1765
|
+
this.updateEditorFocus();
|
|
1766
|
+
}
|
|
1767
|
+
if (element && element.focusMode === CellFocusMode.Editor) {
|
|
1768
|
+
element.updateEditState(CellEditState.Editing, "editorWidget.focus");
|
|
1769
|
+
element.focusMode = CellFocusMode.Editor;
|
|
1770
|
+
this.focusEditor(element);
|
|
1771
|
+
return;
|
|
1772
|
+
}
|
|
1773
|
+
}
|
|
1774
|
+
this._list.domFocus();
|
|
1775
|
+
}
|
|
1776
|
+
if (this._currentProgress) {
|
|
1777
|
+
this.showProgress();
|
|
1778
|
+
}
|
|
1779
|
+
}
|
|
1780
|
+
onShow() {
|
|
1781
|
+
this._isVisible = true;
|
|
1782
|
+
}
|
|
1783
|
+
focusEditor(activeElement) {
|
|
1784
|
+
for (const [element, editor] of this._renderedEditors.entries()) {
|
|
1785
|
+
if (element === activeElement) {
|
|
1786
|
+
editor.focus();
|
|
1787
|
+
return;
|
|
1788
|
+
}
|
|
1789
|
+
}
|
|
1790
|
+
}
|
|
1791
|
+
focusContainer(clearSelection = false) {
|
|
1792
|
+
if (this._webviewFocused) {
|
|
1793
|
+
this._webview?.focusWebview();
|
|
1794
|
+
} else {
|
|
1795
|
+
this._list.focusContainer(clearSelection);
|
|
1796
|
+
}
|
|
1797
|
+
}
|
|
1798
|
+
selectOutputContent(cell) {
|
|
1799
|
+
this._webview?.selectOutputContents(cell);
|
|
1800
|
+
}
|
|
1801
|
+
selectInputContents(cell) {
|
|
1802
|
+
this._webview?.selectInputContents(cell);
|
|
1803
|
+
}
|
|
1804
|
+
onWillHide() {
|
|
1805
|
+
this._isVisible = false;
|
|
1806
|
+
this._editorFocus.set(false);
|
|
1807
|
+
this._overlayContainer.inert = true;
|
|
1808
|
+
this._overlayContainer.style.visibility = "hidden";
|
|
1809
|
+
this._overlayContainer.style.left = "-50000px";
|
|
1810
|
+
this._notebookTopToolbarContainer.style.display = "none";
|
|
1811
|
+
this.clearActiveCellWidgets();
|
|
1812
|
+
}
|
|
1813
|
+
clearActiveCellWidgets() {
|
|
1814
|
+
this._renderedEditors.forEach((editor, cell) => {
|
|
1815
|
+
if (this.getActiveCell() === cell && editor) {
|
|
1816
|
+
SuggestController.get(editor)?.cancelSuggestWidget();
|
|
1817
|
+
DropIntoEditorController.get(editor)?.clearWidgets();
|
|
1818
|
+
CopyPasteController.get(editor)?.clearWidgets();
|
|
1819
|
+
}
|
|
1820
|
+
});
|
|
1821
|
+
this._renderedEditors.forEach((editor, cell) => {
|
|
1822
|
+
const controller = InlineCompletionsController.get(editor);
|
|
1823
|
+
if (controller?.model.get()?.inlineEditState.get()) {
|
|
1824
|
+
editor.render(true);
|
|
1825
|
+
}
|
|
1826
|
+
});
|
|
1827
|
+
}
|
|
1828
|
+
editorHasDomFocus() {
|
|
1829
|
+
return isAncestorOfActiveElement(this.getDomNode());
|
|
1830
|
+
}
|
|
1831
|
+
updateEditorFocus() {
|
|
1832
|
+
this._focusTracker.refreshState();
|
|
1833
|
+
const focused = this.editorHasDomFocus();
|
|
1834
|
+
this._editorFocus.set(focused);
|
|
1835
|
+
this.viewModel?.setEditorFocus(focused);
|
|
1836
|
+
}
|
|
1837
|
+
updateCellFocusMode() {
|
|
1838
|
+
const activeCell = this.getActiveCell();
|
|
1839
|
+
if (activeCell?.focusMode === CellFocusMode.Output && !this._webviewFocused) {
|
|
1840
|
+
activeCell.focusMode = CellFocusMode.Container;
|
|
1841
|
+
}
|
|
1842
|
+
}
|
|
1843
|
+
hasEditorFocus() {
|
|
1844
|
+
this.updateEditorFocus();
|
|
1845
|
+
return this.editorHasDomFocus();
|
|
1846
|
+
}
|
|
1847
|
+
hasWebviewFocus() {
|
|
1848
|
+
return this._webviewFocused;
|
|
1849
|
+
}
|
|
1850
|
+
hasOutputTextSelection() {
|
|
1851
|
+
if (!this.hasEditorFocus()) {
|
|
1852
|
+
return false;
|
|
1853
|
+
}
|
|
1854
|
+
const windowSelection = getWindow(this.getDomNode()).getSelection();
|
|
1855
|
+
if (windowSelection?.rangeCount !== 1) {
|
|
1856
|
+
return false;
|
|
1857
|
+
}
|
|
1858
|
+
const activeSelection = windowSelection.getRangeAt(0);
|
|
1859
|
+
if (activeSelection.startContainer === activeSelection.endContainer && activeSelection.endOffset - activeSelection.startOffset === 0) {
|
|
1860
|
+
return false;
|
|
1861
|
+
}
|
|
1862
|
+
let container = activeSelection.commonAncestorContainer;
|
|
1863
|
+
if (!this._body.contains(container)) {
|
|
1864
|
+
return false;
|
|
1865
|
+
}
|
|
1866
|
+
while (container && container !== this._body) {
|
|
1867
|
+
if (container.classList && container.classList.contains("output")) {
|
|
1868
|
+
return true;
|
|
1869
|
+
}
|
|
1870
|
+
container = container.parentNode;
|
|
1871
|
+
}
|
|
1872
|
+
return false;
|
|
1873
|
+
}
|
|
1874
|
+
_didFocusOutputInputChange(hasFocus) {
|
|
1875
|
+
this._outputInputFocus.set(hasFocus);
|
|
1876
|
+
}
|
|
1877
|
+
focusElement(cell) {
|
|
1878
|
+
this.viewModel?.updateSelectionsState({
|
|
1879
|
+
kind: SelectionStateType.Handle,
|
|
1880
|
+
primary: cell.handle,
|
|
1881
|
+
selections: [cell.handle]
|
|
1882
|
+
});
|
|
1883
|
+
}
|
|
1884
|
+
get scrollTop() {
|
|
1885
|
+
return this._list.scrollTop;
|
|
1886
|
+
}
|
|
1887
|
+
get scrollBottom() {
|
|
1888
|
+
return this._list.scrollTop + this._list.getRenderHeight();
|
|
1889
|
+
}
|
|
1890
|
+
getAbsoluteTopOfElement(cell) {
|
|
1891
|
+
return this._list.getCellViewScrollTop(cell);
|
|
1892
|
+
}
|
|
1893
|
+
getAbsoluteBottomOfElement(cell) {
|
|
1894
|
+
return this._list.getCellViewScrollBottom(cell);
|
|
1895
|
+
}
|
|
1896
|
+
getHeightOfElement(cell) {
|
|
1897
|
+
return this._list.elementHeight(cell);
|
|
1898
|
+
}
|
|
1899
|
+
scrollToBottom() {
|
|
1900
|
+
this._list.scrollToBottom();
|
|
1901
|
+
}
|
|
1902
|
+
setScrollTop(scrollTop) {
|
|
1903
|
+
this._list.scrollTop = scrollTop;
|
|
1904
|
+
}
|
|
1905
|
+
revealCellRangeInView(range) {
|
|
1906
|
+
return this._list.revealCells(range);
|
|
1907
|
+
}
|
|
1908
|
+
revealInView(cell) {
|
|
1909
|
+
return this._list.revealCell(cell, CellRevealType.Default);
|
|
1910
|
+
}
|
|
1911
|
+
revealInViewAtTop(cell) {
|
|
1912
|
+
this._list.revealCell(cell, CellRevealType.Top);
|
|
1913
|
+
}
|
|
1914
|
+
revealInCenter(cell) {
|
|
1915
|
+
this._list.revealCell(cell, CellRevealType.Center);
|
|
1916
|
+
}
|
|
1917
|
+
async revealInCenterIfOutsideViewport(cell) {
|
|
1918
|
+
await this._list.revealCell(cell, CellRevealType.CenterIfOutsideViewport);
|
|
1919
|
+
}
|
|
1920
|
+
async revealFirstLineIfOutsideViewport(cell) {
|
|
1921
|
+
await this._list.revealCell(cell, CellRevealType.FirstLineIfOutsideViewport);
|
|
1922
|
+
}
|
|
1923
|
+
async revealLineInViewAsync(cell, line) {
|
|
1924
|
+
return this._list.revealRangeInCell(cell, ( new Range(line, 1, line, 1)), CellRevealRangeType.Default);
|
|
1925
|
+
}
|
|
1926
|
+
async revealLineInCenterAsync(cell, line) {
|
|
1927
|
+
return this._list.revealRangeInCell(cell, ( new Range(line, 1, line, 1)), CellRevealRangeType.Center);
|
|
1928
|
+
}
|
|
1929
|
+
async revealLineInCenterIfOutsideViewportAsync(cell, line) {
|
|
1930
|
+
return this._list.revealRangeInCell(cell, ( new Range(line, 1, line, 1)), CellRevealRangeType.CenterIfOutsideViewport);
|
|
1931
|
+
}
|
|
1932
|
+
async revealRangeInViewAsync(cell, range) {
|
|
1933
|
+
return this._list.revealRangeInCell(cell, range, CellRevealRangeType.Default);
|
|
1934
|
+
}
|
|
1935
|
+
async revealRangeInCenterAsync(cell, range) {
|
|
1936
|
+
return this._list.revealRangeInCell(cell, range, CellRevealRangeType.Center);
|
|
1937
|
+
}
|
|
1938
|
+
async revealRangeInCenterIfOutsideViewportAsync(cell, range) {
|
|
1939
|
+
return this._list.revealRangeInCell(cell, range, CellRevealRangeType.CenterIfOutsideViewport);
|
|
1940
|
+
}
|
|
1941
|
+
revealCellOffsetInCenter(cell, offset) {
|
|
1942
|
+
return this._list.revealCellOffsetInCenter(cell, offset);
|
|
1943
|
+
}
|
|
1944
|
+
revealOffsetInCenterIfOutsideViewport(offset) {
|
|
1945
|
+
return this._list.revealOffsetInCenterIfOutsideViewport(offset);
|
|
1946
|
+
}
|
|
1947
|
+
getViewIndexByModelIndex(index) {
|
|
1948
|
+
if (!this._listViewInfoAccessor) {
|
|
1949
|
+
return -1;
|
|
1950
|
+
}
|
|
1951
|
+
const cell = this.viewModel?.viewCells[index];
|
|
1952
|
+
if (!cell) {
|
|
1953
|
+
return -1;
|
|
1954
|
+
}
|
|
1955
|
+
return this._listViewInfoAccessor.getViewIndex(cell);
|
|
1956
|
+
}
|
|
1957
|
+
getViewHeight(cell) {
|
|
1958
|
+
if (!this._listViewInfoAccessor) {
|
|
1959
|
+
return -1;
|
|
1960
|
+
}
|
|
1961
|
+
return this._listViewInfoAccessor.getViewHeight(cell);
|
|
1962
|
+
}
|
|
1963
|
+
getCellRangeFromViewRange(startIndex, endIndex) {
|
|
1964
|
+
return this._listViewInfoAccessor.getCellRangeFromViewRange(startIndex, endIndex);
|
|
1965
|
+
}
|
|
1966
|
+
getCellsInRange(range) {
|
|
1967
|
+
return this._listViewInfoAccessor.getCellsInRange(range);
|
|
1968
|
+
}
|
|
1969
|
+
setCellEditorSelection(cell, range) {
|
|
1970
|
+
this._list.setCellEditorSelection(cell, range);
|
|
1971
|
+
}
|
|
1972
|
+
setHiddenAreas(_ranges) {
|
|
1973
|
+
return this._list.setHiddenAreas(_ranges, true);
|
|
1974
|
+
}
|
|
1975
|
+
getVisibleRangesPlusViewportAboveAndBelow() {
|
|
1976
|
+
return this._listViewInfoAccessor.getVisibleRangesPlusViewportAboveAndBelow();
|
|
1977
|
+
}
|
|
1978
|
+
deltaCellDecorations(oldDecorations, newDecorations) {
|
|
1979
|
+
const ret = this.viewModel?.deltaCellDecorations(oldDecorations, newDecorations) || [];
|
|
1980
|
+
this._onDidChangeDecorations.fire();
|
|
1981
|
+
return ret;
|
|
1982
|
+
}
|
|
1983
|
+
deltaCellContainerClassNames(cellId, added, removed, cellkind) {
|
|
1984
|
+
if (cellkind === CellKind.Markup) {
|
|
1985
|
+
this._webview?.deltaMarkupPreviewClassNames(cellId, added, removed);
|
|
1986
|
+
} else {
|
|
1987
|
+
this._webview?.deltaCellOutputContainerClassNames(cellId, added, removed);
|
|
1988
|
+
}
|
|
1989
|
+
}
|
|
1990
|
+
changeModelDecorations(callback) {
|
|
1991
|
+
return this.viewModel?.changeModelDecorations(callback) || null;
|
|
1992
|
+
}
|
|
1993
|
+
changeViewZones(callback) {
|
|
1994
|
+
this._list.changeViewZones(callback);
|
|
1995
|
+
this._onDidChangeLayout.fire();
|
|
1996
|
+
}
|
|
1997
|
+
getViewZoneLayoutInfo(id) {
|
|
1998
|
+
return this._list.getViewZoneLayoutInfo(id);
|
|
1999
|
+
}
|
|
2000
|
+
changeCellOverlays(callback) {
|
|
2001
|
+
this._list.changeCellOverlays(callback);
|
|
2002
|
+
}
|
|
2003
|
+
async _loadKernelPreloads() {
|
|
2004
|
+
if (!this.hasModel()) {
|
|
2005
|
+
return;
|
|
2006
|
+
}
|
|
2007
|
+
const {
|
|
2008
|
+
selected
|
|
2009
|
+
} = this.notebookKernelService.getMatchingKernel(this.textModel);
|
|
2010
|
+
if (!this._webview?.isResolved()) {
|
|
2011
|
+
await this._resolveWebview();
|
|
2012
|
+
}
|
|
2013
|
+
this._webview?.updateKernelPreloads(selected);
|
|
2014
|
+
}
|
|
2015
|
+
get activeKernel() {
|
|
2016
|
+
return this.textModel && this.notebookKernelService.getSelectedOrSuggestedKernel(this.textModel);
|
|
2017
|
+
}
|
|
2018
|
+
async cancelNotebookCells(cells) {
|
|
2019
|
+
if (!this.viewModel || !this.hasModel()) {
|
|
2020
|
+
return;
|
|
2021
|
+
}
|
|
2022
|
+
if (!cells) {
|
|
2023
|
+
cells = this.viewModel.viewCells;
|
|
2024
|
+
}
|
|
2025
|
+
return this.notebookExecutionService.cancelNotebookCellHandles(this.textModel, Array.from(cells).map(cell => cell.handle));
|
|
2026
|
+
}
|
|
2027
|
+
async executeNotebookCells(cells) {
|
|
2028
|
+
if (!this.viewModel || !this.hasModel()) {
|
|
2029
|
+
this.logService.info("notebookEditorWidget", "No NotebookViewModel, cannot execute cells");
|
|
2030
|
+
return;
|
|
2031
|
+
}
|
|
2032
|
+
if (!cells) {
|
|
2033
|
+
cells = this.viewModel.viewCells;
|
|
2034
|
+
}
|
|
2035
|
+
return this.notebookExecutionService.executeNotebookCells(
|
|
2036
|
+
this.textModel,
|
|
2037
|
+
Array.from(cells).map(c => c.model),
|
|
2038
|
+
this.scopedContextKeyService
|
|
2039
|
+
);
|
|
2040
|
+
}
|
|
2041
|
+
async layoutNotebookCell(cell, height, context) {
|
|
2042
|
+
return this._cellLayoutManager?.layoutNotebookCell(cell, height);
|
|
2043
|
+
}
|
|
2044
|
+
getActiveCell() {
|
|
2045
|
+
const elements = this._list.getFocusedElements();
|
|
2046
|
+
if (elements && elements.length) {
|
|
2047
|
+
return elements[0];
|
|
2048
|
+
}
|
|
2049
|
+
return undefined;
|
|
2050
|
+
}
|
|
2051
|
+
_toggleNotebookCellSelection(selectedCell, selectFromPrevious) {
|
|
2052
|
+
const currentSelections = this._list.getSelectedElements();
|
|
2053
|
+
const isSelected = currentSelections.includes(selectedCell);
|
|
2054
|
+
const previousSelection = selectFromPrevious ? currentSelections[currentSelections.length - 1] ?? selectedCell : selectedCell;
|
|
2055
|
+
const selectedIndex = this._list.getViewIndex(selectedCell);
|
|
2056
|
+
const previousIndex = this._list.getViewIndex(previousSelection);
|
|
2057
|
+
const cellsInSelectionRange = this.getCellsInViewRange(selectedIndex, previousIndex);
|
|
2058
|
+
if (isSelected) {
|
|
2059
|
+
this._list.selectElements(
|
|
2060
|
+
currentSelections.filter(current => !cellsInSelectionRange.includes(current))
|
|
2061
|
+
);
|
|
2062
|
+
} else {
|
|
2063
|
+
this.focusElement(selectedCell);
|
|
2064
|
+
this._list.selectElements([
|
|
2065
|
+
...currentSelections.filter(current => !cellsInSelectionRange.includes(current)),
|
|
2066
|
+
...cellsInSelectionRange
|
|
2067
|
+
]);
|
|
2068
|
+
}
|
|
2069
|
+
}
|
|
2070
|
+
getCellsInViewRange(fromInclusive, toInclusive) {
|
|
2071
|
+
const selectedCellsInRange = [];
|
|
2072
|
+
for (let index = 0; index < this._list.length; ++index) {
|
|
2073
|
+
const cell = this._list.element(index);
|
|
2074
|
+
if (cell) {
|
|
2075
|
+
if ((index >= fromInclusive && index <= toInclusive) || (index >= toInclusive && index <= fromInclusive)) {
|
|
2076
|
+
selectedCellsInRange.push(cell);
|
|
2077
|
+
}
|
|
2078
|
+
}
|
|
2079
|
+
}
|
|
2080
|
+
return selectedCellsInRange;
|
|
2081
|
+
}
|
|
2082
|
+
async focusNotebookCell(cell, focusItem, options) {
|
|
2083
|
+
if (this._isDisposed) {
|
|
2084
|
+
return;
|
|
2085
|
+
}
|
|
2086
|
+
cell.focusedOutputId = undefined;
|
|
2087
|
+
if (focusItem === "editor") {
|
|
2088
|
+
cell.isInputCollapsed = false;
|
|
2089
|
+
this.focusElement(cell);
|
|
2090
|
+
this._list.focusView();
|
|
2091
|
+
cell.updateEditState(CellEditState.Editing, "focusNotebookCell");
|
|
2092
|
+
cell.focusMode = CellFocusMode.Editor;
|
|
2093
|
+
if (!options?.skipReveal) {
|
|
2094
|
+
if (typeof options?.focusEditorLine === "number") {
|
|
2095
|
+
this._cursorNavMode.set(true);
|
|
2096
|
+
await this.revealLineInViewAsync(cell, options.focusEditorLine);
|
|
2097
|
+
const editor = this._renderedEditors.get(cell);
|
|
2098
|
+
const focusEditorLine = options.focusEditorLine;
|
|
2099
|
+
editor?.setSelection({
|
|
2100
|
+
startLineNumber: focusEditorLine,
|
|
2101
|
+
startColumn: 1,
|
|
2102
|
+
endLineNumber: focusEditorLine,
|
|
2103
|
+
endColumn: 1
|
|
2104
|
+
});
|
|
2105
|
+
} else {
|
|
2106
|
+
const selectionsStartPosition = cell.getSelectionsStartPosition();
|
|
2107
|
+
if (selectionsStartPosition?.length) {
|
|
2108
|
+
const firstSelectionPosition = selectionsStartPosition[0];
|
|
2109
|
+
await this.revealRangeInViewAsync(cell, Range.fromPositions(firstSelectionPosition, firstSelectionPosition));
|
|
2110
|
+
} else {
|
|
2111
|
+
await this.revealInView(cell);
|
|
2112
|
+
}
|
|
2113
|
+
}
|
|
2114
|
+
}
|
|
2115
|
+
} else if (focusItem === "output") {
|
|
2116
|
+
this.focusElement(cell);
|
|
2117
|
+
if (!this.hasEditorFocus()) {
|
|
2118
|
+
this._list.focusView();
|
|
2119
|
+
}
|
|
2120
|
+
if (!this._webview) {
|
|
2121
|
+
return;
|
|
2122
|
+
}
|
|
2123
|
+
const firstOutputId = cell.outputsViewModels.find(o => o.model.alternativeOutputId)?.model.alternativeOutputId;
|
|
2124
|
+
const focusElementId = options?.outputId ?? firstOutputId ?? cell.id;
|
|
2125
|
+
this._webview.focusOutput(
|
|
2126
|
+
focusElementId,
|
|
2127
|
+
options?.altOutputId,
|
|
2128
|
+
options?.outputWebviewFocused || this._webviewFocused
|
|
2129
|
+
);
|
|
2130
|
+
cell.updateEditState(CellEditState.Preview, "focusNotebookCell");
|
|
2131
|
+
cell.focusMode = CellFocusMode.Output;
|
|
2132
|
+
cell.focusedOutputId = options?.outputId;
|
|
2133
|
+
this._outputFocus.set(true);
|
|
2134
|
+
if (!options?.skipReveal) {
|
|
2135
|
+
this.revealInCenterIfOutsideViewport(cell);
|
|
2136
|
+
}
|
|
2137
|
+
} else {
|
|
2138
|
+
const itemDOM = this._list.domElementOfElement(cell);
|
|
2139
|
+
if (itemDOM && getActiveElement(itemDOM.ownerDocument) && itemDOM.contains(getActiveElement(itemDOM.ownerDocument))) {
|
|
2140
|
+
getActiveElement(itemDOM.ownerDocument).blur();
|
|
2141
|
+
}
|
|
2142
|
+
this._webview?.blurOutput();
|
|
2143
|
+
cell.updateEditState(CellEditState.Preview, "focusNotebookCell");
|
|
2144
|
+
cell.focusMode = CellFocusMode.Container;
|
|
2145
|
+
this.focusElement(cell);
|
|
2146
|
+
if (!options?.skipReveal) {
|
|
2147
|
+
if (typeof options?.focusEditorLine === "number") {
|
|
2148
|
+
this._cursorNavMode.set(true);
|
|
2149
|
+
await this.revealInView(cell);
|
|
2150
|
+
} else if (options?.revealBehavior === ScrollToRevealBehavior.firstLine) {
|
|
2151
|
+
await this.revealFirstLineIfOutsideViewport(cell);
|
|
2152
|
+
} else if (options?.revealBehavior === ScrollToRevealBehavior.fullCell) {
|
|
2153
|
+
await this.revealInView(cell);
|
|
2154
|
+
} else {
|
|
2155
|
+
await this.revealInCenterIfOutsideViewport(cell);
|
|
2156
|
+
}
|
|
2157
|
+
}
|
|
2158
|
+
this._list.focusView();
|
|
2159
|
+
this.updateEditorFocus();
|
|
2160
|
+
}
|
|
2161
|
+
}
|
|
2162
|
+
async focusNextNotebookCell(cell, focusItem) {
|
|
2163
|
+
const idx = this.viewModel?.getCellIndex(cell);
|
|
2164
|
+
if (typeof idx !== "number") {
|
|
2165
|
+
return;
|
|
2166
|
+
}
|
|
2167
|
+
const newCell = this.viewModel?.cellAt(idx + 1);
|
|
2168
|
+
if (!newCell) {
|
|
2169
|
+
return;
|
|
2170
|
+
}
|
|
2171
|
+
await this.focusNotebookCell(newCell, focusItem);
|
|
2172
|
+
}
|
|
2173
|
+
async _warmupCell(viewCell) {
|
|
2174
|
+
if (viewCell.isOutputCollapsed) {
|
|
2175
|
+
return;
|
|
2176
|
+
}
|
|
2177
|
+
const outputs = viewCell.outputsViewModels;
|
|
2178
|
+
for (const output of outputs.slice(0, outputDisplayLimit)) {
|
|
2179
|
+
const [mimeTypes, pick] = output.resolveMimeTypes(this.textModel, undefined);
|
|
2180
|
+
if (!mimeTypes.find(mimeType => mimeType.isTrusted) || mimeTypes.length === 0) {
|
|
2181
|
+
continue;
|
|
2182
|
+
}
|
|
2183
|
+
const pickedMimeTypeRenderer = mimeTypes[pick];
|
|
2184
|
+
if (!pickedMimeTypeRenderer) {
|
|
2185
|
+
return;
|
|
2186
|
+
}
|
|
2187
|
+
const renderer = this._notebookService.getRendererInfo(pickedMimeTypeRenderer.rendererId);
|
|
2188
|
+
if (!renderer) {
|
|
2189
|
+
return;
|
|
2190
|
+
}
|
|
2191
|
+
const result = {
|
|
2192
|
+
type: RenderOutputType.Extension,
|
|
2193
|
+
renderer,
|
|
2194
|
+
source: output,
|
|
2195
|
+
mimeType: pickedMimeTypeRenderer.mimeType
|
|
2196
|
+
};
|
|
2197
|
+
const inset = this._webview?.insetMapping.get(result.source);
|
|
2198
|
+
if (!inset || !inset.initialized) {
|
|
2199
|
+
const p = ( new Promise(resolve => {
|
|
2200
|
+
this._register(Event.any(this.onDidRenderOutput, this.onDidRemoveOutput)(e => {
|
|
2201
|
+
if (e.model === result.source.model) {
|
|
2202
|
+
resolve();
|
|
2203
|
+
}
|
|
2204
|
+
}));
|
|
2205
|
+
}));
|
|
2206
|
+
this.createOutput(viewCell, result, 0, false);
|
|
2207
|
+
await p;
|
|
2208
|
+
} else {
|
|
2209
|
+
this.createOutput(viewCell, result, 0, false);
|
|
2210
|
+
}
|
|
2211
|
+
return;
|
|
2212
|
+
}
|
|
2213
|
+
}
|
|
2214
|
+
async _warmupAll(includeOutput) {
|
|
2215
|
+
if (!this.hasModel() || !this.viewModel) {
|
|
2216
|
+
return;
|
|
2217
|
+
}
|
|
2218
|
+
const cells = this.viewModel.viewCells;
|
|
2219
|
+
const requests = [];
|
|
2220
|
+
for (let i = 0; i < cells.length; i++) {
|
|
2221
|
+
if (cells[i].cellKind === CellKind.Markup && !( this._webview.markupPreviewMapping.has(cells[i].id))) {
|
|
2222
|
+
requests.push(this.createMarkupPreview(cells[i]));
|
|
2223
|
+
}
|
|
2224
|
+
}
|
|
2225
|
+
if (includeOutput && this._list) {
|
|
2226
|
+
for (let i = 0; i < this._list.length; i++) {
|
|
2227
|
+
const cell = this._list.element(i);
|
|
2228
|
+
if (cell?.cellKind === CellKind.Code) {
|
|
2229
|
+
requests.push(this._warmupCell(cell));
|
|
2230
|
+
}
|
|
2231
|
+
}
|
|
2232
|
+
}
|
|
2233
|
+
return Promise.all(requests);
|
|
2234
|
+
}
|
|
2235
|
+
async _warmupSelection(includeOutput, selectedCellRanges) {
|
|
2236
|
+
if (!this.hasModel() || !this.viewModel) {
|
|
2237
|
+
return;
|
|
2238
|
+
}
|
|
2239
|
+
const cells = this.viewModel.viewCells;
|
|
2240
|
+
const requests = [];
|
|
2241
|
+
for (const range of selectedCellRanges) {
|
|
2242
|
+
for (let i = range.start; i < range.end; i++) {
|
|
2243
|
+
if (cells[i].cellKind === CellKind.Markup && !( this._webview.markupPreviewMapping.has(cells[i].id))) {
|
|
2244
|
+
requests.push(this.createMarkupPreview(cells[i]));
|
|
2245
|
+
}
|
|
2246
|
+
}
|
|
2247
|
+
}
|
|
2248
|
+
if (includeOutput && this._list) {
|
|
2249
|
+
for (const range of selectedCellRanges) {
|
|
2250
|
+
for (let i = range.start; i < range.end; i++) {
|
|
2251
|
+
const cell = this._list.element(i);
|
|
2252
|
+
if (cell?.cellKind === CellKind.Code) {
|
|
2253
|
+
requests.push(this._warmupCell(cell));
|
|
2254
|
+
}
|
|
2255
|
+
}
|
|
2256
|
+
}
|
|
2257
|
+
}
|
|
2258
|
+
return Promise.all(requests);
|
|
2259
|
+
}
|
|
2260
|
+
async find(
|
|
2261
|
+
query,
|
|
2262
|
+
options,
|
|
2263
|
+
token,
|
|
2264
|
+
skipWarmup = false,
|
|
2265
|
+
shouldGetSearchPreviewInfo = false,
|
|
2266
|
+
ownerID
|
|
2267
|
+
) {
|
|
2268
|
+
if (!this._notebookViewModel) {
|
|
2269
|
+
return [];
|
|
2270
|
+
}
|
|
2271
|
+
if (!ownerID) {
|
|
2272
|
+
ownerID = this.getId();
|
|
2273
|
+
}
|
|
2274
|
+
const findMatches = this._notebookViewModel.find(query, options).filter(match => match.length > 0);
|
|
2275
|
+
if ((!options.includeMarkupPreview && !options.includeOutput) || options.findScope?.findScopeType === NotebookFindScopeType.Text) {
|
|
2276
|
+
this._webview?.findStop(ownerID);
|
|
2277
|
+
return findMatches;
|
|
2278
|
+
}
|
|
2279
|
+
const matchMap = {};
|
|
2280
|
+
findMatches.forEach(match => {
|
|
2281
|
+
matchMap[match.cell.id] = match;
|
|
2282
|
+
});
|
|
2283
|
+
if (this._webview) {
|
|
2284
|
+
const start = Date.now();
|
|
2285
|
+
if (options.findScope && options.findScope.findScopeType === NotebookFindScopeType.Cells && options.findScope.selectedCellRanges) {
|
|
2286
|
+
await this._warmupSelection(!!options.includeOutput, options.findScope.selectedCellRanges);
|
|
2287
|
+
} else {
|
|
2288
|
+
await this._warmupAll(!!options.includeOutput);
|
|
2289
|
+
}
|
|
2290
|
+
const end = Date.now();
|
|
2291
|
+
this.logService.debug("Find", `Warmup time: ${end - start}ms`);
|
|
2292
|
+
if (token.isCancellationRequested) {
|
|
2293
|
+
return [];
|
|
2294
|
+
}
|
|
2295
|
+
let findIds = [];
|
|
2296
|
+
if (options.findScope && options.findScope.findScopeType === NotebookFindScopeType.Cells && options.findScope.selectedCellRanges) {
|
|
2297
|
+
const selectedIndexes = cellRangesToIndexes(options.findScope.selectedCellRanges);
|
|
2298
|
+
findIds = selectedIndexes.map(index => this._notebookViewModel?.viewCells[index].id ?? "");
|
|
2299
|
+
}
|
|
2300
|
+
const webviewMatches = await this._webview.find(query, {
|
|
2301
|
+
caseSensitive: options.caseSensitive,
|
|
2302
|
+
wholeWord: options.wholeWord,
|
|
2303
|
+
includeMarkup: !!options.includeMarkupPreview,
|
|
2304
|
+
includeOutput: !!options.includeOutput,
|
|
2305
|
+
shouldGetSearchPreviewInfo,
|
|
2306
|
+
ownerID,
|
|
2307
|
+
findIds: findIds
|
|
2308
|
+
});
|
|
2309
|
+
if (token.isCancellationRequested) {
|
|
2310
|
+
return [];
|
|
2311
|
+
}
|
|
2312
|
+
webviewMatches.forEach(match => {
|
|
2313
|
+
const cell = this._notebookViewModel.viewCells.find(cell => cell.id === match.cellId);
|
|
2314
|
+
if (!cell) {
|
|
2315
|
+
return;
|
|
2316
|
+
}
|
|
2317
|
+
if (match.type === "preview") {
|
|
2318
|
+
if (cell.getEditState() === CellEditState.Preview && !options.includeMarkupPreview) {
|
|
2319
|
+
return;
|
|
2320
|
+
}
|
|
2321
|
+
if (cell.getEditState() === CellEditState.Editing && options.includeMarkupInput) {
|
|
2322
|
+
return;
|
|
2323
|
+
}
|
|
2324
|
+
} else {
|
|
2325
|
+
if (!options.includeOutput) {
|
|
2326
|
+
return;
|
|
2327
|
+
}
|
|
2328
|
+
}
|
|
2329
|
+
const exisitingMatch = matchMap[match.cellId];
|
|
2330
|
+
if (exisitingMatch) {
|
|
2331
|
+
exisitingMatch.webviewMatches.push(match);
|
|
2332
|
+
} else {
|
|
2333
|
+
matchMap[match.cellId] = ( new CellFindMatchModel(
|
|
2334
|
+
this._notebookViewModel.viewCells.find(cell => cell.id === match.cellId),
|
|
2335
|
+
this._notebookViewModel.viewCells.findIndex(cell => cell.id === match.cellId),
|
|
2336
|
+
[],
|
|
2337
|
+
[match]
|
|
2338
|
+
));
|
|
2339
|
+
}
|
|
2340
|
+
});
|
|
2341
|
+
}
|
|
2342
|
+
const ret = [];
|
|
2343
|
+
this._notebookViewModel.viewCells.forEach((cell, index) => {
|
|
2344
|
+
if (matchMap[cell.id]) {
|
|
2345
|
+
ret.push(( new CellFindMatchModel(
|
|
2346
|
+
cell,
|
|
2347
|
+
index,
|
|
2348
|
+
matchMap[cell.id].contentMatches,
|
|
2349
|
+
matchMap[cell.id].webviewMatches
|
|
2350
|
+
)));
|
|
2351
|
+
}
|
|
2352
|
+
});
|
|
2353
|
+
return ret;
|
|
2354
|
+
}
|
|
2355
|
+
async findHighlightCurrent(matchIndex, ownerID) {
|
|
2356
|
+
if (!this._webview) {
|
|
2357
|
+
return 0;
|
|
2358
|
+
}
|
|
2359
|
+
return this._webview?.findHighlightCurrent(matchIndex, ownerID ?? this.getId());
|
|
2360
|
+
}
|
|
2361
|
+
async findUnHighlightCurrent(matchIndex, ownerID) {
|
|
2362
|
+
if (!this._webview) {
|
|
2363
|
+
return;
|
|
2364
|
+
}
|
|
2365
|
+
return this._webview?.findUnHighlightCurrent(matchIndex, ownerID ?? this.getId());
|
|
2366
|
+
}
|
|
2367
|
+
findStop(ownerID) {
|
|
2368
|
+
this._webview?.findStop(ownerID ?? this.getId());
|
|
2369
|
+
}
|
|
2370
|
+
getLayoutInfo() {
|
|
2371
|
+
if (!this._list) {
|
|
2372
|
+
throw ( new Error("Editor is not initalized successfully"));
|
|
2373
|
+
}
|
|
2374
|
+
if (!this._fontInfo) {
|
|
2375
|
+
this._generateFontInfo();
|
|
2376
|
+
}
|
|
2377
|
+
let listViewOffset = 0;
|
|
2378
|
+
if (this._dimension) {
|
|
2379
|
+
listViewOffset = (this._notebookTopToolbar?.useGlobalToolbar ? 26 : 0) + (this._notebookStickyScroll?.getCurrentStickyHeight() ?? 0);
|
|
2380
|
+
}
|
|
2381
|
+
return {
|
|
2382
|
+
width: this._dimension?.width ?? 0,
|
|
2383
|
+
height: this._dimension?.height ?? 0,
|
|
2384
|
+
scrollHeight: this._list?.getScrollHeight() ?? 0,
|
|
2385
|
+
fontInfo: this._fontInfo,
|
|
2386
|
+
stickyHeight: this._notebookStickyScroll?.getCurrentStickyHeight() ?? 0,
|
|
2387
|
+
listViewOffsetTop: listViewOffset
|
|
2388
|
+
};
|
|
2389
|
+
}
|
|
2390
|
+
async createMarkupPreview(cell) {
|
|
2391
|
+
if (!this._webview) {
|
|
2392
|
+
return;
|
|
2393
|
+
}
|
|
2394
|
+
if (!this._webview.isResolved()) {
|
|
2395
|
+
await this._resolveWebview();
|
|
2396
|
+
}
|
|
2397
|
+
if (!this._webview || !this._list.webviewElement) {
|
|
2398
|
+
return;
|
|
2399
|
+
}
|
|
2400
|
+
if (!this.viewModel || !this._list.viewModel) {
|
|
2401
|
+
return;
|
|
2402
|
+
}
|
|
2403
|
+
if (this.viewModel.getCellIndex(cell) === -1) {
|
|
2404
|
+
return;
|
|
2405
|
+
}
|
|
2406
|
+
if (this.cellIsHidden(cell)) {
|
|
2407
|
+
return;
|
|
2408
|
+
}
|
|
2409
|
+
const webviewTop = parseInt(this._list.webviewElement.domNode.style.top, 10);
|
|
2410
|
+
const top = !!webviewTop ? (0 - webviewTop) : 0;
|
|
2411
|
+
const cellTop = this._list.getCellViewScrollTop(cell);
|
|
2412
|
+
await this._webview.showMarkupPreview({
|
|
2413
|
+
mime: cell.mime,
|
|
2414
|
+
cellHandle: cell.handle,
|
|
2415
|
+
cellId: cell.id,
|
|
2416
|
+
content: cell.getText(),
|
|
2417
|
+
offset: cellTop + top,
|
|
2418
|
+
visible: true,
|
|
2419
|
+
metadata: cell.metadata
|
|
2420
|
+
});
|
|
2421
|
+
}
|
|
2422
|
+
cellIsHidden(cell) {
|
|
2423
|
+
const modelIndex = this.viewModel.getCellIndex(cell);
|
|
2424
|
+
const foldedRanges = this.viewModel.getHiddenRanges();
|
|
2425
|
+
return ( foldedRanges.some(range => modelIndex >= range.start && modelIndex <= range.end));
|
|
2426
|
+
}
|
|
2427
|
+
async unhideMarkupPreviews(cells) {
|
|
2428
|
+
if (!this._webview) {
|
|
2429
|
+
return;
|
|
2430
|
+
}
|
|
2431
|
+
if (!this._webview.isResolved()) {
|
|
2432
|
+
await this._resolveWebview();
|
|
2433
|
+
}
|
|
2434
|
+
await this._webview?.unhideMarkupPreviews(cells.map(cell => cell.id));
|
|
2435
|
+
}
|
|
2436
|
+
async hideMarkupPreviews(cells) {
|
|
2437
|
+
if (!this._webview || !cells.length) {
|
|
2438
|
+
return;
|
|
2439
|
+
}
|
|
2440
|
+
if (!this._webview.isResolved()) {
|
|
2441
|
+
await this._resolveWebview();
|
|
2442
|
+
}
|
|
2443
|
+
await this._webview?.hideMarkupPreviews(cells.map(cell => cell.id));
|
|
2444
|
+
}
|
|
2445
|
+
async deleteMarkupPreviews(cells) {
|
|
2446
|
+
if (!this._webview) {
|
|
2447
|
+
return;
|
|
2448
|
+
}
|
|
2449
|
+
if (!this._webview.isResolved()) {
|
|
2450
|
+
await this._resolveWebview();
|
|
2451
|
+
}
|
|
2452
|
+
await this._webview?.deleteMarkupPreviews(cells.map(cell => cell.id));
|
|
2453
|
+
}
|
|
2454
|
+
async updateSelectedMarkdownPreviews() {
|
|
2455
|
+
if (!this._webview) {
|
|
2456
|
+
return;
|
|
2457
|
+
}
|
|
2458
|
+
if (!this._webview.isResolved()) {
|
|
2459
|
+
await this._resolveWebview();
|
|
2460
|
+
}
|
|
2461
|
+
const selectedCells = this.getSelectionViewModels().map(cell => cell.id);
|
|
2462
|
+
await this._webview?.updateMarkupPreviewSelections(selectedCells.length > 1 ? selectedCells : []);
|
|
2463
|
+
}
|
|
2464
|
+
async createOutput(cell, output, offset, createWhenIdle) {
|
|
2465
|
+
this._insetModifyQueueByOutputId.queue(output.source.model.outputId, async () => {
|
|
2466
|
+
if (this._isDisposed || !this._webview) {
|
|
2467
|
+
return;
|
|
2468
|
+
}
|
|
2469
|
+
if (!this._webview.isResolved()) {
|
|
2470
|
+
await this._resolveWebview();
|
|
2471
|
+
}
|
|
2472
|
+
if (!this._webview) {
|
|
2473
|
+
return;
|
|
2474
|
+
}
|
|
2475
|
+
if (!this._list.webviewElement) {
|
|
2476
|
+
return;
|
|
2477
|
+
}
|
|
2478
|
+
if (output.type === RenderOutputType.Extension) {
|
|
2479
|
+
this.notebookRendererMessaging.prepare(output.renderer.id);
|
|
2480
|
+
}
|
|
2481
|
+
const webviewTop = parseInt(this._list.webviewElement.domNode.style.top, 10);
|
|
2482
|
+
const top = !!webviewTop ? (0 - webviewTop) : 0;
|
|
2483
|
+
const cellTop = this._list.getCellViewScrollTop(cell) + top;
|
|
2484
|
+
const existingOutput = this._webview.insetMapping.get(output.source);
|
|
2485
|
+
if (!existingOutput || (!existingOutput.renderer && output.type === RenderOutputType.Extension)) {
|
|
2486
|
+
if (createWhenIdle) {
|
|
2487
|
+
this._webview.requestCreateOutputWhenWebviewIdle({
|
|
2488
|
+
cellId: cell.id,
|
|
2489
|
+
cellHandle: cell.handle,
|
|
2490
|
+
cellUri: cell.uri,
|
|
2491
|
+
executionId: cell.internalMetadata.executionId
|
|
2492
|
+
}, output, cellTop, offset);
|
|
2493
|
+
} else {
|
|
2494
|
+
this._webview.createOutput({
|
|
2495
|
+
cellId: cell.id,
|
|
2496
|
+
cellHandle: cell.handle,
|
|
2497
|
+
cellUri: cell.uri,
|
|
2498
|
+
executionId: cell.internalMetadata.executionId
|
|
2499
|
+
}, output, cellTop, offset);
|
|
2500
|
+
}
|
|
2501
|
+
} else if (existingOutput.renderer && output.type === RenderOutputType.Extension && existingOutput.renderer.id !== output.renderer.id) {
|
|
2502
|
+
this._webview.removeInsets([output.source]);
|
|
2503
|
+
this._webview.createOutput({
|
|
2504
|
+
cellId: cell.id,
|
|
2505
|
+
cellHandle: cell.handle,
|
|
2506
|
+
cellUri: cell.uri
|
|
2507
|
+
}, output, cellTop, offset);
|
|
2508
|
+
} else if (existingOutput.versionId !== output.source.model.versionId) {
|
|
2509
|
+
this._webview.updateOutput({
|
|
2510
|
+
cellId: cell.id,
|
|
2511
|
+
cellHandle: cell.handle,
|
|
2512
|
+
cellUri: cell.uri,
|
|
2513
|
+
executionId: cell.internalMetadata.executionId
|
|
2514
|
+
}, output, cellTop, offset);
|
|
2515
|
+
} else {
|
|
2516
|
+
const outputIndex = cell.outputsViewModels.indexOf(output.source);
|
|
2517
|
+
const outputOffset = cell.getOutputOffset(outputIndex);
|
|
2518
|
+
this._webview.updateScrollTops([{
|
|
2519
|
+
cell,
|
|
2520
|
+
output: output.source,
|
|
2521
|
+
cellTop,
|
|
2522
|
+
outputOffset,
|
|
2523
|
+
forceDisplay: !cell.isOutputCollapsed
|
|
2524
|
+
}], []);
|
|
2525
|
+
}
|
|
2526
|
+
});
|
|
2527
|
+
}
|
|
2528
|
+
async updateOutput(cell, output, offset) {
|
|
2529
|
+
this._insetModifyQueueByOutputId.queue(output.source.model.outputId, async () => {
|
|
2530
|
+
if (this._isDisposed || !this._webview || cell.isOutputCollapsed) {
|
|
2531
|
+
return;
|
|
2532
|
+
}
|
|
2533
|
+
if (!this._webview.isResolved()) {
|
|
2534
|
+
await this._resolveWebview();
|
|
2535
|
+
}
|
|
2536
|
+
if (!this._webview || !this._list.webviewElement) {
|
|
2537
|
+
return;
|
|
2538
|
+
}
|
|
2539
|
+
if (!( this._webview.insetMapping.has(output.source))) {
|
|
2540
|
+
return this.createOutput(cell, output, offset, false);
|
|
2541
|
+
}
|
|
2542
|
+
if (output.type === RenderOutputType.Extension) {
|
|
2543
|
+
this.notebookRendererMessaging.prepare(output.renderer.id);
|
|
2544
|
+
}
|
|
2545
|
+
const webviewTop = parseInt(this._list.webviewElement.domNode.style.top, 10);
|
|
2546
|
+
const top = !!webviewTop ? (0 - webviewTop) : 0;
|
|
2547
|
+
const cellTop = this._list.getCellViewScrollTop(cell) + top;
|
|
2548
|
+
this._webview.updateOutput({
|
|
2549
|
+
cellId: cell.id,
|
|
2550
|
+
cellHandle: cell.handle,
|
|
2551
|
+
cellUri: cell.uri
|
|
2552
|
+
}, output, cellTop, offset);
|
|
2553
|
+
});
|
|
2554
|
+
}
|
|
2555
|
+
async copyOutputImage(cellOutput) {
|
|
2556
|
+
this._webview?.copyImage(cellOutput);
|
|
2557
|
+
}
|
|
2558
|
+
removeInset(output) {
|
|
2559
|
+
this._insetModifyQueueByOutputId.queue(output.model.outputId, async () => {
|
|
2560
|
+
if (this._isDisposed || !this._webview) {
|
|
2561
|
+
return;
|
|
2562
|
+
}
|
|
2563
|
+
if (this._webview?.isResolved()) {
|
|
2564
|
+
this._webview.removeInsets([output]);
|
|
2565
|
+
}
|
|
2566
|
+
this._onDidRemoveOutput.fire(output);
|
|
2567
|
+
});
|
|
2568
|
+
}
|
|
2569
|
+
hideInset(output) {
|
|
2570
|
+
this._insetModifyQueueByOutputId.queue(output.model.outputId, async () => {
|
|
2571
|
+
if (this._isDisposed || !this._webview) {
|
|
2572
|
+
return;
|
|
2573
|
+
}
|
|
2574
|
+
if (this._webview?.isResolved()) {
|
|
2575
|
+
this._webview.hideInset(output);
|
|
2576
|
+
}
|
|
2577
|
+
});
|
|
2578
|
+
}
|
|
2579
|
+
postMessage(message) {
|
|
2580
|
+
if (this._webview?.isResolved()) {
|
|
2581
|
+
this._webview.postKernelMessage(message);
|
|
2582
|
+
}
|
|
2583
|
+
}
|
|
2584
|
+
addClassName(className) {
|
|
2585
|
+
this._overlayContainer.classList.add(className);
|
|
2586
|
+
}
|
|
2587
|
+
removeClassName(className) {
|
|
2588
|
+
this._overlayContainer.classList.remove(className);
|
|
2589
|
+
}
|
|
2590
|
+
cellAt(index) {
|
|
2591
|
+
return this.viewModel?.cellAt(index);
|
|
2592
|
+
}
|
|
2593
|
+
getCellByInfo(cellInfo) {
|
|
2594
|
+
const {
|
|
2595
|
+
cellHandle
|
|
2596
|
+
} = cellInfo;
|
|
2597
|
+
return this.viewModel?.viewCells.find(vc => vc.handle === cellHandle);
|
|
2598
|
+
}
|
|
2599
|
+
getCellByHandle(handle) {
|
|
2600
|
+
return this.viewModel?.getCellByHandle(handle);
|
|
2601
|
+
}
|
|
2602
|
+
getCellIndex(cell) {
|
|
2603
|
+
return this.viewModel?.getCellIndexByHandle(cell.handle);
|
|
2604
|
+
}
|
|
2605
|
+
getNextVisibleCellIndex(index) {
|
|
2606
|
+
return this.viewModel?.getNextVisibleCellIndex(index);
|
|
2607
|
+
}
|
|
2608
|
+
getPreviousVisibleCellIndex(index) {
|
|
2609
|
+
return this.viewModel?.getPreviousVisibleCellIndex(index);
|
|
2610
|
+
}
|
|
2611
|
+
_updateScrollHeight() {
|
|
2612
|
+
if (this._isDisposed || !this._webview?.isResolved()) {
|
|
2613
|
+
return;
|
|
2614
|
+
}
|
|
2615
|
+
if (!this._list.webviewElement) {
|
|
2616
|
+
return;
|
|
2617
|
+
}
|
|
2618
|
+
const scrollHeight = this._list.scrollHeight;
|
|
2619
|
+
this._webview.element.style.height = `${scrollHeight + NOTEBOOK_WEBVIEW_BOUNDARY * 2}px`;
|
|
2620
|
+
const webviewTop = parseInt(this._list.webviewElement.domNode.style.top, 10);
|
|
2621
|
+
const top = !!webviewTop ? (0 - webviewTop) : 0;
|
|
2622
|
+
const updateItems = [];
|
|
2623
|
+
const removedItems = [];
|
|
2624
|
+
this._webview?.insetMapping.forEach((value, key) => {
|
|
2625
|
+
const cell = this.viewModel?.getCellByHandle(value.cellInfo.cellHandle);
|
|
2626
|
+
if (!cell || !(cell instanceof CodeCellViewModel)) {
|
|
2627
|
+
return;
|
|
2628
|
+
}
|
|
2629
|
+
const viewIndex = this._list.getViewIndex(cell);
|
|
2630
|
+
if (viewIndex === undefined) {
|
|
2631
|
+
return;
|
|
2632
|
+
}
|
|
2633
|
+
const outputIndex = cell.outputsViewModels.indexOf(key);
|
|
2634
|
+
if (outputIndex < 0) {
|
|
2635
|
+
removedItems.push(key);
|
|
2636
|
+
return;
|
|
2637
|
+
}
|
|
2638
|
+
const cellTop = this._list.getCellViewScrollTop(cell);
|
|
2639
|
+
const outputOffset = cell.getOutputOffset(outputIndex);
|
|
2640
|
+
updateItems.push({
|
|
2641
|
+
cell,
|
|
2642
|
+
output: key,
|
|
2643
|
+
cellTop: cellTop + top,
|
|
2644
|
+
outputOffset,
|
|
2645
|
+
forceDisplay: false
|
|
2646
|
+
});
|
|
2647
|
+
});
|
|
2648
|
+
this._webview.removeInsets(removedItems);
|
|
2649
|
+
const markdownUpdateItems = [];
|
|
2650
|
+
for (const cellId of ( this._webview.markupPreviewMapping.keys())) {
|
|
2651
|
+
const cell = this.viewModel?.viewCells.find(cell => cell.id === cellId);
|
|
2652
|
+
if (cell) {
|
|
2653
|
+
const cellTop = this._list.getCellViewScrollTop(cell);
|
|
2654
|
+
markdownUpdateItems.push({
|
|
2655
|
+
id: cellId,
|
|
2656
|
+
top: cellTop + top
|
|
2657
|
+
});
|
|
2658
|
+
}
|
|
2659
|
+
}
|
|
2660
|
+
if (markdownUpdateItems.length || updateItems.length) {
|
|
2661
|
+
this._debug("_list.onDidChangeContentHeight/markdown", markdownUpdateItems);
|
|
2662
|
+
this._webview?.updateScrollTops(updateItems, markdownUpdateItems);
|
|
2663
|
+
}
|
|
2664
|
+
}
|
|
2665
|
+
_updateOutputHeight(cellInfo, output, outputHeight, isInit, source) {
|
|
2666
|
+
const cell = this.viewModel?.viewCells.find(vc => vc.handle === cellInfo.cellHandle);
|
|
2667
|
+
if (cell && cell instanceof CodeCellViewModel) {
|
|
2668
|
+
const outputIndex = cell.outputsViewModels.indexOf(output);
|
|
2669
|
+
if (outputIndex > -1) {
|
|
2670
|
+
this._debug("update cell output", cell.handle, outputHeight);
|
|
2671
|
+
cell.updateOutputHeight(outputIndex, outputHeight, source);
|
|
2672
|
+
this.layoutNotebookCell(cell, cell.layoutInfo.totalHeight);
|
|
2673
|
+
if (isInit) {
|
|
2674
|
+
this._onDidRenderOutput.fire(output);
|
|
2675
|
+
}
|
|
2676
|
+
} else {
|
|
2677
|
+
this._debug("tried to update cell output that does not exist");
|
|
2678
|
+
}
|
|
2679
|
+
}
|
|
2680
|
+
}
|
|
2681
|
+
_scheduleOutputHeightAck(cellInfo, outputId, height) {
|
|
2682
|
+
const wasEmpty = this._pendingOutputHeightAcks.size === 0;
|
|
2683
|
+
this._pendingOutputHeightAcks.set(outputId, {
|
|
2684
|
+
cellId: cellInfo.cellId,
|
|
2685
|
+
outputId,
|
|
2686
|
+
height
|
|
2687
|
+
});
|
|
2688
|
+
if (wasEmpty) {
|
|
2689
|
+
scheduleAtNextAnimationFrame(getWindow(this.getDomNode()), () => {
|
|
2690
|
+
this._debug("ack height");
|
|
2691
|
+
this._updateScrollHeight();
|
|
2692
|
+
this._webview?.ackHeight([...( this._pendingOutputHeightAcks.values())]);
|
|
2693
|
+
this._pendingOutputHeightAcks.clear();
|
|
2694
|
+
}, -1);
|
|
2695
|
+
}
|
|
2696
|
+
}
|
|
2697
|
+
_getCellById(cellId) {
|
|
2698
|
+
return this.viewModel?.viewCells.find(vc => vc.id === cellId);
|
|
2699
|
+
}
|
|
2700
|
+
_updateMarkupCellHeight(cellId, height, isInit) {
|
|
2701
|
+
const cell = this._getCellById(cellId);
|
|
2702
|
+
if (cell && cell instanceof MarkupCellViewModel) {
|
|
2703
|
+
const {
|
|
2704
|
+
bottomToolbarGap
|
|
2705
|
+
} = this._notebookOptions.computeBottomToolbarDimensions(this.viewModel?.viewType);
|
|
2706
|
+
this._debug("updateMarkdownCellHeight", cell.handle, height + bottomToolbarGap, isInit);
|
|
2707
|
+
cell.renderedMarkdownHeight = height;
|
|
2708
|
+
}
|
|
2709
|
+
}
|
|
2710
|
+
_setMarkupCellEditState(cellId, editState) {
|
|
2711
|
+
const cell = this._getCellById(cellId);
|
|
2712
|
+
if (cell instanceof MarkupCellViewModel) {
|
|
2713
|
+
this.revealInView(cell);
|
|
2714
|
+
cell.updateEditState(editState, "setMarkdownCellEditState");
|
|
2715
|
+
}
|
|
2716
|
+
}
|
|
2717
|
+
_didStartDragMarkupCell(cellId, event) {
|
|
2718
|
+
const cell = this._getCellById(cellId);
|
|
2719
|
+
if (cell instanceof MarkupCellViewModel) {
|
|
2720
|
+
const webviewOffset = this._list.webviewElement ? -parseInt(this._list.webviewElement.domNode.style.top, 10) : 0;
|
|
2721
|
+
this._dndController?.startExplicitDrag(cell, event.dragOffsetY - webviewOffset);
|
|
2722
|
+
}
|
|
2723
|
+
}
|
|
2724
|
+
_didDragMarkupCell(cellId, event) {
|
|
2725
|
+
const cell = this._getCellById(cellId);
|
|
2726
|
+
if (cell instanceof MarkupCellViewModel) {
|
|
2727
|
+
const webviewOffset = this._list.webviewElement ? -parseInt(this._list.webviewElement.domNode.style.top, 10) : 0;
|
|
2728
|
+
this._dndController?.explicitDrag(cell, event.dragOffsetY - webviewOffset);
|
|
2729
|
+
}
|
|
2730
|
+
}
|
|
2731
|
+
_didDropMarkupCell(cellId, event) {
|
|
2732
|
+
const cell = this._getCellById(cellId);
|
|
2733
|
+
if (cell instanceof MarkupCellViewModel) {
|
|
2734
|
+
const webviewOffset = this._list.webviewElement ? -parseInt(this._list.webviewElement.domNode.style.top, 10) : 0;
|
|
2735
|
+
event.dragOffsetY -= webviewOffset;
|
|
2736
|
+
this._dndController?.explicitDrop(cell, event);
|
|
2737
|
+
}
|
|
2738
|
+
}
|
|
2739
|
+
_didEndDragMarkupCell(cellId) {
|
|
2740
|
+
const cell = this._getCellById(cellId);
|
|
2741
|
+
if (cell instanceof MarkupCellViewModel) {
|
|
2742
|
+
this._dndController?.endExplicitDrag(cell);
|
|
2743
|
+
}
|
|
2744
|
+
}
|
|
2745
|
+
_didResizeOutput(cellId) {
|
|
2746
|
+
const cell = this._getCellById(cellId);
|
|
2747
|
+
if (cell) {
|
|
2748
|
+
this._onDidResizeOutputEmitter.fire(cell);
|
|
2749
|
+
}
|
|
2750
|
+
}
|
|
2751
|
+
_updatePerformanceMetadata(cellId, executionId, duration, rendererId) {
|
|
2752
|
+
if (!this.hasModel()) {
|
|
2753
|
+
return;
|
|
2754
|
+
}
|
|
2755
|
+
const cell = this._getCellById(cellId);
|
|
2756
|
+
const cellIndex = !cell ? undefined : this.getCellIndex(cell);
|
|
2757
|
+
if (cell?.internalMetadata.executionId === executionId && cellIndex !== undefined) {
|
|
2758
|
+
const renderDurationMap = cell.internalMetadata.renderDuration || {};
|
|
2759
|
+
renderDurationMap[rendererId] = (renderDurationMap[rendererId] ?? 0) + duration;
|
|
2760
|
+
this.textModel.applyEdits([{
|
|
2761
|
+
editType: CellEditType.PartialInternalMetadata,
|
|
2762
|
+
index: cellIndex,
|
|
2763
|
+
internalMetadata: {
|
|
2764
|
+
executionId: executionId,
|
|
2765
|
+
renderDuration: renderDurationMap
|
|
2766
|
+
}
|
|
2767
|
+
}], true, undefined, () => undefined, undefined, false);
|
|
2768
|
+
}
|
|
2769
|
+
}
|
|
2770
|
+
getContribution(id) {
|
|
2771
|
+
return (this._contributions.get(id) || null);
|
|
2772
|
+
}
|
|
2773
|
+
dispose() {
|
|
2774
|
+
this._isDisposed = true;
|
|
2775
|
+
this._webview?.dispose();
|
|
2776
|
+
this._webview = null;
|
|
2777
|
+
this.notebookEditorService.removeNotebookEditor(this);
|
|
2778
|
+
dispose(( this._contributions.values()));
|
|
2779
|
+
this._contributions.clear();
|
|
2780
|
+
this._localStore.clear();
|
|
2781
|
+
dispose(this._localCellStateListeners);
|
|
2782
|
+
this._list.dispose();
|
|
2783
|
+
this._cellLayoutManager?.dispose();
|
|
2784
|
+
this._listTopCellToolbar?.dispose();
|
|
2785
|
+
this._overlayContainer.remove();
|
|
2786
|
+
this.viewModel?.dispose();
|
|
2787
|
+
this._renderedEditors.clear();
|
|
2788
|
+
this._baseCellEditorOptions.forEach(v => v.dispose());
|
|
2789
|
+
this._baseCellEditorOptions.clear();
|
|
2790
|
+
this._notebookOverviewRulerContainer.remove();
|
|
2791
|
+
super.dispose();
|
|
2792
|
+
this._webview = null;
|
|
2793
|
+
this._webviewResolvePromise = null;
|
|
2794
|
+
this._webviewTransparentCover = null;
|
|
2795
|
+
this._dndController = null;
|
|
2796
|
+
this._listTopCellToolbar = null;
|
|
2797
|
+
this._notebookViewModel = undefined;
|
|
2798
|
+
this._cellContextKeyManager = null;
|
|
2799
|
+
this._notebookTopToolbar = null;
|
|
2800
|
+
this._list = null;
|
|
2801
|
+
this._listViewInfoAccessor = null;
|
|
2802
|
+
this._listDelegate = null;
|
|
2803
|
+
}
|
|
2804
|
+
toJSON() {
|
|
2805
|
+
return {
|
|
2806
|
+
notebookUri: this.viewModel?.uri
|
|
2807
|
+
};
|
|
2808
|
+
}
|
|
2809
|
+
};
|
|
2810
|
+
NotebookEditorWidget = ( __decorate([( __param(2, IInstantiationService)), ( __param(3, IEditorGroupsService)), ( __param(4, INotebookRendererMessagingService)), ( __param(5, INotebookEditorService)), ( __param(6, INotebookKernelService)), ( __param(7, INotebookService)), ( __param(8, IConfigurationService)), ( __param(9, IContextKeyService)), ( __param(10, IWorkbenchLayoutService)), ( __param(11, IContextMenuService)), ( __param(12, ITelemetryService)), ( __param(13, INotebookExecutionService)), ( __param(14, IEditorProgressService)), ( __param(15, INotebookLoggingService))], NotebookEditorWidget));
|
|
2811
|
+
registerZIndex(ZIndex.Base, 5, "notebook-progress-bar");
|
|
2812
|
+
registerZIndex(ZIndex.Base, 10, "notebook-list-insertion-indicator");
|
|
2813
|
+
registerZIndex(ZIndex.Base, 20, "notebook-cell-editor-outline");
|
|
2814
|
+
registerZIndex(ZIndex.Base, 25, "notebook-scrollbar");
|
|
2815
|
+
registerZIndex(ZIndex.Base, 26, "notebook-cell-status");
|
|
2816
|
+
registerZIndex(ZIndex.Base, 26, "notebook-folding-indicator");
|
|
2817
|
+
registerZIndex(ZIndex.Base, 27, "notebook-output");
|
|
2818
|
+
registerZIndex(ZIndex.Base, 28, "notebook-cell-bottom-toolbar-container");
|
|
2819
|
+
registerZIndex(ZIndex.Base, 29, "notebook-run-button-container");
|
|
2820
|
+
registerZIndex(ZIndex.Base, 29, "notebook-input-collapse-condicon");
|
|
2821
|
+
registerZIndex(ZIndex.Base, 30, "notebook-cell-output-toolbar");
|
|
2822
|
+
registerZIndex(ZIndex.Sash, 1, "notebook-cell-expand-part-button");
|
|
2823
|
+
registerZIndex(ZIndex.Sash, 2, "notebook-cell-toolbar");
|
|
2824
|
+
registerZIndex(ZIndex.Sash, 3, "notebook-cell-toolbar-dropdown-active");
|
|
2825
|
+
const notebookCellBorder = registerColor("notebook.cellBorderColor", {
|
|
2826
|
+
dark: ( transparent(listInactiveSelectionBackground, 1)),
|
|
2827
|
+
light: ( transparent(listInactiveSelectionBackground, 1)),
|
|
2828
|
+
hcDark: PANEL_BORDER,
|
|
2829
|
+
hcLight: PANEL_BORDER
|
|
2830
|
+
}, ( localize(16860, "The border color for notebook cells.")));
|
|
2831
|
+
registerColor("notebook.focusedEditorBorder", focusBorder, ( localize(16861, "The color of the notebook cell editor border.")));
|
|
2832
|
+
const cellStatusIconSuccess = registerColor(
|
|
2833
|
+
"notebookStatusSuccessIcon.foreground",
|
|
2834
|
+
debugIconStartForeground,
|
|
2835
|
+
( localize(16862, "The error icon color of notebook cells in the cell status bar."))
|
|
2836
|
+
);
|
|
2837
|
+
const runningCellRulerDecorationColor = registerColor(
|
|
2838
|
+
"notebookEditorOverviewRuler.runningCellForeground",
|
|
2839
|
+
debugIconStartForeground,
|
|
2840
|
+
( localize(
|
|
2841
|
+
16863,
|
|
2842
|
+
"The color of the running cell decoration in the notebook editor overview ruler."
|
|
2843
|
+
))
|
|
2844
|
+
);
|
|
2845
|
+
const cellStatusIconError = registerColor("notebookStatusErrorIcon.foreground", errorForeground, ( localize(16864, "The error icon color of notebook cells in the cell status bar.")));
|
|
2846
|
+
registerColor("notebookStatusRunningIcon.foreground", foreground, ( localize(16865, "The running icon color of notebook cells in the cell status bar.")));
|
|
2847
|
+
registerColor("notebook.outputContainerBorderColor", null, ( localize(16866, "The border color of the notebook output container.")));
|
|
2848
|
+
registerColor("notebook.outputContainerBackgroundColor", null, ( localize(16867, "The color of the notebook output container background.")));
|
|
2849
|
+
registerColor("notebook.cellToolbarSeparator", {
|
|
2850
|
+
dark: ( ( Color.fromHex("#808080")).transparent(0.35)),
|
|
2851
|
+
light: ( ( Color.fromHex("#808080")).transparent(0.35)),
|
|
2852
|
+
hcDark: contrastBorder,
|
|
2853
|
+
hcLight: contrastBorder
|
|
2854
|
+
}, ( localize(16868, "The color of the separator in the cell bottom toolbar")));
|
|
2855
|
+
const focusedCellBackground = registerColor("notebook.focusedCellBackground", null, ( localize(16869, "The background color of a cell when the cell is focused.")));
|
|
2856
|
+
registerColor("notebook.selectedCellBackground", {
|
|
2857
|
+
dark: listInactiveSelectionBackground,
|
|
2858
|
+
light: listInactiveSelectionBackground,
|
|
2859
|
+
hcDark: null,
|
|
2860
|
+
hcLight: null
|
|
2861
|
+
}, ( localize(16870, "The background color of a cell when the cell is selected.")));
|
|
2862
|
+
registerColor("notebook.cellHoverBackground", {
|
|
2863
|
+
dark: ( transparent(focusedCellBackground, .5)),
|
|
2864
|
+
light: ( transparent(focusedCellBackground, .7)),
|
|
2865
|
+
hcDark: null,
|
|
2866
|
+
hcLight: null
|
|
2867
|
+
}, ( localize(16871, "The background color of a cell when the cell is hovered.")));
|
|
2868
|
+
registerColor("notebook.selectedCellBorder", {
|
|
2869
|
+
dark: notebookCellBorder,
|
|
2870
|
+
light: notebookCellBorder,
|
|
2871
|
+
hcDark: contrastBorder,
|
|
2872
|
+
hcLight: contrastBorder
|
|
2873
|
+
}, ( localize(
|
|
2874
|
+
16872,
|
|
2875
|
+
"The color of the cell's top and bottom border when the cell is selected but not focused."
|
|
2876
|
+
)));
|
|
2877
|
+
registerColor("notebook.inactiveSelectedCellBorder", {
|
|
2878
|
+
dark: null,
|
|
2879
|
+
light: null,
|
|
2880
|
+
hcDark: focusBorder,
|
|
2881
|
+
hcLight: focusBorder
|
|
2882
|
+
}, ( localize(16873, "The color of the cell's borders when multiple cells are selected.")));
|
|
2883
|
+
registerColor("notebook.focusedCellBorder", focusBorder, ( localize(
|
|
2884
|
+
16874,
|
|
2885
|
+
"The color of the cell's focus indicator borders when the cell is focused."
|
|
2886
|
+
)));
|
|
2887
|
+
registerColor("notebook.inactiveFocusedCellBorder", notebookCellBorder, ( localize(
|
|
2888
|
+
16875,
|
|
2889
|
+
"The color of the cell's top and bottom border when a cell is focused while the primary focus is outside of the editor."
|
|
2890
|
+
)));
|
|
2891
|
+
registerColor("notebook.cellStatusBarItemHoverBackground", {
|
|
2892
|
+
light: ( new Color(( new RGBA(0, 0, 0, 0.08)))),
|
|
2893
|
+
dark: ( new Color(( new RGBA(255, 255, 255, 0.15)))),
|
|
2894
|
+
hcDark: ( new Color(( new RGBA(255, 255, 255, 0.15)))),
|
|
2895
|
+
hcLight: ( new Color(( new RGBA(0, 0, 0, 0.08))))
|
|
2896
|
+
}, ( localize(16876, "The background color of notebook cell status bar items.")));
|
|
2897
|
+
registerColor("notebook.cellInsertionIndicator", focusBorder, ( localize(16877, "The color of the notebook cell insertion indicator.")));
|
|
2898
|
+
registerColor(
|
|
2899
|
+
"notebookScrollbarSlider.background",
|
|
2900
|
+
scrollbarSliderBackground,
|
|
2901
|
+
( localize(16878, "Notebook scrollbar slider background color."))
|
|
2902
|
+
);
|
|
2903
|
+
registerColor(
|
|
2904
|
+
"notebookScrollbarSlider.hoverBackground",
|
|
2905
|
+
scrollbarSliderHoverBackground,
|
|
2906
|
+
( localize(16879, "Notebook scrollbar slider background color when hovering."))
|
|
2907
|
+
);
|
|
2908
|
+
registerColor(
|
|
2909
|
+
"notebookScrollbarSlider.activeBackground",
|
|
2910
|
+
scrollbarSliderActiveBackground,
|
|
2911
|
+
( localize(16880, "Notebook scrollbar slider background color when clicked on."))
|
|
2912
|
+
);
|
|
2913
|
+
registerColor("notebook.symbolHighlightBackground", {
|
|
2914
|
+
dark: ( Color.fromHex("#ffffff0b")),
|
|
2915
|
+
light: ( Color.fromHex("#fdff0033")),
|
|
2916
|
+
hcDark: null,
|
|
2917
|
+
hcLight: null
|
|
2918
|
+
}, ( localize(16881, "Background color of highlighted cell")));
|
|
2919
|
+
registerColor("notebook.cellEditorBackground", {
|
|
2920
|
+
light: SIDE_BAR_BACKGROUND,
|
|
2921
|
+
dark: SIDE_BAR_BACKGROUND,
|
|
2922
|
+
hcDark: null,
|
|
2923
|
+
hcLight: null
|
|
2924
|
+
}, ( localize(16882, "Cell editor background color.")));
|
|
2925
|
+
const notebookEditorBackground = registerColor("notebook.editorBackground", {
|
|
2926
|
+
light: EDITOR_PANE_BACKGROUND,
|
|
2927
|
+
dark: EDITOR_PANE_BACKGROUND,
|
|
2928
|
+
hcDark: null,
|
|
2929
|
+
hcLight: null
|
|
2930
|
+
}, ( localize(16883, "Notebook background color.")));
|
|
2931
|
+
|
|
2932
|
+
export { NotebookEditorWidget, cellStatusIconError, cellStatusIconSuccess, focusedCellBackground, getDefaultNotebookCreationOptions, notebookCellBorder, runningCellRulerDecorationColor };
|