@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
@@ -36,8 +36,8 @@ class AddonSearchService {
36
36
  if (this.cache && Date.now() - this.cache.timestamp < this.CACHE_TTL_MS) {
37
37
  return this.cache.results;
38
38
  }
39
- // npm registry v1 search: packages with BOTH "camstack" and "addon" keywords
40
- const url = 'https://registry.npmjs.org/-/v1/search?text=keywords:camstack+keywords:addon&size=250';
39
+ // npm registry v1 search: packages with BOTH "dominevo" and "addon" keywords
40
+ const url = 'https://registry.npmjs.org/-/v1/search?text=keywords:dominevo+keywords:addon&size=250';
41
41
  try {
42
42
  const response = await fetch(url, {
43
43
  headers: { Accept: 'application/json' },
@@ -59,8 +59,8 @@ function reportHubAddonSupport(input) {
59
59
  }
60
60
  /** The judgement's facts for THIS hub, read from disk: the running server and the addons dir. */
61
61
  function readHubStaleGateContext() {
62
- const dataDir = path.resolve(process.env.CAMSTACK_DATA ?? 'camstack-data');
63
- const addonsDir = process.env.CAMSTACK_ADDONS_DIR ?? path.resolve(dataDir, 'addons');
62
+ const dataDir = path.resolve(process.env.DOMINEVO_DATA ?? 'dominevo-data');
63
+ const addonsDir = process.env.DOMINEVO_ADDONS_DIR ?? path.resolve(dataDir, 'addons');
64
64
  return {
65
65
  serverVersion: (0, addon_requirements_js_1.readRunningServerVersion)(),
66
66
  serverRequiresAddons: (0, addon_requirements_js_1.readRunningServerAddonMinimums)(),
@@ -64,7 +64,7 @@ function isPackedChangelogPath(entry) {
64
64
  * `CHANGELOG.md`. Throws when `tar` itself fails.
65
65
  */
66
66
  async function readPackedChangelog(tgz) {
67
- const tmpFile = path.join(os.tmpdir(), `camstack-docs-${(0, node_crypto_1.randomUUID)()}.tgz`);
67
+ const tmpFile = path.join(os.tmpdir(), `dominevo-docs-${(0, node_crypto_1.randomUUID)()}.tgz`);
68
68
  fs.writeFileSync(tmpFile, tgz);
69
69
  try {
70
70
  const listed = await execFileAsync('tar', ['-tzf', tmpFile], {
@@ -70,8 +70,8 @@ class AddonBridgeService {
70
70
  // This ensures install/uninstall works even before onModuleInit completes.
71
71
  try {
72
72
  const kernel = require('@dominevo/server/system');
73
- const dataDir = process.env.CAMSTACK_DATA ?? 'camstack-data';
74
- const addonsDir = process.env.CAMSTACK_ADDONS_DIR ?? path.resolve(dataDir, 'addons');
73
+ const dataDir = process.env.DOMINEVO_DATA ?? 'dominevo-data';
74
+ const addonsDir = process.env.DOMINEVO_ADDONS_DIR ?? path.resolve(dataDir, 'addons');
75
75
  this.installer = new kernel.AddonInstaller({ addonsDir });
76
76
  kernel.ensureDir(addonsDir);
77
77
  }
@@ -85,8 +85,8 @@ class AddonBridgeService {
85
85
  try {
86
86
  const kernel = await Promise.resolve().then(() => __importStar(require('@dominevo/server/system')));
87
87
  this.loader = new kernel.AddonLoader(this.logger.child('AddonLoader'));
88
- const dataDir = process.env.CAMSTACK_DATA ?? 'camstack-data';
89
- const addonsDir = process.env.CAMSTACK_ADDONS_DIR ?? path.resolve(dataDir, 'addons');
88
+ const dataDir = process.env.DOMINEVO_DATA ?? 'dominevo-data';
89
+ const addonsDir = process.env.DOMINEVO_ADDONS_DIR ?? path.resolve(dataDir, 'addons');
90
90
  await this.loader.loadFromDirectory(addonsDir);
91
91
  this.available = true;
92
92
  this.logger.info('Addon bridge initialized', {
@@ -132,8 +132,8 @@ class AddonBridgeService {
132
132
  }
133
133
  const kernel = await Promise.resolve().then(() => __importStar(require('@dominevo/server/system')));
134
134
  this.loader = new kernel.AddonLoader(this.logger.child('AddonLoader'));
135
- const dataDir = process.env.CAMSTACK_DATA ?? 'camstack-data';
136
- const addonsDir = process.env.CAMSTACK_ADDONS_DIR ?? path.resolve(dataDir, 'addons');
135
+ const dataDir = process.env.DOMINEVO_DATA ?? 'dominevo-data';
136
+ const addonsDir = process.env.DOMINEVO_ADDONS_DIR ?? path.resolve(dataDir, 'addons');
137
137
  await this.loader.loadFromDirectory(addonsDir);
138
138
  this.logger.info('Reloaded', { meta: { count: this.loader.listAddons().length } });
139
139
  }
@@ -100,7 +100,7 @@ class AddonPagesService {
100
100
  }
101
101
  /** Resolve the addons directory from config */
102
102
  resolveAddonsDir() {
103
- const dataPath = this.configService.get('server.dataPath') ?? 'camstack-data';
103
+ const dataPath = this.configService.get('server.dataPath') ?? 'dominevo-data';
104
104
  return path.resolve(dataPath, 'addons');
105
105
  }
106
106
  }
@@ -274,7 +274,7 @@ class AgentRegistryService {
274
274
  trackedVersionCache = new Map();
275
275
  /** Reads the dry-run switch per round, so flipping the setting needs no restart. */
276
276
  convergenceDryRun = () => true;
277
- /** How a delivery's `camstack.requires` is read (D989); unwired, every delivery passes. */
277
+ /** How a delivery's `dominevo.requires` is read (D989); unwired, every delivery passes. */
278
278
  deliveryRequiresOf = null;
279
279
  /** The server version each node last reported on `$agent.status`; `null` = reported none. */
280
280
  nodeServerVersions = new Map();
@@ -5,7 +5,7 @@ exports.splitByNodeRequirements = splitByNodeRequirements;
5
5
  * Which planned deliveries a node's server can actually run (D989).
6
6
  *
7
7
  * The hub delivers addon versions to an agent; a version that declares
8
- * `camstack.requires.server` above what that agent runs would be installed
8
+ * `dominevo.requires.server` above what that agent runs would be installed
9
9
  * onto a server that cannot host it. Such a delivery is HELD, with the
10
10
  * versions on both sides named, and goes through once the node's server has
11
11
  * been updated. The same holds for `requires.addons`: a version that needs an
@@ -9,13 +9,13 @@
9
9
  * and `/.well-known/assetlinks.json`. Modelled on the Zentik notifier, which
10
10
  * runs this exact pair in production.
11
11
  *
12
- * The AASA scopes the app to the viewer mount only (`/viewer/camstack/*`):
12
+ * The AASA scopes the app to the viewer mount only (`/viewer/dominevo/*`):
13
13
  * the hub root also serves the admin UI and data planes, and a tap on those
14
14
  * must stay in the browser.
15
15
  *
16
16
  * Android's verification additionally needs the signing-cert SHA-256
17
17
  * fingerprints, which live in the EAS keystore and cannot be derived here —
18
- * they arrive via `CAMSTACK_ANDROID_CERT_SHA256` (comma-separated). Empty is
18
+ * they arrive via `DOMINEVO_ANDROID_CERT_SHA256` (comma-separated). Empty is
19
19
  * ACCEPTED and produces a valid file that fails auto-verification (the OS
20
20
  * shows a disambiguation dialog): same trade-off the Zentik file ships with.
21
21
  */
@@ -24,14 +24,12 @@ exports.buildAppLinkFiles = buildAppLinkFiles;
24
24
  exports.parseCertFingerprints = parseCertFingerprints;
25
25
  /** Apple team + bundle ids, mirrored from the viewer's app.config.ts. */
26
26
  const APPLE_TEAM_ID = 'C3F24V5NS5';
27
- const BUNDLE_ID = 'com.apocaliss92.camstack';
28
- const BUNDLE_ID_DEV = 'com.apocaliss92.camstack.dev';
29
- /** The Dominevo viewer app (store id `app.dominevo.viewer`); the camstack ids above stay for the installed previous app. */
30
- const BUNDLE_ID_DOMINEVO = 'app.dominevo.viewer';
27
+ const BUNDLE_ID = 'app.dominevo.viewer';
28
+ const BUNDLE_ID_DEV = 'app.dominevo.viewer.dev';
31
29
  /** The only path family the app claims on this domain. */
32
- const VIEWER_COMPONENT = '/viewer/camstack/*';
30
+ const VIEWER_COMPONENT = '/viewer/dominevo/*';
33
31
  function buildAppLinkFiles(androidCertSha256) {
34
- const appIds = [BUNDLE_ID_DOMINEVO, BUNDLE_ID, BUNDLE_ID_DEV].map((id) => `${APPLE_TEAM_ID}.${id}`);
32
+ const appIds = [BUNDLE_ID, BUNDLE_ID_DEV].map((id) => `${APPLE_TEAM_ID}.${id}`);
35
33
  return {
36
34
  appleAppSiteAssociation: {
37
35
  applinks: {
@@ -47,7 +45,7 @@ function buildAppLinkFiles(androidCertSha256) {
47
45
  },
48
46
  webcredentials: { apps: appIds },
49
47
  },
50
- assetLinks: [BUNDLE_ID_DOMINEVO, BUNDLE_ID, BUNDLE_ID_DEV].map((pkg) => ({
48
+ assetLinks: [BUNDLE_ID, BUNDLE_ID_DEV].map((pkg) => ({
51
49
  relation: ['delegate_permission/common.handle_all_urls'],
52
50
  target: {
53
51
  namespace: 'android_app',
@@ -43,7 +43,7 @@ const types_1 = require("@dominevo/types");
43
43
  * Flow: an AUTHENTICATED browser session (the admin-ui login page, after
44
44
  * any successful login leg) mints a short-lived single-use code bound to
45
45
  * its user, then bounces to the app's custom-scheme callback
46
- * (`camstack://auth-callback?code=…`). The app redeems the code over the
46
+ * (`dominevo://auth-callback?code=…`). The app redeems the code over the
47
47
  * PUBLIC `auth.redeemHandoffCode` procedure and receives a real session
48
48
  * JWT minted through the same `mintSessionForUserId` tail every login
49
49
  * leg uses.
@@ -183,7 +183,7 @@ class MoleculerService {
183
183
  // a developer's dev:full is up on the default 6000 port, an
184
184
  // isolated test hub can't reuse it. Production keeps the default so
185
185
  // agent-to-hub connections keep working without per-deploy config.
186
- const tcpPortEnv = process.env['CAMSTACK_HUB_TCP_PORT'];
186
+ const tcpPortEnv = process.env['DOMINEVO_HUB_TCP_PORT'];
187
187
  const tcpPort = tcpPortEnv ? Number(tcpPortEnv) : undefined;
188
188
  // Two-step cast: createBroker's dist `.d.ts` chains through
189
189
  // moleculer→eventemitter2 whose types are unresolvable at this
@@ -282,10 +282,10 @@ class MoleculerService {
282
282
  // Forked addon-runner children must root their storage (addons-data,
283
283
  // the sqlite settings DB) under the SAME data path as the hub's main
284
284
  // process. The configured key is `server.dataPath` (populated from the
285
- // CAMSTACK_DATA env var); reading the non-existent `dataDir` key here
286
- // made every child silently fall back to the relative `camstack-data`,
285
+ // DOMINEVO_DATA env var); reading the non-existent `dataDir` key here
286
+ // made every child silently fall back to the relative `dominevo-data`,
287
287
  // so the DB escaped the mounted data dir in container deployments.
288
- const dataDir = this.config.get('server.dataPath') ?? 'camstack-data';
288
+ const dataDir = this.config.get('server.dataPath') ?? 'dominevo-data';
289
289
  // UDS local transport: the hub hosts a LocalChildRegistry so its
290
290
  // forked addon-runners route cap calls directly over a Unix-domain
291
291
  // socket instead of through Moleculer. The broker stays available as
@@ -670,7 +670,7 @@ class MoleculerService {
670
670
  // Register the $event-bus service BEFORE broker.start(). Moleculer
671
671
  // announces service subscriptions to remote nodes only during discovery
672
672
  // handshake, not dynamically after post-start `createService()`.
673
- // Without this, cross-node broadcasts (camstack.evt.<category>) would
673
+ // Without this, cross-node broadcasts (dominevo.evt.<category>) would
674
674
  // arrive unreliably for the first ~10s after each node joins.
675
675
  (0, system_1.registerEventBusService)(this.broker);
676
676
  // Register the hub-authoritative `$readiness.getSnapshot` service
@@ -734,7 +734,7 @@ class MoleculerService {
734
734
  });
735
735
  // Wire the hub's EventBusService into the broker so hub-addon
736
736
  // emissions fan out to every remote process via
737
- // `camstack.evt.<category>`, and incoming $event-bus events land on
737
+ // `dominevo.evt.<category>`, and incoming $event-bus events land on
738
738
  // the same local bus that subscribers already use. The
739
739
  // EventBusService's `emit` override handles the "only broadcast
740
740
  // locally-originated events" guard, and id-based dedup absorbs the
@@ -3,7 +3,7 @@
3
3
  * What the About line shows: the product release (image / desktop app) and
4
4
  * the running `@dominevo/server` package. They are different lines (D943).
5
5
  *
6
- * The product version is declared by the shell — `CAMSTACK_PRODUCT_VERSION`,
6
+ * The product version is declared by the shell — `DOMINEVO_PRODUCT_VERSION`,
7
7
  * set by the image and by the desktop app. A dev workspace leaves it unset;
8
8
  * that is absence, not a failure. The server version is the package this
9
9
  * process loaded.
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.PRODUCT_VERSION_ENV = void 0;
13
13
  exports.blankToNull = blankToNull;
14
14
  exports.releaseIdentityFrom = releaseIdentityFrom;
15
- exports.PRODUCT_VERSION_ENV = 'CAMSTACK_PRODUCT_VERSION';
15
+ exports.PRODUCT_VERSION_ENV = 'DOMINEVO_PRODUCT_VERSION';
16
16
  function blankToNull(value) {
17
17
  const trimmed = value?.trim() ?? '';
18
18
  return trimmed.length > 0 ? trimmed : null;
@@ -41,8 +41,8 @@ exports.ServerUpdateService = void 0;
41
41
  * The single-copy stage/apply engine — stage a closure into `.staging-*`,
42
42
  * arm the pending-root-swap marker, restart — lives in the shared core so the
43
43
  * hub and the agent can never drift. This class only binds the hub's
44
- * parameters: the `@dominevo/server` root spec, the `CAMSTACK_SERVER_*` env
45
- * markers, the `CAMSTACK_DATA` data-dir default and the running package.json.
44
+ * parameters: the `@dominevo/server` root spec, the `DOMINEVO_SERVER_*` env
45
+ * markers, the `DOMINEVO_DATA` data-dir default and the running package.json.
46
46
  *
47
47
  * The starter (server/backend/src/starter.ts → shared `runNodeStarter`) owns
48
48
  * the OTHER half: applying the staged swap of the single `current/` copy at
@@ -64,9 +64,9 @@ class ServerUpdateService extends index_js_1.RootUpdateService {
64
64
  nodeId;
65
65
  constructor(options) {
66
66
  const dataDir = path.resolve(options.dataDir ??
67
- options.env?.['CAMSTACK_DATA'] ??
68
- process.env['CAMSTACK_DATA'] ??
69
- 'camstack-data');
67
+ options.env?.['DOMINEVO_DATA'] ??
68
+ process.env['DOMINEVO_DATA'] ??
69
+ 'dominevo-data');
70
70
  // Resolved before `super` so the base class can stamp `tags.nodeId` on
71
71
  // every line it emits — `this.nodeId` below is the same value, kept for
72
72
  // the availability emitter.
@@ -75,9 +75,9 @@ class ServerUpdateService extends index_js_1.RootUpdateService {
75
75
  spec: index_js_1.HUB_ROOT_SPEC,
76
76
  nodeId,
77
77
  envNames: {
78
- bootMode: 'CAMSTACK_SERVER_BOOT_MODE',
79
- activeVersion: 'CAMSTACK_SERVER_ACTIVE_VERSION',
80
- seedDir: 'CAMSTACK_SEED_SERVER_DIR',
78
+ bootMode: 'DOMINEVO_SERVER_BOOT_MODE',
79
+ activeVersion: 'DOMINEVO_SERVER_ACTIVE_VERSION',
80
+ seedDir: 'DOMINEVO_SEED_SERVER_DIR',
81
81
  },
82
82
  logger: options.logger,
83
83
  restartServer: options.restartServer,
@@ -116,7 +116,7 @@ class ServerUpdateService extends index_js_1.RootUpdateService {
116
116
  return;
117
117
  (0, node_update_announcement_js_1.emitNodeUpdateAnnouncement)(bus, 'server-update-service',
118
118
  // The node, as `AddonPackageService.restartServer` names it (D723).
119
- options.env?.['CAMSTACK_NODE_ID'] ?? process.env['CAMSTACK_NODE_ID'] ?? nodeId, (0, node_update_announcement_js_1.buildNodeUpdateAnnouncement)({
119
+ options.env?.['DOMINEVO_NODE_ID'] ?? process.env['DOMINEVO_NODE_ID'] ?? nodeId, (0, node_update_announcement_js_1.buildNodeUpdateAnnouncement)({
120
120
  what: 'desktop-shell',
121
121
  fromVersion: info.fromVersion,
122
122
  ...(info.toVersion !== null ? { toVersion: info.toVersion } : {}),
@@ -79,7 +79,7 @@ function emitNodeUpdateAnnouncement(bus, sourceId, nodeId, payload) {
79
79
  });
80
80
  }
81
81
  /**
82
- * Compare the product version this boot runs (`CAMSTACK_PRODUCT_VERSION`, set
82
+ * Compare the product version this boot runs (`DOMINEVO_PRODUCT_VERSION`, set
83
83
  * by the image) with the one the previous boot recorded, then record this one.
84
84
  * The record is ONE small file in the data dir: the image is replaced under the
85
85
  * node, so the data dir is the only thing that remembers the old one.
@@ -7,7 +7,7 @@ exports.WrapperUpdateChecker = exports.WRAPPER_PACKAGE_NAME = void 0;
7
7
  * what makes "one shell per node" the dedup slot. Never rendered: the
8
8
  * notification body is chosen from the wrapper KIND.
9
9
  */
10
- exports.WRAPPER_PACKAGE_NAME = 'camstack-wrapper';
10
+ exports.WRAPPER_PACKAGE_NAME = 'dominevo-wrapper';
11
11
  class WrapperUpdateChecker {
12
12
  emitter;
13
13
  logger;
@@ -52,7 +52,7 @@ function frameworkNodePaths(frameworkDir, exists) {
52
52
  /**
53
53
  * Whether the starter's active single copy carries the framework, i.e. its
54
54
  * `@dominevo/server` ships `./system` (D989). The launcher points
55
- * CAMSTACK_FRAMEWORK_DIR (and so NODE_PATH and the runners' resolver) at the
55
+ * DOMINEVO_FRAMEWORK_DIR (and so NODE_PATH and the runners' resolver) at the
56
56
  * active root only when this holds; a check on the retired standalone
57
57
  * package left the hub's CJS addon loads with no framework on their path.
58
58
  */
@@ -21,7 +21,7 @@ function firstHeader(value) {
21
21
  function requestLangInputFrom(headers, query, connectionLang) {
22
22
  const acceptLanguage = headers['accept-language'];
23
23
  return {
24
- explicitLang: firstHeader(headers['x-camstack-lang']) ?? query?.['lang'] ?? connectionLang,
24
+ explicitLang: firstHeader(headers['x-dominevo-lang']) ?? query?.['lang'] ?? connectionLang,
25
25
  ...(acceptLanguage !== undefined ? { acceptLanguage } : {}),
26
26
  };
27
27
  }
@@ -74,7 +74,7 @@ exports.runLaunchCli = runLaunchCli;
74
74
  * the hub (`serverManagement.setLaunchOverrides`) and persisted on the node.
75
75
  * The same file carries `rssBudgetMb`, hub-main's RSS budget, read by the
76
76
  * running hub (not by this launcher) and winning over its env variable.
77
- * - `CAMSTACK_HUB_HEAP_MB` / `CAMSTACK_AGENT_HEAP_MB` are RETIRED: never
77
+ * - `DOMINEVO_HUB_HEAP_MB` / `DOMINEVO_AGENT_HEAP_MB` are RETIRED: never
78
78
  * read for a value, named in a `warn` line when set.
79
79
  * - `computed` — AGENT only: clamp(min(RAM, cgroup limit) / 4, 1536, 4096) MB.
80
80
  * V8's own quarter-of-RAM rule with a floor above every measured agent RSS
@@ -90,9 +90,9 @@ const os = __importStar(require("node:os"));
90
90
  const path = __importStar(require("node:path"));
91
91
  exports.LAUNCH_OVERRIDES_FILE = 'launch-overrides.json';
92
92
  /** Env var carrying {@link CeilingSource} to the node so its heartbeat can say who chose. */
93
- exports.HEAP_CEILING_SOURCE_ENV = 'CAMSTACK_HEAP_CEILING_SOURCE';
93
+ exports.HEAP_CEILING_SOURCE_ENV = 'DOMINEVO_HEAP_CEILING_SOURCE';
94
94
  /** The retired heap variables: ignored, and named at launch when set. */
95
- exports.RETIRED_HEAP_ENV = ['CAMSTACK_HUB_HEAP_MB', 'CAMSTACK_AGENT_HEAP_MB'];
95
+ exports.RETIRED_HEAP_ENV = ['DOMINEVO_HUB_HEAP_MB', 'DOMINEVO_AGENT_HEAP_MB'];
96
96
  exports.AGENT_HEAP_FLOOR_MB = 1536;
97
97
  exports.AGENT_HEAP_CAP_MB = 4096;
98
98
  /** An override outside this range is ignored with a warning, never applied. */
@@ -171,7 +171,7 @@ const realFs = {
171
171
  };
172
172
  /** The data dir the launcher (and the hub's own boot) read the overrides from. */
173
173
  function launchDataDir(env) {
174
- return path.resolve(env['CAMSTACK_DATA'] ?? 'camstack-data');
174
+ return path.resolve(env['DOMINEVO_DATA'] ?? 'dominevo-data');
175
175
  }
176
176
  function overridesPath(dataDir) {
177
177
  return path.join(dataDir, exports.LAUNCH_OVERRIDES_FILE);
package/dist/launcher.js CHANGED
@@ -45,7 +45,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
45
45
  *
46
46
  * Load-order invariant: @dominevo/server/system is imported DYNAMICALLY inside
47
47
  * launch() AFTER the active framework dir is resolved (the single-copy
48
- * collapse points CAMSTACK_FRAMEWORK_DIR at CAMSTACK_SERVER_ACTIVE_ROOT in
48
+ * collapse points DOMINEVO_FRAMEWORK_DIR at DOMINEVO_SERVER_ACTIVE_ROOT in
49
49
  * data-root mode, or the baked seed otherwise). NEVER add a top-level static
50
50
  * import of @dominevo/server/system here — that would pin the resolver before the
51
51
  * framework dir + NODE_PATH are set up. Framework/cap updates ship via the
@@ -64,11 +64,11 @@ const package_inventory_js_1 = require("./package-inventory.js");
64
64
  const pending_restore_js_1 = require("./pending-restore.js");
65
65
  const pre_migration_restore_js_1 = require("./pre-migration-restore.js");
66
66
  /** Resolve the data directory from env or default */
67
- const DATA_DIR = process.env['CAMSTACK_DATA'] ?? 'camstack-data';
67
+ const DATA_DIR = process.env['DOMINEVO_DATA'] ?? 'dominevo-data';
68
68
  /**
69
69
  * Derive the bootstrap package list from THIS server's own package.json — the
70
70
  * `@dominevo/addon-*` deps plus `@dominevo/server/system` (which ships the required
71
- * infrastructure builtins), MINUS `camstack.agentOnlyBootstrapAddons`. Read by
71
+ * infrastructure builtins), MINUS `dominevo.agentOnlyBootstrapAddons`. Read by
72
72
  * absolute path (the package.json sits one level up from this launcher's dist
73
73
  * dir), so it works in the slim image where the `@dominevo/*` node_modules
74
74
  * symlinks are stripped. Mirrors `AddonInstaller.deriveBootstrapList`, but
@@ -145,19 +145,19 @@ async function launch() {
145
145
  // every @dominevo/* (system + addon-*) from there via the standard
146
146
  // walk-up — NODE_PATH only covers CJS, which is why forked ESM addon
147
147
  // runners couldn't resolve `@dominevo/types` from a plain `addons/` dir.
148
- // `CAMSTACK_ADDONS_DIR` lets the Docker/Electron images point at their
148
+ // `DOMINEVO_ADDONS_DIR` lets the Docker/Electron images point at their
149
149
  // node_modules path (e.g. /data/node_modules); dev keeps `<dataDir>/addons`.
150
- const addonsDir = process.env['CAMSTACK_ADDONS_DIR'] ?? path.resolve(dataDir, 'addons');
150
+ const addonsDir = process.env['DOMINEVO_ADDONS_DIR'] ?? path.resolve(dataDir, 'addons');
151
151
  // ── Single-copy framework dir (2026-07-18 collapse) ────────────────────────
152
152
  // In data-root mode the ACTIVE single copy (set by the starter as
153
- // CAMSTACK_SERVER_ACTIVE_ROOT) IS the framework — point the forked
153
+ // DOMINEVO_SERVER_ACTIVE_ROOT) IS the framework — point the forked
154
154
  // addon-runners' resolver + NODE_PATH at it instead of the (now-inert)
155
155
  // static /data/framework copy. Forked children inherit this via process.env,
156
- // and the NODE_PATH extension below reads CAMSTACK_FRAMEWORK_DIR. No-op in
156
+ // and the NODE_PATH extension below reads DOMINEVO_FRAMEWORK_DIR. No-op in
157
157
  // baked mode (activeRoot unset → keep the image's /data/framework).
158
- const activeRoot = process.env['CAMSTACK_SERVER_ACTIVE_ROOT'];
158
+ const activeRoot = process.env['DOMINEVO_SERVER_ACTIVE_ROOT'];
159
159
  if (activeRoot && (0, framework_nodepath_js_1.isActiveFrameworkRoot)(activeRoot, fs.existsSync)) {
160
- process.env['CAMSTACK_FRAMEWORK_DIR'] = activeRoot;
160
+ process.env['DOMINEVO_FRAMEWORK_DIR'] = activeRoot;
161
161
  console.log(`[launcher] Single-copy framework dir → ${activeRoot}`);
162
162
  }
163
163
  // ──────────────────────────────────────────────────────────────────────────
@@ -194,12 +194,12 @@ async function launch() {
194
194
  else {
195
195
  console.warn('[launcher] quarantineAddonResidue unavailable — skipping residue quarantine');
196
196
  }
197
- // Provisioning source: CAMSTACK_BUNDLED_ADDONS_DIR — set by Electron-packaged
197
+ // Provisioning source: DOMINEVO_BUNDLED_ADDONS_DIR — set by Electron-packaged
198
198
  // builds to the closure's own scope dir, <resourcesPath>/node_modules/@dominevo
199
199
  // — seeds first launch from that closure (D45). Otherwise addons come from
200
200
  // npm; a workspace build reaches a node only through `dominevo deploy`.
201
201
  console.log('[launcher] Checking required packages...');
202
- const bundledDir = process.env['CAMSTACK_BUNDLED_ADDONS_DIR'];
202
+ const bundledDir = process.env['DOMINEVO_BUNDLED_ADDONS_DIR'];
203
203
  let bundledAddonsDir;
204
204
  if (bundledDir && fs.existsSync(bundledDir)) {
205
205
  bundledAddonsDir = bundledDir;
@@ -228,7 +228,7 @@ async function launch() {
228
228
  // The server's own package.json is always readable next to this launcher.
229
229
  // Role-aware default bootstrap set: the hub installs every addon-* dep of
230
230
  // its own package.json; the agent installs ONLY the agent bootstrap subset
231
- // (AGENT_PACKAGES, derived from `camstack.agentBootstrapAddons`).
231
+ // (AGENT_PACKAGES, derived from `dominevo.agentBootstrapAddons`).
232
232
  const roleDefaultBootstrap = role === 'agent' ? AddonInstaller.AGENT_PACKAGES : deriveBootstrapFromSelf();
233
233
  const bootstrapRequired = roleDefaultBootstrap;
234
234
  console.log(`[launcher] bootstrap (${role}): ${bootstrapRequired.length} required package(s)`);
@@ -404,7 +404,7 @@ async function launch() {
404
404
  // etc); the server-local node_modules has direct deps. Listing
405
405
  // both covers every realistic resolution.
406
406
  const workspaceRootNodeModules = path.resolve(serverDir, '..', '..', 'node_modules');
407
- const frameworkPaths = (0, framework_nodepath_js_1.frameworkNodePaths)(process.env['CAMSTACK_FRAMEWORK_DIR'], fs.existsSync);
407
+ const frameworkPaths = (0, framework_nodepath_js_1.frameworkNodePaths)(process.env['DOMINEVO_FRAMEWORK_DIR'], fs.existsSync);
408
408
  const extraNodePaths = [...frameworkPaths, nodeModulesDir, workspaceRootNodeModules].filter((p) => fs.existsSync(p));
409
409
  if (frameworkPaths.length > 0) {
410
410
  console.log(`[launcher] Framework dir on NODE_PATH: ${frameworkPaths[0]}`);
@@ -512,7 +512,7 @@ async function launch() {
512
512
  //
513
513
  // The inventory above scans roots derived from the ACTIVE data dir, so an
514
514
  // entire rival data root — a retired Electron app id, the pre-Electron
515
- // `~/camstack-agent-data` — is structurally invisible to it. Those trees hold
515
+ // `~/dominevo-agent-data` — is structurally invisible to it. Those trees hold
516
516
  // complete `addons/@dominevo/` installs with plausible package.json files,
517
517
  // and reading a version out of one answers a question about a node that has
518
518
  // not run since June. Measured on the Mac agent: four addon roots, four
package/dist/main.js CHANGED
@@ -191,7 +191,7 @@ process.on('SIGTERM', () => immediateChildCleanup('SIGTERM'));
191
191
  process.on('SIGINT', () => immediateChildCleanup('SIGINT'));
192
192
  // ---- Orphan cleanup ----
193
193
  /**
194
- * Kill leftover camstack processes from a previous crash.
194
+ * Kill leftover dominevo processes from a previous crash.
195
195
  * Targets: coreml_inference.py (Python engines).
196
196
  * Only kills processes whose parent is PID 1 (orphaned) to avoid killing children of a live server.
197
197
  */
@@ -229,7 +229,7 @@ function cleanupOrphanProcesses() {
229
229
  // grep returns exit code 1 when no matches — that's fine
230
230
  }
231
231
  if (killed > 0) {
232
- console.log(`[cleanup] Killed ${killed} orphaned camstack process(es) from a previous run`);
232
+ console.log(`[cleanup] Killed ${killed} orphaned dominevo process(es) from a previous run`);
233
233
  }
234
234
  }
235
235
  /**
@@ -376,7 +376,7 @@ async function bootstrap() {
376
376
  // SPA fallback — set later when admin UI is resolved, used by addon route catch-all
377
377
  let spaIndexHtml = null;
378
378
  // --- Phase 1 + 2: Load config, setup storage locations, TLS ---
379
- // The bootstrap config is the environment (CAMSTACK_PORT / HOST / DATA) over
379
+ // The bootstrap config is the environment (DOMINEVO_PORT / HOST / DATA) over
380
380
  // built-in defaults; there is no config.yaml (D1018).
381
381
  const bootstrapConfig = (0, boot_config_1.loadBootstrapConfig)();
382
382
  const infra = await (0, boot_config_1.setupInfra)(bootstrapConfig);
@@ -1457,8 +1457,8 @@ async function bootstrap() {
1457
1457
  };
1458
1458
  const adminUi = (0, lazy_ui_serving_js_1.createLazyUiServing)({
1459
1459
  label: 'Admin UI',
1460
- // CAMSTACK_SKIP_ADMIN_UI_WAIT: e2e runs that do not need the SPA.
1461
- lookup: () => process.env['CAMSTACK_SKIP_ADMIN_UI_WAIT'] === '1' ? null : hubUiProvider('admin-ui'),
1460
+ // DOMINEVO_SKIP_ADMIN_UI_WAIT: e2e runs that do not need the SPA.
1461
+ lookup: () => process.env['DOMINEVO_SKIP_ADMIN_UI_WAIT'] === '1' ? null : hubUiProvider('admin-ui'),
1462
1462
  log: uiLogger,
1463
1463
  onServed: ({ staticDir, indexPath }) => {
1464
1464
  spaIndexHtml = indexPath;
@@ -1473,7 +1473,7 @@ async function bootstrap() {
1473
1473
  (0, precompressed_asset_js_1.warmPrecompressedAssets)(staticDir, (msg, meta) => console.log(`[static] ${msg} ${JSON.stringify(meta)}`));
1474
1474
  },
1475
1475
  });
1476
- const VIEWER_MOUNT = '/viewer/camstack';
1476
+ const VIEWER_MOUNT = '/viewer/dominevo';
1477
1477
  // Register UI routes before Fastify starts, but resolve their forked
1478
1478
  // providers after listen. During a cold boot the control plane is therefore
1479
1479
  // immediately reachable while the non-critical UI runners finish starting.
@@ -1482,7 +1482,7 @@ async function bootstrap() {
1482
1482
  // Unauthenticated by design — Apple's CDN and Android's verifier fetch these
1483
1483
  // with no cookies; content-type must be application/json and no redirect.
1484
1484
  {
1485
- const { appleAppSiteAssociation, assetLinks } = (0, well_known_app_links_1.buildAppLinkFiles)((0, well_known_app_links_1.parseCertFingerprints)(process.env['CAMSTACK_ANDROID_CERT_SHA256']));
1485
+ const { appleAppSiteAssociation, assetLinks } = (0, well_known_app_links_1.buildAppLinkFiles)((0, well_known_app_links_1.parseCertFingerprints)(process.env['DOMINEVO_ANDROID_CERT_SHA256']));
1486
1486
  const aasa = JSON.stringify(appleAppSiteAssociation);
1487
1487
  const assetlinks = JSON.stringify(assetLinks);
1488
1488
  fastify.get('/.well-known/apple-app-site-association', async (_request, reply) => reply.type('application/json').send(aasa));
@@ -1607,7 +1607,7 @@ async function bootstrap() {
1607
1607
  typeof listenErr === 'object' &&
1608
1608
  'code' in listenErr &&
1609
1609
  listenErr.code === 'EADDRINUSE') {
1610
- console.error(`[bootstrap] FATAL: Port ${port} is already in use. Stop the other process or set CAMSTACK_PORT to a free port.`);
1610
+ console.error(`[bootstrap] FATAL: Port ${port} is already in use. Stop the other process or set DOMINEVO_PORT to a free port.`);
1611
1611
  process.exit(1);
1612
1612
  }
1613
1613
  throw listenErr;
@@ -1695,7 +1695,7 @@ async function bootstrap() {
1695
1695
  // private idea of what may be deleted.
1696
1696
  void (0, single_copy_cleanup_runner_js_1.runSingleCopyCleanup)({
1697
1697
  dataDir: dataPath,
1698
- addonRoot: process.env['CAMSTACK_ADDONS_DIR'] ?? path.join(dataPath, 'addons'),
1698
+ addonRoot: process.env['DOMINEVO_ADDONS_DIR'] ?? path.join(dataPath, 'addons'),
1699
1699
  log: (line) => logger.info(line),
1700
1700
  });
1701
1701
  // One-time backfill: stamp integrationId on devices created before the
@@ -152,7 +152,7 @@ async function bootManual(opts) {
152
152
  // The probe runs the node's PINNED ffmpeg (D540) — resolved through the same
153
153
  // deps manager every addon is given, once, and never looked up on PATH.
154
154
  // (The manager roots binaries at the NODE's data dir whatever it is given.)
155
- const probeDeps = new system_1.AddonDepsManager(path.resolve(process.env['CAMSTACK_DATA'] ?? 'camstack-data'), loggingService.createLogger('StreamProbeDeps'));
155
+ const probeDeps = new system_1.AddonDepsManager(path.resolve(process.env['DOMINEVO_DATA'] ?? 'dominevo-data'), loggingService.createLogger('StreamProbeDeps'));
156
156
  const streamProbeService = new stream_probe_service_1.StreamProbeService(loggingService, (0, types_1.memoizePinnedFfmpeg)(() => probeDeps.ensureFfmpeg()));
157
157
  const addonBridgeService = new addon_bridge_service_1.AddonBridgeService(loggingService);
158
158
  const addonSearchService = new addon_search_service_1.AddonSearchService(loggingService);
@@ -231,7 +231,7 @@ async function bootManual(opts) {
231
231
  const addonWidgetsService = new addon_widgets_service_1.AddonWidgetsService(loggingService, capabilityService, addonRegistryService);
232
232
  // Durable `update.available` dedup lives next to `auto-update.json`, so a
233
233
  // hub restart never re-announces what the operator already saw.
234
- const availabilityDataDir = path.resolve(process.env['CAMSTACK_DATA'] ?? 'camstack-data');
234
+ const availabilityDataDir = path.resolve(process.env['DOMINEVO_DATA'] ?? 'dominevo-data');
235
235
  const addonPackageService = new addon_package_service_1.AddonPackageService(loggingService, eventBusService, configService, addonRegistryService, notificationWrapper, toastWrapper, new update_availability_store_js_1.FileUpdateAvailabilityStore(availabilityDataDir, 'addon-packages', loggingService.createLogger('UpdateAvailability')));
236
236
  // Addon back-fill delivery seam. Wired here (not in the AgentRegistryService
237
237
  // constructor) because it needs AddonPackageService, which is a later layer.
@@ -286,7 +286,7 @@ async function bootManual(opts) {
286
286
  // Task 5) need a stable instance that exists before any request, so we build
287
287
  // it ONCE here from the addon-package service + event bus. `createdBy` is no
288
288
  // longer a construction dep — it travels on each `startJob` call.
289
- const lifecycleDataDir = path.resolve(process.env['CAMSTACK_DATA'] ?? 'camstack-data');
289
+ const lifecycleDataDir = path.resolve(process.env['DOMINEVO_DATA'] ?? 'dominevo-data');
290
290
  (0, lifecycle_runner_singleton_1.initLifecycleRunner)({
291
291
  dataDir: lifecycleDataDir,
292
292
  fetchTarball: (name, version, signal) => addonPackageService.fetchAddonTarball(name, version, signal),
@@ -469,8 +469,8 @@ async function bootManual(opts) {
469
469
  }));
470
470
  void (0, required_addon_update_js_1.runRequiredAddonUpdates)({
471
471
  minimums: (0, addon_requirements_js_1.readRunningServerAddonMinimums)(),
472
- installed: () => (0, installed_addon_versions_js_1.readInstalledAddonVersions)(process.env.CAMSTACK_ADDONS_DIR ??
473
- path.resolve(process.env.CAMSTACK_DATA ?? 'camstack-data', 'addons')),
472
+ installed: () => (0, installed_addon_versions_js_1.readInstalledAddonVersions)(process.env.DOMINEVO_ADDONS_DIR ??
473
+ path.resolve(process.env.DOMINEVO_DATA ?? 'dominevo-data', 'addons')),
474
474
  updatePackage: (name) => addonPackageService.updatePackage(name),
475
475
  getAlerts: () => addonRegistryService.getCapabilityRegistry().getSingleton('alerts') ?? undefined,
476
476
  logger: updateCheckLogger,
package/dist/node-role.js CHANGED
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveNodeRole = resolveNodeRole;
4
4
  function resolveNodeRole(env) {
5
- const raw = (env['CAMSTACK_ROLE'] ?? '').trim().toLowerCase();
5
+ const raw = (env['DOMINEVO_ROLE'] ?? '').trim().toLowerCase();
6
6
  if (raw === '' || raw === 'hub')
7
7
  return 'hub';
8
8
  if (raw === 'agent')
9
9
  return 'agent';
10
- throw new Error(`Invalid CAMSTACK_ROLE "${raw}" — expected "hub" or "agent"`);
10
+ throw new Error(`Invalid DOMINEVO_ROLE "${raw}" — expected "hub" or "agent"`);
11
11
  }
@@ -152,7 +152,7 @@ function hostProvidedSearchRoots(input) {
152
152
  * The image seed trees: `/opt/<name>/node_modules`.
153
153
  *
154
154
  * Enumerated rather than hardcoded because their names have changed with the
155
- * image layout (`camstack-hub`, `camstack-seed-framework`, …) and a hardcoded
155
+ * image layout (`dominevo-hub`, `dominevo-seed-framework`, …) and a hardcoded
156
156
  * list would quietly stop finding the copy it was written for. Returns empty
157
157
  * when `/opt` does not exist, which is every dev machine.
158
158
  */
@@ -59,7 +59,7 @@ const path = __importStar(require("node:path"));
59
59
  const tar = __importStar(require("tar"));
60
60
  const sqlite_restore_js_1 = require("./sqlite-restore.js");
61
61
  /** Path of the manifest file embedded inside every archive. */
62
- const ARCHIVE_MANIFEST_NAME = '.camstack-backup-manifest.json';
62
+ const ARCHIVE_MANIFEST_NAME = '.dominevo-backup-manifest.json';
63
63
  const RESTORE_MARKER_FILE = '.pending-restore.json';
64
64
  /** The bootstrap file older archives still carry (D1018): skipped on restore. */
65
65
  const RETIRED_CONFIG_FILE = 'config.yaml';