@dominevo/server 0.1.0 → 0.1.1

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 (321) hide show
  1. package/.env.example +4 -4
  2. package/CHANGELOG.md +7 -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 +71 -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 +8 -8
  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 +8 -8
  93. package/system/dist/builtins/alerts/alerts.addon.js +7 -7
  94. package/system/dist/builtins/alerts/alerts.addon.mjs +9 -9
  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 +8 -8
  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 +17 -17
  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 +23 -23
  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 +12 -12
  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 +22 -22
  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 +143 -143
  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/{coral-accelerators-DXDOGcym.mjs → coral-accelerators-CSu5Ahx5.mjs} +6 -6
  192. package/system/dist/{custom-action-registry-Bd52pRgO.mjs → custom-action-registry-BklzKCJe.mjs} +162 -162
  193. package/system/dist/{custom-action-registry-DHOCDRef.js → custom-action-registry-C_yB2qlc.js} +125 -125
  194. package/system/dist/{database-snapshot.cap-BymU4Xk9.js → database-snapshot.cap--dYj7W3i.js} +1 -1
  195. package/system/dist/{database-snapshot.cap-DAVS29qN.mjs → database-snapshot.cap-DfMxWoak.mjs} +1 -1
  196. package/system/dist/{declared-device-BSxSa0O8.js → declared-device-BFexdYcl.js} +1 -1
  197. package/system/dist/{declared-device-C4zPkK6G.mjs → declared-device-D-fwNbiU.mjs} +1 -1
  198. package/system/dist/{device-ca-BgYUqBEB.js → device-ca-CXDTXX4c.js} +8 -8
  199. package/system/dist/{device-ca-AvfcD1AT.mjs → device-ca-Du6rfexI.mjs} +8 -8
  200. package/system/dist/{device-certificate-IVBnrTHH.js → device-certificate-6irX-VEC.js} +4 -4
  201. package/system/dist/{device-certificate-Kh05tlrX.mjs → device-certificate-B5LojTd8.mjs} +4 -4
  202. package/system/dist/{device-manager.cap-zbFHbXlg.mjs → device-manager.cap-3gMy5WyI.mjs} +1 -1
  203. package/system/dist/{device-manager.cap-B-zweScL.js → device-manager.cap-CVm8e--n.js} +1 -1
  204. package/system/dist/{device-removal-reconcile-DSYwdCX-.mjs → device-removal-reconcile-Bca9Xmxa.mjs} +2 -2
  205. package/system/dist/{device-removal-reconcile-hF3PFXaD.js → device-removal-reconcile-BtBOAfIX.js} +2 -2
  206. package/system/dist/{camstack-error-DJ-TUAi1.js → dominevo-error-CTBRQM6p.js} +4 -4
  207. package/system/dist/{camstack-error-viZYfcj9.mjs → dominevo-error-EgrighSX.mjs} +4 -4
  208. package/system/dist/download/hosted-model-revisions.d.ts +1 -1
  209. package/system/dist/{entry-kind-BOBbd1lw.mjs → entry-kind-DJSOxSX2.mjs} +2 -2
  210. package/system/dist/{entry-kind-BVqSwPqz.js → entry-kind-DzaK6R6L.js} +2 -2
  211. package/system/dist/file-host-worker.js +3 -3
  212. package/system/dist/file-host-worker.mjs +3 -3
  213. package/system/dist/framework-resolver-hook.mjs +1 -1
  214. package/system/dist/{hub-identity-Ctf-OLhe.mjs → hub-identity-C1lUxisZ.mjs} +19 -19
  215. package/system/dist/{hub-identity-C5oay5SY.js → hub-identity-DihZeMUF.js} +10 -10
  216. package/system/dist/{hub-mdns-ciao-BjVwHmsr.js → hub-mdns-ciao-D2Rcz1Kb.js} +42 -42
  217. package/system/dist/{hub-mdns-ciao-C9adAMGN.mjs → hub-mdns-ciao-D5Udd2A_.mjs} +39 -39
  218. package/system/dist/index.js +152 -152
  219. package/system/dist/index.mjs +355 -355
  220. package/system/dist/{jobs.cap-DHu0iJ1C.js → jobs.cap-Blrf2noc.js} +4 -4
  221. package/system/dist/{jobs.cap-BPFm9yU4.mjs → jobs.cap-DdrDabtW.mjs} +4 -4
  222. package/system/dist/kernel/addon-class-resolver.d.ts +2 -2
  223. package/system/dist/kernel/addon-engine-manager.d.ts +2 -2
  224. package/system/dist/kernel/addon-installer.d.ts +12 -12
  225. package/system/dist/kernel/addon-loader.d.ts +6 -6
  226. package/system/dist/kernel/addon-version-policy.d.ts +1 -1
  227. package/system/dist/kernel/config-schema.d.ts +2 -2
  228. package/system/dist/kernel/deps/addon-deps-manager.d.ts +1 -1
  229. package/system/dist/kernel/deps/closure-dedupe.d.ts +3 -3
  230. package/system/dist/kernel/deps/ensure-addon-natives.d.ts +1 -1
  231. package/system/dist/kernel/deps/manifest-native-deps.d.ts +2 -2
  232. package/system/dist/kernel/deps/manifest-python-deps.d.ts +1 -1
  233. package/system/dist/kernel/deps/system-package-broker.d.ts +1 -1
  234. package/system/dist/kernel/deps/system-package-client.d.ts +1 -1
  235. package/system/dist/kernel/event-plane-report.d.ts +2 -2
  236. package/system/dist/kernel/fs-utils.d.ts +4 -4
  237. package/system/dist/kernel/heap-watch.d.ts +8 -8
  238. package/system/dist/kernel/index.d.ts +1 -1
  239. package/system/dist/kernel/moleculer/addon-context-factory.d.ts +3 -3
  240. package/system/dist/kernel/moleculer/addon-service-factory.d.ts +3 -3
  241. package/system/dist/kernel/moleculer/agent-event-scope.d.ts +2 -2
  242. package/system/dist/kernel/moleculer/agent-ui-unlock.d.ts +1 -1
  243. package/system/dist/kernel/moleculer/child-addon-call-dispatch.d.ts +2 -2
  244. package/system/dist/kernel/moleculer/event-bus-core.d.ts +1 -1
  245. package/system/dist/kernel/moleculer/event-bus.d.ts +5 -5
  246. package/system/dist/kernel/moleculer/mesh-mtls/constants.d.ts +1 -1
  247. package/system/dist/kernel/moleculer/mesh-mtls/mesh-membership.d.ts +1 -1
  248. package/system/dist/kernel/moleculer/mesh-mtls/pairing/pairing-protocol.d.ts +3 -3
  249. package/system/dist/kernel/moleculer/runner-heap-flags.d.ts +1 -1
  250. package/system/dist/kernel/moleculer/runner-native-allocator.d.ts +2 -2
  251. package/system/dist/kernel/moleculer/stream-probe-service.d.ts +1 -1
  252. package/system/dist/kernel/moleculer/worker-device-restore.d.ts +2 -2
  253. package/system/dist/kernel/requires-registry.d.ts +2 -2
  254. package/system/dist/kernel/transport/create-local-transport.d.ts +1 -1
  255. package/system/dist/kernel/transport/local-child-registry.d.ts +1 -1
  256. package/system/dist/kernel/transport/uds-event-bridge.d.ts +1 -1
  257. package/system/dist/kernel/unsupported-addon-tracker.d.ts +1 -1
  258. package/system/dist/{keychain-admin.cap-DOvL8TMG.mjs → keychain-admin.cap-C3eanzBT.mjs} +2 -2
  259. package/system/dist/{keychain-admin.cap-DcRCRWtu.js → keychain-admin.cap-yMG0j8XP.js} +2 -2
  260. package/system/dist/{legacy-integration-rows-door-CUpCwPm5.js → legacy-integration-rows-door-1c-XBxRt.js} +1 -1
  261. package/system/dist/{legacy-integration-rows-door-bidgp6kI.mjs → legacy-integration-rows-door-CYFvlkdt.mjs} +1 -1
  262. package/system/dist/{log-file-read-protocol-hTaAsYlX.mjs → log-file-read-protocol-B3Tq2F50.mjs} +2 -2
  263. package/system/dist/{log-file-read-protocol-DSV_vQRb.js → log-file-read-protocol-BRHlsNCj.js} +2 -2
  264. package/system/dist/log-file-read-worker.js +1 -1
  265. package/system/dist/log-file-read-worker.mjs +1 -1
  266. package/system/dist/logging/formatter.d.ts +1 -1
  267. package/system/dist/{metrics-provider.cap-01SwpLu5.mjs → metrics-provider.cap-BKzH22yb.mjs} +2 -2
  268. package/system/dist/{metrics-provider.cap-BMKD5FH3.js → metrics-provider.cap-H0RjdYQj.js} +2 -2
  269. package/system/dist/{migration-CHPdAdNh.js → migration-CvC7YRxn.js} +1 -1
  270. package/system/dist/{migration-BvbfW9g-.mjs → migration-DDDUJnTU.mjs} +1 -1
  271. package/system/dist/migrations/hub/index.d.ts +1 -1
  272. package/system/dist/{named-entity-store-EQovvtag.js → named-entity-store-B7MMnZq_.js} +1 -1
  273. package/system/dist/{named-entity-store-C2JkesQG.mjs → named-entity-store-CLIUOHkl.mjs} +1 -1
  274. package/system/dist/{network-access.cap-CxqbyUYK.js → network-access.cap-C97_DUK9.js} +10 -10
  275. package/system/dist/{network-access.cap-B918UjWD.mjs → network-access.cap-DcLn1v6p.mjs} +9 -9
  276. package/system/dist/{notification-targets-Cj6I9DzV.js → notification-targets-BH-Kq5zA.js} +2 -2
  277. package/system/dist/{notification-targets-cJTv1p6y.mjs → notification-targets-gTLSExN5.mjs} +2 -2
  278. package/system/dist/{platform-key-source-Di7HrlGR.js → platform-key-source-DERonx7U.js} +1 -1
  279. package/system/dist/{platform-key-source-BWlq0jjn.mjs → platform-key-source-vw43KkgD.mjs} +1 -1
  280. package/system/dist/{record-entries.cap-jKkDRzZG.mjs → record-entries.cap-DqaspI30.mjs} +2 -2
  281. package/system/dist/{record-entries.cap-RXnOab_5.js → record-entries.cap-u4EjNUWg.js} +2 -2
  282. package/system/dist/{record-kind-Cm1DO1qJ.js → record-kind-BYbL_LNZ.js} +1 -1
  283. package/system/dist/{record-kind-DXFsj6uF.mjs → record-kind-DpcGjBK1.mjs} +1 -1
  284. package/system/dist/{record-kinds-CLYE4x8E.js → record-kinds-CF3IIGeU.js} +6 -6
  285. package/system/dist/{record-kinds-Xm95PUr5.mjs → record-kinds-HynLKMsB.mjs} +6 -6
  286. package/system/dist/{recording-archive.cap-BFiEztoo.js → recording-archive.cap-DPyT1msn.js} +5 -5
  287. package/system/dist/{recording-archive.cap-DljrTthl.mjs → recording-archive.cap-DoeNelun.mjs} +4 -4
  288. package/system/dist/{records.cap-BDUsx56H.mjs → records.cap-A6ZnC18-.mjs} +2 -2
  289. package/system/dist/{records.cap-DKDON4zv.js → records.cap-CrdoSJ1h.js} +2 -2
  290. package/system/dist/{rename-composition-block-BdhK2udh.mjs → rename-composition-block-CMfftDfW.mjs} +43 -43
  291. package/system/dist/{rename-composition-block-CJ-XbDsk.js → rename-composition-block-CeKeUquQ.js} +43 -43
  292. package/system/dist/{restore-archive-BQhYL8c4.mjs → restore-archive-DngNk5Yg.mjs} +104 -104
  293. package/system/dist/{restore-archive-DWIM3J3f.js → restore-archive-LKIQ4CNL.js} +11 -11
  294. package/system/dist/{retention-source.cap-BvNRqbz3.js → retention-source.cap-CuI320Je.js} +1 -1
  295. package/system/dist/{retention-source.cap-DUPeqB5h.mjs → retention-source.cap-DLKW-DAE.mjs} +1 -1
  296. package/system/dist/{retired-settings-keys-BFLkouoC.mjs → retired-settings-keys-Dakm_ir-.mjs} +1 -1
  297. package/system/dist/{retired-settings-keys-DNi9qA3K.js → retired-settings-keys-DdoaQDUr.js} +1 -1
  298. package/system/dist/{scoped-settings-DbyAaIot.js → scoped-settings-8uzhJVsE.js} +3 -3
  299. package/system/dist/{scoped-settings-d2_FTMty.mjs → scoped-settings-DnkTDuvk.mjs} +3 -3
  300. package/system/dist/{settings-store.cap-BhOIBtO4.js → settings-store.cap-DqFgT2Xo.js} +1 -1
  301. package/system/dist/{settings-store.cap-CaDSOqgK.mjs → settings-store.cap-DxsDTQxb.mjs} +1 -1
  302. package/system/dist/{state-refresh-scheduler-GlExK5Pt.js → state-refresh-scheduler-8_rBg2-4.js} +1 -1
  303. package/system/dist/{state-refresh-scheduler-CJuGzqZh.mjs → state-refresh-scheduler-B3pfIHRS.mjs} +1 -1
  304. package/system/dist/{storage-admin.cap-DPH4dWEl.js → storage-admin.cap-BndyGERv.js} +5 -5
  305. package/system/dist/{storage-admin.cap-CP_CtM0h.mjs → storage-admin.cap-DOZ5tsKA.mjs} +5 -5
  306. package/system/dist/{storage-migration.cap-DT_sdxio.js → storage-migration.cap-C52LxDX2.js} +4 -4
  307. package/system/dist/{storage-migration.cap-BonKGHaA.mjs → storage-migration.cap-DRl4rt-0.mjs} +4 -4
  308. package/system/dist/{storage-occupancy.cap-avoVkjfF.js → storage-occupancy.cap-CiGDOgpG.js} +3 -3
  309. package/system/dist/{storage-occupancy.cap-B_YU_aX3.mjs → storage-occupancy.cap-_VVBswn4.mjs} +3 -3
  310. package/system/dist/{stream-catalog.cap-Blw9nJ-a.js → stream-catalog.cap-Bl0BSYye.js} +4 -4
  311. package/system/dist/{stream-catalog.cap-D08FM3ow.mjs → stream-catalog.cap-C7vlYIih.mjs} +4 -4
  312. package/system/dist/tls/cert-evaluation.d.ts +3 -3
  313. package/system/dist/tls/cert-issue.d.ts +2 -2
  314. package/system/dist/tls/cert-manager.d.ts +7 -7
  315. package/system/dist/tls/tls-actions.d.ts +1 -1
  316. package/system/dist/tls/tls-status.d.ts +1 -1
  317. package/system/dist/{user-management.cap-BIOAtxeX.js → user-management.cap-D9EcsR2c.js} +2 -2
  318. package/system/dist/{user-management.cap-D8lVSHRA.mjs → user-management.cap-mDnBlJay.mjs} +2 -2
  319. package/system/dist/{wal-maintenance-8cxZxWU2.js → wal-maintenance-BPDo9Jao.js} +9 -9
  320. package/system/dist/{wal-maintenance-BGa2lDZp.mjs → wal-maintenance-SArcuHLu.mjs} +9 -9
  321. package/system/package.json +3 -3
