@vokril/ui-solid 0.9.3 → 0.17.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 (607) hide show
  1. package/CHANGELOG.md +69 -0
  2. package/README.md +110 -31
  3. package/dist/{AttributeGrid-Bnn1w5XX.cjs → AttributeGrid-7cLOWtPn.cjs} +1 -1
  4. package/dist/{AttributeGrid-DJdW32LQ.js → AttributeGrid-CVyqzT7-.js} +5 -5
  5. package/dist/{Button-BZWXPn8y.js → Button-BiKPB3cH.js} +2 -2
  6. package/dist/{Button-X8QR6llv.cjs → Button-Nx7byQZc.cjs} +1 -1
  7. package/dist/CommandPalette-BFi0_e3t.cjs +2 -0
  8. package/dist/CommandPalette-CAH08DGN.js +4013 -0
  9. package/dist/{CopyButton-D3dIRRnn.js → CopyButton-BF7L1TCO.js} +1 -1
  10. package/dist/{CopyButton-3cX5MHAf.cjs → CopyButton-BtgGbiy9.cjs} +1 -1
  11. package/dist/DateRangePicker-Ce2tTbJ4.cjs +9 -0
  12. package/dist/{DateRangePicker-BcqoUao4.js → DateRangePicker-jSQBwB78.js} +181 -166
  13. package/dist/GuidedTour-CWDtBRHv.js +483 -0
  14. package/dist/GuidedTour-CYaR5Ozj.cjs +1 -0
  15. package/dist/HostPortal-B9Tzk_uN.cjs +1 -0
  16. package/dist/HostPortal-X1iw719T.js +33 -0
  17. package/dist/HostWindowContext-B2m0bVra.js +32 -0
  18. package/dist/HostWindowContext-_VZCt7xE.cjs +1 -0
  19. package/dist/{IconPicker-9tjEtmqt.cjs → IconPicker-4bdAeGxS.cjs} +1 -1
  20. package/dist/{IconPicker-CXbFmJ3y.js → IconPicker-Df6uIUpJ.js} +4 -4
  21. package/dist/{Input-BEnk4FCF.cjs → Input-CZruORyy.cjs} +1 -1
  22. package/dist/{Input-PZ5wRvPx.js → Input-DkPhsdfk.js} +2 -2
  23. package/dist/Modal-CQG8l4x7.cjs +1 -0
  24. package/dist/{Modal-CsiV55WW.js → Modal-CUPe98-o.js} +5 -5
  25. package/dist/PageSkeleton-C3mo6UGh.cjs +30 -0
  26. package/dist/{PageSkeleton-CyTXvZYm.js → PageSkeleton-CUTLh9Ip.js} +630 -628
  27. package/dist/{Popover-C24npAQ7.js → Popover-Dht1jFEy.js} +1 -1
  28. package/dist/{Popover-hhGcYQ-a.cjs → Popover-YfzC0Tjh.cjs} +1 -1
  29. package/dist/{SearchableSelect-C6KL7e42.js → SearchableSelect-C01brsF0.js} +5 -5
  30. package/dist/{SearchableSelect-zT8XNpmt.cjs → SearchableSelect-pCaUie2M.cjs} +1 -1
  31. package/dist/StatusBarNotificationBell-BwqVV09r.js +14266 -0
  32. package/dist/StatusBarNotificationBell-C5Zc2IvW.cjs +50 -0
  33. package/dist/{Stepper-BxXwbDq4.js → Stepper-38IAEOyT.js} +3 -3
  34. package/dist/{Stepper-DoJFCfC7.cjs → Stepper-CtaTpnQu.cjs} +1 -1
  35. package/dist/{Textarea-BUxibzkR.js → Textarea-B5QqqKnI.js} +1 -1
  36. package/dist/{Textarea-BunKEY68.cjs → Textarea-CeAGf08O.cjs} +1 -1
  37. package/dist/{TimeSeriesChart-DBrDzBGE.js → TimeSeriesChart-ByKG4E1G.js} +2 -2
  38. package/dist/{TimeSeriesChart-CS4jQflv.cjs → TimeSeriesChart-_NOs_Job.cjs} +1 -1
  39. package/dist/ToggleButton-Bz3zAtec.cjs +1 -0
  40. package/dist/{ToggleButton-BfjXnp-P.js → ToggleButton-D-N0C2Fu.js} +54 -53
  41. package/dist/_internal/app/keybindings/context/keybindingsContext.d.cts +11 -6
  42. package/dist/_internal/app/keybindings/context/keybindingsContext.d.ts +11 -6
  43. package/dist/_internal/app/keybindings/context/useFocusClaim.d.cts +4 -3
  44. package/dist/_internal/app/keybindings/context/useFocusClaim.d.ts +4 -3
  45. package/dist/_internal/app/keybindings/context/useListCommands.d.cts +6 -5
  46. package/dist/_internal/app/keybindings/context/useListCommands.d.ts +6 -5
  47. package/dist/_internal/app/keybindings/index.d.cts +0 -10
  48. package/dist/_internal/app/keybindings/index.d.ts +0 -10
  49. package/dist/_internal/app/keybindings/panelCommandsRegistry.d.cts +14 -9
  50. package/dist/_internal/app/keybindings/panelCommandsRegistry.d.ts +14 -9
  51. package/dist/_internal/app/menu/menuFavorites.d.cts +35 -8
  52. package/dist/_internal/app/menu/menuFavorites.d.ts +35 -8
  53. package/dist/_internal/app/onboarding/pageTourState.d.cts +75 -22
  54. package/dist/_internal/app/onboarding/pageTourState.d.ts +75 -22
  55. package/dist/_internal/app/platform/electronBridge.d.cts +35 -29
  56. package/dist/_internal/app/platform/electronBridge.d.ts +35 -29
  57. package/dist/_internal/app/settings/secrets/notificationSecrets.d.cts +27 -14
  58. package/dist/_internal/app/settings/secrets/notificationSecrets.d.ts +27 -14
  59. package/dist/_internal/app/windows/window/HostWindowContext.d.cts +8 -14
  60. package/dist/_internal/app/windows/window/HostWindowContext.d.ts +8 -14
  61. package/dist/_internal/contract/catalogNotify.d.cts +6 -19
  62. package/dist/_internal/contract/catalogNotify.d.ts +6 -19
  63. package/dist/_internal/contract/hostErrorText.d.cts +13 -23
  64. package/dist/_internal/contract/hostErrorText.d.ts +13 -23
  65. package/dist/_internal/contract/notificationCatalog.d.cts +16 -5
  66. package/dist/_internal/contract/notificationCatalog.d.ts +16 -5
  67. package/dist/_internal/platform/a11y/announcerService.d.cts +9 -13
  68. package/dist/_internal/platform/a11y/announcerService.d.ts +9 -13
  69. package/dist/_internal/platform/errors/diagnosticReport.d.cts +3 -1
  70. package/dist/_internal/platform/errors/diagnosticReport.d.ts +3 -1
  71. package/dist/_internal/platform/logging/consoleLogger.d.cts +7 -0
  72. package/dist/_internal/platform/logging/consoleLogger.d.ts +7 -0
  73. package/dist/_internal/platform/settings/registry/defineSettings.d.cts +19 -8
  74. package/dist/_internal/platform/settings/registry/defineSettings.d.ts +19 -8
  75. package/dist/_internal/platform/settings/registry/stateDbStore.d.cts +23 -15
  76. package/dist/_internal/platform/settings/registry/stateDbStore.d.ts +23 -15
  77. package/dist/_internal/platform/settings/settingsTypes.d.cts +0 -5
  78. package/dist/_internal/platform/settings/settingsTypes.d.ts +0 -5
  79. package/dist/_internal/platform/vendorErrors/index.d.cts +7 -17
  80. package/dist/_internal/platform/vendorErrors/index.d.ts +7 -17
  81. package/dist/_internal/platform/window/displayOwner.d.cts +35 -14
  82. package/dist/_internal/platform/window/displayOwner.d.ts +35 -14
  83. package/dist/a11y/index.cjs +1 -1
  84. package/dist/a11y/index.js +1 -1
  85. package/dist/actions-DtaFGwh2.cjs +1 -0
  86. package/dist/actions-wwAHs3ZU.js +16 -0
  87. package/dist/{server/appThemeDerivation-BiCyiSuz.js → appThemeDerivation-B7-DjMIM.js} +181 -184
  88. package/dist/appThemeDerivation-NS3Vws8q.cjs +1 -0
  89. package/dist/async/createGuardedListLoader.d.cts +3 -0
  90. package/dist/async/createGuardedListLoader.d.ts +3 -0
  91. package/dist/charts/index.cjs +1 -1
  92. package/dist/charts/index.js +1 -1
  93. package/dist/createDialogShellFocus-BBFu3Z_O.js +282 -0
  94. package/dist/createDialogShellFocus-CxRqhbRN.cjs +1 -0
  95. package/dist/createResizableSidebar-CfFxQUny.js +449 -0
  96. package/dist/createResizableSidebar-q7aC7SAO.cjs +1 -0
  97. package/dist/{createVirtualScroller-LN-7QFiv.cjs → createVirtualScroller-CL49JE2P.cjs} +1 -1
  98. package/dist/{server/createVirtualScroller-DBvqT0UW.js → createVirtualScroller-vu-l4rVv.js} +7 -7
  99. package/dist/defineSettings-D0CSMcyy.cjs +1 -0
  100. package/dist/defineSettings-Di1sG81q.js +407 -0
  101. package/dist/descriptor-CaHgh9N_.cjs +1 -0
  102. package/dist/{descriptor-B1MaujhY.js → descriptor-eGtcBtpI.js} +5 -5
  103. package/dist/desktop/index.cjs +1 -1
  104. package/dist/desktop/index.js +500 -426
  105. package/dist/dialogFocusRestore-BrALT8Ew.js +35 -0
  106. package/dist/dialogFocusRestore-CcEsB50v.cjs +1 -0
  107. package/dist/electronBridge-BK92fycw.js +235 -0
  108. package/dist/electronBridge-cT0xww92.cjs +1 -0
  109. package/dist/errorHandler-BvPGW-Nm.js +373 -0
  110. package/dist/errorHandler-DoDAPpv2.cjs +3 -0
  111. package/dist/feedback/Loader.d.cts +6 -1
  112. package/dist/feedback/Loader.d.ts +6 -1
  113. package/dist/feedback/createPreference.d.cts +4 -1
  114. package/dist/feedback/createPreference.d.ts +4 -1
  115. package/dist/feedback/guidedInstallOutcome.d.cts +15 -2
  116. package/dist/feedback/guidedInstallOutcome.d.ts +15 -2
  117. package/dist/feedback/index.cjs +1 -1
  118. package/dist/feedback/index.js +37 -38
  119. package/dist/feedback/readFailureText.d.cts +20 -1
  120. package/dist/feedback/readFailureText.d.ts +20 -1
  121. package/dist/focusModality-BISb6-yg.cjs +1 -0
  122. package/dist/focusModality-FoLPWF-_.js +135 -0
  123. package/dist/forms/index.cjs +1 -1
  124. package/dist/forms/index.js +9 -9
  125. package/dist/grid/index.cjs +1 -1
  126. package/dist/grid/index.js +1 -1
  127. package/dist/{headerIconOverrides-64lFnqTt.cjs → headerIconOverrides-Bn1QuODq.cjs} +1 -1
  128. package/dist/{server/headerIconOverrides-BCzeaBA1.js → headerIconOverrides-Dh2PaOcO.js} +1 -1
  129. package/dist/host/index.cjs +1 -1
  130. package/dist/host/index.d.cts +15 -16
  131. package/dist/host/index.d.ts +15 -16
  132. package/dist/host/index.js +56 -90
  133. package/dist/host/kitHost.d.cts +65 -0
  134. package/dist/host/kitHost.d.ts +65 -0
  135. package/dist/host/window.d.cts +3 -11
  136. package/dist/host/window.d.ts +3 -11
  137. package/dist/i18n/index.cjs +1 -1
  138. package/dist/i18n/index.js +1 -1
  139. package/dist/{i18n-CYq-dVvv.js → i18n-DW9kcu0G.js} +180 -178
  140. package/dist/i18n-DZ0JlZal.cjs +4 -0
  141. package/dist/index.cjs +1 -1
  142. package/dist/index.d.cts +1 -1
  143. package/dist/index.d.ts +1 -1
  144. package/dist/index.js +973 -992
  145. package/dist/isOneOf-9EXOSYJu.cjs +1 -0
  146. package/dist/isOneOf-Dtomuazg.js +6 -0
  147. package/dist/{keys-Bfgdfak_.js → keys-B2nlkpqc.js} +6 -9
  148. package/dist/keys-GMxY2wcl.cjs +1 -0
  149. package/dist/kitHost-BfJExE1G.cjs +1 -0
  150. package/dist/kitHost-CVAEi9sF.js +23 -0
  151. package/dist/layout/createResizableSidebar.d.cts +14 -0
  152. package/dist/layout/createResizableSidebar.d.ts +14 -0
  153. package/dist/layout/index.cjs +1 -1
  154. package/dist/layout/index.js +3 -3
  155. package/dist/layout/sidebarWidthClamp.d.cts +1 -1
  156. package/dist/layout/sidebarWidthClamp.d.ts +1 -1
  157. package/dist/mainRealmDom-C12lr9lm.js +171 -0
  158. package/dist/mainRealmDom-S6teqEr4.cjs +1 -0
  159. package/dist/navigation/index.cjs +1 -1
  160. package/dist/navigation/index.js +1 -1
  161. package/dist/notifications/NotificationHost.d.cts +7 -1
  162. package/dist/notifications/NotificationHost.d.ts +7 -1
  163. package/dist/notifications/NotificationItem.d.cts +48 -15
  164. package/dist/notifications/NotificationItem.d.ts +48 -15
  165. package/dist/notifications/catalogAdapter.d.cts +28 -6
  166. package/dist/notifications/catalogAdapter.d.ts +28 -6
  167. package/dist/notifications/createNotificationPreviewRuntime.d.cts +21 -3
  168. package/dist/notifications/createNotificationPreviewRuntime.d.ts +21 -3
  169. package/dist/notifications/customSoundCache.d.cts +24 -24
  170. package/dist/notifications/customSoundCache.d.ts +24 -24
  171. package/dist/notifications/emailDigest.d.cts +34 -16
  172. package/dist/notifications/emailDigest.d.ts +34 -16
  173. package/dist/notifications/errorActionButtons.d.cts +18 -1
  174. package/dist/notifications/errorActionButtons.d.ts +18 -1
  175. package/dist/notifications/fireNotification.d.cts +27 -17
  176. package/dist/notifications/fireNotification.d.ts +27 -17
  177. package/dist/notifications/index.cjs +1 -1
  178. package/dist/notifications/index.d.cts +7 -12
  179. package/dist/notifications/index.d.ts +7 -12
  180. package/dist/notifications/index.js +64 -98
  181. package/dist/notifications/nativeEngine.d.cts +18 -15
  182. package/dist/notifications/nativeEngine.d.ts +18 -15
  183. package/dist/notifications/notificationAnalytics.d.cts +11 -6
  184. package/dist/notifications/notificationAnalytics.d.ts +11 -6
  185. package/dist/notifications/notificationAudio.d.cts +30 -23
  186. package/dist/notifications/notificationAudio.d.ts +30 -23
  187. package/dist/notifications/notificationCardServices.d.cts +23 -0
  188. package/dist/notifications/notificationCardServices.d.ts +23 -0
  189. package/dist/notifications/notificationOverlayChannel.d.cts +4 -4
  190. package/dist/notifications/notificationOverlayChannel.d.ts +4 -4
  191. package/dist/notifications/notificationOverlaySync.d.cts +7 -2
  192. package/dist/notifications/notificationOverlaySync.d.ts +7 -2
  193. package/dist/notifications/notificationService.d.cts +101 -0
  194. package/dist/notifications/notificationService.d.ts +101 -0
  195. package/dist/notifications/notificationTimeline.d.cts +47 -49
  196. package/dist/notifications/notificationTimeline.d.ts +47 -49
  197. package/dist/notifications/notifications.notifications.d.cts +0 -4
  198. package/dist/notifications/notifications.notifications.d.ts +0 -4
  199. package/dist/notifications/toast.d.cts +24 -28
  200. package/dist/notifications/toast.d.ts +24 -28
  201. package/dist/notifications/webhookDelivery.d.cts +12 -17
  202. package/dist/notifications/webhookDelivery.d.ts +12 -17
  203. package/dist/overlay/ConfirmDialog.d.cts +20 -10
  204. package/dist/overlay/ConfirmDialog.d.ts +20 -10
  205. package/dist/overlay/DangerousActionDialog.d.cts +2 -2
  206. package/dist/overlay/DangerousActionDialog.d.ts +2 -2
  207. package/dist/overlay/command-palette/unifiedSearch/databaseObjectSearchContributor.d.cts +15 -14
  208. package/dist/overlay/command-palette/unifiedSearch/databaseObjectSearchContributor.d.ts +15 -14
  209. package/dist/overlay/command-palette/unifiedSearch/settingsSearchContributor.d.cts +1 -3
  210. package/dist/overlay/command-palette/unifiedSearch/settingsSearchContributor.d.ts +1 -3
  211. package/dist/overlay/command-palette/unifiedSearch/unifiedSearchTypes.d.cts +1 -1
  212. package/dist/overlay/command-palette/unifiedSearch/unifiedSearchTypes.d.ts +1 -1
  213. package/dist/overlay/index.cjs +1 -1
  214. package/dist/overlay/index.d.cts +2 -3
  215. package/dist/overlay/index.d.ts +2 -3
  216. package/dist/overlay/index.js +114 -119
  217. package/dist/pageTourState-BcBF8w89.js +516 -0
  218. package/dist/pageTourState-CrbEU7QW.cjs +5 -0
  219. package/dist/server/{AttributeGrid-BCYNwNjw.js → AttributeGrid-B2s_rp00.js} +3 -3
  220. package/dist/server/{AttributeGrid-BVAQshm3.cjs → AttributeGrid-C7aWbIe5.cjs} +1 -1
  221. package/dist/server/{Button-BhqhjFpY.js → Button-Ck03cbUs.js} +1 -1
  222. package/dist/server/{Button-CFOM8pOv.cjs → Button-DWFMF5y0.cjs} +1 -1
  223. package/dist/server/CommandPalette-2UppyMxU.js +3271 -0
  224. package/dist/server/CommandPalette-DwpZyhO6.cjs +1 -0
  225. package/dist/server/{CopyButton-C2jzn9tR.cjs → CopyButton-BOmAUQD4.cjs} +1 -1
  226. package/dist/server/{CopyButton-CChDa2p3.js → CopyButton-UvtFwOtA.js} +1 -1
  227. package/dist/server/DateRangePicker-BJteKzOY.cjs +9 -0
  228. package/dist/server/{DateRangePicker-QV6U1adB.js → DateRangePicker-Cr58DczM.js} +158 -143
  229. package/dist/server/GuidedTour-C4msn-Ag.js +400 -0
  230. package/dist/server/GuidedTour-Rlsp8rOe.cjs +1 -0
  231. package/dist/server/HostPortal-B9Tzk_uN.cjs +1 -0
  232. package/dist/server/HostPortal-X1iw719T.js +33 -0
  233. package/dist/server/HostWindowContext-B2m0bVra.js +32 -0
  234. package/dist/server/HostWindowContext-_VZCt7xE.cjs +1 -0
  235. package/dist/server/{IconPicker-BEACrT09.cjs → IconPicker-9DfOxql6.cjs} +1 -1
  236. package/dist/server/{IconPicker-at_coEi6.js → IconPicker-N0wub1Aj.js} +4 -4
  237. package/dist/server/Modal-D__GTo-n.cjs +1 -0
  238. package/dist/server/{Modal-usxkqDtK.js → Modal-DeQjfpkG.js} +3 -3
  239. package/dist/server/{PageSkeleton-Bpgep9QW.js → PageSkeleton-C41pXOcr.js} +457 -455
  240. package/dist/server/PageSkeleton-D4i-UcnI.cjs +30 -0
  241. package/dist/server/{SearchableSelect-0dP7bp0a.js → SearchableSelect-CEcuBnge.js} +2 -2
  242. package/dist/server/{SearchableSelect-nMecJAYS.cjs → SearchableSelect-Ca9g8ztu.cjs} +1 -1
  243. package/dist/server/StatusBarNotificationBell-BotYny7q.cjs +49 -0
  244. package/dist/server/StatusBarNotificationBell-DyEQF2W7.js +13968 -0
  245. package/dist/server/{Stepper-DvoJXLcM.cjs → Stepper--pusyxso.cjs} +1 -1
  246. package/dist/server/{Stepper-B8hDDujj.js → Stepper-B_eL85hK.js} +1 -1
  247. package/dist/server/{TimeSeriesChart-C1LbL_xp.js → TimeSeriesChart-aSHquoBv.js} +1 -1
  248. package/dist/server/{TimeSeriesChart-DtldQrxS.cjs → TimeSeriesChart-nZeB5jtN.cjs} +1 -1
  249. package/dist/server/ToggleButton-57_0SA-V.cjs +1 -0
  250. package/dist/server/{ToggleButton--G4HCOTD.js → ToggleButton-DjlWwgLJ.js} +4 -4
  251. package/dist/server/VpTrash-D49oUUJh.cjs +1 -0
  252. package/dist/server/VpTrash-Dlq8o6Uv.js +298 -0
  253. package/dist/server/a11y/index.cjs +1 -1
  254. package/dist/server/a11y/index.js +1 -1
  255. package/dist/server/actions-DtaFGwh2.cjs +1 -0
  256. package/dist/server/actions-wwAHs3ZU.js +16 -0
  257. package/dist/{appThemeDerivation-BiCyiSuz.js → server/appThemeDerivation-B7-DjMIM.js} +181 -184
  258. package/dist/server/appThemeDerivation-NS3Vws8q.cjs +1 -0
  259. package/dist/server/charts/index.cjs +1 -1
  260. package/dist/server/charts/index.js +1 -1
  261. package/dist/server/{format-CW_FVfq2.js → createDialogShellFocus-DNjzmcGj.js} +110 -126
  262. package/dist/server/createDialogShellFocus-PRRfMli-.cjs +1 -0
  263. package/dist/server/createResizableSidebar-CZtGmUnA.cjs +1 -0
  264. package/dist/server/createResizableSidebar-DdWdAB9l.js +287 -0
  265. package/dist/server/{createVirtualScroller-LN-7QFiv.cjs → createVirtualScroller-CL49JE2P.cjs} +1 -1
  266. package/dist/{createVirtualScroller-DBvqT0UW.js → server/createVirtualScroller-vu-l4rVv.js} +7 -7
  267. package/dist/server/defineSettings-D0CSMcyy.cjs +1 -0
  268. package/dist/server/defineSettings-Di1sG81q.js +407 -0
  269. package/dist/server/descriptor-CEGvvJZh.cjs +1 -0
  270. package/dist/server/{descriptor-DWkJAggS.js → descriptor-GLoKPx6x.js} +4 -4
  271. package/dist/server/desktop/index.cjs +1 -1
  272. package/dist/server/desktop/index.js +389 -315
  273. package/dist/server/dialogFocusRestore-BrALT8Ew.js +35 -0
  274. package/dist/server/dialogFocusRestore-CcEsB50v.cjs +1 -0
  275. package/dist/server/electronBridge-BK92fycw.js +235 -0
  276. package/dist/server/electronBridge-cT0xww92.cjs +1 -0
  277. package/dist/server/errorHandler-BvPGW-Nm.js +373 -0
  278. package/dist/server/errorHandler-DoDAPpv2.cjs +3 -0
  279. package/dist/server/feedback/index.cjs +1 -1
  280. package/dist/server/feedback/index.js +37 -38
  281. package/dist/server/focusModality-D-nxv8Er.cjs +1 -0
  282. package/dist/server/focusModality-nWNVX3JG.js +126 -0
  283. package/dist/server/forms/index.cjs +1 -1
  284. package/dist/server/forms/index.js +7 -7
  285. package/dist/server/grid/index.cjs +1 -1
  286. package/dist/server/grid/index.js +1 -1
  287. package/dist/server/{headerIconOverrides-64lFnqTt.cjs → headerIconOverrides-Bn1QuODq.cjs} +1 -1
  288. package/dist/{headerIconOverrides-BCzeaBA1.js → server/headerIconOverrides-Dh2PaOcO.js} +1 -1
  289. package/dist/server/host/index.cjs +1 -1
  290. package/dist/server/host/index.js +56 -90
  291. package/dist/server/i18n/index.cjs +1 -1
  292. package/dist/server/i18n/index.js +1 -1
  293. package/dist/server/{i18n-CYq-dVvv.js → i18n-DW9kcu0G.js} +180 -178
  294. package/dist/server/i18n-DZ0JlZal.cjs +4 -0
  295. package/dist/server/{index-BFT4Uh9D.js → index-BNYr6EIW.js} +89 -90
  296. package/dist/server/index-Cqod09d_.cjs +1 -0
  297. package/dist/server/index.cjs +1 -1
  298. package/dist/server/index.js +1022 -1041
  299. package/dist/server/kitHost-BfJExE1G.cjs +1 -0
  300. package/dist/server/kitHost-CVAEi9sF.js +23 -0
  301. package/dist/server/layout/index.cjs +1 -1
  302. package/dist/server/layout/index.js +3 -3
  303. package/dist/server/mainRealmDom-DPNaDWtw.js +121 -0
  304. package/dist/server/mainRealmDom-DwZVMPnO.cjs +1 -0
  305. package/dist/server/navigation/index.cjs +1 -1
  306. package/dist/server/navigation/index.js +1 -1
  307. package/dist/server/notifications/index.cjs +1 -1
  308. package/dist/server/notifications/index.js +63 -97
  309. package/dist/server/overlay/index.cjs +1 -1
  310. package/dist/server/overlay/index.js +109 -114
  311. package/dist/server/pageTourState-BcBF8w89.js +516 -0
  312. package/dist/server/pageTourState-CrbEU7QW.cjs +5 -0
  313. package/dist/server/settings/index.cjs +1 -1
  314. package/dist/server/settings/index.js +23 -24
  315. package/dist/server/stateDbStore-CThsVch-.cjs +1 -0
  316. package/dist/server/stateDbStore-DHZFUIEt.js +57 -0
  317. package/dist/server/tokens/index.cjs +1 -1
  318. package/dist/server/tokens/index.js +19 -20
  319. package/dist/server/tree/index.cjs +1 -1
  320. package/dist/server/tree/index.js +1 -1
  321. package/dist/server/useListCommands-BO_XrRHj.js +38 -0
  322. package/dist/server/useListCommands-Dnm4ktP1.cjs +1 -0
  323. package/dist/server/useSettingsSubscription-DKjCwmRd.cjs +1 -0
  324. package/dist/{notification-DFbp3S_f.js → server/useSettingsSubscription-DLEk4k4j.js} +41 -32
  325. package/dist/server/window-CUK6x8Pj.js +36 -0
  326. package/dist/server/window-_BfSgFGO.cjs +1 -0
  327. package/dist/server/windowRegistry-CxXtP-iY.cjs +1 -0
  328. package/dist/server/windowRegistry-DeGmXt6W.js +20 -0
  329. package/dist/settings/index.cjs +1 -1
  330. package/dist/settings/index.d.cts +1 -1
  331. package/dist/settings/index.d.ts +1 -1
  332. package/dist/settings/index.js +23 -24
  333. package/dist/solid/_internal/app/keybindings/context/useFocusClaim.js +3 -10
  334. package/dist/solid/_internal/app/keybindings/context/useListCommands.js +1 -2
  335. package/dist/solid/_internal/app/keybindings/panelCommandsRegistry.js +8 -1
  336. package/dist/solid/_internal/app/menu/menuFavorites.js +45 -40
  337. package/dist/solid/_internal/app/onboarding/PageTourHost.jsx +22 -22
  338. package/dist/solid/_internal/app/onboarding/pageTourState.js +94 -92
  339. package/dist/solid/_internal/app/platform/electronBridge.js +15 -49
  340. package/dist/solid/_internal/app/settings/secrets/notificationSecrets.js +11 -29
  341. package/dist/solid/_internal/app/windows/window/HostWindowContext.jsx +4 -13
  342. package/dist/solid/_internal/contract/catalogNotify.js +1 -24
  343. package/dist/solid/_internal/contract/hostErrorText.js +1 -14
  344. package/dist/solid/_internal/contract/notificationCatalog.js +1 -1
  345. package/dist/solid/_internal/platform/a11y/announcerService.js +0 -24
  346. package/dist/solid/_internal/platform/errors/diagnosticReport.js +2 -3
  347. package/dist/solid/_internal/platform/logging/consoleLogger.js +6 -0
  348. package/dist/solid/_internal/platform/settings/registry/defineSettings.js +48 -20
  349. package/dist/solid/_internal/platform/settings/registry/stateDbStore.js +29 -19
  350. package/dist/solid/_internal/platform/vendorErrors/index.js +4 -17
  351. package/dist/solid/_internal/platform/window/displayOwner.js +105 -114
  352. package/dist/solid/a11y/AriaAnnouncer.jsx +5 -6
  353. package/dist/solid/async/createGuardedListLoader.js +1 -1
  354. package/dist/solid/desktop/menu/MenuPanel.jsx +7 -7
  355. package/dist/solid/feedback/ErrorBoundary.jsx +7 -4
  356. package/dist/solid/feedback/Loader.jsx +1 -2
  357. package/dist/solid/feedback/createPreference.js +3 -2
  358. package/dist/solid/feedback/guidedInstallOutcome.js +1 -2
  359. package/dist/solid/feedback/preference.notifications.js +1 -2
  360. package/dist/solid/feedback/readFailureText.js +1 -2
  361. package/dist/solid/host/index.js +9 -16
  362. package/dist/solid/host/kitHost.jsx +15 -0
  363. package/dist/solid/host/window.js +15 -22
  364. package/dist/solid/i18n/i18n.js +5 -6
  365. package/dist/solid/index.js +0 -1
  366. package/dist/solid/layout/createResizableSidebar.js +15 -23
  367. package/dist/solid/notifications/NotificationHost.jsx +21 -29
  368. package/dist/solid/notifications/NotificationItem.jsx +28 -103
  369. package/dist/solid/notifications/NotificationPanel.jsx +33 -44
  370. package/dist/solid/notifications/NotificationsCenter.jsx +22 -20
  371. package/dist/solid/notifications/StatusBarNotificationBell.jsx +4 -3
  372. package/dist/solid/notifications/catalogAdapter.js +61 -62
  373. package/dist/solid/notifications/createNotificationPreviewRuntime.js +29 -19
  374. package/dist/solid/notifications/customSoundCache.js +26 -21
  375. package/dist/solid/notifications/emailDigest.js +74 -86
  376. package/dist/solid/notifications/errorActionButtons.js +6 -11
  377. package/dist/solid/notifications/fireNotification.js +14 -19
  378. package/dist/solid/notifications/index.js +4 -12
  379. package/dist/solid/notifications/nativeEngine.js +6 -19
  380. package/dist/solid/notifications/notificationAnalytics.js +32 -38
  381. package/dist/solid/notifications/notificationAudio.js +77 -74
  382. package/dist/solid/notifications/notificationCardServices.js +34 -0
  383. package/dist/solid/notifications/notificationOverlayChannel.js +3 -3
  384. package/dist/solid/notifications/notificationOverlaySync.js +18 -23
  385. package/dist/solid/notifications/notificationService.js +135 -0
  386. package/dist/solid/notifications/notificationTimeline.js +117 -124
  387. package/dist/solid/notifications/notifications.notifications.js +3 -22
  388. package/dist/solid/notifications/toast.js +168 -213
  389. package/dist/solid/notifications/webhookDelivery.js +27 -53
  390. package/dist/solid/overlay/ConfirmDialog.jsx +2 -54
  391. package/dist/solid/overlay/command-palette/CommandPalette.jsx +3 -1
  392. package/dist/solid/overlay/command-palette/unifiedSearch/databaseObjectSearchContributor.js +26 -25
  393. package/dist/solid/overlay/command-palette/unifiedSearch/settingsSearchContributor.js +2 -7
  394. package/dist/solid/overlay/index.js +0 -3
  395. package/dist/solid/settings/index.js +1 -1
  396. package/dist/solid/tokens/index.js +1 -1
  397. package/dist/solid/tokens/palette/themeRegistry.js +20 -22
  398. package/dist/stateDbStore-CThsVch-.cjs +1 -0
  399. package/dist/stateDbStore-DHZFUIEt.js +57 -0
  400. package/dist/style.css +1 -1
  401. package/dist/tokens/index.cjs +1 -1
  402. package/dist/tokens/index.d.cts +1 -1
  403. package/dist/tokens/index.d.ts +1 -1
  404. package/dist/tokens/index.js +19 -20
  405. package/dist/tokens/palette/themeRegistry.d.cts +17 -22
  406. package/dist/tokens/palette/themeRegistry.d.ts +17 -22
  407. package/dist/{tooltipCoordinator-GV0L9lXH.js → tooltipCoordinator-BzxEyKhA.js} +2 -2
  408. package/dist/tooltipCoordinator-DslqMlsI.cjs +1 -0
  409. package/dist/tree/index.cjs +1 -1
  410. package/dist/tree/index.js +1 -1
  411. package/dist/ui.css +1 -1
  412. package/dist/{useFloatingDropdown-CfPEYRut.js → useFloatingDropdown-BN4J092P.js} +1 -1
  413. package/dist/{useFloatingDropdown-DcU7ozDg.cjs → useFloatingDropdown-D9OvEFAp.cjs} +1 -1
  414. package/dist/useListCommands-BO_XrRHj.js +38 -0
  415. package/dist/useListCommands-Dnm4ktP1.cjs +1 -0
  416. package/dist/useSettingsSubscription-DKjCwmRd.cjs +1 -0
  417. package/dist/{server/notification-DFbp3S_f.js → useSettingsSubscription-DLEk4k4j.js} +41 -32
  418. package/dist/window-CUK6x8Pj.js +36 -0
  419. package/dist/window-_BfSgFGO.cjs +1 -0
  420. package/dist/windowRegistry-CxXtP-iY.cjs +1 -0
  421. package/dist/windowRegistry-DeGmXt6W.js +20 -0
  422. package/package.json +1 -1
  423. package/dist/CommandPalette-DToM9pUp.cjs +0 -2
  424. package/dist/CommandPalette-ZCFlLqrP.js +0 -3950
  425. package/dist/DateRangePicker-DHI3SNna.cjs +0 -9
  426. package/dist/GuidedTour-B-BXe3ul.js +0 -11214
  427. package/dist/GuidedTour-c7XiyOmE.cjs +0 -21
  428. package/dist/HostWindowContext-DqDeJmBP.cjs +0 -1
  429. package/dist/HostWindowContext-KL4U1qUv.js +0 -40
  430. package/dist/Modal-DpDHzCWT.cjs +0 -1
  431. package/dist/PageSkeleton-DzKYTuNy.cjs +0 -30
  432. package/dist/Progress-B5YmNeyU.js +0 -56
  433. package/dist/Progress-BNy0wsJl.cjs +0 -1
  434. package/dist/StatusBarNotificationBell-CZmym2gV.js +0 -2140
  435. package/dist/StatusBarNotificationBell-DG8Pe6R-.cjs +0 -4
  436. package/dist/ToggleButton-Bjxv8KGH.cjs +0 -1
  437. package/dist/_internal/app/contexts/WorkspaceTabsContext.d.cts +0 -20
  438. package/dist/_internal/app/contexts/WorkspaceTabsContext.d.ts +0 -20
  439. package/dist/_internal/app/settings/theme/appThemeChange.d.cts +0 -20
  440. package/dist/_internal/app/settings/theme/appThemeChange.d.ts +0 -20
  441. package/dist/_internal/app/settings/ui/shell/openSettingsModal.d.cts +0 -6
  442. package/dist/_internal/app/settings/ui/shell/openSettingsModal.d.ts +0 -6
  443. package/dist/_internal/base/listenerDispatch.d.cts +0 -14
  444. package/dist/_internal/base/listenerDispatch.d.ts +0 -14
  445. package/dist/_internal/contract/appName.d.cts +0 -10
  446. package/dist/_internal/contract/appName.d.ts +0 -10
  447. package/dist/_internal/contract/hostText.d.cts +0 -25
  448. package/dist/_internal/contract/hostText.d.ts +0 -25
  449. package/dist/_internal/platform/instantiation/common/descriptors.d.cts +0 -9
  450. package/dist/_internal/platform/instantiation/common/descriptors.d.ts +0 -9
  451. package/dist/_internal/platform/instantiation/common/instantiation.d.cts +0 -99
  452. package/dist/_internal/platform/instantiation/common/instantiation.d.ts +0 -99
  453. package/dist/_internal/platform/instantiation/common/serviceCollection.d.cts +0 -8
  454. package/dist/_internal/platform/instantiation/common/serviceCollection.d.ts +0 -8
  455. package/dist/_internal/platform/logging/rendererLogging.d.cts +0 -65
  456. package/dist/_internal/platform/logging/rendererLogging.d.ts +0 -65
  457. package/dist/_internal/platform/settings/preferencesCache.d.cts +0 -162
  458. package/dist/_internal/platform/settings/preferencesCache.d.ts +0 -162
  459. package/dist/announcerService-B7yicxvU.js +0 -97
  460. package/dist/announcerService-D_pFE24a.cjs +0 -1
  461. package/dist/appThemeDerivation-DmKbTiFi.cjs +0 -1
  462. package/dist/catalogNotify-C9RzbC6x.cjs +0 -27
  463. package/dist/catalogNotify-CIhFuJ1b.js +0 -1210
  464. package/dist/createResizableSidebar-2TgiFZp1.js +0 -461
  465. package/dist/createResizableSidebar-pDoO-7q9.cjs +0 -1
  466. package/dist/defineSettings-By5ell8e.js +0 -391
  467. package/dist/defineSettings-DRv1FRbv.cjs +0 -1
  468. package/dist/descriptor-lw1fA9mi.cjs +0 -1
  469. package/dist/dialogFocusRestore-B4ggeVAM.js +0 -64
  470. package/dist/dialogFocusRestore-BcMPrbig.cjs +0 -1
  471. package/dist/displayOwner-BNw2Foa_.cjs +0 -1
  472. package/dist/displayOwner-B_ezJv-O.js +0 -75
  473. package/dist/feedback/preference.notifications.samples.d.cts +0 -1
  474. package/dist/feedback/preference.notifications.samples.d.ts +0 -1
  475. package/dist/focusModality-B150daiS.js +0 -133
  476. package/dist/focusModality-PPfeW05D.cjs +0 -1
  477. package/dist/format-Dih0q9gm.cjs +0 -1
  478. package/dist/format-UGlMj0HW.js +0 -298
  479. package/dist/i18n-B9ccWgcR.cjs +0 -4
  480. package/dist/keys-BeeC5_RZ.cjs +0 -1
  481. package/dist/mainRealmDom-COGBiX78.js +0 -102
  482. package/dist/mainRealmDom-DijAgSXt.cjs +0 -1
  483. package/dist/menuFavorites-Db1DpHX6.js +0 -69
  484. package/dist/menuFavorites-EluLLTfi.cjs +0 -1
  485. package/dist/notification-CrxHMXsk.cjs +0 -1
  486. package/dist/notificationSuppressions-CBIJ4bC4.js +0 -430
  487. package/dist/notificationSuppressions-DFbFpayS.cjs +0 -1
  488. package/dist/notifications/copyToClipboard.d.cts +0 -6
  489. package/dist/notifications/copyToClipboard.d.ts +0 -6
  490. package/dist/notifications/createCopyFlash.d.cts +0 -17
  491. package/dist/notifications/createCopyFlash.d.ts +0 -17
  492. package/dist/notifications/notificationDisplayOwner.d.cts +0 -27
  493. package/dist/notifications/notificationDisplayOwner.d.ts +0 -27
  494. package/dist/notifications/notificationRepeaterEntryFactory.d.cts +0 -36
  495. package/dist/notifications/notificationRepeaterEntryFactory.d.ts +0 -36
  496. package/dist/notifications/notifications.notifications.samples.d.cts +0 -1
  497. package/dist/notifications/notifications.notifications.samples.d.ts +0 -1
  498. package/dist/notifications/persistWithRollbackOnFailure.d.cts +0 -18
  499. package/dist/notifications/persistWithRollbackOnFailure.d.ts +0 -18
  500. package/dist/notifications/startNotificationSchedulers.d.cts +0 -2
  501. package/dist/notifications/startNotificationSchedulers.d.ts +0 -2
  502. package/dist/notifications/startNotificationSettingsReactions.d.cts +0 -46
  503. package/dist/notifications/startNotificationSettingsReactions.d.ts +0 -46
  504. package/dist/overlay/ToastHost.d.cts +0 -7
  505. package/dist/overlay/ToastHost.d.ts +0 -7
  506. package/dist/pageTourState-CIr8ockR.js +0 -92
  507. package/dist/pageTourState-D8Uapyft.cjs +0 -1
  508. package/dist/preferencesCache-BhUd3K9p.js +0 -65
  509. package/dist/preferencesCache-DJPCTPYx.cjs +0 -1
  510. package/dist/rendererLogging-B4XML4_G.cjs +0 -7
  511. package/dist/rendererLogging-Edo4ALXU.js +0 -822
  512. package/dist/server/CommandPalette-C3Bw1teR.cjs +0 -1
  513. package/dist/server/CommandPalette-S7tfmFMb.js +0 -3208
  514. package/dist/server/DateRangePicker-sX2m4194.cjs +0 -9
  515. package/dist/server/GuidedTour-BhJGkoPa.js +0 -10981
  516. package/dist/server/GuidedTour-Dx0endYh.cjs +0 -20
  517. package/dist/server/HostWindowContext-DqDeJmBP.cjs +0 -1
  518. package/dist/server/HostWindowContext-KL4U1qUv.js +0 -40
  519. package/dist/server/Modal-CAVr4DU6.cjs +0 -1
  520. package/dist/server/PageSkeleton-KwYRrZua.cjs +0 -30
  521. package/dist/server/Progress-CRbj6nEy.cjs +0 -1
  522. package/dist/server/Progress-nsDy6clG.js +0 -41
  523. package/dist/server/StatusBarNotificationBell-BJyGqDCX.cjs +0 -4
  524. package/dist/server/StatusBarNotificationBell-C9MCuKT6.js +0 -1974
  525. package/dist/server/ToggleButton-DTI2HB97.cjs +0 -1
  526. package/dist/server/VpTerminal-Bpw-d9wD.js +0 -186
  527. package/dist/server/VpTerminal-C-U_dN_x.cjs +0 -1
  528. package/dist/server/VpTrash-CagiU2Uj.cjs +0 -1
  529. package/dist/server/VpTrash-DVBfts9_.js +0 -116
  530. package/dist/server/announcerService-B7yicxvU.js +0 -97
  531. package/dist/server/announcerService-D_pFE24a.cjs +0 -1
  532. package/dist/server/appThemeDerivation-DmKbTiFi.cjs +0 -1
  533. package/dist/server/catalogNotify-BPPTINme.cjs +0 -27
  534. package/dist/server/catalogNotify-mUcKuUmZ.js +0 -1248
  535. package/dist/server/createResizableSidebar-CCrAgu_K.js +0 -299
  536. package/dist/server/createResizableSidebar-DGd-3PrM.cjs +0 -1
  537. package/dist/server/defineSettings-By5ell8e.js +0 -391
  538. package/dist/server/defineSettings-DRv1FRbv.cjs +0 -1
  539. package/dist/server/descriptor-IJq9wdXK.cjs +0 -1
  540. package/dist/server/dialogFocusRestore-B4ggeVAM.js +0 -64
  541. package/dist/server/dialogFocusRestore-BcMPrbig.cjs +0 -1
  542. package/dist/server/displayOwner-BNw2Foa_.cjs +0 -1
  543. package/dist/server/displayOwner-B_ezJv-O.js +0 -75
  544. package/dist/server/focusModality-CeTPyRiF.cjs +0 -1
  545. package/dist/server/focusModality-DmOZptla.js +0 -124
  546. package/dist/server/format-x-8syaS2.cjs +0 -1
  547. package/dist/server/i18n-B9ccWgcR.cjs +0 -4
  548. package/dist/server/index-Xlas73iC.cjs +0 -1
  549. package/dist/server/mainRealmDom-BCL1p_q6.cjs +0 -1
  550. package/dist/server/mainRealmDom-Dk0xb5Gj.js +0 -67
  551. package/dist/server/menuFavorites-Db1DpHX6.js +0 -69
  552. package/dist/server/menuFavorites-EluLLTfi.cjs +0 -1
  553. package/dist/server/notification-CrxHMXsk.cjs +0 -1
  554. package/dist/server/notificationSuppressions-D7FZmJy8.cjs +0 -1
  555. package/dist/server/notificationSuppressions-DkrUMXHx.js +0 -391
  556. package/dist/server/pageTourState-CIr8ockR.js +0 -92
  557. package/dist/server/pageTourState-D8Uapyft.cjs +0 -1
  558. package/dist/server/preferencesCache-BhUd3K9p.js +0 -65
  559. package/dist/server/preferencesCache-DJPCTPYx.cjs +0 -1
  560. package/dist/server/rendererLogging-B4XML4_G.cjs +0 -7
  561. package/dist/server/rendererLogging-Edo4ALXU.js +0 -822
  562. package/dist/server/settingsSearchContributor-DZj7Wc8l.cjs +0 -1
  563. package/dist/server/settingsSearchContributor-DeMn-njw.js +0 -199
  564. package/dist/server/stateDbStore-Ds3zJ4cd.js +0 -47
  565. package/dist/server/stateDbStore-THFfFGa0.cjs +0 -1
  566. package/dist/server/useListCommands-Bf7aOTXZ.js +0 -61
  567. package/dist/server/useListCommands-ucngC3t4.cjs +0 -1
  568. package/dist/server/useSettingsSubscription-cu943hND.js +0 -11
  569. package/dist/server/useSettingsSubscription-vlMrNNH9.cjs +0 -1
  570. package/dist/server/visibleBrowserRegistry-BTfWUlI1.cjs +0 -1
  571. package/dist/server/visibleBrowserRegistry-Dw2Y4y_I.js +0 -89
  572. package/dist/server/windowRegistry-Bk5lXIVd.js +0 -62
  573. package/dist/server/windowRegistry-CGvOBUsw.cjs +0 -1
  574. package/dist/settingsSearchContributor-C-UJc7Xc.js +0 -199
  575. package/dist/settingsSearchContributor-Du0SDpJt.cjs +0 -1
  576. package/dist/solid/_internal/app/contexts/WorkspaceTabsContext.js +0 -10
  577. package/dist/solid/_internal/app/settings/theme/appThemeChange.js +0 -5
  578. package/dist/solid/_internal/app/settings/ui/shell/openSettingsModal.js +0 -15
  579. package/dist/solid/_internal/base/listenerDispatch.js +0 -12
  580. package/dist/solid/_internal/contract/appName.js +0 -7
  581. package/dist/solid/_internal/contract/hostText.js +0 -15
  582. package/dist/solid/_internal/platform/instantiation/common/descriptors.js +0 -10
  583. package/dist/solid/_internal/platform/instantiation/common/instantiation.js +0 -35
  584. package/dist/solid/_internal/platform/instantiation/common/serviceCollection.js +0 -14
  585. package/dist/solid/_internal/platform/logging/rendererLogging.js +0 -42
  586. package/dist/solid/_internal/platform/settings/preferencesCache.js +0 -329
  587. package/dist/solid/feedback/preference.notifications.samples.js +0 -5
  588. package/dist/solid/notifications/copyToClipboard.js +0 -21
  589. package/dist/solid/notifications/createCopyFlash.js +0 -26
  590. package/dist/solid/notifications/notificationDisplayOwner.js +0 -1
  591. package/dist/solid/notifications/notificationRepeaterEntryFactory.js +0 -20
  592. package/dist/solid/notifications/notifications.notifications.samples.js +0 -14
  593. package/dist/solid/notifications/persistWithRollbackOnFailure.js +0 -11
  594. package/dist/solid/notifications/startNotificationSchedulers.js +0 -8
  595. package/dist/solid/notifications/startNotificationSettingsReactions.js +0 -22
  596. package/dist/solid/overlay/ToastHost.jsx +0 -1
  597. package/dist/stateDbStore-Ds3zJ4cd.js +0 -47
  598. package/dist/stateDbStore-THFfFGa0.cjs +0 -1
  599. package/dist/tooltipCoordinator-y5YP3tsJ.cjs +0 -1
  600. package/dist/useListCommands-Bf7aOTXZ.js +0 -61
  601. package/dist/useListCommands-ucngC3t4.cjs +0 -1
  602. package/dist/useSettingsSubscription-cu943hND.js +0 -11
  603. package/dist/useSettingsSubscription-vlMrNNH9.cjs +0 -1
  604. package/dist/visibleBrowserRegistry-BTfWUlI1.cjs +0 -1
  605. package/dist/visibleBrowserRegistry-Dw2Y4y_I.js +0 -89
  606. package/dist/windowRegistry-Bk5lXIVd.js +0 -62
  607. package/dist/windowRegistry-CGvOBUsw.cjs +0 -1
