@codingame/monaco-vscode-api 26.1.1 → 26.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.
Files changed (335) hide show
  1. package/missing-services.js +26 -5
  2. package/package.json +8 -8
  3. package/services.js +3 -3
  4. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.css +9 -0
  5. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.d.ts +2 -0
  6. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +12 -5
  7. package/vscode/src/vs/platform/actions/common/actions.d.ts +1 -0
  8. package/vscode/src/vs/platform/actions/common/actions.js +3 -0
  9. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +4 -0
  10. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +5 -1
  11. package/vscode/src/vs/platform/product/common/product.js +3 -3
  12. package/vscode/src/vs/platform/window/common/window.d.ts +1 -0
  13. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +2 -1
  14. package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +1 -0
  15. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +1 -0
  16. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +31 -8
  17. package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +2 -1
  18. package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +7 -2
  19. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +12 -1
  20. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +67 -3
  21. package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +12 -0
  22. package/vscode/src/vs/workbench/api/common/extHostTypes.js +9 -1
  23. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +1 -7
  24. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.d.ts +5 -0
  25. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.js +15 -12
  26. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.js +1 -1
  27. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatScreenshotContext.js +1 -1
  28. package/vscode/src/vs/workbench/contrib/chat/browser/chat.d.ts +8 -3
  29. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +7 -7
  30. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptFileRewriter.d.ts +1 -1
  31. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptFileRewriter.js +5 -3
  32. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatContentParts.d.ts +2 -2
  33. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput.js +9 -9
  34. package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.d.ts +7 -0
  35. package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.js +80 -62
  36. package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.js +2 -2
  37. package/vscode/src/vs/workbench/contrib/chat/common/chatModes.d.ts +5 -5
  38. package/vscode/src/vs/workbench/contrib/chat/common/chatModes.js +8 -9
  39. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.d.ts +70 -1
  40. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.js +27 -1
  41. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.service.d.ts +27 -3
  42. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +2 -1
  43. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +3 -2
  44. package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +2 -0
  45. package/vscode/src/vs/workbench/contrib/chat/common/constants.js +2 -0
  46. package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.js +2 -2
  47. package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +3 -3
  48. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +22 -22
  49. package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.d.ts +84 -5
  50. package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.js +176 -70
  51. package/vscode/src/vs/workbench/contrib/chat/common/model/chatViewModel.d.ts +18 -5
  52. package/vscode/src/vs/workbench/contrib/chat/common/model/chatViewModel.js +46 -4
  53. package/vscode/src/vs/workbench/contrib/chat/common/participants/chatAgents.d.ts +17 -0
  54. package/vscode/src/vs/workbench/contrib/chat/common/participants/chatAgents.js +10 -0
  55. package/vscode/src/vs/workbench/contrib/chat/common/participants/chatAgents.service.d.ts +1 -0
  56. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts +9 -0
  57. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +68 -54
  58. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/config.d.ts +16 -0
  59. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/config.js +6 -0
  60. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.d.ts +48 -0
  61. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.js +64 -3
  62. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookSchema.d.ts +159 -0
  63. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookSchema.js +387 -0
  64. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileParser.d.ts +21 -4
  65. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileParser.js +82 -26
  66. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.d.ts +3 -1
  67. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.js +5 -1
  68. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +51 -3
  69. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.js +14 -1
  70. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +11 -10
  71. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptEditHelper.d.ts +5 -0
  72. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptEditHelper.js +22 -0
  73. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.js +9 -9
  74. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.d.ts +14 -2
  75. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +98 -25
  76. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +22 -22
  77. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.d.ts +14 -0
  78. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.js +3 -3
  79. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.service.d.ts +1 -2
  80. package/vscode/src/vs/workbench/contrib/chat/common/widget/input/modelPickerWidget.js +1 -1
  81. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +11 -11
  82. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
  83. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
  84. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
  85. package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +9 -9
  86. package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
  87. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
  88. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
  89. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
  90. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
  91. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +3 -3
  92. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
  93. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
  94. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
  95. package/vscode/src/vs/workbench/contrib/codeEditor/common/languageConfigurationExtensionPoint.js +65 -65
  96. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +7 -7
  97. package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +7 -7
  98. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +2 -2
  99. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +3 -3
  100. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +3 -3
  101. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +3 -3
  102. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +3 -3
  103. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +3 -3
  104. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
  105. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +7 -7
  106. package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
  107. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
  108. package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +14 -14
  109. package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +16 -16
  110. package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +7 -7
  111. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +12 -12
  112. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
  113. package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +1 -1
  114. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
  115. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +14 -14
  116. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +75 -75
  117. package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
  118. package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +6 -6
  119. package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
  120. package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +38 -38
  121. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +2 -2
  122. package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +3 -3
  123. package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
  124. package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -3
  125. package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +4 -4
  126. package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +2 -2
  127. package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +18 -18
  128. package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +5 -5
  129. package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +9 -9
  130. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
  131. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
  132. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
  133. package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
  134. package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
  135. package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
  136. package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
  137. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.js +2 -2
  138. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +4 -4
  139. package/vscode/src/vs/workbench/contrib/extensions/browser/abstractRuntimeExtensionsEditor.js +18 -18
  140. package/vscode/src/vs/workbench/contrib/extensions/browser/configBasedRecommendations.js +1 -1
  141. package/vscode/src/vs/workbench/contrib/extensions/browser/exeBasedRecommendations.js +1 -1
  142. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEditor.js +41 -41
  143. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementWorkspaceTrustTransitionParticipant.js +1 -1
  144. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionFeaturesTab.js +15 -15
  145. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationNotificationService.js +14 -14
  146. package/vscode/src/vs/workbench/contrib/extensions/browser/extensions.contribution.js +147 -147
  147. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +170 -170
  148. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActivationProgress.js +1 -1
  149. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.js +1 -1
  150. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsDependencyChecker.js +5 -5
  151. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +24 -24
  152. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsQuickAccess.js +4 -4
  153. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewer.js +7 -7
  154. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.js +48 -48
  155. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.js +5 -5
  156. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.js +29 -29
  157. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.js +74 -74
  158. package/vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.js +2 -2
  159. package/vscode/src/vs/workbench/contrib/extensions/browser/webRecommendations.js +1 -1
  160. package/vscode/src/vs/workbench/contrib/extensions/browser/workspaceRecommendations.js +2 -2
  161. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
  162. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
  163. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
  164. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +3 -3
  165. package/vscode/src/vs/workbench/contrib/extensions/common/runtimeExtensionsInput.js +2 -2
  166. package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +3 -3
  167. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -4
  168. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +3 -3
  169. package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
  170. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
  171. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
  172. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
  173. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +39 -39
  174. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
  175. package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +4 -4
  176. package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +2 -2
  177. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
  178. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +27 -27
  179. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +50 -50
  180. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
  181. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
  182. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +4 -4
  183. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +7 -7
  184. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +17 -17
  185. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
  186. package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
  187. package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
  188. package/vscode/src/vs/workbench/contrib/files/common/files.js +16 -16
  189. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
  190. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
  191. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
  192. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  193. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
  194. package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
  195. package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
  196. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration.js +66 -66
  197. package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfiguration.js +31 -31
  198. package/vscode/src/vs/workbench/contrib/mcp/common/mcpServer.js +9 -9
  199. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +4 -4
  200. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +4 -4
  201. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +23 -23
  202. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +2 -2
  203. package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +8 -8
  204. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
  205. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +3 -3
  206. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
  207. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +17 -17
  208. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +2 -2
  209. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +6 -6
  210. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
  211. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
  212. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +24 -24
  213. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +3 -3
  214. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +7 -7
  215. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +1 -1
  216. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +8 -5
  217. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +1 -1
  218. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +3 -3
  219. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +7 -7
  220. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
  221. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +29 -29
  222. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +5 -5
  223. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +7 -7
  224. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
  225. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +4 -4
  226. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +1 -1
  227. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +3 -3
  228. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +1 -1
  229. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +2 -2
  230. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
  231. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
  232. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +14 -14
  233. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
  234. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +1 -1
  235. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
  236. package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +3 -3
  237. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +13 -13
  238. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +10 -10
  239. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +50 -50
  240. package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +3 -3
  241. package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
  242. package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +15 -15
  243. package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
  244. package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +59 -59
  245. package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +11 -11
  246. package/vscode/src/vs/workbench/contrib/scm/browser/scmHistoryChatContext.js +6 -6
  247. package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.js +14 -14
  248. package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +9 -9
  249. package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +3 -3
  250. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
  251. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +12 -12
  252. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +9 -9
  253. package/vscode/src/vs/workbench/contrib/search/browser/searchChatContext.js +5 -5
  254. package/vscode/src/vs/workbench/contrib/search/browser/searchFindInput.js +1 -1
  255. package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +20 -20
  256. package/vscode/src/vs/workbench/contrib/search/browser/searchMessage.js +2 -2
  257. package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +14 -14
  258. package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +55 -55
  259. package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.js +8 -8
  260. package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +2 -2
  261. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +4 -4
  262. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +5 -5
  263. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
  264. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
  265. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
  266. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
  267. package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
  268. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
  269. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +6 -6
  270. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
  271. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +3 -3
  272. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +13 -13
  273. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +40 -40
  274. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +15 -15
  275. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +9 -9
  276. package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -23
  277. package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +17 -17
  278. package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +26 -26
  279. package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/common/terminalAccessibilityConfiguration.js +2 -2
  280. package/vscode/src/vs/workbench/contrib/terminalContrib/autoReplies/common/terminalAutoRepliesConfiguration.js +2 -2
  281. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.js +54 -54
  282. package/vscode/src/vs/workbench/contrib/terminalContrib/commandGuide/common/terminalCommandGuideConfiguration.js +1 -1
  283. package/vscode/src/vs/workbench/contrib/terminalContrib/history/common/terminal.history.js +1 -1
  284. package/vscode/src/vs/workbench/contrib/terminalContrib/inlineHint/common/terminalInitialHintConfiguration.js +1 -1
  285. package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/common/terminalStickyScrollConfiguration.js +3 -3
  286. package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminalSuggestConfiguration.js +30 -30
  287. package/vscode/src/vs/workbench/contrib/terminalContrib/typeAhead/common/terminalTypeAheadConfiguration.js +5 -5
  288. package/vscode/src/vs/workbench/contrib/terminalContrib/zoom/common/terminal.zoom.js +2 -2
  289. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
  290. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
  291. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
  292. package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
  293. package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
  294. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
  295. package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
  296. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +11 -11
  297. package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
  298. package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +14 -14
  299. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
  300. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
  301. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
  302. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
  303. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionsIcons.js +3 -3
  304. package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
  305. package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +10 -10
  306. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +88 -88
  307. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
  308. package/vscode/src/vs/workbench/services/language/common/languageService.js +24 -24
  309. package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
  310. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
  311. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
  312. package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +4 -4
  313. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
  314. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
  315. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
  316. package/vscode/src/vs/workbench/services/storage/browser/storageService.d.ts +5 -1
  317. package/vscode/src/vs/workbench/services/storage/browser/storageService.js +32 -16
  318. package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
  319. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
  320. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +18 -18
  321. package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
  322. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
  323. package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +24 -24
  324. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
  325. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
  326. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
  327. package/vscode/src/vs/workbench/services/views/browser/viewsService.js +9 -9
  328. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +16 -16
  329. package/vscode/src/vs/workbench/services/workspaces/browser/workspaces.d.ts +2 -2
  330. package/vscode/src/vs/workbench/services/workspaces/browser/workspaces.js +4 -4
  331. package/vscode-dts/vscode.proposed.chatHooks.d.ts +126 -0
  332. package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +25 -1
  333. package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +35 -1
  334. package/vscode-dts/vscode.proposed.d.ts +1 -0
  335. package/workbench.js +2 -2
