@codingame/monaco-vscode-api 38.0.2 → 38.0.4

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 (311) hide show
  1. package/package.json +8 -8
  2. package/services.js +3 -3
  3. package/vscode/src/vs/base/browser/browser.js +5 -6
  4. package/vscode/src/vs/base/browser/domStylesheets.js +1 -1
  5. package/vscode/src/vs/base/browser/iframe.js +2 -2
  6. package/vscode/src/vs/base/browser/indexedDB.js +3 -9
  7. package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.js +4 -4
  8. package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +1 -1
  9. package/vscode/src/vs/base/browser/ui/icons/iconSelectBox.js +1 -1
  10. package/vscode/src/vs/base/browser/ui/list/listView.js +1 -1
  11. package/vscode/src/vs/base/browser/ui/list/listWidget.js +4 -4
  12. package/vscode/src/vs/base/browser/ui/radio/radio.js +1 -1
  13. package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +1 -1
  14. package/vscode/src/vs/base/browser/ui/splitview/paneview.js +2 -2
  15. package/vscode/src/vs/base/browser/ui/splitview/splitview.js +1 -1
  16. package/vscode/src/vs/base/browser/ui/table/tableWidget.js +1 -1
  17. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +3 -5
  18. package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +2 -2
  19. package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +6 -6
  20. package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.js +1 -1
  21. package/vscode/src/vs/base/common/arrays.js +3 -3
  22. package/vscode/src/vs/base/common/buffer.js +1 -1
  23. package/vscode/src/vs/base/common/errors.js +1 -1
  24. package/vscode/src/vs/base/common/event.js +3 -3
  25. package/vscode/src/vs/base/common/extpath.js +5 -5
  26. package/vscode/src/vs/base/common/filters.js +3 -3
  27. package/vscode/src/vs/base/common/fuzzyScorer.js +1 -1
  28. package/vscode/src/vs/base/common/glob.js +1 -1
  29. package/vscode/src/vs/base/common/history.js +1 -1
  30. package/vscode/src/vs/base/common/iconLabels.js +1 -1
  31. package/vscode/src/vs/base/common/json.js +3 -3
  32. package/vscode/src/vs/base/common/jsonEdit.js +1 -1
  33. package/vscode/src/vs/base/common/jsonFormatter.js +63 -68
  34. package/vscode/src/vs/base/common/keybindingParser.js +1 -1
  35. package/vscode/src/vs/base/common/labels.js +14 -14
  36. package/vscode/src/vs/base/common/markdownLinks.js +48 -32
  37. package/vscode/src/vs/base/common/network.js +1 -1
  38. package/vscode/src/vs/base/common/oauth.js +3 -3
  39. package/vscode/src/vs/base/common/path.js +5 -5
  40. package/vscode/src/vs/base/common/platform.js +10 -11
  41. package/vscode/src/vs/base/common/policy.js +0 -1
  42. package/vscode/src/vs/base/common/resources.js +2 -2
  43. package/vscode/src/vs/base/common/search.js +13 -19
  44. package/vscode/src/vs/base/common/sseParser.js +3 -3
  45. package/vscode/src/vs/base/common/stream.js +1 -1
  46. package/vscode/src/vs/base/common/strings.js +4 -4
  47. package/vscode/src/vs/base/common/uri.js +4 -4
  48. package/vscode/src/vs/base/common/validation.js +1 -1
  49. package/vscode/src/vs/editor/browser/config/migrateOptions.js +2 -2
  50. package/vscode/src/vs/editor/browser/controller/editContext/screenReaderUtils.js +1 -1
  51. package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +2 -2
  52. package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextState.js +2 -2
  53. package/vscode/src/vs/editor/browser/editorExtensions.js +1 -1
  54. package/vscode/src/vs/editor/browser/gpu/css/decorationCssRuleExtractor.js +1 -1
  55. package/vscode/src/vs/editor/browser/view.js +2 -2
  56. package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +2 -2
  57. package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +1 -1
  58. package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +1 -1
  59. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.js +1 -1
  60. package/vscode/src/vs/editor/common/config/editorOptions.js +3 -3
  61. package/vscode/src/vs/editor/common/core/edits/textEdit.js +1 -1
  62. package/vscode/src/vs/editor/common/core/wordHelper.js +1 -1
  63. package/vscode/src/vs/editor/common/cursor/cursor.js +1 -1
  64. package/vscode/src/vs/editor/common/cursor/cursorTypeEditOperations.js +1 -1
  65. package/vscode/src/vs/editor/common/cursorCommon.js +1 -1
  66. package/vscode/src/vs/editor/common/languageFeatureRegistry.js +1 -1
  67. package/vscode/src/vs/editor/common/languages/supports/inplaceReplaceSupport.js +1 -1
  68. package/vscode/src/vs/editor/common/languages/supports/richEditBrackets.js +2 -2
  69. package/vscode/src/vs/editor/common/languages/supports/tokenization.js +2 -2
  70. package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase.js +1 -1
  71. package/vscode/src/vs/editor/common/model/textModel.js +2 -2
  72. package/vscode/src/vs/editor/common/model/textModelSearch.js +2 -2
  73. package/vscode/src/vs/editor/common/model/tokens/tokenizerSyntaxTokenBackend.js +1 -1
  74. package/vscode/src/vs/editor/common/services/languagesAssociations.js +47 -22
  75. package/vscode/src/vs/editor/common/services/markerDecorationsService.js +3 -3
  76. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionKeybindingResolver.js +20 -20
  77. package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +1 -1
  78. package/vscode/src/vs/editor/contrib/comment/browser/blockCommentCommand.js +3 -3
  79. package/vscode/src/vs/editor/contrib/comment/browser/lineCommentCommand.js +4 -4
  80. package/vscode/src/vs/editor/contrib/find/browser/findDecorations.js +1 -1
  81. package/vscode/src/vs/editor/contrib/find/browser/findModel.js +2 -2
  82. package/vscode/src/vs/editor/contrib/format/browser/format.js +1 -1
  83. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +2 -2
  84. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +1 -1
  85. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +1 -1
  86. package/vscode/src/vs/editor/contrib/linesOperations/browser/moveLinesCommand.js +1 -1
  87. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +2 -2
  88. package/vscode/src/vs/editor/contrib/semanticTokens/browser/documentSemanticTokens.js +1 -1
  89. package/vscode/src/vs/editor/contrib/snippet/browser/snippetParser.js +1 -1
  90. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +2 -2
  91. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +1 -1
  92. package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.js +1 -1
  93. package/vscode/src/vs/nls.js +1 -1
  94. package/vscode/src/vs/platform/accessibility/browser/accessibleViewRegistry.js +3 -3
  95. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +10 -10
  96. package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
  97. package/vscode/src/vs/platform/agentHost/common/agentHostFileSystemProvider.js +1 -1
  98. package/vscode/src/vs/platform/agentHost/common/agentMergePrompt.js +1 -1
  99. package/vscode/src/vs/platform/agentHost/common/changesetUri.js +0 -1
  100. package/vscode/src/vs/platform/agentHost/common/codexModelSelection.js +17 -9
  101. package/vscode/src/vs/platform/agentHost/common/meta/copilotd/toolPresentation.js +1 -1
  102. package/vscode/src/vs/platform/agentHost/common/state/agentSubscription.js +0 -1
  103. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-automation-run/reducer.js +31 -19
  104. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/reducer.js +1 -1
  105. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/reducer.js +3 -3
  106. package/vscode/src/vs/platform/agentHost/common/state/sessionState.js +0 -1
  107. package/vscode/src/vs/platform/agentHost/common/webSocketOverDuplex.js +1 -1
  108. package/vscode/src/vs/platform/browserView/common/browserView.js +1 -2
  109. package/vscode/src/vs/platform/configuration/common/configuration.js +1 -1
  110. package/vscode/src/vs/platform/configuration/common/configurationModels.js +11 -15
  111. package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +2 -2
  112. package/vscode/src/vs/platform/configuration/common/configurationVariables.js +17 -12
  113. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
  114. package/vscode/src/vs/platform/contextkey/common/contextkey.js +1 -1
  115. package/vscode/src/vs/platform/dnd/browser/dnd.js +2 -2
  116. package/vscode/src/vs/platform/environment/common/environmentService.js +0 -1
  117. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +1 -1
  118. package/vscode/src/vs/platform/files/common/watcher.js +1 -1
  119. package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  120. package/vscode/src/vs/platform/hover/browser/hoverWidget.js +1 -1
  121. package/vscode/src/vs/platform/jsonschemas/common/jsonContributionRegistry.js +1 -1
  122. package/vscode/src/vs/platform/list/browser/listService.js +1 -1
  123. package/vscode/src/vs/platform/markers/common/markerService.js +1 -1
  124. package/vscode/src/vs/platform/mcp/common/envVarResolution.js +5 -2
  125. package/vscode/src/vs/platform/mcp/common/mcpManagementService.js +1 -1
  126. package/vscode/src/vs/platform/policy/common/copilotManagedSettings.js +1 -1
  127. package/vscode/src/vs/platform/product/common/product.js +1 -1
  128. package/vscode/src/vs/platform/quickinput/browser/pickerQuickAccess.js +2 -2
  129. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +1 -1
  130. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +1 -1
  131. package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +1 -1
  132. package/vscode/src/vs/platform/quickinput/common/quickAccess.js +1 -1
  133. package/vscode/src/vs/platform/remote/common/remoteAgentConnection.js +1 -1
  134. package/vscode/src/vs/platform/remote/common/remoteAuthorityResolver.js +6 -4
  135. package/vscode/src/vs/platform/remote/common/remoteHosts.js +2 -2
  136. package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/terminalCommand.js +2 -2
  137. package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +2 -2
  138. package/vscode/src/vs/platform/terminal/common/xterm/shellIntegrationAddon.js +2 -2
  139. package/vscode/src/vs/platform/theme/common/colorUtils.js +3 -3
  140. package/vscode/src/vs/platform/theme/common/iconRegistry.js +2 -2
  141. package/vscode/src/vs/platform/theme/common/sizeUtils.js +3 -3
  142. package/vscode/src/vs/platform/theme/common/themeService.js +1 -1
  143. package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +4 -4
  144. package/vscode/src/vs/platform/tunnel/common/tunnel.js +2 -2
  145. package/vscode/src/vs/platform/url/common/trustedDomains.js +1 -1
  146. package/vscode/src/vs/platform/url/common/urlGlob.js +2 -2
  147. package/vscode/src/vs/platform/userDataSync/common/settingsMerge.js +12 -12
  148. package/vscode/src/vs/sessions/browser/openInVSCodeUtils.js +0 -1
  149. package/vscode/src/vs/sessions/browser/parts/mobile/contributions/mobileChangesView.js +0 -1
  150. package/vscode/src/vs/sessions/contrib/agentFeedback/browser/agentFeedbackAttachmentEntry.js +0 -1
  151. package/vscode/src/vs/sessions/contrib/agentFeedback/browser/agentFeedbackService.js +0 -1
  152. package/vscode/src/vs/sessions/contrib/changes/browser/changesView.js +1 -1
  153. package/vscode/src/vs/sessions/contrib/changes/browser/changesViewService.js +0 -1
  154. package/vscode/src/vs/sessions/contrib/changes/browser/createPullRequestWidget.js +2 -2
  155. package/vscode/src/vs/sessions/contrib/chat/browser/agentHostInputCompletions.js +1 -1
  156. package/vscode/src/vs/sessions/contrib/chat/browser/sessionComparisonResult.js +5 -5
  157. package/vscode/src/vs/sessions/contrib/chat/browser/sessionReferenceCompletions.js +2 -2
  158. package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostAutomationStore.js +1 -1
  159. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/devTunnelsModule.js +47 -47
  160. package/vscode/src/vs/sessions/contrib/sessions/browser/views/sessionsListNotice.js +0 -1
  161. package/vscode/src/vs/workbench/api/browser/mainThreadDocuments.js +1 -1
  162. package/vscode/src/vs/workbench/api/common/extHostCodeInsets.js +1 -1
  163. package/vscode/src/vs/workbench/api/common/extHostDocumentContentProviders.js +1 -1
  164. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +1 -1
  165. package/vscode/src/vs/workbench/api/common/extHostFileSystem.js +1 -1
  166. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +1 -1
  167. package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +1 -1
  168. package/vscode/src/vs/workbench/api/common/extHostSCM.js +1 -1
  169. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +1 -1
  170. package/vscode/src/vs/workbench/api/common/extHostTesting.js +1 -1
  171. package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +2 -2
  172. package/vscode/src/vs/workbench/api/common/extHostWebviewMessaging.js +1 -1
  173. package/vscode/src/vs/workbench/browser/actions/navigationActions.js +1 -1
  174. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +1 -1
  175. package/vscode/src/vs/workbench/browser/chatPills.js +2 -2
  176. package/vscode/src/vs/workbench/browser/composite.js +1 -1
  177. package/vscode/src/vs/workbench/browser/labels.js +1 -1
  178. package/vscode/src/vs/workbench/browser/parts/compositeBar.js +2 -2
  179. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +1 -1
  180. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +1 -1
  181. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +4 -4
  182. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +5 -5
  183. package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +4 -6
  184. package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +3 -3
  185. package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +1 -1
  186. package/vscode/src/vs/workbench/browser/parts/editor/editorsObserver.js +1 -1
  187. package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +2 -2
  188. package/vscode/src/vs/workbench/browser/parts/notifications/notificationAccessibleView.js +2 -2
  189. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +2 -2
  190. package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +1 -3
  191. package/vscode/src/vs/workbench/browser/parts/views/treeView.js +1 -1
  192. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +1 -1
  193. package/vscode/src/vs/workbench/common/editor/editorGroupModel.js +17 -21
  194. package/vscode/src/vs/workbench/common/editor/filteredEditorGroupModel.js +4 -4
  195. package/vscode/src/vs/workbench/common/notifications.js +2 -2
  196. package/vscode/src/vs/workbench/common/views.js +1 -1
  197. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatConstants.js +0 -1
  198. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostByokLmHandler.js +1 -1
  199. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatReferenceAttachment.js +1 -1
  200. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationService.js +1 -1
  201. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/stateToProgressAdapter.js +2 -2
  202. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationDiscoveryPage.js +1 -1
  203. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementSectionRegistry.js +1 -1
  204. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationCardList.js +0 -1
  205. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationTree.js +0 -1
  206. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpServerCount.js +1 -1
  207. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatContextPickService.js +1 -1
  208. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables.js +2 -2
  209. package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostLogSources.js +2 -2
  210. package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.js +1 -1
  211. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookUtils.js +2 -2
  212. package/vscode/src/vs/workbench/contrib/chat/browser/tools/chatToolRiskAssessmentService.js +1 -1
  213. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatClipboard.js +4 -1
  214. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatAgentMergeContentPart.js +1 -1
  215. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatCollections.js +1 -1
  216. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuestionCarouselPart.js +2 -2
  217. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatResourceGroupWidget.js +1 -1
  218. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSystemNotificationContentPart.js +2 -2
  219. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingContentPart.js +8 -8
  220. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatPetWidget.js +2 -2
  221. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWorkingLogoDraw.js +1 -1
  222. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNoticeHost.js +1 -1
  223. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputPickerResponsiveLayout.js +1 -1
  224. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatPasteProviders.js +1 -1
  225. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerPresentation.js +1 -1
  226. package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.js +1 -1
  227. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +3 -3
  228. package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.js +2 -2
  229. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement.js +2 -2
  230. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.js +1 -1
  231. package/vscode/src/vs/workbench/contrib/chat/common/plugins/marketplaceReference.js +1 -1
  232. package/vscode/src/vs/workbench/contrib/chat/common/plugins/strictKnownMarketplaces.js +2 -2
  233. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +1 -1
  234. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +2 -2
  235. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +1 -1
  236. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +1 -1
  237. package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +2 -2
  238. package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +2 -2
  239. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +3 -3
  240. package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
  241. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.js +1 -1
  242. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.js +2 -2
  243. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.js +17 -31
  244. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.js +1 -1
  245. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.js +10 -10
  246. package/vscode/src/vs/workbench/contrib/extensions/browser/workspaceRecommendations.js +2 -2
  247. package/vscode/src/vs/workbench/contrib/extensions/common/extensionQuery.js +1 -1
  248. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +1 -1
  249. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +1 -1
  250. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +1 -1
  251. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +2 -2
  252. package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +3 -3
  253. package/vscode/src/vs/workbench/contrib/files/common/explorerModel.js +1 -1
  254. package/vscode/src/vs/workbench/contrib/markdown/common/markedKatexExtension.js +1 -1
  255. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerConfigurationForm.js +1 -1
  256. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeMarkers/mergeMarkersController.js +0 -1
  257. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +1 -1
  258. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +1 -1
  259. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +5 -5
  260. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiffWidget.js +1 -1
  261. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +8 -8
  262. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +3 -3
  263. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffViewModel.js +2 -2
  264. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorExtensions.js +1 -1
  265. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +4 -4
  266. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.js +1 -1
  267. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +6 -8
  268. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +1 -1
  269. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.js +2 -2
  270. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +1 -1
  271. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellEditorOptions.js +1 -1
  272. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputTextHelper.js +1 -1
  273. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +2 -2
  274. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookCellOverlays.js +16 -18
  275. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +1 -1
  276. package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +1 -1
  277. package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +4 -4
  278. package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditor.js +1 -1
  279. package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +1 -1
  280. package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +1 -1
  281. package/vscode/src/vs/workbench/contrib/search/common/search.js +2 -2
  282. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +5 -5
  283. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +1 -1
  284. package/vscode/src/vs/workbench/contrib/tasks/common/taskConfiguration.js +5 -5
  285. package/vscode/src/vs/workbench/contrib/terminal/browser/agentHostTerminalService.js +1 -1
  286. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTabsList.js +5 -5
  287. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationAddon.js +1 -1
  288. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.js +2 -2
  289. package/vscode/src/vs/workbench/contrib/testing/common/testId.js +1 -1
  290. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +1 -1
  291. package/vscode/src/vs/workbench/contrib/update/browser/releaseNotesEditor.js +1 -1
  292. package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +1 -1
  293. package/vscode/src/vs/workbench/services/activity/browser/activityService.js +2 -2
  294. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +1 -1
  295. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverExpression.js +1 -1
  296. package/vscode/src/vs/workbench/services/editor/common/editorGroupColumn.js +6 -3
  297. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
  298. package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +2 -2
  299. package/vscode/src/vs/workbench/services/extensions/common/workspaceContains.js +1 -1
  300. package/vscode/src/vs/workbench/services/keybinding/browser/unboundCommands.js +1 -1
  301. package/vscode/src/vs/workbench/services/notebook/common/notebookDocumentService.js +1 -1
  302. package/vscode/src/vs/workbench/services/path/common/pathService.js +2 -2
  303. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +3 -11
  304. package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +5 -5
  305. package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +1 -1
  306. package/vscode/src/vs/workbench/services/search/common/ignoreFile.js +32 -30
  307. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
  308. package/vscode/src/vs/workbench/services/textfile/common/encoding.js +1 -1
  309. package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +2 -2
  310. package/vscode/src/vs/workbench/services/themes/common/plistParser.js +2 -2
  311. package/vscode/src/vs/workbench/services/workspaces/common/workspaceTrust.js +1 -1