@@ -1,18 +0,0 @@
1
- export interface PersistWithRollbackArgs {
2
- /** Performs the async write (e.g. `setSourceMuted(id, next)`). May reject. */
3
- persist: () => Promise<void>;
4
- /**
5
- * Reverts the optimistic local state to its pre-change value. Invoked only
6
- * when `persist` rejects. Must itself be synchronous and side-effect-local
7
- * (e.g. a `setNotificationSettings` call restoring the previous array).
8
- */
9
- rollback: () => void;
10
- /** Surfaces a user-facing failure message (e.g. `toast.error`). */
11
- reportError: (cause: unknown) => void;
12
- }
13
- /**
14
- * Awaits `persist`. On success resolves `true`. On rejection, runs `rollback`,
15
- * reports the error message, and resolves `false` (never re-throws — the caller
16
- * is a fire-and-forget UI event handler and has nothing to catch it).
17
- */
18
- export declare function persistWithRollbackOnFailure(args: PersistWithRollbackArgs): Promise<boolean>;
@@ -1,18 +0,0 @@
1
- export interface PersistWithRollbackArgs {
2
- /** Performs the async write (e.g. `setSourceMuted(id, next)`). May reject. */
3
- persist: () => Promise<void>;
4
- /**
5
- * Reverts the optimistic local state to its pre-change value. Invoked only
6
- * when `persist` rejects. Must itself be synchronous and side-effect-local
7
- * (e.g. a `setNotificationSettings` call restoring the previous array).
8
- */
9
- rollback: () => void;
10
- /** Surfaces a user-facing failure message (e.g. `toast.error`). */
11
- reportError: (cause: unknown) => void;
12
- }
13
- /**
14
- * Awaits `persist`. On success resolves `true`. On rejection, runs `rollback`,
15
- * reports the error message, and resolves `false` (never re-throws — the caller
16
- * is a fire-and-forget UI event handler and has nothing to catch it).
17
- */
18
- export declare function persistWithRollbackOnFailure(args: PersistWithRollbackArgs): Promise<boolean>;
@@ -1,2 +0,0 @@
1
- /** Called ONCE at shell startup; repeated calls are no-ops. */
2
- export declare function startNotificationSchedulers(): void;
@@ -1,2 +0,0 @@
1
- /** Called ONCE at shell startup; repeated calls are no-ops. */
2
- export declare function startNotificationSchedulers(): void;
@@ -1,46 +0,0 @@
1
- /**
2
- * REACTIONS TO NOTIFICATION SETTINGS — an EXPLICIT hook, NOT a module side effect.
3
- *
4
- * ## What it solves
5
- *
6
- * Wiring the THREE invalidators that react to a settings change through separate
7
- * `window.addEventListener` calls made in the bodies of the modules that own them (`toast.ts`
8
- * ×2, `notificationTimeline.ts` ×1) would have four defects. All three would listen to the SAME
9
- * event (`notificationSettings.changeEvent`) on the SAME window:
10
- *
11
- * 1. **They would never be removed** and would MULTIPLY under HMR: in dev the module is
12
- * re-evaluated on every hot update, adding two MORE listeners. `import.meta.hot.dispose`
13
- * only closes the `AudioContext` and removes NONE of the listeners — so the count would grow
14
- * monotonically on every save.
15
- * 2. **`refreshOsBadge()` would fire IPC (`setOsBadgeCount`) merely because the module was
16
- * imported**, i.e. before startup has decided whether the app should talk to the OS shell.
17
- * 3. **They would run in every jest realm**: EVERY suite that transitively loads these modules
18
- * would leave a listener on jsdom's `window`.
19
- * 4. **Three registrations instead of one**: the listener list of the same event would be walked
20
- * three times (`defineSettings` iterates the whole list on every change).
21
- *
22
- * The precedent is in the same folder: `startNotificationSchedulers.ts` — the side effect
23
- * leaves the module and startup calls it BY NAME.
24
- *
25
- * ## ⚠ The call time is the shell mount, and this is DECLARED
26
- *
27
- * The listeners are installed when the shell mounts, not when `toast`/`notificationTimeline`
28
- * are IMPORTED. The difference was measured and is HARMLESS: `hydrateAllSettings()` emits
29
- * change events BEFORE the mount, so an import-time registration would run a `refreshOsBadge()`
30
- * at that moment — but at startup the unread count is 0, so the badge target is 0 either way,
31
- * and the first toast re-enters through `notifyUnread()` → `syncOsBadge()` anyway.
32
- *
33
- * ## Why it RETURNS a disposer
34
- *
35
- * `startNotificationSchedulers` is called at module scope, so it cannot honour a disposer (and
36
- * for `setInterval` that was acceptable). Here it is NOT acceptable: the listener must be
37
- * removable. Since the disposer is the return value ITSELF, the caller cannot forget it —
38
- * `onCleanup(startNotificationSettingsReactions())`.
39
- */
40
- /**
41
- * Installs the three settings-change invalidators behind a SINGLE listener.
42
- *
43
- * Idempotent: a second call does not add a new listener, it returns the LIVE disposer (so even
44
- * if two different mount points call the hook, only one registration remains).
45
- */
46
- export declare function startNotificationSettingsReactions(): () => void;
@@ -1,46 +0,0 @@
1
- /**
2
- * REACTIONS TO NOTIFICATION SETTINGS — an EXPLICIT hook, NOT a module side effect.
3
- *
4
- * ## What it solves
5
- *
6
- * Wiring the THREE invalidators that react to a settings change through separate
7
- * `window.addEventListener` calls made in the bodies of the modules that own them (`toast.ts`
8
- * ×2, `notificationTimeline.ts` ×1) would have four defects. All three would listen to the SAME
9
- * event (`notificationSettings.changeEvent`) on the SAME window:
10
- *
11
- * 1. **They would never be removed** and would MULTIPLY under HMR: in dev the module is
12
- * re-evaluated on every hot update, adding two MORE listeners. `import.meta.hot.dispose`
13
- * only closes the `AudioContext` and removes NONE of the listeners — so the count would grow
14
- * monotonically on every save.
15
- * 2. **`refreshOsBadge()` would fire IPC (`setOsBadgeCount`) merely because the module was
16
- * imported**, i.e. before startup has decided whether the app should talk to the OS shell.
17
- * 3. **They would run in every jest realm**: EVERY suite that transitively loads these modules
18
- * would leave a listener on jsdom's `window`.
19
- * 4. **Three registrations instead of one**: the listener list of the same event would be walked
20
- * three times (`defineSettings` iterates the whole list on every change).
21
- *
22
- * The precedent is in the same folder: `startNotificationSchedulers.ts` — the side effect
23
- * leaves the module and startup calls it BY NAME.
24
- *
25
- * ## ⚠ The call time is the shell mount, and this is DECLARED
26
- *
27
- * The listeners are installed when the shell mounts, not when `toast`/`notificationTimeline`
28
- * are IMPORTED. The difference was measured and is HARMLESS: `hydrateAllSettings()` emits
29
- * change events BEFORE the mount, so an import-time registration would run a `refreshOsBadge()`
30
- * at that moment — but at startup the unread count is 0, so the badge target is 0 either way,
31
- * and the first toast re-enters through `notifyUnread()` → `syncOsBadge()` anyway.
32
- *
33
- * ## Why it RETURNS a disposer
34
- *
35
- * `startNotificationSchedulers` is called at module scope, so it cannot honour a disposer (and
36
- * for `setInterval` that was acceptable). Here it is NOT acceptable: the listener must be
37
- * removable. Since the disposer is the return value ITSELF, the caller cannot forget it —
38
- * `onCleanup(startNotificationSettingsReactions())`.
39
- */
40
- /**
41
- * Installs the three settings-change invalidators behind a SINGLE listener.
42
- *
43
- * Idempotent: a second call does not add a new listener, it returns the LIVE disposer (so even
44
- * if two different mount points call the hook, only one registration remains).
45
- */
46
- export declare function startNotificationSettingsReactions(): () => void;
@@ -1,7 +0,0 @@
1
- /**
2
- * @deprecated The notification system is the only toast system; use `NotificationHost`.
3
- * `ToastHost` is an alias of `NotificationHost` (`@vokril/ui-solid/notifications`) kept for one
4
- * release; mount `<NotificationHost />` and use `toast.success(…)` from the notifications
5
- * module instead.
6
- */
7
- export { NotificationHost as ToastHost } from '../notifications/NotificationHost.cjs';
@@ -1,7 +0,0 @@
1
- /**
2
- * @deprecated The notification system is the only toast system; use `NotificationHost`.
3
- * `ToastHost` is an alias of `NotificationHost` (`@vokril/ui-solid/notifications`) kept for one
4
- * release; mount `<NotificationHost />` and use `toast.success(…)` from the notifications
5
- * module instead.
6
- */
7
- export { NotificationHost as ToastHost } from '../notifications/NotificationHost.js';
@@ -1,92 +0,0 @@
1
- import { createSignal as v } from "solid-js";
2
- import { d as w } from "./windowRegistry-Bk5lXIVd.js";
3
- import { g, S as d, a as P } from "./stateDbStore-Ds3zJ4cd.js";
4
- const c = {
5
- get: (e) => g().get(e, d.APPLICATION),
6
- set: (e, t) => g().store(e, t, d.APPLICATION, P.MACHINE)
7
- }, m = /* @__PURE__ */ new Map(), [T, I] = v(
8
- null
9
- );
10
- function x() {
11
- return T();
12
- }
13
- function n(e) {
14
- return e === "filesystem" ? "file-system" : e === "explorer" ? "database-explorer" : e;
15
- }
16
- function y(e) {
17
- const t = T();
18
- return t !== null && n(t) === n(e);
19
- }
20
- function W(e) {
21
- I(e ? n(e) : null);
22
- }
23
- const p = (e) => `onboarding:page:${n(e)}`, A = "onboarding:neverShowAgain";
24
- let i = null;
25
- function N() {
26
- return i !== null || (i = c.get(A) === "true"), i;
27
- }
28
- function C(e) {
29
- i = e, c.set(A, e ? "true" : "false");
30
- }
31
- function E(e) {
32
- if (N()) return "skipped";
33
- const t = n(e);
34
- return m.get(t) ?? c.get(p(t));
35
- }
36
- function H(e, t) {
37
- const u = n(e);
38
- m.set(u, t), c.set(p(u), t);
39
- }
40
- let S = !1;
41
- function O(e) {
42
- S = e;
43
- }
44
- function _() {
45
- return S;
46
- }
47
- const a = /* @__PURE__ */ new Set();
48
- let s = null, o = null;
49
- function q(e) {
50
- return s && s !== e ? !1 : (s = e, !0);
51
- }
52
- function D(e) {
53
- s === e && (s = null);
54
- }
55
- function L(e) {
56
- return a.add(e), () => a.delete(e);
57
- }
58
- function M(e) {
59
- var f;
60
- o = null;
61
- const t = e ? n(e) : void 0;
62
- s = null;
63
- for (const r of a)
64
- (!t || n(r.page) !== t) && ((f = r.dismiss) == null || f.call(r));
65
- const u = Array.from(a).filter(
66
- (r) => r.visible() && (!t || n(r.page) === t)
67
- ), l = u.find((r) => r.document() === w().document) ?? u[0];
68
- return l ? (l.start(), !0) : (t && (o = { page: t, expires: Date.now() + 15e3 }), !1);
69
- }
70
- function R(e) {
71
- if (!o || n(o.page) !== n(e))
72
- return !1;
73
- const t = o.expires > Date.now();
74
- return o = null, t;
75
- }
76
- export {
77
- q as a,
78
- R as b,
79
- n as c,
80
- y as d,
81
- L as e,
82
- D as f,
83
- x as g,
84
- M as h,
85
- N as i,
86
- C as j,
87
- O as k,
88
- _ as l,
89
- E as r,
90
- W as s,
91
- H as w
92
- };
@@ -1 +0,0 @@
1
- "use strict";const p=require("solid-js"),w=require("./windowRegistry-CGvOBUsw.cjs"),s=require("./stateDbStore-THFfFGa0.cjs"),l={get:e=>s.getSettingsBackend().get(e,s.StorageScope.APPLICATION),set:(e,t)=>s.getSettingsBackend().store(e,t,s.StorageScope.APPLICATION,s.StorageTarget.MACHINE)},T=new Map,[d,P]=p.createSignal(null);function N(){return d()}function r(e){return e==="filesystem"?"file-system":e==="explorer"?"database-explorer":e}function h(e){const t=d();return t!==null&&r(t)===r(e)}function k(e){P(e?r(e):null)}const S=e=>`onboarding:page:${r(e)}`,A="onboarding:neverShowAgain";let c=null;function m(){return c!==null||(c=l.get(A)==="true"),c}function I(e){c=e,l.set(A,e?"true":"false")}function q(e){if(m())return"skipped";const t=r(e);return T.get(t)??l.get(S(t))}function W(e,t){const i=r(e);T.set(i,t),l.set(S(i),t)}let v=!1;function y(e){v=e}function b(){return v}const a=new Set;let u=null,o=null;function x(e){return u&&u!==e?!1:(u=e,!0)}function C(e){u===e&&(u=null)}function E(e){return a.add(e),()=>a.delete(e)}function H(e){var f;o=null;const t=e?r(e):void 0;u=null;for(const n of a)(!t||r(n.page)!==t)&&((f=n.dismiss)==null||f.call(n));const i=Array.from(a).filter(n=>n.visible()&&(!t||r(n.page)===t)),g=i.find(n=>n.document()===w.getActiveWindow$1().document)??i[0];return g?(g.start(),!0):(t&&(o={page:t,expires:Date.now()+15e3}),!1)}function R(e){if(!o||r(o.page)!==r(e))return!1;const t=o.expires>Date.now();return o=null,t}exports.canonicalTourPageId=r;exports.claimTour=x;exports.consumeTourRequest=R;exports.getActiveTourPage=N;exports.isNeverShowToursAgain=m;exports.isPageTourActive=h;exports.readTourStatus=q;exports.registerTourHost=E;exports.releaseTour=C;exports.requestPageTour=H;exports.setActiveTour=k;exports.setNeverShowToursAgain=I;exports.setSkipWelcome=y;exports.shouldSkipWelcome=b;exports.writeTourStatus=W;
@@ -1,65 +0,0 @@
1
- import { g as l } from "./rendererLogging-Edo4ALXU.js";
2
- l("PreferencesCache");
3
- const c = () => ({
4
- workspacePreferences: {},
5
- sshState: {},
6
- uiLayoutState: {}
7
- });
8
- let t = c(), n = null;
9
- function p(e) {
10
- n = e;
11
- }
12
- function L() {
13
- return n ? n.getUiLayout() : t.uiLayoutState;
14
- }
15
- const u = "app-sidebar-layout-change";
16
- function h() {
17
- return u;
18
- }
19
- function s(e, a) {
20
- typeof window > "u" || window.dispatchEvent(
21
- new CustomEvent(u, { detail: { key: e, kind: a } })
22
- );
23
- }
24
- function y(e, a) {
25
- if (n) {
26
- n.setSidebarWidth(e, a);
27
- return;
28
- }
29
- const o = { ...t.uiLayoutState.sidebarWidths ?? {} };
30
- o[e] = a, t = {
31
- ...t,
32
- uiLayoutState: { ...t.uiLayoutState, sidebarWidths: o }
33
- }, r(), s(e, "width");
34
- }
35
- function b(e, a) {
36
- if (n) {
37
- n.setSidebarCollapsed(e, a);
38
- return;
39
- }
40
- const o = { ...t.uiLayoutState.sidebarCollapsed ?? {} };
41
- o[e] = a, t = {
42
- ...t,
43
- uiLayoutState: { ...t.uiLayoutState, sidebarCollapsed: o }
44
- }, r(), s(e, "collapsed");
45
- }
46
- let i = null;
47
- const f = 250;
48
- function r() {
49
- i && clearTimeout(i), i = setTimeout(() => {
50
- i = null, d();
51
- }, f);
52
- }
53
- async function d() {
54
- i && (clearTimeout(i), i = null);
55
- }
56
- typeof window < "u" && window.addEventListener("beforeunload", () => {
57
- d();
58
- });
59
- export {
60
- h as a,
61
- y as b,
62
- L as g,
63
- p,
64
- b as s
65
- };
@@ -1 +0,0 @@
1
- "use strict";const c=require("./rendererLogging-B4XML4_G.cjs");c.getLogger("PreferencesCache");const l=()=>({workspacePreferences:{},sshState:{},uiLayoutState:{}});let t=l(),n=null;function f(e){n=e}function S(){return n?n.getUiLayout():t.uiLayoutState}const u="app-sidebar-layout-change";function L(){return u}function r(e,i){typeof window>"u"||window.dispatchEvent(new CustomEvent(u,{detail:{key:e,kind:i}}))}function y(e,i){if(n){n.setSidebarWidth(e,i);return}const o={...t.uiLayoutState.sidebarWidths??{}};o[e]=i,t={...t,uiLayoutState:{...t.uiLayoutState,sidebarWidths:o}},s(),r(e,"width")}function h(e,i){if(n){n.setSidebarCollapsed(e,i);return}const o={...t.uiLayoutState.sidebarCollapsed??{}};o[e]=i,t={...t,uiLayoutState:{...t.uiLayoutState,sidebarCollapsed:o}},s(),r(e,"collapsed")}let a=null;const p=250;function s(){a&&clearTimeout(a),a=setTimeout(()=>{a=null,d()},p)}async function d(){a&&(clearTimeout(a),a=null)}typeof window<"u"&&window.addEventListener("beforeunload",()=>{d()});exports.getSidebarLayoutChangeEventName=L;exports.getUiLayout=S;exports.provideLayoutPreferences=f;exports.setSidebarCollapsed=h;exports.setSidebarWidth=y;
@@ -1,7 +0,0 @@
1
- "use strict";var G=Object.defineProperty;var Y=(t,e,r)=>e in t?G(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var u=(t,e,r)=>Y(t,typeof e!="symbol"?e+"":e,r);const X=require("./bugIndicatingError-D2X5Hfgg.cjs");function M(t){if(!t)return!1;if(typeof t=="object"){const e=t;if(e.isCancellation===!0||e.cancelled===!0||e.name==="Canceled"&&e.message==="Canceled"||e.name==="AbortError"||e.name==="CancellationError")return!0}return!1}function U(t,e){return t instanceof Error&&t.message.trim()?t.message:typeof t=="string"&&t.trim()?t:e}const L=String.raw`'(?:[^']|'')*(?:'|$)|"(?:[^"]|"")*(?:"|$)`,J=new RegExp(String.raw`(["']?\b(?:password|passcode|passwd|pwd|secret|token|api[_-]?key|authorization|bearer)\b["']?)(\s*[:=]\s*)(`+L+String.raw`|[^\s,;'"}\]]+)`,"gi"),q=new RegExp(String.raw`\b(identified\s+by(?:\s+values)?)\s+(`+L+String.raw`|[^\s,;)]+)`,"gi"),Q=new RegExp(String.raw`(?<!["':])\b(password)\s*(?:=\s*)?(`+L+")","gi");function m(t){let e=t;return e=e.replace(J,(r,s,n,i)=>{if(s.startsWith('"')||s.startsWith("'")){const a=i.startsWith('"')?'"':i.startsWith("'")?"'":"";return`${s}${n}${a}[REDACTED]${a}`}return i.startsWith('"')||i.startsWith("'")?`${s} [REDACTED]`:`${s}=[REDACTED]`}),e=e.replace(q,"$1 [REDACTED]"),e=e.replace(Q,"$1 [REDACTED]"),e=e.replace(/\b([a-z][a-z0-9+\-.]*:\/\/[^\s:@/?#]+):[^\s@/?#]+@/gi,"$1:[REDACTED]@"),e=e.replace(/\beyJ[A-Za-z0-9_-]{5,}\.[A-Za-z0-9_-]{5,}\.[A-Za-z0-9_-]{5,}\b/g,"[REDACTED-JWT]"),e=e.replace(/-----BEGIN [A-Z ]*PRIVATE KEY-----[\s\S]*?-----END [A-Z ]*PRIVATE KEY-----/g,"[REDACTED-PRIVATE-KEY]"),e}const ee=Symbol.for("vokril.base.bestEffortSink");function te(){return globalThis}function $(t,e){const r=te()[ee];if(r===void 0)throw new X.BugIndicatingError("base/bestEffort: no log sink is connected — the realm must call provideBestEffortSink at startup.");r(t,e)}const S=40,O=/password|passcode|passwd|pwd|secret|token|api[_-]?key|authorization|bearer/i;function b(t,e=new WeakSet){if(typeof t=="string")return m(t);if(typeof t=="function")return"[Function]";if(typeof t=="symbol")return t.toString();if(t instanceof Date)return t.toISOString();if(t instanceof RegExp)return t.toString();if(t&&typeof t=="object"){if(e.has(t))return"[Circular]";if(e.add(t),Array.isArray(t))return t.map(s=>b(s,e));if(t instanceof Error){const s={name:t.name,message:m(t.message)};t.stack&&(s.stack=m(t.stack));try{const n=Object.keys(t);for(const i of n)if(!(i==="name"||i==="message"||i==="stack")){if(O.test(i)){s[i]="[REDACTED]";continue}try{const a=t[i];s[i]=b(a,e)}catch{s[i]="[Unserializable]"}}}catch(n){$("ignore entry extraction failures on Error",n)}return s}const r={};try{const s=Object.keys(t);for(const n of s){if(O.test(n)){r[n]="[REDACTED]";continue}try{const i=t[n];r[n]=b(i,e)}catch{r[n]="[Unserializable]"}}}catch{return"[Unserializable]"}return r}return t}const _=[];let k=0,T=null;function re(t){T=t}function C(t){if(T!==null){T.add(t);return}try{const e=t.timestamp??Date.now(),r=m(t.message);let s;if(t.data)try{s=b(t.data)}catch{s={error:"[Unserializable data]"}}const n={timestamp:e,category:t.category,message:r,...s!==void 0?{data:s}:{},...t.level!==void 0?{level:t.level}:{}};_.length<S?_.push(n):(_[k]=n,k=(k+1)%S)}catch(e){$("Defensive: breadcrumb recording must never throw and crash the caller",e)}}function se(){return T!==null?T.list():_.length<S?[..._]:[..._.slice(k),..._.slice(0,k)]}function ne(t){let e=2166136261;for(let r=0;r<t.length;r++)e^=t.charCodeAt(r),e=Math.imul(e,16777619);return e>>>0}const ie=/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/gi,oe=/\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b/g,ae=/\b[0-9a-fA-F]{1,4}(?::[0-9a-fA-F]{1,4}){3,7}\b/g,ce=/\b0x[0-9a-fA-F]+\b/g,ue=/\b\d{5,}\b/g;function fe(t){return t.replace(ie,"<ID>").replace(oe,"<ID>").replace(ae,"<ID>").replace(ce,"<ID>").replace(ue,"<ID>").trim()}function le(t){if(!t)return"";const e=t.split(`
2
- `).map(s=>s.trim()),r=[];for(const s of e)if(s&&s.startsWith("at ")){const n=s.endsWith(")")?s.replace(/(?:\?[^:)]+)?:\d+(?::\d+)?\)$/,")"):s.replace(/(?:\?[^:)]+)?:\d+(?::\d+)?$/,"");if(r.push(n),r.length>=2)break}return r.join(`
3
- `)}function de(t){let e="Error",r="",s;try{if(t instanceof Error)e=t.name||"Error",r=t.message||"",s=t.stack;else if(typeof t=="object"&&t!==null){const c=t;typeof c.name=="string"&&(e=c.name),typeof c.message=="string"&&(r=c.message),typeof c.stack=="string"&&(s=c.stack)}else typeof t=="string"?r=t:r=String(t)}catch{e="UnserializableError",r="Error object threw during fingerprint extraction"}const n=fe(r),i=le(s),a=`${e}|${n}|${i}`;return ne(a).toString(16).padStart(8,"0")}class pe{constructor(e={}){u(this,"dedupWindowMs");u(this,"circuitBreakerWindowMs");u(this,"circuitBreakerThreshold");u(this,"fingerprints",new Map);u(this,"recentTimestamps",[]);u(this,"circuitBreakerSuppressedTotal",0);u(this,"wasCircuitBreakerOpen",!1);u(this,"lastPruneTime",0);this.dedupWindowMs=e.dedupWindowMs??5e3,this.circuitBreakerWindowMs=e.circuitBreakerWindowMs??1e4,this.circuitBreakerThreshold=e.circuitBreakerThreshold??20}shouldReport(e,r=Date.now()){(r-this.lastPruneTime>3e4||this.fingerprints.size>200)&&(this.cleanup(r),this.lastPruneTime=r);const s=r-this.circuitBreakerWindowMs;for(;this.recentTimestamps.length>0&&(this.recentTimestamps[0]??0)<s;)this.recentTimestamps.shift();if(this.recentTimestamps.length>=this.circuitBreakerThreshold){const c=!this.wasCircuitBreakerOpen;this.wasCircuitBreakerOpen=!0,this.circuitBreakerSuppressedTotal++;let l=this.fingerprints.get(e);return l||(l={lastReported:r,suppressedCount:0},this.fingerprints.set(e,l)),l.suppressedCount++,{allowed:!1,reason:"circuit_breaker",...c?{circuitBreakerJustOpened:!0}:{}}}let n;this.wasCircuitBreakerOpen&&(this.wasCircuitBreakerOpen=!1,this.circuitBreakerSuppressedTotal>0&&(n=this.circuitBreakerSuppressedTotal,this.circuitBreakerSuppressedTotal=0));const i=this.fingerprints.get(e);if(!i)return this.fingerprints.set(e,{lastReported:r,suppressedCount:0}),this.recentTimestamps.push(r),{allowed:!0,...n!==void 0?{circuitBreakerSuppressedCount:n}:{}};if(r-i.lastReported<this.dedupWindowMs)return i.suppressedCount++,{allowed:!1,reason:"duplicate"};const f=i.suppressedCount;return i.lastReported=r,i.suppressedCount=0,this.recentTimestamps.push(r),{allowed:!0,...f>0?{suppressedCount:f}:{},...n!==void 0?{circuitBreakerSuppressedCount:n}:{}}}isCircuitBreakerOpen(e=Date.now()){const r=e-this.circuitBreakerWindowMs;for(;this.recentTimestamps.length>0&&(this.recentTimestamps[0]??0)<r;)this.recentTimestamps.shift();return this.recentTimestamps.length>=this.circuitBreakerThreshold}cleanup(e=Date.now()){const r=e-this.dedupWindowMs*2;for(const[s,n]of this.fingerprints.entries())n.lastReported<r&&this.fingerprints.delete(s)}reset(){this.fingerprints.clear(),this.recentTimestamps.length=0,this.circuitBreakerSuppressedTotal=0,this.wasCircuitBreakerOpen=!1,this.lastPruneTime=0}}const he=new pe;let R=null;function ge(t){R=t}class Ee{constructor(e=he){u(this,"listeners",new Set);u(this,"rateLimiter");this.rateLimiter=e}addListener(e){return this.listeners.add(e),{dispose:()=>{this.listeners.delete(e)}}}onUnexpectedError(e,r){if(this===I&&R!==null){R.onUnexpectedError(e,r);return}if(M(e))return;const s=de(e),n=this.rateLimiter.shouldReport(s);if(!n.allowed){if(n.circuitBreakerJustOpened){const f="Error rate limit circuit breaker opened: exceeded volume threshold. Subsequent errors are suppressed until volume subsides.";C({category:"log",level:"warn",message:f,data:{source:"circuit_breaker"}});const c={source:"circuit_breaker",fingerprint:s};for(const l of this.listeners)try{l(new Error(f),c)}catch(g){console.error("Error listener threw:",g)}}return}const i=U(e,"Unexpected error"),a={...r??{},fingerprint:s,...n.suppressedCount!==void 0?{suppressedCount:n.suppressedCount}:{},...n.circuitBreakerSuppressedCount!==void 0?{circuitBreakerSuppressedCount:n.circuitBreakerSuppressedCount}:{}};C({category:"log",level:"error",message:`Unexpected error: ${i}`,data:a});for(const f of this.listeners)try{f(e,a)}catch(c){console.error("Error listener threw:",c)}}}const I=new Ee;function x(t,e){I.onUnexpectedError(t,e)}var W;(t=>{t.None=()=>({dispose(){}});function e(a){return(f,c)=>{let l=!1;const g=a(d=>{l||(l=!0,g.dispose(),f.call(c,d))});return g}}t.once=e;function r(a){return new Promise(f=>e(a)(f))}t.toPromise=r;function s(a,f,c){return(l,g)=>{const d=a(p=>{f(p)&&l.call(g,p)});return c==null||c.add(d),d}}t.filter=s;function n(a,f,c=100){return(l,g)=>{let d,p;const H=a(Z=>{d=f(d,Z),p!==void 0&&clearTimeout(p),p=setTimeout(()=>{const K=d;d=void 0,p=void 0,l.call(g,K)},c)});return{dispose:()=>{H.dispose(),p!==void 0&&clearTimeout(p)}}}}t.debounce=n;function i(a,f,c){return f(c),a(l=>f(l))}t.runAndSubscribe=i})(W||(W={}));class j{constructor(){u(this,"_listeners",new Set);u(this,"_disposed",!1);u(this,"_event")}get event(){return this._event||(this._event=(e,r)=>{if(this._disposed)return console.warn("Emitter is already disposed, cannot register listener"),{dispose(){}};const s={fn:e,thisArgs:r};if(process.env.NODE_ENV!=="production"){const n=new Error().stack;n!==void 0&&(s.registeredAt=n)}return this._listeners.add(s),{dispose:()=>{this._listeners.delete(s)}}}),this._event}get _size(){return this._listeners.size}fire(e){if(this._disposed)return;const r=[...this._listeners];for(const{fn:s,thisArgs:n,registeredAt:i}of r)try{s.call(n,e)}catch(a){x(a,{source:"event-listener",...i!==void 0?{registeredAt:i}:{}})}}dispose(){this._disposed||(this._disposed=!0,this._listeners.clear(),this._event=void 0)}}var o=(t=>(t[t.Off=0]="Off",t[t.Trace=1]="Trace",t[t.Debug=2]="Debug",t[t.Info=3]="Info",t[t.Warn=4]="Warn",t[t.Error=5]="Error",t[t.Audit=6]="Audit",t))(o||{});const N=3;function V(t,e){return e===6?!0:t===0?!1:t<=e}class _e{constructor(){u(this,"_store",new Set);u(this,"_isDisposed",!1)}_register(e){return this._isDisposed?(console.warn("Registering disposable on already disposed object"),e.dispose()):this._store.add(e),e}get isDisposed(){return this._isDisposed}dispose(){if(!this._isDisposed){this._isDisposed=!0;for(const e of this._store)try{e.dispose()}catch(r){x(r,{source:"dispose"})}this._store.clear()}}}class me extends _e{constructor(r=N){super();u(this,"_level");u(this,"_onDidChangeLogLevel",this._register(new j));u(this,"onDidChangeLogLevel",this._onDidChangeLogLevel.event);this._level=r}getLevel(){return this._level}setLevel(r){this._level!==r&&(this._level=r,this._onDidChangeLogLevel.fire(r))}canLog(r){return V(this._level,r)}withTag(r){return this}}const v="[REDACTED]";function be(t){return t?v:""}const ke=["password","pass","pwd","token","accesstoken","refreshtoken","apikey","api_key","authtoken","secret","privatekey","private_key","masterkey","master_key","masterpassword","username","user_name","email","userid","user_id","vaultname","vault_name","vaultpath","vault_path","recoverycode","recovery_code","mnemonic","connectionstring","conn_string","dsn","sessionid","session_id","cookie","authorization"],Te=new Set(ke.map(t=>t.toLowerCase().replace(/[-_]/g,""))),we=[/eyJ[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+/,/sk-[A-Za-z0-9]{20,}/,/AKIA[0-9A-Z]{16}/,/ghp_[A-Za-z0-9]{36}/,/gho_[A-Za-z0-9]{36}/,/xoxb-[0-9]+-[0-9]+-[A-Za-z0-9]+/];function De(t){return Te.has(t.toLowerCase().replace(/[-_]/g,""))}function w(t){for(const e of we)if(e.test(t))return v;return t}function A(t){const e={};for(const[r,s]of Object.entries(t))De(r)?e[r]=typeof s=="string"?be(s):v:typeof s=="string"?e[r]=w(s):Array.isArray(s)?e[r]=s.map(n=>typeof n=="string"?w(n):n&&typeof n=="object"&&!(n instanceof Error)&&!(n instanceof Date)?A(n):n):s&&typeof s=="object"&&!(s instanceof Error)&&!(s instanceof Date)?e[r]=A(s):e[r]=s;return e}function Ae(t){return m(w(t))}function B(t){return typeof t=="string"?w(t):Array.isArray(t)?t.map(e=>typeof e=="string"?w(e):e&&typeof e=="object"&&!(e instanceof Error)&&!(e instanceof Date)?A(e):e):t&&typeof t=="object"&&!(t instanceof Error)&&!(t instanceof Date)?A(t):t}class ye extends me{constructor(e){super(e)}trace(e,...r){this.canLog(o.Trace)&&this.log(o.Trace,E(e,r),r)}debug(e,...r){this.canLog(o.Debug)&&this.log(o.Debug,E(e,r),r)}info(e,...r){this.canLog(o.Info)&&this.log(o.Info,E(e,r),r)}warn(e,...r){this.canLog(o.Warn)&&this.log(o.Warn,E(e,r),r)}error(e,...r){if(!this.canLog(o.Error))return;if(e instanceof Error){const n=e;this.log(o.Error,E(`${n.message}
4
- ${z(n)}`,r),[n,...r]);return}const s=r[0];if(s instanceof Error){this.log(o.Error,E(`${e}: ${s.message}
5
- ${z(s)}`,r.slice(1)),r);return}this.log(o.Error,E(e,r),r)}audit(e,r,s,...n){if(!this.canLog(o.Audit))return;const i={action:e,userId:r,resource:s,args:n},a=E(`AUDIT: User ${r} performed ${e} on ${s}`,n);this.log(o.Audit,a,n,i)}}function z(t){if(!t.stack)return t.message;const e=t.stack.indexOf(`
6
- `);return e>=0?t.stack.slice(e+1):t.message}function E(t,e=[]){if(e.length===0)return t;const r=[t];for(const s of e)if(s!=null)if(s instanceof Error)r.push(`${s.message}
7
- ${s.stack??""}`);else if(typeof s=="object")try{r.push(JSON.stringify(B(s)))}catch{r.push(String(s))}else r.push(String(B(s)));return r.length===1?r[0]:r.join(" ")}class Se extends ye{constructor(r=[],s,n){super(s);u(this,"_transports");u(this,"_tag");this._transports=r,this._tag=n??""}log(r,s,n=[],i){const a={level:r,tag:this._tag,message:Ae(s),timestamp:new Date,args:n.map(B),...i?{audit:i}:{}};for(const f of this._transports)f.log(a)}flush(){var r;for(const s of this._transports)(r=s.flush)==null||r.call(s)}addTransport(r){this._transports.push(r)}withTag(r){return new y(this,r)}}class y{constructor(e,r){u(this,"_fullTag");this._parent=e;const s=this._parent._fullTag??this._parent._tag??"";this._fullTag=s?`${s}:${r}`:r}get onDidChangeLogLevel(){return this._getRoot().onDidChangeLogLevel}getLevel(){return this._getRoot().getLevel()}setLevel(e){this._getRoot().debug(`TaggedLogger.setLevel(${o[e]}) ignored on tagged child '[${this._fullTag}]' — call setLevel on the root logger instead.`)}trace(e,...r){this._emit(o.Trace,e,r)}debug(e,...r){this._emit(o.Debug,e,r)}info(e,...r){this._emit(o.Info,e,r)}warn(e,...r){this._emit(o.Warn,e,r)}error(e,...r){if(e instanceof Error){const s=new Error(`[${this._fullTag}] ${e.message}`);e.stack&&(s.stack=e.stack),this._getRoot().error(s,...r)}else this._emit(o.Error,e,r)}audit(e,r,s,...n){this._getRoot().audit(e,r,s,...n)}flush(){this._getRoot().flush()}withTag(e){return new y(this,e)}_emit(e,r,s){const n=this._getRoot(),i=`[${this._fullTag}] ${r}`;switch(e){case o.Trace:n.trace(i,...s);break;case o.Debug:n.debug(i,...s);break;case o.Info:n.info(i,...s);break;case o.Warn:n.warn(i,...s);break;case o.Error:n.error(i,...s);break}}_getRoot(){let e=this._parent;for(;e instanceof y;)e=e._parent;return e}}const Ce={[o.Off]:"",[o.Trace]:"TRACE",[o.Debug]:"DEBUG",[o.Info]:"INFO",[o.Warn]:"WARN",[o.Error]:"ERROR",[o.Audit]:"AUDIT"},Re={[o.Off]:"debug",[o.Trace]:"debug",[o.Debug]:"debug",[o.Info]:"info",[o.Warn]:"warn",[o.Error]:"error",[o.Audit]:"info"};class Be{log(e){const r=Ce[e.level],s=e.tag?` ${e.tag}`:"",n=e.timestamp.toISOString(),i=Re[e.level];console[i](`[${r}]${s} ${n} - ${e.message}`)}}const D=new Be;let F=!0,h=null;const Le={log(t){F&&D.log(t),h==null||h.log(t)},flush(){var t,e;(t=D.flush)==null||t.call(D),(e=h==null?void 0:h.flush)==null||e.call(h)}},P=new Se([Le],o.Info);function $e(t,e={}){h=t,F=t===null||e.keepConsole===!0}function Ie(t){const e=t;P.setLevel(e)}function ve(t){return P.withTag(t)}exports.DEFAULT_LOG_LEVEL=N;exports.Emitter=j;exports.LogLevel=o;exports.addBreadcrumb=C;exports.bestEffortFailed=$;exports.canLog=V;exports.errorHandler=I;exports.getBreadcrumbs=se;exports.getLogger=ve;exports.isCancellationError=M;exports.provideHostBreadcrumbs=re;exports.provideHostErrorHandler=ge;exports.provideHostLogTransport=$e;exports.scrubSecrets=m;exports.scrubValue=b;exports.setRendererLogLevel=Ie;exports.toErrorMessage=U;