@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.
- package/.env.example +4 -4
- package/CHANGELOG.md +13 -0
- package/THIRD_PARTY_MODELS.md +13 -13
- package/dist/addon-root-inventory.js +5 -5
- package/dist/agent/agent-config.js +8 -8
- package/dist/agent/agent-group-runner.js +2 -2
- package/dist/agent/agent-http.js +4 -4
- package/dist/agent/agent-infra-capabilities.js +2 -2
- package/dist/agent/agent-self-update.js +3 -3
- package/dist/agent/agent-service.js +3 -3
- package/dist/agent/agent-update-service.js +10 -10
- package/dist/agent/derive-hub-url.js +3 -3
- package/dist/agent/main.js +20 -20
- package/dist/agent/stale-addon-gate.js +7 -7
- package/dist/api/addon-upload.js +12 -12
- package/dist/api/core/auth.router.js +7 -7
- package/dist/api/core/cap-providers.js +1 -1
- package/dist/api/core/logging-settings.js +1 -1
- package/dist/api/core/request-census-settings.js +1 -1
- package/dist/api/cors/cors-policy.js +5 -5
- package/dist/api/dev-uploads-bundle.js +1 -1
- package/dist/api/logs-export-route.js +1 -1
- package/dist/api/model-distributor.js +1 -1
- package/dist/api/server-upload-propagate.js +1 -1
- package/dist/api/server-upload.js +2 -2
- package/dist/api/static/spa-mount.js +3 -3
- package/dist/api/static/spa-static.js +1 -1
- package/dist/api/tarball-manifest.js +4 -4
- package/dist/api/trpc/http-request-census.js +1 -1
- package/dist/api/trpc/trpc.router.js +7 -7
- package/dist/auth/addon-route-share-gate.js +2 -2
- package/dist/auth/app-confirm-page.js +1 -1
- package/dist/auth/app-confirmations.js +2 -2
- package/dist/auth/app-passkey-page.js +1 -1
- package/dist/auth/native-return.js +1 -1
- package/dist/auth/session-cookie.js +2 -2
- package/dist/auth/sso-routes.js +1 -1
- package/dist/boot/boot-config.js +3 -3
- package/dist/boot/post-boot.service.js +2 -2
- package/dist/boot/retired-public-url-env.js +3 -3
- package/dist/bootstrap-packages.js +3 -3
- package/dist/closure-patches/patch-reach.json +7 -7
- package/dist/closure-patches/werift+0.22.9.patch +34 -34
- package/dist/core/addon/addon-package.service.js +32 -32
- package/dist/core/addon/addon-registry.service.js +34 -34
- package/dist/core/addon/addon-requirements.js +8 -8
- package/dist/core/addon/addon-search.service.js +2 -2
- package/dist/core/addon/hub-addon-support.js +2 -2
- package/dist/core/addon/read-packed-file.js +1 -1
- package/dist/core/addon-bridge/addon-bridge.service.js +6 -6
- package/dist/core/addon-pages/addon-pages.service.js +1 -1
- package/dist/core/agent/agent-registry.service.js +1 -1
- package/dist/core/agent/delivery-requirements.js +1 -1
- package/dist/core/app-links/well-known-app-links.js +7 -9
- package/dist/core/auth/handoff-code.service.js +1 -1
- package/dist/core/moleculer/moleculer.service.js +6 -6
- package/dist/core/release-identity.js +2 -2
- package/dist/core/server-update/server-update.service.js +9 -9
- package/dist/core/updates/node-update-announcement.js +1 -1
- package/dist/core/updates/wrapper-update-checker.js +1 -1
- package/dist/framework-nodepath.js +1 -1
- package/dist/i18n/request-lang.js +1 -1
- package/dist/launch-args.js +4 -4
- package/dist/launcher.js +14 -14
- package/dist/main.js +9 -9
- package/dist/manual-boot.js +5 -5
- package/dist/node-role.js +2 -2
- package/dist/package-inventory.js +1 -1
- package/dist/pending-restore.js +1 -1
- package/dist/server-root/index.js +11 -11
- package/dist/single-copy-cleanup-runner.js +2 -2
- package/dist/single-copy-cleanup.js +2 -2
- package/dist/starter.js +9 -9
- package/package.json +20 -71
- package/system/dist/addon-runner.js +59 -59
- package/system/dist/addon-runner.mjs +59 -59
- package/system/dist/{addon-settings.cap-Cxgig-la.mjs → addon-settings.cap-CyWCCPvU.mjs} +1 -1
- package/system/dist/{addon-settings.cap-B3KYrDyh.js → addon-settings.cap-DT34AC0I.js} +1 -1
- package/system/dist/addon-utils.d.ts +1 -1
- package/system/dist/addon-utils.js +1 -1
- package/system/dist/addon-utils.mjs +1 -1
- package/system/dist/auth/device-ca.d.ts +3 -3
- package/system/dist/auth/origin.d.ts +1 -1
- package/system/dist/{base-addon--EzLZ64f.js → base-addon-CwtR9jMm.js} +8 -28
- package/system/dist/{base-addon-D6i6fCDD.mjs → base-addon-DCfRA4Sq.mjs} +8 -28
- package/system/dist/{base-device-Aptq2PHd.js → base-device-B3OJaaod.js} +3 -3
- package/system/dist/{base-device-CuQ3xFwc.mjs → base-device-QXPOGWz3.mjs} +3 -3
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.d.ts +1 -1
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +5 -5
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +5 -5
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +4 -4
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +4 -4
- package/system/dist/builtins/alerts/alerts.addon.js +7 -7
- package/system/dist/builtins/alerts/alerts.addon.mjs +7 -7
- package/system/dist/builtins/apps-aggregator/apps-aggregator.addon.js +1 -1
- package/system/dist/builtins/apps-aggregator/apps-aggregator.addon.mjs +1 -1
- package/system/dist/builtins/autotrack/index.js +2 -2
- package/system/dist/builtins/autotrack/index.mjs +2 -2
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.d.ts +1 -1
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +5 -5
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +5 -5
- package/system/dist/builtins/backup-orchestrator/manifest-store.d.ts +1 -1
- package/system/dist/builtins/calendars/calendars.addon.js +2 -2
- package/system/dist/builtins/calendars/calendars.addon.mjs +2 -2
- package/system/dist/builtins/camera-grid/index.js +5 -5
- package/system/dist/builtins/camera-grid/index.mjs +5 -5
- package/system/dist/builtins/composer/composer.addon.js +10 -10
- package/system/dist/builtins/composer/composer.addon.mjs +10 -10
- package/system/dist/builtins/console-logging/index.js +1 -1
- package/system/dist/builtins/console-logging/index.mjs +1 -1
- package/system/dist/builtins/core-blocks/core-blocks.addon.js +22 -22
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +20 -20
- package/system/dist/builtins/core-notifier/core-notifier.addon.js +3 -3
- package/system/dist/builtins/core-notifier/core-notifier.addon.mjs +3 -3
- package/system/dist/builtins/device-history/device-history.addon.js +6 -6
- package/system/dist/builtins/device-history/device-history.addon.mjs +6 -6
- package/system/dist/builtins/device-history/store/history-schema.d.ts +1 -1
- package/system/dist/builtins/device-manager/device-manager.addon.js +29 -29
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +16 -16
- package/system/dist/builtins/device-manager/device-row-store.d.ts +1 -1
- package/system/dist/builtins/device-manager/fleet-read-census.d.ts +1 -1
- package/system/dist/builtins/device-manager/runtime-state-persist-gate.d.ts +1 -1
- package/system/dist/builtins/hub-forwarder/index.js +1 -1
- package/system/dist/builtins/hub-forwarder/index.mjs +1 -1
- package/system/dist/builtins/keychain/index.js +15 -15
- package/system/dist/builtins/keychain/index.mjs +15 -15
- package/system/dist/builtins/keychain/key-sources.d.ts +2 -2
- package/system/dist/builtins/keychain/keychain-store.d.ts +1 -1
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.js +5 -5
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +5 -5
- package/system/dist/builtins/local-auth/auth-schema.d.ts +1 -1
- package/system/dist/builtins/local-auth/local-auth.addon.js +24 -24
- package/system/dist/builtins/local-auth/local-auth.addon.mjs +14 -14
- package/system/dist/builtins/local-network/agent-mdns.d.ts +1 -1
- package/system/dist/builtins/local-network/hub-mdns.d.ts +1 -1
- package/system/dist/builtins/local-network/local-network.addon.d.ts +3 -3
- package/system/dist/builtins/local-network/local-network.addon.js +15 -15
- package/system/dist/builtins/local-network/local-network.addon.mjs +15 -15
- package/system/dist/builtins/loki-logging/index.js +7 -7
- package/system/dist/builtins/loki-logging/index.mjs +7 -7
- package/system/dist/builtins/loki-logging/loki-payload.d.ts +1 -1
- package/system/dist/builtins/native-metrics/cgroup-memory.d.ts +3 -3
- package/system/dist/builtins/native-metrics/native-metrics.addon.d.ts +2 -2
- package/system/dist/builtins/native-metrics/native-metrics.addon.js +14 -14
- package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +14 -14
- package/system/dist/builtins/native-metrics/process-classification.d.ts +8 -8
- package/system/dist/builtins/platform-probe/accelerator-facts-probe.d.ts +1 -1
- package/system/dist/builtins/platform-probe/coral-accelerators.d.ts +2 -2
- package/system/dist/builtins/platform-probe/index.js +3 -3
- package/system/dist/builtins/platform-probe/index.mjs +3 -3
- package/system/dist/builtins/record-entries/index.js +3 -3
- package/system/dist/builtins/record-entries/index.mjs +3 -3
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/snapshot/index.js +4 -4
- package/system/dist/builtins/snapshot/index.mjs +4 -4
- package/system/dist/builtins/sqlite-storage/file-host-handlers.d.ts +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.d.ts +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +3 -3
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +3 -3
- package/system/dist/builtins/sqlite-storage/index.js +1 -1
- package/system/dist/builtins/sqlite-storage/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/migrations/migration-pass.d.ts +1 -1
- package/system/dist/builtins/sqlite-storage/owned-sqlite-file.d.ts +1 -1
- package/system/dist/builtins/sqlite-storage/query-profiler.d.ts +1 -1
- package/system/dist/builtins/sqlite-storage/sqlite-pragmas.d.ts +2 -2
- package/system/dist/builtins/sqlite-storage/sqlite-settings-backend.d.ts +1 -1
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +19 -19
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +19 -19
- package/system/dist/builtins/storage-orchestrator/access-guards.d.ts +1 -1
- package/system/dist/builtins/storage-orchestrator/location-secrets.d.ts +1 -1
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.d.ts +3 -3
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +18 -18
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +18 -18
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.service.d.ts +3 -3
- package/system/dist/builtins/system-backup/backup-encryption.d.ts +1 -1
- package/system/dist/builtins/system-backup/system-backup.service.d.ts +1 -1
- package/system/dist/builtins/system-config/system-config.addon.js +31 -31
- package/system/dist/builtins/system-config/system-config.addon.mjs +31 -31
- package/system/dist/builtins/winston-logging/index.js +5 -5
- package/system/dist/builtins/winston-logging/index.mjs +5 -5
- package/system/dist/builtins/winston-logging/log-file-cursor.d.ts +1 -1
- package/system/dist/{cap-call-context-DnLdYSyR.js → cap-call-context-3-L-JQ3d.js} +2 -2
- package/system/dist/{cap-call-context-D-su61hv.mjs → cap-call-context-C_59UKvE.mjs} +2 -2
- package/system/dist/{command-catalog-Cgz3MwLW.mjs → command-catalog-88WjnitG.mjs} +1 -1
- package/system/dist/{command-catalog-0Q83jcdv.js → command-catalog-Bt0rkK6T.js} +1 -1
- package/system/dist/{composition-sources-GNsOlYlG.js → composition-sources-BD_14SLn.js} +2 -2
- package/system/dist/{composition-sources-Dzx55O4S.mjs → composition-sources-BxNM5HHY.mjs} +2 -2
- package/system/dist/{constants-DVHYGlyi.js → constants-B8umFEGY.js} +2 -2
- package/system/dist/{constants-bg2DX4I6.mjs → constants-C86EPRS1.mjs} +2 -2
- package/system/dist/{custom-action-registry-DHOCDRef.js → custom-action-registry-C_yB2qlc.js} +125 -125
- package/system/dist/{custom-action-registry-Bd52pRgO.mjs → custom-action-registry-Ci7Lw1TM.mjs} +125 -125
- package/system/dist/{database-snapshot.cap-BymU4Xk9.js → database-snapshot.cap--dYj7W3i.js} +1 -1
- package/system/dist/{database-snapshot.cap-DAVS29qN.mjs → database-snapshot.cap-DfMxWoak.mjs} +1 -1
- package/system/dist/{declared-device-BSxSa0O8.js → declared-device-BFexdYcl.js} +1 -1
- package/system/dist/{declared-device-C4zPkK6G.mjs → declared-device-D-fwNbiU.mjs} +1 -1
- package/system/dist/{device-ca-BgYUqBEB.js → device-ca-CXDTXX4c.js} +8 -8
- package/system/dist/{device-ca-AvfcD1AT.mjs → device-ca-Du6rfexI.mjs} +8 -8
- package/system/dist/{device-certificate-IVBnrTHH.js → device-certificate-6irX-VEC.js} +4 -4
- package/system/dist/{device-certificate-Kh05tlrX.mjs → device-certificate-B5LojTd8.mjs} +4 -4
- package/system/dist/{device-manager.cap-zbFHbXlg.mjs → device-manager.cap-3gMy5WyI.mjs} +1 -1
- package/system/dist/{device-manager.cap-B-zweScL.js → device-manager.cap-CVm8e--n.js} +1 -1
- package/system/dist/{device-removal-reconcile-DSYwdCX-.mjs → device-removal-reconcile-Bca9Xmxa.mjs} +2 -2
- package/system/dist/{device-removal-reconcile-hF3PFXaD.js → device-removal-reconcile-BtBOAfIX.js} +2 -2
- package/system/dist/{camstack-error-DJ-TUAi1.js → dominevo-error-CTBRQM6p.js} +4 -4
- package/system/dist/{camstack-error-viZYfcj9.mjs → dominevo-error-EgrighSX.mjs} +4 -4
- package/system/dist/download/hosted-model-revisions.d.ts +1 -1
- package/system/dist/{entry-kind-BOBbd1lw.mjs → entry-kind-DJSOxSX2.mjs} +2 -2
- package/system/dist/{entry-kind-BVqSwPqz.js → entry-kind-DzaK6R6L.js} +2 -2
- package/system/dist/file-host-worker.js +3 -3
- package/system/dist/file-host-worker.mjs +3 -3
- package/system/dist/framework-resolver-hook.mjs +1 -1
- package/system/dist/{hub-identity-C5oay5SY.js → hub-identity-DihZeMUF.js} +10 -10
- package/system/dist/{hub-identity-Ctf-OLhe.mjs → hub-identity-vHr6cT94.mjs} +10 -10
- package/system/dist/{hub-mdns-ciao-C9adAMGN.mjs → hub-mdns-ciao-CK1Y4z73.mjs} +39 -39
- package/system/dist/{hub-mdns-ciao-BjVwHmsr.js → hub-mdns-ciao-D2Rcz1Kb.js} +42 -42
- package/system/dist/index.js +152 -152
- package/system/dist/index.mjs +149 -149
- package/system/dist/{jobs.cap-DHu0iJ1C.js → jobs.cap-Blrf2noc.js} +4 -4
- package/system/dist/{jobs.cap-BPFm9yU4.mjs → jobs.cap-DdrDabtW.mjs} +4 -4
- package/system/dist/kernel/addon-class-resolver.d.ts +2 -2
- package/system/dist/kernel/addon-engine-manager.d.ts +2 -2
- package/system/dist/kernel/addon-installer.d.ts +12 -12
- package/system/dist/kernel/addon-loader.d.ts +6 -6
- package/system/dist/kernel/addon-version-policy.d.ts +1 -1
- package/system/dist/kernel/config-schema.d.ts +2 -2
- package/system/dist/kernel/deps/addon-deps-manager.d.ts +1 -1
- package/system/dist/kernel/deps/closure-dedupe.d.ts +3 -3
- package/system/dist/kernel/deps/ensure-addon-natives.d.ts +1 -1
- package/system/dist/kernel/deps/manifest-native-deps.d.ts +2 -2
- package/system/dist/kernel/deps/manifest-python-deps.d.ts +1 -1
- package/system/dist/kernel/deps/system-package-broker.d.ts +1 -1
- package/system/dist/kernel/deps/system-package-client.d.ts +1 -1
- package/system/dist/kernel/event-plane-report.d.ts +2 -2
- package/system/dist/kernel/fs-utils.d.ts +4 -4
- package/system/dist/kernel/heap-watch.d.ts +8 -8
- package/system/dist/kernel/index.d.ts +1 -1
- package/system/dist/kernel/moleculer/addon-context-factory.d.ts +3 -3
- package/system/dist/kernel/moleculer/addon-service-factory.d.ts +3 -3
- package/system/dist/kernel/moleculer/agent-event-scope.d.ts +2 -2
- package/system/dist/kernel/moleculer/agent-ui-unlock.d.ts +1 -1
- package/system/dist/kernel/moleculer/child-addon-call-dispatch.d.ts +2 -2
- package/system/dist/kernel/moleculer/event-bus-core.d.ts +1 -1
- package/system/dist/kernel/moleculer/event-bus.d.ts +5 -5
- package/system/dist/kernel/moleculer/mesh-mtls/constants.d.ts +1 -1
- package/system/dist/kernel/moleculer/mesh-mtls/mesh-membership.d.ts +1 -1
- package/system/dist/kernel/moleculer/mesh-mtls/pairing/pairing-protocol.d.ts +3 -3
- package/system/dist/kernel/moleculer/runner-heap-flags.d.ts +1 -1
- package/system/dist/kernel/moleculer/runner-native-allocator.d.ts +2 -2
- package/system/dist/kernel/moleculer/stream-probe-service.d.ts +1 -1
- package/system/dist/kernel/moleculer/worker-device-restore.d.ts +2 -2
- package/system/dist/kernel/requires-registry.d.ts +2 -2
- package/system/dist/kernel/transport/create-local-transport.d.ts +1 -1
- package/system/dist/kernel/transport/local-child-registry.d.ts +1 -1
- package/system/dist/kernel/transport/uds-event-bridge.d.ts +1 -1
- package/system/dist/kernel/unsupported-addon-tracker.d.ts +1 -1
- package/system/dist/{keychain-admin.cap-DOvL8TMG.mjs → keychain-admin.cap-C3eanzBT.mjs} +2 -2
- package/system/dist/{keychain-admin.cap-DcRCRWtu.js → keychain-admin.cap-yMG0j8XP.js} +2 -2
- package/system/dist/{legacy-integration-rows-door-CUpCwPm5.js → legacy-integration-rows-door-1c-XBxRt.js} +1 -1
- package/system/dist/{legacy-integration-rows-door-bidgp6kI.mjs → legacy-integration-rows-door-CYFvlkdt.mjs} +1 -1
- package/system/dist/{log-file-read-protocol-hTaAsYlX.mjs → log-file-read-protocol-B3Tq2F50.mjs} +2 -2
- package/system/dist/{log-file-read-protocol-DSV_vQRb.js → log-file-read-protocol-BRHlsNCj.js} +2 -2
- package/system/dist/log-file-read-worker.js +1 -1
- package/system/dist/log-file-read-worker.mjs +1 -1
- package/system/dist/logging/formatter.d.ts +1 -1
- package/system/dist/{metrics-provider.cap-01SwpLu5.mjs → metrics-provider.cap-BKzH22yb.mjs} +2 -2
- package/system/dist/{metrics-provider.cap-BMKD5FH3.js → metrics-provider.cap-H0RjdYQj.js} +2 -2
- package/system/dist/{migration-CHPdAdNh.js → migration-CvC7YRxn.js} +1 -1
- package/system/dist/{migration-BvbfW9g-.mjs → migration-DDDUJnTU.mjs} +1 -1
- package/system/dist/migrations/hub/index.d.ts +1 -1
- package/system/dist/{named-entity-store-EQovvtag.js → named-entity-store-B7MMnZq_.js} +1 -1
- package/system/dist/{named-entity-store-C2JkesQG.mjs → named-entity-store-CLIUOHkl.mjs} +1 -1
- package/system/dist/{network-access.cap-CxqbyUYK.js → network-access.cap-C97_DUK9.js} +10 -10
- package/system/dist/{network-access.cap-B918UjWD.mjs → network-access.cap-DcLn1v6p.mjs} +9 -9
- package/system/dist/{notification-targets-Cj6I9DzV.js → notification-targets-BH-Kq5zA.js} +2 -2
- package/system/dist/{notification-targets-cJTv1p6y.mjs → notification-targets-gTLSExN5.mjs} +2 -2
- package/system/dist/{platform-key-source-Di7HrlGR.js → platform-key-source-DERonx7U.js} +1 -1
- package/system/dist/{platform-key-source-BWlq0jjn.mjs → platform-key-source-vw43KkgD.mjs} +1 -1
- package/system/dist/{record-entries.cap-jKkDRzZG.mjs → record-entries.cap-DqaspI30.mjs} +2 -2
- package/system/dist/{record-entries.cap-RXnOab_5.js → record-entries.cap-u4EjNUWg.js} +2 -2
- package/system/dist/{record-kind-Cm1DO1qJ.js → record-kind-BYbL_LNZ.js} +1 -1
- package/system/dist/{record-kind-DXFsj6uF.mjs → record-kind-DpcGjBK1.mjs} +1 -1
- package/system/dist/{record-kinds-CLYE4x8E.js → record-kinds-CF3IIGeU.js} +6 -6
- package/system/dist/{record-kinds-Xm95PUr5.mjs → record-kinds-HynLKMsB.mjs} +6 -6
- package/system/dist/{recording-archive.cap-BFiEztoo.js → recording-archive.cap-DPyT1msn.js} +5 -5
- package/system/dist/{recording-archive.cap-DljrTthl.mjs → recording-archive.cap-DoeNelun.mjs} +4 -4
- package/system/dist/{records.cap-BDUsx56H.mjs → records.cap-A6ZnC18-.mjs} +2 -2
- package/system/dist/{records.cap-DKDON4zv.js → records.cap-CrdoSJ1h.js} +2 -2
- package/system/dist/{rename-composition-block-BdhK2udh.mjs → rename-composition-block-CMfftDfW.mjs} +43 -43
- package/system/dist/{rename-composition-block-CJ-XbDsk.js → rename-composition-block-CeKeUquQ.js} +43 -43
- package/system/dist/{restore-archive-BQhYL8c4.mjs → restore-archive-CyUiUvKj.mjs} +11 -11
- package/system/dist/{restore-archive-DWIM3J3f.js → restore-archive-LKIQ4CNL.js} +11 -11
- package/system/dist/{retention-source.cap-BvNRqbz3.js → retention-source.cap-CuI320Je.js} +1 -1
- package/system/dist/{retention-source.cap-DUPeqB5h.mjs → retention-source.cap-DLKW-DAE.mjs} +1 -1
- package/system/dist/{retired-settings-keys-BFLkouoC.mjs → retired-settings-keys-Dakm_ir-.mjs} +1 -1
- package/system/dist/{retired-settings-keys-DNi9qA3K.js → retired-settings-keys-DdoaQDUr.js} +1 -1
- package/system/dist/{scoped-settings-DbyAaIot.js → scoped-settings-8uzhJVsE.js} +3 -3
- package/system/dist/{scoped-settings-d2_FTMty.mjs → scoped-settings-DnkTDuvk.mjs} +3 -3
- package/system/dist/{settings-store.cap-BhOIBtO4.js → settings-store.cap-DqFgT2Xo.js} +1 -1
- package/system/dist/{settings-store.cap-CaDSOqgK.mjs → settings-store.cap-DxsDTQxb.mjs} +1 -1
- package/system/dist/{state-refresh-scheduler-GlExK5Pt.js → state-refresh-scheduler-8_rBg2-4.js} +1 -1
- package/system/dist/{state-refresh-scheduler-CJuGzqZh.mjs → state-refresh-scheduler-B3pfIHRS.mjs} +1 -1
- package/system/dist/{storage-admin.cap-DPH4dWEl.js → storage-admin.cap-BndyGERv.js} +5 -5
- package/system/dist/{storage-admin.cap-CP_CtM0h.mjs → storage-admin.cap-DOZ5tsKA.mjs} +5 -5
- package/system/dist/{storage-migration.cap-DT_sdxio.js → storage-migration.cap-C52LxDX2.js} +4 -4
- package/system/dist/{storage-migration.cap-BonKGHaA.mjs → storage-migration.cap-DRl4rt-0.mjs} +4 -4
- package/system/dist/{storage-occupancy.cap-avoVkjfF.js → storage-occupancy.cap-CiGDOgpG.js} +3 -3
- package/system/dist/{storage-occupancy.cap-B_YU_aX3.mjs → storage-occupancy.cap-_VVBswn4.mjs} +3 -3
- package/system/dist/{stream-catalog.cap-Blw9nJ-a.js → stream-catalog.cap-Bl0BSYye.js} +4 -4
- package/system/dist/{stream-catalog.cap-D08FM3ow.mjs → stream-catalog.cap-C7vlYIih.mjs} +4 -4
- package/system/dist/tls/cert-evaluation.d.ts +3 -3
- package/system/dist/tls/cert-issue.d.ts +2 -2
- package/system/dist/tls/cert-manager.d.ts +7 -7
- package/system/dist/tls/tls-actions.d.ts +1 -1
- package/system/dist/tls/tls-status.d.ts +1 -1
- package/system/dist/{user-management.cap-BIOAtxeX.js → user-management.cap-D9EcsR2c.js} +2 -2
- package/system/dist/{user-management.cap-D8lVSHRA.mjs → user-management.cap-mDnBlJay.mjs} +2 -2
- package/system/dist/{wal-maintenance-8cxZxWU2.js → wal-maintenance-BPDo9Jao.js} +9 -9
- package/system/dist/{wal-maintenance-BGa2lDZp.mjs → wal-maintenance-SArcuHLu.mjs} +9 -9
- package/system/package.json +3 -3
|
@@ -81,7 +81,7 @@ export interface RunnerNativeAllocatorEnv {
|
|
|
81
81
|
* Resolve the native-allocator env for a child runner from the parent's env.
|
|
82
82
|
*
|
|
83
83
|
* Precedence, highest first:
|
|
84
|
-
* 1. `
|
|
84
|
+
* 1. `DOMINEVO_RUNNER_NATIVE_ALLOCATOR=off` — kill switch, returns nothing and
|
|
85
85
|
* restores the glibc/sharp defaults. Recoverable without a rebuild.
|
|
86
86
|
* 2. A value the operator already put in the environment (`MALLOC_ARENA_MAX`,
|
|
87
87
|
* `VIPS_CONCURRENCY`) — inherited verbatim, never overwritten.
|
|
@@ -98,7 +98,7 @@ export declare function runnerNativeAllocatorEnv(parentEnv: NodeJS.ProcessEnv, p
|
|
|
98
98
|
* INHERITS them, and a kill switch that only omits is a kill switch that does
|
|
99
99
|
* nothing.
|
|
100
100
|
*
|
|
101
|
-
* So `
|
|
101
|
+
* So `DOMINEVO_RUNNER_NATIVE_ALLOCATOR=off` DELETES. And only that: the
|
|
102
102
|
* non-linux path returns nothing to add for its own reasons (the pin is a pure
|
|
103
103
|
* throughput cut there — measured `sharp.concurrency()` 6 on the darwin agent
|
|
104
104
|
* against 1 on the linux hub) and must not be read as "remove what the operator
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Moleculer transport without needing the HTTPS tRPC WSS link.
|
|
7
7
|
*
|
|
8
8
|
* Why not reuse the tRPC router? Workers default to
|
|
9
|
-
* `brokerTransportLink` when `
|
|
9
|
+
* `brokerTransportLink` when `DOMINEVO_HUB_API_URL` isn't set; the link
|
|
10
10
|
* naively maps every `op.path` to `<addonId>.<capName>.<method>` and
|
|
11
11
|
* fails with "Service not found" for core (non-capability) routers.
|
|
12
12
|
* `$stream-probe` is the canonical cross-process entrypoint — the
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare function runWorkerDeviceRestoreWithRetry(addon:
|
|
1
|
+
import type { IDominevoAddon, IEventBus, IScopedLogger } from "@dominevo/types";
|
|
2
|
+
export declare function runWorkerDeviceRestoreWithRetry(addon: IDominevoAddon, context: {
|
|
3
3
|
api?: unknown;
|
|
4
4
|
eventBus?: IEventBus;
|
|
5
5
|
logger?: IScopedLogger | {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Reading `
|
|
2
|
+
* Reading `dominevo.requires` and the version list of a package from the npm
|
|
3
3
|
* registry, through the SAME doors the install uses (planning#447, D989).
|
|
4
4
|
*
|
|
5
5
|
* The install fetches the registry document over plain HTTP and falls back to
|
|
@@ -16,7 +16,7 @@ export declare class RegistryReadError extends Error {
|
|
|
16
16
|
constructor(kind: RegistryReadFailure, message: string);
|
|
17
17
|
}
|
|
18
18
|
export interface RequiresRegistry {
|
|
19
|
-
/** `
|
|
19
|
+
/** `dominevo.requires` of `packageName@spec`; `undefined` when it declares none. */
|
|
20
20
|
requiresOf(packageName: string, spec: string): Promise<PackageRequires | undefined>;
|
|
21
21
|
/** Stable versions of the package, newest first. */
|
|
22
22
|
versions(packageName: string): Promise<readonly string[]>;
|
|
@@ -2,6 +2,6 @@ import type { LocalTransportFactory } from "./local-transport.js";
|
|
|
2
2
|
/**
|
|
3
3
|
* The extension seam. UDS is the only shipped implementation; a future
|
|
4
4
|
* transport implements `LocalTransportFactory` and is selected here (e.g. via
|
|
5
|
-
* a `
|
|
5
|
+
* a `DOMINEVO_LOCAL_TRANSPORT` env) without touching any consumer.
|
|
6
6
|
*/
|
|
7
7
|
export declare function createLocalTransport(): LocalTransportFactory;
|
|
@@ -464,7 +464,7 @@ export declare class LocalChildRegistry {
|
|
|
464
464
|
* (`null`) → always (fail-open, counted by {@link undeclaredChildCount});
|
|
465
465
|
* else the child's declared set must match via `matchesPattern` — the SAME
|
|
466
466
|
* function the child's own `deliverShared` map-key gate uses, giving provable
|
|
467
|
-
* delivery parity. The parent always filters: the `
|
|
467
|
+
* delivery parity. The parent always filters: the `DOMINEVO_UDS_EVENT_FANOUT`
|
|
468
468
|
* shadow/broadcast modes were removed on 2026-10-06.
|
|
469
469
|
*
|
|
470
470
|
* NOTE: this gate must NOT consult `RING_BUFFER_DENY_PATTERNS` /
|
|
@@ -35,7 +35,7 @@ import type { IEventBus, SystemEvent } from "@dominevo/types";
|
|
|
35
35
|
* `event.category` (mirror of each child's local `SharedBusState.handlers`
|
|
36
36
|
* keys). A child that never declared a set (legacy/undeclared) fails OPEN and
|
|
37
37
|
* receives everything. There is no kill-switch any more (the
|
|
38
|
-
* `
|
|
38
|
+
* `DOMINEVO_UDS_EVENT_FANOUT` modes were removed on 2026-10-06). The bridge itself
|
|
39
39
|
* needs no per-event logic change — both fan-out call sites here go through the
|
|
40
40
|
* filtered `broadcastEventToChildren`. `sendEventToChild` (targeted push) is
|
|
41
41
|
* NOT filtered — an explicit single-child send expresses intent.
|
|
@@ -3,7 +3,7 @@ import type { SystemEvent } from "@dominevo/types";
|
|
|
3
3
|
* The operator alert for an addon that RUNS below the version the server needs.
|
|
4
4
|
*
|
|
5
5
|
* An addon whose installed package is under the running server's minimum
|
|
6
|
-
* (`
|
|
6
|
+
* (`dominevo.requires.addons`, or its own `requires.server`) is always started:
|
|
7
7
|
* a held-back addon is invisible and silently loses its function, and the
|
|
8
8
|
* `CrashSupervisor` (D6) already bounds a crash loop. What the operator needs is
|
|
9
9
|
* to SEE it, so this tracker turns the gate's verdict into one alert pair on the
|
|
@@ -139,7 +139,7 @@ var keychainCapability = {
|
|
|
139
139
|
* returns a value.
|
|
140
140
|
*
|
|
141
141
|
* The master key's LOCATION is a fixed path, never an env var (D788, D991):
|
|
142
|
-
* `/run/secrets/
|
|
142
|
+
* `/run/secrets/dominevo-master-key` when that file exists, the OS keychain on
|
|
143
143
|
* a desktop hub, else
|
|
144
144
|
* `<dataDir>/.keychain/master.key` — which sits beside the database in every
|
|
145
145
|
* whole-volume backup, and the status says so.
|
|
@@ -337,7 +337,7 @@ var keychainAdminCapability = {
|
|
|
337
337
|
* a new master key, write it there, re-wrap. A file or OS-keychain primary
|
|
338
338
|
* that is already in use cannot be replaced from here — put the new key at
|
|
339
339
|
* the source, keep the old one at
|
|
340
|
-
* `/run/secrets/
|
|
340
|
+
* `/run/secrets/dominevo-master-key.previous`, restart, and rotate. No value is re-encrypted either way; the previous wrap is kept
|
|
341
341
|
* (retired) until purged.
|
|
342
342
|
*/
|
|
343
343
|
rotateMasterKey: /* @__PURE__ */ method(/* @__PURE__ */ z.object({}), /* @__PURE__ */ z.object({
|
|
@@ -139,7 +139,7 @@ var keychainCapability = {
|
|
|
139
139
|
* returns a value.
|
|
140
140
|
*
|
|
141
141
|
* The master key's LOCATION is a fixed path, never an env var (D788, D991):
|
|
142
|
-
* `/run/secrets/
|
|
142
|
+
* `/run/secrets/dominevo-master-key` when that file exists, the OS keychain on
|
|
143
143
|
* a desktop hub, else
|
|
144
144
|
* `<dataDir>/.keychain/master.key` — which sits beside the database in every
|
|
145
145
|
* whole-volume backup, and the status says so.
|
|
@@ -337,7 +337,7 @@ var keychainAdminCapability = {
|
|
|
337
337
|
* a new master key, write it there, re-wrap. A file or OS-keychain primary
|
|
338
338
|
* that is already in use cannot be replaced from here — put the new key at
|
|
339
339
|
* the source, keep the old one at
|
|
340
|
-
* `/run/secrets/
|
|
340
|
+
* `/run/secrets/dominevo-master-key.previous`, restart, and rotate. No value is re-encrypted either way; the previous wrap is kept
|
|
341
341
|
* (retired) until purged.
|
|
342
342
|
*/
|
|
343
343
|
rotateMasterKey: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({}), /* @__PURE__ */ zod.z.object({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_base_addon = require("./base-addon
|
|
1
|
+
const require_base_addon = require("./base-addon-CwtR9jMm.js");
|
|
2
2
|
//#region src/builtins/sqlite-storage/migrations/legacy-integration-rows-door.ts
|
|
3
3
|
/**
|
|
4
4
|
* Migration-only door for the leftover integration rows (planning#416).
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as collectSecretMarkerRefs } from "./base-addon-
|
|
1
|
+
import { i as collectSecretMarkerRefs } from "./base-addon-DCfRA4Sq.mjs";
|
|
2
2
|
//#region src/builtins/sqlite-storage/migrations/legacy-integration-rows-door.ts
|
|
3
3
|
/**
|
|
4
4
|
* Migration-only door for the leftover integration rows (planning#416).
|
package/system/dist/{log-file-read-protocol-hTaAsYlX.mjs → log-file-read-protocol-B3Tq2F50.mjs}
RENAMED
|
@@ -11,8 +11,8 @@ import * as fs from "node:fs/promises";
|
|
|
11
11
|
* every caller (`w1.` + base64url JSON) and validated on the way back in: a
|
|
12
12
|
* cursor is client input, and its file name reaches `path.join`.
|
|
13
13
|
*/
|
|
14
|
-
/** `
|
|
15
|
-
var LOG_FILE_NAME_RE = /^
|
|
14
|
+
/** `dominevo-YYYY-MM-DD.log`, as `winston-daily-rotate-file` names them. */
|
|
15
|
+
var LOG_FILE_NAME_RE = /^dominevo-\d{4}-\d{2}-\d{2}\.log$/;
|
|
16
16
|
var CURSOR_PREFIX = "w1.";
|
|
17
17
|
var FileCursorSchema = z.object({
|
|
18
18
|
/** The daily file's name (never a path). */
|
package/system/dist/{log-file-read-protocol-DSV_vQRb.js → log-file-read-protocol-BRHlsNCj.js}
RENAMED
|
@@ -14,8 +14,8 @@ node_fs_promises = require_chunk.__toESM(node_fs_promises);
|
|
|
14
14
|
* every caller (`w1.` + base64url JSON) and validated on the way back in: a
|
|
15
15
|
* cursor is client input, and its file name reaches `path.join`.
|
|
16
16
|
*/
|
|
17
|
-
/** `
|
|
18
|
-
var LOG_FILE_NAME_RE = /^
|
|
17
|
+
/** `dominevo-YYYY-MM-DD.log`, as `winston-daily-rotate-file` names them. */
|
|
18
|
+
var LOG_FILE_NAME_RE = /^dominevo-\d{4}-\d{2}-\d{2}\.log$/;
|
|
19
19
|
var CURSOR_PREFIX = "w1.";
|
|
20
20
|
var FileCursorSchema = zod.z.object({
|
|
21
21
|
/** The daily file's name (never a path). */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_log_file_read_protocol = require("./log-file-read-protocol-
|
|
2
|
+
const require_log_file_read_protocol = require("./log-file-read-protocol-BRHlsNCj.js");
|
|
3
3
|
let node_worker_threads = require("node:worker_threads");
|
|
4
4
|
//#region src/builtins/winston-logging/log-file-read-worker.ts
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as LogFileIndexStore, i as serveRead, r as isToReader, t as CancelBook } from "./log-file-read-protocol-
|
|
1
|
+
import { a as LogFileIndexStore, i as serveRead, r as isToReader, t as CancelBook } from "./log-file-read-protocol-B3Tq2F50.mjs";
|
|
2
2
|
import { parentPort, workerData } from "node:worker_threads";
|
|
3
3
|
//#region src/builtins/winston-logging/log-file-read-worker.ts
|
|
4
4
|
/**
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* [Nest] 54994 - 04/20/2026, 12:45:53 AM LOG [InstanceLoader] TrpcModule dependencies initialized +0ms
|
|
10
10
|
*
|
|
11
|
-
* Mapping for
|
|
11
|
+
* Mapping for dominevo — cluster-aware:
|
|
12
12
|
* - `[Nest]` (brand bracket) → `[<agent>/<addonId>]` so operators see
|
|
13
13
|
* at a glance which node emitted the line
|
|
14
14
|
* (matches the cluster topology)
|
|
@@ -203,7 +203,7 @@ var ContainerMemoryPointSchema = /* @__PURE__ */ (/* @__PURE__ */ z.object({
|
|
|
203
203
|
* component of `currentBytes` and must not be subtracted from it; it says
|
|
204
204
|
* what put the shmem there, where `shmemBytes` only says how much.
|
|
205
205
|
*
|
|
206
|
-
* `null` wherever debugfs is not mounted — which is inside every
|
|
206
|
+
* `null` wherever debugfs is not mounted — which is inside every dominevo
|
|
207
207
|
* container today — and on any node with no Intel GPU.
|
|
208
208
|
*/
|
|
209
209
|
gpuShmemBytes: /* @__PURE__ */ z.number().nullable()
|
|
@@ -366,7 +366,7 @@ var metricsProviderCapability = {
|
|
|
366
366
|
*/
|
|
367
367
|
getAddonStats: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ addonId: /* @__PURE__ */ z.string() }), /* @__PURE__ */ PidResourceStatsSchema.nullable()),
|
|
368
368
|
/**
|
|
369
|
-
* Snapshot of every
|
|
369
|
+
* Snapshot of every dominevo-related process on this node with a
|
|
370
370
|
* root/managed/system classification. Powers the Cluster → Agent →
|
|
371
371
|
* Processes tab: cross-references `$process.list` against a `ps` scan so
|
|
372
372
|
* per-addon CPU and RSS can be attributed, and so a process the cluster
|
|
@@ -203,7 +203,7 @@ var ContainerMemoryPointSchema = /* @__PURE__ */ (/* @__PURE__ */ zod.z.object({
|
|
|
203
203
|
* component of `currentBytes` and must not be subtracted from it; it says
|
|
204
204
|
* what put the shmem there, where `shmemBytes` only says how much.
|
|
205
205
|
*
|
|
206
|
-
* `null` wherever debugfs is not mounted — which is inside every
|
|
206
|
+
* `null` wherever debugfs is not mounted — which is inside every dominevo
|
|
207
207
|
* container today — and on any node with no Intel GPU.
|
|
208
208
|
*/
|
|
209
209
|
gpuShmemBytes: /* @__PURE__ */ zod.z.number().nullable()
|
|
@@ -366,7 +366,7 @@ var metricsProviderCapability = {
|
|
|
366
366
|
*/
|
|
367
367
|
getAddonStats: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ addonId: /* @__PURE__ */ zod.z.string() }), /* @__PURE__ */ PidResourceStatsSchema.nullable()),
|
|
368
368
|
/**
|
|
369
|
-
* Snapshot of every
|
|
369
|
+
* Snapshot of every dominevo-related process on this node with a
|
|
370
370
|
* root/managed/system classification. Powers the Cluster → Agent →
|
|
371
371
|
* Processes tab: cross-references `$process.list` against a `ps` scan so
|
|
372
372
|
* per-addon CPU and RSS can be attributed, and so a process the cluster
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_settings_store_cap = require("./settings-store.cap-
|
|
1
|
+
const require_settings_store_cap = require("./settings-store.cap-DqFgT2Xo.js");
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
var MigrationIdSchema = /* @__PURE__ */ zod.z.string().regex(/^[a-z0-9-]+\/\d{4}-\d{2}-\d{2}-[a-z0-9-]+$/, "a migration id is \"<owner>/<yyyy-mm-dd>-<slug>\"");
|
|
4
4
|
var MigrationLevelSchema = /* @__PURE__ */ zod.z.enum([
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as DataStoreDatabaseSchema } from "./settings-store.cap-
|
|
1
|
+
import { a as DataStoreDatabaseSchema } from "./settings-store.cap-DxsDTQxb.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
var MigrationIdSchema = /* @__PURE__ */ z.string().regex(/^[a-z0-9-]+\/\d{4}-\d{2}-\d{2}-[a-z0-9-]+$/, "a migration id is \"<owner>/<yyyy-mm-dd>-<slug>\"");
|
|
4
4
|
var MigrationLevelSchema = /* @__PURE__ */ z.enum([
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The hub-store migration catalogue (D987): every migration the hub applies to
|
|
3
|
-
* `
|
|
3
|
+
* `dominevo.db`, `events.db` and `history.db` at boot, in declaration order.
|
|
4
4
|
*
|
|
5
5
|
* The engine shipped empty and is proven on test migrations; each real
|
|
6
6
|
* conversion arrives with the shape change that needs it, as one entry here with
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_jobs_cap = require("./jobs.cap-
|
|
1
|
+
const require_jobs_cap = require("./jobs.cap-Blrf2noc.js");
|
|
2
2
|
const require_compile = require("./compile-DToIehU4.js");
|
|
3
3
|
const require_time_window = require("./time-window-CEqgaWIS.js");
|
|
4
4
|
const require_read_all_rows$1 = require("./read-all-rows-CVoO1ONM.js");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $t as isQuantityValue, Bt as forEachLeaf, Ht as isEventLeaf, Jt as readFault, Kt as describeWantedFaults, Ut as compareValues, Wt as describeHoldMs, Xt as anySubjectMatches, qt as faultMatches, zt as eventLeafIdAt } from "./jobs.cap-
|
|
1
|
+
import { $t as isQuantityValue, Bt as forEachLeaf, Ht as isEventLeaf, Jt as readFault, Kt as describeWantedFaults, Ut as compareValues, Wt as describeHoldMs, Xt as anySubjectMatches, qt as faultMatches, zt as eventLeafIdAt } from "./jobs.cap-DdrDabtW.mjs";
|
|
2
2
|
import { lt as toExpressionValue, st as evaluateExpressionSource } from "./compile-BWflhCNY.mjs";
|
|
3
3
|
import { a as judgeTimeWindow } from "./time-window-Ca_fSdR-.mjs";
|
|
4
4
|
import { t as require_read_all_rows } from "./read-all-rows-TaPqdWNF.mjs";
|
|
@@ -4,12 +4,12 @@ const require_device_provider_cap = require("./device-provider.cap-CSlQocpV.js")
|
|
|
4
4
|
let zod = require("zod");
|
|
5
5
|
//#region ../types/dist/esm/capabilities/viewer-link-url.mjs
|
|
6
6
|
/** The central link domain the viewer app claims (Universal Links / App Links). */
|
|
7
|
-
var
|
|
7
|
+
var DOMINEVO_APP_LINK_ORIGIN = "https://camstack.zentik.app";
|
|
8
8
|
/** True when `baseUrl` names the Dominevo app link rather than a hub address. */
|
|
9
9
|
function isAppLinkBase(baseUrl) {
|
|
10
10
|
if (baseUrl === null || baseUrl === void 0 || baseUrl === "") return false;
|
|
11
11
|
try {
|
|
12
|
-
return new URL(baseUrl).origin ===
|
|
12
|
+
return new URL(baseUrl).origin === DOMINEVO_APP_LINK_ORIGIN;
|
|
13
13
|
} catch {
|
|
14
14
|
return false;
|
|
15
15
|
}
|
|
@@ -180,7 +180,7 @@ var PUBLIC_ENDPOINT_HTTP_REASON = "The public endpoint needs an https:// address
|
|
|
180
180
|
function checkRoleAddress(role, baseUrl, options = {}) {
|
|
181
181
|
if (isAppLinkBase(baseUrl)) return role === "notificationTaps" ? {
|
|
182
182
|
ok: true,
|
|
183
|
-
baseUrl:
|
|
183
|
+
baseUrl: DOMINEVO_APP_LINK_ORIGIN
|
|
184
184
|
} : {
|
|
185
185
|
ok: false,
|
|
186
186
|
reason: "The Dominevo app link is not a hub address — only notification taps can use it."
|
|
@@ -260,7 +260,7 @@ function resolveNotificationTapAddress(flags) {
|
|
|
260
260
|
};
|
|
261
261
|
return {
|
|
262
262
|
flagged: null,
|
|
263
|
-
resolved:
|
|
263
|
+
resolved: DOMINEVO_APP_LINK_ORIGIN,
|
|
264
264
|
source: "auto"
|
|
265
265
|
};
|
|
266
266
|
}
|
|
@@ -310,11 +310,11 @@ function resolveHubAddressRoles(appPalette, hubPalette, flags, rememberedPublicE
|
|
|
310
310
|
}
|
|
311
311
|
/**
|
|
312
312
|
* How a client finds a hub on the LAN (D838): the hub publishes ONE mDNS
|
|
313
|
-
* service for its HTTPS endpoint. `
|
|
313
|
+
* service for its HTTPS endpoint. `_dominevo._tcp` carries the hub's `internal`
|
|
314
314
|
* address in `url`, and nothing secret — finding a hub grants nothing, every
|
|
315
315
|
* client still signs in. The mesh channel stays retired (D826).
|
|
316
316
|
*/
|
|
317
|
-
var HUB_MDNS_SERVICE_TYPE = "
|
|
317
|
+
var HUB_MDNS_SERVICE_TYPE = "dominevo";
|
|
318
318
|
/** The TXT keys of the advertisement. Every value is public. */
|
|
319
319
|
var HUB_MDNS_TXT_KEYS = {
|
|
320
320
|
nodeId: "nodeId",
|
|
@@ -329,7 +329,7 @@ var HUB_MDNS_TXT_KEYS = {
|
|
|
329
329
|
* port, paired or not. The TXT record carries only public facts. Finding an agent grants
|
|
330
330
|
* nothing: pairing still needs the six-digit code confirmed on both screens.
|
|
331
331
|
*/
|
|
332
|
-
var AGENT_MDNS_SERVICE_TYPE = "
|
|
332
|
+
var AGENT_MDNS_SERVICE_TYPE = "dominevo-agent";
|
|
333
333
|
/** The TXT keys of the agent advertisement. Every value is public. */
|
|
334
334
|
var AGENT_MDNS_TXT_KEYS = {
|
|
335
335
|
nodeId: "nodeId",
|
|
@@ -729,7 +729,7 @@ var localNetworkCapability = {
|
|
|
729
729
|
* belongs to whoever already owns it). This method used to take a `port`
|
|
730
730
|
* and echo it onto every LAN and loopback URL it advertised, which made
|
|
731
731
|
* every client a second authority on a socket only the hub binds. A viewer
|
|
732
|
-
* configured with a port-less public URL (`https://
|
|
732
|
+
* configured with a port-less public URL (`https://dominevo.example.top`)
|
|
733
733
|
* infers 443 from the scheme, asks with 443, and was handed
|
|
734
734
|
* `https://192.168.10.9:443` for a hub listening on 4443. That candidate
|
|
735
735
|
* cannot ever answer, and losing its race reads in the log exactly like
|
|
@@ -1043,10 +1043,10 @@ Object.defineProperty(exports, "AGENT_MDNS_TXT_KEYS", {
|
|
|
1043
1043
|
return AGENT_MDNS_TXT_KEYS;
|
|
1044
1044
|
}
|
|
1045
1045
|
});
|
|
1046
|
-
Object.defineProperty(exports, "
|
|
1046
|
+
Object.defineProperty(exports, "DOMINEVO_APP_LINK_ORIGIN", {
|
|
1047
1047
|
enumerable: true,
|
|
1048
1048
|
get: function() {
|
|
1049
|
-
return
|
|
1049
|
+
return DOMINEVO_APP_LINK_ORIGIN;
|
|
1050
1050
|
}
|
|
1051
1051
|
});
|
|
1052
1052
|
Object.defineProperty(exports, "HUB_MDNS_SERVICE_TYPE", {
|
|
@@ -4,12 +4,12 @@ import { i as DiscoveryModeSchema, r as DiscoveryHitSchema } from "./device-prov
|
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region ../types/dist/esm/capabilities/viewer-link-url.mjs
|
|
6
6
|
/** The central link domain the viewer app claims (Universal Links / App Links). */
|
|
7
|
-
var
|
|
7
|
+
var DOMINEVO_APP_LINK_ORIGIN = "https://camstack.zentik.app";
|
|
8
8
|
/** True when `baseUrl` names the Dominevo app link rather than a hub address. */
|
|
9
9
|
function isAppLinkBase(baseUrl) {
|
|
10
10
|
if (baseUrl === null || baseUrl === void 0 || baseUrl === "") return false;
|
|
11
11
|
try {
|
|
12
|
-
return new URL(baseUrl).origin ===
|
|
12
|
+
return new URL(baseUrl).origin === DOMINEVO_APP_LINK_ORIGIN;
|
|
13
13
|
} catch {
|
|
14
14
|
return false;
|
|
15
15
|
}
|
|
@@ -180,7 +180,7 @@ var PUBLIC_ENDPOINT_HTTP_REASON = "The public endpoint needs an https:// address
|
|
|
180
180
|
function checkRoleAddress(role, baseUrl, options = {}) {
|
|
181
181
|
if (isAppLinkBase(baseUrl)) return role === "notificationTaps" ? {
|
|
182
182
|
ok: true,
|
|
183
|
-
baseUrl:
|
|
183
|
+
baseUrl: DOMINEVO_APP_LINK_ORIGIN
|
|
184
184
|
} : {
|
|
185
185
|
ok: false,
|
|
186
186
|
reason: "The Dominevo app link is not a hub address — only notification taps can use it."
|
|
@@ -260,7 +260,7 @@ function resolveNotificationTapAddress(flags) {
|
|
|
260
260
|
};
|
|
261
261
|
return {
|
|
262
262
|
flagged: null,
|
|
263
|
-
resolved:
|
|
263
|
+
resolved: DOMINEVO_APP_LINK_ORIGIN,
|
|
264
264
|
source: "auto"
|
|
265
265
|
};
|
|
266
266
|
}
|
|
@@ -310,11 +310,11 @@ function resolveHubAddressRoles(appPalette, hubPalette, flags, rememberedPublicE
|
|
|
310
310
|
}
|
|
311
311
|
/**
|
|
312
312
|
* How a client finds a hub on the LAN (D838): the hub publishes ONE mDNS
|
|
313
|
-
* service for its HTTPS endpoint. `
|
|
313
|
+
* service for its HTTPS endpoint. `_dominevo._tcp` carries the hub's `internal`
|
|
314
314
|
* address in `url`, and nothing secret — finding a hub grants nothing, every
|
|
315
315
|
* client still signs in. The mesh channel stays retired (D826).
|
|
316
316
|
*/
|
|
317
|
-
var HUB_MDNS_SERVICE_TYPE = "
|
|
317
|
+
var HUB_MDNS_SERVICE_TYPE = "dominevo";
|
|
318
318
|
/** The TXT keys of the advertisement. Every value is public. */
|
|
319
319
|
var HUB_MDNS_TXT_KEYS = {
|
|
320
320
|
nodeId: "nodeId",
|
|
@@ -329,7 +329,7 @@ var HUB_MDNS_TXT_KEYS = {
|
|
|
329
329
|
* port, paired or not. The TXT record carries only public facts. Finding an agent grants
|
|
330
330
|
* nothing: pairing still needs the six-digit code confirmed on both screens.
|
|
331
331
|
*/
|
|
332
|
-
var AGENT_MDNS_SERVICE_TYPE = "
|
|
332
|
+
var AGENT_MDNS_SERVICE_TYPE = "dominevo-agent";
|
|
333
333
|
/** The TXT keys of the agent advertisement. Every value is public. */
|
|
334
334
|
var AGENT_MDNS_TXT_KEYS = {
|
|
335
335
|
nodeId: "nodeId",
|
|
@@ -729,7 +729,7 @@ var localNetworkCapability = {
|
|
|
729
729
|
* belongs to whoever already owns it). This method used to take a `port`
|
|
730
730
|
* and echo it onto every LAN and loopback URL it advertised, which made
|
|
731
731
|
* every client a second authority on a socket only the hub binds. A viewer
|
|
732
|
-
* configured with a port-less public URL (`https://
|
|
732
|
+
* configured with a port-less public URL (`https://dominevo.example.top`)
|
|
733
733
|
* infers 443 from the scheme, asks with 443, and was handed
|
|
734
734
|
* `https://192.168.10.9:443` for a hub listening on 4443. That candidate
|
|
735
735
|
* cannot ever answer, and losing its race reads in the log exactly like
|
|
@@ -1031,4 +1031,4 @@ var networkAccessCapability = {
|
|
|
1031
1031
|
vocabulary: { notOperatorFacing: NOT_A_DEVICE.NETWORK }
|
|
1032
1032
|
};
|
|
1033
1033
|
//#endregion
|
|
1034
|
-
export { pickAppLinkHub as _, AGENT_MDNS_TXT_KEYS as a, checkRoleAddress as c, resolveAppConnections as d, resolveHubAddressRoles as f, isAppLinkBase as g,
|
|
1034
|
+
export { pickAppLinkHub as _, AGENT_MDNS_TXT_KEYS as a, checkRoleAddress as c, resolveAppConnections as d, resolveHubAddressRoles as f, isAppLinkBase as g, DOMINEVO_APP_LINK_ORIGIN as h, AGENT_MDNS_SERVICE_TYPE as i, isDefaultAppConnectionEndpoint as l, validateCustomAddress as m, networkAccessCapability as n, HUB_MDNS_SERVICE_TYPE as o, resolveNotificationTapAddress as p, localNetworkCapability as r, HUB_MDNS_TXT_KEYS as s, NetworkTunnelStartedDataSchema as t, livePublicTunnelAddress as u };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_base_addon = require("./base-addon
|
|
1
|
+
const require_base_addon = require("./base-addon-CwtR9jMm.js");
|
|
2
2
|
const require_notification_rules_cap = require("./notification-rules.cap-Cj3i8EhU.js");
|
|
3
|
-
const require_entry_kind = require("./entry-kind-
|
|
3
|
+
const require_entry_kind = require("./entry-kind-DzaK6R6L.js");
|
|
4
4
|
let zod = require("zod");
|
|
5
5
|
//#region ../types/dist/esm/addon/compose-instance-kinds.mjs
|
|
6
6
|
/** No part holds the id a call named. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as optionalLinkField, l as RecordIntegrationInstances, v as isInstanceOn, y as recordInstanceSwitch } from "./base-addon-
|
|
1
|
+
import { d as optionalLinkField, l as RecordIntegrationInstances, v as isInstanceOn, y as recordInstanceSwitch } from "./base-addon-DCfRA4Sq.mjs";
|
|
2
2
|
import { d as TargetSchema } from "./notification-rules.cap-BxoPixyH.mjs";
|
|
3
|
-
import { t as defineEntryKind } from "./entry-kind-
|
|
3
|
+
import { t as defineEntryKind } from "./entry-kind-DJSOxSX2.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region ../types/dist/esm/addon/compose-instance-kinds.mjs
|
|
6
6
|
/** No part holds the id a call named. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/builtins/keychain/platform-key-source.ts
|
|
2
|
-
var SLOT = Symbol.for("
|
|
2
|
+
var SLOT = Symbol.for("dominevo.keychain.platform-key");
|
|
3
3
|
/** Register the platform key. Called once, by the hub's boot. */
|
|
4
4
|
function setPlatformKeychainKey(entry) {
|
|
5
5
|
Reflect.set(globalThis, SLOT, entry);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/builtins/keychain/platform-key-source.ts
|
|
2
|
-
var SLOT = Symbol.for("
|
|
2
|
+
var SLOT = Symbol.for("dominevo.keychain.platform-key");
|
|
3
3
|
/** Register the platform key. Called once, by the hub's boot. */
|
|
4
4
|
function setPlatformKeychainKey(entry) {
|
|
5
5
|
Reflect.set(globalThis, SLOT, entry);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as method } from "./capability-definition-C1TLUVJR.mjs";
|
|
2
|
-
import { r as RecordKindNameSchema } from "./record-kind-
|
|
2
|
+
import { r as RecordKindNameSchema } from "./record-kind-DpcGjBK1.mjs";
|
|
3
3
|
import { t as NOT_A_DEVICE } from "./system-reasons-CYj4qwyS.mjs";
|
|
4
|
-
import { n as RecordIdSchema, t as RecordBodySchema } from "./records.cap-
|
|
4
|
+
import { n as RecordIdSchema, t as RecordBodySchema } from "./records.cap-A6ZnC18-.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region ../types/dist/esm/capabilities/record-entries.cap.mjs
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_capability_definition = require("./capability-definition-BEVd01Xj.js");
|
|
2
|
-
const require_record_kind = require("./record-kind-
|
|
2
|
+
const require_record_kind = require("./record-kind-BYbL_LNZ.js");
|
|
3
3
|
const require_system_reasons = require("./system-reasons-Be_k1W8g.js");
|
|
4
|
-
const require_records_cap = require("./records.cap-
|
|
4
|
+
const require_records_cap = require("./records.cap-CrdoSJ1h.js");
|
|
5
5
|
let zod = require("zod");
|
|
6
6
|
//#region ../types/dist/esm/capabilities/record-entries.cap.mjs
|
|
7
7
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_scoped_settings = require("./scoped-settings-
|
|
1
|
+
const require_scoped_settings = require("./scoped-settings-8uzhJVsE.js");
|
|
2
2
|
const require_zod_secret = require("./zod-secret-DS7mj1bk.js");
|
|
3
3
|
let zod = require("zod");
|
|
4
4
|
//#region ../types/dist/esm/records/record-kind.mjs
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as DeclarationRefusedError, _ as RECORD_SETTINGS_MAX_ROWS, d as RECORD_DATABASES, f as RECORD_DEFAULT_MAX_DATA_BYTES, m as RECORD_MAX_DATA_BYTES, s as secretArrayPrefixes, u as RECORD_CLASSES } from "./scoped-settings-
|
|
1
|
+
import { E as DeclarationRefusedError, _ as RECORD_SETTINGS_MAX_ROWS, d as RECORD_DATABASES, f as RECORD_DEFAULT_MAX_DATA_BYTES, m as RECORD_MAX_DATA_BYTES, s as secretArrayPrefixes, u as RECORD_CLASSES } from "./scoped-settings-DnkTDuvk.mjs";
|
|
2
2
|
import { t as collectZodSecretPaths } from "./zod-secret-zY4nM61M.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region ../types/dist/esm/records/record-kind.mjs
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const require_scoped_settings = require("./scoped-settings-
|
|
2
|
-
const require_record_kind = require("./record-kind-
|
|
3
|
-
const require_device_manager_cap = require("./device-manager.cap-
|
|
1
|
+
const require_scoped_settings = require("./scoped-settings-8uzhJVsE.js");
|
|
2
|
+
const require_record_kind = require("./record-kind-BYbL_LNZ.js");
|
|
3
|
+
const require_device_manager_cap = require("./device-manager.cap-CVm8e--n.js");
|
|
4
4
|
const require_device_identifiers = require("./device-identifiers-BNdxiGem.js");
|
|
5
|
-
const require_migration = require("./migration-
|
|
5
|
+
const require_migration = require("./migration-CvC7YRxn.js");
|
|
6
6
|
const require_device_kind = require("./device-kind-CaovT6Hn.js");
|
|
7
7
|
let zod = require("zod");
|
|
8
8
|
//#region ../types/dist/esm/records/records-access.mjs
|
|
@@ -673,7 +673,7 @@ var DeviceRowStore = class {
|
|
|
673
673
|
this.names = names;
|
|
674
674
|
}
|
|
675
675
|
/** Call-site attribution for fleet reads. Armed only by
|
|
676
|
-
* `
|
|
676
|
+
* `DOMINEVO_FLEET_READ_CENSUS_MS`; see `fleet-read-census.ts`. */
|
|
677
677
|
census;
|
|
678
678
|
/**
|
|
679
679
|
* Is the fleet-read census armed right now? Exposed so a caller ABOVE this
|
|
@@ -689,7 +689,7 @@ var DeviceRowStore = class {
|
|
|
689
689
|
this.backend = backend;
|
|
690
690
|
this.logger = logger;
|
|
691
691
|
this.observer = observer;
|
|
692
|
-
this.census = census ?? new FleetReadCensus(process.env["
|
|
692
|
+
this.census = census ?? new FleetReadCensus(process.env["DOMINEVO_FLEET_READ_CENSUS_MS"], Date.now());
|
|
693
693
|
if (this.census.armed) {
|
|
694
694
|
const startedAt = Date.now();
|
|
695
695
|
setTimeout(() => this.census.report(this.logger, Date.now() - startedAt), this.census.windowMs).unref?.();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { k as InvalidRecordError } from "./scoped-settings-
|
|
2
|
-
import { s as defineRecordKinds } from "./record-kind-
|
|
3
|
-
import { E as AdoptionRecordSchema, T as AdoptModeSchema, d as ZoneBodySchema, n as DeviceTombstoneSchema, o as DiscoveryProposalBodySchema, p as IdentityLinkBodySchema, s as RoomBodySchema } from "./device-manager.cap-
|
|
1
|
+
import { k as InvalidRecordError } from "./scoped-settings-DnkTDuvk.mjs";
|
|
2
|
+
import { s as defineRecordKinds } from "./record-kind-DpcGjBK1.mjs";
|
|
3
|
+
import { E as AdoptionRecordSchema, T as AdoptModeSchema, d as ZoneBodySchema, n as DeviceTombstoneSchema, o as DiscoveryProposalBodySchema, p as IdentityLinkBodySchema, s as RoomBodySchema } from "./device-manager.cap-3gMy5WyI.mjs";
|
|
4
4
|
import { n as DeviceIdentifierKeySchema, r as DeviceIdentifiersSchema } from "./device-identifiers-DUZTpxzs.mjs";
|
|
5
|
-
import { u as preconditionOf } from "./migration-
|
|
5
|
+
import { u as preconditionOf } from "./migration-DDDUJnTU.mjs";
|
|
6
6
|
import { t as canonicalStoredDeviceType } from "./device-kind-DCIVtE-Z.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
//#region ../types/dist/esm/records/records-access.mjs
|
|
@@ -673,7 +673,7 @@ var DeviceRowStore = class {
|
|
|
673
673
|
this.names = names;
|
|
674
674
|
}
|
|
675
675
|
/** Call-site attribution for fleet reads. Armed only by
|
|
676
|
-
* `
|
|
676
|
+
* `DOMINEVO_FLEET_READ_CENSUS_MS`; see `fleet-read-census.ts`. */
|
|
677
677
|
census;
|
|
678
678
|
/**
|
|
679
679
|
* Is the fleet-read census armed right now? Exposed so a caller ABOVE this
|
|
@@ -689,7 +689,7 @@ var DeviceRowStore = class {
|
|
|
689
689
|
this.backend = backend;
|
|
690
690
|
this.logger = logger;
|
|
691
691
|
this.observer = observer;
|
|
692
|
-
this.census = census ?? new FleetReadCensus(process.env["
|
|
692
|
+
this.census = census ?? new FleetReadCensus(process.env["DOMINEVO_FLEET_READ_CENSUS_MS"], Date.now());
|
|
693
693
|
if (this.census.armed) {
|
|
694
694
|
const startedAt = Date.now();
|
|
695
695
|
setTimeout(() => this.census.report(this.logger, Date.now() - startedAt), this.census.windowMs).unref?.();
|
|
@@ -245,9 +245,9 @@ var RecordingConfigSchema = /* @__PURE__ */ zod.z.object({
|
|
|
245
245
|
});
|
|
246
246
|
//#endregion
|
|
247
247
|
//#region ../types/dist/esm/capabilities/recording.cap.mjs
|
|
248
|
-
/** The one addon allowed to serve {@link
|
|
248
|
+
/** The one addon allowed to serve {@link RECORDING_SOURCE_DOMINEVO}: the
|
|
249
249
|
* recorder, which is the addon that writes the footage (D560). */
|
|
250
|
-
var
|
|
250
|
+
var RECORDING_SOURCE_DOMINEVO_ADDON = "recorder";
|
|
251
251
|
var RecordingRangeSchema = /* @__PURE__ */ zod.z.object({
|
|
252
252
|
profile: /* @__PURE__ */ zod.z.string(),
|
|
253
253
|
startMs: /* @__PURE__ */ zod.z.number(),
|
|
@@ -345,7 +345,7 @@ var RecordingSourceAvailabilitySchema = /* @__PURE__ */ zod.z.object({
|
|
|
345
345
|
* particular is what stops a battery camera being woken to paint a bar.
|
|
346
346
|
*/
|
|
347
347
|
var RecordingSourceSchema = /* @__PURE__ */ zod.z.object({
|
|
348
|
-
/** The source id. {@link
|
|
348
|
+
/** The source id. {@link RECORDING_SOURCE_DOMINEVO} for ours (RESERVED), a
|
|
349
349
|
* vendor namespace (`native:reolink:onboard`, …) for a camera's own store. */
|
|
350
350
|
source: /* @__PURE__ */ zod.z.string(),
|
|
351
351
|
/** Operator-facing name of the source ("Dominevo recordings", "SD card"). */
|
|
@@ -1301,10 +1301,10 @@ var recordingArchiveCapability = {
|
|
|
1301
1301
|
vocabulary: { notOperatorFacing: require_system_reasons.NOT_A_DEVICE.STORAGE }
|
|
1302
1302
|
};
|
|
1303
1303
|
//#endregion
|
|
1304
|
-
Object.defineProperty(exports, "
|
|
1304
|
+
Object.defineProperty(exports, "RECORDING_SOURCE_DOMINEVO_ADDON", {
|
|
1305
1305
|
enumerable: true,
|
|
1306
1306
|
get: function() {
|
|
1307
|
-
return
|
|
1307
|
+
return RECORDING_SOURCE_DOMINEVO_ADDON;
|
|
1308
1308
|
}
|
|
1309
1309
|
});
|
|
1310
1310
|
Object.defineProperty(exports, "RecordingStatusSchema", {
|