@@ -157,7 +157,7 @@ class ConfigurationModel {
157
157
  }
158
158
  }
159
159
  for (const key of other.keys) {
160
- if (keys.indexOf(key) === -1) {
160
+ if (( keys.indexOf(key)) === -1) {
161
161
  keys.push(key);
162
162
  }
163
163
  }
@@ -238,7 +238,7 @@ class ConfigurationModel {
238
238
  this.updateValue(key, value, false);
239
239
  }
240
240
  removeValue(key) {
241
- const index = this.keys.indexOf(key);
241
+ const index = ( this.keys.indexOf(key));
242
242
  if (index === -1) {
243
243
  return;
244
244
  }
@@ -253,7 +253,7 @@ class ConfigurationModel {
253
253
  }
254
254
  updateValue(key, value, add) {
255
255
  addToValueTree(this.contents, key, value, e => this.logService.error(e));
256
- add = add || this.keys.indexOf(key) === -1;
256
+ add = add || ( this.keys.indexOf(key)) === -1;
257
257
  if (add) {
258
258
  this.keys.push(key);
259
259
  }
@@ -903,14 +903,10 @@ let Configuration$1 = class Configuration {
903
903
  for (const overrideIdentifier of overrideIdentifiersFromKey(key)) {
904
904
  const fromKeys = this._defaultConfiguration.getKeysForOverrideIdentifier(overrideIdentifier);
905
905
  const toKeys = defaults.getKeysForOverrideIdentifier(overrideIdentifier);
906
- const keys = [
907
- ...toKeys.filter(key => fromKeys.indexOf(key) === -1),
908
- ...fromKeys.filter(key => toKeys.indexOf(key) === -1),
909
- ...fromKeys.filter(key => !equals$1(
910
- this._defaultConfiguration.override(overrideIdentifier).getValue(key),
911
- defaults.override(overrideIdentifier).getValue(key)
912
- ))
913
- ];
906
+ const keys = [...toKeys.filter(key => ( fromKeys.indexOf(key)) === -1), ...fromKeys.filter(key => ( toKeys.indexOf(key)) === -1), ...fromKeys.filter(key => !equals$1(
907
+ this._defaultConfiguration.override(overrideIdentifier).getValue(key),
908
+ defaults.override(overrideIdentifier).getValue(key)
909
+ ))];
914
910
  overrides.push([overrideIdentifier, keys]);
915
911
  }
916
912
  }
@@ -1295,7 +1291,7 @@ class ConfigurationChangeEvent {
1295
1291
  }
1296
1292
  affectsConfiguration(section, overrides) {
1297
1293
  const needle = this._marker + section;
1298
- const idx = this._affectsConfigStr.indexOf(needle);
1294
+ const idx = ( this._affectsConfigStr.indexOf(needle));
1299
1295
  if (idx < 0) {
1300
1296
  return false;
1301
1297
  }
@@ -1358,12 +1354,12 @@ function compare(from, to) {
1358
1354
  };
1359
1355
  }
1360
1356
  function compareConfigurationContents(to, from) {
1361
- const added = to ? from ? to.keys.filter(key => from.keys.indexOf(key) === -1) : [...to.keys] : [];
1362
- const removed = from ? to ? from.keys.filter(key => to.keys.indexOf(key) === -1) : [...from.keys] : [];
1357
+ const added = to ? from ? to.keys.filter(key => ( from.keys.indexOf(key)) === -1) : [...to.keys] : [];
1358
+ const removed = from ? to ? from.keys.filter(key => ( to.keys.indexOf(key)) === -1) : [...from.keys] : [];
1363
1359
  const updated = [];
1364
1360
  if (to && from) {
1365
1361
  for (const key of from.keys) {
1366
- if (to.keys.indexOf(key) !== -1) {
1362
+ if (( to.keys.indexOf(key)) !== -1) {
1367
1363
  const value1 = getConfigurationValue(from.contents, key);
1368
1364
  const value2 = getConfigurationValue(to.contents, key);
1369
1365
  if (!equals$1(value1, value2)) {
@@ -230,7 +230,7 @@ class ConfigurationRegistry extends Disposable {
230
230
  }
231
231
  doDeregisterDefaultConfigurations(defaultConfigurations, bucket) {
232
232
  for (const defaultConfiguration of defaultConfigurations) {
233
- const index = this.registeredConfigurationDefaults.indexOf(defaultConfiguration);
233
+ const index = ( this.registeredConfigurationDefaults.indexOf(defaultConfiguration));
234
234
  if (index !== -1) {
235
235
  this.registeredConfigurationDefaults.splice(index, 1);
236
236
  }
@@ -491,7 +491,7 @@ class ConfigurationRegistry extends Disposable {
491
491
  };
492
492
  for (const configuration of configurations) {
493
493
  deregisterConfiguration(configuration);
494
- const index = this.configurationContributors.indexOf(configuration);
494
+ const index = ( this.configurationContributors.indexOf(configuration));
495
495
  if (index !== -1) {
496
496
  this.configurationContributors.splice(index, 1);
497
497
  }
@@ -1,16 +1,15 @@
1
1
 
2
2
 
3
3
  function parseConfigurationVariable(value, start) {
4
- if (value[start] !== '$' || value[start + 1] !== '{') {
4
+ if (value[start] !== "$" || value[start + 1] !== "{") {
5
5
  return undefined;
6
6
  }
7
7
  let end = start + 2;
8
8
  let braceCount = 1;
9
9
  while (end < value.length) {
10
- if (value[end] === '{') {
10
+ if (value[end] === "{") {
11
11
  braceCount++;
12
- }
13
- else if (value[end] === '}') {
12
+ } else if (value[end] === "}") {
14
13
  braceCount--;
15
14
  if (braceCount === 0) {
16
15
  break;
@@ -23,23 +22,29 @@ function parseConfigurationVariable(value, start) {
23
22
  }
24
23
  const id = value.slice(start, end + 1);
25
24
  const inner = value.substring(start + 2, end);
26
- const colon = inner.indexOf(':');
25
+ const colon = ( inner.indexOf(":"));
27
26
  return {
28
- replacement: colon === -1
29
- ? { id, name: inner, inner }
30
- : { id, inner, name: inner.slice(0, colon), arg: inner.slice(colon + 1) },
27
+ replacement: colon === -1 ? {
28
+ id,
29
+ name: inner,
30
+ inner
31
+ } : {
32
+ id,
33
+ inner,
34
+ name: inner.slice(0, colon),
35
+ arg: inner.slice(colon + 1)
36
+ },
31
37
  end
32
38
  };
33
39
  }
34
40
  function hasConfigurationVariable(value) {
35
41
  let unmatchedClosingBraces = 0;
36
42
  for (let offset = value.length - 1; offset >= 0; offset--) {
37
- if (value[offset] === '}') {
43
+ if (value[offset] === "}") {
38
44
  unmatchedClosingBraces++;
39
- }
40
- else if (value[offset] === '{' && unmatchedClosingBraces > 0) {
45
+ } else if (value[offset] === "{" && unmatchedClosingBraces > 0) {
41
46
  unmatchedClosingBraces--;
42
- if (offset > 0 && value[offset - 1] === '$') {
47
+ if (offset > 0 && value[offset - 1] === "$") {
43
48
  return true;
44
49
  }
45
50
  }
@@ -119,7 +119,7 @@ class ConfigAwareContextValuesContainer extends Context {
119
119
  this._listener.dispose();
120
120
  }
121
121
  getValue(key) {
122
- if (key.indexOf(ConfigAwareContextValuesContainer._keyPrefix) !== 0) {
122
+ if (( key.indexOf(ConfigAwareContextValuesContainer._keyPrefix)) !== 0) {
123
123
  return super.getValue(key);
124
124
  }
125
125
  if (( this._values.has(key))) {
@@ -251,7 +251,7 @@ class Parser {
251
251
  this._advance();
252
252
  let regex = null;
253
253
  if (!isFalsyOrWhitespace(serializedValue)) {
254
- const start = serializedValue.indexOf("/");
254
+ const start = ( serializedValue.indexOf("/"));
255
255
  const end = serializedValue.lastIndexOf("/");
256
256
  if (start !== end && start >= 0) {
257
257
  const value = serializedValue.slice(start + 1, end);
@@ -117,7 +117,7 @@ function createDraggedEditorInputFromRawResourcesData(rawResourcesData) {
117
117
  if (rawResourcesData) {
118
118
  const resourcesRaw = JSON.parse(rawResourcesData);
119
119
  for (const resourceRaw of resourcesRaw) {
120
- if (resourceRaw.indexOf(":") > 0) {
120
+ if (( resourceRaw.indexOf(":")) > 0) {
121
121
  const {
122
122
  selection,
123
123
  uri
@@ -233,7 +233,7 @@ function containsDragType(event, ...dragTypesToFind) {
233
233
  lowercaseDragTypes.push(dragTypes[i].toLowerCase());
234
234
  }
235
235
  for (const dragType of dragTypesToFind) {
236
- if (lowercaseDragTypes.indexOf(dragType.toLowerCase()) >= 0) {
236
+ if (( lowercaseDragTypes.indexOf(dragType.toLowerCase())) >= 0) {
237
237
  return true;
238
238
  }
239
239
  }
@@ -1,5 +1,4 @@
1
1
 
2
- import '../../../nls.js';
3
2
  import '../../../base/common/lazy.js';
4
3
  import '../../../base/common/platform.js';
5
4
  import '../../../base/common/errors.js';
@@ -806,7 +806,7 @@ let ExtensionsScanner = class ExtensionsScanner extends ExtensionManifestTransla
806
806
  if (!c.isDirectory) {
807
807
  return null;
808
808
  }
809
- if (input.type === ExtensionType.User && basename$1(c.resource).indexOf(".") === 0) {
809
+ if (input.type === ExtensionType.User && ( basename$1(c.resource).indexOf(".")) === 0) {
810
810
  return null;
811
811
  }
812
812
  const extensionScannerInput = ( new ExtensionScannerInput(
@@ -49,7 +49,7 @@ class AbstractWatcherClient extends Disposable {
49
49
  if (failedRequest) {
50
50
  return false;
51
51
  }
52
- if (error.indexOf("No space left on device") !== -1 || error.indexOf("EMFILE") !== -1) {
52
+ if (( error.indexOf("No space left on device")) !== -1 || ( error.indexOf("EMFILE")) !== -1) {
53
53
  return false;
54
54
  }
55
55
  return true;
@@ -42,7 +42,7 @@ function registerAndCreateHistoryNavigationContext(scopedContextKeyService, widg
42
42
  disposableStore.add(widget.onDidFocus(() => onDidFocus()));
43
43
  disposableStore.add(widget.onDidBlur(() => onDidBlur()));
44
44
  disposableStore.add(toDisposable(() => {
45
- widgets.splice(widgets.indexOf(widget), 1);
45
+ widgets.splice(( widgets.indexOf(widget)), 1);
46
46
  onDidBlur();
47
47
  }));
48
48
  return {
@@ -618,7 +618,7 @@ class CompositeMouseTracker extends Widget {
618
618
  addDisposableListener(element, EventType.MOUSE_LEAVE, () => this._onTargetMouseLeave())
619
619
  );
620
620
  store.add(toDisposable(() => {
621
- const index = this._elements.indexOf(element);
621
+ const index = ( this._elements.indexOf(element));
622
622
  if (index >= 0) {
623
623
  this._elements.splice(index, 1);
624
624
  }
@@ -46,7 +46,7 @@ class JSONContributionRegistry extends Disposable {
46
46
  return toDisposable(() => {
47
47
  const associations = this.schemaAssociations[normalizedUri];
48
48
  if (associations) {
49
- const index = associations.indexOf(glob);
49
+ const index = ( associations.indexOf(glob));
50
50
  if (index !== -1) {
51
51
  associations.splice(index, 1);
52
52
  if (associations.length === 0) {
@@ -55,7 +55,7 @@ class ListService {
55
55
  }
56
56
  return combinedDisposable(
57
57
  widget.onDidFocus(() => this.setLastFocusedList(widget)),
58
- toDisposable(() => this.lists.splice(this.lists.indexOf(registeredList), 1)),
58
+ toDisposable(() => this.lists.splice(( this.lists.indexOf(registeredList)), 1)),
59
59
  widget.onDidDispose(() => {
60
60
  this.lists = this.lists.filter(l => l !== registeredList);
61
61
  if (this._lastFocusedWidget === widget) {
@@ -183,7 +183,7 @@ class MarkerService {
183
183
  if (!reasons) {
184
184
  return;
185
185
  }
186
- const reasonIndex = reasons.indexOf(reason);
186
+ const reasonIndex = ( reasons.indexOf(reason));
187
187
  if (reasonIndex !== -1) {
188
188
  reasons.splice(reasonIndex, 1);
189
189
  if (reasons.length === 0) {
@@ -144,7 +144,7 @@ function defaultWordEnd(value, start) {
144
144
  if (balanced !== undefined) {
145
145
  return balanced;
146
146
  }
147
- const first = value.indexOf("}", start);
147
+ const first = ( value.indexOf("}", start));
148
148
  return first === -1 ? undefined : first;
149
149
  }
150
150
  function parseBracedReference(value, start) {
@@ -187,7 +187,10 @@ function hasEnvVarReferences(value, options) {
187
187
  if (value.length > MAX_ENV_VAR_RESOLVE_LENGTH) {
188
188
  return false;
189
189
  }
190
- for (let start = value.indexOf("$"); start !== -1; start = value.indexOf("$", start + 1)) {
190
+ for (let start = ( value.indexOf("$"));
191
+ start !== -1;
192
+ start = ( value.indexOf("$", start + 1)))
193
+ {
191
194
  if (parseReference(value, start)) {
192
195
  return true;
193
196
  }
@@ -586,7 +586,7 @@ let McpUserResourceManagementService = class McpUserResourceManagementService ex
586
586
  const content = await this.fileService.readFile(manifestLocation);
587
587
  storedMcpServerInfo = JSON.parse(( content.value.toString()));
588
588
  if (storedMcpServerInfo.galleryUrl?.includes("/v0/")) {
589
- storedMcpServerInfo.galleryUrl = storedMcpServerInfo.galleryUrl.substring(0, storedMcpServerInfo.galleryUrl.indexOf("/v0/"));
589
+ storedMcpServerInfo.galleryUrl = storedMcpServerInfo.galleryUrl.substring(0, ( storedMcpServerInfo.galleryUrl.indexOf("/v0/")));
590
590
  await this.fileService.writeFile(manifestLocation, VSBuffer.fromString(JSON.stringify(storedMcpServerInfo)));
591
591
  }
592
592
  storedMcpServerInfo.location = location;
@@ -321,7 +321,7 @@ function readNestedManagedKey(obj, dottedKey) {
321
321
  return current;
322
322
  }
323
323
  function withNestedManagedKeyDeleted(obj, dottedKey) {
324
- const dot = dottedKey.indexOf(".");
324
+ const dot = ( dottedKey.indexOf("."));
325
325
  if (dot === -1) {
326
326
  const clone = {
327
327
  ...obj
@@ -6,7 +6,7 @@ var product = {
6
6
  quality: 'stable',
7
7
  version: '1.142.0',
8
8
  commit: 'd956e8a6ac5d904486557eea07e1d6bd62a4d36f',
9
- date: '2026-10-20T10:53:25.528Z',
9
+ date: '2026-10-22T17:05:11.105Z',
10
10
  ...(globalThis._VSCODE_PRODUCT_JSON ?? {})
11
11
  };
12
12
 
@@ -112,7 +112,7 @@ class PickerQuickAccessProvider extends Disposable {
112
112
  let fallbackActivePick = undefined;
113
113
  if (!activePick && !additionalActivePick) {
114
114
  const fallbackActivePickCandidate = picker.activeItems[0];
115
- if (fallbackActivePickCandidate && picks.indexOf(fallbackActivePickCandidate) !== -1) {
115
+ if (fallbackActivePickCandidate && ( picks.indexOf(fallbackActivePickCandidate)) !== -1) {
116
116
  fallbackActivePick = fallbackActivePickCandidate;
117
117
  }
118
118
  }
@@ -200,7 +200,7 @@ class PickerQuickAccessProvider extends Disposable {
200
200
  break;
201
201
  case TriggerAction.REMOVE_ITEM:
202
202
  {
203
- const index = picker.items.indexOf(item);
203
+ const index = ( picker.items.indexOf(item));
204
204
  if (index !== -1) {
205
205
  const items = picker.items.slice();
206
206
  const removed = items.splice(index, 1);
@@ -191,7 +191,7 @@ class QuickInput extends Disposable {
191
191
  return;
192
192
  }
193
193
  this.visibleDisposables.add(this.ui.onDidTriggerButton(button => {
194
- if (this.buttons.indexOf(button) !== -1) {
194
+ if (( this.buttons.indexOf(button)) !== -1) {
195
195
  this.onDidTriggerButtonEmitter.fire(button);
196
196
  }
197
197
  }));
@@ -460,7 +460,7 @@ let QuickInputController = class QuickInputController extends Disposable {
460
460
  event => options.onDidTriggerItemButton && options.onDidTriggerItemButton({
461
461
  ...event,
462
462
  removeItem: () => {
463
- const index = input.items.indexOf(event.item);
463
+ const index = ( input.items.indexOf(event.item));
464
464
  if (index !== -1) {
465
465
  const items = input.items.slice();
466
466
  const removed = items.splice(index, 1);
@@ -1309,7 +1309,7 @@ function matchesContiguousIconAware(query, target) {
1309
1309
  return matches;
1310
1310
  }
1311
1311
  function matchesContiguous(word, wordToMatchAgainst) {
1312
- const matchIndex = wordToMatchAgainst.toLowerCase().indexOf(word.toLowerCase());
1312
+ const matchIndex = ( wordToMatchAgainst.toLowerCase().indexOf(word.toLowerCase()));
1313
1313
  if (matchIndex !== -1) {
1314
1314
  return [{
1315
1315
  start: matchIndex,
@@ -26,7 +26,7 @@ class QuickAccessRegistry {
26
26
  (providerA, providerB) => providerB.prefix.length - providerA.prefix.length
27
27
  );
28
28
  return toDisposable(() => {
29
- this.providers.splice(this.providers.indexOf(provider), 1);
29
+ this.providers.splice(( this.providers.indexOf(provider)), 1);
30
30
  if (this.defaultProvider === provider) {
31
31
  this.defaultProvider = undefined;
32
32
  }
@@ -548,7 +548,7 @@ class PersistentConnection extends Disposable {
548
548
  }));
549
549
  PersistentConnection._instances.push(this);
550
550
  this._register(toDisposable(() => {
551
- const myIndex = PersistentConnection._instances.indexOf(this);
551
+ const myIndex = ( PersistentConnection._instances.indexOf(this));
552
552
  if (myIndex >= 0) {
553
553
  PersistentConnection._instances.splice(myIndex, 1);
554
554
  }
@@ -2,7 +2,7 @@
2
2
  import { ErrorNoTelemetry } from '../../../base/common/errors.js';
3
3
 
4
4
  var RemoteConnectionType;
5
- (function (RemoteConnectionType) {
5
+ (function(RemoteConnectionType) {
6
6
  RemoteConnectionType[RemoteConnectionType["WebSocket"] = 0] = "WebSocket";
7
7
  RemoteConnectionType[RemoteConnectionType["Managed"] = 1] = "Managed";
8
8
  })(RemoteConnectionType || (RemoteConnectionType = {}));
@@ -26,13 +26,15 @@ class WebSocketRemoteConnection {
26
26
  }
27
27
  }
28
28
  var RemoteAuthorityResolverErrorCode;
29
- (function (RemoteAuthorityResolverErrorCode) {
29
+ (function(RemoteAuthorityResolverErrorCode) {
30
30
  RemoteAuthorityResolverErrorCode["Unknown"] = "Unknown";
31
31
  RemoteAuthorityResolverErrorCode["NotAvailable"] = "NotAvailable";
32
32
  RemoteAuthorityResolverErrorCode["TemporarilyNotAvailable"] = "TemporarilyNotAvailable";
33
33
  RemoteAuthorityResolverErrorCode["NoResolverFound"] = "NoResolverFound";
34
34
  RemoteAuthorityResolverErrorCode["InvalidAuthority"] = "InvalidAuthority";
35
- })(RemoteAuthorityResolverErrorCode || (RemoteAuthorityResolverErrorCode = {}));
35
+ })(
36
+ RemoteAuthorityResolverErrorCode || (RemoteAuthorityResolverErrorCode = {})
37
+ );
36
38
  class RemoteAuthorityResolverError extends ErrorNoTelemetry {
37
39
  static isNotAvailable(err) {
38
40
  return (err instanceof RemoteAuthorityResolverError) && err._code === RemoteAuthorityResolverErrorCode.NotAvailable;
@@ -59,7 +61,7 @@ class RemoteAuthorityResolverError extends ErrorNoTelemetry {
59
61
  }
60
62
  }
61
63
  function getRemoteAuthorityPrefix(remoteAuthority) {
62
- const plusIndex = remoteAuthority.indexOf('+');
64
+ const plusIndex = ( remoteAuthority.indexOf("+"));
63
65
  if (plusIndex === -1) {
64
66
  return remoteAuthority;
65
67
  }
@@ -8,7 +8,7 @@ function getRemoteName(authority) {
8
8
  if (!authority) {
9
9
  return undefined;
10
10
  }
11
- const pos = authority.indexOf("+");
11
+ const pos = ( authority.indexOf("+"));
12
12
  if (pos < 0) {
13
13
  return authority;
14
14
  }
@@ -18,7 +18,7 @@ function getRemoteServerRootPath(authority) {
18
18
  if (!authority) {
19
19
  return undefined;
20
20
  }
21
- const pos = authority.indexOf("+");
21
+ const pos = ( authority.indexOf("+"));
22
22
  if (pos < 0) {
23
23
  return undefined;
24
24
  }
@@ -344,10 +344,10 @@ function countNewLines(regex) {
344
344
  }
345
345
  const source = regex.source;
346
346
  let count = 1;
347
- let i = source.indexOf("\\n");
347
+ let i = ( source.indexOf("\\n"));
348
348
  while (i !== -1) {
349
349
  count++;
350
- i = source.indexOf("\\n", i + 1);
350
+ i = ( source.indexOf("\\n", i + 1));
351
351
  }
352
352
  return count;
353
353
  }
@@ -93,7 +93,7 @@ let CommandDetectionCapability = class CommandDetectionCapability extends Dispos
93
93
  if (isFullTerminalCommand(typedCommand)) {
94
94
  if (
95
95
  typedCommand.promptStartMarker && typedCommand.marker && typedCommand.executedMarker &&
96
- command.command.indexOf("\n") === -1 &&
96
+ ( command.command.indexOf("\n")) === -1 &&
97
97
  typedCommand.startX !== undefined && typedCommand.startX > 0) {
98
98
  command.commandLineConfidence = "medium";
99
99
  }
@@ -101,7 +101,7 @@ let CommandDetectionCapability = class CommandDetectionCapability extends Dispos
101
101
  else {
102
102
  if (
103
103
  typedCommand.promptStartMarker && typedCommand.commandStartMarker && typedCommand.commandExecutedMarker &&
104
- command.command.indexOf("\n") === -1 &&
104
+ ( command.command.indexOf("\n")) === -1 &&
105
105
  typedCommand.commandStartX !== undefined && typedCommand.commandStartX > 0) {
106
106
  command.commandLineConfidence = "medium";
107
107
  }
@@ -200,7 +200,7 @@ class ShellIntegrationAddon extends Disposable {
200
200
  if (!this._terminal) {
201
201
  return false;
202
202
  }
203
- const argsIndex = data.indexOf(";");
203
+ const argsIndex = ( data.indexOf(";"));
204
204
  const command = argsIndex === -1 ? data : data.substring(0, argsIndex);
205
205
  this._logService.trace(
206
206
  `ShellIntegrationAddon#_doHandleVSCodeSequence: received sequence ${command}`
@@ -526,7 +526,7 @@ function serializeVSCodeOscMessage(message) {
526
526
  });
527
527
  }
528
528
  function parseKeyValueAssignment(message) {
529
- const separatorIndex = message.indexOf("=");
529
+ const separatorIndex = ( message.indexOf("="));
530
530
  if (separatorIndex === -1) {
531
531
  return {
532
532
  key: message,
@@ -108,7 +108,7 @@ class ColorRegistry extends Disposable {
108
108
  deregisterColor(id) {
109
109
  delete this.colorsById[id];
110
110
  delete this.colorSchema.properties[id];
111
- const index = this.colorReferenceSchema.enum.indexOf(id);
111
+ const index = ( this.colorReferenceSchema.enum.indexOf(id));
112
112
  if (index !== -1) {
113
113
  this.colorReferenceSchema.enum.splice(index, 1);
114
114
  this.colorReferenceSchema.enumDescriptions.splice(index, 1);
@@ -134,8 +134,8 @@ class ColorRegistry extends Disposable {
134
134
  }
135
135
  toString() {
136
136
  const sorter = (a, b) => {
137
- const cat1 = a.indexOf(".") === -1 ? 0 : 1;
138
- const cat2 = b.indexOf(".") === -1 ? 0 : 1;
137
+ const cat1 = ( a.indexOf(".")) === -1 ? 0 : 1;
138
+ const cat2 = ( b.indexOf(".")) === -1 ? 0 : 1;
139
139
  if (cat1 !== cat2) {
140
140
  return cat1 - cat2;
141
141
  }
@@ -118,7 +118,7 @@ class IconRegistry extends Disposable {
118
118
  if (description && !existing.description) {
119
119
  existing.description = description;
120
120
  this.iconSchema.properties[id].markdownDescription = `${description} $(${id})`;
121
- const enumIndex = this.iconReferenceSchema.enum.indexOf(id);
121
+ const enumIndex = ( this.iconReferenceSchema.enum.indexOf(id));
122
122
  if (enumIndex !== -1) {
123
123
  this.iconReferenceSchema.enumDescriptions[enumIndex] = description;
124
124
  }
@@ -153,7 +153,7 @@ class IconRegistry extends Disposable {
153
153
  deregisterIcon(id) {
154
154
  delete this.iconsById[id];
155
155
  delete this.iconSchema.properties[id];
156
- const index = this.iconReferenceSchema.enum.indexOf(id);
156
+ const index = ( this.iconReferenceSchema.enum.indexOf(id));
157
157
  if (index !== -1) {
158
158
  this.iconReferenceSchema.enum.splice(index, 1);
159
159
  this.iconReferenceSchema.enumDescriptions.splice(index, 1);
@@ -99,7 +99,7 @@ class SizeRegistry extends Disposable {
99
99
  deregisterSize(id) {
100
100
  delete this.sizesById[id];
101
101
  delete this.sizeSchema.properties[id];
102
- const index = this.sizeReferenceSchema.enum.indexOf(id);
102
+ const index = ( this.sizeReferenceSchema.enum.indexOf(id));
103
103
  if (index !== -1) {
104
104
  this.sizeReferenceSchema.enum.splice(index, 1);
105
105
  this.sizeReferenceSchema.enumDescriptions.splice(index, 1);
@@ -125,8 +125,8 @@ class SizeRegistry extends Disposable {
125
125
  }
126
126
  toString() {
127
127
  const sorter = (a, b) => {
128
- const cat1 = a.indexOf(".") === -1 ? 0 : 1;
129
- const cat2 = b.indexOf(".") === -1 ? 0 : 1;
128
+ const cat1 = ( a.indexOf(".")) === -1 ? 0 : 1;
129
+ const cat2 = ( b.indexOf(".")) === -1 ? 0 : 1;
130
130
  if (cat1 !== cat2) {
131
131
  return cat1 - cat2;
132
132
  }
@@ -38,7 +38,7 @@ class ThemingRegistry extends Disposable {
38
38
  this.themingParticipants.push(participant);
39
39
  this.onThemingParticipantAddedEmitter.fire(participant);
40
40
  return toDisposable(() => {
41
- const idx = this.themingParticipants.indexOf(participant);
41
+ const idx = ( this.themingParticipants.indexOf(participant));
42
42
  this.themingParticipants.splice(idx, 1);
43
43
  });
44
44
  }
@@ -311,14 +311,14 @@ class TokenClassificationRegistry extends Disposable {
311
311
  }
312
312
  if (selector.type !== TOKEN_TYPE_WILDCARD) {
313
313
  const hierarchy = this.getTypeHierarchy(type);
314
- const level = hierarchy.indexOf(selector.type);
314
+ const level = ( hierarchy.indexOf(selector.type));
315
315
  if (level === -1) {
316
316
  return -1;
317
317
  }
318
318
  score += (100 - level);
319
319
  }
320
320
  for (const selectorModifier of selector.modifiers) {
321
- if (modifiers.indexOf(selectorModifier) === -1) {
321
+ if (( modifiers.indexOf(selectorModifier)) === -1) {
322
322
  return -1;
323
323
  }
324
324
  }
@@ -372,8 +372,8 @@ class TokenClassificationRegistry extends Disposable {
372
372
  }
373
373
  toString() {
374
374
  const sorter = (a, b) => {
375
- const cat1 = a.indexOf(".") === -1 ? 0 : 1;
376
- const cat2 = b.indexOf(".") === -1 ? 0 : 1;
375
+ const cat1 = ( a.indexOf(".")) === -1 ? 0 : 1;
376
+ const cat2 = ( b.indexOf(".")) === -1 ? 0 : 1;
377
377
  if (cat1 !== cat2) {
378
378
  return cat1 - cat2;
379
379
  }
@@ -51,11 +51,11 @@ function extractLocalHostUriMetaDataForPortMapping(uri) {
51
51
  }
52
52
  const LOCALHOST_ADDRESSES = ["localhost", "127.0.0.1", "0:0:0:0:0:0:0:1", "::1"];
53
53
  function isLocalhost(host) {
54
- return LOCALHOST_ADDRESSES.indexOf(host) >= 0;
54
+ return ( LOCALHOST_ADDRESSES.indexOf(host)) >= 0;
55
55
  }
56
56
  const ALL_INTERFACES_ADDRESSES = ["0.0.0.0", "0:0:0:0:0:0:0:0", "::"];
57
57
  function isAllInterfaces(host) {
58
- return ALL_INTERFACES_ADDRESSES.indexOf(host) >= 0;
58
+ return ( ALL_INTERFACES_ADDRESSES.indexOf(host)) >= 0;
59
59
  }
60
60
  class DisposableTunnel {
61
61
  constructor(remoteAddress, localAddress, _dispose) {
@@ -32,7 +32,7 @@ function hasURLUserInformation(url) {
32
32
  }
33
33
  function normalizeURLForTrust(url) {
34
34
  const parsed = normalizeURLPathSeparators(url);
35
- const hostOffset = parsed.authority.indexOf("@") + 1;
35
+ const hostOffset = ( parsed.authority.indexOf("@")) + 1;
36
36
  const authority = parsed.authority.slice(0, hostOffset) + parsed.authority.slice(hostOffset).toLowerCase();
37
37
  let path = parsed.path;
38
38
  if (authority === "github.com") {