@dominevo/server 0.1.0 → 0.1.2

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 (320) hide show
  1. package/.env.example +4 -4
  2. package/CHANGELOG.md +13 -0
  3. package/THIRD_PARTY_MODELS.md +13 -13
  4. package/dist/addon-root-inventory.js +5 -5
  5. package/dist/agent/agent-config.js +8 -8
  6. package/dist/agent/agent-group-runner.js +2 -2
  7. package/dist/agent/agent-http.js +4 -4
  8. package/dist/agent/agent-infra-capabilities.js +2 -2
  9. package/dist/agent/agent-self-update.js +3 -3
  10. package/dist/agent/agent-service.js +3 -3
  11. package/dist/agent/agent-update-service.js +10 -10
  12. package/dist/agent/derive-hub-url.js +3 -3
  13. package/dist/agent/main.js +20 -20
  14. package/dist/agent/stale-addon-gate.js +7 -7
  15. package/dist/api/addon-upload.js +12 -12
  16. package/dist/api/core/auth.router.js +7 -7
  17. package/dist/api/core/cap-providers.js +1 -1
  18. package/dist/api/core/logging-settings.js +1 -1
  19. package/dist/api/core/request-census-settings.js +1 -1
  20. package/dist/api/cors/cors-policy.js +5 -5
  21. package/dist/api/dev-uploads-bundle.js +1 -1
  22. package/dist/api/logs-export-route.js +1 -1
  23. package/dist/api/model-distributor.js +1 -1
  24. package/dist/api/server-upload-propagate.js +1 -1
  25. package/dist/api/server-upload.js +2 -2
  26. package/dist/api/static/spa-mount.js +3 -3
  27. package/dist/api/static/spa-static.js +1 -1
  28. package/dist/api/tarball-manifest.js +4 -4
  29. package/dist/api/trpc/http-request-census.js +1 -1
  30. package/dist/api/trpc/trpc.router.js +7 -7
  31. package/dist/auth/addon-route-share-gate.js +2 -2
  32. package/dist/auth/app-confirm-page.js +1 -1
  33. package/dist/auth/app-confirmations.js +2 -2
  34. package/dist/auth/app-passkey-page.js +1 -1
  35. package/dist/auth/native-return.js +1 -1
  36. package/dist/auth/session-cookie.js +2 -2
  37. package/dist/auth/sso-routes.js +1 -1
  38. package/dist/boot/boot-config.js +3 -3
  39. package/dist/boot/post-boot.service.js +2 -2
  40. package/dist/boot/retired-public-url-env.js +3 -3
  41. package/dist/bootstrap-packages.js +3 -3
  42. package/dist/closure-patches/patch-reach.json +7 -7
  43. package/dist/closure-patches/werift+0.22.9.patch +34 -34
  44. package/dist/core/addon/addon-package.service.js +32 -32
  45. package/dist/core/addon/addon-registry.service.js +34 -34
  46. package/dist/core/addon/addon-requirements.js +8 -8
  47. package/dist/core/addon/addon-search.service.js +2 -2
  48. package/dist/core/addon/hub-addon-support.js +2 -2
  49. package/dist/core/addon/read-packed-file.js +1 -1
  50. package/dist/core/addon-bridge/addon-bridge.service.js +6 -6
  51. package/dist/core/addon-pages/addon-pages.service.js +1 -1
  52. package/dist/core/agent/agent-registry.service.js +1 -1
  53. package/dist/core/agent/delivery-requirements.js +1 -1
  54. package/dist/core/app-links/well-known-app-links.js +7 -9
  55. package/dist/core/auth/handoff-code.service.js +1 -1
  56. package/dist/core/moleculer/moleculer.service.js +6 -6
  57. package/dist/core/release-identity.js +2 -2
  58. package/dist/core/server-update/server-update.service.js +9 -9
  59. package/dist/core/updates/node-update-announcement.js +1 -1
  60. package/dist/core/updates/wrapper-update-checker.js +1 -1
  61. package/dist/framework-nodepath.js +1 -1
  62. package/dist/i18n/request-lang.js +1 -1
  63. package/dist/launch-args.js +4 -4
  64. package/dist/launcher.js +14 -14
  65. package/dist/main.js +9 -9
  66. package/dist/manual-boot.js +5 -5
  67. package/dist/node-role.js +2 -2
  68. package/dist/package-inventory.js +1 -1
  69. package/dist/pending-restore.js +1 -1
  70. package/dist/server-root/index.js +11 -11
  71. package/dist/single-copy-cleanup-runner.js +2 -2
  72. package/dist/single-copy-cleanup.js +2 -2
  73. package/dist/starter.js +9 -9
  74. package/package.json +20 -71
  75. package/system/dist/addon-runner.js +59 -59
  76. package/system/dist/addon-runner.mjs +59 -59
  77. package/system/dist/{addon-settings.cap-Cxgig-la.mjs → addon-settings.cap-CyWCCPvU.mjs} +1 -1
  78. package/system/dist/{addon-settings.cap-B3KYrDyh.js → addon-settings.cap-DT34AC0I.js} +1 -1
  79. package/system/dist/addon-utils.d.ts +1 -1
  80. package/system/dist/addon-utils.js +1 -1
  81. package/system/dist/addon-utils.mjs +1 -1
  82. package/system/dist/auth/device-ca.d.ts +3 -3
  83. package/system/dist/auth/origin.d.ts +1 -1
  84. package/system/dist/{base-addon--EzLZ64f.js → base-addon-CwtR9jMm.js} +8 -28
  85. package/system/dist/{base-addon-D6i6fCDD.mjs → base-addon-DCfRA4Sq.mjs} +8 -28
  86. package/system/dist/{base-device-Aptq2PHd.js → base-device-B3OJaaod.js} +3 -3
  87. package/system/dist/{base-device-CuQ3xFwc.mjs → base-device-QXPOGWz3.mjs} +3 -3
  88. package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.d.ts +1 -1
  89. package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +5 -5
  90. package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +5 -5
  91. package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +4 -4
  92. package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +4 -4
  93. package/system/dist/builtins/alerts/alerts.addon.js +7 -7
  94. package/system/dist/builtins/alerts/alerts.addon.mjs +7 -7
  95. package/system/dist/builtins/apps-aggregator/apps-aggregator.addon.js +1 -1
  96. package/system/dist/builtins/apps-aggregator/apps-aggregator.addon.mjs +1 -1
  97. package/system/dist/builtins/autotrack/index.js +2 -2
  98. package/system/dist/builtins/autotrack/index.mjs +2 -2
  99. package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.d.ts +1 -1
  100. package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +5 -5
  101. package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +5 -5
  102. package/system/dist/builtins/backup-orchestrator/manifest-store.d.ts +1 -1
  103. package/system/dist/builtins/calendars/calendars.addon.js +2 -2
  104. package/system/dist/builtins/calendars/calendars.addon.mjs +2 -2
  105. package/system/dist/builtins/camera-grid/index.js +5 -5
  106. package/system/dist/builtins/camera-grid/index.mjs +5 -5
  107. package/system/dist/builtins/composer/composer.addon.js +10 -10
  108. package/system/dist/builtins/composer/composer.addon.mjs +10 -10
  109. package/system/dist/builtins/console-logging/index.js +1 -1
  110. package/system/dist/builtins/console-logging/index.mjs +1 -1
  111. package/system/dist/builtins/core-blocks/core-blocks.addon.js +22 -22
  112. package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +20 -20
  113. package/system/dist/builtins/core-notifier/core-notifier.addon.js +3 -3
  114. package/system/dist/builtins/core-notifier/core-notifier.addon.mjs +3 -3
  115. package/system/dist/builtins/device-history/device-history.addon.js +6 -6
  116. package/system/dist/builtins/device-history/device-history.addon.mjs +6 -6
  117. package/system/dist/builtins/device-history/store/history-schema.d.ts +1 -1
  118. package/system/dist/builtins/device-manager/device-manager.addon.js +29 -29
  119. package/system/dist/builtins/device-manager/device-manager.addon.mjs +16 -16
  120. package/system/dist/builtins/device-manager/device-row-store.d.ts +1 -1
  121. package/system/dist/builtins/device-manager/fleet-read-census.d.ts +1 -1
  122. package/system/dist/builtins/device-manager/runtime-state-persist-gate.d.ts +1 -1
  123. package/system/dist/builtins/hub-forwarder/index.js +1 -1
  124. package/system/dist/builtins/hub-forwarder/index.mjs +1 -1
  125. package/system/dist/builtins/keychain/index.js +15 -15
  126. package/system/dist/builtins/keychain/index.mjs +15 -15
  127. package/system/dist/builtins/keychain/key-sources.d.ts +2 -2
  128. package/system/dist/builtins/keychain/keychain-store.d.ts +1 -1
  129. package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.js +5 -5
  130. package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +5 -5
  131. package/system/dist/builtins/local-auth/auth-schema.d.ts +1 -1
  132. package/system/dist/builtins/local-auth/local-auth.addon.js +24 -24
  133. package/system/dist/builtins/local-auth/local-auth.addon.mjs +14 -14
  134. package/system/dist/builtins/local-network/agent-mdns.d.ts +1 -1
  135. package/system/dist/builtins/local-network/hub-mdns.d.ts +1 -1
  136. package/system/dist/builtins/local-network/local-network.addon.d.ts +3 -3
  137. package/system/dist/builtins/local-network/local-network.addon.js +15 -15
  138. package/system/dist/builtins/local-network/local-network.addon.mjs +15 -15
  139. package/system/dist/builtins/loki-logging/index.js +7 -7
  140. package/system/dist/builtins/loki-logging/index.mjs +7 -7
  141. package/system/dist/builtins/loki-logging/loki-payload.d.ts +1 -1
  142. package/system/dist/builtins/native-metrics/cgroup-memory.d.ts +3 -3
  143. package/system/dist/builtins/native-metrics/native-metrics.addon.d.ts +2 -2
  144. package/system/dist/builtins/native-metrics/native-metrics.addon.js +14 -14
  145. package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +14 -14
  146. package/system/dist/builtins/native-metrics/process-classification.d.ts +8 -8
  147. package/system/dist/builtins/platform-probe/accelerator-facts-probe.d.ts +1 -1
  148. package/system/dist/builtins/platform-probe/coral-accelerators.d.ts +2 -2
  149. package/system/dist/builtins/platform-probe/index.js +3 -3
  150. package/system/dist/builtins/platform-probe/index.mjs +3 -3
  151. package/system/dist/builtins/record-entries/index.js +3 -3
  152. package/system/dist/builtins/record-entries/index.mjs +3 -3
  153. package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
  154. package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
  155. package/system/dist/builtins/snapshot/index.js +4 -4
  156. package/system/dist/builtins/snapshot/index.mjs +4 -4
  157. package/system/dist/builtins/sqlite-storage/file-host-handlers.d.ts +1 -1
  158. package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.d.ts +1 -1
  159. package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +3 -3
  160. package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +3 -3
  161. package/system/dist/builtins/sqlite-storage/index.js +1 -1
  162. package/system/dist/builtins/sqlite-storage/index.mjs +1 -1
  163. package/system/dist/builtins/sqlite-storage/migrations/migration-pass.d.ts +1 -1
  164. package/system/dist/builtins/sqlite-storage/owned-sqlite-file.d.ts +1 -1
  165. package/system/dist/builtins/sqlite-storage/query-profiler.d.ts +1 -1
  166. package/system/dist/builtins/sqlite-storage/sqlite-pragmas.d.ts +2 -2
  167. package/system/dist/builtins/sqlite-storage/sqlite-settings-backend.d.ts +1 -1
  168. package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +19 -19
  169. package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +19 -19
  170. package/system/dist/builtins/storage-orchestrator/access-guards.d.ts +1 -1
  171. package/system/dist/builtins/storage-orchestrator/location-secrets.d.ts +1 -1
  172. package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.d.ts +3 -3
  173. package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +18 -18
  174. package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +18 -18
  175. package/system/dist/builtins/storage-orchestrator/storage-orchestrator.service.d.ts +3 -3
  176. package/system/dist/builtins/system-backup/backup-encryption.d.ts +1 -1
  177. package/system/dist/builtins/system-backup/system-backup.service.d.ts +1 -1
  178. package/system/dist/builtins/system-config/system-config.addon.js +31 -31
  179. package/system/dist/builtins/system-config/system-config.addon.mjs +31 -31
  180. package/system/dist/builtins/winston-logging/index.js +5 -5
  181. package/system/dist/builtins/winston-logging/index.mjs +5 -5
  182. package/system/dist/builtins/winston-logging/log-file-cursor.d.ts +1 -1
  183. package/system/dist/{cap-call-context-DnLdYSyR.js → cap-call-context-3-L-JQ3d.js} +2 -2
  184. package/system/dist/{cap-call-context-D-su61hv.mjs → cap-call-context-C_59UKvE.mjs} +2 -2
  185. package/system/dist/{command-catalog-Cgz3MwLW.mjs → command-catalog-88WjnitG.mjs} +1 -1
  186. package/system/dist/{command-catalog-0Q83jcdv.js → command-catalog-Bt0rkK6T.js} +1 -1
  187. package/system/dist/{composition-sources-GNsOlYlG.js → composition-sources-BD_14SLn.js} +2 -2
  188. package/system/dist/{composition-sources-Dzx55O4S.mjs → composition-sources-BxNM5HHY.mjs} +2 -2
  189. package/system/dist/{constants-DVHYGlyi.js → constants-B8umFEGY.js} +2 -2
  190. package/system/dist/{constants-bg2DX4I6.mjs → constants-C86EPRS1.mjs} +2 -2
  191. package/system/dist/{custom-action-registry-DHOCDRef.js → custom-action-registry-C_yB2qlc.js} +125 -125
  192. package/system/dist/{custom-action-registry-Bd52pRgO.mjs → custom-action-registry-Ci7Lw1TM.mjs} +125 -125
  193. package/system/dist/{database-snapshot.cap-BymU4Xk9.js → database-snapshot.cap--dYj7W3i.js} +1 -1
  194. package/system/dist/{database-snapshot.cap-DAVS29qN.mjs → database-snapshot.cap-DfMxWoak.mjs} +1 -1
  195. package/system/dist/{declared-device-BSxSa0O8.js → declared-device-BFexdYcl.js} +1 -1
  196. package/system/dist/{declared-device-C4zPkK6G.mjs → declared-device-D-fwNbiU.mjs} +1 -1
  197. package/system/dist/{device-ca-BgYUqBEB.js → device-ca-CXDTXX4c.js} +8 -8
  198. package/system/dist/{device-ca-AvfcD1AT.mjs → device-ca-Du6rfexI.mjs} +8 -8
  199. package/system/dist/{device-certificate-IVBnrTHH.js → device-certificate-6irX-VEC.js} +4 -4
  200. package/system/dist/{device-certificate-Kh05tlrX.mjs → device-certificate-B5LojTd8.mjs} +4 -4
  201. package/system/dist/{device-manager.cap-zbFHbXlg.mjs → device-manager.cap-3gMy5WyI.mjs} +1 -1
  202. package/system/dist/{device-manager.cap-B-zweScL.js → device-manager.cap-CVm8e--n.js} +1 -1
  203. package/system/dist/{device-removal-reconcile-DSYwdCX-.mjs → device-removal-reconcile-Bca9Xmxa.mjs} +2 -2
  204. package/system/dist/{device-removal-reconcile-hF3PFXaD.js → device-removal-reconcile-BtBOAfIX.js} +2 -2
  205. package/system/dist/{camstack-error-DJ-TUAi1.js → dominevo-error-CTBRQM6p.js} +4 -4
  206. package/system/dist/{camstack-error-viZYfcj9.mjs → dominevo-error-EgrighSX.mjs} +4 -4
  207. package/system/dist/download/hosted-model-revisions.d.ts +1 -1
  208. package/system/dist/{entry-kind-BOBbd1lw.mjs → entry-kind-DJSOxSX2.mjs} +2 -2
  209. package/system/dist/{entry-kind-BVqSwPqz.js → entry-kind-DzaK6R6L.js} +2 -2
  210. package/system/dist/file-host-worker.js +3 -3
  211. package/system/dist/file-host-worker.mjs +3 -3
  212. package/system/dist/framework-resolver-hook.mjs +1 -1
  213. package/system/dist/{hub-identity-C5oay5SY.js → hub-identity-DihZeMUF.js} +10 -10
  214. package/system/dist/{hub-identity-Ctf-OLhe.mjs → hub-identity-vHr6cT94.mjs} +10 -10
  215. package/system/dist/{hub-mdns-ciao-C9adAMGN.mjs → hub-mdns-ciao-CK1Y4z73.mjs} +39 -39
  216. package/system/dist/{hub-mdns-ciao-BjVwHmsr.js → hub-mdns-ciao-D2Rcz1Kb.js} +42 -42
  217. package/system/dist/index.js +152 -152
  218. package/system/dist/index.mjs +149 -149
  219. package/system/dist/{jobs.cap-DHu0iJ1C.js → jobs.cap-Blrf2noc.js} +4 -4
  220. package/system/dist/{jobs.cap-BPFm9yU4.mjs → jobs.cap-DdrDabtW.mjs} +4 -4
  221. package/system/dist/kernel/addon-class-resolver.d.ts +2 -2
  222. package/system/dist/kernel/addon-engine-manager.d.ts +2 -2
  223. package/system/dist/kernel/addon-installer.d.ts +12 -12
  224. package/system/dist/kernel/addon-loader.d.ts +6 -6
  225. package/system/dist/kernel/addon-version-policy.d.ts +1 -1
  226. package/system/dist/kernel/config-schema.d.ts +2 -2
  227. package/system/dist/kernel/deps/addon-deps-manager.d.ts +1 -1
  228. package/system/dist/kernel/deps/closure-dedupe.d.ts +3 -3
  229. package/system/dist/kernel/deps/ensure-addon-natives.d.ts +1 -1
  230. package/system/dist/kernel/deps/manifest-native-deps.d.ts +2 -2
  231. package/system/dist/kernel/deps/manifest-python-deps.d.ts +1 -1
  232. package/system/dist/kernel/deps/system-package-broker.d.ts +1 -1
  233. package/system/dist/kernel/deps/system-package-client.d.ts +1 -1
  234. package/system/dist/kernel/event-plane-report.d.ts +2 -2
  235. package/system/dist/kernel/fs-utils.d.ts +4 -4
  236. package/system/dist/kernel/heap-watch.d.ts +8 -8
  237. package/system/dist/kernel/index.d.ts +1 -1
  238. package/system/dist/kernel/moleculer/addon-context-factory.d.ts +3 -3
  239. package/system/dist/kernel/moleculer/addon-service-factory.d.ts +3 -3
  240. package/system/dist/kernel/moleculer/agent-event-scope.d.ts +2 -2
  241. package/system/dist/kernel/moleculer/agent-ui-unlock.d.ts +1 -1
  242. package/system/dist/kernel/moleculer/child-addon-call-dispatch.d.ts +2 -2
  243. package/system/dist/kernel/moleculer/event-bus-core.d.ts +1 -1
  244. package/system/dist/kernel/moleculer/event-bus.d.ts +5 -5
  245. package/system/dist/kernel/moleculer/mesh-mtls/constants.d.ts +1 -1
  246. package/system/dist/kernel/moleculer/mesh-mtls/mesh-membership.d.ts +1 -1
  247. package/system/dist/kernel/moleculer/mesh-mtls/pairing/pairing-protocol.d.ts +3 -3
  248. package/system/dist/kernel/moleculer/runner-heap-flags.d.ts +1 -1
  249. package/system/dist/kernel/moleculer/runner-native-allocator.d.ts +2 -2
  250. package/system/dist/kernel/moleculer/stream-probe-service.d.ts +1 -1
  251. package/system/dist/kernel/moleculer/worker-device-restore.d.ts +2 -2
  252. package/system/dist/kernel/requires-registry.d.ts +2 -2
  253. package/system/dist/kernel/transport/create-local-transport.d.ts +1 -1
  254. package/system/dist/kernel/transport/local-child-registry.d.ts +1 -1
  255. package/system/dist/kernel/transport/uds-event-bridge.d.ts +1 -1
  256. package/system/dist/kernel/unsupported-addon-tracker.d.ts +1 -1
  257. package/system/dist/{keychain-admin.cap-DOvL8TMG.mjs → keychain-admin.cap-C3eanzBT.mjs} +2 -2
  258. package/system/dist/{keychain-admin.cap-DcRCRWtu.js → keychain-admin.cap-yMG0j8XP.js} +2 -2
  259. package/system/dist/{legacy-integration-rows-door-CUpCwPm5.js → legacy-integration-rows-door-1c-XBxRt.js} +1 -1
  260. package/system/dist/{legacy-integration-rows-door-bidgp6kI.mjs → legacy-integration-rows-door-CYFvlkdt.mjs} +1 -1
  261. package/system/dist/{log-file-read-protocol-hTaAsYlX.mjs → log-file-read-protocol-B3Tq2F50.mjs} +2 -2
  262. package/system/dist/{log-file-read-protocol-DSV_vQRb.js → log-file-read-protocol-BRHlsNCj.js} +2 -2
  263. package/system/dist/log-file-read-worker.js +1 -1
  264. package/system/dist/log-file-read-worker.mjs +1 -1
  265. package/system/dist/logging/formatter.d.ts +1 -1
  266. package/system/dist/{metrics-provider.cap-01SwpLu5.mjs → metrics-provider.cap-BKzH22yb.mjs} +2 -2
  267. package/system/dist/{metrics-provider.cap-BMKD5FH3.js → metrics-provider.cap-H0RjdYQj.js} +2 -2
  268. package/system/dist/{migration-CHPdAdNh.js → migration-CvC7YRxn.js} +1 -1
  269. package/system/dist/{migration-BvbfW9g-.mjs → migration-DDDUJnTU.mjs} +1 -1
  270. package/system/dist/migrations/hub/index.d.ts +1 -1
  271. package/system/dist/{named-entity-store-EQovvtag.js → named-entity-store-B7MMnZq_.js} +1 -1
  272. package/system/dist/{named-entity-store-C2JkesQG.mjs → named-entity-store-CLIUOHkl.mjs} +1 -1
  273. package/system/dist/{network-access.cap-CxqbyUYK.js → network-access.cap-C97_DUK9.js} +10 -10
  274. package/system/dist/{network-access.cap-B918UjWD.mjs → network-access.cap-DcLn1v6p.mjs} +9 -9
  275. package/system/dist/{notification-targets-Cj6I9DzV.js → notification-targets-BH-Kq5zA.js} +2 -2
  276. package/system/dist/{notification-targets-cJTv1p6y.mjs → notification-targets-gTLSExN5.mjs} +2 -2
  277. package/system/dist/{platform-key-source-Di7HrlGR.js → platform-key-source-DERonx7U.js} +1 -1
  278. package/system/dist/{platform-key-source-BWlq0jjn.mjs → platform-key-source-vw43KkgD.mjs} +1 -1
  279. package/system/dist/{record-entries.cap-jKkDRzZG.mjs → record-entries.cap-DqaspI30.mjs} +2 -2
  280. package/system/dist/{record-entries.cap-RXnOab_5.js → record-entries.cap-u4EjNUWg.js} +2 -2
  281. package/system/dist/{record-kind-Cm1DO1qJ.js → record-kind-BYbL_LNZ.js} +1 -1
  282. package/system/dist/{record-kind-DXFsj6uF.mjs → record-kind-DpcGjBK1.mjs} +1 -1
  283. package/system/dist/{record-kinds-CLYE4x8E.js → record-kinds-CF3IIGeU.js} +6 -6
  284. package/system/dist/{record-kinds-Xm95PUr5.mjs → record-kinds-HynLKMsB.mjs} +6 -6
  285. package/system/dist/{recording-archive.cap-BFiEztoo.js → recording-archive.cap-DPyT1msn.js} +5 -5
  286. package/system/dist/{recording-archive.cap-DljrTthl.mjs → recording-archive.cap-DoeNelun.mjs} +4 -4
  287. package/system/dist/{records.cap-BDUsx56H.mjs → records.cap-A6ZnC18-.mjs} +2 -2
  288. package/system/dist/{records.cap-DKDON4zv.js → records.cap-CrdoSJ1h.js} +2 -2
  289. package/system/dist/{rename-composition-block-BdhK2udh.mjs → rename-composition-block-CMfftDfW.mjs} +43 -43
  290. package/system/dist/{rename-composition-block-CJ-XbDsk.js → rename-composition-block-CeKeUquQ.js} +43 -43
  291. package/system/dist/{restore-archive-BQhYL8c4.mjs → restore-archive-CyUiUvKj.mjs} +11 -11
  292. package/system/dist/{restore-archive-DWIM3J3f.js → restore-archive-LKIQ4CNL.js} +11 -11
  293. package/system/dist/{retention-source.cap-BvNRqbz3.js → retention-source.cap-CuI320Je.js} +1 -1
  294. package/system/dist/{retention-source.cap-DUPeqB5h.mjs → retention-source.cap-DLKW-DAE.mjs} +1 -1
  295. package/system/dist/{retired-settings-keys-BFLkouoC.mjs → retired-settings-keys-Dakm_ir-.mjs} +1 -1
  296. package/system/dist/{retired-settings-keys-DNi9qA3K.js → retired-settings-keys-DdoaQDUr.js} +1 -1
  297. package/system/dist/{scoped-settings-DbyAaIot.js → scoped-settings-8uzhJVsE.js} +3 -3
  298. package/system/dist/{scoped-settings-d2_FTMty.mjs → scoped-settings-DnkTDuvk.mjs} +3 -3
  299. package/system/dist/{settings-store.cap-BhOIBtO4.js → settings-store.cap-DqFgT2Xo.js} +1 -1
  300. package/system/dist/{settings-store.cap-CaDSOqgK.mjs → settings-store.cap-DxsDTQxb.mjs} +1 -1
  301. package/system/dist/{state-refresh-scheduler-GlExK5Pt.js → state-refresh-scheduler-8_rBg2-4.js} +1 -1
  302. package/system/dist/{state-refresh-scheduler-CJuGzqZh.mjs → state-refresh-scheduler-B3pfIHRS.mjs} +1 -1
  303. package/system/dist/{storage-admin.cap-DPH4dWEl.js → storage-admin.cap-BndyGERv.js} +5 -5
  304. package/system/dist/{storage-admin.cap-CP_CtM0h.mjs → storage-admin.cap-DOZ5tsKA.mjs} +5 -5
  305. package/system/dist/{storage-migration.cap-DT_sdxio.js → storage-migration.cap-C52LxDX2.js} +4 -4
  306. package/system/dist/{storage-migration.cap-BonKGHaA.mjs → storage-migration.cap-DRl4rt-0.mjs} +4 -4
  307. package/system/dist/{storage-occupancy.cap-avoVkjfF.js → storage-occupancy.cap-CiGDOgpG.js} +3 -3
  308. package/system/dist/{storage-occupancy.cap-B_YU_aX3.mjs → storage-occupancy.cap-_VVBswn4.mjs} +3 -3
  309. package/system/dist/{stream-catalog.cap-Blw9nJ-a.js → stream-catalog.cap-Bl0BSYye.js} +4 -4
  310. package/system/dist/{stream-catalog.cap-D08FM3ow.mjs → stream-catalog.cap-C7vlYIih.mjs} +4 -4
  311. package/system/dist/tls/cert-evaluation.d.ts +3 -3
  312. package/system/dist/tls/cert-issue.d.ts +2 -2
  313. package/system/dist/tls/cert-manager.d.ts +7 -7
  314. package/system/dist/tls/tls-actions.d.ts +1 -1
  315. package/system/dist/tls/tls-status.d.ts +1 -1
  316. package/system/dist/{user-management.cap-BIOAtxeX.js → user-management.cap-D9EcsR2c.js} +2 -2
  317. package/system/dist/{user-management.cap-D8lVSHRA.mjs → user-management.cap-mDnBlJay.mjs} +2 -2
  318. package/system/dist/{wal-maintenance-8cxZxWU2.js → wal-maintenance-BPDo9Jao.js} +9 -9
  319. package/system/dist/{wal-maintenance-BGa2lDZp.mjs → wal-maintenance-SArcuHLu.mjs} +9 -9
  320. package/system/package.json +3 -3
