@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,12 +1,12 @@
|
|
|
1
1
|
import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "../../chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import { _ as hydrateSchema, t as BaseAddon } from "../../base-addon-
|
|
3
|
-
import { Z as errMsg } from "../../scoped-settings-
|
|
2
|
+
import { _ as hydrateSchema, t as BaseAddon } from "../../base-addon-DCfRA4Sq.mjs";
|
|
3
|
+
import { Z as errMsg } from "../../scoped-settings-DnkTDuvk.mjs";
|
|
4
4
|
import { n as ServerNameSchema, r as shortHostname } from "../../server-name-Dq4Z3zMJ.mjs";
|
|
5
5
|
import { n as defineCustomActions, t as customAction } from "../../custom-actions-BFUSalC9.mjs";
|
|
6
6
|
import { t as require_safe_buffer } from "../../safe-buffer-B1OjL1I9.mjs";
|
|
7
7
|
import { C as backdatedNotBefore, S as withUtcTimeEncoding, a as KeyUsageFlags, c as Pkcs10CertificateRequest, d as SubjectKeyIdentifierExtension, f as X509Certificate$1, l as Pkcs10CertificateRequestGenerator, m as cryptoProvider, n as BasicConstraintsExtension, o as KeyUsagesExtension, p as X509CertificateGenerator, r as ExtendedKeyUsageExtension, s as PemConverter, t as AuthorityKeyIdentifierExtension } from "../../x509.es-BRiJgOvu.mjs";
|
|
8
|
-
import { B as AGENT_HTTPS_NAMES_COLLECTION, G as systemConfigRecordKinds, H as AgentHttpsNames, I as isLocalOnlyHostname, U as getProcessAgentHttpsNames, V as AGENT_HTTPS_NAMES_COLUMNS, W as setProcessAgentHttpsNames, m as isPrivateAddress, r as isAnnouncedHubId } from "../../hub-identity-
|
|
9
|
-
import { a as MESH_CA_KEY_REF, c as MESH_LEAF_NOT_AFTER, i as MESH_CA_FIELD, l as SERVER_AUTH_OID, n as DEFAULT_HUB_TLS_TCP_PORT, o as MESH_CA_SETTINGS_KEY, r as MESH_CA_COMMON_NAME, s as MESH_CA_VALIDITY_DAYS, t as CLIENT_AUTH_OID } from "../../constants-
|
|
8
|
+
import { B as AGENT_HTTPS_NAMES_COLLECTION, G as systemConfigRecordKinds, H as AgentHttpsNames, I as isLocalOnlyHostname, U as getProcessAgentHttpsNames, V as AGENT_HTTPS_NAMES_COLUMNS, W as setProcessAgentHttpsNames, m as isPrivateAddress, r as isAnnouncedHubId } from "../../hub-identity-vHr6cT94.mjs";
|
|
9
|
+
import { a as MESH_CA_KEY_REF, c as MESH_LEAF_NOT_AFTER, i as MESH_CA_FIELD, l as SERVER_AUTH_OID, n as DEFAULT_HUB_TLS_TCP_PORT, o as MESH_CA_SETTINGS_KEY, r as MESH_CA_COMMON_NAME, s as MESH_CA_VALIDITY_DAYS, t as CLIENT_AUTH_OID } from "../../constants-C86EPRS1.mjs";
|
|
10
10
|
import { t as require_src } from "../../src-hG4grMU4.mjs";
|
|
11
11
|
import { z } from "zod";
|
|
12
12
|
import { X509Certificate, createHash, createPrivateKey, randomBytes, randomInt, sign, timingSafeEqual, verify, webcrypto } from "node:crypto";
|
|
@@ -109,7 +109,7 @@ function createCidrMatcher(entries) {
|
|
|
109
109
|
*/
|
|
110
110
|
/**
|
|
111
111
|
* The serialisation of an opaque origin. The native app's OTA embed
|
|
112
|
-
* (`assets/embed/
|
|
112
|
+
* (`assets/embed/dominevo-embed.html`, loaded from `file://`) sends it.
|
|
113
113
|
*/
|
|
114
114
|
var OPAQUE_ORIGIN = "null";
|
|
115
115
|
/**
|
|
@@ -188,13 +188,13 @@ var InvalidCorsOriginError = class extends Error {
|
|
|
188
188
|
* operator confirmed during pairing.
|
|
189
189
|
*
|
|
190
190
|
* ticket = b64url(header) '.' b64url(payload) '.' b64url(ES256 signature)
|
|
191
|
-
* header = { alg: 'ES256', typ: '
|
|
191
|
+
* header = { alg: 'ES256', typ: 'dominevo-agent-ui-unlock+jwt' }
|
|
192
192
|
* payload = { v: 1, use: 'agent-ui-unlock', nodeId, iat (ms), exp (ms), jti }
|
|
193
193
|
*
|
|
194
194
|
* The `typ` and `use` pins keep a join token or a pairing proof (also signed
|
|
195
195
|
* by the CA key) from ever being accepted here, and the reverse.
|
|
196
196
|
*/
|
|
197
|
-
var AGENT_UI_UNLOCK_TYP = "
|
|
197
|
+
var AGENT_UI_UNLOCK_TYP = "dominevo-agent-ui-unlock+jwt";
|
|
198
198
|
var AGENT_UI_UNLOCK_USE = "agent-ui-unlock";
|
|
199
199
|
var AGENT_UI_UNLOCK_VERSION = 1;
|
|
200
200
|
/** Ticket lifetime — long enough for a redirect hop, short enough to steal poorly. */
|
|
@@ -275,7 +275,7 @@ function verifyAgentUiUnlockTicket(caCertPem, ticket, options) {
|
|
|
275
275
|
return null;
|
|
276
276
|
}
|
|
277
277
|
if (typeof header !== "object" || header === null) return null;
|
|
278
|
-
if (Reflect.get(header, "alg") !== "ES256" || Reflect.get(header, "typ") !== "
|
|
278
|
+
if (Reflect.get(header, "alg") !== "ES256" || Reflect.get(header, "typ") !== "dominevo-agent-ui-unlock+jwt") return null;
|
|
279
279
|
let valid = false;
|
|
280
280
|
try {
|
|
281
281
|
valid = verify("sha256", Buffer.from(`${headerB64}.${payloadB64}`, "utf8"), {
|
|
@@ -519,7 +519,7 @@ async function exportMeshPrivateKeyPem(key) {
|
|
|
519
519
|
}
|
|
520
520
|
//#endregion
|
|
521
521
|
//#region src/kernel/moleculer/mesh-mtls/mesh-ca-keeper.ts
|
|
522
|
-
var SLOT$3 = Symbol.for("
|
|
522
|
+
var SLOT$3 = Symbol.for("dominevo.mesh.ca");
|
|
523
523
|
var NOT_LOADED = {
|
|
524
524
|
state: "unavailable",
|
|
525
525
|
reason: "not-loaded"
|
|
@@ -693,7 +693,7 @@ var MeshCrl = class {
|
|
|
693
693
|
function normalizeSerial$1(serial) {
|
|
694
694
|
return serial.replace(/^0x/i, "").replace(/:/g, "").toLowerCase();
|
|
695
695
|
}
|
|
696
|
-
var SLOT$2 = Symbol.for("
|
|
696
|
+
var SLOT$2 = Symbol.for("dominevo.mesh.crl");
|
|
697
697
|
function processMeshCrl() {
|
|
698
698
|
const existing = Reflect.get(globalThis, SLOT$2);
|
|
699
699
|
if (existing instanceof MeshCrl) return existing;
|
|
@@ -1149,7 +1149,7 @@ var MeshCertificateRegistry = class {
|
|
|
1149
1149
|
}
|
|
1150
1150
|
}
|
|
1151
1151
|
};
|
|
1152
|
-
var SLOT$1 = Symbol.for("
|
|
1152
|
+
var SLOT$1 = Symbol.for("dominevo.mesh.certificate-registry");
|
|
1153
1153
|
function setProcessMeshCertificateRegistry(registry) {
|
|
1154
1154
|
if (registry === null) Reflect.deleteProperty(globalThis, SLOT$1);
|
|
1155
1155
|
else Reflect.set(globalThis, SLOT$1, registry);
|
|
@@ -1160,7 +1160,7 @@ function getProcessMeshCertificateRegistry() {
|
|
|
1160
1160
|
}
|
|
1161
1161
|
//#endregion
|
|
1162
1162
|
//#region src/kernel/moleculer/mesh-mtls/mesh-tls-gate.ts
|
|
1163
|
-
var STATE_SLOT = Symbol.for("
|
|
1163
|
+
var STATE_SLOT = Symbol.for("dominevo.mesh.tls-listener-state");
|
|
1164
1164
|
function setProcessMeshTlsListenerState(state) {
|
|
1165
1165
|
if (state === null) Reflect.deleteProperty(globalThis, STATE_SLOT);
|
|
1166
1166
|
else Reflect.set(globalThis, STATE_SLOT, state);
|
|
@@ -1446,7 +1446,7 @@ async function revokeMeshCertificate(deps) {
|
|
|
1446
1446
|
}
|
|
1447
1447
|
//#endregion
|
|
1448
1448
|
//#region src/kernel/moleculer/mesh-mtls/mesh-peer-transport.ts
|
|
1449
|
-
var LOOKUP_SLOT = Symbol.for("
|
|
1449
|
+
var LOOKUP_SLOT = Symbol.for("dominevo.cluster.mesh-peer-transport-lookup");
|
|
1450
1450
|
/** Published by the hub broker owner; cleared on shutdown. */
|
|
1451
1451
|
function setProcessMeshPeerTransportLookup(lookup) {
|
|
1452
1452
|
if (lookup === null) Reflect.deleteProperty(globalThis, LOOKUP_SLOT);
|
|
@@ -1475,7 +1475,7 @@ function isProcessVerifiedMeshPeer(nodeId) {
|
|
|
1475
1475
|
function dropProcessPeer(nodeId) {
|
|
1476
1476
|
return getProcessMeshPeerTransportLookup()?.dropPeer?.(nodeId) ?? 0;
|
|
1477
1477
|
}
|
|
1478
|
-
var REGISTRATION_SLOT = Symbol.for("
|
|
1478
|
+
var REGISTRATION_SLOT = Symbol.for("dominevo.cluster.node-registration-listeners");
|
|
1479
1479
|
function registrationListeners() {
|
|
1480
1480
|
const existing = Reflect.get(globalThis, REGISTRATION_SLOT);
|
|
1481
1481
|
if (existing instanceof Set) return existing;
|
|
@@ -1501,7 +1501,7 @@ function emitProcessNodeRegistered(nodeId, addonIds) {
|
|
|
1501
1501
|
listener(nodeId, addonIds);
|
|
1502
1502
|
} catch {}
|
|
1503
1503
|
}
|
|
1504
|
-
var REPORTER_SLOT = Symbol.for("
|
|
1504
|
+
var REPORTER_SLOT = Symbol.for("dominevo.cluster.mesh-handshake-reporter");
|
|
1505
1505
|
function setProcessMeshHandshakeReporter(reporter) {
|
|
1506
1506
|
if (reporter === null) Reflect.deleteProperty(globalThis, REPORTER_SLOT);
|
|
1507
1507
|
else Reflect.set(globalThis, REPORTER_SLOT, reporter);
|
|
@@ -1515,7 +1515,7 @@ function getProcessMeshHandshakeReporter() {
|
|
|
1515
1515
|
}
|
|
1516
1516
|
//#endregion
|
|
1517
1517
|
//#region src/kernel/moleculer/mesh-mtls/mesh-tls-enabler.ts
|
|
1518
|
-
var SLOT = Symbol.for("
|
|
1518
|
+
var SLOT = Symbol.for("dominevo.mesh.tls-enabler");
|
|
1519
1519
|
function setProcessMeshTlsEnabler(enabler) {
|
|
1520
1520
|
if (enabler === null) Reflect.deleteProperty(globalThis, SLOT);
|
|
1521
1521
|
else Reflect.set(globalThis, SLOT, enabler);
|
|
@@ -87485,7 +87485,7 @@ function isTlsSocket(socket) {
|
|
|
87485
87485
|
* the agent signs `proofInput(nodeId, nonce)` with its LEAF's private key, so only the holder
|
|
87486
87486
|
* of a key the hub's CA certified for `nodeId` is answered; anything else is `401` and learns
|
|
87487
87487
|
* nothing (not even whether the node id exists).
|
|
87488
|
-
* 3. The answer is a JWS signed by the MESH CA key (`typ:
|
|
87488
|
+
* 3. The answer is a JWS signed by the MESH CA key (`typ: dominevo-mesh-membership+jwt`), bound to
|
|
87489
87489
|
* the nonce and the leaf fingerprint, so a man in the middle cannot forge "revoked" - the agent
|
|
87490
87490
|
* verifies it with the CA it pinned at pairing. The hub's HTTPS certificate is not trusted for it.
|
|
87491
87491
|
*
|
|
@@ -87498,14 +87498,14 @@ var MEMBERSHIP_PATHS = {
|
|
|
87498
87498
|
challenge: "/api/mesh/membership/challenge",
|
|
87499
87499
|
query: "/api/mesh/membership"
|
|
87500
87500
|
};
|
|
87501
|
-
var MEMBERSHIP_TYP = "
|
|
87501
|
+
var MEMBERSHIP_TYP = "dominevo-mesh-membership+jwt";
|
|
87502
87502
|
var MEMBERSHIP_USE = "mesh-membership";
|
|
87503
87503
|
var MEMBERSHIP_VERSION = 1;
|
|
87504
87504
|
/** A challenge nonce, and an answer, are good for this long. */
|
|
87505
87505
|
var MEMBERSHIP_TTL_MS = 6e4;
|
|
87506
87506
|
/** Challenges held at once; the oldest is dropped past this (an unauthenticated route stays bounded). */
|
|
87507
87507
|
var MAX_PENDING_CHALLENGES = 1024;
|
|
87508
|
-
var PROOF_CONTEXT = "
|
|
87508
|
+
var PROOF_CONTEXT = "dominevo-mesh-membership-v1";
|
|
87509
87509
|
/** What the agent signs with its leaf key: bound to this node and this nonce only. */
|
|
87510
87510
|
function membershipProofInput(nodeId, nonce) {
|
|
87511
87511
|
return Buffer.from(`${PROOF_CONTEXT}\n${nodeId}\n${nonce}`, "utf8");
|
|
@@ -87569,7 +87569,7 @@ function verifyMembershipAnswer(caCertPem, token, options) {
|
|
|
87569
87569
|
return null;
|
|
87570
87570
|
}
|
|
87571
87571
|
if (typeof header !== "object" || header === null) return null;
|
|
87572
|
-
if (Reflect.get(header, "alg") !== "ES256" || Reflect.get(header, "typ") !== "
|
|
87572
|
+
if (Reflect.get(header, "alg") !== "ES256" || Reflect.get(header, "typ") !== "dominevo-mesh-membership+jwt") return null;
|
|
87573
87573
|
let valid = false;
|
|
87574
87574
|
try {
|
|
87575
87575
|
valid = verify("sha256", Buffer.from(`${headerB64}.${payloadB64}`, "utf8"), {
|
|
@@ -87732,10 +87732,10 @@ var MembershipResponder = class {
|
|
|
87732
87732
|
* confirmed — never with one that arrives in the same message.
|
|
87733
87733
|
*/
|
|
87734
87734
|
var PAIRING_PROTOCOL = 1;
|
|
87735
|
-
var PAIRING_DOMAIN = "
|
|
87736
|
-
var PAIRING_PROOF_TYP = "
|
|
87735
|
+
var PAIRING_DOMAIN = "dominevo-pairing/v1";
|
|
87736
|
+
var PAIRING_PROOF_TYP = "dominevo-pairing-complete+jwt";
|
|
87737
87737
|
var PAIRING_PROOF_USE = "pairing-complete";
|
|
87738
|
-
var PAIRING_OFFER_TYP = "
|
|
87738
|
+
var PAIRING_OFFER_TYP = "dominevo-pairing-offer+jwt";
|
|
87739
87739
|
var PAIRING_OFFER_USE = "pairing-offer";
|
|
87740
87740
|
/** An offer signature older than this (or from further ahead than 60 s) is refused. */
|
|
87741
87741
|
var PAIRING_OFFER_MAX_AGE_MS = 2 * 6e4;
|
|
@@ -87848,7 +87848,7 @@ function verifyPairingProof(caCertPem, proof) {
|
|
|
87848
87848
|
return null;
|
|
87849
87849
|
}
|
|
87850
87850
|
if (header === null || typeof header !== "object") return null;
|
|
87851
|
-
if (Reflect.get(header, "alg") !== "ES256" || Reflect.get(header, "typ") !== "
|
|
87851
|
+
if (Reflect.get(header, "alg") !== "ES256" || Reflect.get(header, "typ") !== "dominevo-pairing-complete+jwt") return null;
|
|
87852
87852
|
let valid = false;
|
|
87853
87853
|
try {
|
|
87854
87854
|
valid = verify("sha256", Buffer.from(`${headerB64}.${payloadB64}`, "utf8"), {
|
|
@@ -87923,7 +87923,7 @@ function verifyPairingOffer(caCertPem, token) {
|
|
|
87923
87923
|
return null;
|
|
87924
87924
|
}
|
|
87925
87925
|
if (header === null || typeof header !== "object") return null;
|
|
87926
|
-
if (Reflect.get(header, "alg") !== "ES256" || Reflect.get(header, "typ") !== "
|
|
87926
|
+
if (Reflect.get(header, "alg") !== "ES256" || Reflect.get(header, "typ") !== "dominevo-pairing-offer+jwt") return null;
|
|
87927
87927
|
let valid = false;
|
|
87928
87928
|
try {
|
|
87929
87929
|
valid = verify("sha256", Buffer.from(`${headerB64}.${payloadB64}`, "utf8"), {
|
|
@@ -88973,7 +88973,7 @@ var MESH_REAP_MS = 24 * 36e5;
|
|
|
88973
88973
|
* state of their own (the session token lifetime).
|
|
88974
88974
|
*
|
|
88975
88975
|
* Sections exposed — this list is the whole of it:
|
|
88976
|
-
* - server (port, host, dataPath — READ-ONLY, set by
|
|
88976
|
+
* - server (port, host, dataPath — READ-ONLY, set by DOMINEVO_PORT / DOMINEVO_HOST / DOMINEVO_DATA;
|
|
88977
88977
|
* name = the hub's human name, `server.name`, editable — D861)
|
|
88978
88978
|
* - auth (tokenExpiry = session lifetime, accessTokenExpiry, trustedProxies,
|
|
88979
88979
|
* trustedNetworks, corsOrigins)
|
|
@@ -89002,7 +89002,7 @@ var MESH_REAP_MS = 24 * 36e5;
|
|
|
89002
89002
|
* surface" addon — its sole purpose is to expose the yml sections
|
|
89003
89003
|
* through the new three-level settings API.
|
|
89004
89004
|
*
|
|
89005
|
-
* This addon is declared in `@dominevo/server/system`'s package.json `
|
|
89005
|
+
* This addon is declared in `@dominevo/server/system`'s package.json `dominevo.addons[]`
|
|
89006
89006
|
* and loaded automatically via AddonLoader like any other core built-in.
|
|
89007
89007
|
*/
|
|
89008
89008
|
/** Section key → user-facing section title. */
|
|
@@ -89254,7 +89254,7 @@ var SystemConfigAddon = class extends BaseAddon {
|
|
|
89254
89254
|
key: "server-restart-note",
|
|
89255
89255
|
label: "Restart required",
|
|
89256
89256
|
labelKey: "server:global.s_system-config-server.server-restart-note.label",
|
|
89257
|
-
content: "Port, host and data path are read-only: set the environment variables
|
|
89257
|
+
content: "Port, host and data path are read-only: set the environment variables DOMINEVO_PORT, DOMINEVO_HOST and DOMINEVO_DATA, then restart.",
|
|
89258
89258
|
variant: "warning"
|
|
89259
89259
|
},
|
|
89260
89260
|
{
|
|
@@ -89262,7 +89262,7 @@ var SystemConfigAddon = class extends BaseAddon {
|
|
|
89262
89262
|
key: "port",
|
|
89263
89263
|
label: "Port",
|
|
89264
89264
|
labelKey: "server:global.s_system-config-server.port.label",
|
|
89265
|
-
description: "Listening port (
|
|
89265
|
+
description: "Listening port (DOMINEVO_PORT)",
|
|
89266
89266
|
descriptionKey: "server:global.s_system-config-server.port.description",
|
|
89267
89267
|
disabled: true
|
|
89268
89268
|
},
|
|
@@ -89271,7 +89271,7 @@ var SystemConfigAddon = class extends BaseAddon {
|
|
|
89271
89271
|
key: "host",
|
|
89272
89272
|
label: "Host",
|
|
89273
89273
|
labelKey: "server:global.s_system-config-server.host.label",
|
|
89274
|
-
description: "Bind address (
|
|
89274
|
+
description: "Bind address (DOMINEVO_HOST)",
|
|
89275
89275
|
descriptionKey: "server:global.s_system-config-server.host.description",
|
|
89276
89276
|
disabled: true
|
|
89277
89277
|
},
|
|
@@ -89280,7 +89280,7 @@ var SystemConfigAddon = class extends BaseAddon {
|
|
|
89280
89280
|
key: "dataPath",
|
|
89281
89281
|
label: "Data Path",
|
|
89282
89282
|
labelKey: "server:global.s_system-config-server.dataPath.label",
|
|
89283
|
-
description: "Root data directory (
|
|
89283
|
+
description: "Root data directory (DOMINEVO_DATA)",
|
|
89284
89284
|
descriptionKey: "server:global.s_system-config-server.dataPath.description",
|
|
89285
89285
|
disabled: true,
|
|
89286
89286
|
span: 2
|
|
@@ -3,11 +3,11 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_base_addon = require("../../base-addon
|
|
7
|
-
const require_migration = require("../../migration-
|
|
6
|
+
const require_base_addon = require("../../base-addon-CwtR9jMm.js");
|
|
7
|
+
const require_migration = require("../../migration-CvC7YRxn.js");
|
|
8
8
|
const require_log_destination_cap = require("../../log-destination.cap-DMTMDpBQ.js");
|
|
9
9
|
const require_formatter = require("../../formatter-xbxeV4GD.js");
|
|
10
|
-
const require_log_file_read_protocol = require("../../log-file-read-protocol-
|
|
10
|
+
const require_log_file_read_protocol = require("../../log-file-read-protocol-BRHlsNCj.js");
|
|
11
11
|
let node_path = require("node:path");
|
|
12
12
|
node_path = require_chunk.__toESM(node_path);
|
|
13
13
|
let node_module = require("node:module");
|
|
@@ -243,7 +243,7 @@ var WinstonDestination = class {
|
|
|
243
243
|
this.readerOptions = readerOptions;
|
|
244
244
|
}
|
|
245
245
|
async initialize(config) {
|
|
246
|
-
const { level = "info", retentionDays = 30, logsDir = node_path.join("
|
|
246
|
+
const { level = "info", retentionDays = 30, logsDir = node_path.join("dominevo-data", "logs") } = config ?? {};
|
|
247
247
|
this.retentionDays = retentionDays;
|
|
248
248
|
this.reader = new LogFileReadClient({
|
|
249
249
|
...this.readerOptions,
|
|
@@ -260,7 +260,7 @@ var WinstonDestination = class {
|
|
|
260
260
|
const fileFormat = winston.format.combine(winston.format.timestamp(), stripRendered(), winston.format.json());
|
|
261
261
|
const fileTransport = new winston_daily_rotate_file.default({
|
|
262
262
|
dirname: logsDir,
|
|
263
|
-
filename: "
|
|
263
|
+
filename: "dominevo-%DATE%.log",
|
|
264
264
|
datePattern: "YYYY-MM-DD",
|
|
265
265
|
maxFiles: `${retentionDays}d`,
|
|
266
266
|
format: fileFormat
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { f as defineAddonMigrations, t as BaseAddon } from "../../base-addon-
|
|
2
|
-
import { u as preconditionOf } from "../../migration-
|
|
1
|
+
import { f as defineAddonMigrations, t as BaseAddon } from "../../base-addon-DCfRA4Sq.mjs";
|
|
2
|
+
import { u as preconditionOf } from "../../migration-DDDUJnTU.mjs";
|
|
3
3
|
import { t as logDestinationCapability } from "../../log-destination.cap-BN87x9HT.mjs";
|
|
4
4
|
import { t as formatLogLine } from "../../formatter-DkYZ4LXp.mjs";
|
|
5
|
-
import { a as LogFileIndexStore, i as serveRead, n as isFromReader, t as CancelBook } from "../../log-file-read-protocol-
|
|
5
|
+
import { a as LogFileIndexStore, i as serveRead, n as isFromReader, t as CancelBook } from "../../log-file-read-protocol-B3Tq2F50.mjs";
|
|
6
6
|
import { createRequire } from "node:module";
|
|
7
7
|
import * as path$1 from "node:path";
|
|
8
8
|
import path from "node:path";
|
|
@@ -236,7 +236,7 @@ var WinstonDestination = class {
|
|
|
236
236
|
this.readerOptions = readerOptions;
|
|
237
237
|
}
|
|
238
238
|
async initialize(config) {
|
|
239
|
-
const { level = "info", retentionDays = 30, logsDir = path$1.join("
|
|
239
|
+
const { level = "info", retentionDays = 30, logsDir = path$1.join("dominevo-data", "logs") } = config ?? {};
|
|
240
240
|
this.retentionDays = retentionDays;
|
|
241
241
|
this.reader = new LogFileReadClient({
|
|
242
242
|
...this.readerOptions,
|
|
@@ -253,7 +253,7 @@ var WinstonDestination = class {
|
|
|
253
253
|
const fileFormat = winston.format.combine(winston.format.timestamp(), stripRendered(), winston.format.json());
|
|
254
254
|
const fileTransport = new DailyRotateFile({
|
|
255
255
|
dirname: logsDir,
|
|
256
|
-
filename: "
|
|
256
|
+
filename: "dominevo-%DATE%.log",
|
|
257
257
|
datePattern: "YYYY-MM-DD",
|
|
258
258
|
maxFiles: `${retentionDays}d`,
|
|
259
259
|
format: fileFormat
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** `
|
|
1
|
+
/** `dominevo-YYYY-MM-DD.log`, as `winston-daily-rotate-file` names them. */
|
|
2
2
|
export declare const LOG_FILE_NAME_RE: RegExp;
|
|
3
3
|
/** A position in one daily file. */
|
|
4
4
|
export interface FileCursor {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* await api.platformProbe.getCapabilities.query(undefined, nodePin(nodeId))
|
|
22
22
|
*/
|
|
23
23
|
/** tRPC `op.context` key carrying a per-call node pin. */
|
|
24
|
-
var CAP_NODE_PIN_CONTEXT_KEY = "
|
|
24
|
+
var CAP_NODE_PIN_CONTEXT_KEY = "__dominevoNodePin";
|
|
25
25
|
/**
|
|
26
26
|
* Build the tRPC request options that pin a single capability call to `nodeId`.
|
|
27
27
|
* Pass as the second argument to `.query(input, …)` / `.mutate(input, …)`.
|
|
@@ -59,7 +59,7 @@ function toNodeId(idOrRunnerId) {
|
|
|
59
59
|
return head === void 0 || head.length === 0 ? idOrRunnerId : head;
|
|
60
60
|
}
|
|
61
61
|
/** tRPC `op.context` key carrying a per-call command origin claim (D1022). */
|
|
62
|
-
var CAP_COMMAND_ORIGIN_CONTEXT_KEY = "
|
|
62
|
+
var CAP_COMMAND_ORIGIN_CONTEXT_KEY = "__dominevoCommandOrigin";
|
|
63
63
|
/**
|
|
64
64
|
* Build the tRPC request options that state WHY a device command is being issued
|
|
65
65
|
* (an action run, a scheduler). Pass as the second argument to `.mutate(input, …)`;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* await api.platformProbe.getCapabilities.query(undefined, nodePin(nodeId))
|
|
22
22
|
*/
|
|
23
23
|
/** tRPC `op.context` key carrying a per-call node pin. */
|
|
24
|
-
var CAP_NODE_PIN_CONTEXT_KEY = "
|
|
24
|
+
var CAP_NODE_PIN_CONTEXT_KEY = "__dominevoNodePin";
|
|
25
25
|
/**
|
|
26
26
|
* Build the tRPC request options that pin a single capability call to `nodeId`.
|
|
27
27
|
* Pass as the second argument to `.query(input, …)` / `.mutate(input, …)`.
|
|
@@ -59,7 +59,7 @@ function toNodeId(idOrRunnerId) {
|
|
|
59
59
|
return head === void 0 || head.length === 0 ? idOrRunnerId : head;
|
|
60
60
|
}
|
|
61
61
|
/** tRPC `op.context` key carrying a per-call command origin claim (D1022). */
|
|
62
|
-
var CAP_COMMAND_ORIGIN_CONTEXT_KEY = "
|
|
62
|
+
var CAP_COMMAND_ORIGIN_CONTEXT_KEY = "__dominevoCommandOrigin";
|
|
63
63
|
/**
|
|
64
64
|
* Build the tRPC request options that state WHY a device command is being issued
|
|
65
65
|
* (an action run, a scheduler). Pass as the second argument to `.mutate(input, …)`;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as allVocabActions, l as CAP_VOCABULARY_BY_NAME, o as findVocabAction, r as actionEffect, s as vocabActionIdFor } from "./retention-source.cap-
|
|
1
|
+
import { i as allVocabActions, l as CAP_VOCABULARY_BY_NAME, o as findVocabAction, r as actionEffect, s as vocabActionIdFor } from "./retention-source.cap-DLKW-DAE.mjs";
|
|
2
2
|
//#region ../types/dist/esm/device/cap-vocabulary/command-catalog.mjs
|
|
3
3
|
/**
|
|
4
4
|
* The command catalogue (D1022): which cap methods are COMMANDS - the
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_retention_source_cap = require("./retention-source.cap-
|
|
1
|
+
const require_retention_source_cap = require("./retention-source.cap-CuI320Je.js");
|
|
2
2
|
//#region ../types/dist/esm/device/cap-vocabulary/command-catalog.mjs
|
|
3
3
|
/**
|
|
4
4
|
* The command catalogue (D1022): which cap methods are COMMANDS - the
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_scoped_settings = require("./scoped-settings-
|
|
2
|
-
const require_jobs_cap = require("./jobs.cap-
|
|
1
|
+
const require_scoped_settings = require("./scoped-settings-8uzhJVsE.js");
|
|
2
|
+
const require_jobs_cap = require("./jobs.cap-Blrf2noc.js");
|
|
3
3
|
const require_compile = require("./compile-DToIehU4.js");
|
|
4
4
|
//#region ../types/dist/esm/composition/customize/field-source.mjs
|
|
5
5
|
function fromRead(source, cap, fieldPath) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Z as errMsg } from "./scoped-settings-
|
|
2
|
-
import { nt as CAP_CUSTOMIZE_CATALOG } from "./jobs.cap-
|
|
1
|
+
import { Z as errMsg } from "./scoped-settings-DnkTDuvk.mjs";
|
|
2
|
+
import { nt as CAP_CUSTOMIZE_CATALOG } from "./jobs.cap-DdrDabtW.mjs";
|
|
3
3
|
import { A as compositionSourceKey, a as isIdentifier, c as signedToken, i as dwellExpr, l as unsignedToken, o as linearExpr, r as constantExpr, s as overrideExpr } from "./compile-BWflhCNY.mjs";
|
|
4
4
|
//#region ../types/dist/esm/composition/customize/field-source.mjs
|
|
5
5
|
function fromRead(source, cap, fieldPath) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** `secret://system/global/meshCaKey` — EC P-256 PKCS#8 PEM of the hub mesh CA. */
|
|
2
|
-
var MESH_CA_KEY_REF = require("./scoped-settings-
|
|
2
|
+
var MESH_CA_KEY_REF = require("./scoped-settings-8uzhJVsE.js").buildSecretRef({
|
|
3
3
|
owner: "system",
|
|
4
4
|
scope: { kind: "global" },
|
|
5
5
|
fieldPath: "meshCaKey"
|
|
@@ -18,7 +18,7 @@ var MESH_LEAF_NOT_AFTER = /* @__PURE__ */ new Date("9999-12-31T23:59:59Z");
|
|
|
18
18
|
var MESH_CA_VALIDITY_DAYS = 3650;
|
|
19
19
|
var DEFAULT_HUB_TLS_TCP_PORT = 6443;
|
|
20
20
|
/** Subject of the mesh root. Distinct from the HTTPS local CA. */
|
|
21
|
-
var MESH_CA_COMMON_NAME = "
|
|
21
|
+
var MESH_CA_COMMON_NAME = "Dominevo Mesh CA";
|
|
22
22
|
/** Client + server auth EKU OIDs (mutual TLS). */
|
|
23
23
|
var SERVER_AUTH_OID = "1.3.6.1.5.5.7.3.1";
|
|
24
24
|
var CLIENT_AUTH_OID = "1.3.6.1.5.5.7.3.2";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as buildSecretRef } from "./scoped-settings-
|
|
1
|
+
import { b as buildSecretRef } from "./scoped-settings-DnkTDuvk.mjs";
|
|
2
2
|
/** `secret://system/global/meshCaKey` — EC P-256 PKCS#8 PEM of the hub mesh CA. */
|
|
3
3
|
var MESH_CA_KEY_REF = buildSecretRef({
|
|
4
4
|
owner: "system",
|
|
@@ -19,7 +19,7 @@ var MESH_LEAF_NOT_AFTER = /* @__PURE__ */ new Date("9999-12-31T23:59:59Z");
|
|
|
19
19
|
var MESH_CA_VALIDITY_DAYS = 3650;
|
|
20
20
|
var DEFAULT_HUB_TLS_TCP_PORT = 6443;
|
|
21
21
|
/** Subject of the mesh root. Distinct from the HTTPS local CA. */
|
|
22
|
-
var MESH_CA_COMMON_NAME = "
|
|
22
|
+
var MESH_CA_COMMON_NAME = "Dominevo Mesh CA";
|
|
23
23
|
/** Client + server auth EKU OIDs (mutual TLS). */
|
|
24
24
|
var SERVER_AUTH_OID = "1.3.6.1.5.5.7.3.1";
|
|
25
25
|
var CLIENT_AUTH_OID = "1.3.6.1.5.5.7.3.2";
|