@dominevo/server 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +4 -4
- package/CHANGELOG.md +7 -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 +71 -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 +8 -8
- 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 +8 -8
- package/system/dist/builtins/alerts/alerts.addon.js +7 -7
- package/system/dist/builtins/alerts/alerts.addon.mjs +9 -9
- 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 +8 -8
- 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 +17 -17
- 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 +23 -23
- 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 +12 -12
- 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 +22 -22
- 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 +143 -143
- 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/{coral-accelerators-DXDOGcym.mjs → coral-accelerators-CSu5Ahx5.mjs} +6 -6
- package/system/dist/{custom-action-registry-Bd52pRgO.mjs → custom-action-registry-BklzKCJe.mjs} +162 -162
- package/system/dist/{custom-action-registry-DHOCDRef.js → custom-action-registry-C_yB2qlc.js} +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-Ctf-OLhe.mjs → hub-identity-C1lUxisZ.mjs} +19 -19
- package/system/dist/{hub-identity-C5oay5SY.js → hub-identity-DihZeMUF.js} +10 -10
- package/system/dist/{hub-mdns-ciao-BjVwHmsr.js → hub-mdns-ciao-D2Rcz1Kb.js} +42 -42
- package/system/dist/{hub-mdns-ciao-C9adAMGN.mjs → hub-mdns-ciao-D5Udd2A_.mjs} +39 -39
- package/system/dist/index.js +152 -152
- package/system/dist/index.mjs +355 -355
- 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-DngNk5Yg.mjs} +104 -104
- 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,39 +1,39 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_stream_catalog_cap = require("../../stream-catalog.cap-
|
|
4
|
-
const require_base_addon = require("../../base-addon
|
|
5
|
-
const require_scoped_settings = require("../../scoped-settings-
|
|
6
|
-
const require_rename_composition_block = require("../../rename-composition-block-
|
|
7
|
-
const require_notification_targets = require("../../notification-targets-
|
|
8
|
-
const
|
|
3
|
+
const require_stream_catalog_cap = require("../../stream-catalog.cap-Bl0BSYye.js");
|
|
4
|
+
const require_base_addon = require("../../base-addon-CwtR9jMm.js");
|
|
5
|
+
const require_scoped_settings = require("../../scoped-settings-8uzhJVsE.js");
|
|
6
|
+
const require_rename_composition_block = require("../../rename-composition-block-CeKeUquQ.js");
|
|
7
|
+
const require_notification_targets = require("../../notification-targets-BH-Kq5zA.js");
|
|
8
|
+
const require_dominevo_error = require("../../dominevo-error-CTBRQM6p.js");
|
|
9
9
|
const require_notification_rules_cap = require("../../notification-rules.cap-Cj3i8EhU.js");
|
|
10
|
-
const require_record_kind = require("../../record-kind-
|
|
11
|
-
const require_entry_kind = require("../../entry-kind-
|
|
12
|
-
const require_device_manager_cap = require("../../device-manager.cap-
|
|
10
|
+
const require_record_kind = require("../../record-kind-BYbL_LNZ.js");
|
|
11
|
+
const require_entry_kind = require("../../entry-kind-DzaK6R6L.js");
|
|
12
|
+
const require_device_manager_cap = require("../../device-manager.cap-CVm8e--n.js");
|
|
13
13
|
const require_command_origin_claim = require("../../command-origin-claim-Cief660O.js");
|
|
14
14
|
const require_device_transitions_cap = require("../../device-transitions.cap-Cvnrc-UF.js");
|
|
15
15
|
const require_quantity = require("../../quantity-DnOvkBq7.js");
|
|
16
16
|
const require_tag = require("../../tag-BLraBqvp.js");
|
|
17
17
|
const require_device_type = require("../../device-type-C0Dx_pzZ.js");
|
|
18
18
|
const require_device_kind = require("../../device-kind-CaovT6Hn.js");
|
|
19
|
-
const require_jobs_cap = require("../../jobs.cap-
|
|
20
|
-
const require_retention_source_cap = require("../../retention-source.cap-
|
|
19
|
+
const require_jobs_cap = require("../../jobs.cap-Blrf2noc.js");
|
|
20
|
+
const require_retention_source_cap = require("../../retention-source.cap-CuI320Je.js");
|
|
21
21
|
const require_compile = require("../../compile-DToIehU4.js");
|
|
22
22
|
const require_time_window = require("../../time-window-CEqgaWIS.js");
|
|
23
|
-
const require_named_entity_store = require("../../named-entity-store-
|
|
23
|
+
const require_named_entity_store = require("../../named-entity-store-B7MMnZq_.js");
|
|
24
24
|
const require_l10n = require("../../l10n-CGMvp7NF.js");
|
|
25
25
|
const require_integration_instances_cap = require("../../integration-instances.cap-lh_F2wyM.js");
|
|
26
|
-
const require_cap_call_context = require("../../cap-call-context-
|
|
27
|
-
const require_composition_sources = require("../../composition-sources-
|
|
28
|
-
const require_declared_device = require("../../declared-device-
|
|
29
|
-
const require_device_removal_reconcile = require("../../device-removal-reconcile-
|
|
26
|
+
const require_cap_call_context = require("../../cap-call-context-3-L-JQ3d.js");
|
|
27
|
+
const require_composition_sources = require("../../composition-sources-BD_14SLn.js");
|
|
28
|
+
const require_declared_device = require("../../declared-device-BFexdYcl.js");
|
|
29
|
+
const require_device_removal_reconcile = require("../../device-removal-reconcile-BtBOAfIX.js");
|
|
30
30
|
const require_read_all_rows$1 = require("../../read-all-rows-CVoO1ONM.js");
|
|
31
31
|
const require_capture_engine = require("../../capture-engine-Cz4X5PZ_.js");
|
|
32
32
|
const require_prefix_range = require("../../prefix-range-D_KueXbQ.js");
|
|
33
33
|
const require_cap_call_scope = require("../../cap-call-scope-BI4Xrpt1.js");
|
|
34
34
|
let zod = require("zod");
|
|
35
|
-
let node_crypto = require("node:crypto");
|
|
36
35
|
let _dominevo_types_node = require("@dominevo/types/node");
|
|
36
|
+
let node_crypto = require("node:crypto");
|
|
37
37
|
let node_net = require("node:net");
|
|
38
38
|
node_net = require_chunk.__toESM(node_net);
|
|
39
39
|
let node_path = require("node:path");
|
|
@@ -8491,7 +8491,7 @@ var import_read_all_rows = require_read_all_rows$1.require_read_all_rows();
|
|
|
8491
8491
|
*
|
|
8492
8492
|
* `dist/block.js` — the author's TypeScript, transpiled.
|
|
8493
8493
|
* `dist/index.js` — a generated wrapper that adapts the author's contract
|
|
8494
|
-
* (`export default (ctx) => disposer`) to `
|
|
8494
|
+
* (`export default (ctx) => disposer`) to `IDominevoAddon`.
|
|
8495
8495
|
*
|
|
8496
8496
|
* The wrapper exists so the author never writes `super({})`, which is the trap
|
|
8497
8497
|
* that killed `CoreBlocksAddon` in production while the build stayed green and
|
|
@@ -8600,7 +8600,7 @@ function renderBlockManifest(blockId, blockName) {
|
|
|
8600
8600
|
private: true,
|
|
8601
8601
|
type: "module",
|
|
8602
8602
|
main: "./dist/index.js",
|
|
8603
|
-
|
|
8603
|
+
dominevo: { addons: [{
|
|
8604
8604
|
id: blockAddonId(blockId),
|
|
8605
8605
|
name: blockName,
|
|
8606
8606
|
category: "system",
|
|
@@ -9752,7 +9752,7 @@ var BlockSettingsStore = class {
|
|
|
9752
9752
|
* build of this package; the bundler erases `import.meta` to `{}`, so
|
|
9753
9753
|
* `import.meta.resolve?.('@dominevo/types')` is always undefined and the old
|
|
9754
9754
|
* fallback — `process.cwd()/node_modules/@dominevo/types` — wins. On a live
|
|
9755
|
-
* hub `cwd` is the image seed (`/opt/
|
|
9755
|
+
* hub `cwd` is the image seed (`/opt/dominevo-hub`), not the active data-root
|
|
9756
9756
|
* closure that actually runs. That served a months-old `ConfigSelectField`
|
|
9757
9757
|
* without `optionsFrom` while `/data/server-root/current` already had it, and
|
|
9758
9758
|
* Monaco blocked Save on a property the runtime hydrate already understood.
|
|
@@ -20003,8 +20003,8 @@ var TagsService = class {
|
|
|
20003
20003
|
if (before !== null && before.name !== updated.name) await this.followRenameOnNamesOnlyOwners(before.name, updated.name);
|
|
20004
20004
|
return updated;
|
|
20005
20005
|
} catch (err) {
|
|
20006
|
-
if (err instanceof require_named_entity_store.EntityNotFoundError) throw
|
|
20007
|
-
if (err instanceof require_named_entity_store.EntityNameTakenError) throw
|
|
20006
|
+
if (err instanceof require_named_entity_store.EntityNotFoundError) throw require_dominevo_error.userError("system.tag-not-found", void 0, `[tags] tag not found: ${id}`);
|
|
20007
|
+
if (err instanceof require_named_entity_store.EntityNameTakenError) throw require_dominevo_error.userError("system.tag-name-taken", void 0, `[tags] ${err.message}`);
|
|
20008
20008
|
throw err;
|
|
20009
20009
|
}
|
|
20010
20010
|
};
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { r as MotionStatusSchema } from "../../stream-catalog.cap-
|
|
2
|
-
import { _ as hydrateSchema, a as isSecretRefOwnedBy, b as EventCategory$1, f as defineAddonMigrations, i as collectSecretMarkerRefs, l as RecordIntegrationInstances, o as resolveSecretMarkers, r as secretTreeFromSchema, s as transformSecretWrite, t as BaseAddon } from "../../base-addon-
|
|
3
|
-
import { W as isSecretMarker, Z as errMsg$1 } from "../../scoped-settings-
|
|
4
|
-
import { $ as RemoteLayoutPayloadSchema, $t as GroupActiveSchema, A as TemplateKindSchema, An as ConsumablesStatusSchema, At as humidityMeasurement, B as SmokeStatusSchema, Bn as CarbonMonoxideStatusSchema, Bt as timedRunCapability, C as WaterHeaterStatusSchema, Ct as projectDeviceRow, D as VacuumControlStatusSchema, Dn as ControlStatusSchema, Dt as airQualityMeasurement, Et as resolveHeroSceneId, F as TamperStatusSchema, Ft as powerMeasurement, G as hasOwnRunningPowerDefaults, Gn as AutomationControlStatusSchema, Gt as timedRunSeconds, H as schedulersCapability, Ht as timedRunMaxIn, I as tagsCapability, It as temperatureMeasurement, J as REMOTE_MEDIA_COMMANDS, Jt as heatPumpInstantCop, K as runningPowerDefaultsFor, Kn as AmbientLightSensorStatusSchema, Kt as HeatingValveStatusSchema, L as SWITCH_DEFAULT_OPTIONS, Ln as ClimateControlStatusSchema, Lt as textMeasurement, M as AutomationTemplatePayloadSchema, Mn as COMPOSER_RUNNER_ID, Mt as measurementFitsRole, N as reexpandAutomationInstance, Nt as motionMeasurement, O as UpdateStatusSchema, On as ContactStatusSchema, Ot as contactMeasurement, P as TemperatureSensorStatusSchema, Pn as ColorStatusSchema, Pt as orderedMeasurements, Q as RemoteAssumedStateSchema, Qn as actionSourceCapability, R as SwitchStatusSchema, Rt as NOT_REPORTED, S as WeatherStatusSchema, St as ROW_READING_FACT_IDS, T as ValveStatusSchema, Tn as CoverStatusSchema, Tt as REMOTE_OPEN_ACTION_ID, Un as BinaryStatusSchema, Ut as timedRunQuickRun, V as ScriptRunnerStatusSchema, Vn as BrightnessStatusSchema, Vt as timedRunLimitOf, W as RunningStateStatusSchema, Wn as BatteryStatusSchema, Wt as timedRunRemaining, X as EMPTY_REMOTE_ASSUMED_STATE, Y as remoteCapability, Yn as actionsCapability, Yt as GroupStatusSchema, Z as EMPTY_REMOTE_CONFIG, Zn as actionWaitTotalMs, Zt as GroupCommandsSchema, _ as WorkloadStatusSchema, _t as LawnMowerControlStatusSchema, an as FAN_OSCILLATION_AXES, ar as ActionError, bt as HumidifierStatusSchema, c as kebabToCamel, cr as IDLE_ACTION_STATUS, dr as internalActionId, dt as NumericSensorStatusSchema, en as GasStatusSchema, er as capUnitResolver, et as readStoredRemoteConfig, fn as EnumSensorStatusSchema, fr as isInternalActionId, ft as NetworkLinkStatusSchema, hn as DishwasherStatusSchema, ht as LockControlStatusSchema, in as fanPresetsCapability, ir as unitsForQuantity, it as PowerMeterStatusSchema, j as checkTemplatePayload, jt as illuminanceMeasurement, k as templateCapability, kt as emptyMeasurement, ln as SetOscillationAxisInputSchema, lr as INTERNAL_ACTION_PREFIX, lt as PetFeederStatusSchema, m as ALL_CAPABILITY_DEFINITIONS, mn as DoNotDisturbStatusSchema, mr as EventEmitterStatusSchema, mt as MeterStatusSchema, nn as FAN_CAPTURE_FIELDS, nr as normalizeRecipeUnits, nt as PressureSensorStatusSchema, on as FAN_OSCILLATION_AXIS_SETTABLE, or as ActionMinDelaySecSchema, ot as PetFountainStatusSchema, pn as DoorbellStatusSchema, pr as resolveActionVariables, pt as MotionTriggerStatusSchema, q as remoteLayoutComponentsCapability, qn as AirQualitySensorStatusSchema, qt as HeatPumpStatusSchema, rn as FanPresetSchema, rr as baseUnitForQuantity, rt as PresenceStatusSchema, sn as FanControlStatusSchema, sr as ActionVariableSchema, t as composedBlockIdOf, tn as FloodStatusSchema, tr as normalizeActionUnits, tt as PumpCycleStatusSchema, un as fanAxisPath, ur as addonIdOfActionId, vt as ImageStatusSchema, w as VibrationStatusSchema, wn as daylightPhaseCapability, wt as HERO_SCENE_ROW_IDS, x as WeatherStationStatusSchema, xt as heroLayoutCapability, yt as HumiditySensorStatusSchema, zt as TimedRunStatusSchema } from "../../rename-composition-block-
|
|
5
|
-
import { r as listNotificationTargets } from "../../notification-targets-
|
|
6
|
-
import { t as userError } from "../../
|
|
1
|
+
import { r as MotionStatusSchema } from "../../stream-catalog.cap-C7vlYIih.mjs";
|
|
2
|
+
import { _ as hydrateSchema, a as isSecretRefOwnedBy, b as EventCategory$1, f as defineAddonMigrations, i as collectSecretMarkerRefs, l as RecordIntegrationInstances, o as resolveSecretMarkers, r as secretTreeFromSchema, s as transformSecretWrite, t as BaseAddon } from "../../base-addon-DCfRA4Sq.mjs";
|
|
3
|
+
import { W as isSecretMarker, Z as errMsg$1 } from "../../scoped-settings-DnkTDuvk.mjs";
|
|
4
|
+
import { $ as RemoteLayoutPayloadSchema, $t as GroupActiveSchema, A as TemplateKindSchema, An as ConsumablesStatusSchema, At as humidityMeasurement, B as SmokeStatusSchema, Bn as CarbonMonoxideStatusSchema, Bt as timedRunCapability, C as WaterHeaterStatusSchema, Ct as projectDeviceRow, D as VacuumControlStatusSchema, Dn as ControlStatusSchema, Dt as airQualityMeasurement, Et as resolveHeroSceneId, F as TamperStatusSchema, Ft as powerMeasurement, G as hasOwnRunningPowerDefaults, Gn as AutomationControlStatusSchema, Gt as timedRunSeconds, H as schedulersCapability, Ht as timedRunMaxIn, I as tagsCapability, It as temperatureMeasurement, J as REMOTE_MEDIA_COMMANDS, Jt as heatPumpInstantCop, K as runningPowerDefaultsFor, Kn as AmbientLightSensorStatusSchema, Kt as HeatingValveStatusSchema, L as SWITCH_DEFAULT_OPTIONS, Ln as ClimateControlStatusSchema, Lt as textMeasurement, M as AutomationTemplatePayloadSchema, Mn as COMPOSER_RUNNER_ID, Mt as measurementFitsRole, N as reexpandAutomationInstance, Nt as motionMeasurement, O as UpdateStatusSchema, On as ContactStatusSchema, Ot as contactMeasurement, P as TemperatureSensorStatusSchema, Pn as ColorStatusSchema, Pt as orderedMeasurements, Q as RemoteAssumedStateSchema, Qn as actionSourceCapability, R as SwitchStatusSchema, Rt as NOT_REPORTED, S as WeatherStatusSchema, St as ROW_READING_FACT_IDS, T as ValveStatusSchema, Tn as CoverStatusSchema, Tt as REMOTE_OPEN_ACTION_ID, Un as BinaryStatusSchema, Ut as timedRunQuickRun, V as ScriptRunnerStatusSchema, Vn as BrightnessStatusSchema, Vt as timedRunLimitOf, W as RunningStateStatusSchema, Wn as BatteryStatusSchema, Wt as timedRunRemaining, X as EMPTY_REMOTE_ASSUMED_STATE, Y as remoteCapability, Yn as actionsCapability, Yt as GroupStatusSchema, Z as EMPTY_REMOTE_CONFIG, Zn as actionWaitTotalMs, Zt as GroupCommandsSchema, _ as WorkloadStatusSchema, _t as LawnMowerControlStatusSchema, an as FAN_OSCILLATION_AXES, ar as ActionError, bt as HumidifierStatusSchema, c as kebabToCamel, cr as IDLE_ACTION_STATUS, dr as internalActionId, dt as NumericSensorStatusSchema, en as GasStatusSchema, er as capUnitResolver, et as readStoredRemoteConfig, fn as EnumSensorStatusSchema, fr as isInternalActionId, ft as NetworkLinkStatusSchema, hn as DishwasherStatusSchema, ht as LockControlStatusSchema, in as fanPresetsCapability, ir as unitsForQuantity, it as PowerMeterStatusSchema, j as checkTemplatePayload, jt as illuminanceMeasurement, k as templateCapability, kt as emptyMeasurement, ln as SetOscillationAxisInputSchema, lr as INTERNAL_ACTION_PREFIX, lt as PetFeederStatusSchema, m as ALL_CAPABILITY_DEFINITIONS, mn as DoNotDisturbStatusSchema, mr as EventEmitterStatusSchema, mt as MeterStatusSchema, nn as FAN_CAPTURE_FIELDS, nr as normalizeRecipeUnits, nt as PressureSensorStatusSchema, on as FAN_OSCILLATION_AXIS_SETTABLE, or as ActionMinDelaySecSchema, ot as PetFountainStatusSchema, pn as DoorbellStatusSchema, pr as resolveActionVariables, pt as MotionTriggerStatusSchema, q as remoteLayoutComponentsCapability, qn as AirQualitySensorStatusSchema, qt as HeatPumpStatusSchema, rn as FanPresetSchema, rr as baseUnitForQuantity, rt as PresenceStatusSchema, sn as FanControlStatusSchema, sr as ActionVariableSchema, t as composedBlockIdOf, tn as FloodStatusSchema, tr as normalizeActionUnits, tt as PumpCycleStatusSchema, un as fanAxisPath, ur as addonIdOfActionId, vt as ImageStatusSchema, w as VibrationStatusSchema, wn as daylightPhaseCapability, wt as HERO_SCENE_ROW_IDS, x as WeatherStationStatusSchema, xt as heroLayoutCapability, yt as HumiditySensorStatusSchema, zt as TimedRunStatusSchema } from "../../rename-composition-block-CMfftDfW.mjs";
|
|
5
|
+
import { r as listNotificationTargets } from "../../notification-targets-gTLSExN5.mjs";
|
|
6
|
+
import { t as userError } from "../../dominevo-error-EgrighSX.mjs";
|
|
7
7
|
import { i as NcTaggedRuleKindSchema, o as AlarmPanelStatusSchema, u as NotificationSchema } from "../../notification-rules.cap-BxoPixyH.mjs";
|
|
8
|
-
import { s as defineRecordKinds } from "../../record-kind-
|
|
9
|
-
import { n as entryBody, t as defineEntryKind } from "../../entry-kind-
|
|
10
|
-
import { c as TagBodySchema, f as IDENTITY_LINK_KINDS } from "../../device-manager.cap-
|
|
8
|
+
import { s as defineRecordKinds } from "../../record-kind-DpcGjBK1.mjs";
|
|
9
|
+
import { n as entryBody, t as defineEntryKind } from "../../entry-kind-DJSOxSX2.mjs";
|
|
10
|
+
import { c as TagBodySchema, f as IDENTITY_LINK_KINDS } from "../../device-manager.cap-3gMy5WyI.mjs";
|
|
11
11
|
import { n as ruleFireOfClaim } from "../../command-origin-claim-D1Wy7Qld.mjs";
|
|
12
12
|
import { i as deviceRemovalHookCapability } from "../../device-transitions.cap-BV2n5utG.mjs";
|
|
13
13
|
import { n as baseUnitOf } from "../../quantity-BhzFb_0o.mjs";
|
|
14
14
|
import { a as TagsFieldSchema, c as removeFromTags, i as TagStyleSchema, l as renameInTags, n as TagIdsFieldSchema, o as defaultTagColorId, r as TagNameSchema, s as normalizeTags, u as tagKey } from "../../tag-DU8pm9Bi.mjs";
|
|
15
15
|
import { n as DeviceRole, r as DeviceType$1, t as DeviceFeature } from "../../device-type-eOSmS94B.mjs";
|
|
16
16
|
import { i as isAirConditioner, t as canonicalStoredDeviceType } from "../../device-kind-DCIVtE-Z.mjs";
|
|
17
|
-
import { $ as declaredCapLink, At as validateRecipeBounds, B as remoteSourceSteps, Bt as forEachLeaf, C as validateComposition, D as PowerSourceStateSchema, Dt as nestedStepsOf, E as PowerSourceInfoSchema, Et as REPEAT_ITEM_VAR, Ft as TemplateTimeWindowValueSchema, Gt as holdOf, Ht as isEventLeaf, Lt as DeviceFiredMatchSchema, Mt as TemplateDeviceStateValueSchema, O as powerSourceCapability, Ot as stepConditionsOf, P as MediaPlayerStatusSchema, Q as capLinkServedFields, R as findChannelSource, S as topLevelFieldsOf, St as ActionStepSchema, T as powerSourceLinkOfComposition, Tt as HTTP_TEXT_CAP, U as customKeyOfRole, Ut as compareValues, V as resolveRemoteSource, Vt as hasEventLeaves, Yt as DetectionSubjectSchema, Zt as QuantityUnitError, _ as buildCapabilityLookup, a as CORE_BLOCKS_ADDON_ID, b as planComposition, c as coreBlockAddonId, cn as ActionTargetResolver, d as coreBlockSourceKind, dn as onForActionOf, dt as appendTrace, et as expandCapLinks, f as coreBlocksCapability, ft as buildStepArgsTrace, g as describeComposableCaps, gt as SchedulerError, h as resolveCoreBlockFiles, kt as stepGuardOf, l as coreBlockComposition, ln as canonicalStoredStepTargets, lt as AutomationStateDocSchema, m as resolveCoreBlockEntry, nt as CAP_CUSTOMIZE_CATALOG, o as CORE_BLOCK_ADDON_PREFIX, on as EventVocabularyKindSchema, p as normalizeCoreBlockWrite, pt as DEFAULT_HOLD_OVERRIDE, q as toTimings, s as CoreBlockSchema, sn as ACTION_TARGET_INVALIDATION_EVENTS, tt as projectCapLinkOf, u as coreBlockIdFromAddonId, un as ON_FOR_MAX_SECONDS, ut as EMPTY_AUTOMATION_STATE, v as compositionSourceRefs, w as powerSourceActuatorConflicts, wt as AutomationRecipeSchema, x as replacedFieldKeys, xt as validateSchedulerInput, y as compositionUnionReads, yt as SchedulerSchema } from "../../jobs.cap-
|
|
18
|
-
import { a as assertDeviceOffers, c as vocabCall, n as VocabActionError, o as findVocabAction, r as actionEffect, s as vocabActionIdFor } from "../../retention-source.cap-
|
|
17
|
+
import { $ as declaredCapLink, At as validateRecipeBounds, B as remoteSourceSteps, Bt as forEachLeaf, C as validateComposition, D as PowerSourceStateSchema, Dt as nestedStepsOf, E as PowerSourceInfoSchema, Et as REPEAT_ITEM_VAR, Ft as TemplateTimeWindowValueSchema, Gt as holdOf, Ht as isEventLeaf, Lt as DeviceFiredMatchSchema, Mt as TemplateDeviceStateValueSchema, O as powerSourceCapability, Ot as stepConditionsOf, P as MediaPlayerStatusSchema, Q as capLinkServedFields, R as findChannelSource, S as topLevelFieldsOf, St as ActionStepSchema, T as powerSourceLinkOfComposition, Tt as HTTP_TEXT_CAP, U as customKeyOfRole, Ut as compareValues, V as resolveRemoteSource, Vt as hasEventLeaves, Yt as DetectionSubjectSchema, Zt as QuantityUnitError, _ as buildCapabilityLookup, a as CORE_BLOCKS_ADDON_ID, b as planComposition, c as coreBlockAddonId, cn as ActionTargetResolver, d as coreBlockSourceKind, dn as onForActionOf, dt as appendTrace, et as expandCapLinks, f as coreBlocksCapability, ft as buildStepArgsTrace, g as describeComposableCaps, gt as SchedulerError, h as resolveCoreBlockFiles, kt as stepGuardOf, l as coreBlockComposition, ln as canonicalStoredStepTargets, lt as AutomationStateDocSchema, m as resolveCoreBlockEntry, nt as CAP_CUSTOMIZE_CATALOG, o as CORE_BLOCK_ADDON_PREFIX, on as EventVocabularyKindSchema, p as normalizeCoreBlockWrite, pt as DEFAULT_HOLD_OVERRIDE, q as toTimings, s as CoreBlockSchema, sn as ACTION_TARGET_INVALIDATION_EVENTS, tt as projectCapLinkOf, u as coreBlockIdFromAddonId, un as ON_FOR_MAX_SECONDS, ut as EMPTY_AUTOMATION_STATE, v as compositionSourceRefs, w as powerSourceActuatorConflicts, wt as AutomationRecipeSchema, x as replacedFieldKeys, xt as validateSchedulerInput, y as compositionUnionReads, yt as SchedulerSchema } from "../../jobs.cap-DdrDabtW.mjs";
|
|
18
|
+
import { a as assertDeviceOffers, c as vocabCall, n as VocabActionError, o as findVocabAction, r as actionEffect, s as vocabActionIdFor } from "../../retention-source.cap-DLKW-DAE.mjs";
|
|
19
19
|
import { A as compositionSourceKey, C as canonicalStoredBlockTarget, E as compositionFeatureEnabled, F as COMPOSED_DEVICE_STABLE_ID_PREFIX$1, I as HelperMemberSchema, L as helperMembers, S as CompositionSchema, T as composedDeviceStableId, V as DAY_MS, _t as evaluateDwell, q as historyRetentionFromSettings, v as COMPOSER_ADDON_ID, w as composedDeviceRef } from "../../compile-BWflhCNY.mjs";
|
|
20
20
|
import { T as zoneOnlySite, b as occurrenceOn, d as advanceSensorPhase, f as sensorValueOf, l as DaylightSettingsSchema, m as sunPhaseAt, p as siteWithPhase, s as DEFAULT_DAYLIGHT_SETTINGS, u as PHASE_RECHECK_MS, v as localDateOf, w as weekdayOfLocalDate, x as siteFor, y as nextOccurrence } from "../../time-window-Ca_fSdR-.mjs";
|
|
21
|
-
import { _ as hasHoldLeaves, b as stableIdMapOf, c as unwrapStoredValue, f as tagIdFromKey, g as evaluateWhenTree, h as collectWhenMirrorSources, l as StaleStampError, m as ConditionMirror, n as EntityNotFoundError, o as KeyedSerialiser, r as NamedEntityStore, s as loadPrefixed, t as EntityNameTakenError, v as hasTimeLeaves, y as nextTimeBoundaryInMs } from "../../named-entity-store-
|
|
21
|
+
import { _ as hasHoldLeaves, b as stableIdMapOf, c as unwrapStoredValue, f as tagIdFromKey, g as evaluateWhenTree, h as collectWhenMirrorSources, l as StaleStampError, m as ConditionMirror, n as EntityNotFoundError, o as KeyedSerialiser, r as NamedEntityStore, s as loadPrefixed, t as EntityNameTakenError, v as hasTimeLeaves, y as nextTimeBoundaryInMs } from "../../named-entity-store-CLIUOHkl.mjs";
|
|
22
22
|
import { t } from "../../l10n-Bu6aUvSY.mjs";
|
|
23
23
|
import { t as integrationInstancesCapability } from "../../integration-instances.cap-CjJIJkhV.mjs";
|
|
24
|
-
import { t as commandOrigin$1 } from "../../cap-call-context-
|
|
25
|
-
import { r as compileScalarOverride, t as describeCompositionSources } from "../../composition-sources-
|
|
26
|
-
import { r as seedInstanceOnce, t as DeclaredDevices } from "../../declared-device-
|
|
27
|
-
import { t as armRemovalReconcile } from "../../device-removal-reconcile-
|
|
24
|
+
import { t as commandOrigin$1 } from "../../cap-call-context-C_59UKvE.mjs";
|
|
25
|
+
import { r as compileScalarOverride, t as describeCompositionSources } from "../../composition-sources-BxNM5HHY.mjs";
|
|
26
|
+
import { r as seedInstanceOnce, t as DeclaredDevices } from "../../declared-device-D-fwNbiU.mjs";
|
|
27
|
+
import { t as armRemovalReconcile } from "../../device-removal-reconcile-Bca9Xmxa.mjs";
|
|
28
28
|
import { t as require_read_all_rows } from "../../read-all-rows-TaPqdWNF.mjs";
|
|
29
29
|
import { i as capSeriesKey, m as parseConfirmedStateChanged, p as isRecord$1 } from "../../capture-engine-TPAFvGmw.mjs";
|
|
30
30
|
import { t as prefixRange } from "../../prefix-range-Dl0znowN.mjs";
|
|
31
31
|
import { n as readCurrentCommandOrigin } from "../../cap-call-scope-Dr3l8_XS.mjs";
|
|
32
32
|
import { createRequire } from "node:module";
|
|
33
33
|
import { z } from "zod";
|
|
34
|
-
import { randomUUID } from "node:crypto";
|
|
35
34
|
import { customizationBlockName } from "@dominevo/types/node";
|
|
35
|
+
import { randomUUID } from "node:crypto";
|
|
36
36
|
import * as net from "node:net";
|
|
37
37
|
import * as path$1 from "node:path";
|
|
38
38
|
import { isCapMethodAbsent, nodeIdOfScopedKey } from "@dominevo/types/addon";
|
|
@@ -8485,7 +8485,7 @@ var import_read_all_rows = require_read_all_rows();
|
|
|
8485
8485
|
*
|
|
8486
8486
|
* `dist/block.js` — the author's TypeScript, transpiled.
|
|
8487
8487
|
* `dist/index.js` — a generated wrapper that adapts the author's contract
|
|
8488
|
-
* (`export default (ctx) => disposer`) to `
|
|
8488
|
+
* (`export default (ctx) => disposer`) to `IDominevoAddon`.
|
|
8489
8489
|
*
|
|
8490
8490
|
* The wrapper exists so the author never writes `super({})`, which is the trap
|
|
8491
8491
|
* that killed `CoreBlocksAddon` in production while the build stayed green and
|
|
@@ -8594,7 +8594,7 @@ function renderBlockManifest(blockId, blockName) {
|
|
|
8594
8594
|
private: true,
|
|
8595
8595
|
type: "module",
|
|
8596
8596
|
main: "./dist/index.js",
|
|
8597
|
-
|
|
8597
|
+
dominevo: { addons: [{
|
|
8598
8598
|
id: blockAddonId(blockId),
|
|
8599
8599
|
name: blockName,
|
|
8600
8600
|
category: "system",
|
|
@@ -9745,7 +9745,7 @@ var BlockSettingsStore = class {
|
|
|
9745
9745
|
* build of this package; the bundler erases `import.meta` to `{}`, so
|
|
9746
9746
|
* `import.meta.resolve?.('@dominevo/types')` is always undefined and the old
|
|
9747
9747
|
* fallback — `process.cwd()/node_modules/@dominevo/types` — wins. On a live
|
|
9748
|
-
* hub `cwd` is the image seed (`/opt/
|
|
9748
|
+
* hub `cwd` is the image seed (`/opt/dominevo-hub`), not the active data-root
|
|
9749
9749
|
* closure that actually runs. That served a months-old `ConfigSelectField`
|
|
9750
9750
|
* without `optionsFrom` while `/data/server-root/current` already had it, and
|
|
9751
9751
|
* Monaco blocked Save on a property the runtime hydrate already understood.
|
|
@@ -3,9 +3,9 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_base_addon = require("../../base-addon
|
|
7
|
-
const require_scoped_settings = require("../../scoped-settings-
|
|
8
|
-
const require_notification_targets = require("../../notification-targets-
|
|
6
|
+
const require_base_addon = require("../../base-addon-CwtR9jMm.js");
|
|
7
|
+
const require_scoped_settings = require("../../scoped-settings-8uzhJVsE.js");
|
|
8
|
+
const require_notification_targets = require("../../notification-targets-BH-Kq5zA.js");
|
|
9
9
|
const require_notification_rules_cap = require("../../notification-rules.cap-Cj3i8EhU.js");
|
|
10
10
|
const require_time_window = require("../../time-window-CEqgaWIS.js");
|
|
11
11
|
const require_integration_instances_cap = require("../../integration-instances.cap-lh_F2wyM.js");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as BaseAddon } from "../../base-addon-
|
|
2
|
-
import { Z as errMsg } from "../../scoped-settings-
|
|
3
|
-
import { i as notificationTargetKinds, n as buildNotificationTargetInstances, r as listNotificationTargets, t as NotificationTargetStore } from "../../notification-targets-
|
|
1
|
+
import { t as BaseAddon } from "../../base-addon-DCfRA4Sq.mjs";
|
|
2
|
+
import { Z as errMsg } from "../../scoped-settings-DnkTDuvk.mjs";
|
|
3
|
+
import { i as notificationTargetKinds, n as buildNotificationTargetInstances, r as listNotificationTargets, t as NotificationTargetStore } from "../../notification-targets-gTLSExN5.mjs";
|
|
4
4
|
import { f as notificationOutputCapability, l as NotificationFieldSchema, o as AlarmPanelStatusSchema, r as NcScheduleSchema, s as AlarmStateSchema } from "../../notification-rules.cap-BxoPixyH.mjs";
|
|
5
5
|
import { C as weekdayKeyOfIndex, T as zoneOnlySite, _ as isKnownTimeZone, i as isWithinTimeWindow } from "../../time-window-Ca_fSdR-.mjs";
|
|
6
6
|
import { t as integrationInstancesCapability } from "../../integration-instances.cap-CjJIJkhV.mjs";
|
|
@@ -3,16 +3,16 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_base_addon = require("../../base-addon
|
|
7
|
-
const require_scoped_settings = require("../../scoped-settings-
|
|
8
|
-
const require_record_kind = require("../../record-kind-
|
|
6
|
+
const require_base_addon = require("../../base-addon-CwtR9jMm.js");
|
|
7
|
+
const require_scoped_settings = require("../../scoped-settings-8uzhJVsE.js");
|
|
8
|
+
const require_record_kind = require("../../record-kind-BYbL_LNZ.js");
|
|
9
9
|
const require_device_transitions_cap = require("../../device-transitions.cap-Cvnrc-UF.js");
|
|
10
10
|
const require_quantity = require("../../quantity-DnOvkBq7.js");
|
|
11
11
|
const require_device_type = require("../../device-type-C0Dx_pzZ.js");
|
|
12
|
-
const require_retention_source_cap = require("../../retention-source.cap-
|
|
12
|
+
const require_retention_source_cap = require("../../retention-source.cap-CuI320Je.js");
|
|
13
13
|
const require_history_catalog = require("../../history-catalog-CRL_DRbS.js");
|
|
14
|
-
const require_command_catalog = require("../../command-catalog-
|
|
15
|
-
const require_device_removal_reconcile = require("../../device-removal-reconcile-
|
|
14
|
+
const require_command_catalog = require("../../command-catalog-Bt0rkK6T.js");
|
|
15
|
+
const require_device_removal_reconcile = require("../../device-removal-reconcile-BtBOAfIX.js");
|
|
16
16
|
const require_capture_engine = require("../../capture-engine-Cz4X5PZ_.js");
|
|
17
17
|
const require_retention = require("../../retention-xcjk_k1w.js");
|
|
18
18
|
let node_crypto = require("node:crypto");
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { b as EventCategory, m as emitReadiness, t as BaseAddon } from "../../base-addon-
|
|
2
|
-
import { P as RecordTooLargeError, k as InvalidRecordError } from "../../scoped-settings-
|
|
3
|
-
import { s as defineRecordKinds } from "../../record-kind-
|
|
1
|
+
import { b as EventCategory, m as emitReadiness, t as BaseAddon } from "../../base-addon-DCfRA4Sq.mjs";
|
|
2
|
+
import { P as RecordTooLargeError, k as InvalidRecordError } from "../../scoped-settings-DnkTDuvk.mjs";
|
|
3
|
+
import { s as defineRecordKinds } from "../../record-kind-DpcGjBK1.mjs";
|
|
4
4
|
import { a as DEVICE_HISTORY_ENERGY_KEY, i as deviceRemovalHookCapability, n as DeviceRunSchema, o as deviceHistoryCapability, r as deviceRunsCapability, s as DeviceTransitionSchema, t as deviceTransitionsCapability } from "../../device-transitions.cap-BV2n5utG.mjs";
|
|
5
5
|
import { i as isReadingQuantity, r as historyUnitFor } from "../../quantity-BhzFb_0o.mjs";
|
|
6
6
|
import { r as DeviceType } from "../../device-type-eOSmS94B.mjs";
|
|
7
|
-
import { t as retentionSourceCapability } from "../../retention-source.cap-
|
|
7
|
+
import { t as retentionSourceCapability } from "../../retention-source.cap-DLKW-DAE.mjs";
|
|
8
8
|
import { a as wattMillisecondsToKwh, n as HISTORY_ITEM_CATALOG, t as HISTORY_CATALOG } from "../../history-catalog-DwT66Fhq.mjs";
|
|
9
|
-
import { t as auditedFields } from "../../command-catalog-
|
|
10
|
-
import { t as armRemovalReconcile } from "../../device-removal-reconcile-
|
|
9
|
+
import { t as auditedFields } from "../../command-catalog-88WjnitG.mjs";
|
|
10
|
+
import { t as armRemovalReconcile } from "../../device-removal-reconcile-Bca9Xmxa.mjs";
|
|
11
11
|
import { a as catalogMetrics, c as DeviceDirectory, d as identityOf, f as subjectIdOf, i as capSeriesKey, l as isRealDeviceType, m as parseConfirmedStateChanged, n as CaptureEngine, o as readPath, r as capItemSeriesKey, s as readUnit, t as CAP_KEY_PREFIX, u as SeriesRegistry } from "../../capture-engine-TPAFvGmw.mjs";
|
|
12
12
|
import { a as FIVE_MINUTES_MS, c as bucketEndOf, i as DAY_MS, l as bucketStartOf, n as RetentionJob, o as HOUR_MS, r as DepartureTracker, s as ROLLUP_GRACE_MS, t as DEFAULT_RETENTION, u as floorTo } from "../../retention-CQs8QR1B.mjs";
|
|
13
13
|
import { randomUUID } from "node:crypto";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* DDL the plan lists; a spec compares `sqlite_master` with it.
|
|
5
5
|
*
|
|
6
6
|
* The opt-out table is configuration, not history: it names no database and so
|
|
7
|
-
* lives in `
|
|
7
|
+
* lives in `dominevo.db`, which the nightly backup carries.
|
|
8
8
|
*/
|
|
9
9
|
import type { DeclareCollectionInput } from "@dominevo/types";
|
|
10
10
|
import type { RollupTier } from "../time/bucket-time.js";
|
|
@@ -3,37 +3,37 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_stream_catalog_cap = require("../../stream-catalog.cap-
|
|
7
|
-
const require_base_addon = require("../../base-addon
|
|
8
|
-
const require_scoped_settings = require("../../scoped-settings-
|
|
9
|
-
const require_rename_composition_block = require("../../rename-composition-block-
|
|
10
|
-
const
|
|
6
|
+
const require_stream_catalog_cap = require("../../stream-catalog.cap-Bl0BSYye.js");
|
|
7
|
+
const require_base_addon = require("../../base-addon-CwtR9jMm.js");
|
|
8
|
+
const require_scoped_settings = require("../../scoped-settings-8uzhJVsE.js");
|
|
9
|
+
const require_rename_composition_block = require("../../rename-composition-block-CeKeUquQ.js");
|
|
10
|
+
const require_dominevo_error = require("../../dominevo-error-CTBRQM6p.js");
|
|
11
11
|
const require_capability_definition = require("../../capability-definition-BEVd01Xj.js");
|
|
12
12
|
const require_zod_secret = require("../../zod-secret-DS7mj1bk.js");
|
|
13
|
-
const require_device_manager_cap = require("../../device-manager.cap-
|
|
13
|
+
const require_device_manager_cap = require("../../device-manager.cap-CVm8e--n.js");
|
|
14
14
|
const require_device_identifiers = require("../../device-identifiers-BNdxiGem.js");
|
|
15
|
-
const require_record_kinds = require("../../record-kinds-
|
|
16
|
-
const require_migration = require("../../migration-
|
|
15
|
+
const require_record_kinds = require("../../record-kinds-CF3IIGeU.js");
|
|
16
|
+
const require_migration = require("../../migration-CvC7YRxn.js");
|
|
17
17
|
const require_tag = require("../../tag-BLraBqvp.js");
|
|
18
18
|
const require_device_type = require("../../device-type-C0Dx_pzZ.js");
|
|
19
19
|
const require_device_kind = require("../../device-kind-CaovT6Hn.js");
|
|
20
|
-
const require_jobs_cap = require("../../jobs.cap-
|
|
21
|
-
const require_retention_source_cap = require("../../retention-source.cap-
|
|
22
|
-
const require_addon_settings_cap = require("../../addon-settings.cap-
|
|
20
|
+
const require_jobs_cap = require("../../jobs.cap-Blrf2noc.js");
|
|
21
|
+
const require_retention_source_cap = require("../../retention-source.cap-CuI320Je.js");
|
|
22
|
+
const require_addon_settings_cap = require("../../addon-settings.cap-DT34AC0I.js");
|
|
23
23
|
const require_compile = require("../../compile-DToIehU4.js");
|
|
24
24
|
const require_source_info = require("../../source-info-QbVrGcPR.js");
|
|
25
|
-
const require_named_entity_store = require("../../named-entity-store-
|
|
26
|
-
const require_command_catalog = require("../../command-catalog-
|
|
25
|
+
const require_named_entity_store = require("../../named-entity-store-B7MMnZq_.js");
|
|
26
|
+
const require_command_catalog = require("../../command-catalog-Bt0rkK6T.js");
|
|
27
27
|
const require_read_all_rows$1 = require("../../read-all-rows-CVoO1ONM.js");
|
|
28
28
|
const require_log_redactor = require("../../log-redactor-Dotri5uG.js");
|
|
29
|
-
const require_state_refresh_scheduler = require("../../state-refresh-scheduler-
|
|
29
|
+
const require_state_refresh_scheduler = require("../../state-refresh-scheduler-8_rBg2-4.js");
|
|
30
30
|
const require_prefix_range = require("../../prefix-range-D_KueXbQ.js");
|
|
31
|
-
const require_retired_settings_keys = require("../../retired-settings-keys-
|
|
31
|
+
const require_retired_settings_keys = require("../../retired-settings-keys-DdoaQDUr.js");
|
|
32
32
|
const require_template_protocol = require("../../template-protocol-D5ogm1rj.js");
|
|
33
33
|
const require_dns_wire = require("../../dns-wire-B1BvF9Ao.js");
|
|
34
34
|
let zod = require("zod");
|
|
35
|
-
let node_crypto = require("node:crypto");
|
|
36
35
|
let _dominevo_types_node = require("@dominevo/types/node");
|
|
36
|
+
let node_crypto = require("node:crypto");
|
|
37
37
|
let node_path = require("node:path");
|
|
38
38
|
node_path = require_chunk.__toESM(node_path);
|
|
39
39
|
let _dominevo_types_addon = require("@dominevo/types/addon");
|
|
@@ -17271,7 +17271,7 @@ async function getStreamSources(pctx, input) {
|
|
|
17271
17271
|
}));
|
|
17272
17272
|
}
|
|
17273
17273
|
}
|
|
17274
|
-
if (!await pctx.metaStore.resolvePersistedById(deviceId)) throw
|
|
17274
|
+
if (!await pctx.metaStore.resolvePersistedById(deviceId)) throw require_dominevo_error.userError("device.not-found", { id: deviceId }, `[device-manager] Device with id ${deviceId} not found`);
|
|
17275
17275
|
return (await pctx.requireDeviceOps(deviceId).getStreamSources({ deviceId })).map((s) => ({ ...s }));
|
|
17276
17276
|
}
|
|
17277
17277
|
async function getConfigSchema(pctx, input) {
|
|
@@ -17284,7 +17284,7 @@ async function getConfigSchema(pctx, input) {
|
|
|
17284
17284
|
...entry.description !== void 0 ? { description: entry.description } : {}
|
|
17285
17285
|
}));
|
|
17286
17286
|
}
|
|
17287
|
-
if (!await pctx.metaStore.resolvePersistedById(deviceId)) throw
|
|
17287
|
+
if (!await pctx.metaStore.resolvePersistedById(deviceId)) throw require_dominevo_error.userError("device.not-found", { id: deviceId }, `[device-manager] Device with id ${deviceId} not found`);
|
|
17288
17288
|
return (await pctx.requireDeviceOps(deviceId).getConfigEntries({ deviceId })).map((e) => ({ ...e }));
|
|
17289
17289
|
}
|
|
17290
17290
|
async function getSettingsSchema(pctx, input) {
|
|
@@ -17307,7 +17307,7 @@ function refuseUnownedConfigKeys(deviceId, ownedKeys, values) {
|
|
|
17307
17307
|
const unowned = Object.keys(values).filter((k) => values[k] !== void 0 && !owned.has(k));
|
|
17308
17308
|
if (unowned.length === 0) return;
|
|
17309
17309
|
const keys = unowned.join(", ");
|
|
17310
|
-
throw
|
|
17310
|
+
throw require_dominevo_error.userError("device.config-key-not-owned", {
|
|
17311
17311
|
id: deviceId,
|
|
17312
17312
|
keys
|
|
17313
17313
|
}, `[device-manager] updateConfig on device ${deviceId} refused: ${keys} not in the device config schema (a key claimed by a device-store section is written through applyDeviceSettingsPatch); nothing was written`);
|
|
@@ -17322,7 +17322,7 @@ async function updateConfig(pctx, input) {
|
|
|
17322
17322
|
return { success: true };
|
|
17323
17323
|
}
|
|
17324
17324
|
}
|
|
17325
|
-
if (!await pctx.metaStore.resolvePersistedById(deviceId)) throw
|
|
17325
|
+
if (!await pctx.metaStore.resolvePersistedById(deviceId)) throw require_dominevo_error.userError("device.not-found", { id: deviceId }, `[device-manager] Device with id ${deviceId} not found`);
|
|
17326
17326
|
const ops = pctx.requireDeviceOps(deviceId);
|
|
17327
17327
|
refuseUnownedConfigKeys(deviceId, (await ops.getConfigEntries({ deviceId })).map((e) => e.key), input.values);
|
|
17328
17328
|
await ops.setConfig({
|
|
@@ -17424,7 +17424,7 @@ async function setStreamProfileMap(pctx, input) {
|
|
|
17424
17424
|
return { success: true };
|
|
17425
17425
|
}
|
|
17426
17426
|
}
|
|
17427
|
-
if (!await pctx.metaStore.resolvePersistedById(deviceId)) throw
|
|
17427
|
+
if (!await pctx.metaStore.resolvePersistedById(deviceId)) throw require_dominevo_error.userError("device.not-found", { id: deviceId }, `[device-manager] Device with id ${deviceId} not found`);
|
|
17428
17428
|
await pctx.requireDeviceOps(deviceId).setConfig({
|
|
17429
17429
|
deviceId,
|
|
17430
17430
|
values: { _profileMap: input.profileMap }
|
|
@@ -17461,7 +17461,7 @@ async function probeStreams(pctx, input) {
|
|
|
17461
17461
|
}
|
|
17462
17462
|
async function discoverDevices(pctx, input) {
|
|
17463
17463
|
const dp = await pctx.host.requireDeviceProvider(input.addonId);
|
|
17464
|
-
if (!await dp.supportsDiscovery({})) throw
|
|
17464
|
+
if (!await dp.supportsDiscovery({})) throw require_dominevo_error.userError("system.addon-no-discovery", { addonId: String(input.addonId) }, `Addon "${input.addonId}" does not support device discovery`);
|
|
17465
17465
|
return (await dp.discoverDevices({})).map((d) => ({
|
|
17466
17466
|
stableId: d.stableId,
|
|
17467
17467
|
type: d.type,
|
|
@@ -17475,7 +17475,7 @@ async function discoverDevices(pctx, input) {
|
|
|
17475
17475
|
}
|
|
17476
17476
|
async function adoptDevice(pctx, input) {
|
|
17477
17477
|
const dp = await pctx.host.requireDeviceProvider(input.addonId);
|
|
17478
|
-
if (!await dp.supportsDiscovery({})) throw
|
|
17478
|
+
if (!await dp.supportsDiscovery({})) throw require_dominevo_error.userError("system.addon-no-adoption", { addonId: String(input.addonId) }, `Addon "${input.addonId}" does not support device adoption`);
|
|
17479
17479
|
const summary = await pctx.removalFence.runUnfenced(() => dp.adoptDiscoveredDevice({
|
|
17480
17480
|
candidate: input.candidate,
|
|
17481
17481
|
...input.integrationId !== void 0 ? { integrationId: input.integrationId } : {}
|
|
@@ -17503,7 +17503,7 @@ async function getCreationSchema(pctx, input) {
|
|
|
17503
17503
|
}
|
|
17504
17504
|
async function createDevice(pctx, input) {
|
|
17505
17505
|
const dp = await pctx.host.requireDeviceProvider(input.addonId);
|
|
17506
|
-
if (!await dp.supportsManualCreation({})) throw
|
|
17506
|
+
if (!await dp.supportsManualCreation({})) throw require_dominevo_error.userError("system.addon-no-manual-create", { addonId: String(input.addonId) }, `Addon "${input.addonId}" does not support manual device creation`);
|
|
17507
17507
|
const summary = await pctx.removalFence.runUnfenced(() => dp.createDevice({
|
|
17508
17508
|
type: input.type,
|
|
17509
17509
|
config: input.config,
|
|
@@ -17655,7 +17655,7 @@ async function testField(pctx, input) {
|
|
|
17655
17655
|
let owningAddonId = null;
|
|
17656
17656
|
if (pctx.registry) owningAddonId = pctx.registry.getAddonId(deviceId);
|
|
17657
17657
|
if (!owningAddonId) owningAddonId = (await pctx.metaStore.resolvePersistedById(deviceId))?.addonId ?? null;
|
|
17658
|
-
if (!owningAddonId) throw
|
|
17658
|
+
if (!owningAddonId) throw require_dominevo_error.userError("device.not-found", { id: deviceId }, `Device with id ${deviceId} not found`);
|
|
17659
17659
|
const dp = await pctx.host.waitDeviceProvider(owningAddonId);
|
|
17660
17660
|
if (!dp) return {
|
|
17661
17661
|
status: "ok",
|
|
@@ -21333,7 +21333,7 @@ function toRoom(entity) {
|
|
|
21333
21333
|
}
|
|
21334
21334
|
function requireName(name, code, what) {
|
|
21335
21335
|
const trimmed = name.trim();
|
|
21336
|
-
if (trimmed.length === 0) throw
|
|
21336
|
+
if (trimmed.length === 0) throw require_dominevo_error.userError(code, void 0, `[device-manager] ${what}: name must be non-empty`);
|
|
21337
21337
|
return trimmed;
|
|
21338
21338
|
}
|
|
21339
21339
|
/** Drop a field when the patch says `null`, keep it when absent, set it otherwise. */
|
|
@@ -21385,8 +21385,8 @@ async function updateRoom(pctx, input) {
|
|
|
21385
21385
|
};
|
|
21386
21386
|
});
|
|
21387
21387
|
} catch (err) {
|
|
21388
|
-
if (err instanceof require_named_entity_store.EntityNotFoundError) throw
|
|
21389
|
-
if (err instanceof require_named_entity_store.EntityNameTakenError) throw
|
|
21388
|
+
if (err instanceof require_named_entity_store.EntityNotFoundError) throw require_dominevo_error.userError("system.room-not-found", void 0, `[device-manager] room not found: ${id}`);
|
|
21389
|
+
if (err instanceof require_named_entity_store.EntityNameTakenError) throw require_dominevo_error.userError("system.room-name-taken", void 0, `[device-manager] ${err.message}`);
|
|
21390
21390
|
throw err;
|
|
21391
21391
|
}
|
|
21392
21392
|
if (before !== null && before.name !== updated.name) for (const deviceId of await devicesInRoom(pctx, id)) emitLocationChanged(pctx, deviceId, updated.name);
|
|
@@ -21412,7 +21412,7 @@ async function deleteRoom(pctx, input) {
|
|
|
21412
21412
|
*/
|
|
21413
21413
|
async function resolveRoomId(pctx, input) {
|
|
21414
21414
|
if (input.locationId !== void 0) {
|
|
21415
|
-
if (input.locationId !== null && pctx.rooms.rooms.get(input.locationId) === null) throw
|
|
21415
|
+
if (input.locationId !== null && pctx.rooms.rooms.get(input.locationId) === null) throw require_dominevo_error.userError("system.room-not-found", void 0, `[device-manager] room not found: ${input.locationId}`);
|
|
21416
21416
|
return input.locationId;
|
|
21417
21417
|
}
|
|
21418
21418
|
if (input.location === void 0) return void 0;
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { E as deviceStatusCapability, T as DeviceStatusSchema } from "../../stream-catalog.cap-
|
|
2
|
-
import { b as EventCategory$1, f as defineAddonMigrations, g as WELL_KNOWN_TAB_MAP, n as secretTreeFromPaths, o as resolveSecretMarkers, s as transformSecretWrite, t as BaseAddon } from "../../base-addon-
|
|
3
|
-
import { B as SECRET_CLEAR, G as isSecretMarkerLike, H as isSecretClear, K as makeSecretMarker, W as isSecretMarker, X as isKeychainStoredField, Z as errMsg$1, b as buildSecretRef, q as toSecretFieldView, w as parseSecretRef } from "../../scoped-settings-
|
|
4
|
-
import { $n as ExportNameRefusedError, Cn as EXTENSION_SLOTS, Sn as deviceExtensionCapability, b as workloadTransition, bn as FieldClaimSchema, c as kebabToCamel, g as WorkloadStateSchema, h as WORKLOAD_TRANSITION_CATEGORY, m as ALL_CAPABILITY_DEFINITIONS, n as renameCompositionBlock, t as composedBlockIdOf, v as isWorkloadSettled, xn as deviceStateCapability, y as workloadCapability, yn as FieldClaimModeSchema } from "../../rename-composition-block-
|
|
5
|
-
import { t as userError } from "../../
|
|
1
|
+
import { E as deviceStatusCapability, T as DeviceStatusSchema } from "../../stream-catalog.cap-C7vlYIih.mjs";
|
|
2
|
+
import { b as EventCategory$1, f as defineAddonMigrations, g as WELL_KNOWN_TAB_MAP, n as secretTreeFromPaths, o as resolveSecretMarkers, s as transformSecretWrite, t as BaseAddon } from "../../base-addon-DCfRA4Sq.mjs";
|
|
3
|
+
import { B as SECRET_CLEAR, G as isSecretMarkerLike, H as isSecretClear, K as makeSecretMarker, W as isSecretMarker, X as isKeychainStoredField, Z as errMsg$1, b as buildSecretRef, q as toSecretFieldView, w as parseSecretRef } from "../../scoped-settings-DnkTDuvk.mjs";
|
|
4
|
+
import { $n as ExportNameRefusedError, Cn as EXTENSION_SLOTS, Sn as deviceExtensionCapability, b as workloadTransition, bn as FieldClaimSchema, c as kebabToCamel, g as WorkloadStateSchema, h as WORKLOAD_TRANSITION_CATEGORY, m as ALL_CAPABILITY_DEFINITIONS, n as renameCompositionBlock, t as composedBlockIdOf, v as isWorkloadSettled, xn as deviceStateCapability, y as workloadCapability, yn as FieldClaimModeSchema } from "../../rename-composition-block-CMfftDfW.mjs";
|
|
5
|
+
import { t as userError } from "../../dominevo-error-EgrighSX.mjs";
|
|
6
6
|
import { a as expandCapMethods$1, s as isDeviceConfigCap } from "../../capability-definition-C1TLUVJR.mjs";
|
|
7
7
|
import { t as collectZodSecretPaths$1 } from "../../zod-secret-zY4nM61M.mjs";
|
|
8
|
-
import { C as generateDeviceAlias, S as checkDeviceAlias, _ as DEVICE_TEMPLATE_MAX_LENGTH, a as deviceManagerCapability, b as DEVICE_TEMPLATE_VALUES_CAP, d as ZoneBodySchema, g as DEVICE_TEMPLATE_FILTERS, h as identityLinkSidesRefusal, m as identityLinkId, s as RoomBodySchema, v as DEVICE_TEMPLATE_MAX_OUTPUT, x as resolveTemplateRef } from "../../device-manager.cap-
|
|
8
|
+
import { C as generateDeviceAlias, S as checkDeviceAlias, _ as DEVICE_TEMPLATE_MAX_LENGTH, a as deviceManagerCapability, b as DEVICE_TEMPLATE_VALUES_CAP, d as ZoneBodySchema, g as DEVICE_TEMPLATE_FILTERS, h as identityLinkSidesRefusal, m as identityLinkId, s as RoomBodySchema, v as DEVICE_TEMPLATE_MAX_OUTPUT, x as resolveTemplateRef } from "../../device-manager.cap-3gMy5WyI.mjs";
|
|
9
9
|
import { a as isEmptyIdentifiers, c as sameIdentifiers, i as identifierStrength, l as CAMERA_SWITCH_ORDER, o as mergeIdentifiers, r as DeviceIdentifiersSchema, t as DEVICE_IDENTIFIER_KEYS } from "../../device-identifiers-DUZTpxzs.mjs";
|
|
10
|
-
import { a as deviceRowBackendOf, c as recordUpsertEdit, i as DeviceRowStore, n as DEVICE_ROWS_COLLECTION, o as MigrationRefusedError, r as DEVICE_ROWS_FLEET_LIMIT, t as deviceManagerRecordKinds } from "../../record-kinds-
|
|
11
|
-
import { u as preconditionOf } from "../../migration-
|
|
10
|
+
import { a as deviceRowBackendOf, c as recordUpsertEdit, i as DeviceRowStore, n as DEVICE_ROWS_COLLECTION, o as MigrationRefusedError, r as DEVICE_ROWS_FLEET_LIMIT, t as deviceManagerRecordKinds } from "../../record-kinds-HynLKMsB.mjs";
|
|
11
|
+
import { u as preconditionOf } from "../../migration-DDDUJnTU.mjs";
|
|
12
12
|
import { f as canonicalIconKey, s as normalizeTags, u as tagKey } from "../../tag-DU8pm9Bi.mjs";
|
|
13
13
|
import { n as DeviceRole, r as DeviceType$1, t as DeviceFeature } from "../../device-type-eOSmS94B.mjs";
|
|
14
14
|
import { n as capAdmitsDevice, r as capAppliesToDeviceKind } from "../../device-kind-DCIVtE-Z.mjs";
|
|
15
|
-
import { i as jobSourceCapability, nn as enumerateItemArrayFields, rn as enumerateSchemaFields, rt as CAP_RUNTIME_FIELD_UNITS } from "../../jobs.cap-
|
|
16
|
-
import { l as CAP_VOCABULARY_BY_NAME, s as vocabActionIdFor } from "../../retention-source.cap-
|
|
17
|
-
import { u as locationIconKey } from "../../addon-settings.cap-
|
|
15
|
+
import { i as jobSourceCapability, nn as enumerateItemArrayFields, rn as enumerateSchemaFields, rt as CAP_RUNTIME_FIELD_UNITS } from "../../jobs.cap-DdrDabtW.mjs";
|
|
16
|
+
import { l as CAP_VOCABULARY_BY_NAME, s as vocabActionIdFor } from "../../retention-source.cap-DLKW-DAE.mjs";
|
|
17
|
+
import { u as locationIconKey } from "../../addon-settings.cap-CyWCCPvU.mjs";
|
|
18
18
|
import { v as COMPOSER_ADDON_ID } from "../../compile-BWflhCNY.mjs";
|
|
19
19
|
import { a as normalizeUnit, r as extractSourceInfoFromMetadata } from "../../source-info-BfuoJscj.mjs";
|
|
20
|
-
import { a as DEVICE_BLOB_SAVES, d as roomIdFromKey, f as tagIdFromKey, i as createWriteLock, l as StaleStampError, m as ConditionMirror, n as EntityNotFoundError, p as zoneIdFromKey, r as NamedEntityStore, s as loadPrefixed, t as EntityNameTakenError, u as entityNameKey } from "../../named-entity-store-
|
|
21
|
-
import { a as effectConditionHolds, i as commandHoldMs, n as commandEffect, o as isCommand$1, r as commandEffects, s as resolveSideEffect } from "../../command-catalog-
|
|
20
|
+
import { a as DEVICE_BLOB_SAVES, d as roomIdFromKey, f as tagIdFromKey, i as createWriteLock, l as StaleStampError, m as ConditionMirror, n as EntityNotFoundError, p as zoneIdFromKey, r as NamedEntityStore, s as loadPrefixed, t as EntityNameTakenError, u as entityNameKey } from "../../named-entity-store-CLIUOHkl.mjs";
|
|
21
|
+
import { a as effectConditionHolds, i as commandHoldMs, n as commandEffect, o as isCommand$1, r as commandEffects, s as resolveSideEffect } from "../../command-catalog-88WjnitG.mjs";
|
|
22
22
|
import { t as require_read_all_rows } from "../../read-all-rows-TaPqdWNF.mjs";
|
|
23
23
|
import { a as redactLogText, i as redactLogMeta, n as isSecretArgumentKey } from "../../log-redactor-B6FjCuXc.mjs";
|
|
24
|
-
import { n as StateRefreshScheduler, r as integrationGroupKey } from "../../state-refresh-scheduler-
|
|
24
|
+
import { n as StateRefreshScheduler, r as integrationGroupKey } from "../../state-refresh-scheduler-B3pfIHRS.mjs";
|
|
25
25
|
import { t as prefixRange } from "../../prefix-range-Dl0znowN.mjs";
|
|
26
|
-
import { n as purgeRetiredSettingsRows } from "../../retired-settings-keys-
|
|
26
|
+
import { n as purgeRetiredSettingsRows } from "../../retired-settings-keys-Dakm_ir-.mjs";
|
|
27
27
|
import { n as isRenderResponse, r as analyzeTemplate } from "../../template-protocol-SgPDx3Hw.mjs";
|
|
28
28
|
import { s as normalizeServiceType } from "../../dns-wire-Dm3H_7ST.mjs";
|
|
29
29
|
import { createRequire } from "node:module";
|
|
30
30
|
import { z } from "zod";
|
|
31
|
-
import { randomUUID } from "node:crypto";
|
|
32
31
|
import { canonicalDeviceFingerprint } from "@dominevo/types/node";
|
|
32
|
+
import { randomUUID } from "node:crypto";
|
|
33
33
|
import * as path$1 from "node:path";
|
|
34
34
|
import { isCommand, readCommandOrigin } from "@dominevo/types/addon";
|
|
35
35
|
import { Worker } from "node:worker_threads";
|
|
@@ -236,7 +236,7 @@ export declare class DeviceRowStore {
|
|
|
236
236
|
/** Wire the room and tag name lookups the decoder derives `location` / `tags` from. */
|
|
237
237
|
setDerivedNames(names: DerivedNames): void;
|
|
238
238
|
/** Call-site attribution for fleet reads. Armed only by
|
|
239
|
-
* `
|
|
239
|
+
* `DOMINEVO_FLEET_READ_CENSUS_MS`; see `fleet-read-census.ts`. */
|
|
240
240
|
private readonly census;
|
|
241
241
|
/**
|
|
242
242
|
* Is the fleet-read census armed right now? Exposed so a caller ABOVE this
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* action, which is the right shape for a steady-state mystery: you notice, you
|
|
23
23
|
* arm, you read. It cannot work here. **The storm is at BOOT** — by the time a
|
|
24
24
|
* process is up enough to receive an action, the window being investigated has
|
|
25
|
-
* closed. So this arms at CONSTRUCTION from `
|
|
25
|
+
* closed. So this arms at CONSTRUCTION from `DOMINEVO_FLEET_READ_CENSUS_MS` and
|
|
26
26
|
* closes itself after that many milliseconds.
|
|
27
27
|
*
|
|
28
28
|
* A bad value **disarms**. An env var someone fat-fingered must not quietly
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* without a mirror, a settings store or a timer.
|
|
5
5
|
*
|
|
6
6
|
* ── Why a gate at all ──────────────────────────────────────────────────────
|
|
7
|
-
* The cost model for `
|
|
7
|
+
* The cost model for `dominevo.db` is not bytes and not rows — it is how many
|
|
8
8
|
* commits you offer to the WAL-checkpoint lottery on a FUSE share (D96: p50
|
|
9
9
|
* 0.14 ms for the statement, up to 25 s for the unlucky commit that enters a
|
|
10
10
|
* checkpoint). Runtime state at full fleet activity offers 12–19 commits/s,
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_base_addon = require("../../base-addon
|
|
6
|
+
const require_base_addon = require("../../base-addon-CwtR9jMm.js");
|
|
7
7
|
const require_log_destination_cap = require("../../log-destination.cap-DMTMDpBQ.js");
|
|
8
8
|
const require_formatter = require("../../formatter-xbxeV4GD.js");
|
|
9
9
|
//#region src/builtins/hub-forwarder/hub-forwarder-destination.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as BaseAddon } from "../../base-addon-
|
|
1
|
+
import { t as BaseAddon } from "../../base-addon-DCfRA4Sq.mjs";
|
|
2
2
|
import { t as logDestinationCapability } from "../../log-destination.cap-BN87x9HT.mjs";
|
|
3
3
|
import { t as formatLogLine } from "../../formatter-DkYZ4LXp.mjs";
|
|
4
4
|
//#region src/builtins/hub-forwarder/hub-forwarder-destination.ts
|