@codingame/monaco-vscode-api 37.1.0 → 37.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/missing-services.js +6 -26
- package/package.json +8 -8
- package/services.d.ts +1 -1
- package/services.js +3 -3
- package/tools.d.ts +4 -0
- package/tools.js +24 -1
- package/vscode/src/vs/platform/product/common/product.js +1 -1
- package/vscode/src/vs/platform/webWorker/browser/webWorkerServiceImpl.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadDocuments.d.ts +63 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadDocuments.js +305 -0
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +1 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +1 -1
- package/vscode/src/vs/workbench/browser/media/code-icon.svg +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatConstants.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatConstants.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginActions.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsBanner.d.ts +30 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsBanner.js +39 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariables.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatImageBuffer.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatImageBuffer.js +29 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.service.d.ts +1 -1
- 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 +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.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 +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginSource.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatParserTypes.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/toolIds.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/toolIds.js +7 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.d.ts +1 -1
- 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.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/AISearch/aiSearchModel.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchModel.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchModelBase.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/folderMatch.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/searchTreeCommon.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +4 -3
- package/vscode/src/vs/workbench/contrib/welcomeAgentSessions/browser/agentSessionsWelcomeInput.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/welcomeAgentSessions/browser/agentSessionsWelcomeInput.js +72 -0
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedInput.d.ts +44 -0
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedInput.js +96 -0
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/media/gettingStarted.css +1148 -0
- package/vscode/src/vs/workbench/contrib/welcomeOnboarding/common/onboardingTypes.d.ts +81 -0
- package/vscode/src/vs/workbench/contrib/welcomeOnboarding/common/onboardingTypes.js +97 -0
- package/vscode/src/vs/workbench/services/extensions/common/extHostCustomers.d.ts +32 -0
- package/vscode/src/vs/workbench/services/extensions/common/extHostCustomers.js +45 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostEnablementService.d.ts +0 -7
- package/vscode/src/vs/platform/agentHost/common/agentHostEnablementService.js +0 -92
- package/vscode/src/vs/platform/layout/browser/zIndexRegistry.d.ts +0 -12
- package/vscode/src/vs/platform/layout/browser/zIndexRegistry.js +0 -64
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.d.ts +0 -262
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.js +0 -865
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables.d.ts +0 -57
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables.js +0 -311
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatVariables.d.ts +0 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatVariables.js +0 -80
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.d.ts +0 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.js +0 -57
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.d.ts +0 -231
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +0 -1850
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.d.ts +0 -109
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.js +0 -85
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService.d.ts +0 -140
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService.js +0 -186
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatDynamicVariablesConstant.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatDynamicVariablesConstant.js +0 -5
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariables.d.ts +0 -46
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariables.js +0 -17
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.d.ts +0 -253
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.js +0 -20
- package/vscode/src/vs/workbench/contrib/chat/common/chatImageExtraction.d.ts +0 -34
- package/vscode/src/vs/workbench/contrib/chat/common/chatImageExtraction.js +0 -194
- package/vscode/src/vs/workbench/contrib/chat/common/chatSelectedModel.d.ts +0 -87
- package/vscode/src/vs/workbench/contrib/chat/common/chatSelectedModel.js +0 -69
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.d.ts +0 -300
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.js +0 -272
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement.d.ts +0 -25
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement.js +0 -178
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.d.ts +0 -78
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.js +0 -51
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/fileBackedInstalledPluginsStore.d.ts +0 -67
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/fileBackedInstalledPluginsStore.js +0 -195
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/marketplaceReference.d.ts +0 -67
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/marketplaceReference.js +0 -294
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.d.ts +0 -212
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.js +0 -955
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/strictKnownMarketplaces.d.ts +0 -31
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/strictKnownMarketplaces.js +0 -122
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts +0 -65
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +0 -697
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/config.d.ts +0 -150
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/config.js +0 -142
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookClaudeCompat.d.ts +0 -50
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookClaudeCompat.js +0 -77
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCompatibility.d.ts +0 -77
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCompatibility.js +0 -120
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCopilotCliCompat.d.ts +0 -10
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCopilotCliCompat.js +0 -23
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/extensionPromptFileService.d.ts +0 -92
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/extensionPromptFileService.js +0 -335
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.d.ts +0 -235
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +0 -1673
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.d.ts +0 -202
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.js +0 -872
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.d.ts +0 -35
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.js +0 -289
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.d.ts +0 -72
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.js +0 -600
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/confirmationTool.d.ts +0 -36
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/confirmationTool.js +0 -239
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/editFileTool.d.ts +0 -22
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/editFileTool.js +0 -143
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.d.ts +0 -24
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.js +0 -298
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/reviewPlanTool.d.ts +0 -25
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/reviewPlanTool.js +0 -177
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.d.ts +0 -73
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +0 -577
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactRulesTool.d.ts +0 -11
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactRulesTool.js +0 -90
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.d.ts +0 -16
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.js +0 -130
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/taskCompleteTool.d.ts +0 -12
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/taskCompleteTool.js +0 -53
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/toolHelpers.d.ts +0 -5
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/toolHelpers.js +0 -12
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/tools.d.ts +0 -10
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/tools.js +0 -92
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.d.ts +0 -38
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +0 -518
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsParametersSchema.d.ts +0 -6
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsParametersSchema.js +0 -231
- package/vscode/src/vs/workbench/contrib/chat/common/tools/terminalToolIds.d.ts +0 -20
- package/vscode/src/vs/workbench/contrib/chat/common/tools/terminalToolIds.js +0 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.d.ts +0 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +0 -283
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.d.ts +0 -91
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +0 -340
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.d.ts +0 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +0 -272
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebook.css +0 -686
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellChat.css +0 -348
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellEditorHint.css +0 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellInsertToolbar.css +0 -92
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellOutput.css +0 -119
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellStatusBar.css +0 -79
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellTitleToolbar.css +0 -61
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookChatEditController.css +0 -55
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookChatEditorOverlay.css +0 -63
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookDnd.css +0 -79
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookEditorStickyScroll.css +0 -63
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookFocusIndicator.css +0 -92
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookFolding.css +0 -79
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookKernelActionViewItem.css +0 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookOutline.css +0 -61
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookToolbar.css +0 -102
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.d.ts +0 -27
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +0 -131
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookCellLayoutManager.d.ts +0 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookCellLayoutManager.js +0 -92
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.d.ts +0 -105
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +0 -673
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorExtensions.d.ts +0 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorExtensions.js +0 -37
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.d.ts +0 -354
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +0 -2926
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.d.ts +0 -29
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +0 -36
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookLogger.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookLogger.js +0 -19
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.d.ts +0 -200
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.js +0 -591
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookViewEvents.d.ts +0 -56
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookViewEvents.js +0 -30
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellPart.d.ts +0 -99
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellPart.js +0 -131
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellActionView.d.ts +0 -30
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellActionView.js +0 -115
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.d.ts +0 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.js +0 -158
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellContextKeys.d.ts +0 -40
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellContextKeys.js +0 -183
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDecorations.d.ts +0 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDecorations.js +0 -66
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDnd.d.ts +0 -52
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDnd.js +0 -429
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDragRenderer.d.ts +0 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDragRenderer.js +0 -108
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.d.ts +0 -36
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +0 -221
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellExecution.d.ts +0 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellExecution.js +0 -142
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocus.d.ts +0 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocus.js +0 -23
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocusIndicator.d.ts +0 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocusIndicator.js +0 -104
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.d.ts +0 -92
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +0 -762
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellProgressBar.d.ts +0 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellProgressBar.js +0 -58
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.d.ts +0 -36
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.js +0 -357
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbarStickyScroll.d.ts +0 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbarStickyScroll.js +0 -32
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.d.ts +0 -47
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.js +0 -260
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellWidgets.d.ts +0 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellWidgets.js +0 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatPart.d.ts +0 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatPart.js +0 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.d.ts +0 -182
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +0 -796
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.d.ts +0 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +0 -79
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.d.ts +0 -30
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +0 -126
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellInput.d.ts +0 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellInput.js +0 -32
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +0 -50
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.d.ts +0 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +0 -119
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.d.ts +0 -57
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +0 -443
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellAnchor.d.ts +0 -20
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellAnchor.js +0 -56
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellEditorPool.d.ts +0 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellEditorPool.js +0 -121
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.d.ts +0 -152
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.js +0 -1288
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellListView.d.ts +0 -59
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellListView.js +0 -287
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookRenderingCommon.d.ts +0 -117
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookRenderingCommon.js +0 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.d.ts +0 -222
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +0 -1840
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.d.ts +0 -63
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +0 -449
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewMessages.d.ts +0 -432
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.d.ts +0 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +0 -2546
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewThemeMapping.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewThemeMapping.js +0 -105
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.d.ts +0 -137
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +0 -646
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellEditorOptions.d.ts +0 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellEditorOptions.js +0 -101
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputTextHelper.d.ts +0 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputTextHelper.js +0 -111
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputViewModel.d.ts +0 -30
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputViewModel.js +0 -65
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellSelectionCollection.d.ts +0 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellSelectionCollection.js +0 -49
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.d.ts +0 -89
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +0 -472
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/eventDispatcher.d.ts +0 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/eventDispatcher.js +0 -34
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/foldingModel.d.ts +0 -33
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/foldingModel.js +0 -275
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.d.ts +0 -69
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.js +0 -269
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.d.ts +0 -125
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +0 -958
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/viewContext.d.ts +0 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/viewContext.js +0 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookCellOverlays.d.ts +0 -20
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookCellOverlays.js +0 -101
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.d.ts +0 -65
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +0 -458
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.d.ts +0 -80
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.js +0 -708
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorWidgetContextKeys.d.ts +0 -37
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorWidgetContextKeys.js +0 -193
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookHorizontalTracker.d.ts +0 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookHorizontalTracker.js +0 -62
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.d.ts +0 -108
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +0 -717
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.d.ts +0 -23
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +0 -183
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookOverviewRuler.d.ts +0 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookOverviewRuler.js +0 -134
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookTopCellToolbar.d.ts +0 -20
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookTopCellToolbar.js +0 -135
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.d.ts +0 -27
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +0 -213
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellOutputTextModel.d.ts +0 -27
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellOutputTextModel.js +0 -104
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellTextModel.d.ts +0 -115
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellTextModel.js +0 -480
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.d.ts +0 -87
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +0 -352
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.d.ts +0 -81
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.js +0 -9
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookPerformance.d.ts +0 -10
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookPerformance.js +0 -19
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { URI } from "../../../../../../base/common/uri.js";
|
|
2
|
-
import { ICustomizationSyncProvider } from "
|
|
2
|
+
import { ICustomizationSyncProvider } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/customizationHarnessService";
|
|
3
3
|
import { IAgentCustomizationScope } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService";
|
|
4
4
|
import { IAgentHostMcpServerSupportScope } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupportScope";
|
|
5
5
|
import { ISyncedCustomizationOrigin } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/syncedCustomizationBundler";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { DisposableStore } from "../../../../../base/common/lifecycle.js";
|
|
2
|
+
import { ICommandService } from "../../../../../platform/commands/common/commands.service.js";
|
|
3
|
+
import { ITelemetryService } from "../../../../../platform/telemetry/common/telemetry.service.js";
|
|
4
|
+
import { IChatEntitlementService } from "../../../../services/chat/common/chatEntitlementService.service.js";
|
|
5
|
+
export interface IAgentsBannerResult {
|
|
6
|
+
readonly element: HTMLElement;
|
|
7
|
+
readonly disposables: DisposableStore;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Returns whether the agents banner can be shown.
|
|
11
|
+
* The banner requires the open agents window command
|
|
12
|
+
* to be registered (desktop builds only) and is limited to Insiders quality.
|
|
13
|
+
* It is also hidden when AI features are disabled.
|
|
14
|
+
*/
|
|
15
|
+
export declare function canShowAgentsBanner(chatEntitlementService: IChatEntitlementService): boolean;
|
|
16
|
+
export interface IAgentsBannerOptions {
|
|
17
|
+
/** Dot-separated CSS classes for the banner container (e.g. 'my-banner' or 'foo.bar'). */
|
|
18
|
+
readonly cssClass: string;
|
|
19
|
+
/** Identifies where the banner is displayed (e.g. 'welcomePage', 'agentSessionsWelcome'). */
|
|
20
|
+
readonly source: string;
|
|
21
|
+
/** Override the default button label. */
|
|
22
|
+
readonly label?: string;
|
|
23
|
+
/** Optional callback invoked when the banner button is clicked. */
|
|
24
|
+
readonly onButtonClick?: () => void;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Creates a banner that promotes the Agents app.
|
|
28
|
+
* The banner contains a button that opens the Agents window.
|
|
29
|
+
*/
|
|
30
|
+
export declare function createAgentsBanner(options: IAgentsBannerOptions, commandService: ICommandService, telemetryService: ITelemetryService): IAgentsBannerResult;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
|
|
2
|
+
import { $, addDisposableListener } from '../../../../../base/browser/dom.js';
|
|
3
|
+
import { DisposableStore } from '../../../../../base/common/lifecycle.js';
|
|
4
|
+
import { localize } from '../../../../../nls.js';
|
|
5
|
+
import { CommandsRegistry } from '../../../../../platform/commands/common/commands.js';
|
|
6
|
+
import { OPEN_WORKSPACE_IN_AGENTS_WINDOW_COMMAND_ID } from '../../common/constants.js';
|
|
7
|
+
import { AgentsWindowOpenSource } from '../../../../../platform/window/common/window.js';
|
|
8
|
+
|
|
9
|
+
function canShowAgentsBanner(chatEntitlementService) {
|
|
10
|
+
const sentiment = chatEntitlementService.sentiment;
|
|
11
|
+
if (sentiment.hidden || sentiment.disabled) {
|
|
12
|
+
return false;
|
|
13
|
+
}
|
|
14
|
+
return !!CommandsRegistry.getCommand(OPEN_WORKSPACE_IN_AGENTS_WINDOW_COMMAND_ID);
|
|
15
|
+
}
|
|
16
|
+
function createAgentsBanner(options, commandService, telemetryService) {
|
|
17
|
+
const disposables = ( new DisposableStore());
|
|
18
|
+
const label = options.label ?? ( localize(6223, "Try out the new Agents window"));
|
|
19
|
+
const button = $("button.agents-banner-button", {
|
|
20
|
+
title: label
|
|
21
|
+
}, $(".codicon.codicon-agent.icon-widget"), $("span.category-title", {}, label));
|
|
22
|
+
disposables.add(addDisposableListener(button, "click", () => {
|
|
23
|
+
options.onButtonClick?.();
|
|
24
|
+
telemetryService.publicLog2("agentsBanner.clicked", {
|
|
25
|
+
source: options.source,
|
|
26
|
+
action: "openAgentsWindow"
|
|
27
|
+
});
|
|
28
|
+
commandService.executeCommand(OPEN_WORKSPACE_IN_AGENTS_WINDOW_COMMAND_ID, {
|
|
29
|
+
source: AgentsWindowOpenSource.Banner
|
|
30
|
+
});
|
|
31
|
+
}));
|
|
32
|
+
const element = $(`.${options.cssClass}`, {}, button);
|
|
33
|
+
return {
|
|
34
|
+
element,
|
|
35
|
+
disposables
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { canShowAgentsBanner, createAgentsBanner };
|
package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsService.service.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Event } from "../../../../../base/common/event.js";
|
|
2
2
|
import { URI } from "../../../../../base/common/uri.js";
|
|
3
|
-
import { IAgentSessionsModel, IAgentSession } from "
|
|
3
|
+
import { IAgentSessionsModel, IAgentSession } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel";
|
|
4
4
|
export declare const IAgentSessionsService: import("../../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IAgentSessionsService>;
|
|
5
5
|
export interface IAgentSessionsService {
|
|
6
6
|
readonly _serviceBrand: undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Event } from "../../../../../../base/common/event.js";
|
|
2
|
-
import { IAgentSession } from "
|
|
2
|
+
import { IAgentSession } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel";
|
|
3
3
|
export interface IAgentSessionProjectionService {
|
|
4
4
|
readonly _serviceBrand: undefined;
|
|
5
5
|
/**
|
|
@@ -10,7 +10,7 @@ import { MenuId } from "../../../../platform/actions/common/actions.js";
|
|
|
10
10
|
import { RawContextKey } from "../../../../platform/contextkey/common/contextkey.js";
|
|
11
11
|
import { IContextKeyService } from "../../../../platform/contextkey/common/contextkey.service.js";
|
|
12
12
|
import { IChatRequestVariableEntry } from "../common/attachments/chatVariableEntries.js";
|
|
13
|
-
import { IDynamicVariable } from "
|
|
13
|
+
import { IDynamicVariable } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/common/attachments/chatVariables";
|
|
14
14
|
import { IChatAgentAttachmentCapabilities, IChatAgentCommand, IChatAgentData } from "../common/participants/chatAgents.js";
|
|
15
15
|
import { IChatResponseModel, IChatModelInputState } from "../common/model/chatModel.js";
|
|
16
16
|
import { IChatMode } from "../common/chatModes.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Event } from "../../../../../../base/common/event.js";
|
|
2
|
-
import { IChatInputNotification, IChatInputNotificationContext, IChatInputNotificationBody } from "
|
|
2
|
+
import { IChatInputNotification, IChatInputNotificationContext, IChatInputNotificationBody } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService";
|
|
3
3
|
export declare const IChatInputNotificationService: import("../../../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IChatInputNotificationService>;
|
|
4
4
|
export interface IChatInputNotificationService {
|
|
5
5
|
readonly _serviceBrand: undefined;
|
|
@@ -8,7 +8,7 @@ import { MarkerSeverity, IMarker } from "../../../../../platform/markers/common/
|
|
|
8
8
|
import type { IFeedbackPullRequest } from "@codingame/monaco-vscode-katex-common/vscode/vs/platform/agentHost/common/meta/agentFeedbackAnnotations";
|
|
9
9
|
import { ISCMHistoryItem } from "../../../scm/common/history.js";
|
|
10
10
|
import { IChatContentReference } from "../chatService/chatService.js";
|
|
11
|
-
import { IChatRequestVariableValue } from "
|
|
11
|
+
import { IChatRequestVariableValue } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/common/attachments/chatVariables";
|
|
12
12
|
import { IToolData, IToolSet } from "../tools/languageModelToolsService.js";
|
|
13
13
|
import type { ILanguageModelChatMetadata } from "../languageModels.js";
|
|
14
14
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { URI } from "../../../../../base/common/uri.js";
|
|
2
2
|
import { ToolAndToolSetEnablementMap } from "../tools/languageModelToolsService.js";
|
|
3
|
-
import { IDynamicVariable } from "
|
|
3
|
+
import { IDynamicVariable } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/common/attachments/chatVariables";
|
|
4
4
|
export declare const IChatVariablesService: import("../../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IChatVariablesService>;
|
|
5
5
|
export interface IChatVariablesService {
|
|
6
6
|
_serviceBrand: undefined;
|
|
@@ -2,7 +2,7 @@ import { CancellationToken } from "../../../../base/common/cancellation.js";
|
|
|
2
2
|
import { Event } from "../../../../base/common/event.js";
|
|
3
3
|
import { IDisposable } from "../../../../base/common/lifecycle.js";
|
|
4
4
|
import { URI } from "../../../../base/common/uri.js";
|
|
5
|
-
import { IChatDebugEvent, ChatDebugLogLevel, IChatDebugLogProvider, IChatDebugResolvedEventContent } from "
|
|
5
|
+
import { IChatDebugEvent, ChatDebugLogLevel, IChatDebugLogProvider, IChatDebugResolvedEventContent } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/chatDebugService";
|
|
6
6
|
export declare const IChatDebugService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IChatDebugService>;
|
|
7
7
|
/**
|
|
8
8
|
* Service for collecting and exposing chat debug events.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function coerceImageBuffer(value: unknown): Uint8Array | undefined;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
function coerceImageBuffer(value) {
|
|
4
|
+
if (value instanceof Uint8Array) {
|
|
5
|
+
return value;
|
|
6
|
+
}
|
|
7
|
+
if (value instanceof ArrayBuffer) {
|
|
8
|
+
return ( new Uint8Array(value));
|
|
9
|
+
}
|
|
10
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
11
|
+
return undefined;
|
|
12
|
+
}
|
|
13
|
+
const record = value;
|
|
14
|
+
const keys = ( Object.keys(record)).sort((a, b) => Number(a) - Number(b));
|
|
15
|
+
if (keys.length === 0) {
|
|
16
|
+
return undefined;
|
|
17
|
+
}
|
|
18
|
+
const result = ( new Uint8Array(keys.length));
|
|
19
|
+
for (let index = 0; index < keys.length; index++) {
|
|
20
|
+
const byte = record[keys[index]];
|
|
21
|
+
if (keys[index] !== String(index) || typeof byte !== "number" || !Number.isInteger(byte) || byte < 0 || byte > 255) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
result[index] = byte;
|
|
25
|
+
}
|
|
26
|
+
return result;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { coerceImageBuffer };
|
|
@@ -16,14 +16,14 @@ import { IAutostartResult } from "../../../mcp/common/mcpTypes.js";
|
|
|
16
16
|
import { ICellEditOperation } from "../../../notebook/common/notebookCommon.js";
|
|
17
17
|
import { IWorkspaceSymbol } from "../../../search/common/search.js";
|
|
18
18
|
import { IChatRequestVariableEntry } from "../attachments/chatVariableEntries.js";
|
|
19
|
-
import { IChatRequestVariableValue } from "
|
|
19
|
+
import { IChatRequestVariableValue } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/common/attachments/chatVariables";
|
|
20
20
|
import { ReadonlyChatSessionOptionsMap } from "../chatSessionsService.js";
|
|
21
21
|
import { ChatAgentLocation, SessionTypeSelectionReason, ChatModeKind } from "../constants.js";
|
|
22
22
|
import { IChatModel, IChatRequestModeInfo, IChatRequestVariableData, IChatResponseModel } from "../model/chatModel.js";
|
|
23
23
|
import { IChatAgentCommand, IChatAgentData, IChatAgentResult, UserSelectedTools } from "../participants/chatAgents.js";
|
|
24
24
|
import { HookTypeValue } from "../promptSyntax/hookTypes.js";
|
|
25
25
|
import { IParsedChatRequest } from "../requestParser/chatParserTypes.js";
|
|
26
|
-
import { IChatParserContext } from "
|
|
26
|
+
import { IChatParserContext } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/common/requestParser/chatRequestParser";
|
|
27
27
|
import { IPreparedToolInvocation, IToolConfirmationMessages, IToolResult, IToolResultInputOutputDetails, ToolDataSource } from "../tools/languageModelToolsService.js";
|
|
28
28
|
import { ConfirmationOptionKind, type McpOAuthClient } from "../../../../../platform/agentHost/common/state/protocol/state.js";
|
|
29
29
|
export interface IChatRequest {
|
package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.service.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { Event } from "../../../../base/common/event.js";
|
|
|
3
3
|
import { IDisposable } from "../../../../base/common/lifecycle.js";
|
|
4
4
|
import { IObservable } from "../../../../base/common/observable.js";
|
|
5
5
|
import { URI } from "../../../../base/common/uri.js";
|
|
6
|
-
import { IHarnessDescriptor } from "
|
|
6
|
+
import { IHarnessDescriptor } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/customizationHarnessService";
|
|
7
7
|
import { IChatPromptSlashCommand, ICustomAgent, IResolvedChatPromptSlashCommand } from "./promptSyntax/service/promptsService.js";
|
|
8
8
|
export declare const ICustomizationHarnessService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ICustomizationHarnessService>;
|
|
9
9
|
/**
|
package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginRepositoryService.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CancellationToken } from "../../../../../base/common/cancellation.js";
|
|
2
|
-
import { MarketplaceType } from "
|
|
2
|
+
import { MarketplaceType } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService";
|
|
3
3
|
/**
|
|
4
4
|
* Options for ensuring a marketplace repository is available locally.
|
|
5
5
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { URI } from "../../../../../base/common/uri.js";
|
|
2
2
|
import { IEnsureRepositoryOptions, IPullRepositoryOptions } from "./agentPluginRepositoryService.js";
|
|
3
|
-
import { IMarketplaceReference } from "
|
|
4
|
-
import { MarketplaceType, IMarketplacePlugin, IPluginSourceDescriptor, PluginSourceKind } from "
|
|
3
|
+
import { IMarketplaceReference } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/plugins/marketplaceReference";
|
|
4
|
+
import { MarketplaceType, IMarketplacePlugin, IPluginSourceDescriptor, PluginSourceKind } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService";
|
|
5
5
|
import { IPluginSource } from "./pluginSource.js";
|
|
6
6
|
export declare const IAgentPluginRepositoryService: import("../../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IAgentPluginRepositoryService>;
|
|
7
7
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IObservable } from "../../../../../base/common/observable.js";
|
|
2
2
|
import { IEnablementModel } from "../enablement.js";
|
|
3
|
-
import { IAgentPlugin } from "
|
|
3
|
+
import { IAgentPlugin } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/plugins/agentPluginService";
|
|
4
4
|
export declare const IAgentPluginService: import("../../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IAgentPluginService>;
|
|
5
5
|
export interface IAgentPluginService {
|
|
6
6
|
readonly _serviceBrand: undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IMarketplacePlugin } from "
|
|
1
|
+
import { IMarketplacePlugin } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService";
|
|
2
2
|
export interface IUpdateAllPluginsOptions {
|
|
3
3
|
/**
|
|
4
4
|
* When `true`, also re-installs npm/pip packages that have no pinned
|
package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginInstallService.service.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CancellationToken } from "../../../../../base/common/cancellation.js";
|
|
2
2
|
import { URI } from "../../../../../base/common/uri.js";
|
|
3
3
|
import { IInstallPluginFromSourceOptions, IInstallPluginFromSourceResult, IUpdateAllPluginsOptions, IUpdateAllPluginsResult } from "./pluginInstallService.js";
|
|
4
|
-
import { IMarketplacePlugin } from "
|
|
4
|
+
import { IMarketplacePlugin } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService";
|
|
5
5
|
export declare const IPluginInstallService: import("../../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IPluginInstallService>;
|
|
6
6
|
export interface IPluginInstallService {
|
|
7
7
|
readonly _serviceBrand: undefined;
|
package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.service.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { CancellationToken } from "../../../../../base/common/cancellation.js";
|
|
|
2
2
|
import { Event } from "../../../../../base/common/event.js";
|
|
3
3
|
import { IObservable } from "../../../../../base/common/observable.js";
|
|
4
4
|
import { URI } from "../../../../../base/common/uri.js";
|
|
5
|
-
import { IMarketplaceReference } from "
|
|
6
|
-
import { IMarketplaceInstalledPlugin, IMarketplacePlugin, IFetchMarketplacePluginsOptions } from "
|
|
5
|
+
import { IMarketplaceReference } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/plugins/marketplaceReference";
|
|
6
|
+
import { IMarketplaceInstalledPlugin, IMarketplacePlugin, IFetchMarketplacePluginsOptions } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService";
|
|
7
7
|
export declare const IPluginMarketplaceService: import("../../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IPluginMarketplaceService>;
|
|
8
8
|
export interface IPluginMarketplaceService {
|
|
9
9
|
readonly _serviceBrand: undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { URI } from "../../../../../base/common/uri.js";
|
|
2
2
|
import { IEnsureRepositoryOptions, IPullRepositoryOptions } from "./agentPluginRepositoryService.js";
|
|
3
|
-
import { IMarketplacePlugin, IPluginSourceDescriptor, PluginSourceKind } from "
|
|
3
|
+
import { IMarketplacePlugin, IPluginSourceDescriptor, PluginSourceKind } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService";
|
|
4
4
|
/**
|
|
5
5
|
* Per-kind strategy that centralizes install-path computation, source
|
|
6
6
|
* provisioning, update, label formatting, and uninstall cleanup for a
|
|
@@ -4,7 +4,7 @@ import { IRange } from "../../../../../editor/common/core/range.js";
|
|
|
4
4
|
import { IChatAgentCommand, IChatAgentData } from "../participants/chatAgents.js";
|
|
5
5
|
import { IChatAgentService } from "../participants/chatAgents.service.js";
|
|
6
6
|
import { IChatSlashData } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/participants/chatSlashCommands";
|
|
7
|
-
import { IChatRequestVariableValue } from "
|
|
7
|
+
import { IChatRequestVariableValue } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/common/attachments/chatVariables";
|
|
8
8
|
import { ChatAgentLocation } from "../constants.js";
|
|
9
9
|
import { IToolData } from "../tools/languageModelToolsService.js";
|
|
10
10
|
import { IChatRequestToolEntry, IChatRequestToolSetEntry, IChatRequestVariableEntry } from "../attachments/chatVariableEntries.js";
|
|
@@ -14,12 +14,12 @@ import { MenuId } from "../../../../platform/actions/common/actions.js";
|
|
|
14
14
|
import { ITextEditorOptions, ITextResourceEditorInput } from "../../../../platform/editor/common/editor.js";
|
|
15
15
|
import { IConstructorSignature } from "../../../../platform/instantiation/common/instantiation.js";
|
|
16
16
|
import { IEditorPane, IEditorPaneWithSelection } from "../../../common/editor.js";
|
|
17
|
-
import { CellViewModelStateChangeEvent, NotebookCellStateChangedEvent, NotebookLayoutInfo } from "
|
|
18
|
-
import { NotebookCellTextModel } from "
|
|
17
|
+
import { CellViewModelStateChangeEvent, NotebookCellStateChangedEvent, NotebookLayoutInfo } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/notebook/browser/notebookViewEvents";
|
|
18
|
+
import { NotebookCellTextModel } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/notebook/common/model/notebookCellTextModel";
|
|
19
19
|
import { NotebookTextModel } from "@codingame/monaco-vscode-notebook-service-override/vscode/vs/workbench/contrib/notebook/common/model/notebookTextModel";
|
|
20
20
|
import { CellKind, ICellOutput, INotebookCellStatusBarItem, INotebookRendererInfo, INotebookFindOptions, IOrderedMimeType, NotebookCellInternalMetadata, NotebookCellMetadata } from "../common/notebookCommon.js";
|
|
21
21
|
import { INotebookKernel } from "../common/notebookKernelService.js";
|
|
22
|
-
import { NotebookOptions } from "
|
|
22
|
+
import { NotebookOptions } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/notebook/browser/notebookOptions";
|
|
23
23
|
import { ICellRange } from "../common/notebookRange.js";
|
|
24
24
|
import { IWebviewElement } from "../../webview/browser/webview.js";
|
|
25
25
|
import { IEditorCommentsOptions, IEditorOptions } from "../../../../editor/common/config/editorOptions.js";
|
package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { URI } from "../../../../../base/common/uri.js";
|
|
|
5
5
|
import { ICodeEditor } from "../../../../../editor/browser/editorBrowser.js";
|
|
6
6
|
import { type ServicesAccessor } from "../../../../../platform/instantiation/common/instantiation.js";
|
|
7
7
|
import { INotebookEditorCreationOptions, INotebookEditor } from "../notebookBrowser.js";
|
|
8
|
-
import { NotebookEditorWidget } from "
|
|
8
|
+
import { NotebookEditorWidget } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorWidget";
|
|
9
9
|
import { IBorrowValue } from "./notebookEditorService.js";
|
|
10
10
|
export declare const INotebookEditorService: import("../../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<INotebookEditorService>;
|
|
11
11
|
export interface INotebookEditorService {
|
|
@@ -18,7 +18,7 @@ import { IFileReadLimits } from "../../../../platform/files/common/files.js";
|
|
|
18
18
|
import { UndoRedoGroup } from "../../../../platform/undoRedo/common/undoRedo.js";
|
|
19
19
|
import { IRevertOptions, ISaveOptions, IUntypedEditorInput } from "../../../common/editor.js";
|
|
20
20
|
import { NotebookTextModel } from "@codingame/monaco-vscode-notebook-service-override/vscode/vs/workbench/contrib/notebook/common/model/notebookTextModel";
|
|
21
|
-
import { ICellExecutionError } from "
|
|
21
|
+
import { ICellExecutionError } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService";
|
|
22
22
|
import { INotebookTextModelLike } from "./notebookKernelService.js";
|
|
23
23
|
import { ICellRange } from "./notebookRange.js";
|
|
24
24
|
import { RegisteredEditorPriority } from "../../../services/editor/common/editorResolverService.js";
|
|
@@ -12,7 +12,7 @@ import { IFileService } from "../../../../platform/files/common/files.service.js
|
|
|
12
12
|
import { AbstractResourceEditorInput } from "../../../common/editor/resourceEditorInput.js";
|
|
13
13
|
import { IResourceEditorInput } from "../../../../platform/editor/common/editor.js";
|
|
14
14
|
import { IWorkingCopyIdentifier } from "../../../services/workingCopy/common/workingCopy.js";
|
|
15
|
-
import { NotebookPerfMarks } from "
|
|
15
|
+
import { NotebookPerfMarks } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/notebook/common/notebookPerformance";
|
|
16
16
|
import { IFilesConfigurationService } from "../../../services/filesConfiguration/common/filesConfigurationService.service.js";
|
|
17
17
|
import { IExtensionService } from "../../../services/extensions/common/extensions.service.js";
|
|
18
18
|
import { IEditorService } from "../../../services/editor/common/editorService.service.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IOutputDto, IOutputItemDto } from "./notebookCommon.js";
|
|
2
|
-
import { INotebookCellExecution } from "
|
|
2
|
+
import { INotebookCellExecution } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService";
|
|
3
3
|
export declare enum CellExecutionUpdateType {
|
|
4
4
|
Output = 1,
|
|
5
5
|
OutputItems = 2,
|
package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.service.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IDisposable } from "../../../../base/common/lifecycle.js";
|
|
2
2
|
import { IContextKeyService } from "../../../../platform/contextkey/common/contextkey.service.js";
|
|
3
|
-
import { NotebookCellTextModel } from "
|
|
3
|
+
import { NotebookCellTextModel } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/notebook/common/model/notebookCellTextModel";
|
|
4
4
|
import { INotebookTextModel } from "./notebookCommon.js";
|
|
5
5
|
import { ICellExecutionParticipant } from "./notebookExecutionService.js";
|
|
6
6
|
export declare const INotebookExecutionService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<INotebookExecutionService>;
|
package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Event } from "../../../../base/common/event.js";
|
|
2
2
|
import { URI } from "../../../../base/common/uri.js";
|
|
3
|
-
import { ICellExecutionStateChangedEvent, IExecutionStateChangedEvent, INotebookFailStateChangedEvent, INotebookCellExecution, INotebookExecution } from "
|
|
3
|
+
import { ICellExecutionStateChangedEvent, IExecutionStateChangedEvent, INotebookFailStateChangedEvent, INotebookCellExecution, INotebookExecution } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService";
|
|
4
4
|
export declare const INotebookExecutionStateService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<INotebookExecutionStateService>;
|
|
5
5
|
export interface INotebookExecutionStateService {
|
|
6
6
|
_serviceBrand: undefined;
|
|
@@ -5,7 +5,7 @@ import { IDisposable } from "../../../../base/common/lifecycle.js";
|
|
|
5
5
|
import { URI } from "../../../../base/common/uri.js";
|
|
6
6
|
import { ConfigurationTarget } from "../../../../platform/configuration/common/configuration.js";
|
|
7
7
|
import { SnapshotContext } from "../../../services/workingCopy/common/fileWorkingCopy.js";
|
|
8
|
-
import { NotebookCellTextModel } from "
|
|
8
|
+
import { NotebookCellTextModel } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/notebook/common/model/notebookCellTextModel";
|
|
9
9
|
import { NotebookTextModel } from "@codingame/monaco-vscode-notebook-service-override/vscode/vs/workbench/contrib/notebook/common/model/notebookTextModel";
|
|
10
10
|
import { NotebookExtensionDescription, IOutputDto, IOrderedMimeType, INotebookRendererInfo, INotebookStaticPreloadInfo, INotebookContributionData } from "./notebookCommon.js";
|
|
11
11
|
import { NotebookProviderInfo } from "@codingame/monaco-vscode-notebook-service-override/vscode/vs/workbench/contrib/notebook/common/notebookProvider";
|
|
@@ -6,7 +6,7 @@ import { IInstantiationService } from "../../../../../platform/instantiation/com
|
|
|
6
6
|
import { ILabelService } from "../../../../../platform/label/common/label.service.js";
|
|
7
7
|
import { IUriIdentityService } from "../../../../../platform/uriIdentity/common/uriIdentity.service.js";
|
|
8
8
|
import { IAITextQuery, IFileMatch } from "../../../../services/search/common/search.js";
|
|
9
|
-
import { NotebookEditorWidget } from "
|
|
9
|
+
import { NotebookEditorWidget } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorWidget";
|
|
10
10
|
import { FileMatchImpl } from "../searchTreeModel/fileMatch.js";
|
|
11
11
|
import { ISearchResult, ISearchTreeFolderMatchWorkspaceRoot, ISearchTreeFolderMatch, ISearchTreeFolderMatchWithResource, ITextSearchHeading, IChangeEvent, ISearchModel, ISearchTreeFileMatch } from "../searchTreeModel/searchTreeCommon.js";
|
|
12
12
|
import { TextSearchHeadingImpl } from "../searchTreeModel/textSearchHeading.js";
|
package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchModel.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { IModelService } from "../../../../../editor/common/services/model.servi
|
|
|
2
2
|
import { ILabelService } from "../../../../../platform/label/common/label.service.js";
|
|
3
3
|
import { ISearchRange, ITextSearchMatch, IPatternInfo, ITextSearchPreviewOptions, IFileMatch } from "../../../../services/search/common/search.js";
|
|
4
4
|
import { ICellViewModel } from "../../../notebook/browser/notebookBrowser.js";
|
|
5
|
-
import { NotebookEditorWidget } from "
|
|
5
|
+
import { NotebookEditorWidget } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorWidget";
|
|
6
6
|
import { INotebookEditorService } from "../../../notebook/browser/services/notebookEditorService.service.js";
|
|
7
7
|
import { INotebookCellMatchNoModel } from "../../common/searchNotebookHelpers.js";
|
|
8
8
|
import { INotebookCellMatchWithModel } from "./searchNotebookHelpers.js";
|
package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchModelBase.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ITextSearchMatch } from "../../../../services/search/common/search.js";
|
|
2
2
|
import { ICellViewModel } from "../../../notebook/browser/notebookBrowser.js";
|
|
3
|
-
import { NotebookEditorWidget } from "
|
|
3
|
+
import { NotebookEditorWidget } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorWidget";
|
|
4
4
|
import { INotebookCellMatchNoModel } from "../../common/searchNotebookHelpers.js";
|
|
5
5
|
import { ISearchTreeFileMatch, ISearchTreeMatch } from "../searchTreeModel/searchTreeCommon.js";
|
|
6
6
|
import { INotebookCellMatchWithModel } from "./searchNotebookHelpers.js";
|
|
@@ -12,7 +12,7 @@ import { IReplaceService } from "../replace.service.js";
|
|
|
12
12
|
import { IFileMatch, ITextQuery } from "../../../../services/search/common/search.js";
|
|
13
13
|
import { FileMatchImpl } from "./fileMatch.js";
|
|
14
14
|
import { IChangeEvent, ISearchTreeFileMatch, ISearchTreeFolderMatch, ISearchTreeFolderMatchWithResource, ISearchTreeFolderMatchNoRoot, ISearchTreeFolderMatchWorkspaceRoot, ISearchModel, ISearchResult, ITextSearchHeading } from "./searchTreeCommon.js";
|
|
15
|
-
import { NotebookEditorWidget } from "
|
|
15
|
+
import { NotebookEditorWidget } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorWidget";
|
|
16
16
|
export declare class FolderMatchImpl extends Disposable implements ISearchTreeFolderMatch {
|
|
17
17
|
protected _resource: URI | null;
|
|
18
18
|
protected _index: number;
|
package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/searchTreeCommon.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { IFileStatWithPartialMetadata } from "../../../../../platform/files/comm
|
|
|
7
7
|
import { IFileService } from "../../../../../platform/files/common/files.service.js";
|
|
8
8
|
import { IProgress, IProgressStep } from "../../../../../platform/progress/common/progress.js";
|
|
9
9
|
import { ReplacePattern } from "@codingame/monaco-vscode-search-service-override/vscode/vs/workbench/services/search/common/replace";
|
|
10
|
-
import { NotebookEditorWidget } from "
|
|
10
|
+
import { NotebookEditorWidget } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorWidget";
|
|
11
11
|
import { RangeHighlightDecorations } from "./rangeDecorations.js";
|
|
12
12
|
import { Event } from "../../../../../base/common/event.js";
|
|
13
13
|
export type FileMatchOrMatch = ISearchTreeFileMatch | ISearchTreeMatch;
|
|
@@ -52,7 +52,7 @@ import { ResourceLabels } from '../../../browser/labels.js';
|
|
|
52
52
|
import { ViewPane } from '../../../browser/parts/views/viewPane.js';
|
|
53
53
|
import { Memento } from '../../../common/memento.js';
|
|
54
54
|
import { IViewDescriptorService } from '../../../common/views.service.js';
|
|
55
|
-
import {
|
|
55
|
+
import { NOTEBOOK_EDITOR_ID } from '../../notebook/common/notebookCommon.js';
|
|
56
56
|
import { IncludePatternInputWidget, ExcludePatternInputWidget } from './patternInputWidget.js';
|
|
57
57
|
import { searchDetailsIcon } from './searchIcons.js';
|
|
58
58
|
import { renderSearchMessage } from './searchMessage.js';
|
|
@@ -2145,13 +2145,14 @@ let SearchView = class SearchView extends ViewPane {
|
|
|
2145
2145
|
onUnexpectedError(err);
|
|
2146
2146
|
return;
|
|
2147
2147
|
}
|
|
2148
|
-
if (editor
|
|
2148
|
+
if (editor?.getId() === NOTEBOOK_EDITOR_ID) {
|
|
2149
|
+
const notebookEditor = editor;
|
|
2149
2150
|
const elemParent = element.parent();
|
|
2150
2151
|
if (isSearchTreeMatch(element)) {
|
|
2151
2152
|
if (isIMatchInNotebook(element)) {
|
|
2152
2153
|
element.parent().showMatch(element);
|
|
2153
2154
|
} else {
|
|
2154
|
-
const editorWidget =
|
|
2155
|
+
const editorWidget = notebookEditor.getControl();
|
|
2155
2156
|
if (editorWidget) {
|
|
2156
2157
|
elemParent.bindNotebookEditorWidget(editorWidget);
|
|
2157
2158
|
await elemParent.updateMatchesForEditorWidget();
|
package/vscode/src/vs/workbench/contrib/welcomeAgentSessions/browser/agentSessionsWelcomeInput.d.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EditorInput } from "../../../common/editor/editorInput.js";
|
|
2
|
+
import { URI } from "../../../../base/common/uri.js";
|
|
3
|
+
import { IUntypedEditorInput } from "../../../common/editor.js";
|
|
4
|
+
import { IEditorOptions } from "../../../../platform/editor/common/editor.js";
|
|
5
|
+
export declare const agentSessionsWelcomeInputTypeId = "workbench.editors.agentSessionsWelcomeInput";
|
|
6
|
+
export declare const agentSessionsWelcomeCommandId = "workbench.action.openAgentSessionsWelcome";
|
|
7
|
+
export type AgentSessionsWelcomeInitiator = "startup" | "command";
|
|
8
|
+
export type AgentSessionsWelcomeWorkspaceKind = "empty" | "folder" | "workspace";
|
|
9
|
+
export interface AgentSessionsWelcomeEditorOptions extends IEditorOptions {
|
|
10
|
+
showTelemetryNotice?: boolean;
|
|
11
|
+
initiator?: AgentSessionsWelcomeInitiator;
|
|
12
|
+
workspaceKind?: AgentSessionsWelcomeWorkspaceKind;
|
|
13
|
+
}
|
|
14
|
+
export declare class AgentSessionsWelcomeInput extends EditorInput {
|
|
15
|
+
static readonly ID = "workbench.editors.agentSessionsWelcomeInput";
|
|
16
|
+
static readonly RESOURCE: URI;
|
|
17
|
+
private _showTelemetryNotice;
|
|
18
|
+
private _initiator;
|
|
19
|
+
private _workspaceKind?;
|
|
20
|
+
get typeId(): string;
|
|
21
|
+
get editorId(): string | undefined;
|
|
22
|
+
toUntyped(): IUntypedEditorInput;
|
|
23
|
+
get resource(): URI | undefined;
|
|
24
|
+
matches(other: EditorInput | IUntypedEditorInput): boolean;
|
|
25
|
+
constructor(options?: AgentSessionsWelcomeEditorOptions);
|
|
26
|
+
getName(): string;
|
|
27
|
+
get showTelemetryNotice(): boolean;
|
|
28
|
+
set showTelemetryNotice(value: boolean);
|
|
29
|
+
get initiator(): AgentSessionsWelcomeInitiator;
|
|
30
|
+
get workspaceKind(): AgentSessionsWelcomeWorkspaceKind | undefined;
|
|
31
|
+
getTelemetryDescriptor(): {
|
|
32
|
+
[key: string]: unknown;
|
|
33
|
+
};
|
|
34
|
+
}
|
package/vscode/src/vs/workbench/contrib/welcomeAgentSessions/browser/agentSessionsWelcomeInput.js
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
|
|
2
|
+
import { localize } from '../../../../nls.js';
|
|
3
|
+
import { EditorInput } from '../../../common/editor/editorInput.js';
|
|
4
|
+
import { URI } from '../../../../base/common/uri.js';
|
|
5
|
+
import { Schemas } from '../../../../base/common/network.js';
|
|
6
|
+
|
|
7
|
+
const agentSessionsWelcomeInputTypeId = "workbench.editors.agentSessionsWelcomeInput";
|
|
8
|
+
const agentSessionsWelcomeCommandId = "workbench.action.openAgentSessionsWelcome";
|
|
9
|
+
class AgentSessionsWelcomeInput extends EditorInput {
|
|
10
|
+
static {
|
|
11
|
+
this.ID = agentSessionsWelcomeInputTypeId;
|
|
12
|
+
}
|
|
13
|
+
static {
|
|
14
|
+
this.RESOURCE = ( URI.from({
|
|
15
|
+
scheme: Schemas.walkThrough,
|
|
16
|
+
authority: "vscode_agent_sessions_welcome"
|
|
17
|
+
}));
|
|
18
|
+
}
|
|
19
|
+
get typeId() {
|
|
20
|
+
return AgentSessionsWelcomeInput.ID;
|
|
21
|
+
}
|
|
22
|
+
get editorId() {
|
|
23
|
+
return this.typeId;
|
|
24
|
+
}
|
|
25
|
+
toUntyped() {
|
|
26
|
+
return {
|
|
27
|
+
resource: AgentSessionsWelcomeInput.RESOURCE,
|
|
28
|
+
options: {
|
|
29
|
+
override: AgentSessionsWelcomeInput.ID,
|
|
30
|
+
pinned: false
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
get resource() {
|
|
35
|
+
return AgentSessionsWelcomeInput.RESOURCE;
|
|
36
|
+
}
|
|
37
|
+
matches(other) {
|
|
38
|
+
if (super.matches(other)) {
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
return other instanceof AgentSessionsWelcomeInput;
|
|
42
|
+
}
|
|
43
|
+
constructor(options = {}) {
|
|
44
|
+
super();
|
|
45
|
+
this._showTelemetryNotice = !!options.showTelemetryNotice;
|
|
46
|
+
this._initiator = options.initiator ?? "command";
|
|
47
|
+
this._workspaceKind = options.workspaceKind;
|
|
48
|
+
}
|
|
49
|
+
getName() {
|
|
50
|
+
return localize(18768, "Welcome");
|
|
51
|
+
}
|
|
52
|
+
get showTelemetryNotice() {
|
|
53
|
+
return this._showTelemetryNotice;
|
|
54
|
+
}
|
|
55
|
+
set showTelemetryNotice(value) {
|
|
56
|
+
this._showTelemetryNotice = value;
|
|
57
|
+
}
|
|
58
|
+
get initiator() {
|
|
59
|
+
return this._initiator;
|
|
60
|
+
}
|
|
61
|
+
get workspaceKind() {
|
|
62
|
+
return this._workspaceKind;
|
|
63
|
+
}
|
|
64
|
+
getTelemetryDescriptor() {
|
|
65
|
+
const descriptor = super.getTelemetryDescriptor();
|
|
66
|
+
descriptor["initiator"] = this._initiator;
|
|
67
|
+
descriptor["workspaceKind"] = this._workspaceKind;
|
|
68
|
+
return descriptor;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export { AgentSessionsWelcomeInput, agentSessionsWelcomeCommandId, agentSessionsWelcomeInputTypeId };
|