@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
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { s as defineRecordKinds } from "./record-kind-
|
|
2
|
-
import { a as DataStoreDatabaseSchema } from "./settings-store.cap-
|
|
3
|
-
import { r as DATABASE_SNAPSHOT_SUFFIX } from "./database-snapshot.cap-
|
|
1
|
+
import { s as defineRecordKinds } from "./record-kind-DpcGjBK1.mjs";
|
|
2
|
+
import { a as DataStoreDatabaseSchema } from "./settings-store.cap-DxsDTQxb.mjs";
|
|
3
|
+
import { r as DATABASE_SNAPSHOT_SUFFIX } from "./database-snapshot.cap-DfMxWoak.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
|
-
import { createCipheriv, createDecipheriv, createHash, createPrivateKey, createPublicKey, diffieHellman, generateKeyPairSync, hkdfSync, randomBytes } from "node:crypto";
|
|
6
5
|
import { Buffer as Buffer$1 } from "buffer";
|
|
6
|
+
import { createCipheriv, createDecipheriv, createHash, createPrivateKey, createPublicKey, diffieHellman, generateKeyPairSync, hkdfSync, randomBytes } from "node:crypto";
|
|
7
7
|
import * as fs$2 from "node:fs";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import * as path$1 from "node:path";
|
|
@@ -131,7 +131,7 @@ function backupRecordStoresOf(records) {
|
|
|
131
131
|
* AES-256-GCM(payloadKey, nonce, plaintext[≤ chunk]) ‖ tag(16)
|
|
132
132
|
*
|
|
133
133
|
* `payloadKey = HKDF-SHA256(X25519(ephemeral, recipient), salt,
|
|
134
|
-
* "
|
|
134
|
+
* "dominevo-backup-v1" ‖ header)` — the whole header is bound into the key,
|
|
135
135
|
* so a changed byte in it fails the first chunk. The nonce is an 11-byte
|
|
136
136
|
* big-endian chunk counter plus a final-chunk flag: a reordered, dropped or
|
|
137
137
|
* appended chunk fails authentication, and an archive cut at a chunk boundary
|
|
@@ -149,11 +149,11 @@ var VERSION = 1;
|
|
|
149
149
|
var KEY_ID_BYTES = 8;
|
|
150
150
|
var SALT_BYTES = 16;
|
|
151
151
|
var TAG_BYTES = 16;
|
|
152
|
-
var INFO_LABEL = Buffer.from("
|
|
152
|
+
var INFO_LABEL = Buffer.from("dominevo-backup-v1", "ascii");
|
|
153
153
|
var BACKUP_ENCRYPTION_HEADER_BYTES = MAGIC.length + 1 + 4 + KEY_ID_BYTES + 32 + SALT_BYTES;
|
|
154
154
|
var MAX_CHUNK_BYTES = 16 * 1024 * 1024;
|
|
155
|
-
var SECRET_PREFIX = "
|
|
156
|
-
var PUBLIC_PREFIX = "
|
|
155
|
+
var SECRET_PREFIX = "dominevo-backup-secret-v1:";
|
|
156
|
+
var PUBLIC_PREFIX = "dominevo-backup-public-v1:";
|
|
157
157
|
var CHECKSUM_BYTES = 4;
|
|
158
158
|
var PKCS8_PREFIX = Buffer.from("302e020100300506032b656e04220420", "hex");
|
|
159
159
|
var SPKI_PREFIX = Buffer.from("302a300506032b656e032100", "hex");
|
|
@@ -3587,7 +3587,7 @@ function isSqlitePath(relPath) {
|
|
|
3587
3587
|
*/
|
|
3588
3588
|
var DEFAULT_BACKUP_DATABASES = ["settings"];
|
|
3589
3589
|
/** Path of the manifest file embedded inside every archive. */
|
|
3590
|
-
var ARCHIVE_MANIFEST_NAME = ".
|
|
3590
|
+
var ARCHIVE_MANIFEST_NAME = ".dominevo-backup-manifest.json";
|
|
3591
3591
|
var DEFAULT_STAT_CACHE_TTL_MS = 6e4;
|
|
3592
3592
|
/**
|
|
3593
3593
|
* System-level archive primitives. Construct one per server boot;
|
|
@@ -3798,7 +3798,7 @@ var SystemBackupService = class {
|
|
|
3798
3798
|
present: [],
|
|
3799
3799
|
tarRoots: carried,
|
|
3800
3800
|
manifest,
|
|
3801
|
-
excluded: (rel) => rel !== ".
|
|
3801
|
+
excluded: (rel) => rel !== ".dominevo-backup-manifest.json" && !carriedSet.has(rel),
|
|
3802
3802
|
...opts.signal ? { signal: opts.signal } : {},
|
|
3803
3803
|
...opts.onArchiveBytes ? { onArchiveBytes: opts.onArchiveBytes } : {},
|
|
3804
3804
|
...opts.encryptTo !== void 0 ? { encryptTo: opts.encryptTo } : {}
|
|
@@ -3887,7 +3887,7 @@ var SystemBackupService = class {
|
|
|
3887
3887
|
let found = false;
|
|
3888
3888
|
let resolved = false;
|
|
3889
3889
|
const parser = new st({ onentry: (entry) => {
|
|
3890
|
-
if (entry.path === ".
|
|
3890
|
+
if (entry.path === ".dominevo-backup-manifest.json" && !found) {
|
|
3891
3891
|
found = true;
|
|
3892
3892
|
entry.on("data", (chunk) => chunks.push(chunk));
|
|
3893
3893
|
entry.on("end", () => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_record_kind = require("./record-kind-
|
|
3
|
-
const require_settings_store_cap = require("./settings-store.cap-
|
|
4
|
-
const require_database_snapshot_cap = require("./database-snapshot.cap
|
|
2
|
+
const require_record_kind = require("./record-kind-BYbL_LNZ.js");
|
|
3
|
+
const require_settings_store_cap = require("./settings-store.cap-DqFgT2Xo.js");
|
|
4
|
+
const require_database_snapshot_cap = require("./database-snapshot.cap--dYj7W3i.js");
|
|
5
5
|
let zod = require("zod");
|
|
6
|
-
let node_crypto = require("node:crypto");
|
|
7
6
|
let buffer = require("buffer");
|
|
7
|
+
let node_crypto = require("node:crypto");
|
|
8
8
|
let node_fs = require("node:fs");
|
|
9
9
|
let node_fs$1 = require_chunk.__toESM(node_fs, 1);
|
|
10
10
|
node_fs = require_chunk.__toESM(node_fs);
|
|
@@ -142,7 +142,7 @@ function backupRecordStoresOf(records) {
|
|
|
142
142
|
* AES-256-GCM(payloadKey, nonce, plaintext[≤ chunk]) ‖ tag(16)
|
|
143
143
|
*
|
|
144
144
|
* `payloadKey = HKDF-SHA256(X25519(ephemeral, recipient), salt,
|
|
145
|
-
* "
|
|
145
|
+
* "dominevo-backup-v1" ‖ header)` — the whole header is bound into the key,
|
|
146
146
|
* so a changed byte in it fails the first chunk. The nonce is an 11-byte
|
|
147
147
|
* big-endian chunk counter plus a final-chunk flag: a reordered, dropped or
|
|
148
148
|
* appended chunk fails authentication, and an archive cut at a chunk boundary
|
|
@@ -160,11 +160,11 @@ var VERSION = 1;
|
|
|
160
160
|
var KEY_ID_BYTES = 8;
|
|
161
161
|
var SALT_BYTES = 16;
|
|
162
162
|
var TAG_BYTES = 16;
|
|
163
|
-
var INFO_LABEL = Buffer.from("
|
|
163
|
+
var INFO_LABEL = Buffer.from("dominevo-backup-v1", "ascii");
|
|
164
164
|
var BACKUP_ENCRYPTION_HEADER_BYTES = MAGIC.length + 1 + 4 + KEY_ID_BYTES + 32 + SALT_BYTES;
|
|
165
165
|
var MAX_CHUNK_BYTES = 16 * 1024 * 1024;
|
|
166
|
-
var SECRET_PREFIX = "
|
|
167
|
-
var PUBLIC_PREFIX = "
|
|
166
|
+
var SECRET_PREFIX = "dominevo-backup-secret-v1:";
|
|
167
|
+
var PUBLIC_PREFIX = "dominevo-backup-public-v1:";
|
|
168
168
|
var CHECKSUM_BYTES = 4;
|
|
169
169
|
var PKCS8_PREFIX = Buffer.from("302e020100300506032b656e04220420", "hex");
|
|
170
170
|
var SPKI_PREFIX = Buffer.from("302a300506032b656e032100", "hex");
|
|
@@ -3598,7 +3598,7 @@ function isSqlitePath(relPath) {
|
|
|
3598
3598
|
*/
|
|
3599
3599
|
var DEFAULT_BACKUP_DATABASES = ["settings"];
|
|
3600
3600
|
/** Path of the manifest file embedded inside every archive. */
|
|
3601
|
-
var ARCHIVE_MANIFEST_NAME = ".
|
|
3601
|
+
var ARCHIVE_MANIFEST_NAME = ".dominevo-backup-manifest.json";
|
|
3602
3602
|
var DEFAULT_STAT_CACHE_TTL_MS = 6e4;
|
|
3603
3603
|
/**
|
|
3604
3604
|
* System-level archive primitives. Construct one per server boot;
|
|
@@ -3809,7 +3809,7 @@ var SystemBackupService = class {
|
|
|
3809
3809
|
present: [],
|
|
3810
3810
|
tarRoots: carried,
|
|
3811
3811
|
manifest,
|
|
3812
|
-
excluded: (rel) => rel !== ".
|
|
3812
|
+
excluded: (rel) => rel !== ".dominevo-backup-manifest.json" && !carriedSet.has(rel),
|
|
3813
3813
|
...opts.signal ? { signal: opts.signal } : {},
|
|
3814
3814
|
...opts.onArchiveBytes ? { onArchiveBytes: opts.onArchiveBytes } : {},
|
|
3815
3815
|
...opts.encryptTo !== void 0 ? { encryptTo: opts.encryptTo } : {}
|
|
@@ -3898,7 +3898,7 @@ var SystemBackupService = class {
|
|
|
3898
3898
|
let found = false;
|
|
3899
3899
|
let resolved = false;
|
|
3900
3900
|
const parser = new st({ onentry: (entry) => {
|
|
3901
|
-
if (entry.path === ".
|
|
3901
|
+
if (entry.path === ".dominevo-backup-manifest.json" && !found) {
|
|
3902
3902
|
found = true;
|
|
3903
3903
|
entry.on("data", (chunk) => chunks.push(chunk));
|
|
3904
3904
|
entry.on("end", () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_base_addon = require("./base-addon
|
|
1
|
+
const require_base_addon = require("./base-addon-CwtR9jMm.js");
|
|
2
2
|
const require_capability_definition = require("./capability-definition-BEVd01Xj.js");
|
|
3
3
|
const require_system_reasons = require("./system-reasons-Be_k1W8g.js");
|
|
4
4
|
const require_device_type = require("./device-type-C0Dx_pzZ.js");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as EventCategory } from "./base-addon-
|
|
1
|
+
import { b as EventCategory } from "./base-addon-DCfRA4Sq.mjs";
|
|
2
2
|
import { c as method } from "./capability-definition-C1TLUVJR.mjs";
|
|
3
3
|
import { t as NOT_A_DEVICE } from "./system-reasons-CYj4qwyS.mjs";
|
|
4
4
|
import { n as DeviceRole, r as DeviceType } from "./device-type-eOSmS94B.mjs";
|
package/system/dist/{retired-settings-keys-BFLkouoC.mjs → retired-settings-keys-Dakm_ir-.mjs}
RENAMED
|
@@ -13,7 +13,7 @@ import { asJsonObject } from "@dominevo/types/addon";
|
|
|
13
13
|
* write to a store this node does not own. Only one of those is recoverable.
|
|
14
14
|
*/
|
|
15
15
|
function settingsStoreIsAuthoritativeHere(env) {
|
|
16
|
-
const raw = (env["
|
|
16
|
+
const raw = (env["DOMINEVO_ROLE"] ?? "").trim().toLowerCase();
|
|
17
17
|
return raw === "" || raw === "hub";
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
@@ -13,7 +13,7 @@ let _dominevo_types_addon = require("@dominevo/types/addon");
|
|
|
13
13
|
* write to a store this node does not own. Only one of those is recoverable.
|
|
14
14
|
*/
|
|
15
15
|
function settingsStoreIsAuthoritativeHere(env) {
|
|
16
|
-
const raw = (env["
|
|
16
|
+
const raw = (env["DOMINEVO_ROLE"] ?? "").trim().toLowerCase();
|
|
17
17
|
return raw === "" || raw === "hub";
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
@@ -20,7 +20,7 @@ function errMsg(err) {
|
|
|
20
20
|
* plausibly choose as a real password would turn that convenience into a way
|
|
21
21
|
* to lock yourself out, hence the sentinel shape.
|
|
22
22
|
*/
|
|
23
|
-
var REDACTED_SECRET = "
|
|
23
|
+
var REDACTED_SECRET = "__dominevo_redacted__";
|
|
24
24
|
/** Is this field's stored value a credential? */
|
|
25
25
|
function isSecretConfigField(field) {
|
|
26
26
|
if (field.type === "password") return true;
|
|
@@ -152,7 +152,7 @@ function classifySecretWrite(incoming) {
|
|
|
152
152
|
if (isSecretClear(incoming)) return { kind: "clear" };
|
|
153
153
|
if (typeof incoming !== "string") return { kind: "keep" };
|
|
154
154
|
if (incoming.length === 0) return { kind: "keep" };
|
|
155
|
-
if (incoming === "
|
|
155
|
+
if (incoming === "__dominevo_redacted__" || incoming === LEGACY_DEVICE_REDACTION) return { kind: "keep" };
|
|
156
156
|
return {
|
|
157
157
|
kind: "set",
|
|
158
158
|
value: incoming
|
|
@@ -167,7 +167,7 @@ var PREFIX = "records/";
|
|
|
167
167
|
* instance of the host's classes, not of the addon's. The brand plus the code
|
|
168
168
|
* make `instanceof` answer by identity of the failure, not of the copy.
|
|
169
169
|
*/
|
|
170
|
-
var RECORDS_ERROR_BRAND = /* @__PURE__ */ Symbol.for("
|
|
170
|
+
var RECORDS_ERROR_BRAND = /* @__PURE__ */ Symbol.for("dominevo.records-error");
|
|
171
171
|
function carriesBrand(value) {
|
|
172
172
|
return typeof value === "object" && value !== null && Reflect.get(value, RECORDS_ERROR_BRAND) === true;
|
|
173
173
|
}
|
|
@@ -20,7 +20,7 @@ function errMsg(err) {
|
|
|
20
20
|
* plausibly choose as a real password would turn that convenience into a way
|
|
21
21
|
* to lock yourself out, hence the sentinel shape.
|
|
22
22
|
*/
|
|
23
|
-
var REDACTED_SECRET = "
|
|
23
|
+
var REDACTED_SECRET = "__dominevo_redacted__";
|
|
24
24
|
/** Is this field's stored value a credential? */
|
|
25
25
|
function isSecretConfigField(field) {
|
|
26
26
|
if (field.type === "password") return true;
|
|
@@ -152,7 +152,7 @@ function classifySecretWrite(incoming) {
|
|
|
152
152
|
if (isSecretClear(incoming)) return { kind: "clear" };
|
|
153
153
|
if (typeof incoming !== "string") return { kind: "keep" };
|
|
154
154
|
if (incoming.length === 0) return { kind: "keep" };
|
|
155
|
-
if (incoming === "
|
|
155
|
+
if (incoming === "__dominevo_redacted__" || incoming === LEGACY_DEVICE_REDACTION) return { kind: "keep" };
|
|
156
156
|
return {
|
|
157
157
|
kind: "set",
|
|
158
158
|
value: incoming
|
|
@@ -167,7 +167,7 @@ var PREFIX = "records/";
|
|
|
167
167
|
* instance of the host's classes, not of the addon's. The brand plus the code
|
|
168
168
|
* make `instanceof` answer by identity of the failure, not of the copy.
|
|
169
169
|
*/
|
|
170
|
-
var RECORDS_ERROR_BRAND = /* @__PURE__ */ Symbol.for("
|
|
170
|
+
var RECORDS_ERROR_BRAND = /* @__PURE__ */ Symbol.for("dominevo.records-error");
|
|
171
171
|
function carriesBrand(value) {
|
|
172
172
|
return typeof value === "object" && value !== null && Reflect.get(value, RECORDS_ERROR_BRAND) === true;
|
|
173
173
|
}
|
|
@@ -88,7 +88,7 @@ var BulkRecordSchema = /* @__PURE__ */ zod.z.object({
|
|
|
88
88
|
* The database FILES one `sqlite-settings` engine process owns (D851).
|
|
89
89
|
* Closed on purpose: a file is a thing the engine opens, backs up and gives a
|
|
90
90
|
* serving thread, so a new one is a code change, never a string a caller
|
|
91
|
-
* invents. `settings` is `
|
|
91
|
+
* invents. `settings` is `dominevo.db` and the default for every collection
|
|
92
92
|
* that names no file.
|
|
93
93
|
*/
|
|
94
94
|
var DataStoreDatabaseSchema = /* @__PURE__ */ zod.z.enum([
|
|
@@ -88,7 +88,7 @@ var BulkRecordSchema = /* @__PURE__ */ z.object({
|
|
|
88
88
|
* The database FILES one `sqlite-settings` engine process owns (D851).
|
|
89
89
|
* Closed on purpose: a file is a thing the engine opens, backs up and gives a
|
|
90
90
|
* serving thread, so a new one is a code change, never a string a caller
|
|
91
|
-
* invents. `settings` is `
|
|
91
|
+
* invents. `settings` is `dominevo.db` and the default for every collection
|
|
92
92
|
* that names no file.
|
|
93
93
|
*/
|
|
94
94
|
var DataStoreDatabaseSchema = /* @__PURE__ */ z.enum([
|
package/system/dist/{state-refresh-scheduler-GlExK5Pt.js → state-refresh-scheduler-8_rBg2-4.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rename_composition_block = require("./rename-composition-block-
|
|
1
|
+
const require_rename_composition_block = require("./rename-composition-block-CeKeUquQ.js");
|
|
2
2
|
//#region src/builtins/device-manager/state-refresh-scheduler.ts
|
|
3
3
|
/**
|
|
4
4
|
* The state-refresh scheduler (D1062, amending D224): the core decides WHEN a
|
package/system/dist/{state-refresh-scheduler-CJuGzqZh.mjs → state-refresh-scheduler-B3pfIHRS.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _n as commandBurstOffsets, gn as PUSH_CONFIRM_WINDOW_MS, vn as effectiveRefreshIntervalMs } from "./rename-composition-block-
|
|
1
|
+
import { _n as commandBurstOffsets, gn as PUSH_CONFIRM_WINDOW_MS, vn as effectiveRefreshIntervalMs } from "./rename-composition-block-CMfftDfW.mjs";
|
|
2
2
|
//#region src/builtins/device-manager/state-refresh-scheduler.ts
|
|
3
3
|
/**
|
|
4
4
|
* The state-refresh scheduler (D1062, amending D224): the core decides WHEN a
|
|
@@ -1,9 +1,9 @@
|
|
|
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_settings_store_cap = require("./settings-store.cap-
|
|
5
|
-
const require_migration = require("./migration-
|
|
6
|
-
const require_records_cap = require("./records.cap-
|
|
4
|
+
const require_settings_store_cap = require("./settings-store.cap-DqFgT2Xo.js");
|
|
5
|
+
const require_migration = require("./migration-CvC7YRxn.js");
|
|
6
|
+
const require_records_cap = require("./records.cap-CrdoSJ1h.js");
|
|
7
7
|
let zod = require("zod");
|
|
8
8
|
//#region ../types/dist/esm/capabilities/data-store-provider.cap.mjs
|
|
9
9
|
/**
|
|
@@ -561,7 +561,7 @@ var MIGRATION_API_V1_METHODS = {
|
|
|
561
561
|
/**
|
|
562
562
|
* migrations — the ledger and the controls of the boot-time migration engine
|
|
563
563
|
* (D987). Hub-only and internal: `sqlite-settings` is the registrant, because the
|
|
564
|
-
* ledger lives INSIDE the database files it serves (`
|
|
564
|
+
* ledger lives INSIDE the database files it serves (`dominevo.db`, `events.db`,
|
|
565
565
|
* `history.db`) and only its connection or worker may touch them (D679).
|
|
566
566
|
*
|
|
567
567
|
* The engine itself runs in the owner's `afterOpen`, before any provider is
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { c as method } from "./capability-definition-C1TLUVJR.mjs";
|
|
2
|
-
import { i as RecordRetentionSchema, n as RecordKindDeclarationSchema, r as RecordKindNameSchema } from "./record-kind-
|
|
2
|
+
import { i as RecordRetentionSchema, n as RecordKindDeclarationSchema, r as RecordKindNameSchema } from "./record-kind-DpcGjBK1.mjs";
|
|
3
3
|
import { t as NOT_A_DEVICE } from "./system-reasons-CYj4qwyS.mjs";
|
|
4
|
-
import { a as DataStoreDatabaseSchema, c as QueryFilterSchema, d as TransactOpSchema, l as SettingsRecordSchema, n as AggregateResultSchema, o as DeclareCollectionInputSchema, r as BulkRecordSchema, s as MutationFilterSchema, t as AggregateFieldSchema, u as TransactGuardSchema } from "./settings-store.cap-
|
|
5
|
-
import { a as MigrationOwnerStepSchema, i as MigrationOwnerResultSchema, n as MigrationLedgerEntrySchema, o as MigrationPendingEntrySchema, r as MigrationMetaSchema, s as MigrationStatusSchema, t as MigrationDryRunResultSchema } from "./migration-
|
|
6
|
-
import { a as RecordWhereSchema, i as RecordQueryResultSchema, r as RecordQueryInputSchema } from "./records.cap-
|
|
4
|
+
import { a as DataStoreDatabaseSchema, c as QueryFilterSchema, d as TransactOpSchema, l as SettingsRecordSchema, n as AggregateResultSchema, o as DeclareCollectionInputSchema, r as BulkRecordSchema, s as MutationFilterSchema, t as AggregateFieldSchema, u as TransactGuardSchema } from "./settings-store.cap-DxsDTQxb.mjs";
|
|
5
|
+
import { a as MigrationOwnerStepSchema, i as MigrationOwnerResultSchema, n as MigrationLedgerEntrySchema, o as MigrationPendingEntrySchema, r as MigrationMetaSchema, s as MigrationStatusSchema, t as MigrationDryRunResultSchema } from "./migration-DDDUJnTU.mjs";
|
|
6
|
+
import { a as RecordWhereSchema, i as RecordQueryResultSchema, r as RecordQueryInputSchema } from "./records.cap-A6ZnC18-.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
//#region ../types/dist/esm/capabilities/data-store-provider.cap.mjs
|
|
9
9
|
/**
|
|
@@ -561,7 +561,7 @@ var MIGRATION_API_V1_METHODS = {
|
|
|
561
561
|
/**
|
|
562
562
|
* migrations — the ledger and the controls of the boot-time migration engine
|
|
563
563
|
* (D987). Hub-only and internal: `sqlite-settings` is the registrant, because the
|
|
564
|
-
* ledger lives INSIDE the database files it serves (`
|
|
564
|
+
* ledger lives INSIDE the database files it serves (`dominevo.db`, `events.db`,
|
|
565
565
|
* `history.db`) and only its connection or worker may touch them (D679).
|
|
566
566
|
*
|
|
567
567
|
* The engine itself runs in the owner's `afterOpen`, before any provider is
|
|
@@ -6,7 +6,7 @@ let zod = require("zod");
|
|
|
6
6
|
//#region ../types/dist/esm/interfaces/storage-location-declaration.mjs
|
|
7
7
|
/**
|
|
8
8
|
* `StorageLocationDeclaration` — a single storage-location entry declared by
|
|
9
|
-
* an addon in its `package.json` under `
|
|
9
|
+
* an addon in its `package.json` under `dominevo.storageLocations`.
|
|
10
10
|
*
|
|
11
11
|
* Design intent:
|
|
12
12
|
* - **Addon declares its needs** — each addon describes the logical storage
|
|
@@ -97,12 +97,12 @@ var StorageLocationDeclarationSchema = /* @__PURE__ */ zod.z.object({
|
|
|
97
97
|
/**
|
|
98
98
|
* Which node root the seeded `<id>:default` instance is placed under on a
|
|
99
99
|
* FRESH install:
|
|
100
|
-
* - `'data'` (default) — the node's data dir (`
|
|
100
|
+
* - `'data'` (default) — the node's data dir (`DOMINEVO_DATA` / boot dir),
|
|
101
101
|
* the appData volume. Right for small/durable data (logs, models).
|
|
102
|
-
* - `'media'` — the dedicated media volume (`
|
|
102
|
+
* - `'media'` — the dedicated media volume (`DOMINEVO_MEDIA_ROOT`) when that
|
|
103
103
|
* env is set, else falls back to the data root. Right for bulky, hot media
|
|
104
104
|
* (recordings, event media) that should stay off the appData disk.
|
|
105
|
-
* - `'backup'` — the dedicated backup volume (`
|
|
105
|
+
* - `'backup'` — the dedicated backup volume (`DOMINEVO_BACKUP_ROOT`, default
|
|
106
106
|
* `/backups` in the image) so archives live on their own mount rather than
|
|
107
107
|
* filling the appData disk. Falls back to the data root when unset.
|
|
108
108
|
*
|
package/system/dist/{storage-migration.cap-BonKGHaA.mjs → storage-migration.cap-DRl4rt-0.mjs}
RENAMED
|
@@ -6,7 +6,7 @@ import { z } from "zod";
|
|
|
6
6
|
//#region ../types/dist/esm/interfaces/storage-location-declaration.mjs
|
|
7
7
|
/**
|
|
8
8
|
* `StorageLocationDeclaration` — a single storage-location entry declared by
|
|
9
|
-
* an addon in its `package.json` under `
|
|
9
|
+
* an addon in its `package.json` under `dominevo.storageLocations`.
|
|
10
10
|
*
|
|
11
11
|
* Design intent:
|
|
12
12
|
* - **Addon declares its needs** — each addon describes the logical storage
|
|
@@ -97,12 +97,12 @@ var StorageLocationDeclarationSchema = /* @__PURE__ */ z.object({
|
|
|
97
97
|
/**
|
|
98
98
|
* Which node root the seeded `<id>:default` instance is placed under on a
|
|
99
99
|
* FRESH install:
|
|
100
|
-
* - `'data'` (default) — the node's data dir (`
|
|
100
|
+
* - `'data'` (default) — the node's data dir (`DOMINEVO_DATA` / boot dir),
|
|
101
101
|
* the appData volume. Right for small/durable data (logs, models).
|
|
102
|
-
* - `'media'` — the dedicated media volume (`
|
|
102
|
+
* - `'media'` — the dedicated media volume (`DOMINEVO_MEDIA_ROOT`) when that
|
|
103
103
|
* env is set, else falls back to the data root. Right for bulky, hot media
|
|
104
104
|
* (recordings, event media) that should stay off the appData disk.
|
|
105
|
-
* - `'backup'` — the dedicated backup volume (`
|
|
105
|
+
* - `'backup'` — the dedicated backup volume (`DOMINEVO_BACKUP_ROOT`, default
|
|
106
106
|
* `/backups` in the image) so archives live on their own mount rather than
|
|
107
107
|
* filling the appData disk. Falls back to the data root when unset.
|
|
108
108
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_capability_definition = require("./capability-definition-BEVd01Xj.js");
|
|
2
2
|
const require_system_reasons = require("./system-reasons-Be_k1W8g.js");
|
|
3
|
-
const require_settings_store_cap = require("./settings-store.cap-
|
|
4
|
-
const require_database_snapshot_cap = require("./database-snapshot.cap
|
|
3
|
+
const require_settings_store_cap = require("./settings-store.cap-DqFgT2Xo.js");
|
|
4
|
+
const require_database_snapshot_cap = require("./database-snapshot.cap--dYj7W3i.js");
|
|
5
5
|
let zod = require("zod");
|
|
6
6
|
//#region ../types/dist/esm/capabilities/backup.cap.mjs
|
|
7
7
|
/**
|
|
@@ -382,7 +382,7 @@ var backupCapability = {
|
|
|
382
382
|
*/
|
|
383
383
|
listLocations: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.void(), /* @__PURE__ */ zod.z.array(LocationStatSchema).readonly(), { auth: "admin" }),
|
|
384
384
|
/**
|
|
385
|
-
* Read the embedded `.
|
|
385
|
+
* Read the embedded `.dominevo-backup-manifest.json` from a
|
|
386
386
|
* previously-created archive. The manifest carries the full
|
|
387
387
|
* file/dir listing with sizes + mtimes — the readdir snapshot
|
|
388
388
|
* the UI shows in the "Contents" panel. Returns `null` when the
|
package/system/dist/{storage-occupancy.cap-B_YU_aX3.mjs → storage-occupancy.cap-_VVBswn4.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as method } from "./capability-definition-C1TLUVJR.mjs";
|
|
2
2
|
import { t as NOT_A_DEVICE } from "./system-reasons-CYj4qwyS.mjs";
|
|
3
|
-
import { a as DataStoreDatabaseSchema } from "./settings-store.cap-
|
|
4
|
-
import { t as ArchiveSqliteSnapshotSchema } from "./database-snapshot.cap-
|
|
3
|
+
import { a as DataStoreDatabaseSchema } from "./settings-store.cap-DxsDTQxb.mjs";
|
|
4
|
+
import { t as ArchiveSqliteSnapshotSchema } from "./database-snapshot.cap-DfMxWoak.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region ../types/dist/esm/capabilities/backup.cap.mjs
|
|
7
7
|
/**
|
|
@@ -382,7 +382,7 @@ var backupCapability = {
|
|
|
382
382
|
*/
|
|
383
383
|
listLocations: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.array(LocationStatSchema).readonly(), { auth: "admin" }),
|
|
384
384
|
/**
|
|
385
|
-
* Read the embedded `.
|
|
385
|
+
* Read the embedded `.dominevo-backup-manifest.json` from a
|
|
386
386
|
* previously-created archive. The manifest carries the full
|
|
387
387
|
* file/dir listing with sizes + mtimes — the readdir snapshot
|
|
388
388
|
* the UI shows in the "Contents" panel. Returns `null` when the
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_streaming_shared = require("./streaming-shared-DO9va_Uw.js");
|
|
2
|
-
const require_base_addon = require("./base-addon
|
|
2
|
+
const require_base_addon = require("./base-addon-CwtR9jMm.js");
|
|
3
3
|
const require_capability_definition = require("./capability-definition-BEVd01Xj.js");
|
|
4
4
|
const require_system_reasons = require("./system-reasons-Be_k1W8g.js");
|
|
5
5
|
const require_ops_log = require("./ops-log-pxt9176Z.js");
|
|
@@ -4996,7 +4996,7 @@ var NodeBenchFingerprintSchema = /* @__PURE__ */ zod.z.object({
|
|
|
4996
4996
|
});
|
|
4997
4997
|
/** The frames the run used. */
|
|
4998
4998
|
var NodeBenchClipSchema = /* @__PURE__ */ zod.z.object({
|
|
4999
|
-
/** `
|
|
4999
|
+
/** `dominevo-bench-v1` or `reference-images` (the fallback when the clip is not reachable). */
|
|
5000
5000
|
id: /* @__PURE__ */ zod.z.string(),
|
|
5001
5001
|
revision: /* @__PURE__ */ zod.z.string().nullable(),
|
|
5002
5002
|
frames: /* @__PURE__ */ zod.z.number(),
|
|
@@ -5604,7 +5604,7 @@ var ReportMotionInputSchema = /* @__PURE__ */ zod.z.object({
|
|
|
5604
5604
|
* pull-mode decoder session pinned to its own node. The shm ring stays
|
|
5605
5605
|
* node-local; only H.264/H.265 packets cross the wire.
|
|
5606
5606
|
* `hubHostnameOverride` mirrors the recorder's `recordingHubHostname`:
|
|
5607
|
-
* when set it overrides the `
|
|
5607
|
+
* when set it overrides the `DOMINEVO_HUB_URL`-derived host the runner
|
|
5608
5608
|
* dials for the owner's restream.
|
|
5609
5609
|
*/
|
|
5610
5610
|
var RunnerFrameSourceSchema = /* @__PURE__ */ zod.z.discriminatedUnion("kind", [/* @__PURE__ */ zod.z.object({ kind: /* @__PURE__ */ zod.z.literal("local-broker") }), /* @__PURE__ */ zod.z.object({
|
|
@@ -5615,7 +5615,7 @@ var RunnerFrameSourceSchema = /* @__PURE__ */ zod.z.discriminatedUnion("kind", [
|
|
|
5615
5615
|
* The owner's LAN-reachable host, resolved by the orchestrator from the
|
|
5616
5616
|
* per-node `reachableHost` override (Cluster UI). When present the runner
|
|
5617
5617
|
* dials THIS host for the owner's restream, in preference to the
|
|
5618
|
-
* `
|
|
5618
|
+
* `DOMINEVO_HUB_URL`-derived default. Absent → auto-detect fallback.
|
|
5619
5619
|
*/
|
|
5620
5620
|
ownerReachableHost: /* @__PURE__ */ zod.z.string().optional(),
|
|
5621
5621
|
/** Operator override for the owner host the runner dials. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as CamStreamResolutionSchema, i as CamStreamKindSchema, l as FrameHandleSchema, r as CamProfileSchema, t as AudioStreamPickSchema } from "./streaming-shared-K4Mj-69q.mjs";
|
|
2
|
-
import { b as EventCategory } from "./base-addon-
|
|
2
|
+
import { b as EventCategory } from "./base-addon-DCfRA4Sq.mjs";
|
|
3
3
|
import { c as method } from "./capability-definition-C1TLUVJR.mjs";
|
|
4
4
|
import { t as NOT_A_DEVICE } from "./system-reasons-CYj4qwyS.mjs";
|
|
5
5
|
import { n as OpsLogQueryInputSchema, r as OpsLogReasonSchema, t as OpsLogEntrySchema } from "./ops-log-CB4pIdqi.mjs";
|
|
@@ -4996,7 +4996,7 @@ var NodeBenchFingerprintSchema = /* @__PURE__ */ z.object({
|
|
|
4996
4996
|
});
|
|
4997
4997
|
/** The frames the run used. */
|
|
4998
4998
|
var NodeBenchClipSchema = /* @__PURE__ */ z.object({
|
|
4999
|
-
/** `
|
|
4999
|
+
/** `dominevo-bench-v1` or `reference-images` (the fallback when the clip is not reachable). */
|
|
5000
5000
|
id: /* @__PURE__ */ z.string(),
|
|
5001
5001
|
revision: /* @__PURE__ */ z.string().nullable(),
|
|
5002
5002
|
frames: /* @__PURE__ */ z.number(),
|
|
@@ -5604,7 +5604,7 @@ var ReportMotionInputSchema = /* @__PURE__ */ z.object({
|
|
|
5604
5604
|
* pull-mode decoder session pinned to its own node. The shm ring stays
|
|
5605
5605
|
* node-local; only H.264/H.265 packets cross the wire.
|
|
5606
5606
|
* `hubHostnameOverride` mirrors the recorder's `recordingHubHostname`:
|
|
5607
|
-
* when set it overrides the `
|
|
5607
|
+
* when set it overrides the `DOMINEVO_HUB_URL`-derived host the runner
|
|
5608
5608
|
* dials for the owner's restream.
|
|
5609
5609
|
*/
|
|
5610
5610
|
var RunnerFrameSourceSchema = /* @__PURE__ */ z.discriminatedUnion("kind", [/* @__PURE__ */ z.object({ kind: /* @__PURE__ */ z.literal("local-broker") }), /* @__PURE__ */ z.object({
|
|
@@ -5615,7 +5615,7 @@ var RunnerFrameSourceSchema = /* @__PURE__ */ z.discriminatedUnion("kind", [/* @
|
|
|
5615
5615
|
* The owner's LAN-reachable host, resolved by the orchestrator from the
|
|
5616
5616
|
* per-node `reachableHost` override (Cluster UI). When present the runner
|
|
5617
5617
|
* dials THIS host for the owner's restream, in preference to the
|
|
5618
|
-
* `
|
|
5618
|
+
* `DOMINEVO_HUB_URL`-derived default. Absent → auto-detect fallback.
|
|
5619
5619
|
*/
|
|
5620
5620
|
ownerReachableHost: /* @__PURE__ */ z.string().optional(),
|
|
5621
5621
|
/** Operator override for the owner host the runner dials. */
|
|
@@ -22,11 +22,11 @@ export declare const CA_RENEWAL_WINDOW_DAYS: number;
|
|
|
22
22
|
*/
|
|
23
23
|
export type CertRegenerationReason = "missing" | "unreadable" | "no-local-ca" | "ca-expiring" | "ca-unconstrained" | "key-mismatch" | "expiring" | "missing-server-auth-eku" | "not-issued-by-local-ca" | "validity-too-long" | "san-coverage-gap";
|
|
24
24
|
export interface CertEvaluationInput {
|
|
25
|
-
/** Contents of `
|
|
25
|
+
/** Contents of `dominevo.crt` — leaf first, then the issuing CA. */
|
|
26
26
|
readonly chainPem: string;
|
|
27
|
-
/** Contents of `
|
|
27
|
+
/** Contents of `dominevo.key` — the leaf's private key. */
|
|
28
28
|
readonly keyPem: string;
|
|
29
|
-
/** Contents of `
|
|
29
|
+
/** Contents of `dominevo-ca.crt` — the local root. */
|
|
30
30
|
readonly caPem: string;
|
|
31
31
|
readonly identity: CertIdentity;
|
|
32
32
|
readonly now: Date;
|
|
@@ -2,11 +2,11 @@ import type { webcrypto as WebCrypto } from "node:crypto";
|
|
|
2
2
|
import { X509Certificate as PeculiarCertificate } from "@peculiar/x509";
|
|
3
3
|
import type { CertIdentity } from "./cert-identity.js";
|
|
4
4
|
/** Subject of the local root. Distinct from the leaf's CN by construction. */
|
|
5
|
-
export declare const CA_COMMON_NAME = "
|
|
5
|
+
export declare const CA_COMMON_NAME = "Dominevo Local CA";
|
|
6
6
|
/** Between {@link CA_COMMON_NAME} and the hub's name in a new root's subject. */
|
|
7
7
|
export declare const CA_HUB_NAME_SEPARATOR = " — ";
|
|
8
8
|
/**
|
|
9
|
-
* The subject CN of a NEW local root: `
|
|
9
|
+
* The subject CN of a NEW local root: `Dominevo Local CA — <hub name>`, so two hubs'
|
|
10
10
|
* roots installed on one phone can be told apart in its settings. The name is
|
|
11
11
|
* sanitised for a CN (controls removed, whitespace collapsed) and cut so the whole
|
|
12
12
|
* CN stays within 64 characters. An absent or unusable name, or one that is just
|
|
@@ -39,12 +39,12 @@ export interface EnsureTlsResult {
|
|
|
39
39
|
readonly reissueError: string | null;
|
|
40
40
|
}
|
|
41
41
|
export interface CertOptions {
|
|
42
|
-
/** Common Name for the leaf (default: '
|
|
42
|
+
/** Common Name for the leaf (default: 'dominevo.local') */
|
|
43
43
|
readonly commonName?: string;
|
|
44
44
|
/**
|
|
45
45
|
* The hub's human name (D861). Read only when a NEW local root is created: its subject
|
|
46
|
-
* becomes `
|
|
47
|
-
* is never reissued because this changed. Absent: the plain `
|
|
46
|
+
* becomes `Dominevo Local CA — <hubName>` ({@link localCaCommonName}). An existing root
|
|
47
|
+
* is never reissued because this changed. Absent: the plain `Dominevo Local CA`.
|
|
48
48
|
*/
|
|
49
49
|
readonly hubName?: string;
|
|
50
50
|
/** Leaf validity in days. Clamped to `MAX_LEAF_VALIDITY_DAYS`. */
|
|
@@ -60,8 +60,8 @@ export interface CertOptions {
|
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
62
|
* Ensure the hub has a usable TLS identity under `<dataDir>/tls`, made of
|
|
63
|
-
* a long-lived local **root** (`
|
|
64
|
-
* chained to it (`
|
|
63
|
+
* a long-lived local **root** (`dominevo-ca.crt`) and a short **leaf**
|
|
64
|
+
* chained to it (`dominevo.crt` = leaf + root, `dominevo.key`).
|
|
65
65
|
*
|
|
66
66
|
* ## The regeneration rule (D227)
|
|
67
67
|
*
|
|
@@ -92,13 +92,13 @@ export interface CertOptions {
|
|
|
92
92
|
* bugs this rule fixes.
|
|
93
93
|
*
|
|
94
94
|
* **The root is rotated only for root-level reasons.** SAN drift rotates
|
|
95
|
-
* the leaf alone, so trust granted to `
|
|
95
|
+
* the leaf alone, so trust granted to `dominevo-ca.crt` survives every
|
|
96
96
|
* address change the hub will ever see.
|
|
97
97
|
*/
|
|
98
98
|
export declare function ensureTlsCert(dataDir: string, options?: CertOptions): Promise<EnsureTlsResult>;
|
|
99
99
|
/**
|
|
100
100
|
* Operator "Regenerate": issue a new leaf under the existing local CA.
|
|
101
|
-
* Never rotates the root — trust granted to `
|
|
101
|
+
* Never rotates the root — trust granted to `dominevo-ca.crt` survives.
|
|
102
102
|
*/
|
|
103
103
|
export declare function reissueTlsLeaf(dataDir: string, options?: CertOptions): Promise<EnsureTlsResult>;
|
|
104
104
|
/**
|
|
@@ -25,7 +25,7 @@ export interface UploadCertificateOptions {
|
|
|
25
25
|
* The leaf (or chain) and key are written twice: as the served pair, and as a kept copy
|
|
26
26
|
* (`uploaded.crt` / `uploaded.key`, with the issuing CA in `uploaded-ca.crt`) that
|
|
27
27
|
* "Revert to generated" leaves in place so the upload can be selected again. The local
|
|
28
|
-
* CA (`
|
|
28
|
+
* CA (`dominevo-ca.crt` + key) is never touched - it did not sign the upload, and it is
|
|
29
29
|
* what every device that trusts it still needs.
|
|
30
30
|
*/
|
|
31
31
|
export declare function storeUploadedCertificate(dataDir: string, input: UploadCertificateInput, options?: UploadCertificateOptions): Promise<void>;
|
|
@@ -43,7 +43,7 @@ export declare function writeExtraSans(dataDir: string, sans: readonly string[])
|
|
|
43
43
|
/** The kept copy of the last upload: the chain and key as the operator supplied them. */
|
|
44
44
|
export declare const STORED_UPLOAD_CERT_FILE = "uploaded.crt";
|
|
45
45
|
export declare const STORED_UPLOAD_KEY_FILE = "uploaded.key";
|
|
46
|
-
/** Where an upload's own CA is kept — never over the local CA's `
|
|
46
|
+
/** Where an upload's own CA is kept — never over the local CA's `dominevo-ca.crt`. */
|
|
47
47
|
export declare const UPLOADED_CA_FILE = "uploaded-ca.crt";
|
|
48
48
|
/** Every certificate in a PEM bundle, in order. */
|
|
49
49
|
export declare function splitPemCertificates(pem: string): readonly string[];
|
|
@@ -2,7 +2,7 @@ const require_capability_definition = require("./capability-definition-BEVd01Xj.
|
|
|
2
2
|
const require_system_reasons = require("./system-reasons-Be_k1W8g.js");
|
|
3
3
|
const require_device_type = require("./device-type-C0Dx_pzZ.js");
|
|
4
4
|
const require_device_kind = require("./device-kind-CaovT6Hn.js");
|
|
5
|
-
const require_device_certificate = require("./device-certificate-
|
|
5
|
+
const require_device_certificate = require("./device-certificate-6irX-VEC.js");
|
|
6
6
|
const require_raw_secret_migration = require("./raw-secret-migration-DxuBFtvi.js");
|
|
7
7
|
let zod = require("zod");
|
|
8
8
|
var ViewerFeatureIdSchema = /* @__PURE__ */ zod.z.enum([
|
|
@@ -465,7 +465,7 @@ var SsoBridgeClaimsSchema = /* @__PURE__ */ zod.z.object({
|
|
|
465
465
|
*/
|
|
466
466
|
issuer: /* @__PURE__ */ zod.z.string().optional(),
|
|
467
467
|
/**
|
|
468
|
-
* SHA-256 (hex) of the `
|
|
468
|
+
* SHA-256 (hex) of the `dominevo_sso_state` cookie the IdP `/start` set in
|
|
469
469
|
* the browser that began this sign-in. `/api/auth/sso/finish` requires the
|
|
470
470
|
* request to present the matching cookie — a login bridge is useless in
|
|
471
471
|
* any other browser.
|
|
@@ -2,7 +2,7 @@ import { c as method } from "./capability-definition-C1TLUVJR.mjs";
|
|
|
2
2
|
import { t as NOT_A_DEVICE } from "./system-reasons-CYj4qwyS.mjs";
|
|
3
3
|
import { r as DeviceType } from "./device-type-eOSmS94B.mjs";
|
|
4
4
|
import { t as canonicalStoredDeviceType } from "./device-kind-DCIVtE-Z.mjs";
|
|
5
|
-
import { a as DeviceCredentialSchema, o as DeviceCredentialStatusSchema, s as StartEnrollmentOutputSchema } from "./device-certificate-
|
|
5
|
+
import { a as DeviceCredentialSchema, o as DeviceCredentialStatusSchema, s as StartEnrollmentOutputSchema } from "./device-certificate-B5LojTd8.mjs";
|
|
6
6
|
import { n as RawSecretMigrationReportSchema, t as RawSecretMigrationInputSchema } from "./raw-secret-migration-iv88mLoc.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
var ViewerFeatureIdSchema = /* @__PURE__ */ z.enum([
|
|
@@ -465,7 +465,7 @@ var SsoBridgeClaimsSchema = /* @__PURE__ */ z.object({
|
|
|
465
465
|
*/
|
|
466
466
|
issuer: /* @__PURE__ */ z.string().optional(),
|
|
467
467
|
/**
|
|
468
|
-
* SHA-256 (hex) of the `
|
|
468
|
+
* SHA-256 (hex) of the `dominevo_sso_state` cookie the IdP `/start` set in
|
|
469
469
|
* the browser that began this sign-in. `/api/auth/sso/finish` requires the
|
|
470
470
|
* request to present the matching cookie — a login bridge is useless in
|
|
471
471
|
* any other browser.
|