@@ -435,13 +435,13 @@ var execFileAsync$2 = (0, node_util.promisify)(node_child_process.execFile);
435
435
  * installer) pass their own.
436
436
  */
437
437
  function defaultNpmCacheDir() {
438
- return node_path.join(node_os.tmpdir(), "camstack-npm-bootstrap");
438
+ return node_path.join(node_os.tmpdir(), "dominevo-npm-bootstrap");
439
439
  }
440
440
  /**
441
441
  * Native node modules an addon needs at runtime but cannot be bundled
442
442
  * (`.node` binary files require ABI-matched compilation). Mirror of the
443
443
  * Python `requirements.txt` pattern in `manifest-python-deps.ts` —
444
- * declared in the addon's `package.json` under `camstack.nativeDependencies`,
444
+ * declared in the addon's `package.json` under `dominevo.nativeDependencies`,
445
445
  * installed per-addon at install time so the host's regular `npm install`
446
446
  * doesn't pull in the union of every camera driver's native deps.
447
447
  *
@@ -449,7 +449,7 @@ function defaultNpmCacheDir() {
449
449
  * (`docs/superpowers/specs/2026-05-09-bundles-and-builder-modernization-design.md`).
450
450
  *
451
451
  * Idempotent: hashes the `nativeDependencies` map and writes a marker
452
- * to `<addonDir>/.camstack-native-deps-installed`. Re-installing only
452
+ * to `<addonDir>/.dominevo-native-deps-installed`. Re-installing only
453
453
  * happens when the declared set changes.
454
454
  *
455
455
  * Failure modes:
@@ -463,7 +463,7 @@ function defaultNpmCacheDir() {
463
463
  async function installManifestNativeDeps(addonDir, pkgRaw, logger, registry, npmCacheDir) {
464
464
  const native = readNativeDeps(pkgRaw);
465
465
  if (native == null || Object.keys(native).length === 0) return;
466
- const markerFile = node_path.join(addonDir, ".camstack-native-deps-installed");
466
+ const markerFile = node_path.join(addonDir, ".dominevo-native-deps-installed");
467
467
  const markerHash = hashDeclaration(native);
468
468
  if (markerMatches(markerFile, markerHash)) {
469
469
  logger.debug("Native deps already installed (marker matches)", { meta: {
@@ -589,11 +589,11 @@ function candidateHoistedDirs(name, addonDir) {
589
589
  }
590
590
  return dirs;
591
591
  }
592
- /** Read & validate `camstack.nativeDependencies`. Returns null when absent. */
592
+ /** Read & validate `dominevo.nativeDependencies`. Returns null when absent. */
593
593
  function readNativeDeps(pkgRaw) {
594
- const camstack = (0, _dominevo_types_addon.asJsonObject)(pkgRaw["camstack"]);
595
- if (!camstack) return null;
596
- const native = (0, _dominevo_types_addon.asJsonObject)(camstack["nativeDependencies"]);
594
+ const dominevo = (0, _dominevo_types_addon.asJsonObject)(pkgRaw["dominevo"]);
595
+ if (!dominevo) return null;
596
+ const native = (0, _dominevo_types_addon.asJsonObject)(dominevo["nativeDependencies"]);
597
597
  if (!native) return null;
598
598
  const out = {};
599
599
  for (const [k, v] of Object.entries(native)) {
@@ -693,7 +693,7 @@ async function rebuildNativeDeps(addonDir, packageNames, logger, npmCacheDir, re
693
693
  //#region src/kernel/deps/manifest-python-deps.ts
694
694
  /**
695
695
  * Auto-install the pip requirements file declared in an addon's manifest
696
- * (`camstack.addons[].python.requirements`) into the embedded portable
696
+ * (`dominevo.addons[].python.requirements`) into the embedded portable
697
697
  * Python before `onInitialize()` runs.
698
698
  *
699
699
  * Idempotent: `installPythonRequirements` skips when the file's content
@@ -741,7 +741,7 @@ function packageIsAllowlisted(manager, packageName) {
741
741
  * Who is allowed to run the package manager for this request.
742
742
  *
743
743
  * Apt/apk/dnf need root. In the Dominevo container that is the
744
- * `camstack-pkgd` helper, not the runner and not hub-main (both uid
744
+ * `dominevo-pkgd` helper, not the runner and not hub-main (both uid
745
745
  * 1001). Brew is owned by the logged-in user, so it stays in-process.
746
746
  */
747
747
  function decidePackageInstall(input) {
@@ -757,7 +757,7 @@ function decidePackageInstall(input) {
757
757
  return { kind: "helper" };
758
758
  }
759
759
  function pkgdSocketPath() {
760
- return process.env["CAMSTACK_PKGD_SOCKET"] ?? "/run/camstack/pkgd.sock";
760
+ return process.env["DOMINEVO_PKGD_SOCKET"] ?? "/run/dominevo/pkgd.sock";
761
761
  }
762
762
  function privilegedHelperAvailable(socketPath = pkgdSocketPath()) {
763
763
  return (0, node_fs.existsSync)(socketPath);
@@ -826,10 +826,10 @@ function requestPrivilegedInstall(req, socketPath = pkgdSocketPath(), timeoutMs
826
826
  //#region src/kernel/deps/manifest-system-deps.ts
827
827
  /**
828
828
  * Auto-install the host binaries declared in an addon's manifest
829
- * (`camstack.addons[].systemDependencies`) before `onInitialize()` runs.
829
+ * (`dominevo.addons[].systemDependencies`) before `onInitialize()` runs.
830
830
  *
831
831
  * ── Why this is framework and not addon-local ──────────────────────────────
832
- * The Python precedent (`camstack.addons[].python.requirements` →
832
+ * The Python precedent (`dominevo.addons[].python.requirements` →
833
833
  * `installManifestPythonDeps`, called from the same place in
834
834
  * `addon-runner.ts`) already answers "this addon needs something installed,
835
835
  * satisfy it before its caps register". A binary is the same question with a
@@ -855,7 +855,7 @@ function requestPrivilegedInstall(req, socketPath = pkgdSocketPath(), timeoutMs
855
855
  * "installed".
856
856
  * 5. **Apt is not the runner's.** Distro package managers need root. The
857
857
  * runner and hub-main are uid 1001 (`gosu` in the entrypoint). Apt/apk/dnf
858
- * go through `camstack-pkgd` (allowlisted). Brew stays in-process.
858
+ * go through `dominevo-pkgd` (allowlisted). Brew stays in-process.
859
859
  *
860
860
  * Every branch that declines to install SAYS SO. A dependency step that
861
861
  * produced no line at all is indistinguishable from one that never ran, and
@@ -2484,7 +2484,7 @@ function createLoopDelayMeter(resolutionMs = 20) {
2484
2484
  * hub-main is the only process in the cluster whose ceiling nobody chose. Every
2485
2485
  * forked runner is given V8 heap flags by `process-service.ts`; hub-main gets
2486
2486
  * `--max-old-space-size` from `docker-entrypoint.sh` ONLY when the operator sets
2487
- * `CAMSTACK_HUB_HEAP_MB`, and on the live container it is unset — verified
2487
+ * `DOMINEVO_HUB_HEAP_MB`, and on the live container it is unset — verified
2488
2488
  * 2026-08-25 by reading pid 7's argv, a bare `node .../starter.js`. So the
2489
2489
  * ceiling in force is whatever V8 derives from the host (4288MB there), and the
2490
2490
  * only record of that was a comment inside an image nobody rebuilds to read.
@@ -2496,7 +2496,7 @@ function heapCeilingOrigin(execArgv = process.execArgv) {
2496
2496
  return execArgv.some((arg) => /^--max[-_]old[-_]space[-_]size(=|$)/.test(arg)) ? "explicit" : "v8-default";
2497
2497
  }
2498
2498
  /** Env var the launch-args module hands the node: who chose its heap ceiling. */
2499
- var HEAP_CEILING_SOURCE_ENV = "CAMSTACK_HEAP_CEILING_SOURCE";
2499
+ var HEAP_CEILING_SOURCE_ENV = "DOMINEVO_HEAP_CEILING_SOURCE";
2500
2500
  var LAUNCHER_SOURCES = new Set([
2501
2501
  "override",
2502
2502
  "legacy-env",
@@ -2895,7 +2895,7 @@ function parseRssBudgetMb(raw) {
2895
2895
  return Math.floor(parsed);
2896
2896
  }
2897
2897
  /** Env var carrying a runner's declared RSS budget from parent to child. */
2898
- var RUNNER_RSS_BUDGET_ENV = "CAMSTACK_RUNNER_RSS_BUDGET_MB";
2898
+ var RUNNER_RSS_BUDGET_ENV = "DOMINEVO_RUNNER_RSS_BUDGET_MB";
2899
2899
  /**
2900
2900
  * Start the heap watch + stranded-page reclaimer for ONE addon runner, iff it
2901
2901
  * is a heavy one. Returns the stop function, or undefined when nothing started.
@@ -3128,8 +3128,8 @@ function liftRoutingHints(args) {
3128
3128
  */
3129
3129
  function localEndpointPath(nodeId) {
3130
3130
  const safe = nodeId.replace(/[^a-zA-Z0-9_-]/g, "_");
3131
- if (process.platform === "win32") return `\\\\.\\pipe\\camstack-${safe}`;
3132
- return (0, node_path.join)((0, node_os.tmpdir)(), `camstack-${safe}.sock`);
3131
+ if (process.platform === "win32") return `\\\\.\\pipe\\dominevo-${safe}`;
3132
+ return (0, node_path.join)((0, node_os.tmpdir)(), `dominevo-${safe}.sock`);
3133
3133
  }
3134
3134
  //#endregion
3135
3135
  //#region ../../node_modules/@msgpack/msgpack/dist.esm/utils/utf8.mjs
@@ -4932,7 +4932,7 @@ var UdsLocalTransportClient = class {
4932
4932
  /**
4933
4933
  * The extension seam. UDS is the only shipped implementation; a future
4934
4934
  * transport implements `LocalTransportFactory` and is selected here (e.g. via
4935
- * a `CAMSTACK_LOCAL_TRANSPORT` env) without touching any consumer.
4935
+ * a `DOMINEVO_LOCAL_TRANSPORT` env) without touching any consumer.
4936
4936
  */
4937
4937
  function createLocalTransport() {
4938
4938
  return {
@@ -9659,13 +9659,13 @@ function createAddonPeerBytesFacility(args) {
9659
9659
  const offer = offers.get(token);
9660
9660
  if (offer === void 0) {
9661
9661
  const status = taken.has(token) ? 410 : 404;
9662
- res.writeHead(status, { "x-camstack-peer-bytes": status === 410 ? "offer-used" : "no-offer" });
9662
+ res.writeHead(status, { "x-dominevo-peer-bytes": status === 410 ? "offer-used" : "no-offer" });
9663
9663
  res.end();
9664
9664
  return;
9665
9665
  }
9666
9666
  if (offer.expiresAtMs <= now()) {
9667
9667
  offers.delete(token);
9668
- res.writeHead(410, { "x-camstack-peer-bytes": "offer-expired" }).end();
9668
+ res.writeHead(410, { "x-dominevo-peer-bytes": "offer-expired" }).end();
9669
9669
  return;
9670
9670
  }
9671
9671
  if (req.method === "GET") {
@@ -9873,7 +9873,7 @@ function createAddonPeerBytesFacility(args) {
9873
9873
  error: detail
9874
9874
  }
9875
9875
  });
9876
- if (!res.headersSent) res.writeHead(503, { "x-camstack-peer-bytes": "file-unreadable" });
9876
+ if (!res.headersSent) res.writeHead(503, { "x-dominevo-peer-bytes": "file-unreadable" });
9877
9877
  res.end();
9878
9878
  return;
9879
9879
  }
@@ -9998,7 +9998,7 @@ function createAddonPeerBytesFacility(args) {
9998
9998
  response.pause();
9999
9999
  const status = response.statusCode ?? 0;
10000
10000
  if (status < 200 || status >= 300) {
10001
- const reason = response.headers["x-camstack-peer-bytes"];
10001
+ const reason = response.headers["x-dominevo-peer-bytes"];
10002
10002
  response.resume();
10003
10003
  req.destroy();
10004
10004
  return {
@@ -10123,7 +10123,7 @@ function createAddonPeerBytesFacility(args) {
10123
10123
  * in 2026-05 specifically to break that cycle.
10124
10124
  *
10125
10125
  * Shared per-node store (2026-06): base binaries (Python, ffmpeg, downloaded
10126
- * tools) are resolved into the NODE data dir (`CAMSTACK_DATA`), not the
10126
+ * tools) are resolved into the NODE data dir (`DOMINEVO_DATA`), not the
10127
10127
  * per-addon dir. Every addon on a node reuses one copy instead of downloading
10128
10128
  * its own. Because addons run as separate processes that now share one deps
10129
10129
  * dir, resolution is guarded by a single-flight (in-process promise cache +
@@ -10132,7 +10132,7 @@ function createAddonPeerBytesFacility(args) {
10132
10132
  */
10133
10133
  /** Resolve the node-wide data root (shared by all addon processes on a node). */
10134
10134
  function resolveNodeRoot() {
10135
- return process.env["CAMSTACK_DATA"] ?? process.env["CAMSTACK_DATA_DIR"] ?? "camstack-data";
10135
+ return process.env["DOMINEVO_DATA"] ?? process.env["DOMINEVO_DATA_DIR"] ?? "dominevo-data";
10136
10136
  }
10137
10137
  var inFlight = /* @__PURE__ */ new Map();
10138
10138
  var LOCK_STALE_MS = 10 * 6e4;
@@ -10213,7 +10213,7 @@ var AddonDepsManager = class {
10213
10213
  }
10214
10214
  /**
10215
10215
  * The native library a requirements file says its packages need
10216
- * (`# camstack-native-dep: edgetpu-delegate`), staged under this node's
10216
+ * (`# dominevo-native-dep: edgetpu-delegate`), staged under this node's
10217
10217
  * deps dir. Runs on every call — not only the first pip install — so a
10218
10218
  * node whose pip marker predates the line still gets the library. A
10219
10219
  * platform without a build answers `unavailable` (logged, not thrown); a
@@ -10234,12 +10234,12 @@ function asBrokerLike(broker) {
10234
10234
  return broker;
10235
10235
  }
10236
10236
  /**
10237
- * Topic prefix for clustered EventBus broadcasts. The `camstack.evt.`
10237
+ * Topic prefix for clustered EventBus broadcasts. The `dominevo.evt.`
10238
10238
  * namespace keeps our events disjoint from Moleculer internal events
10239
10239
  * (`$node.*`, `$services.*`) — the `$event-bus` service's
10240
- * `camstack.evt.**` wildcard handler therefore never sees them.
10240
+ * `dominevo.evt.**` wildcard handler therefore never sees them.
10241
10241
  */
10242
- var EVENT_TOPIC_PREFIX = "camstack.evt.";
10242
+ var EVENT_TOPIC_PREFIX = "dominevo.evt.";
10243
10243
  /** Moleculer event-name wildcard the `$event-bus` service subscribes to. */
10244
10244
  var EVENT_TOPIC_WILDCARD = `${EVENT_TOPIC_PREFIX}**`;
10245
10245
  /** Build the Moleculer broadcast topic for an event category. */
@@ -10397,8 +10397,8 @@ function acceptInboundCrossNode(broker, category) {
10397
10397
  * a post-start `createService` propagates via the ~10s heartbeat and
10398
10398
  * makes cross-node delivery unreliable in the meantime.
10399
10399
  *
10400
- * The service's single wildcard handler (`camstack.evt.**`) is the
10401
- * inbound bridge: every `broker.broadcast('camstack.evt.<cat>', event)`
10400
+ * The service's single wildcard handler (`dominevo.evt.**`) is the
10401
+ * inbound bridge: every `broker.broadcast('dominevo.evt.<cat>', event)`
10402
10402
  * from any node lands here. Self-origin echoes are dropped (the
10403
10403
  * emitting node already delivered synchronously in `emit`).
10404
10404
  *
@@ -11461,10 +11461,10 @@ function runtimeNodeId(runtime) {
11461
11461
  return runtime.mode === "broker" ? asBrokerLike(runtime.broker).nodeID : runtime.nodeId;
11462
11462
  }
11463
11463
  /**
11464
- * Adapt a Moleculer ServiceBroker to the camstack-types `IClusterBroker`
11464
+ * Adapt a Moleculer ServiceBroker to the dominevo-types `IClusterBroker`
11465
11465
  * structural interface so addons can consume cluster-level RPC without
11466
11466
  * pulling a moleculer dependency. Method signatures differ slightly
11467
- * (Moleculer's overloads are wider than the camstack contract), so we
11467
+ * (Moleculer's overloads are wider than the dominevo contract), so we
11468
11468
  * forward through a thin object instead of casting at the boundary.
11469
11469
  */
11470
11470
  function adaptBrokerToCluster(broker) {
@@ -11568,7 +11568,7 @@ async function createUdsAddonContext(client, nodeId, declaration, dataDir, optio
11568
11568
  async function buildAddonContext(runtime, declaration, dataDir, options) {
11569
11569
  const nodeId = runtimeNodeId(runtime);
11570
11570
  const addonId = declaration.id;
11571
- const nodeDataDir = process.env["CAMSTACK_DATA"] ?? dataDir;
11571
+ const nodeDataDir = process.env["DOMINEVO_DATA"] ?? dataDir;
11572
11572
  const addonDataDir = node_path.resolve(nodeDataDir, "addons-data", addonId);
11573
11573
  node_fs.mkdirSync(addonDataDir, { recursive: true });
11574
11574
  if (runtime.mode === "broker") ensureBindingSubscription(runtime.broker);
@@ -12382,7 +12382,7 @@ async function runWorkerDeviceRestoreWithRetry(addon, context, addonId, sourceNo
12382
12382
  * zero exceptions (D2/D9). The media-pipeline co-location group was
12383
12383
  * dissolved by Phase 5 once frames and audio chunks became serialisable
12384
12384
  * (shm `FrameHandle`s / tRPC), so no addon declares `execution.group`
12385
- * and `CAMSTACK_RUNNER_ADDONS` always carries a single element. The
12385
+ * and `DOMINEVO_RUNNER_ADDONS` always carries a single element. The
12386
12386
  * runner still accepts a multi-element array structurally — that is a
12387
12387
  * mechanism, not a policy; no manifest exercises it.
12388
12388
  *
@@ -12409,12 +12409,12 @@ async function runWorkerDeviceRestoreWithRetry(addon, context, addonId, sourceNo
12409
12409
  * connect, so init-time logs/events are preserved.
12410
12410
  *
12411
12411
  * Environment variables:
12412
- * - CAMSTACK_RUNNER_ID — runner label (becomes the nodeID suffix)
12413
- * - CAMSTACK_RUNNER_ADDONS — JSON array of `{ addonId, addonDir }`
12414
- * - CAMSTACK_PARENT_NODE_ID — hub or agent nodeID
12415
- * - CAMSTACK_PARENT_UDS_PATH — REQUIRED: the parent's UDS endpoint
12416
- * - CAMSTACK_DATA_DIR — addon data root (default ./camstack-data)
12417
- * - CAMSTACK_LOG_LEVEL — log level (default debug)
12412
+ * - DOMINEVO_RUNNER_ID — runner label (becomes the nodeID suffix)
12413
+ * - DOMINEVO_RUNNER_ADDONS — JSON array of `{ addonId, addonDir }`
12414
+ * - DOMINEVO_PARENT_NODE_ID — hub or agent nodeID
12415
+ * - DOMINEVO_PARENT_UDS_PATH — REQUIRED: the parent's UDS endpoint
12416
+ * - DOMINEVO_DATA_DIR — addon data root (default ./dominevo-data)
12417
+ * - DOMINEVO_LOG_LEVEL — log level (default debug)
12418
12418
  *
12419
12419
  * Exits non-zero on fatal init failures so the parent process supervisor
12420
12420
  * can respawn. Graceful SIGTERM/SIGINT triggers `addon.shutdown()` for
@@ -12428,17 +12428,17 @@ process.on("unhandledRejection", (reason) => {
12428
12428
  console.error(`[addon-runner CRASH] unhandledRejection: ${(0, _dominevo_types_addon.errMsg)(reason)}\n${reason instanceof Error ? reason.stack ?? "" : ""}`);
12429
12429
  });
12430
12430
  process.on("exit", (code) => {
12431
- console.error(`[addon-runner EXIT] code=${String(code)} nodeId=${process.env["CAMSTACK_RUNNER_ID"] ?? "?"}`);
12431
+ console.error(`[addon-runner EXIT] code=${String(code)} nodeId=${process.env["DOMINEVO_RUNNER_ID"] ?? "?"}`);
12432
12432
  });
12433
12433
  for (const sig of [
12434
12434
  "SIGTERM",
12435
12435
  "SIGINT",
12436
12436
  "SIGHUP"
12437
12437
  ]) process.on(sig, () => {
12438
- console.error(`[addon-runner SIGNAL] received ${sig} nodeId=${process.env["CAMSTACK_RUNNER_ID"] ?? "?"}`);
12438
+ console.error(`[addon-runner SIGNAL] received ${sig} nodeId=${process.env["DOMINEVO_RUNNER_ID"] ?? "?"}`);
12439
12439
  });
12440
12440
  startRunnerParentDeathWatchdog(() => {
12441
- console.error(`[addon-runner] "${process.env["CAMSTACK_RUNNER_ID"] ?? "?"}" parent died — killing its process group`);
12441
+ console.error(`[addon-runner] "${process.env["DOMINEVO_RUNNER_ID"] ?? "?"}" parent died — killing its process group`);
12442
12442
  if (!killOwnRunnerGroupAfterParentLoss()) process.exit(0);
12443
12443
  });
12444
12444
  function isRecord(value) {
@@ -12450,9 +12450,9 @@ function parseAddonsSpec(raw) {
12450
12450
  try {
12451
12451
  parsed = JSON.parse(raw);
12452
12452
  } catch (err) {
12453
- throw new Error(`[addon-runner] CAMSTACK_RUNNER_ADDONS is not valid JSON: ${(0, _dominevo_types_addon.errMsg)(err)}`, { cause: err });
12453
+ throw new Error(`[addon-runner] DOMINEVO_RUNNER_ADDONS is not valid JSON: ${(0, _dominevo_types_addon.errMsg)(err)}`, { cause: err });
12454
12454
  }
12455
- if (!Array.isArray(parsed)) throw new Error(`[addon-runner] CAMSTACK_RUNNER_ADDONS must be a JSON array`);
12455
+ if (!Array.isArray(parsed)) throw new Error(`[addon-runner] DOMINEVO_RUNNER_ADDONS must be a JSON array`);
12456
12456
  const specs = [];
12457
12457
  for (const entry of parsed) {
12458
12458
  if (!isRecord(entry)) throw new Error(`[addon-runner] addon spec is not an object: ${JSON.stringify(entry)}`);
@@ -12469,7 +12469,7 @@ function parseAddonsSpec(raw) {
12469
12469
  async function loadAddonModule(addonId, addonDir) {
12470
12470
  const pkgJsonPath = node_path.join(addonDir, "package.json");
12471
12471
  if (!node_fs.existsSync(pkgJsonPath)) throw new Error(`No package.json at ${addonDir}`);
12472
- const declaration = JSON.parse(node_fs.readFileSync(pkgJsonPath, "utf-8"))["camstack"]?.addons?.find((a) => a.id === addonId);
12472
+ const declaration = JSON.parse(node_fs.readFileSync(pkgJsonPath, "utf-8"))["dominevo"]?.addons?.find((a) => a.id === addonId);
12473
12473
  if (!declaration?.entry) throw new Error(`Addon "${addonId}" not found in ${pkgJsonPath} manifest`);
12474
12474
  const entryPath = node_path.resolve(addonDir, declaration.entry);
12475
12475
  if (!node_fs.existsSync(entryPath)) throw new Error(`Entry point not found: ${entryPath}`);
@@ -12484,12 +12484,12 @@ async function loadAddonModule(addonId, addonDir) {
12484
12484
  };
12485
12485
  }
12486
12486
  async function main() {
12487
- const runnerId = process.env["CAMSTACK_RUNNER_ID"];
12488
- const addonsJson = process.env["CAMSTACK_RUNNER_ADDONS"];
12489
- const parentNodeId = process.env["CAMSTACK_PARENT_NODE_ID"];
12490
- const dataDir = process.env["CAMSTACK_DATA_DIR"] ?? "./camstack-data";
12487
+ const runnerId = process.env["DOMINEVO_RUNNER_ID"];
12488
+ const addonsJson = process.env["DOMINEVO_RUNNER_ADDONS"];
12489
+ const parentNodeId = process.env["DOMINEVO_PARENT_NODE_ID"];
12490
+ const dataDir = process.env["DOMINEVO_DATA_DIR"] ?? "./dominevo-data";
12491
12491
  if (!runnerId || !addonsJson || !parentNodeId) {
12492
- console.error("[addon-runner] Missing required env vars: CAMSTACK_RUNNER_ID, CAMSTACK_RUNNER_ADDONS, CAMSTACK_PARENT_NODE_ID");
12492
+ console.error("[addon-runner] Missing required env vars: DOMINEVO_RUNNER_ID, DOMINEVO_RUNNER_ADDONS, DOMINEVO_PARENT_NODE_ID");
12493
12493
  process.exit(1);
12494
12494
  }
12495
12495
  let specs;
@@ -12500,16 +12500,16 @@ async function main() {
12500
12500
  process.exit(1);
12501
12501
  }
12502
12502
  if (specs.length === 0) {
12503
- console.error("[addon-runner] CAMSTACK_RUNNER_ADDONS resolved to 0 addons — refusing to start");
12503
+ console.error("[addon-runner] DOMINEVO_RUNNER_ADDONS resolved to 0 addons — refusing to start");
12504
12504
  process.exit(1);
12505
12505
  }
12506
12506
  const nodeId = `${parentNodeId}/${runnerId}`;
12507
- if (!process.env["CAMSTACK_PARENT_UDS_PATH"]) {
12508
- console.error(`[addon-runner] "${nodeId}" CAMSTACK_PARENT_UDS_PATH is unset — broker-less runner cannot reach its parent. Exiting.`);
12507
+ if (!process.env["DOMINEVO_PARENT_UDS_PATH"]) {
12508
+ console.error(`[addon-runner] "${nodeId}" DOMINEVO_PARENT_UDS_PATH is unset — broker-less runner cannot reach its parent. Exiting.`);
12509
12509
  process.exit(1);
12510
12510
  }
12511
12511
  console.log(`[addon-runner] Starting "${nodeId}" (UDS-only) with ${specs.length} addon(s): ${specs.map((s) => s.addonId).join(", ")}`);
12512
- registerFrameworkResolver(process.env["CAMSTACK_FRAMEWORK_DIR"]);
12512
+ registerFrameworkResolver(process.env["DOMINEVO_FRAMEWORK_DIR"]);
12513
12513
  const loadedModules = [];
12514
12514
  for (const spec of specs) try {
12515
12515
  const { declaration, AddonClass } = await loadAddonModule(spec.addonId, spec.addonDir);
@@ -12794,8 +12794,8 @@ async function main() {
12794
12794
  runnerLog.info(`"${nodeId}" started — ${loaded.length} addon(s) ready (UDS connected)`);
12795
12795
  process.stdout.write(`READY:${nodeId}\n`);
12796
12796
  const stopHeapWatch = startRunnerHeapWatch({
12797
- heapProfile: process.env["CAMSTACK_RUNNER_HEAP_PROFILE"],
12798
- reclaimSwitch: process.env["CAMSTACK_RUNNER_HEAP_RECLAIM"],
12797
+ heapProfile: process.env["DOMINEVO_RUNNER_HEAP_PROFILE"],
12798
+ reclaimSwitch: process.env["DOMINEVO_RUNNER_HEAP_RECLAIM"],
12799
12799
  rssBudgetMb: process.env[RUNNER_RSS_BUDGET_ENV],
12800
12800
  label: nodeId,
12801
12801
  sink: {