@@ -55,14 +55,14 @@ let FilesConfigurationService = class FilesConfigurationService extends Disposab
55
55
  this.READONLY_MESSAGES = {
56
56
  providerReadonly: {
57
57
  value: ( localize(
58
- 14488,
58
+ 14678,
59
59
  "Editor is read-only because the file system of the file is read-only."
60
60
  )),
61
61
  isTrusted: true
62
62
  },
63
63
  sessionReadonly: {
64
64
  value: ( localize(
65
- 14489,
65
+ 14679,
66
66
  "Editor is read-only because the file was set read-only in this session. [Click here](command:{0}) to set writeable.",
67
67
  "workbench.action.files.setActiveEditorWriteableInSession"
68
68
  )),
@@ -70,7 +70,7 @@ let FilesConfigurationService = class FilesConfigurationService extends Disposab
70
70
  },
71
71
  configuredReadonly: {
72
72
  value: ( localize(
73
- 14490,
73
+ 14680,
74
74
  "Editor is read-only because the file was set read-only via settings. [Click here](command:{0}) to configure or [toggle for this session](command:{1}).",
75
75
  `workbench.action.openSettings?${encodeURIComponent("[\"files.readonly\"]")}`,
76
76
  "workbench.action.files.toggleActiveEditorReadonlyInSession"
@@ -79,14 +79,14 @@ let FilesConfigurationService = class FilesConfigurationService extends Disposab
79
79
  },
80
80
  fileLocked: {
81
81
  value: ( localize(
82
- 14491,
82
+ 14681,
83
83
  "Editor is read-only because of file permissions. [Click here](command:{0}) to set writeable anyway.",
84
84
  "workbench.action.files.setActiveEditorWriteableInSession"
85
85
  )),
86
86
  isTrusted: true
87
87
  },
88
88
  fileReadonly: {
89
- value: ( localize(14492, "Editor is read-only because the file is read-only.")),
89
+ value: ( localize(14682, "Editor is read-only because the file is read-only.")),
90
90
  isTrusted: true
91
91
  }
92
92
  };
@@ -23,7 +23,7 @@ import { isString } from '../../../../base/common/types.js';
23
23
  const languagesExtPoint = ExtensionsRegistry.registerExtensionPoint({
24
24
  extensionPoint: "languages",
25
25
  jsonSchema: {
26
- description: ( localize(14546, "Contributes language declarations.")),
26
+ description: ( localize(14736, "Contributes language declarations.")),
27
27
  type: "array",
28
28
  items: {
29
29
  type: "object",
@@ -37,18 +37,18 @@ const languagesExtPoint = ExtensionsRegistry.registerExtensionPoint({
37
37
  }],
38
38
  properties: {
39
39
  id: {
40
- description: ( localize(14547, "ID of the language.")),
40
+ description: ( localize(14737, "ID of the language.")),
41
41
  type: "string"
42
42
  },
43
43
  aliases: {
44
- description: ( localize(14548, "Name aliases for the language.")),
44
+ description: ( localize(14738, "Name aliases for the language.")),
45
45
  type: "array",
46
46
  items: {
47
47
  type: "string"
48
48
  }
49
49
  },
50
50
  extensions: {
51
- description: ( localize(14549, "File extensions associated to the language.")),
51
+ description: ( localize(14739, "File extensions associated to the language.")),
52
52
  default: [".foo"],
53
53
  type: "array",
54
54
  items: {
@@ -56,21 +56,21 @@ const languagesExtPoint = ExtensionsRegistry.registerExtensionPoint({
56
56
  }
57
57
  },
58
58
  filenames: {
59
- description: ( localize(14550, "File names associated to the language.")),
59
+ description: ( localize(14740, "File names associated to the language.")),
60
60
  type: "array",
61
61
  items: {
62
62
  type: "string"
63
63
  }
64
64
  },
65
65
  filenamePatterns: {
66
- description: ( localize(14551, "File name glob patterns associated to the language.")),
66
+ description: ( localize(14741, "File name glob patterns associated to the language.")),
67
67
  type: "array",
68
68
  items: {
69
69
  type: "string"
70
70
  }
71
71
  },
72
72
  mimetypes: {
73
- description: ( localize(14552, "Mime types associated to the language.")),
73
+ description: ( localize(14742, "Mime types associated to the language.")),
74
74
  type: "array",
75
75
  items: {
76
76
  type: "string"
@@ -78,14 +78,14 @@ const languagesExtPoint = ExtensionsRegistry.registerExtensionPoint({
78
78
  },
79
79
  firstLine: {
80
80
  description: ( localize(
81
- 14553,
81
+ 14743,
82
82
  "A regular expression matching the first line of a file of the language."
83
83
  )),
84
84
  type: "string"
85
85
  },
86
86
  configuration: {
87
87
  description: ( localize(
88
- 14554,
88
+ 14744,
89
89
  "A relative path to a file containing configuration options for the language."
90
90
  )),
91
91
  type: "string",
@@ -94,16 +94,16 @@ const languagesExtPoint = ExtensionsRegistry.registerExtensionPoint({
94
94
  icon: {
95
95
  type: "object",
96
96
  description: ( localize(
97
- 14555,
97
+ 14745,
98
98
  "A icon to use as file icon, if no icon theme provides one for the language."
99
99
  )),
100
100
  properties: {
101
101
  light: {
102
- description: ( localize(14556, "Icon path when a light theme is used")),
102
+ description: ( localize(14746, "Icon path when a light theme is used")),
103
103
  type: "string"
104
104
  },
105
105
  dark: {
106
- description: ( localize(14557, "Icon path when a dark theme is used")),
106
+ description: ( localize(14747, "Icon path when a dark theme is used")),
107
107
  type: "string"
108
108
  }
109
109
  }
@@ -192,7 +192,7 @@ class LanguageTableRenderer extends Disposable {
192
192
  dispose: () => {}
193
193
  };
194
194
  }
195
- const headers = [( localize(14558, "ID")), ( localize(14559, "Name")), ( localize(14560, "File Extensions")), ( localize(14561, "Grammar")), ( localize(14562, "Snippets"))];
195
+ const headers = [( localize(14748, "ID")), ( localize(14749, "Name")), ( localize(14750, "File Extensions")), ( localize(14751, "Grammar")), ( localize(14752, "Snippets"))];
196
196
  const rows = ( languages.sort((a, b) => a.id.localeCompare(b.id)).map(l => {
197
197
  return [l.id, l.name, ( new MarkdownString()).appendMarkdown(`${( l.extensions.map(e => `\`${e}\``)).join(" ")}`), l.hasGrammar ? "✔︎" : "—", l.hasSnippets ? "✔︎" : "—"];
198
198
  }));
@@ -207,7 +207,7 @@ class LanguageTableRenderer extends Disposable {
207
207
  }
208
208
  ( Registry.as(Extensions.ExtensionFeaturesRegistry)).registerExtensionFeature({
209
209
  id: "languages",
210
- label: ( localize(14563, "Programming Languages")),
210
+ label: ( localize(14753, "Programming Languages")),
211
211
  access: {
212
212
  canToggle: false
213
213
  },
@@ -227,7 +227,7 @@ let WorkbenchLanguageService = class WorkbenchLanguageService extends LanguageSe
227
227
  const extension = extensions[i];
228
228
  if (!Array.isArray(extension.value)) {
229
229
  extension.collector.error(( localize(
230
- 14564,
230
+ 14754,
231
231
  "Invalid `contributes.{0}`. Expected an array.",
232
232
  languagesExtPoint.name
233
233
  )));
@@ -308,16 +308,16 @@ function isUndefinedOrStringArray(value) {
308
308
  }
309
309
  function isValidLanguageExtensionPoint(value, collector) {
310
310
  if (!value) {
311
- collector?.error(( localize(14565, "Empty value for `contributes.{0}`", languagesExtPoint.name)));
311
+ collector?.error(( localize(14755, "Empty value for `contributes.{0}`", languagesExtPoint.name)));
312
312
  return false;
313
313
  }
314
314
  if (typeof value.id !== "string") {
315
- collector?.error(( localize(14566, "property `{0}` is mandatory and must be of type `string`", "id")));
315
+ collector?.error(( localize(14756, "property `{0}` is mandatory and must be of type `string`", "id")));
316
316
  return false;
317
317
  }
318
318
  if (!isUndefinedOrStringArray(value.extensions)) {
319
319
  collector?.error(( localize(
320
- 14567,
320
+ 14757,
321
321
  "property `{0}` can be omitted and must be of type `string[]`",
322
322
  "extensions"
323
323
  )));
@@ -325,7 +325,7 @@ function isValidLanguageExtensionPoint(value, collector) {
325
325
  }
326
326
  if (!isUndefinedOrStringArray(value.filenames)) {
327
327
  collector?.error(( localize(
328
- 14568,
328
+ 14758,
329
329
  "property `{0}` can be omitted and must be of type `string[]`",
330
330
  "filenames"
331
331
  )));
@@ -333,7 +333,7 @@ function isValidLanguageExtensionPoint(value, collector) {
333
333
  }
334
334
  if (typeof value.firstLine !== "undefined" && typeof value.firstLine !== "string") {
335
335
  collector?.error(( localize(
336
- 14569,
336
+ 14759,
337
337
  "property `{0}` can be omitted and must be of type `string`",
338
338
  "firstLine"
339
339
  )));
@@ -341,7 +341,7 @@ function isValidLanguageExtensionPoint(value, collector) {
341
341
  }
342
342
  if (typeof value.configuration !== "undefined" && typeof value.configuration !== "string") {
343
343
  collector?.error(( localize(
344
- 14570,
344
+ 14760,
345
345
  "property `{0}` can be omitted and must be of type `string`",
346
346
  "configuration"
347
347
  )));
@@ -349,7 +349,7 @@ function isValidLanguageExtensionPoint(value, collector) {
349
349
  }
350
350
  if (!isUndefinedOrStringArray(value.aliases)) {
351
351
  collector?.error(( localize(
352
- 14571,
352
+ 14761,
353
353
  "property `{0}` can be omitted and must be of type `string[]`",
354
354
  "aliases"
355
355
  )));
@@ -357,7 +357,7 @@ function isValidLanguageExtensionPoint(value, collector) {
357
357
  }
358
358
  if (!isUndefinedOrStringArray(value.mimetypes)) {
359
359
  collector?.error(( localize(
360
- 14572,
360
+ 14762,
361
361
  "property `{0}` can be omitted and must be of type `string[]`",
362
362
  "mimetypes"
363
363
  )));
@@ -366,7 +366,7 @@ function isValidLanguageExtensionPoint(value, collector) {
366
366
  if (typeof value.icon !== "undefined") {
367
367
  if (typeof value.icon !== "object" || typeof value.icon.light !== "string" || typeof value.icon.dark !== "string") {
368
368
  collector?.error(( localize(
369
- 14573,
369
+ 14763,
370
370
  "property `{0}` can be omitted and must be of type `object` with properties `{1}` and `{2}` of type `string`",
371
371
  "icon",
372
372
  "light",
@@ -4,7 +4,7 @@ import { localize } from '../../../../nls.js';
4
4
  const windowLogId = "rendererLog";
5
5
  const windowLogGroup = {
6
6
  id: windowLogId,
7
- name: ( localize(14580, "Window"))
7
+ name: ( localize(14770, "Window"))
8
8
  };
9
9
  const showWindowLogActionId = "workbench.action.showWindowLog";
10
10
 
@@ -9,7 +9,7 @@ import { EditorInput } from '../../../common/editor/editorInput.js';
9
9
  import { KeybindingsEditorModel } from './keybindingsEditorModel.js';
10
10
 
11
11
  var KeybindingsEditorInput_1;
12
- const KeybindingsEditorIcon = registerIcon("keybindings-editor-label-icon", Codicon.keyboard, ( localize(14582, "Icon of the keybindings editor label.")));
12
+ const KeybindingsEditorIcon = registerIcon("keybindings-editor-label-icon", Codicon.keyboard, ( localize(14772, "Icon of the keybindings editor label.")));
13
13
  let KeybindingsEditorInput = class KeybindingsEditorInput extends EditorInput {
14
14
  static {
15
15
  KeybindingsEditorInput_1 = this;
@@ -27,7 +27,7 @@ let KeybindingsEditorInput = class KeybindingsEditorInput extends EditorInput {
27
27
  return KeybindingsEditorInput_1.ID;
28
28
  }
29
29
  getName() {
30
- return localize(14583, "Keyboard Shortcuts");
30
+ return localize(14773, "Keyboard Shortcuts");
31
31
  }
32
32
  getIcon() {
33
33
  return KeybindingsEditorIcon;
@@ -18,9 +18,9 @@ import { ContextKeyExpr } from '../../../../platform/contextkey/common/contextke
18
18
 
19
19
  var KeybindingsEditorModel_1;
20
20
  const KEYBINDING_ENTRY_TEMPLATE_ID = "keybinding.entry.template";
21
- const SOURCE_SYSTEM = ( localize(14584, "System"));
22
- const SOURCE_EXTENSION = ( localize(14585, "Extension"));
23
- const SOURCE_USER = ( localize(14586, "User"));
21
+ const SOURCE_SYSTEM = ( localize(14774, "System"));
22
+ const SOURCE_EXTENSION = ( localize(14775, "Extension"));
23
+ const SOURCE_USER = ( localize(14776, "User"));
24
24
  function createKeybindingCommandQuery(commandId, when) {
25
25
  const whenPart = when ? ` +when:${when}` : "";
26
26
  return `@command:${commandId}${whenPart}`;
@@ -270,7 +270,7 @@ let KeybindingsEditorModel = KeybindingsEditorModel_1 = class KeybindingsEditorM
270
270
  if (menuCommand && menuCommand.title && menuCommand.title.original) {
271
271
  const category = menuCommand.category ? menuCommand.category.original : undefined;
272
272
  const title = menuCommand.title.original;
273
- return category ? ( localize(14587, "{0}: {1}", category, title)) : title;
273
+ return category ? ( localize(14777, "{0}: {1}", category, title)) : title;
274
274
  }
275
275
  }
276
276
  return null;
@@ -279,7 +279,7 @@ let KeybindingsEditorModel = KeybindingsEditorModel_1 = class KeybindingsEditorM
279
279
  if (menuCommand) {
280
280
  const category = menuCommand.category ? typeof menuCommand.category === "string" ? menuCommand.category : menuCommand.category.value : undefined;
281
281
  const title = typeof menuCommand.title === "string" ? menuCommand.title : menuCommand.title.value;
282
- return category ? ( localize(14587, "{0}: {1}", category, title)) : title;
282
+ return category ? ( localize(14777, "{0}: {1}", category, title)) : title;
283
283
  }
284
284
  if (editorActionLabel) {
285
285
  return editorActionLabel;
@@ -582,7 +582,7 @@ class KeybindingItemMatches {
582
582
  if (equalsIgnoreCase(this.modifierLabels.user.altKey, word)) {
583
583
  return true;
584
584
  }
585
- if (equalsIgnoreCase(( localize(14588, "option")), word)) {
585
+ if (equalsIgnoreCase(( localize(14778, "option")), word)) {
586
586
  return true;
587
587
  }
588
588
  return false;
@@ -609,7 +609,7 @@ class KeybindingItemMatches {
609
609
  if (equalsIgnoreCase(this.modifierLabels.user.metaKey, word)) {
610
610
  return true;
611
611
  }
612
- if (equalsIgnoreCase(( localize(14589, "meta")), word)) {
612
+ if (equalsIgnoreCase(( localize(14779, "meta")), word)) {
613
613
  return true;
614
614
  }
615
615
  return false;
@@ -9,7 +9,7 @@ import { EditorInput } from '../../../common/editor/editorInput.js';
9
9
  import { IPreferencesService } from './preferences.service.js';
10
10
 
11
11
  var SettingsEditor2Input_1;
12
- const SettingsEditorIcon = registerIcon("settings-editor-label-icon", Codicon.settings, ( localize(14594, "Icon of the settings editor label.")));
12
+ const SettingsEditorIcon = registerIcon("settings-editor-label-icon", Codicon.settings, ( localize(14784, "Icon of the settings editor label.")));
13
13
  let SettingsEditor2Input = class SettingsEditor2Input extends EditorInput {
14
14
  static {
15
15
  SettingsEditor2Input_1 = this;
@@ -32,7 +32,7 @@ let SettingsEditor2Input = class SettingsEditor2Input extends EditorInput {
32
32
  return SettingsEditor2Input_1.ID;
33
33
  }
34
34
  getName() {
35
- return localize(14595, "Settings");
35
+ return localize(14785, "Settings");
36
36
  }
37
37
  getIcon() {
38
38
  return SettingsEditorIcon;
@@ -46,7 +46,7 @@ let SettingsEditor2Input = class SettingsEditor2Input extends EditorInput {
46
46
  }
47
47
  };
48
48
  SettingsEditor2Input = SettingsEditor2Input_1 = ( __decorate([( __param(0, IPreferencesService))], SettingsEditor2Input));
49
- const PreferencesEditorIcon = registerIcon("preferences-editor-label-icon", Codicon.settings, ( localize(14596, "Icon of the preferences editor label.")));
49
+ const PreferencesEditorIcon = registerIcon("preferences-editor-label-icon", Codicon.settings, ( localize(14786, "Icon of the preferences editor label.")));
50
50
  class PreferencesEditorInput extends EditorInput {
51
51
  constructor() {
52
52
  super(...arguments);
@@ -65,7 +65,7 @@ class PreferencesEditorInput extends EditorInput {
65
65
  return PreferencesEditorInput.ID;
66
66
  }
67
67
  getName() {
68
- return localize(14597, "Preferences");
68
+ return localize(14787, "Preferences");
69
69
  }
70
70
  getIcon() {
71
71
  return PreferencesEditorIcon;
@@ -38,7 +38,7 @@ const getStartedWalkthrough = {
38
38
  required: ["id"],
39
39
  properties: {
40
40
  id: {
41
- description: ( localize(14639, "The ID of a Get Started walkthrough to open.")),
41
+ description: ( localize(14829, "The ID of a Get Started walkthrough to open.")),
42
42
  type: "string"
43
43
  }
44
44
  }
@@ -46,12 +46,12 @@ const getStartedWalkthrough = {
46
46
  const remoteHelpExtPoint = ExtensionsRegistry.registerExtensionPoint({
47
47
  extensionPoint: "remoteHelp",
48
48
  jsonSchema: {
49
- description: ( localize(14640, "Contributes help information for Remote")),
49
+ description: ( localize(14830, "Contributes help information for Remote")),
50
50
  type: "object",
51
51
  properties: {
52
52
  "getStarted": {
53
53
  description: ( localize(
54
- 14641,
54
+ 14831,
55
55
  "The url, or a command that returns the url, to your project's Getting Started page, or a walkthrough ID contributed by your project's extension"
56
56
  )),
57
57
  oneOf: [{
@@ -60,29 +60,29 @@ const remoteHelpExtPoint = ExtensionsRegistry.registerExtensionPoint({
60
60
  },
61
61
  "documentation": {
62
62
  description: ( localize(
63
- 14642,
63
+ 14832,
64
64
  "The url, or a command that returns the url, to your project's documentation page"
65
65
  )),
66
66
  type: "string"
67
67
  },
68
68
  "feedback": {
69
69
  description: ( localize(
70
- 14643,
70
+ 14833,
71
71
  "The url, or a command that returns the url, to your project's feedback reporter"
72
72
  )),
73
73
  type: "string",
74
- markdownDeprecationMessage: ( localize(14644, "Use {0} instead", "`reportIssue`"))
74
+ markdownDeprecationMessage: ( localize(14834, "Use {0} instead", "`reportIssue`"))
75
75
  },
76
76
  "reportIssue": {
77
77
  description: ( localize(
78
- 14645,
78
+ 14835,
79
79
  "The url, or a command that returns the url, to your project's issue reporter"
80
80
  )),
81
81
  type: "string"
82
82
  },
83
83
  "issues": {
84
84
  description: ( localize(
85
- 14646,
85
+ 14836,
86
86
  "The url, or a command that returns the url, to your project's issues list"
87
87
  )),
88
88
  type: "string"
@@ -28,8 +28,8 @@ const TUNNELS_TO_RESTORE = "remote.tunnels.toRestore";
28
28
  const TUNNELS_TO_RESTORE_EXPIRATION = "remote.tunnels.toRestoreExpiration";
29
29
  const RESTORE_EXPIRATION_TIME = 1000 * 60 * 60 * 24 * 14;
30
30
  const ACTIVATION_EVENT = "onTunnel";
31
- const forwardedPortsFeaturesEnabled = ( new RawContextKey("forwardedPortsViewEnabled", false, ( localize(14647, "Whether the Ports view is enabled."))));
32
- const forwardedPortsViewEnabled = ( new RawContextKey("forwardedPortsViewOnlyEnabled", false, ( localize(14647, "Whether the Ports view is enabled."))));
31
+ const forwardedPortsFeaturesEnabled = ( new RawContextKey("forwardedPortsViewEnabled", false, ( localize(14837, "Whether the Ports view is enabled."))));
32
+ const forwardedPortsViewEnabled = ( new RawContextKey("forwardedPortsViewOnlyEnabled", false, ( localize(14837, "Whether the Ports view is enabled."))));
33
33
  function parseAddress(address) {
34
34
  const matches = address.match(/^([a-zA-Z0-9_-]+(?:\.[a-zA-Z0-9_-]+)*:)?([0-9]+)$/);
35
35
  if (!matches) {
@@ -54,11 +54,11 @@ var TunnelSource;
54
54
  })(TunnelSource || (TunnelSource = {}));
55
55
  const UserTunnelSource = {
56
56
  source: TunnelSource.User,
57
- description: ( localize(14648, "User Forwarded"))
57
+ description: ( localize(14838, "User Forwarded"))
58
58
  };
59
59
  const AutoTunnelSource = {
60
60
  source: TunnelSource.Auto,
61
- description: ( localize(14649, "Auto Forwarded"))
61
+ description: ( localize(14839, "Auto Forwarded"))
62
62
  };
63
63
  function mapHasAddress(map, host, port) {
64
64
  const initialAddress = map.get(makeAddress(host, port));
@@ -596,7 +596,7 @@ let TunnelModel = class TunnelModel extends Disposable {
596
596
  }
597
597
  this.mismatchCooldown = newCooldown;
598
598
  const mismatchString = ( localize(
599
- 14650,
599
+ 14840,
600
600
  "Local port {0} could not be used for forwarding to remote port {1}.\n\nThis usually happens when there is already another process using local port {0}.\n\nPort number {2} has been used instead.",
601
601
  expectedLocal,
602
602
  tunnel.tunnelRemotePort,
@@ -785,7 +785,7 @@ let TunnelModel = class TunnelModel extends Disposable {
785
785
  privacy: TunnelPrivacyId.ConstantPrivate,
786
786
  source: {
787
787
  source: TunnelSource.Extension,
788
- description: ( localize(14651, "Statically Forwarded"))
788
+ description: ( localize(14841, "Statically Forwarded"))
789
789
  }
790
790
  });
791
791
  this.tunnelService.setEnvironmentTunnel(
@@ -372,7 +372,7 @@ let QueryBuilder = class QueryBuilder {
372
372
  } else {
373
373
  const probableWorkspaceFolderNameMatch = searchPath.match(/\.[\/\\](.+)[\/\\]?/);
374
374
  const probableWorkspaceFolderName = probableWorkspaceFolderNameMatch ? probableWorkspaceFolderNameMatch[1] : searchPath;
375
- const searchPathNotFoundError = ( localize(14655, "Workspace folder does not exist: {0}", probableWorkspaceFolderName));
375
+ const searchPathNotFoundError = ( localize(14845, "Workspace folder does not exist: {0}", probableWorkspaceFolderName));
376
376
  throw ( new Error(searchPathNotFoundError));
377
377
  }
378
378
  }
@@ -1,4 +1,4 @@
1
- import { Disposable, IDisposable } from "../../../../base/common/lifecycle.js";
1
+ import { Disposable, DisposableStore, IDisposable } from "../../../../base/common/lifecycle.js";
2
2
  import { IStorage, IStorageDatabase, IStorageItemsChangeEvent, IUpdateRequest } from "../../../../base/parts/storage/common/storage.js";
3
3
  import { ILogService } from "../../../../platform/log/common/log.service.js";
4
4
  import { AbstractStorageService, StorageScope } from "../../../../platform/storage/common/storage.js";
@@ -13,6 +13,7 @@ export declare class BrowserStorageService extends AbstractStorageService {
13
13
  private applicationStorage;
14
14
  private applicationStorageDatabase;
15
15
  private readonly applicationStoragePromise;
16
+ private readonly applicationStorageDisposables;
16
17
  private profileStorage;
17
18
  private profileStorageDatabase;
18
19
  private profileStorageProfile;
@@ -25,8 +26,11 @@ export declare class BrowserStorageService extends AbstractStorageService {
25
26
  private registerListeners;
26
27
  protected doInitialize(): Promise<void>;
27
28
  private createApplicationStorage;
29
+ protected createApplicationStorageDatabase(disposableStore: DisposableStore): Promise<IStorageDatabase>;
28
30
  private createProfileStorage;
31
+ protected createProfileStorageDatabase(profile: IUserDataProfile, disposableStore: DisposableStore): Promise<IStorageDatabase>;
29
32
  private createWorkspaceStorage;
33
+ protected createWorkspaceStorageDatabase(workspace: IAnyWorkspaceIdentifier, disposableStore: DisposableStore): Promise<IStorageDatabase>;
30
34
  private updateIsNew;
31
35
  protected getStorage(scope: StorageScope): IStorage | undefined;
32
36
  protected getLogDetails(scope: StorageScope): string | undefined;
@@ -15,6 +15,12 @@ import { AbstractStorageService, StorageScope, isProfileUsingDefaultStorage, IS_
15
15
  import { isUserDataProfile } from '../../../../platform/userDataProfile/common/userDataProfile.js';
16
16
 
17
17
  var BrowserStorageService_1;
18
+ function isIIndexedDBStorageDatabase(thing) {
19
+ return thing instanceof IndexedDBStorageDatabase || thing instanceof InMemoryIndexedDBStorageDatabase;
20
+ }
21
+ function getIIndexedDBStorageDatabase(database) {
22
+ return isIIndexedDBStorageDatabase(database) ? database : undefined;
23
+ }
18
24
  let BrowserStorageService = class BrowserStorageService extends AbstractStorageService {
19
25
  static {
20
26
  BrowserStorageService_1 = this;
@@ -24,7 +30,7 @@ let BrowserStorageService = class BrowserStorageService extends AbstractStorageS
24
30
  }
25
31
  get hasPendingUpdate() {
26
32
  return Boolean(
27
- this.applicationStorageDatabase?.hasPendingUpdate || this.profileStorageDatabase?.hasPendingUpdate || this.workspaceStorageDatabase?.hasPendingUpdate
33
+ getIIndexedDBStorageDatabase(this.applicationStorageDatabase)?.hasPendingUpdate || getIIndexedDBStorageDatabase(this.profileStorageDatabase)?.hasPendingUpdate || getIIndexedDBStorageDatabase(this.workspaceStorageDatabase)?.hasPendingUpdate
28
34
  );
29
35
  }
30
36
  constructor(workspace, userDataProfileService, logService) {
@@ -35,6 +41,7 @@ let BrowserStorageService = class BrowserStorageService extends AbstractStorageS
35
41
  this.userDataProfileService = userDataProfileService;
36
42
  this.logService = logService;
37
43
  this.applicationStoragePromise = ( new DeferredPromise());
44
+ this.applicationStorageDisposables = this._register(( new DisposableStore()));
38
45
  this.profileStorageDisposables = this._register(( new DisposableStore()));
39
46
  this.workspaceStorageDisposables = this._register(( new DisposableStore()));
40
47
  this.profileStorageProfile = this.userDataProfileService.currentProfile;
@@ -53,8 +60,7 @@ let BrowserStorageService = class BrowserStorageService extends AbstractStorageS
53
60
  ]);
54
61
  }
55
62
  async createApplicationStorage() {
56
- const applicationStorageIndexedDB = await IndexedDBStorageDatabase.createApplicationStorage(this.logService);
57
- this.applicationStorageDatabase = this._register(applicationStorageIndexedDB);
63
+ this.applicationStorageDatabase = await this.createApplicationStorageDatabase(this.applicationStorageDisposables);
58
64
  this.applicationStorage = this._register(( new Storage(this.applicationStorageDatabase)));
59
65
  this._register(
60
66
  this.applicationStorage.onDidChangeStorage(e => this.emitDidChangeValue(StorageScope.APPLICATION, e))
@@ -62,26 +68,29 @@ let BrowserStorageService = class BrowserStorageService extends AbstractStorageS
62
68
  await this.applicationStorage.init();
63
69
  this.updateIsNew(this.applicationStorage);
64
70
  this.applicationStoragePromise.complete({
65
- indexedDb: applicationStorageIndexedDB,
71
+ database: this.applicationStorageDatabase,
66
72
  storage: this.applicationStorage
67
73
  });
68
74
  }
75
+ async createApplicationStorageDatabase(disposableStore) {
76
+ const applicationStorageIndexedDB = await IndexedDBStorageDatabase.createApplicationStorage(this.logService);
77
+ return disposableStore.add(applicationStorageIndexedDB);
78
+ }
69
79
  async createProfileStorage(profile) {
70
80
  this.profileStorageDisposables.clear();
71
81
  this.profileStorageProfile = profile;
72
82
  if (isProfileUsingDefaultStorage(this.profileStorageProfile)) {
73
83
  const {
74
- indexedDb: applicationStorageIndexedDB,
84
+ database: applicationStorageDatabase,
75
85
  storage: applicationStorage
76
86
  } = await this.applicationStoragePromise.p;
77
- this.profileStorageDatabase = applicationStorageIndexedDB;
87
+ this.profileStorageDatabase = applicationStorageDatabase;
78
88
  this.profileStorage = applicationStorage;
79
89
  this.profileStorageDisposables.add(
80
90
  this.profileStorage.onDidChangeStorage(e => this.emitDidChangeValue(StorageScope.PROFILE, e))
81
91
  );
82
92
  } else {
83
- const profileStorageIndexedDB = await IndexedDBStorageDatabase.createProfileStorage(this.profileStorageProfile, this.logService);
84
- this.profileStorageDatabase = this.profileStorageDisposables.add(profileStorageIndexedDB);
93
+ this.profileStorageDatabase = await this.createProfileStorageDatabase(this.profileStorageProfile, this.profileStorageDisposables);
85
94
  this.profileStorage = this.profileStorageDisposables.add(( new Storage(this.profileStorageDatabase)));
86
95
  this.profileStorageDisposables.add(
87
96
  this.profileStorage.onDidChangeStorage(e => this.emitDidChangeValue(StorageScope.PROFILE, e))
@@ -90,10 +99,13 @@ let BrowserStorageService = class BrowserStorageService extends AbstractStorageS
90
99
  this.updateIsNew(this.profileStorage);
91
100
  }
92
101
  }
102
+ async createProfileStorageDatabase(profile, disposableStore) {
103
+ const profileStorageIndexedDB = await IndexedDBStorageDatabase.createProfileStorage(profile, this.logService);
104
+ return disposableStore.add(profileStorageIndexedDB);
105
+ }
93
106
  async createWorkspaceStorage() {
94
107
  this.workspaceStorageDisposables.clear();
95
- const workspaceStorageIndexedDB = await IndexedDBStorageDatabase.createWorkspaceStorage(this.workspace.id, this.logService);
96
- this.workspaceStorageDatabase = this.workspaceStorageDisposables.add(workspaceStorageIndexedDB);
108
+ this.workspaceStorageDatabase = await this.createWorkspaceStorageDatabase(this.workspace, this.workspaceStorageDisposables);
97
109
  this.workspaceStorage = this.workspaceStorageDisposables.add(( new Storage(this.workspaceStorageDatabase)));
98
110
  this.workspaceStorageDisposables.add(
99
111
  this.workspaceStorage.onDidChangeStorage(e => this.emitDidChangeValue(StorageScope.WORKSPACE, e))
@@ -101,6 +113,10 @@ let BrowserStorageService = class BrowserStorageService extends AbstractStorageS
101
113
  await this.workspaceStorage.init();
102
114
  this.updateIsNew(this.workspaceStorage);
103
115
  }
116
+ async createWorkspaceStorageDatabase(workspace, disposableStore) {
117
+ const workspaceStorageIndexedDB = await IndexedDBStorageDatabase.createWorkspaceStorage(workspace.id, this.logService);
118
+ return disposableStore.add(workspaceStorageIndexedDB);
119
+ }
104
120
  updateIsNew(storage) {
105
121
  const firstOpen = storage.getBoolean(IS_NEW_KEY);
106
122
  if (firstOpen === undefined) {
@@ -122,11 +138,11 @@ let BrowserStorageService = class BrowserStorageService extends AbstractStorageS
122
138
  getLogDetails(scope) {
123
139
  switch (scope) {
124
140
  case StorageScope.APPLICATION:
125
- return this.applicationStorageDatabase?.name;
141
+ return getIIndexedDBStorageDatabase(this.applicationStorageDatabase)?.name;
126
142
  case StorageScope.PROFILE:
127
- return this.profileStorageDatabase?.name;
143
+ return getIIndexedDBStorageDatabase(this.profileStorageDatabase)?.name;
128
144
  default:
129
- return this.workspaceStorageDatabase?.name;
145
+ return getIIndexedDBStorageDatabase(this.workspaceStorageDatabase)?.name;
130
146
  }
131
147
  }
132
148
  async switchToProfile(toProfile) {
@@ -174,9 +190,9 @@ let BrowserStorageService = class BrowserStorageService extends AbstractStorageS
174
190
  await this.getStorage(scope)?.whenFlushed();
175
191
  }
176
192
  await Promises.settled([
177
- this.applicationStorageDatabase?.clear() ?? Promise.resolve(),
178
- this.profileStorageDatabase?.clear() ?? Promise.resolve(),
179
- this.workspaceStorageDatabase?.clear() ?? Promise.resolve()
193
+ getIIndexedDBStorageDatabase(this.applicationStorageDatabase)?.clear() ?? Promise.resolve(),
194
+ getIIndexedDBStorageDatabase(this.profileStorageDatabase)?.clear() ?? Promise.resolve(),
195
+ getIIndexedDBStorageDatabase(this.workspaceStorageDatabase)?.clear() ?? Promise.resolve()
180
196
  ]);
181
197
  }
182
198
  hasScope(scope) {