@@ -7,7 +7,7 @@ index 74cf126..0c5cedf 100644
7
7
  protocol.localCandidate = new candidate_1.Candidate((0, candidate_1.candidateFoundation)("host", "udp", candidateAddress[0]), 1, "udp", (0, candidate_1.candidatePriority)("host"), candidateAddress[0], candidateAddress[1], "host", undefined, undefined, undefined, this.generation, this.localUsername);
8
8
  this.pairLocalProtocol(protocol);
9
9
  - this.appendLocalCandidate(protocol.localCandidate);
10
- + // camstack: relay-only SDP under forceTurn (werift forceTurn candidate leak) — see werift-turn-fix spec
10
+ + // dominevo: relay-only SDP under forceTurn (werift forceTurn candidate leak) — see werift-turn-fix spec
11
11
  + if (!this.options.forceTurn) {
12
12
  + this.appendLocalCandidate(protocol.localCandidate);
13
13
  + }
@@ -19,7 +19,7 @@ index 74cf126..0c5cedf 100644
19
19
  log("error", error);
20
20
  });
21
21
  - if (candidate) {
22
- + // camstack: relay-only SDP under forceTurn (werift forceTurn candidate leak) — see werift-turn-fix spec
22
+ + // dominevo: relay-only SDP under forceTurn (werift forceTurn candidate leak) — see werift-turn-fix spec
23
23
  + if (candidate && !this.options.forceTurn) {
24
24
  this.appendLocalCandidate(candidate);
25
25
  }
@@ -33,18 +33,18 @@ index 3e8b013..f481aa5 100644
33
33
  var csrcOffset = 12;
34
34
  var csrcSize = 4;
35
35
  +
36
- +// camstack: D868 — SRTP output arena (see lib/rtp/src/rtp/rtp.js).
37
- +var CAMSTACK_SRTP_ARENA_BYTES = 262144;
38
- +var camstackSrtpArena = Buffer.allocUnsafeSlow(0);
39
- +var camstackSrtpArenaOffset = 0;
40
- +function camstackSrtpOut(size) {
41
- + if (size > CAMSTACK_SRTP_ARENA_BYTES >> 2) return Buffer.allocUnsafeSlow(size);
42
- + if (camstackSrtpArenaOffset + size > camstackSrtpArena.length) {
43
- + camstackSrtpArena = Buffer.allocUnsafeSlow(CAMSTACK_SRTP_ARENA_BYTES);
44
- + camstackSrtpArenaOffset = 0;
36
+ +// dominevo: D868 — SRTP output arena (see lib/rtp/src/rtp/rtp.js).
37
+ +var DOMINEVO_SRTP_ARENA_BYTES = 262144;
38
+ +var dominevoSrtpArena = Buffer.allocUnsafeSlow(0);
39
+ +var dominevoSrtpArenaOffset = 0;
40
+ +function dominevoSrtpOut(size) {
41
+ + if (size > DOMINEVO_SRTP_ARENA_BYTES >> 2) return Buffer.allocUnsafeSlow(size);
42
+ + if (dominevoSrtpArenaOffset + size > dominevoSrtpArena.length) {
43
+ + dominevoSrtpArena = Buffer.allocUnsafeSlow(DOMINEVO_SRTP_ARENA_BYTES);
44
+ + dominevoSrtpArenaOffset = 0;
45
45
  + }
46
- + const out = camstackSrtpArena.subarray(camstackSrtpArenaOffset, camstackSrtpArenaOffset + size);
47
- + camstackSrtpArenaOffset += size;
46
+ + const out = dominevoSrtpArena.subarray(dominevoSrtpArenaOffset, dominevoSrtpArenaOffset + size);
47
+ + dominevoSrtpArenaOffset += size;
48
48
  + return out;
49
49
  +}
50
50
  var RtpHeader = class _RtpHeader {
@@ -67,7 +67,7 @@ index 3e8b013..f481aa5 100644
67
67
  encryptRtp(header, payload, rolloverCounter) {
68
68
  - const headerBuffer = header.serialize(header.serializeSize);
69
69
  + const hdrSize = header.serializeSize;
70
- + const out = camstackSrtpOut(hdrSize + payload.length + this.authTagLength);
70
+ + const out = dominevoSrtpOut(hdrSize + payload.length + this.authTagLength);
71
71
  + const headerBuffer = header.serialize(hdrSize, out.subarray(0, hdrSize));
72
72
  const counter = this.generateCounter(
73
73
  header.sequenceNumber,
@@ -89,7 +89,7 @@ index 3e8b013..f481aa5 100644
89
89
  encryptRtp(header, payload, rolloverCounter) {
90
90
  - const hdr = header.serialize(header.serializeSize);
91
91
  + const hdrSize = header.serializeSize;
92
- + const out = camstackSrtpOut(hdrSize + payload.length + this.aeadAuthTagLen);
92
+ + const out = dominevoSrtpOut(hdrSize + payload.length + this.aeadAuthTagLen);
93
93
  + const hdr = header.serialize(hdrSize, out.subarray(0, hdrSize));
94
94
  const iv = this.rtpInitializationVector(header, rolloverCounter);
95
95
  const cipher = createCipheriv3("aes-128-gcm", this.srtpSessionKey, iv);
@@ -110,7 +110,7 @@ index 3e8b013..f481aa5 100644
110
110
  );
111
111
  this.pairLocalProtocol(protocol);
112
112
  - this.appendLocalCandidate(protocol.localCandidate);
113
- + // camstack: relay-only SDP under forceTurn (werift forceTurn candidate leak) — see werift-turn-fix spec
113
+ + // dominevo: relay-only SDP under forceTurn (werift forceTurn candidate leak) — see werift-turn-fix spec
114
114
  + if (!this.options.forceTurn) {
115
115
  + this.appendLocalCandidate(protocol.localCandidate);
116
116
  + }
@@ -122,7 +122,7 @@ index 3e8b013..f481aa5 100644
122
122
  log22("error", error);
123
123
  });
124
124
  - if (candidate) {
125
- + // camstack: relay-only SDP under forceTurn (werift forceTurn candidate leak) — see werift-turn-fix spec
125
+ + // dominevo: relay-only SDP under forceTurn (werift forceTurn candidate leak) — see werift-turn-fix spec
126
126
  + if (candidate && !this.options.forceTurn) {
127
127
  this.appendLocalCandidate(candidate);
128
128
  }
@@ -145,25 +145,25 @@ index 97b2767..b8ee886 100644
145
145
  const csrcOffset = 12;
146
146
  const csrcSize = 4;
147
147
  +
148
- +// camstack: D868 — SRTP output arena. Every outgoing RTP packet used to cost a
148
+ +// dominevo: D868 — SRTP output arena. Every outgoing RTP packet used to cost a
149
149
  +// Buffer.alloc for the header and a Buffer.concat for header + ciphertext + tag.
150
150
  +// The packet now lands in a dense slice of a 256 KiB arena that is never reused
151
151
  +// (a full arena is left to the GC and lives as long as the datagram in flight).
152
- +const CAMSTACK_SRTP_ARENA_BYTES = 262144;
153
- +let camstackSrtpArena = Buffer.allocUnsafeSlow(0);
154
- +let camstackSrtpArenaOffset = 0;
155
- +function camstackSrtpOut(size) {
156
- + if (size > CAMSTACK_SRTP_ARENA_BYTES >> 2)
152
+ +const DOMINEVO_SRTP_ARENA_BYTES = 262144;
153
+ +let dominevoSrtpArena = Buffer.allocUnsafeSlow(0);
154
+ +let dominevoSrtpArenaOffset = 0;
155
+ +function dominevoSrtpOut(size) {
156
+ + if (size > DOMINEVO_SRTP_ARENA_BYTES >> 2)
157
157
  + return Buffer.allocUnsafeSlow(size);
158
- + if (camstackSrtpArenaOffset + size > camstackSrtpArena.length) {
159
- + camstackSrtpArena = Buffer.allocUnsafeSlow(CAMSTACK_SRTP_ARENA_BYTES);
160
- + camstackSrtpArenaOffset = 0;
158
+ + if (dominevoSrtpArenaOffset + size > dominevoSrtpArena.length) {
159
+ + dominevoSrtpArena = Buffer.allocUnsafeSlow(DOMINEVO_SRTP_ARENA_BYTES);
160
+ + dominevoSrtpArenaOffset = 0;
161
161
  + }
162
- + const out = camstackSrtpArena.subarray(camstackSrtpArenaOffset, camstackSrtpArenaOffset + size);
163
- + camstackSrtpArenaOffset += size;
162
+ + const out = dominevoSrtpArena.subarray(dominevoSrtpArenaOffset, dominevoSrtpArenaOffset + size);
163
+ + dominevoSrtpArenaOffset += size;
164
164
  + return out;
165
165
  +}
166
- +exports.camstackSrtpOut = camstackSrtpOut;
166
+ +exports.dominevoSrtpOut = dominevoSrtpOut;
167
167
  /*
168
168
  * 0 1 2 3
169
169
  * 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
@@ -174,7 +174,7 @@ index 97b2767..b8ee886 100644
174
174
  - serialize(size) {
175
175
  - const buf = Buffer.alloc(size);
176
176
  + serialize(size, into) {
177
- + // camstack: D868 — SRTP writes the header straight into its output buffer.
177
+ + // dominevo: D868 — SRTP writes the header straight into its output buffer.
178
178
  + const buf = into ? into.fill(0, 0, size) : Buffer.alloc(size);
179
179
  let offset = 0;
180
180
  const v_p_x_cc = new src_1.BitWriter(8);
@@ -188,9 +188,9 @@ index e0c1380..13aa5aa 100644
188
188
  }
189
189
  encryptRtp(header, payload, rolloverCounter) {
190
190
  - const headerBuffer = header.serialize(header.serializeSize);
191
- + // camstack: D868 — header, ciphertext and tag in ONE arena slice (no serialize alloc, no concat).
191
+ + // dominevo: D868 — header, ciphertext and tag in ONE arena slice (no serialize alloc, no concat).
192
192
  + const hdrSize = header.serializeSize;
193
- + const out = rtp_1.camstackSrtpOut(hdrSize + payload.length + this.authTagLength);
193
+ + const out = rtp_1.dominevoSrtpOut(hdrSize + payload.length + this.authTagLength);
194
194
  + const headerBuffer = header.serialize(hdrSize, out.subarray(0, hdrSize));
195
195
  const counter = this.generateCounter(header.sequenceNumber, rolloverCounter, header.ssrc, this.srtpSessionSalt);
196
196
  const cipher = (0, crypto_1.createCipheriv)("aes-128-ctr", this.srtpSessionKey, counter);
@@ -212,9 +212,9 @@ index 8d9d498..4cdd15b 100644
212
212
  }
213
213
  encryptRtp(header, payload, rolloverCounter) {
214
214
  - const hdr = header.serialize(header.serializeSize);
215
- + // camstack: D868 — header, ciphertext and tag in ONE arena slice (no serialize alloc, no concat).
215
+ + // dominevo: D868 — header, ciphertext and tag in ONE arena slice (no serialize alloc, no concat).
216
216
  + const hdrSize = header.serializeSize;
217
- + const out = rtp_1.camstackSrtpOut(hdrSize + payload.length + this.aeadAuthTagLen);
217
+ + const out = rtp_1.dominevoSrtpOut(hdrSize + payload.length + this.aeadAuthTagLen);
218
218
  + const hdr = header.serialize(hdrSize, out.subarray(0, hdrSize));
219
219
  const iv = this.rtpInitializationVector(header, rolloverCounter);
220
220
  const cipher = (0, crypto_1.createCipheriv)("aes-128-gcm", this.srtpSessionKey, iv);
@@ -120,7 +120,7 @@ function isVersionNewer(target, current) {
120
120
  * from `packages/<pkg>/dist`, which the CLI rebuilt before uploading, so the
121
121
  * dev loop (`dominevo deploy packages/system`) is unchanged.
122
122
  *
123
- * Membership is by package NAME, independent of the `camstack.system` manifest
123
+ * Membership is by package NAME, independent of the `dominevo.system` manifest
124
124
  * flag (`@dominevo/types` declares `system: false` yet is a framework package
125
125
  * here) — that flag drives Admin-UI grouping; this gate drives upload routing.
126
126
  */
@@ -258,14 +258,14 @@ class AddonPackageService {
258
258
  // Ensures install/uninstall works before full module init completes.
259
259
  try {
260
260
  const addonsDir = this.resolveAddonsDir();
261
- // `CAMSTACK_NPM_REGISTRY` override exists primarily for the e2e
261
+ // `DOMINEVO_NPM_REGISTRY` override exists primarily for the e2e
262
262
  // harness — it points the installer at a sandboxed verdaccio so
263
263
  // the CLI-vs-npm version-interaction tests don't hit the public
264
264
  // registry. In production this stays unset and the installer
265
265
  // falls back to `https://registry.npmjs.org` (the default in
266
266
  // AddonInstaller). Both the `npm install` shell-out AND the
267
267
  // metadata HTTPS fetch honour this value.
268
- const registry = process.env['CAMSTACK_NPM_REGISTRY'];
268
+ const registry = process.env['DOMINEVO_NPM_REGISTRY'];
269
269
  this.installer = new system_1.AddonInstaller({
270
270
  addonsDir,
271
271
  ...(registry ? { registry } : {}),
@@ -492,7 +492,7 @@ class AddonPackageService {
492
492
  * Check whether a package is currently protected from uninstall.
493
493
  *
494
494
  * Source of truth: the running `AddonRegistry`'s loaded manifests —
495
- * any addon in this package with `camstack.addons[N].protected: true`
495
+ * any addon in this package with `dominevo.addons[N].protected: true`
496
496
  * marks the whole package non-removable. This replaces the legacy
497
497
  * `AddonInstaller.REQUIRED_PACKAGES` hardcoded list.
498
498
  *
@@ -656,7 +656,7 @@ class AddonPackageService {
656
656
  const installedDir = path.join(this.resolveAddonsDir(), name);
657
657
  if (!fs.existsSync(path.join(installedDir, 'package.json')))
658
658
  return null;
659
- const destDir = fs.mkdtempSync(path.join(os.tmpdir(), 'camstack-pack-local-'));
659
+ const destDir = fs.mkdtempSync(path.join(os.tmpdir(), 'dominevo-pack-local-'));
660
660
  try {
661
661
  await execFileAsync('npm', ['pack', installedDir, '--pack-destination', destDir], {
662
662
  timeout: 120_000,
@@ -683,7 +683,7 @@ class AddonPackageService {
683
683
  * Throws when the registry cannot answer.
684
684
  */
685
685
  async resolveRegistryVersion(name) {
686
- return resolveNpmVersion(name, 'latest', process.env['CAMSTACK_NPM_REGISTRY']);
686
+ return resolveNpmVersion(name, 'latest', process.env['DOMINEVO_NPM_REGISTRY']);
687
687
  }
688
688
  /**
689
689
  * Resolve `name@version` and `npm pack` it into a tarball buffer
@@ -696,10 +696,10 @@ class AddonPackageService {
696
696
  * build the hub runs.
697
697
  */
698
698
  async packPackage(name, version) {
699
- const registry = process.env['CAMSTACK_NPM_REGISTRY'];
699
+ const registry = process.env['DOMINEVO_NPM_REGISTRY'];
700
700
  const resolvedVersion = await resolveNpmVersion(name, version ?? 'latest', registry);
701
701
  const spec = `${name}@${resolvedVersion}`;
702
- const destDir = fs.mkdtempSync(path.join(os.tmpdir(), 'camstack-pack-'));
702
+ const destDir = fs.mkdtempSync(path.join(os.tmpdir(), 'dominevo-pack-'));
703
703
  try {
704
704
  const args = ['pack', spec, '--pack-destination', destDir, ...buildNpmRegistryArgs(registry)];
705
705
  await execFileAsync('npm', args, { timeout: 120_000 });
@@ -718,9 +718,9 @@ class AddonPackageService {
718
718
  // npm search
719
719
  // =========================================================================
720
720
  /**
721
- * Search npm for camstack addon packages, optionally filtered by query and
721
+ * Search npm for dominevo addon packages, optionally filtered by query and
722
722
  * by a capability the package must declare. The capabilities come from each
723
- * package's own `/latest` manifest (`camstack.addons[].capabilities`) — the
723
+ * package's own `/latest` manifest (`dominevo.addons[].capabilities`) — the
724
724
  * single source of truth (D4), no hand-kept keywords. A package whose
725
725
  * manifest could not be read carries `capabilities: null` and is excluded
726
726
  * from a capability-filtered result (unknown is not a match).
@@ -792,7 +792,7 @@ class AddonPackageService {
792
792
  await Promise.all(Array.from({ length: poolSize }, worker));
793
793
  return result;
794
794
  }
795
- /** Read `camstack.addons[].capabilities` from a package's `/latest`; null on any failure. */
795
+ /** Read `dominevo.addons[].capabilities` from a package's `/latest`; null on any failure. */
796
796
  async fetchPackageCapabilities(packageName) {
797
797
  try {
798
798
  const url = `${this.resolveRegistryBase()}/${packageName.replace('/', '%2F')}/latest`;
@@ -802,7 +802,7 @@ class AddonPackageService {
802
802
  if (!response.ok)
803
803
  return null;
804
804
  const data = await fetchJsonObject(response);
805
- const addons = asRecord(data['camstack'])['addons'];
805
+ const addons = asRecord(data['dominevo'])['addons'];
806
806
  const names = new Set();
807
807
  for (const addon of Array.isArray(addons) ? addons : []) {
808
808
  const caps = asRecord(addon)['capabilities'];
@@ -1182,7 +1182,7 @@ class AddonPackageService {
1182
1182
  * Ranges (`^1.2.0`) are still not supported — resolve those upstream.
1183
1183
  */
1184
1184
  async fetchAddonTarball(name, version, signal) {
1185
- const registry = process.env['CAMSTACK_NPM_REGISTRY'];
1185
+ const registry = process.env['DOMINEVO_NPM_REGISTRY'];
1186
1186
  const reg = (registry ?? 'https://registry.npmjs.org').replace(/\/+$/, '');
1187
1187
  const metaUrl = `${reg}/${encodeURIComponent(name).replace(/^%40/, '@')}`;
1188
1188
  const metaRes = await fetch(metaUrl, { signal });
@@ -1255,7 +1255,7 @@ class AddonPackageService {
1255
1255
  // (`post-boot.service.ts`): the announcement and the landing of one
1256
1256
  // restart must name the same node, or a stale `node-updating` could not
1257
1257
  // be matched to the `server-updated` that supersedes it (D723).
1258
- data: { ...payload, nodeId: process.env['CAMSTACK_NODE_ID'] ?? 'hub' },
1258
+ data: { ...payload, nodeId: process.env['DOMINEVO_NODE_ID'] ?? 'hub' },
1259
1259
  });
1260
1260
  // 10s grace gives in-flight requests time to drain.
1261
1261
  (0, system_1.scheduleSelfRestart)({ delayMs: 10_000 });
@@ -1276,7 +1276,7 @@ class AddonPackageService {
1276
1276
  * the sum.
1277
1277
  */
1278
1278
  async listFrameworkPackages() {
1279
- const registry = process.env['CAMSTACK_NPM_REGISTRY'];
1279
+ const registry = process.env['DOMINEVO_NPM_REGISTRY'];
1280
1280
  const rows = await Promise.all(FRAMEWORK_STATUS_PACKAGES.map(async (packageName) => {
1281
1281
  const manifest = readResolvedPackageManifest(packageName);
1282
1282
  const currentVersion = manifest !== null && typeof manifest['version'] === 'string'
@@ -1370,7 +1370,7 @@ class AddonPackageService {
1370
1370
  }
1371
1371
  /** Node id stamped on availability events emitted by THIS process. */
1372
1372
  resolveNodeId() {
1373
- return process.env['CAMSTACK_NODE_ID'] ?? 'hub';
1373
+ return process.env['DOMINEVO_NODE_ID'] ?? 'hub';
1374
1374
  }
1375
1375
  // =========================================================================
1376
1376
  // Reload
@@ -1656,7 +1656,7 @@ class AddonPackageService {
1656
1656
  }
1657
1657
  /** Resolve the top-level data directory */
1658
1658
  resolveDataDir() {
1659
- return path.resolve(process.env.CAMSTACK_DATA ?? 'camstack-data');
1659
+ return path.resolve(process.env.DOMINEVO_DATA ?? 'dominevo-data');
1660
1660
  }
1661
1661
  // =========================================================================
1662
1662
  // Private: core package update checks
@@ -1711,9 +1711,9 @@ class AddonPackageService {
1711
1711
  const version = asString(pkgJson['version']);
1712
1712
  if (!name || !version || !this.isAllowedPackage(name))
1713
1713
  continue;
1714
- // Skip non-addon packages (core, types, etc.) — only check packages with camstack.addons
1715
- const camstackField = asRecord(pkgJson['camstack']);
1716
- if (!camstackField['addons'])
1714
+ // Skip non-addon packages (core, types, etc.) — only check packages with dominevo.addons
1715
+ const dominevoField = asRecord(pkgJson['dominevo']);
1716
+ if (!dominevoField['addons'])
1717
1717
  continue;
1718
1718
  // Skip workspace-installed packages (dev mode) — they always lag behind npm
1719
1719
  const addonDir = path.dirname(pkgJsonPath);
@@ -1791,7 +1791,7 @@ class AddonPackageService {
1791
1791
  /**
1792
1792
  * Base URL for npm registry METADATA fetches.
1793
1793
  *
1794
- * Honours `CAMSTACK_NPM_REGISTRY` so update checks resolve against
1794
+ * Honours `DOMINEVO_NPM_REGISTRY` so update checks resolve against
1795
1795
  * the same registry the installer/pack paths use. Without this, a
1796
1796
  * per-node `listUpdates` (which diffs an agent's roster via
1797
1797
  * `checkUpdatesForInstalled` → `lookupLatestVersion`) would bypass a
@@ -1800,7 +1800,7 @@ class AddonPackageService {
1800
1800
  * Trailing slashes are stripped so the `${base}/${name}` join is clean.
1801
1801
  */
1802
1802
  resolveRegistryBase() {
1803
- const override = process.env['CAMSTACK_NPM_REGISTRY'];
1803
+ const override = process.env['DOMINEVO_NPM_REGISTRY'];
1804
1804
  const base = override && override.length > 0 ? override : AddonPackageService.NPM_REGISTRY;
1805
1805
  return base.replace(/\/+$/, '');
1806
1806
  }
@@ -1872,13 +1872,13 @@ class AddonPackageService {
1872
1872
  }
1873
1873
  this.updateAvailability.publishSnapshot('addon', candidates, scope);
1874
1874
  }
1875
- /** Fetch npm search results for camstack addon packages (cached 5 min) */
1875
+ /** Fetch npm search results for dominevo addon packages (cached 5 min) */
1876
1876
  async fetchSearchFromNpm() {
1877
1877
  if (this.searchCache &&
1878
1878
  Date.now() - this.searchCache.timestamp < AddonPackageService.SEARCH_CACHE_TTL_MS) {
1879
1879
  return this.searchCache.results;
1880
1880
  }
1881
- const url = 'https://registry.npmjs.org/-/v1/search?text=keywords:camstack+keywords:addon&size=250';
1881
+ const url = 'https://registry.npmjs.org/-/v1/search?text=keywords:dominevo+keywords:addon&size=250';
1882
1882
  try {
1883
1883
  const response = await fetch(url, {
1884
1884
  headers: { Accept: 'application/json' },
@@ -1972,7 +1972,7 @@ class AddonPackageService {
1972
1972
  }
1973
1973
  }
1974
1974
  /**
1975
- * The `camstack.requires` of `name@version` as the HUB would deliver it: the
1975
+ * The `dominevo.requires` of `name@version` as the HUB would deliver it: the
1976
1976
  * installed copy when it is that version, the registry's document otherwise.
1977
1977
  * `undefined` is "declares nothing, or could not be read".
1978
1978
  */
@@ -1990,7 +1990,7 @@ class AddonPackageService {
1990
1990
  const target = await this.fetchRequires(name, version);
1991
1991
  return target.read ? target.requires : undefined;
1992
1992
  }
1993
- /** What a target's `camstack.requires` asks that this node does not meet (D989). */
1993
+ /** What a target's `dominevo.requires` asks that this node does not meet (D989). */
1994
1994
  unmetFor(requires) {
1995
1995
  return (0, addon_requirements_js_1.unmetAddonRequirements)(requires, {
1996
1996
  serverVersion: this.readServerVersion(),
@@ -1998,7 +1998,7 @@ class AddonPackageService {
1998
1998
  });
1999
1999
  }
2000
2000
  /**
2001
- * The `camstack.requires` of one registry version. An unreadable answer is
2001
+ * The `dominevo.requires` of one registry version. An unreadable answer is
2002
2002
  * reported as such (`read: false`) and never folded into "declares nothing":
2003
2003
  * the caller that installs refuses, the one that only reports may carry on.
2004
2004
  */
@@ -2059,15 +2059,15 @@ class AddonPackageService {
2059
2059
  /** Resolve the addons directory from config or fall back to default */
2060
2060
  resolveAddonsDir() {
2061
2061
  // Must match where the runtime LOADS addons (launcher.ts +
2062
- // addon-registry.service.ts honor CAMSTACK_ADDONS_DIR). If this service
2062
+ // addon-registry.service.ts honor DOMINEVO_ADDONS_DIR). If this service
2063
2063
  // installed/reloaded from a different dir than the runtime loads, a
2064
2064
  // post-install reload re-registers the hub node from an INCOMPLETE set
2065
2065
  // (registerNode replaces the cap set atomically) — dropping in-process
2066
2066
  // builtins like device-manager/addon-pages/addon-widgets.
2067
- const envDir = process.env.CAMSTACK_ADDONS_DIR;
2067
+ const envDir = process.env.DOMINEVO_ADDONS_DIR;
2068
2068
  if (envDir && envDir.trim().length > 0)
2069
2069
  return path.resolve(envDir);
2070
- const dataPath = this.configService.get('server.dataPath') ?? 'camstack-data';
2070
+ const dataPath = this.configService.get('server.dataPath') ?? 'dominevo-data';
2071
2071
  return path.resolve(dataPath, 'addons');
2072
2072
  }
2073
2073
  /** Throw if installer was not initialised */
@@ -2125,7 +2125,7 @@ exports.AddonPackageService = AddonPackageService;
2125
2125
  */
2126
2126
  async function extractTgzStripped(tgz, destDir) {
2127
2127
  fs.mkdirSync(destDir, { recursive: true });
2128
- const tmpFile = path.join(os.tmpdir(), `camstack-tgz-${(0, node_crypto_1.randomUUID)()}.tgz`);
2128
+ const tmpFile = path.join(os.tmpdir(), `dominevo-tgz-${(0, node_crypto_1.randomUUID)()}.tgz`);
2129
2129
  try {
2130
2130
  fs.writeFileSync(tmpFile, tgz);
2131
2131
  await execFileAsync('tar', ['--strip-components=1', '-xzf', tmpFile, '-C', destDir], {
@@ -2141,7 +2141,7 @@ async function extractTgzStripped(tgz, destDir) {
2141
2141
  // ---------------------------------------------------------------------------
2142
2142
  /**
2143
2143
  * Build the npm CLI args that pin every relevant registry to
2144
- * `CAMSTACK_NPM_REGISTRY`. We pass BOTH the default `--registry` and
2144
+ * `DOMINEVO_NPM_REGISTRY`. We pass BOTH the default `--registry` and
2145
2145
  * the scope-specific `--@dominevo:registry=` flag because workspace or
2146
2146
  * user-home `.npmrc` files commonly declare
2147
2147
  * `@dominevo:registry=https://registry.npmjs.org/`, and that scoped
@@ -601,11 +601,11 @@ class AddonRegistryService {
601
601
  this.capabilityRegistry.setSingletonActiveAddon(data.capName, data.addonId ?? null);
602
602
  });
603
603
  // 2. Load all addons from the addons directory (including core builtins).
604
- // Honors CAMSTACK_ADDONS_DIR (a `node_modules`-shaped dir on Docker/Electron
604
+ // Honors DOMINEVO_ADDONS_DIR (a `node_modules`-shaped dir on Docker/Electron
605
605
  // so forked ESM addon runners resolve @dominevo/* via walk-up — see the
606
606
  // launcher). Defaults to `<dataDir>/addons` for dev.
607
- const dataDir = path.resolve(process.env.CAMSTACK_DATA ?? 'camstack-data');
608
- const addonsDir = process.env.CAMSTACK_ADDONS_DIR ?? path.resolve(dataDir, 'addons');
607
+ const dataDir = path.resolve(process.env.DOMINEVO_DATA ?? 'dominevo-data');
608
+ const addonsDir = process.env.DOMINEVO_ADDONS_DIR ?? path.resolve(dataDir, 'addons');
609
609
  // Single-copy model (2026-07-18 collapse): the framework BUILTINS
610
610
  // (`@dominevo/server`: device-manager, snapshot, storage, settings, …) load
611
611
  // from the ACTIVE CLOSURE the hub itself runs from — resolved via the same
@@ -671,7 +671,7 @@ class AddonRegistryService {
671
671
  }
672
672
  }
673
673
  // Create and store addon instance — cast from @dominevo/types to server's
674
- // local ICamstackAddon (structurally compatible at runtime).
674
+ // local IDominevoAddon (structurally compatible at runtime).
675
675
  // Wrap in try/catch so a single broken addon doesn't prevent the rest from loading.
676
676
  try {
677
677
  const addon = this.addonLoader.createInstance(registered.declaration.id);
@@ -1150,8 +1150,8 @@ class AddonRegistryService {
1150
1150
  * monitor's catch path schedules the next retry.
1151
1151
  */
1152
1152
  async tryReloadPackage(packageName) {
1153
- const dataDir = path.resolve(process.env.CAMSTACK_DATA ?? 'camstack-data');
1154
- const addonsDir = process.env.CAMSTACK_ADDONS_DIR ?? path.resolve(dataDir, 'addons');
1153
+ const dataDir = path.resolve(process.env.DOMINEVO_DATA ?? 'dominevo-data');
1154
+ const addonsDir = process.env.DOMINEVO_ADDONS_DIR ?? path.resolve(dataDir, 'addons');
1155
1155
  const addonDir = path.join(addonsDir, packageName);
1156
1156
  if (!fs.existsSync(addonDir)) {
1157
1157
  throw new Error(`Package directory missing: ${addonDir}`);
@@ -1592,7 +1592,7 @@ class AddonRegistryService {
1592
1592
  const entry = this.addonEntries.get(id);
1593
1593
  if (!entry)
1594
1594
  return;
1595
- const agentName = process.env.CAMSTACK_AGENT_NAME ?? 'hub';
1595
+ const agentName = process.env.DOMINEVO_AGENT_NAME ?? 'hub';
1596
1596
  const platform = `${os.platform()}/${os.arch()}`;
1597
1597
  const runnerPid = pids !== undefined && pids.pidAfter !== null
1598
1598
  ? `, runner pid ${pids.pidBefore ?? 'none'} -> ${pids.pidAfter}`
@@ -1615,7 +1615,7 @@ class AddonRegistryService {
1615
1615
  // `platform-probe` capability. Addons call `ctx.api.platformProbe.*`
1616
1616
  // during their own initialize(). The backend no longer loops addons
1617
1617
  // looking for `getModelRequirements` / `configure` — those hooks were
1618
- // removed from the ICamstackAddon contract.
1618
+ // removed from the IDominevoAddon contract.
1619
1619
  /**
1620
1620
  * Loads a package's optional `i18n/<lang>.json` catalogs (D863). The
1621
1621
  * namespace is the package's short name (`@dominevo/addon-provider-reolink`
@@ -1882,8 +1882,8 @@ class AddonRegistryService {
1882
1882
  * captured at boot. Never registers a new addon (that is `loadNewAddons`).
1883
1883
  */
1884
1884
  async refreshPackageFromDisk(packageName) {
1885
- const dataDir = path.resolve(process.env.CAMSTACK_DATA ?? 'camstack-data');
1886
- const addonsDir = process.env.CAMSTACK_ADDONS_DIR ?? path.resolve(dataDir, 'addons');
1885
+ const dataDir = path.resolve(process.env.DOMINEVO_DATA ?? 'dominevo-data');
1886
+ const addonsDir = process.env.DOMINEVO_ADDONS_DIR ?? path.resolve(dataDir, 'addons');
1887
1887
  const freshLoader = new system_1.AddonLoader(this.loggingService.createLogger('AddonLoader'));
1888
1888
  await freshLoader.loadFromAddonDir(path.join(addonsDir, packageName));
1889
1889
  for (const registered of freshLoader.listAddons()) {
@@ -2222,8 +2222,8 @@ class AddonRegistryService {
2222
2222
  return this.findAddonDirOnDisk(id);
2223
2223
  }
2224
2224
  findAddonDirOnDisk(addonId) {
2225
- const dataDir = path.resolve(process.env.CAMSTACK_DATA ?? 'camstack-data');
2226
- const addonsDir = process.env.CAMSTACK_ADDONS_DIR ?? path.resolve(dataDir, 'addons');
2225
+ const dataDir = path.resolve(process.env.DOMINEVO_DATA ?? 'dominevo-data');
2226
+ const addonsDir = process.env.DOMINEVO_ADDONS_DIR ?? path.resolve(dataDir, 'addons');
2227
2227
  if (!fs.existsSync(addonsDir))
2228
2228
  return null;
2229
2229
  const visit = (pkgDir) => {
@@ -2232,9 +2232,9 @@ class AddonRegistryService {
2232
2232
  return null;
2233
2233
  try {
2234
2234
  const pkg = JSON.parse(fs.readFileSync(pkgJsonPath, 'utf-8'));
2235
- const camstack = pkg['camstack'] ?? {};
2236
- const addons = Array.isArray(camstack.addons)
2237
- ? camstack.addons
2235
+ const dominevo = pkg['dominevo'] ?? {};
2236
+ const addons = Array.isArray(dominevo.addons)
2237
+ ? dominevo.addons
2238
2238
  : [];
2239
2239
  if (addons.some((a) => a['id'] === addonId))
2240
2240
  return pkgDir;
@@ -2305,7 +2305,7 @@ class AddonRegistryService {
2305
2305
  }
2306
2306
  /**
2307
2307
  * True when the entry's manifest opted into protection (uninstall
2308
- * disabled). The flag is per-addon (`camstack.addons[N].protected`)
2308
+ * disabled). The flag is per-addon (`dominevo.addons[N].protected`)
2309
2309
  * but the kernel uninstall API operates on packages — so a package
2310
2310
  * is treated as protected if ANY of its addons declares the flag.
2311
2311
  * Computed at call time from the running registry; no hardcoded
@@ -2421,14 +2421,14 @@ class AddonRegistryService {
2421
2421
  }
2422
2422
  /**
2423
2423
  * Walk `<dataDir>/addons/` for `package.json` files whose declared
2424
- * `camstack.addons[]` entries don't appear in `addonEntries`. Returns
2424
+ * `dominevo.addons[]` entries don't appear in `addonEntries`. Returns
2425
2425
  * synthetic listing rows so the UI can show + delete them. The rows
2426
2426
  * carry a `process.state: 'failed'` flag so the AddonCard can render
2427
2427
  * the diagnostic state distinctly from a normal addon.
2428
2428
  */
2429
2429
  scanFailedToLoadPackages(seenPackages) {
2430
- const dataDir = path.resolve(process.env.CAMSTACK_DATA ?? 'camstack-data');
2431
- const addonsDir = process.env.CAMSTACK_ADDONS_DIR ?? path.resolve(dataDir, 'addons');
2430
+ const dataDir = path.resolve(process.env.DOMINEVO_DATA ?? 'dominevo-data');
2431
+ const addonsDir = process.env.DOMINEVO_ADDONS_DIR ?? path.resolve(dataDir, 'addons');
2432
2432
  if (!fs.existsSync(addonsDir))
2433
2433
  return [];
2434
2434
  const out = [];
@@ -2447,9 +2447,9 @@ class AddonRegistryService {
2447
2447
  const packageVersion = typeof pkg['version'] === 'string' ? pkg['version'] : '0.0.0';
2448
2448
  if (!packageName || seenPackages.has(packageName))
2449
2449
  return;
2450
- const camstack = pkg['camstack'] ?? {};
2451
- const addons = Array.isArray(camstack.addons)
2452
- ? camstack.addons
2450
+ const dominevo = pkg['dominevo'] ?? {};
2451
+ const addons = Array.isArray(dominevo.addons)
2452
+ ? dominevo.addons
2453
2453
  : [];
2454
2454
  if (addons.length === 0)
2455
2455
  return;
@@ -2469,10 +2469,10 @@ class AddonRegistryService {
2469
2469
  }
2470
2470
  // Manifest-driven protection — agree with the live-rows path.
2471
2471
  const isProtected = addons.some((a) => a['protected'] === true);
2472
- const packageDisplayName = camstack.displayName;
2472
+ const packageDisplayName = dominevo.displayName;
2473
2473
  // Bundle metadata — present when the package ships multiple addon
2474
2474
  // entries that should render as collapsible children in the UI.
2475
- const bundleRaw = camstack.bundle;
2475
+ const bundleRaw = dominevo.bundle;
2476
2476
  const bundle = bundleRaw && typeof bundleRaw.displayName === 'string'
2477
2477
  ? {
2478
2478
  displayName: bundleRaw.displayName,
@@ -2553,8 +2553,8 @@ class AddonRegistryService {
2553
2553
  * Called after install/uninstall to hot-load new addons without server restart.
2554
2554
  */
2555
2555
  async loadNewAddons() {
2556
- const dataDir = path.resolve(process.env.CAMSTACK_DATA ?? 'camstack-data');
2557
- const addonsDir = process.env.CAMSTACK_ADDONS_DIR ?? path.resolve(dataDir, 'addons');
2556
+ const dataDir = path.resolve(process.env.DOMINEVO_DATA ?? 'dominevo-data');
2557
+ const addonsDir = process.env.DOMINEVO_ADDONS_DIR ?? path.resolve(dataDir, 'addons');
2558
2558
  // Create a fresh loader to discover what's on disk (for diffing against existing)
2559
2559
  const freshLoader = new system_1.AddonLoader(this.loggingService.createLogger('AddonLoader'));
2560
2560
  await freshLoader.loadFromDirectory(addonsDir);
@@ -2776,7 +2776,7 @@ class AddonRegistryService {
2776
2776
  // wired here — filesystem-storage now registers under
2777
2777
  // `storage-provider` (the upstream collection cap), and
2778
2778
  // legacy callers fall back to the deterministic
2779
- // `camstack-data/addons-data/<addonId>` path. Task 17 will
2779
+ // `dominevo-data/addons-data/<addonId>` path. Task 17 will
2780
2780
  // migrate those callers off `INewStorageProvider`
2781
2781
  // entirely.
2782
2782
  break;
@@ -3024,7 +3024,7 @@ class AddonRegistryService {
3024
3024
  });
3025
3025
  }
3026
3026
  // Cleanup: `addonHasConfigFields` deleted. It was the last reader of
3027
- // the legacy `ICamstackAddon.getConfigSchema()` method, exposed via
3027
+ // the legacy `IDominevoAddon.getConfigSchema()` method, exposed via
3028
3028
  // `listAddons().hasConfigSchema` for the old AddonCard settings gate.
3029
3029
  // `NodeAddonsSettingsPanel` now gracefully shows an empty state when
3030
3030
  // an addon serves no scoped settings, so the backend no
@@ -3044,7 +3044,7 @@ class AddonRegistryService {
3044
3044
  addonId,
3045
3045
  packageName: entry?.packageName,
3046
3046
  packageVersion: entry?.packageVersion,
3047
- agent: process.env.CAMSTACK_AGENT_NAME ?? 'hub',
3047
+ agent: process.env.DOMINEVO_AGENT_NAME ?? 'hub',
3048
3048
  ...data,
3049
3049
  },
3050
3050
  });
@@ -3125,14 +3125,14 @@ class AddonRegistryService {
3125
3125
  })
3126
3126
  : // No active storage provider yet — this is an EARLY in-process builtin
3127
3127
  // (notably sqlite-settings, which IS the storage provider, so it loads
3128
- // before one is active). Honor CAMSTACK_DATA here too; hardcoding the
3129
- // relative `camstack-data` made the settings DB escape the mounted
3128
+ // before one is active). Honor DOMINEVO_DATA here too; hardcoding the
3129
+ // relative `dominevo-data` made the settings DB escape the mounted
3130
3130
  // data dir in container deployments.
3131
- path.join(process.env.CAMSTACK_DATA ?? 'camstack-data', 'addons-data', addonId);
3131
+ path.join(process.env.DOMINEVO_DATA ?? 'dominevo-data', 'addons-data', addonId);
3132
3132
  // Node-local data ROOT — the centralized anchor for internal per-node dirs
3133
- // (models, logs). `CAMSTACK_DATA` ?? the hub's default data dir. Mirrors the
3133
+ // (models, logs). `DOMINEVO_DATA` ?? the hub's default data dir. Mirrors the
3134
3134
  // kernel addon-context-factory; never the hub-singleton `storage` cap.
3135
- const nodeDataDir = path.resolve(process.env.CAMSTACK_DATA ?? 'camstack-data');
3135
+ const nodeDataDir = path.resolve(process.env.DOMINEVO_DATA ?? 'dominevo-data');
3136
3136
  const registerProvider = (capabilityName, provider) => {
3137
3137
  // An `integration-instances` holder is registered with its delete guarded by the link index (D1013).
3138
3138
  this.capabilityRegistry.registerProvider(capabilityName, addonId, (0, instance_links_service_js_1.registeredProviderFor)(capabilityName, provider, this.capabilityRegistry, {
@@ -38,7 +38,7 @@ exports.readRunningServerVersion = readRunningServerVersion;
38
38
  exports.unmetAddonRequirements = unmetAddonRequirements;
39
39
  exports.readRunningServerAddonMinimums = readRunningServerAddonMinimums;
40
40
  /**
41
- * What an addon version declares it needs (`camstack.requires`, D989), judged
41
+ * What an addon version declares it needs (`dominevo.requires`, D989), judged
42
42
  * against what this node runs. The declaration is read from the registry's
43
43
  * version document of the TARGET; an unreadable or absent block is "declares
44
44
  * nothing", an unreadable running server is "unknown", which never passes.
@@ -48,12 +48,12 @@ const path = __importStar(require("node:path"));
48
48
  const types_1 = require("@dominevo/types");
49
49
  const installed_addon_versions_js_1 = require("./installed-addon-versions.js");
50
50
  const package_dir_utils_js_1 = require("./package-dir-utils.js");
51
- /** `camstack.requires` of one registry version document; `undefined` when it declares none. */
51
+ /** `dominevo.requires` of one registry version document; `undefined` when it declares none. */
52
52
  function requiresOfVersionDoc(doc) {
53
- const camstack = doc['camstack'];
54
- if (typeof camstack !== 'object' || camstack === null)
53
+ const dominevo = doc['dominevo'];
54
+ if (typeof dominevo !== 'object' || dominevo === null)
55
55
  return undefined;
56
- const parsed = types_1.PackageRequiresSchema.safeParse(camstack['requires']);
56
+ const parsed = types_1.PackageRequiresSchema.safeParse(dominevo['requires']);
57
57
  return parsed.success ? parsed.data : undefined;
58
58
  }
59
59
  /** The version of the `@dominevo/server` this process runs, or `null` when it cannot be read. */
@@ -89,10 +89,10 @@ function readRunningServerAddonMinimums() {
89
89
  const raw = JSON.parse(fs.readFileSync(path.join(dir, 'package.json'), 'utf-8'));
90
90
  if (typeof raw !== 'object' || raw === null)
91
91
  return {};
92
- const camstack = Reflect.get(raw, 'camstack');
93
- if (typeof camstack !== 'object' || camstack === null)
92
+ const dominevo = Reflect.get(raw, 'dominevo');
93
+ if (typeof dominevo !== 'object' || dominevo === null)
94
94
  return {};
95
- const parsed = types_1.PackageRequiresSchema.safeParse(Reflect.get(camstack, 'requires'));
95
+ const parsed = types_1.PackageRequiresSchema.safeParse(Reflect.get(dominevo, 'requires'));
96
96
  return parsed.success ? (parsed.data.addons ?? {}) : {};
97
97
  }
98
98
  catch {