@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
@@ -224,8 +224,8 @@ function unmetForTarget(manifest, nodeId, convergence) {
224
224
  return (0, addon_requirements_js_1.unmetAddonRequirements)(manifest.requires, {
225
225
  serverVersion: (0, addon_requirements_js_1.readRunningServerVersion)(),
226
226
  addonsDir: () => {
227
- const dataDir = path.resolve(process.env['CAMSTACK_DATA'] ?? 'camstack-data');
228
- return process.env['CAMSTACK_ADDONS_DIR'] ?? path.resolve(dataDir, 'addons');
227
+ const dataDir = path.resolve(process.env['DOMINEVO_DATA'] ?? 'dominevo-data');
228
+ return process.env['DOMINEVO_ADDONS_DIR'] ?? path.resolve(dataDir, 'addons');
229
229
  },
230
230
  });
231
231
  }
@@ -251,9 +251,9 @@ function packageHasAgentDeployable(addonsDir, packageName) {
251
251
  const parsed = JSON.parse(fs.readFileSync(pkgPath, 'utf-8'));
252
252
  if (parsed === null || typeof parsed !== 'object')
253
253
  return false;
254
- const camstack = parsed
255
- .camstack;
256
- const addons = camstack?.addons ?? [];
254
+ const dominevo = parsed
255
+ .dominevo;
256
+ const addons = dominevo?.addons ?? [];
257
257
  return addons.some((a) => {
258
258
  const placement = a.execution?.placement ?? 'hub-only';
259
259
  return placement === 'agent-only' || placement === 'any-node';
@@ -324,7 +324,7 @@ async function propagateToAgents(moleculer, logger, packageName, buffer, resolve
324
324
  * restart to actually run the new code.
325
325
  */
326
326
  async function installToHub(reply, addonBridge, addonRegistry, addonPackageService, moleculer, logger, filename, buffer, resolveClusterBaseUrl, deliveryLedger, convergence) {
327
- const tmpDir = path.join(os.tmpdir(), `camstack-addon-upload-${Date.now()}`);
327
+ const tmpDir = path.join(os.tmpdir(), `dominevo-addon-upload-${Date.now()}`);
328
328
  fs.mkdirSync(tmpDir, { recursive: true });
329
329
  const tgzPath = path.join(tmpDir, filename);
330
330
  fs.writeFileSync(tgzPath, buffer);
@@ -343,14 +343,14 @@ async function installToHub(reply, addonBridge, addonRegistry, addonPackageServi
343
343
  .listAddons()
344
344
  .filter((row) => row.manifest.packageName === result.name)
345
345
  .map((row) => row.manifest.id);
346
- // Must honour CAMSTACK_ADDONS_DIR — the runtime installs/loads addons
347
- // from there (e.g. /data/node_modules), NOT from CAMSTACK_DATA/addons.
348
- // Deriving the dir from CAMSTACK_DATA alone pointed the marker write at a
346
+ // Must honour DOMINEVO_ADDONS_DIR — the runtime installs/loads addons
347
+ // from there (e.g. /data/node_modules), NOT from DOMINEVO_DATA/addons.
348
+ // Deriving the dir from DOMINEVO_DATA alone pointed the marker write at a
349
349
  // non-existent path → unguarded ENOENT → HTTP 500, which aborted the
350
350
  // handler before loadNewAddons()/restartAddon() ran, so uploads landed on
351
351
  // disk but never hot-reloaded. Mirrors AddonPackageService.resolveAddonsDir().
352
- const dataDir = path.resolve(process.env['CAMSTACK_DATA'] ?? 'camstack-data');
353
- const addonsDir = process.env['CAMSTACK_ADDONS_DIR'] ?? path.resolve(dataDir, 'addons');
352
+ const dataDir = path.resolve(process.env['DOMINEVO_DATA'] ?? 'dominevo-data');
353
+ const addonsDir = process.env['DOMINEVO_ADDONS_DIR'] ?? path.resolve(dataDir, 'addons');
354
354
  try {
355
355
  fs.writeFileSync(path.join(addonsDir, result.name, '.install-source'), 'upload');
356
356
  }
@@ -359,7 +359,7 @@ async function installToHub(reply, addonBridge, addonRegistry, addonPackageServi
359
359
  meta: { error: err instanceof Error ? err.message : String(err) },
360
360
  });
361
361
  }
362
- // Framework / system packages (`camstack.system: true`, e.g. @dominevo/server/system)
362
+ // Framework / system packages (`dominevo.system: true`, e.g. @dominevo/server/system)
363
363
  // ship hub builtins (sqlite-settings, filesystem-storage, …) that CANNOT be
364
364
  // hot-reloaded in place — an in-process `restartAddon` leaves them
365
365
  // uninitialized ("SqliteSettingsBackend not initialized"), breaking auth +
@@ -190,16 +190,16 @@ function assertRealUserSession(user, what) {
190
190
  }
191
191
  // ── Session exchange (viewer same-origin session reuse) ──────────────
192
192
  //
193
- // The viewer web build is served by the hub under `/viewer/camstack/`
193
+ // The viewer web build is served by the hub under `/viewer/dominevo/`
194
194
  // — SAME ORIGIN as the admin-ui. After an admin-ui login the session
195
- // JWT is mirrored into the httpOnly `camstack_session` cookie
195
+ // JWT is mirrored into the httpOnly `dominevo_session` cookie
196
196
  // (`POST /api/auth/session`); `auth.exchangeSession` lets the viewer
197
197
  // upgrade that cookie back into a bearer token WITHOUT ever reading the
198
198
  // cookie from JS (it's httpOnly — the browser attaches it, the server
199
199
  // answers with a freshly-minted session).
200
200
  /** Custom header a cross-site form can never set — CSRF gate for the
201
201
  * cookie-authenticated `exchangeSession` mutation. */
202
- exports.EXCHANGE_SESSION_HEADER = 'x-camstack-exchange';
202
+ exports.EXCHANGE_SESSION_HEADER = 'x-dominevo-exchange';
203
203
  /** Read a single-valued request header off the tRPC context request. */
204
204
  function readRequestHeader(req, name) {
205
205
  const value = req?.headers[name];
@@ -738,13 +738,13 @@ function createAuthRouter(auth, registry, moleculer = null, handoffCodes = new h
738
738
  /**
739
739
  * PUBLIC — upgrade the browser's httpOnly session COOKIE into a
740
740
  * bearer token (viewer same-origin session reuse). Authentication
741
- * comes from the `camstack_session` cookie ONLY — never from a
741
+ * comes from the `dominevo_session` cookie ONLY — never from a
742
742
  * bearer header — so a hub-served SPA (the viewer under
743
- * `/viewer/camstack/`) can bootstrap without its own login.
743
+ * `/viewer/dominevo/`) can bootstrap without its own login.
744
744
  *
745
745
  * Security properties:
746
746
  * • CSRF: mutation (POST) + a REQUIRED custom header
747
- * (`x-camstack-exchange: 1`) that a cross-site form can't set;
747
+ * (`x-dominevo-exchange: 1`) that a cross-site form can't set;
748
748
  * belt-and-braces on top of the cookie's `SameSite=Lax`
749
749
  * semantics (see `buildSessionCookie` — Lax already withholds
750
750
  * the cookie from cross-site POSTs).
@@ -796,7 +796,7 @@ function createAuthRouter(auth, registry, moleculer = null, handoffCodes = new h
796
796
  //
797
797
  // The admin-ui login page, when its `redirect` param is the app's
798
798
  // custom-scheme callback, mints a code AFTER a successful login and
799
- // bounces to `camstack://auth-callback?code=…`; the app redeems it
799
+ // bounces to `dominevo://auth-callback?code=…`; the app redeems it
800
800
  // for a real session. TTL 60s, single-use, bound to the minting
801
801
  // user — see `HandoffCodeService`.
802
802
  /** Mint a one-time handoff code for the CALLING user. Real user
@@ -1104,7 +1104,7 @@ const UNRESOLVED_HINT_LIMIT = 40;
1104
1104
  /**
1105
1105
  * Explain a `(addonId, action)` that did not resolve, by NAMING what does.
1106
1106
  *
1107
- * `addons.custom` keys on the MANIFEST addon id (`camstack.addons[].id`), which
1107
+ * `addons.custom` keys on the MANIFEST addon id (`dominevo.addons[].id`), which
1108
1108
  * is routinely not the npm package name — `@dominevo/addon-post-analysis` ships
1109
1109
  * `pipeline-analytics` and `embedding-encoder`, and neither is the package. A
1110
1110
  * bare "has no custom action X" is then indistinguishable from "the addon is
@@ -583,7 +583,7 @@ function mergeLevel(record, nodeId, component, next, updatedAt) {
583
583
  * Two refusals, and the second is the point of the whole per-camera design:
584
584
  *
585
585
  * - an UNDECLARED channel. Silently accepting one would let a typo look like
586
- * a working arm forever — the `CAMSTACK_FLEET_READ_CENSUS_MS=true` failure,
586
+ * a working arm forever — the `DOMINEVO_FLEET_READ_CENSUS_MS=true` failure,
587
587
  * which cost a whole boot before anyone noticed nothing was being measured.
588
588
  * - `deviceIds` on a channel declared `perDevice: false`. That channel's
589
589
  * lines carry no `tags: { deviceId }`, so the narrowing would produce a
@@ -9,7 +9,7 @@
9
9
  *
10
10
  * ## Why the arm deadline is persisted
11
11
  *
12
- * `FleetReadCensus` arms from `CAMSTACK_FLEET_READ_CENSUS_MS` at construction
12
+ * `FleetReadCensus` arms from `DOMINEVO_FLEET_READ_CENSUS_MS` at construction
13
13
  * because "the storm is at BOOT - by the time a process is up enough to
14
14
  * receive an action, the window being investigated has closed". That reasoning
15
15
  * is right and its conclusion is not: an env var needs a container recreation
@@ -50,19 +50,19 @@ exports.CORS_ALLOWED_METHODS = 'GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS';
50
50
  /**
51
51
  * Request headers a cross-origin caller may send. `authorization` is the
52
52
  * whole point; `range` is recorded-media seeking; the `trpc-*` / `x-trpc-*`
53
- * names are what `@trpc/client` links may add; `x-camstack-lang` is the
54
- * language the SDK sends on every request. NOT `x-camstack-exchange`:
53
+ * names are what `@trpc/client` links may add; `x-dominevo-lang` is the
54
+ * language the SDK sends on every request. NOT `x-dominevo-exchange`:
55
55
  * the cookie→bearer exchange is a same-origin mechanism and a cross-origin
56
56
  * page has no business asking for it.
57
57
  */
58
- exports.CORS_ALLOWED_HEADERS = 'authorization, content-type, range, if-range, if-none-match, cache-control, trpc-accept, x-trpc-source, x-trpc-batch-mode, x-camstack-lang';
58
+ exports.CORS_ALLOWED_HEADERS = 'authorization, content-type, range, if-range, if-none-match, cache-control, trpc-accept, x-trpc-source, x-trpc-batch-mode, x-dominevo-lang';
59
59
  /**
60
60
  * Response headers a cross-origin script may read. The byte-range trio is
61
61
  * recorded playback (a seek reads `content-range`); `content-disposition` is
62
- * export downloads; `retry-after` is the rate limiter; the `x-camstack-*`
62
+ * export downloads; `retry-after` is the rate limiter; the `x-dominevo-*`
63
63
  * trio is the clip-still contract (a 204 that says WHY there is no image).
64
64
  */
65
- exports.CORS_EXPOSED_HEADERS = 'content-range, accept-ranges, content-length, content-disposition, etag, retry-after, x-camstack-reason, x-camstack-reason-code, x-camstack-disposition';
65
+ exports.CORS_EXPOSED_HEADERS = 'content-range, accept-ranges, content-length, content-disposition, etag, retry-after, x-dominevo-reason, x-dominevo-reason-code, x-dominevo-disposition';
66
66
  /** Preflight cache. Chromium caps at 7200 s; Firefox honours up to 86400. */
67
67
  exports.CORS_PREFLIGHT_MAX_AGE_SEC = 7200;
68
68
  /** Read the stored `auth.corsOrigins` value (a list, or one comma/space separated string). */
@@ -110,7 +110,7 @@ async function unpackDevUploadVersionBundle(args) {
110
110
  const finalDir = path.join(uploadsRoot, version);
111
111
  const stagingDir = path.join(uploadsRoot, `.staging-${version}-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`);
112
112
  fs.mkdirSync(stagingDir, { recursive: true });
113
- const tmpTgz = path.join(os.tmpdir(), `camstack-dev-uploads-${version.replace(/[^\w.-]/g, '_')}-${Date.now()}.tgz`);
113
+ const tmpTgz = path.join(os.tmpdir(), `dominevo-dev-uploads-${version.replace(/[^\w.-]/g, '_')}-${Date.now()}.tgz`);
114
114
  try {
115
115
  fs.writeFileSync(tmpTgz, bundle);
116
116
  let refusedEntry = null;
@@ -77,7 +77,7 @@ async function collectLogExport(args) {
77
77
  }
78
78
  function attachmentStem(request) {
79
79
  const stamp = new Date(request.until).toISOString().replace(/[:.]/g, '-');
80
- return `camstack-logs-${stamp}`;
80
+ return `dominevo-logs-${stamp}`;
81
81
  }
82
82
  function registerLogsExportRoute(fastify, options) {
83
83
  const { verifier, registry, tail, logger } = options;
@@ -43,7 +43,7 @@ const system_1 = require("@dominevo/server/system");
43
43
  const addon_upload_js_1 = require("./addon-upload.js");
44
44
  const AGENT_DISTRIBUTE_TIMEOUT_MS = 60_000;
45
45
  function hubModelsDir() {
46
- return path.join(process.env['CAMSTACK_DATA'] ?? 'camstack-data', 'models');
46
+ return path.join(process.env['DOMINEVO_DATA'] ?? 'dominevo-data', 'models');
47
47
  }
48
48
  /**
49
49
  * `tar -czf -` the given files relative to `cwd`, buffering the gzip stream.
@@ -94,7 +94,7 @@ function registerServerUploadPropagateRoute(fastify, options) {
94
94
  return reply.status(400).send({ error: parsed.error });
95
95
  }
96
96
  const { version, nodeId } = parsed;
97
- const dataDir = path.resolve(options.dataDir ?? process.env['CAMSTACK_DATA'] ?? 'camstack-data');
97
+ const dataDir = path.resolve(options.dataDir ?? process.env['DOMINEVO_DATA'] ?? 'dominevo-data');
98
98
  const versionDir = (0, index_js_1.devUploadVersionDir)((0, index_js_1.serverRootDir)(dataDir), version);
99
99
  if (!fs.existsSync(versionDir)) {
100
100
  return reply.status(404).send({
@@ -77,7 +77,7 @@ function isValidationFailure(value) {
77
77
  function hasPathTraversal(name) {
78
78
  return name.includes('/') || name.includes('\\') || name.includes('..');
79
79
  }
80
- /** `@dominevo/server` → `camstack-server.tgz` — server-derived, never client-named. */
80
+ /** `@dominevo/server` → `dominevo-server.tgz` — server-derived, never client-named. */
81
81
  function flattenedTgzName(packageName) {
82
82
  return `${packageName.replace(/^@/, '').replace(/\//g, '-')}.tgz`;
83
83
  }
@@ -177,7 +177,7 @@ function registerServerUploadRoute(fastify, options) {
177
177
  logger.warn('server-upload rejected', { meta: { version, error: validated.error } });
178
178
  return reply.status(400).send({ error: validated.error });
179
179
  }
180
- const dataDir = path.resolve(options.dataDir ?? process.env['CAMSTACK_DATA'] ?? 'camstack-data');
180
+ const dataDir = path.resolve(options.dataDir ?? process.env['DOMINEVO_DATA'] ?? 'dominevo-data');
181
181
  const versionDir = (0, index_js_1.devUploadVersionDir)((0, index_js_1.serverRootDir)(dataDir), version);
182
182
  fs.mkdirSync(versionDir, { recursive: true });
183
183
  const packages = {};
@@ -41,11 +41,11 @@ exports.sendSpaShell = sendSpaShell;
41
41
  * spa-mount — serving the admin-UI shell under a reverse-proxy path prefix.
42
42
  *
43
43
  * The Home Assistant component frames the admin UI through a same-origin
44
- * relay, `https://<ha>/api/camstack/p/<grant>/…` → `https://<hub>:4443/…`, so
44
+ * relay, `https://<ha>/api/dominevo/p/<grant>/…` → `https://<hub>:4443/…`, so
45
45
  * the browser never has to trust the hub's local certificate. The relay
46
46
  * forwards the path WITHOUT the prefix (the hub sees `/`, `/settings`,
47
47
  * `/assets/x.js`, `/trpc`) and says where it mounted us with
48
- * `X-Forwarded-Prefix: /api/camstack/p/<grant>` on every request.
48
+ * `X-Forwarded-Prefix: /api/dominevo/p/<grant>` on every request.
49
49
  *
50
50
  * The shell is the one response that has to differ: it tells the page where
51
51
  * it lives, and every URL the page composes derives from that
@@ -60,7 +60,7 @@ const spa_static_1 = require("./spa-static");
60
60
  exports.FORWARDED_PREFIX_HEADER = 'x-forwarded-prefix';
61
61
  /** The canonical spelling, for `Vary`. */
62
62
  const FORWARDED_PREFIX_VARY = 'X-Forwarded-Prefix';
63
- const MOUNT_META_NAME = 'camstack-mount';
63
+ const MOUNT_META_NAME = 'dominevo-mount';
64
64
  /**
65
65
  * A prefix is one or more clean path segments. No scheme, no `//`, no `..`,
66
66
  * no query, no whitespace, no markup — it is going into an HTML attribute.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * spa-static — shared static-serving helpers for the SPAs the hub mounts
4
- * (admin-ui at `/`, viewer-ui at `/viewer/camstack`). Extracted so both
4
+ * (admin-ui at `/`, viewer-ui at `/viewer/dominevo`). Extracted so both
5
5
  * mount points apply IDENTICAL cache policy: content-hashed build assets are
6
6
  * immutable; the service worker / registration / web manifest + the SPA shell
7
7
  * (`index.html`) always revalidate so a redeploy actually reaches clients.
@@ -62,7 +62,7 @@ function isTarballFilename(filename) {
62
62
  * the caller can surface a precise 400 response.
63
63
  */
64
64
  function readTarballManifest(buffer, filename) {
65
- const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'camstack-tarball-check-'));
65
+ const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'dominevo-tarball-check-'));
66
66
  const tgzPath = path.join(tmpDir, path.basename(filename));
67
67
  try {
68
68
  fs.writeFileSync(tgzPath, buffer);
@@ -76,9 +76,9 @@ function readTarballManifest(buffer, filename) {
76
76
  const pkg = parsed;
77
77
  if (typeof pkg['name'] !== 'string' || typeof pkg['version'] !== 'string')
78
78
  return null;
79
- const camstack = pkg['camstack'];
80
- const requires = typeof camstack === 'object' && camstack !== null
81
- ? types_1.PackageRequiresSchema.safeParse(Reflect.get(camstack, 'requires'))
79
+ const dominevo = pkg['dominevo'];
80
+ const requires = typeof dominevo === 'object' && dominevo !== null
81
+ ? types_1.PackageRequiresSchema.safeParse(Reflect.get(dominevo, 'requires'))
82
82
  : undefined;
83
83
  return {
84
84
  name: pkg['name'],
@@ -50,7 +50,7 @@
50
50
  * the router entries this census saw, over the SAME window. When it does not
51
51
  * balance, a plane is missing from this instrument - which is a result. The
52
52
  * two windows are armed separately (this one from the logging document, the
53
- * fleet one from `CAMSTACK_FLEET_READ_CENSUS_MS`), so the comparison is only
53
+ * fleet one from `DOMINEVO_FLEET_READ_CENSUS_MS`), so the comparison is only
54
54
  * valid when both were armed across the same boot; nothing here joins them
55
55
  * automatically, because a join across two differently-armed windows would
56
56
  * produce a confident wrong number.
@@ -104,12 +104,12 @@ function enrichInputWithUserAgent(input, userAgent) {
104
104
  *
105
105
  * Until an operator confirms that ONE real remote relay session (4G /
106
106
  * Cloudflare-tunnel) actually delivers media, remote viewers stay on the same
107
- * `relayOnly:false` path as everyone else. Set `CAMSTACK_FORCE_RELAY_REMOTE=1`
107
+ * `relayOnly:false` path as everyone else. Set `DOMINEVO_FORCE_RELAY_REMOTE=1`
108
108
  * (or `true`) to re-enable remote→relay once validated; the broker's pairClass
109
109
  * logging is the instrument for that validation.
110
110
  */
111
- const FORCE_RELAY_REMOTE = process.env.CAMSTACK_FORCE_RELAY_REMOTE === '1' ||
112
- process.env.CAMSTACK_FORCE_RELAY_REMOTE === 'true';
111
+ const FORCE_RELAY_REMOTE = process.env.DOMINEVO_FORCE_RELAY_REMOTE === '1' ||
112
+ process.env.DOMINEVO_FORCE_RELAY_REMOTE === 'true';
113
113
  /**
114
114
  * Inject the SERVER-computed `relayOnly` ICE override.
115
115
  *
@@ -181,7 +181,7 @@ function enrichHintsWithClientClass(input, _clientClass) {
181
181
  * a loopback socket peer is `remote`, not misread as LAN). The class is
182
182
  * ALWAYS computed and threaded so the broker's pairClass logging can
183
183
  * observe it — but FORCING remote viewers onto a relay↔relay path is
184
- * GATED OFF by default (`CAMSTACK_FORCE_RELAY_REMOTE`, see
184
+ * GATED OFF by default (`DOMINEVO_FORCE_RELAY_REMOTE`, see
185
185
  * `enrichInputWithRelayClass`).
186
186
  *
187
187
  * Why gated: the forced-relay MEDIA-FORWARD path was disabled on
@@ -256,7 +256,7 @@ function buildServerProviders(services) {
256
256
  integrations: wrap(() => (0, cap_providers_js_1.buildIntegrationsProvider)(services.addonRegistry, services.loggingService)),
257
257
  nodes: wrap(() => (0, cap_providers_js_1.buildNodesProvider)(services.agentRegistry, services.moleculer, services.addonRegistry, (0, cap_providers_js_1.createNodeRootPackageLookup)(services.moleculer, services.serverUpdateService), services.loggingService.createLogger('nodes'))),
258
258
  // server-management — runtime-updatable root package (phase 1: hub only).
259
- 'server-management': wrap(() => (0, server_management_provider_js_1.buildServerManagementProvider)(services.serverUpdateService, path.resolve(process.env['CAMSTACK_DATA'] ?? 'camstack-data'))),
259
+ 'server-management': wrap(() => (0, server_management_provider_js_1.buildServerManagementProvider)(services.serverUpdateService, path.resolve(process.env['DOMINEVO_DATA'] ?? 'dominevo-data'))),
260
260
  // cluster-update — backup, hub, agents, addons as one hub-side job.
261
261
  'cluster-update': wrap((ctx) => (0, cluster_update_provider_js_1.buildClusterUpdateProvider)(services.clusterUpdateService ?? null, ctx)),
262
262
  addons: wrap((ctx) => (0, cap_providers_js_1.buildAddonsProvider)(services.addonRegistry, services.addonPackageService, services.loggingService, services.moleculer, services.configService, ctx, services.agentRegistry)),
@@ -353,7 +353,7 @@ function buildCapabilityRouters(services, servedProcedures) {
353
353
  agentRegistry: services.agentRegistry,
354
354
  nodeClient: (nodeId) => (0, node_certificates_client_js_1.createNodeCertificatesClient)(services.moleculer, nodeId),
355
355
  nodeAddonIds: (nodeId) => services.moleculer.getNodeAddonIds(nodeId),
356
- hubDataDir: path.resolve(services.configService.get('server.dataPath') ?? 'camstack-data'),
356
+ hubDataDir: path.resolve(services.configService.get('server.dataPath') ?? 'dominevo-data'),
357
357
  log: services.loggingService.createLogger('certificates'),
358
358
  }),
359
359
  // preferences - the caller's own account preferences, synced across their devices (D894).
@@ -369,7 +369,7 @@ function buildCapabilityRouters(services, servedProcedures) {
369
369
  nodeClient: (nodeId) => (0, node_certificates_client_js_1.createNodeCertificatesClient)(services.moleculer, nodeId),
370
370
  log: services.loggingService.createLogger('agent-pairing'),
371
371
  // Same root as local-network's mDNS advertisement reads the hub id from (#494).
372
- hubDataDir: path.resolve(services.configService.get('server.dataPath') ?? 'camstack-data'),
372
+ hubDataDir: path.resolve(services.configService.get('server.dataPath') ?? 'dominevo-data'),
373
373
  }),
374
374
  auth: (0, auth_router_js_1.createAuthRouter)(services.authService, services.capabilityRegistry, services.moleculer, services.handoffCodeService, services.externalLinkIntents, services.nativeLink ?? null, {
375
375
  ...(services.authNetworkPolicy !== undefined
@@ -20,8 +20,8 @@ exports.stripShareHeaders = stripShareHeaders;
20
20
  * HUB sets after validation, and whatever the client sent under those names is
21
21
  * stripped first — the gate is the only writer.
22
22
  */
23
- exports.SHARE_KIND_HEADER = 'x-camstack-share-kind';
24
- exports.SHARE_DEVICES_HEADER = 'x-camstack-share-devices';
23
+ exports.SHARE_KIND_HEADER = 'x-dominevo-share-kind';
24
+ exports.SHARE_DEVICES_HEADER = 'x-dominevo-share-devices';
25
25
  /** The forwarded header set without any share header the client supplied. */
26
26
  function stripShareHeaders(headers) {
27
27
  const out = {};
@@ -22,7 +22,7 @@ const PAGE_SCRIPT = `(function () {
22
22
  var btn = document.getElementById('go');
23
23
  var msg = document.getElementById('msg');
24
24
  var S = function (k) { return document.body.getAttribute('data-s-' + k) || ''; };
25
- var APP_CALLBACK = /^camstack(\\.dev)?:\\/\\/auth-callback(\\?|$)/;
25
+ var APP_CALLBACK = /^dominevo(\\.dev)?:\\/\\/auth-callback(\\?|$)/;
26
26
  btn.addEventListener('click', function () {
27
27
  btn.disabled = true;
28
28
  msg.textContent = '';
@@ -39,7 +39,7 @@ const types_1 = require("@dominevo/types");
39
39
  * Pending "Sign in the Dominevo app as <user>?" confirmations (D858).
40
40
  *
41
41
  * A custom URL scheme can be claimed by any app on the phone, so a browser leg
42
- * that ends in `camstack://…?code=…` could hand a code to an app the user never
42
+ * that ends in `dominevo://…?code=…` could hand a code to an app the user never
43
43
  * meant to sign in (one that started the flow itself, with its own PKCE
44
44
  * challenge, while an IdP session was live). The code is therefore minted only
45
45
  * AFTER the signed-in person confirms, on a page the hub renders:
@@ -56,7 +56,7 @@ const crypto = __importStar(require("node:crypto"));
56
56
  exports.APP_CONFIRM_TTL_MS = 120_000;
57
57
  const MAX_PENDING = 500;
58
58
  /** The cookie that binds a confirmation to the browser that finished the ceremony. */
59
- exports.APP_CONFIRM_COOKIE = 'camstack_app_confirm';
59
+ exports.APP_CONFIRM_COOKIE = 'dominevo_app_confirm';
60
60
  const sha256 = (value) => crypto.createHash('sha256').update(value).digest('hex');
61
61
  function sameDigest(a, b) {
62
62
  const left = Buffer.from(a, 'utf8');
@@ -28,7 +28,7 @@ const PAGE_SCRIPT = `(function () {
28
28
  var msg = document.getElementById('msg');
29
29
  var S = function (k) { return document.body.getAttribute('data-s-' + k) || ''; };
30
30
  var KEYS = ['code_challenge', 'code_challenge_method', 'state', 'purpose', 'redirect', 'lang'];
31
- var APP_CALLBACK = /^camstack(\\.dev)?:\\/\\/auth-callback(\\?|$)/;
31
+ var APP_CALLBACK = /^dominevo(\\.dev)?:\\/\\/auth-callback(\\?|$)/;
32
32
  function fromB64u(s) {
33
33
  s = s.replace(/-/g, '+').replace(/_/g, '/');
34
34
  while (s.length % 4) s += '=';
@@ -8,7 +8,7 @@ exports.browserHandoffLocation = browserHandoffLocation;
8
8
  *
9
9
  * Pure, so the two rules that live in `main.ts` routes are specced here:
10
10
  * - an SSO return is an admin-ui path relative to the hub's mount — EXCEPT a
11
- * native app return (`camstack://auth-callback?…`), which is not a hub path
11
+ * native app return (`dominevo://auth-callback?…`), which is not a hub path
12
12
  * and must never be prefixed;
13
13
  * - a browser handoff lands on the account page by default, or on the admin
14
14
  * UI's root when the caller asked for `admin` — and on nothing else.
@@ -12,7 +12,7 @@ exports.sessionCookieIsSecure = sessionCookieIsSecure;
12
12
  /** Browser session cookie carrying the hub JWT. Set by POST /api/auth/session
13
13
  * after a tRPC login; read by the addon-route catch-all for `authenticated`
14
14
  * routes hit by a plain browser navigation. */
15
- exports.SESSION_COOKIE = 'camstack_session';
15
+ exports.SESSION_COOKIE = 'dominevo_session';
16
16
  function buildSessionCookie(token, ttlSec, opts = {}) {
17
17
  return {
18
18
  name: exports.SESSION_COOKIE,
@@ -39,7 +39,7 @@ function clearSessionCookie(opts = {}) {
39
39
  * Extract the session JWT from a raw `Cookie` request header. Plugin-free
40
40
  * (works on both Fastify requests and bare WS upgrade `IncomingMessage`s)
41
41
  * so callers don't depend on `@fastify/cookie` decoration order. Returns
42
- * `null` when the header is absent or carries no `camstack_session` pair.
42
+ * `null` when the header is absent or carries no `dominevo_session` pair.
43
43
  */
44
44
  function readSessionCookieFromHeader(header) {
45
45
  if (!header)
@@ -61,7 +61,7 @@ function registerSsoRoutes(fastify, deps) {
61
61
  return reply.status(outcome.status).send(outcome.body);
62
62
  reply.code(302);
63
63
  // Admin-ui paths are relative to the hub's mount (HA ingress etc.); a
64
- // native app return (`camstack://…`, D801) is not a hub path at all.
64
+ // native app return (`dominevo://…`, D801) is not a hub path at all.
65
65
  const mount = (0, spa_mount_js_1.parseForwardedPrefix)(request.headers['x-forwarded-prefix']) ?? '';
66
66
  reply.header('Location', (0, native_return_js_1.ssoReturnLocation)(mount, outcome.location));
67
67
  return reply.send('');
@@ -55,13 +55,13 @@ const storage_location_manager_1 = require("../core/storage/storage-location-man
55
55
  * at boot from the `tls/enabled` marker the setting writes. The old variable
56
56
  * is ignored, and named at boot.
57
57
  */
58
- const RETIRED_TLS_ENABLED_ENV = 'CAMSTACK_TLS_ENABLED';
58
+ const RETIRED_TLS_ENABLED_ENV = 'DOMINEVO_TLS_ENABLED';
59
59
  /**
60
60
  * Env variables that once set the node's certificate. Ignored since D726:
61
61
  * the admin UI (Network → Local access) is the one way to set it. Still
62
62
  * named here so a node that has them set is told, not silently re-keyed.
63
63
  */
64
- const IGNORED_TLS_CERT_ENV = ['CAMSTACK_TLS_CERT', 'CAMSTACK_TLS_KEY'];
64
+ const IGNORED_TLS_CERT_ENV = ['DOMINEVO_TLS_CERT', 'DOMINEVO_TLS_KEY'];
65
65
  // ---------------------------------------------------------------------------
66
66
  // Retired env sources
67
67
  // ---------------------------------------------------------------------------
@@ -84,7 +84,7 @@ function ignoredTlsCertSources(env) {
84
84
  // loadBootstrapConfig
85
85
  // ---------------------------------------------------------------------------
86
86
  /**
87
- * The kernel's bootstrap loader (`CAMSTACK_PORT` / `HOST` /
87
+ * The kernel's bootstrap loader (`DOMINEVO_PORT` / `HOST` /
88
88
  * `DATA` over built-in defaults) — the ONE loader — plus a boot warning for the retired HTTPS
89
89
  * variables still set, so a container template that carries one is told.
90
90
  */
@@ -111,7 +111,7 @@ class PostBootService {
111
111
  underDesktopShell: (process.env[index_js_1.ELECTRON_APP_VERSION_ENV] ?? '').length > 0,
112
112
  bus: this.eventBus,
113
113
  sourceId: 'system',
114
- nodeId: process.env['CAMSTACK_NODE_ID'] ?? 'hub',
114
+ nodeId: process.env['DOMINEVO_NODE_ID'] ?? 'hub',
115
115
  logger: this.logger,
116
116
  });
117
117
  }
@@ -129,7 +129,7 @@ class PostBootService {
129
129
  const payload = {
130
130
  kind: marker.kind,
131
131
  requestedAt: marker.requestedAt,
132
- nodeId: process.env['CAMSTACK_NODE_ID'] ?? 'hub',
132
+ nodeId: process.env['DOMINEVO_NODE_ID'] ?? 'hub',
133
133
  ...(marker.packageName !== undefined ? { packageName: marker.packageName } : {}),
134
134
  ...(marker.fromVersion !== undefined ? { fromVersion: marker.fromVersion } : {}),
135
135
  ...(marker.toVersion !== undefined ? { toVersion: marker.toVersion } : {}),
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * The hub's address is not an environment variable.
4
4
  *
5
- * `CAMSTACK_HUB_PUBLIC_URL` (and its older alias `CAMSTACK_PUBLIC_ORIGIN`)
5
+ * `DOMINEVO_HUB_PUBLIC_URL` (and its older alias `DOMINEVO_PUBLIC_ORIGIN`)
6
6
  * restated something the hub already knows: its interfaces, its listen port,
7
7
  * the operator's allowlist, its tunnel and mesh names — the `local-network`
8
8
  * capability, shown and edited on the admin Network page. A hub without the
@@ -20,8 +20,8 @@ exports.RETIRED_HUB_ADDRESS_ENVS = void 0;
20
20
  exports.dropRetiredHubAddressEnv = dropRetiredHubAddressEnv;
21
21
  /** Variables that used to name the hub's address; all ignored now. */
22
22
  exports.RETIRED_HUB_ADDRESS_ENVS = [
23
- 'CAMSTACK_HUB_PUBLIC_URL',
24
- 'CAMSTACK_PUBLIC_ORIGIN',
23
+ 'DOMINEVO_HUB_PUBLIC_URL',
24
+ 'DOMINEVO_PUBLIC_ORIGIN',
25
25
  ];
26
26
  /**
27
27
  * Remove every retired address variable from `env` and return the warning to
@@ -13,7 +13,7 @@
13
13
  * strips the `@dominevo/*` symlinks, so `require.resolve` yields an empty list
14
14
  * at launcher import time). Two derivations of the same list is exactly how
15
15
  * `@dominevo/addon-agent-ui` ended up installed on the hub: the installer's
16
- * copy honoured `camstack.agentOnlyBootstrapAddons`, this one did not, and the
16
+ * copy honoured `dominevo.agentOnlyBootstrapAddons`, this one did not, and the
17
17
  * hub is the side that actually boots through here.
18
18
  */
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -24,12 +24,12 @@ exports.selectHubBootstrapPackages = selectHubBootstrapPackages;
24
24
  * infrastructure builtins — storage-provider / settings / logging — without
25
25
  * which boot aborts).
26
26
  *
27
- * `camstack.agentOnlyBootstrapAddons` is subtracted. Those addons are declared
27
+ * `dominevo.agentOnlyBootstrapAddons` is subtracted. Those addons are declared
28
28
  * as runtime dependencies so the published `@dominevo/server` closure CARRIES
29
29
  * them for agent-role nodes to seed, but they are `execution.placement:
30
30
  * 'agent-only'` and the hub must never install them.
31
31
  */
32
32
  function selectHubBootstrapPackages(pkg) {
33
- const agentOnly = new Set(pkg.camstack?.agentOnlyBootstrapAddons ?? []);
33
+ const agentOnly = new Set(pkg.dominevo?.agentOnlyBootstrapAddons ?? []);
34
34
  return Object.keys(pkg.dependencies ?? {}).filter((name) => !agentOnly.has(name) && (name.startsWith('@dominevo/addon-') || name === '@dominevo/server'));
35
35
  }
@@ -61,19 +61,19 @@
61
61
  "version": "0.22.9",
62
62
  "reach": "closure-postinstall",
63
63
  "markers": {
64
- "lib/ice/src/ice.js": ["camstack: relay-only SDP under forceTurn"],
64
+ "lib/ice/src/ice.js": ["dominevo: relay-only SDP under forceTurn"],
65
65
  "lib/index.mjs": [
66
- "camstack: relay-only SDP under forceTurn",
66
+ "dominevo: relay-only SDP under forceTurn",
67
67
  "RTP_HISTORY_SIZE = 4096",
68
- "camstack: D868 — SRTP output arena"
68
+ "dominevo: D868 — SRTP output arena"
69
69
  ],
70
70
  "lib/webrtc/src/media/rtpSender.js": ["RTP_HISTORY_SIZE = 4096"],
71
- "lib/rtp/src/rtp/rtp.js": ["camstack: D868 — SRTP output arena"],
71
+ "lib/rtp/src/rtp/rtp.js": ["dominevo: D868 — SRTP output arena"],
72
72
  "lib/rtp/src/srtp/cipher/ctr.js": [
73
- "camstack: D868 — header, ciphertext and tag in ONE arena slice"
73
+ "dominevo: D868 — header, ciphertext and tag in ONE arena slice"
74
74
  ],
75
75
  "lib/rtp/src/srtp/cipher/gcm.js": [
76
- "camstack: D868 — header, ciphertext and tag in ONE arena slice"
76
+ "dominevo: D868 — header, ciphertext and tag in ONE arena slice"
77
77
  ]
78
78
  },
79
79
  "declaredBy": [
@@ -113,7 +113,7 @@
113
113
  "reach": "dev-only",
114
114
  "why": [
115
115
  "`node-turn` is a devDependency of exactly one workspace package,",
116
- "`@dominevo/werift-turn-fix` — `private: true`, `camstack: false`, no",
116
+ "`@dominevo/werift-turn-fix` — `private: true`, `dominevo: false`, no",
117
117
  "addons, never published and never deployed. It exists to stand up a real",
118
118
  "TURN server for the relay specs. Nothing in production loads it, so the",
119
119
  "patch has nothing to reach.",