@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
package/missing-services.js
CHANGED
|
@@ -359,7 +359,7 @@ import { IInlineCompletionsUnificationService } from './vscode/src/vs/workbench/
|
|
|
359
359
|
import { IUserAttentionService } from './vscode/src/vs/workbench/services/userAttention/common/userAttentionService.service.js';
|
|
360
360
|
import { IWorkspaceFolderLabelService } from './vscode/src/vs/workbench/services/workspaces/common/workspaceFolderLabelService.service.js';
|
|
361
361
|
import { getBuiltInExtensionTranslationsUris, getExtensionIdProvidingCurrentLocale } from './l10n.js';
|
|
362
|
-
import { unsupported } from './tools.js';
|
|
362
|
+
import { unsupported, Unsupported } from './tools.js';
|
|
363
363
|
import { NullAgentHostService } from './vscode/src/vs/platform/agentHost/browser/nullAgentHostService.js';
|
|
364
364
|
import { NullSSHRemoteAgentHostService } from './vscode/src/vs/platform/agentHost/browser/nullSshRemoteAgentHostService.js';
|
|
365
365
|
import { IAgentHostConnectionsService } from './vscode/src/vs/platform/agentHost/common/agentHostConnectionsService.service.js';
|
|
@@ -386,7 +386,6 @@ import { IChatInputNotificationService } from './vscode/src/vs/workbench/contrib
|
|
|
386
386
|
import { IChatPhoneInputPresenter } from './vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatPhoneInputPresenter.service.js';
|
|
387
387
|
import { IChatImageCarouselService } from './vscode/src/vs/workbench/contrib/chat/browser/chatImageCarouselService.service.js';
|
|
388
388
|
import { IChatDebugService } from './vscode/src/vs/workbench/contrib/chat/common/chatDebugService.service.js';
|
|
389
|
-
import { createVSCodeHarnessDescriptor } from './vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.js';
|
|
390
389
|
import { ICustomizationHarnessService } from './vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.service.js';
|
|
391
390
|
import { IPluginGitService } from './vscode/src/vs/workbench/contrib/chat/common/plugins/pluginGitService.service.js';
|
|
392
391
|
import { IPluginInstallService } from './vscode/src/vs/workbench/contrib/chat/common/plugins/pluginInstallService.service.js';
|
|
@@ -427,29 +426,6 @@ import { IGitHubService } from './vscode/src/vs/platform/github/common/githubSer
|
|
|
427
426
|
import { constObservable } from './vscode/src/vs/base/common/observableInternal/observables/constObservable.js';
|
|
428
427
|
import { FileSystemProviderCapabilities } from './vscode/src/vs/platform/files/common/files.js';
|
|
429
428
|
|
|
430
|
-
function Unsupported(target, propertyKey, descriptor) {
|
|
431
|
-
function unsupported() {
|
|
432
|
-
throw new Error(`Unsupported: ${target.constructor.name}.${propertyKey} is not supported. You are using a feature without registering the corresponding service override.`);
|
|
433
|
-
}
|
|
434
|
-
if (descriptor != null) {
|
|
435
|
-
if (descriptor.value != null) {
|
|
436
|
-
descriptor.value = unsupported;
|
|
437
|
-
}
|
|
438
|
-
else if (descriptor.get != null) {
|
|
439
|
-
descriptor.get = unsupported;
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
|
-
else {
|
|
443
|
-
Object.defineProperty(target, propertyKey, {
|
|
444
|
-
get() {
|
|
445
|
-
unsupported();
|
|
446
|
-
},
|
|
447
|
-
set() { },
|
|
448
|
-
configurable: true,
|
|
449
|
-
enumerable: true
|
|
450
|
-
});
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
429
|
registerSingleton(ILanguageConfigurationService, LanguageConfigurationService, InstantiationType.Delayed);
|
|
454
430
|
registerSingleton(ISemanticTokensStylingService, SemanticTokensStylingService, InstantiationType.Delayed);
|
|
455
431
|
registerSingleton(ILanguageFeatureDebounceService, LanguageFeatureDebounceService, InstantiationType.Delayed);
|
|
@@ -8654,7 +8630,11 @@ class CustomizationHarnessService {
|
|
|
8654
8630
|
this.activeSessionResource = constObservable(URI.parse('chat-session://local/default'));
|
|
8655
8631
|
this.activeHarness = constObservable(SessionType.Local);
|
|
8656
8632
|
this.availableHarnesses = constObservable([
|
|
8657
|
-
|
|
8633
|
+
{
|
|
8634
|
+
id: SessionType.Local,
|
|
8635
|
+
label: 'Local',
|
|
8636
|
+
icon: Codicon.vm
|
|
8637
|
+
}
|
|
8658
8638
|
]);
|
|
8659
8639
|
this.onDidChangeSlashCommands = Event.None;
|
|
8660
8640
|
this.onDidChangeCustomAgents = Event.None;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-api",
|
|
3
|
-
"version": "37.
|
|
3
|
+
"version": "37.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-base-service-override": "37.
|
|
19
|
-
"@codingame/monaco-vscode-environment-service-override": "37.
|
|
20
|
-
"@codingame/monaco-vscode-extensions-service-override": "37.
|
|
21
|
-
"@codingame/monaco-vscode-files-service-override": "37.
|
|
22
|
-
"@codingame/monaco-vscode-host-service-override": "37.
|
|
23
|
-
"@codingame/monaco-vscode-layout-service-override": "37.
|
|
24
|
-
"@codingame/monaco-vscode-quickaccess-service-override": "37.
|
|
18
|
+
"@codingame/monaco-vscode-base-service-override": "37.2.0",
|
|
19
|
+
"@codingame/monaco-vscode-environment-service-override": "37.2.0",
|
|
20
|
+
"@codingame/monaco-vscode-extensions-service-override": "37.2.0",
|
|
21
|
+
"@codingame/monaco-vscode-files-service-override": "37.2.0",
|
|
22
|
+
"@codingame/monaco-vscode-host-service-override": "37.2.0",
|
|
23
|
+
"@codingame/monaco-vscode-layout-service-override": "37.2.0",
|
|
24
|
+
"@codingame/monaco-vscode-quickaccess-service-override": "37.2.0",
|
|
25
25
|
"@vscode/diff": "0.0.2-7",
|
|
26
26
|
"@vscode/iconv-lite-umd": "0.7.1",
|
|
27
27
|
"dompurify": "3.4.15",
|
package/services.d.ts
CHANGED
|
@@ -337,7 +337,7 @@ export { IRandomService } from "./vscode/src/vs/workbench/contrib/editTelemetry/
|
|
|
337
337
|
export { ISCMRepositorySelectionMode } from "./vscode/src/vs/workbench/contrib/scm/common/scm.js";
|
|
338
338
|
export { IAgentSessionsService } from "./vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsService.service.js";
|
|
339
339
|
export { IUserAttentionService } from "./vscode/src/vs/workbench/services/userAttention/common/userAttentionService.service.js";
|
|
340
|
-
export type { IAgentSessionsModel } from "
|
|
340
|
+
export type { IAgentSessionsModel } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel";
|
|
341
341
|
export { ICodeCompareModelService } from "./vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTextEditContentPart.service.js";
|
|
342
342
|
export { IUserInteractionService } from "./vscode/src/vs/platform/userInteraction/browser/userInteractionService.service.js";
|
|
343
343
|
export { IMeteredConnectionService } from "./vscode/src/vs/platform/meteredConnection/common/meteredConnection.service.js";
|
package/services.js
CHANGED
|
@@ -488,10 +488,10 @@ export { IAgentHostCustomizationService } from './vscode/src/vs/workbench/contri
|
|
|
488
488
|
export { IAgentHostActiveClientService } from './vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.service.js';
|
|
489
489
|
export { IAgentEditorCommentsBridge } from './vscode/src/vs/workbench/services/agentEditorComments/common/agentEditorComments.service.js';
|
|
490
490
|
|
|
491
|
-
if (window.monacoVscodeApiBuildId != null && window.monacoVscodeApiBuildId !== "1.138.0-
|
|
492
|
-
throw new Error(`Another version of monaco-vscode-api has already been loaded. Trying to load ${"1.138.0-
|
|
491
|
+
if (window.monacoVscodeApiBuildId != null && window.monacoVscodeApiBuildId !== "1.138.0-d853a6a1-6dd9-4db1-8ad1-f4a0fea198b7") {
|
|
492
|
+
throw new Error(`Another version of monaco-vscode-api has already been loaded. Trying to load ${"1.138.0-d853a6a1-6dd9-4db1-8ad1-f4a0fea198b7"}, ${window.monacoVscodeApiBuildId} is already loaded`);
|
|
493
493
|
}
|
|
494
|
-
window.monacoVscodeApiBuildId = "1.138.0-
|
|
494
|
+
window.monacoVscodeApiBuildId = "1.138.0-d853a6a1-6dd9-4db1-8ad1-f4a0fea198b7";
|
|
495
495
|
function registerCommands(options) {
|
|
496
496
|
function asMenuId(menu) {
|
|
497
497
|
switch (menu) {
|
package/tools.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
export declare function unsupported(): never;
|
|
2
2
|
export declare const noop: () => void;
|
|
3
|
+
/**
|
|
4
|
+
* Makes a property, method or getter of a missing implementation throw an explicit error
|
|
5
|
+
*/
|
|
6
|
+
export declare function Unsupported(target: object, propertyKey: string, descriptor?: PropertyDescriptor): void;
|
|
3
7
|
export declare function memoized<A extends unknown[], T>(fct: (...args: A) => T): (...args: A) => T;
|
|
4
8
|
export declare function memoizedConstructor<T>(ctor: new (...args: any[]) => T): new (...args: unknown[]) => T;
|
|
5
9
|
export declare function sleep(duration: number): Promise<void>;
|
package/tools.js
CHANGED
|
@@ -4,6 +4,29 @@ function unsupported() {
|
|
|
4
4
|
throw new Error('unsupported');
|
|
5
5
|
}
|
|
6
6
|
const noop = () => { };
|
|
7
|
+
function Unsupported(target, propertyKey, descriptor) {
|
|
8
|
+
function unsupported() {
|
|
9
|
+
throw new Error(`Unsupported: ${target.constructor.name}.${propertyKey} is not supported. You are using a feature without registering the corresponding service override.`);
|
|
10
|
+
}
|
|
11
|
+
if (descriptor != null) {
|
|
12
|
+
if (descriptor.value != null) {
|
|
13
|
+
descriptor.value = unsupported;
|
|
14
|
+
}
|
|
15
|
+
else if (descriptor.get != null) {
|
|
16
|
+
descriptor.get = unsupported;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
Object.defineProperty(target, propertyKey, {
|
|
21
|
+
get() {
|
|
22
|
+
unsupported();
|
|
23
|
+
},
|
|
24
|
+
set() { },
|
|
25
|
+
configurable: true,
|
|
26
|
+
enumerable: true
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
}
|
|
7
30
|
function memoized(fct) {
|
|
8
31
|
let v = null;
|
|
9
32
|
return (...args) => {
|
|
@@ -45,4 +68,4 @@ function throttle(fct, merge, delay) {
|
|
|
45
68
|
};
|
|
46
69
|
}
|
|
47
70
|
|
|
48
|
-
export { memoized, memoizedConstructor, noop, sleep, throttle, unsupported };
|
|
71
|
+
export { Unsupported, memoized, memoizedConstructor, noop, sleep, throttle, unsupported };
|
|
@@ -73,8 +73,8 @@ function createBlobWorker(blobUrl, options) {
|
|
|
73
73
|
throw ( new URIError("Not a blob-url: " + blobUrl));
|
|
74
74
|
}
|
|
75
75
|
return ( new Worker(ttPolicy ? ttPolicy.createScriptURL(blobUrl) : blobUrl, {
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
type: "module",
|
|
77
|
+
...options
|
|
78
78
|
}));
|
|
79
79
|
}
|
|
80
80
|
function getWorkerBootstrapUrl(label, workerScriptUrl, workerLoadingFailedErrorMessage, workerOptions) {
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { IReference, Disposable } from "../../../base/common/lifecycle.js";
|
|
2
|
+
import { URI, UriComponents } from "../../../base/common/uri.js";
|
|
3
|
+
import { ITextModel } from "../../../editor/common/model.js";
|
|
4
|
+
import { IModelService } from "../../../editor/common/services/model.service.js";
|
|
5
|
+
import { ITextModelService } from "../../../editor/common/services/resolverService.service.js";
|
|
6
|
+
import { IFileService } from "../../../platform/files/common/files.service.js";
|
|
7
|
+
import { MainThreadDocumentsShape } from "../common/extHost.protocol.js";
|
|
8
|
+
import { ITextFileService } from "../../services/textfile/common/textfiles.service.js";
|
|
9
|
+
import { IWorkbenchEnvironmentService } from "../../services/environment/common/environmentService.service.js";
|
|
10
|
+
import { IExtUri } from "../../../base/common/resources.js";
|
|
11
|
+
import { IWorkingCopyFileService } from "../../services/workingCopy/common/workingCopyFileService.service.js";
|
|
12
|
+
import { IUriIdentityService } from "../../../platform/uriIdentity/common/uriIdentity.service.js";
|
|
13
|
+
import { Event } from "../../../base/common/event.js";
|
|
14
|
+
import { IPathService } from "../../services/path/common/pathService.service.js";
|
|
15
|
+
import { IExtHostContext } from "../../services/extensions/common/extHostCustomers.js";
|
|
16
|
+
export declare class BoundModelReferenceCollection {
|
|
17
|
+
private readonly _extUri;
|
|
18
|
+
private readonly _maxAge;
|
|
19
|
+
private readonly _maxLength;
|
|
20
|
+
private readonly _maxSize;
|
|
21
|
+
private _data;
|
|
22
|
+
private _length;
|
|
23
|
+
constructor(_extUri: IExtUri, _maxAge?: number, // auto-dispse by age
|
|
24
|
+
_maxLength?: number, // auto-dispose by total length
|
|
25
|
+
_maxSize?: number);
|
|
26
|
+
dispose(): void;
|
|
27
|
+
remove(uri: URI): void;
|
|
28
|
+
add(uri: URI, ref: IReference<unknown>, length?: number): void;
|
|
29
|
+
private _cleanup;
|
|
30
|
+
}
|
|
31
|
+
export declare class MainThreadDocuments extends Disposable implements MainThreadDocumentsShape {
|
|
32
|
+
private readonly _modelService;
|
|
33
|
+
private readonly _textFileService;
|
|
34
|
+
private readonly _fileService;
|
|
35
|
+
private readonly _textModelResolverService;
|
|
36
|
+
private readonly _environmentService;
|
|
37
|
+
private readonly _uriIdentityService;
|
|
38
|
+
private readonly _pathService;
|
|
39
|
+
private _onIsCaughtUpWithContentChanges;
|
|
40
|
+
readonly onIsCaughtUpWithContentChanges: Event<URI>;
|
|
41
|
+
private readonly _proxy;
|
|
42
|
+
private readonly _modelTrackers;
|
|
43
|
+
private readonly _modelReferenceCollection;
|
|
44
|
+
constructor(extHostContext: IExtHostContext, _modelService: IModelService, _textFileService: ITextFileService, _fileService: IFileService, _textModelResolverService: ITextModelService, _environmentService: IWorkbenchEnvironmentService, _uriIdentityService: IUriIdentityService, workingCopyFileService: IWorkingCopyFileService, _pathService: IPathService);
|
|
45
|
+
dispose(): void;
|
|
46
|
+
isCaughtUpWithContentChanges(resource: URI): boolean;
|
|
47
|
+
private _shouldHandleFileEvent;
|
|
48
|
+
handleModelAdded(model: ITextModel): void;
|
|
49
|
+
private _onModelModeChanged;
|
|
50
|
+
handleModelRemoved(modelUrl: URI): void;
|
|
51
|
+
$trySaveDocument(uri: UriComponents): Promise<boolean>;
|
|
52
|
+
$tryOpenDocument(uriData: UriComponents, options?: {
|
|
53
|
+
encoding?: string;
|
|
54
|
+
}): Promise<URI>;
|
|
55
|
+
$tryCreateDocument(options?: {
|
|
56
|
+
language?: string;
|
|
57
|
+
content?: string;
|
|
58
|
+
encoding?: string;
|
|
59
|
+
}): Promise<URI>;
|
|
60
|
+
private _handleAsResourceInput;
|
|
61
|
+
private _handleUntitledScheme;
|
|
62
|
+
private _doCreateUntitled;
|
|
63
|
+
}
|
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
|
|
2
|
+
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
3
|
+
import { toErrorMessage } from '../../../base/common/errorMessage.js';
|
|
4
|
+
import { dispose, Disposable } from '../../../base/common/lifecycle.js';
|
|
5
|
+
import { Schemas } from '../../../base/common/network.js';
|
|
6
|
+
import { URI } from '../../../base/common/uri.js';
|
|
7
|
+
import { shouldSynchronizeModel } from '../../../editor/common/model.js';
|
|
8
|
+
import { IModelService } from '../../../editor/common/services/model.service.js';
|
|
9
|
+
import { ITextModelService } from '../../../editor/common/services/resolverService.service.js';
|
|
10
|
+
import { FileOperation } from '../../../platform/files/common/files.js';
|
|
11
|
+
import { IFileService } from '../../../platform/files/common/files.service.js';
|
|
12
|
+
import { ExtHostContext } from '../common/extHost.protocol.js';
|
|
13
|
+
import { TextFileResolveReason, EncodingMode } from '../../services/textfile/common/textfiles.js';
|
|
14
|
+
import { ITextFileService } from '../../services/textfile/common/textfiles.service.js';
|
|
15
|
+
import { IWorkbenchEnvironmentService } from '../../services/environment/common/environmentService.service.js';
|
|
16
|
+
import { extUri, toLocalResource } from '../../../base/common/resources.js';
|
|
17
|
+
import { IWorkingCopyFileService } from '../../services/workingCopy/common/workingCopyFileService.service.js';
|
|
18
|
+
import { IUriIdentityService } from '../../../platform/uriIdentity/common/uriIdentity.service.js';
|
|
19
|
+
import { Emitter, Event } from '../../../base/common/event.js';
|
|
20
|
+
import { IPathService } from '../../services/path/common/pathService.service.js';
|
|
21
|
+
import { ResourceMap } from '../../../base/common/map.js';
|
|
22
|
+
import { onUnexpectedError, ErrorNoTelemetry } from '../../../base/common/errors.js';
|
|
23
|
+
|
|
24
|
+
class BoundModelReferenceCollection {
|
|
25
|
+
constructor(
|
|
26
|
+
_extUri,
|
|
27
|
+
_maxAge = 1000 * 60 * 3,
|
|
28
|
+
_maxLength = 1024 * 1024 * 80,
|
|
29
|
+
_maxSize = 50
|
|
30
|
+
) {
|
|
31
|
+
this._extUri = _extUri;
|
|
32
|
+
this._maxAge = _maxAge;
|
|
33
|
+
this._maxLength = _maxLength;
|
|
34
|
+
this._maxSize = _maxSize;
|
|
35
|
+
this._data = ( new Array());
|
|
36
|
+
this._length = 0;
|
|
37
|
+
}
|
|
38
|
+
dispose() {
|
|
39
|
+
this._data = dispose(this._data);
|
|
40
|
+
}
|
|
41
|
+
remove(uri) {
|
|
42
|
+
for (const entry of [...this._data] ) {
|
|
43
|
+
if (this._extUri.isEqualOrParent(entry.uri, uri)) {
|
|
44
|
+
entry.dispose();
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
add(uri, ref, length = 0) {
|
|
49
|
+
const dispose = () => {
|
|
50
|
+
const idx = this._data.indexOf(entry);
|
|
51
|
+
if (idx >= 0) {
|
|
52
|
+
this._length -= length;
|
|
53
|
+
ref.dispose();
|
|
54
|
+
clearTimeout(handle);
|
|
55
|
+
this._data.splice(idx, 1);
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
const handle = setTimeout(dispose, this._maxAge);
|
|
59
|
+
const entry = {
|
|
60
|
+
uri,
|
|
61
|
+
length,
|
|
62
|
+
dispose
|
|
63
|
+
};
|
|
64
|
+
this._data.push(entry);
|
|
65
|
+
this._length += length;
|
|
66
|
+
this._cleanup();
|
|
67
|
+
}
|
|
68
|
+
_cleanup() {
|
|
69
|
+
while (this._length > this._maxLength) {
|
|
70
|
+
this._data[0].dispose();
|
|
71
|
+
}
|
|
72
|
+
const extraSize = Math.ceil(this._maxSize * 1.2);
|
|
73
|
+
if (this._data.length >= extraSize) {
|
|
74
|
+
dispose(this._data.slice(0, extraSize - this._maxSize));
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
class ModelTracker extends Disposable {
|
|
79
|
+
constructor(_model, _onIsCaughtUpWithContentChanges, _proxy, _textFileService) {
|
|
80
|
+
super();
|
|
81
|
+
this._model = _model;
|
|
82
|
+
this._onIsCaughtUpWithContentChanges = _onIsCaughtUpWithContentChanges;
|
|
83
|
+
this._proxy = _proxy;
|
|
84
|
+
this._textFileService = _textFileService;
|
|
85
|
+
this._knownVersionId = this._model.getVersionId();
|
|
86
|
+
this._store.add(this._model.onDidChangeContent(e => {
|
|
87
|
+
this._knownVersionId = e.versionId;
|
|
88
|
+
if (e.detailedReasonsChangeLengths.length !== 1) {
|
|
89
|
+
onUnexpectedError(( new Error(`Unexpected reasons: ${( e.detailedReasons.map(r => ( r.toString())))}`)));
|
|
90
|
+
}
|
|
91
|
+
const evt = {
|
|
92
|
+
changes: e.changes,
|
|
93
|
+
isEolChange: e.isEolChange,
|
|
94
|
+
isUndoing: e.isUndoing,
|
|
95
|
+
isRedoing: e.isRedoing,
|
|
96
|
+
isFlush: e.isFlush,
|
|
97
|
+
eol: e.eol,
|
|
98
|
+
versionId: e.versionId,
|
|
99
|
+
detailedReason: e.detailedReasons[0].metadata
|
|
100
|
+
};
|
|
101
|
+
this._proxy.$acceptModelChanged(this._model.uri, evt, this._textFileService.isDirty(this._model.uri));
|
|
102
|
+
if (this.isCaughtUpWithContentChanges()) {
|
|
103
|
+
this._onIsCaughtUpWithContentChanges.fire(this._model.uri);
|
|
104
|
+
}
|
|
105
|
+
}));
|
|
106
|
+
}
|
|
107
|
+
isCaughtUpWithContentChanges() {
|
|
108
|
+
return (this._model.getVersionId() === this._knownVersionId);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
let MainThreadDocuments = class MainThreadDocuments extends Disposable {
|
|
112
|
+
constructor(
|
|
113
|
+
extHostContext,
|
|
114
|
+
_modelService,
|
|
115
|
+
_textFileService,
|
|
116
|
+
_fileService,
|
|
117
|
+
_textModelResolverService,
|
|
118
|
+
_environmentService,
|
|
119
|
+
_uriIdentityService,
|
|
120
|
+
workingCopyFileService,
|
|
121
|
+
_pathService
|
|
122
|
+
) {
|
|
123
|
+
super();
|
|
124
|
+
this._modelService = _modelService;
|
|
125
|
+
this._textFileService = _textFileService;
|
|
126
|
+
this._fileService = _fileService;
|
|
127
|
+
this._textModelResolverService = _textModelResolverService;
|
|
128
|
+
this._environmentService = _environmentService;
|
|
129
|
+
this._uriIdentityService = _uriIdentityService;
|
|
130
|
+
this._pathService = _pathService;
|
|
131
|
+
this._onIsCaughtUpWithContentChanges = this._store.add(( new Emitter()));
|
|
132
|
+
this.onIsCaughtUpWithContentChanges = this._onIsCaughtUpWithContentChanges.event;
|
|
133
|
+
this._modelTrackers = ( new ResourceMap());
|
|
134
|
+
this._modelReferenceCollection = this._store.add(( new BoundModelReferenceCollection(_uriIdentityService.extUri)));
|
|
135
|
+
this._proxy = ( extHostContext.getProxy(ExtHostContext.ExtHostDocuments));
|
|
136
|
+
this._store.add(_modelService.onModelLanguageChanged(this._onModelModeChanged, this));
|
|
137
|
+
this._store.add(_textFileService.files.onDidSave(e => {
|
|
138
|
+
if (this._shouldHandleFileEvent(e.model.resource)) {
|
|
139
|
+
this._proxy.$acceptModelSaved(e.model.resource);
|
|
140
|
+
}
|
|
141
|
+
}));
|
|
142
|
+
this._store.add(_textFileService.files.onDidChangeDirty(m => {
|
|
143
|
+
if (this._shouldHandleFileEvent(m.resource)) {
|
|
144
|
+
this._proxy.$acceptDirtyStateChanged(m.resource, m.isDirty());
|
|
145
|
+
}
|
|
146
|
+
}));
|
|
147
|
+
this._store.add(Event.any(
|
|
148
|
+
_textFileService.files.onDidChangeEncoding,
|
|
149
|
+
_textFileService.untitled.onDidChangeEncoding
|
|
150
|
+
)(m => {
|
|
151
|
+
if (this._shouldHandleFileEvent(m.resource)) {
|
|
152
|
+
const encoding = m.getEncoding();
|
|
153
|
+
if (encoding) {
|
|
154
|
+
this._proxy.$acceptEncodingChanged(m.resource, encoding);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}));
|
|
158
|
+
this._store.add(workingCopyFileService.onDidRunWorkingCopyFileOperation(e => {
|
|
159
|
+
const isMove = e.operation === FileOperation.MOVE;
|
|
160
|
+
if (isMove || e.operation === FileOperation.DELETE) {
|
|
161
|
+
for (const pair of e.files) {
|
|
162
|
+
const removed = isMove ? pair.source : pair.target;
|
|
163
|
+
if (removed) {
|
|
164
|
+
this._modelReferenceCollection.remove(removed);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}));
|
|
169
|
+
}
|
|
170
|
+
dispose() {
|
|
171
|
+
dispose(( this._modelTrackers.values()));
|
|
172
|
+
this._modelTrackers.clear();
|
|
173
|
+
super.dispose();
|
|
174
|
+
}
|
|
175
|
+
isCaughtUpWithContentChanges(resource) {
|
|
176
|
+
const tracker = this._modelTrackers.get(resource);
|
|
177
|
+
if (tracker) {
|
|
178
|
+
return tracker.isCaughtUpWithContentChanges();
|
|
179
|
+
}
|
|
180
|
+
return true;
|
|
181
|
+
}
|
|
182
|
+
_shouldHandleFileEvent(resource) {
|
|
183
|
+
const model = this._modelService.getModel(resource);
|
|
184
|
+
return !!model && shouldSynchronizeModel(model);
|
|
185
|
+
}
|
|
186
|
+
handleModelAdded(model) {
|
|
187
|
+
if (!shouldSynchronizeModel(model)) {
|
|
188
|
+
return;
|
|
189
|
+
}
|
|
190
|
+
this._modelTrackers.set(model.uri, ( new ModelTracker(
|
|
191
|
+
model,
|
|
192
|
+
this._onIsCaughtUpWithContentChanges,
|
|
193
|
+
this._proxy,
|
|
194
|
+
this._textFileService
|
|
195
|
+
)));
|
|
196
|
+
}
|
|
197
|
+
_onModelModeChanged(event) {
|
|
198
|
+
const {
|
|
199
|
+
model
|
|
200
|
+
} = event;
|
|
201
|
+
if (!( this._modelTrackers.has(model.uri))) {
|
|
202
|
+
return;
|
|
203
|
+
}
|
|
204
|
+
this._proxy.$acceptModelLanguageChanged(model.uri, model.getLanguageId());
|
|
205
|
+
}
|
|
206
|
+
handleModelRemoved(modelUrl) {
|
|
207
|
+
if (!( this._modelTrackers.has(modelUrl))) {
|
|
208
|
+
return;
|
|
209
|
+
}
|
|
210
|
+
this._modelTrackers.get(modelUrl).dispose();
|
|
211
|
+
this._modelTrackers.delete(modelUrl);
|
|
212
|
+
}
|
|
213
|
+
async $trySaveDocument(uri) {
|
|
214
|
+
const target = await this._textFileService.save(URI.revive(uri));
|
|
215
|
+
return Boolean(target);
|
|
216
|
+
}
|
|
217
|
+
async $tryOpenDocument(uriData, options) {
|
|
218
|
+
const inputUri = URI.revive(uriData);
|
|
219
|
+
if (!inputUri.scheme || !(inputUri.fsPath || inputUri.authority)) {
|
|
220
|
+
throw ( new ErrorNoTelemetry(`Invalid uri. Scheme and authority or path must be set.`));
|
|
221
|
+
}
|
|
222
|
+
const canonicalUri = this._uriIdentityService.asCanonicalUri(inputUri);
|
|
223
|
+
let promise;
|
|
224
|
+
switch (canonicalUri.scheme) {
|
|
225
|
+
case Schemas.untitled:
|
|
226
|
+
promise = this._handleUntitledScheme(canonicalUri, options);
|
|
227
|
+
break;
|
|
228
|
+
case Schemas.file:
|
|
229
|
+
default:
|
|
230
|
+
promise = this._handleAsResourceInput(canonicalUri, options);
|
|
231
|
+
break;
|
|
232
|
+
}
|
|
233
|
+
let documentUri;
|
|
234
|
+
try {
|
|
235
|
+
documentUri = await promise;
|
|
236
|
+
} catch (err) {
|
|
237
|
+
throw ( new ErrorNoTelemetry(`cannot open ${( canonicalUri.toString())}. Detail: ${toErrorMessage(err)}`));
|
|
238
|
+
}
|
|
239
|
+
if (!documentUri) {
|
|
240
|
+
throw ( new ErrorNoTelemetry(`cannot open ${( canonicalUri.toString())}`));
|
|
241
|
+
} else if (!extUri.isEqual(documentUri, canonicalUri)) {
|
|
242
|
+
throw ( new ErrorNoTelemetry(`cannot open ${( canonicalUri.toString())}. Detail: Actual document opened as ${( documentUri.toString())}`));
|
|
243
|
+
} else if (!( this._modelTrackers.has(canonicalUri))) {
|
|
244
|
+
throw ( new ErrorNoTelemetry(`cannot open ${( canonicalUri.toString())}. Detail: Files above 50MB cannot be synchronized with extensions.`));
|
|
245
|
+
} else {
|
|
246
|
+
return canonicalUri;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
$tryCreateDocument(options) {
|
|
250
|
+
return this._doCreateUntitled(undefined, options);
|
|
251
|
+
}
|
|
252
|
+
async _handleAsResourceInput(uri, options) {
|
|
253
|
+
if (options?.encoding) {
|
|
254
|
+
const model = await this._textFileService.files.resolve(uri, {
|
|
255
|
+
encoding: options.encoding,
|
|
256
|
+
reason: TextFileResolveReason.REFERENCE
|
|
257
|
+
});
|
|
258
|
+
if (model.isDirty()) {
|
|
259
|
+
throw ( new ErrorNoTelemetry(
|
|
260
|
+
`Cannot re-open a dirty text document with different encoding. Save it first.`
|
|
261
|
+
));
|
|
262
|
+
}
|
|
263
|
+
await model.setEncoding(options.encoding, EncodingMode.Decode);
|
|
264
|
+
}
|
|
265
|
+
const ref = await this._textModelResolverService.createModelReference(uri);
|
|
266
|
+
this._modelReferenceCollection.add(uri, ref, ref.object.textEditorModel.getValueLength());
|
|
267
|
+
return ref.object.textEditorModel.uri;
|
|
268
|
+
}
|
|
269
|
+
async _handleUntitledScheme(uri, options) {
|
|
270
|
+
const asLocalUri = toLocalResource(
|
|
271
|
+
uri,
|
|
272
|
+
this._environmentService.remoteAuthority,
|
|
273
|
+
this._pathService.defaultUriScheme
|
|
274
|
+
);
|
|
275
|
+
const exists = await this._fileService.exists(asLocalUri);
|
|
276
|
+
if (exists) {
|
|
277
|
+
return Promise.reject(( new Error("file already exists")));
|
|
278
|
+
}
|
|
279
|
+
return await this._doCreateUntitled(Boolean(uri.path) ? uri : undefined, options);
|
|
280
|
+
}
|
|
281
|
+
async _doCreateUntitled(associatedResource, options) {
|
|
282
|
+
const model = this._textFileService.untitled.create({
|
|
283
|
+
associatedResource,
|
|
284
|
+
languageId: options?.language,
|
|
285
|
+
initialValue: options?.content,
|
|
286
|
+
encoding: options?.encoding
|
|
287
|
+
});
|
|
288
|
+
if (options?.encoding) {
|
|
289
|
+
await model.setEncoding(options.encoding);
|
|
290
|
+
}
|
|
291
|
+
const resource = model.resource;
|
|
292
|
+
const ref = await this._textModelResolverService.createModelReference(resource);
|
|
293
|
+
if (!( this._modelTrackers.has(resource))) {
|
|
294
|
+
ref.dispose();
|
|
295
|
+
throw ( new Error(`expected URI ${( resource.toString())} to have come to LIFE`));
|
|
296
|
+
}
|
|
297
|
+
this._modelReferenceCollection.add(resource, ref, ref.object.textEditorModel.getValueLength());
|
|
298
|
+
Event.once(model.onDidRevert)(() => this._modelReferenceCollection.remove(resource));
|
|
299
|
+
this._proxy.$acceptDirtyStateChanged(resource, true);
|
|
300
|
+
return resource;
|
|
301
|
+
}
|
|
302
|
+
};
|
|
303
|
+
MainThreadDocuments = ( __decorate([( __param(1, IModelService)), ( __param(2, ITextFileService)), ( __param(3, IFileService)), ( __param(4, ITextModelService)), ( __param(5, IWorkbenchEnvironmentService)), ( __param(6, IUriIdentityService)), ( __param(7, IWorkingCopyFileService)), ( __param(8, IPathService))], MainThreadDocuments));
|
|
304
|
+
|
|
305
|
+
export { BoundModelReferenceCollection, MainThreadDocuments };
|
|
@@ -58,7 +58,7 @@ import { IChatContextItem } from "../../contrib/chat/common/contextContrib/chatC
|
|
|
58
58
|
import { IChatProgressHistoryResponseContent, IChatRequestModeInstructions, IChatRequestVariableData } from "../../contrib/chat/common/model/chatModel.js";
|
|
59
59
|
import { ChatResponseClearToPreviousToolInvocationReason, IChatContentInlineReference, IChatExternalEditsDto, IChatFollowup, IChatMultiDiffData, IChatMultiDiffDataSerialized, IChatNotebookEdit, IChatProgress, IChatTask, IChatTaskDto, IChatUserActionEvent, IChatVoteAction } from "../../contrib/chat/common/chatService/chatService.js";
|
|
60
60
|
import { IChatSessionItem, IChatSessionProviderOptionGroup, IChatSessionProviderOptionItem } from "../../contrib/chat/common/chatSessionsService.js";
|
|
61
|
-
import { IChatRequestVariableValue } from "
|
|
61
|
+
import { IChatRequestVariableValue } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/common/attachments/chatVariables";
|
|
62
62
|
import { ChatAgentLocation } from "../../contrib/chat/common/constants.js";
|
|
63
63
|
import { IChatMessage, IChatResponsePart, ILanguageModelChatInfoOptions, ILanguageModelChatMetadataAndIdentifier, ILanguageModelChatRequestOptions, ILanguageModelChatSelector } from "../../contrib/chat/common/languageModels.js";
|
|
64
64
|
import { IPreparedToolInvocation, IStreamedToolInvocation, IToolInvocation, IToolInvocationPreparationContext, IToolInvocationStreamContext, IToolProgressStep, IToolResult, ToolDataSource } from "../../contrib/chat/common/tools/languageModelToolsService.js";
|
|
@@ -67,7 +67,7 @@ import { DebugConfigurationProviderTriggerKind, IAdapterDescriptor, IConfig, IDe
|
|
|
67
67
|
import { McpCollectionDefinition, McpConnectionState, McpServerDefinition, McpServerLaunch } from "../../contrib/mcp/common/mcpTypes.js";
|
|
68
68
|
import * as notebookCommon from "../../contrib/notebook/common/notebookCommon.js";
|
|
69
69
|
import { CellExecutionUpdateType } from "../../contrib/notebook/common/notebookExecutionService.js";
|
|
70
|
-
import { ICellExecutionComplete, ICellExecutionStateUpdate } from "
|
|
70
|
+
import { ICellExecutionComplete, ICellExecutionStateUpdate } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService";
|
|
71
71
|
import { ICellRange } from "../../contrib/notebook/common/notebookRange.js";
|
|
72
72
|
import { ISCMHistoryOptions } from "../../contrib/scm/common/history.js";
|
|
73
73
|
import { InputValidationType } from "../../contrib/scm/common/scm.js";
|
|
@@ -7,8 +7,7 @@ import { revive } from '../../../base/common/marshalling.js';
|
|
|
7
7
|
import { generateUuid } from '../../../base/common/uuid.js';
|
|
8
8
|
import { isToolInvocationContext } from '../../contrib/chat/common/tools/languageModelToolsService.js';
|
|
9
9
|
import { computeCombinationKey } from '../../contrib/chat/common/tools/languageModelToolsConfirmationService.js';
|
|
10
|
-
import { InternalEditToolId, ExtensionEditToolId } from '../../contrib/chat/common/tools/builtinTools/
|
|
11
|
-
import { InternalFetchWebPageToolId } from '../../contrib/chat/common/tools/builtinTools/tools.js';
|
|
10
|
+
import { InternalEditToolId, ExtensionEditToolId, InternalFetchWebPageToolId } from '../../contrib/chat/common/tools/builtinTools/toolIds.js';
|
|
12
11
|
import { SearchExtensionsToolId } from '../../contrib/extensions/common/searchExtensionsTool.js';
|
|
13
12
|
import { isProposedApiEnabled, checkProposedApiEnabled } from '../../services/extensions/common/extensions.js';
|
|
14
13
|
import { SerializableObjectWithBuffers } from '../../services/extensions/common/proxyIdentifier.js';
|
|
@@ -27,7 +27,7 @@ import { ProgressLocation as ProgressLocation$2 } from '../../../platform/progre
|
|
|
27
27
|
import { SaveReason, DEFAULT_EDITOR_ASSOCIATION } from '../../common/editor.js';
|
|
28
28
|
import { LocalChatSessionUri } from '../../contrib/chat/common/model/chatUri.js';
|
|
29
29
|
import { isElementVariableEntry, isImageVariableEntry, isPromptFileVariableEntry, isPromptTextVariableEntry } from '../../contrib/chat/common/attachments/chatVariableEntries.js';
|
|
30
|
-
import { coerceImageBuffer } from '../../contrib/chat/common/
|
|
30
|
+
import { coerceImageBuffer } from '../../contrib/chat/common/chatImageBuffer.js';
|
|
31
31
|
import { ChatSessionStatus } from '../../contrib/chat/common/chatSessionsService.js';
|
|
32
32
|
import { ChatAgentLocation } from '../../contrib/chat/common/constants.js';
|
|
33
33
|
import { resolveEffectiveCommand } from '../../contrib/chat/common/promptSyntax/hookSchema.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><style>.st0{fill:#f6f6f6;fill-opacity:0}.st1{fill:#fff}.st2{fill:#167abf}</style><path class="st0" d="M1024 1024H0V0h1024v1024z"/><path class="st1" d="M1024 85.333v853.333H0V85.333h1024z"/><path class="st2" d="M0 85.333h298.667v853.333H0V85.333zm1024 0v853.333H384V85.333h640zm-554.667 160h341.333v-64H469.333v64zm341.334 533.334H469.333v64h341.333l.001-64zm128-149.334H597.333v64h341.333l.001-64zm0-149.333H597.333v64h341.333l.001-64zm0-149.333H597.333v64h341.333l.001-64z"/></svg>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const CHAT_CATEGORY: import("../../../../../nls.js").ILocalizedString;
|
|
2
2
|
export declare const CHAT_OPEN_ACTION_ID = "workbench.action.chat.open";
|
|
3
|
+
export declare const CHAT_SETUP_SUPPORT_ANONYMOUS_ACTION_ID = "workbench.action.chat.triggerSetupSupportAnonymousAction";
|
|
3
4
|
export declare const ASK_QUICK_QUESTION_ACTION_ID = "workbench.action.quickchat.toggle";
|
|
4
5
|
export declare const AcceptToolConfirmationActionId = "workbench.action.chat.acceptTool";
|
|
5
6
|
export declare const SkipToolConfirmationActionId = "workbench.action.chat.skipTool";
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
import '../../../../../nls.js';
|
|
3
3
|
|
|
4
4
|
const CHAT_OPEN_ACTION_ID = "workbench.action.chat.open";
|
|
5
|
+
const CHAT_SETUP_SUPPORT_ANONYMOUS_ACTION_ID = "workbench.action.chat.triggerSetupSupportAnonymousAction";
|
|
5
6
|
const ASK_QUICK_QUESTION_ACTION_ID = "workbench.action.quickchat.toggle";
|
|
6
7
|
const AcceptToolConfirmationActionId = "workbench.action.chat.acceptTool";
|
|
7
8
|
const SkipToolConfirmationActionId = "workbench.action.chat.skipTool";
|
|
8
9
|
const AcceptToolPostConfirmationActionId = "workbench.action.chat.acceptToolPostExecution";
|
|
9
10
|
const SkipToolPostConfirmationActionId = "workbench.action.chat.skipToolPostExecution";
|
|
10
11
|
|
|
11
|
-
export { ASK_QUICK_QUESTION_ACTION_ID, AcceptToolConfirmationActionId, AcceptToolPostConfirmationActionId, CHAT_OPEN_ACTION_ID, SkipToolConfirmationActionId, SkipToolPostConfirmationActionId };
|
|
12
|
+
export { ASK_QUICK_QUESTION_ACTION_ID, AcceptToolConfirmationActionId, AcceptToolPostConfirmationActionId, CHAT_OPEN_ACTION_ID, CHAT_SETUP_SUPPORT_ANONYMOUS_ACTION_ID, SkipToolConfirmationActionId, SkipToolPostConfirmationActionId };
|
|
@@ -9,13 +9,13 @@ import { IOpenerService } from "../../../../platform/opener/common/opener.servic
|
|
|
9
9
|
import { IInstantiationService } from "../../../../platform/instantiation/common/instantiation.js";
|
|
10
10
|
import { IWorkspaceContextService } from "../../../../platform/workspace/common/workspace.service.js";
|
|
11
11
|
import { IEnablementModel } from "../common/enablement.js";
|
|
12
|
-
import { IAgentPlugin } from "
|
|
12
|
+
import { IAgentPlugin } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/plugins/agentPluginService";
|
|
13
13
|
import { IAgentPluginService } from "../common/plugins/agentPluginService.service.js";
|
|
14
14
|
import { IPluginInstallService } from "../common/plugins/pluginInstallService.service.js";
|
|
15
15
|
import { IMarketplacePluginItem } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginItems";
|
|
16
16
|
import { URI } from "../../../../base/common/uri.js";
|
|
17
17
|
import { CustomizationEnablementKind, type PluginCustomization } from "../../../../platform/agentHost/common/state/protocol/state.js";
|
|
18
|
-
import { type ICustomizationItemAction } from "
|
|
18
|
+
import { type ICustomizationItemAction } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/customizationHarnessService";
|
|
19
19
|
import { IAgentHostCustomizationService } from "./agentSessions/agentHost/agentHostCustomizationService.service.js";
|
|
20
20
|
export declare class InstallPluginAction extends Action {
|
|
21
21
|
constructor(item: IMarketplacePluginItem, pluginInstallService: IPluginInstallService);
|