@camstack/server 1.2.718 → 1.2.720
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/CHANGELOG.md +13 -0
- package/dist/addon-root-inventory.js +1 -1
- package/dist/agent/addon-scan.js +11 -7
- package/dist/agent/agent-addon-updates.js +1 -1
- package/dist/agent/agent-cap-dispatch-service.js +1 -1
- package/dist/agent/agent-heap-watch.js +1 -1
- package/dist/agent/agent-http.js +1 -1
- package/dist/agent/agent-hub-addon-update.js +1 -1
- package/dist/agent/agent-hub-registration.js +1 -1
- package/dist/agent/agent-infra-capabilities.js +2 -2
- package/dist/agent/agent-mesh-gate.js +1 -1
- package/dist/agent/agent-node-certificates.js +1 -1
- package/dist/agent/agent-pairing-routes.js +1 -1
- package/dist/agent/agent-pairing-store.js +1 -1
- package/dist/agent/agent-service.js +6 -2
- package/dist/agent/agent-update-service.js +3 -1
- package/dist/agent/hub-membership-client.js +1 -1
- package/dist/agent/infra-boot-guard.js +2 -2
- package/dist/agent/main.js +9 -9
- package/dist/api/addon-upload.js +1 -1
- package/dist/api/core/addon-settings.router.js +1 -1
- package/dist/api/core/agent-pairing.router.js +1 -1
- package/dist/api/core/auth-device-cert.procedures.js +1 -1
- package/dist/api/core/cap-providers.js +6 -6
- package/dist/api/core/certificates.router.js +1 -1
- package/dist/api/core/lifecycle-job-runner.js +1 -1
- package/dist/api/core/logging-settings.js +1 -1
- package/dist/api/core/logs.router.js +2 -2
- package/dist/api/core/notifications.router.js +1 -1
- package/dist/api/core/preferences.router.js +1 -1
- package/dist/api/core/repl.router.js +1 -1
- package/dist/api/cors/cors-policy.js +1 -1
- package/dist/api/mesh-membership-routes.js +1 -1
- package/dist/api/model-distributor.js +1 -1
- package/dist/api/trpc/cap-route-error-formatter.js +1 -1
- package/dist/api/trpc/cap-router-runtime.js +2 -2
- package/dist/api/trpc/core-cap-bridge.js +1 -1
- package/dist/api/trpc/device-collection-dispatch.js +1 -1
- package/dist/api/trpc/generated-cap-routers.js +1 -1
- package/dist/api/trpc/principal-authorization.js +1 -1
- package/dist/api/trpc/principal-visibility.js +1 -1
- package/dist/api/trpc/scope-access.js +1 -1
- package/dist/api/trpc/trpc.context.js +1 -1
- package/dist/api/trpc/trpc.middleware.js +1 -1
- package/dist/api/trpc/trpc.router.js +3 -3
- package/dist/auth/auth-network-policy.js +1 -1
- package/dist/auth/client-address.js +1 -1
- package/dist/auth/hub-sessions.js +1 -1
- package/dist/auth/session-lifetimes.js +1 -1
- package/dist/auth/sso-finish-deps.js +1 -1
- package/dist/boot/boot-config.js +53 -133
- package/dist/boot/platform-keychain-key.js +1 -1
- package/dist/boot/post-boot.service.js +1 -1
- package/dist/bootstrap-packages.js +3 -3
- package/dist/core/addon/addon-call-gateway.js +1 -1
- package/dist/core/addon/addon-package.service.js +140 -21
- package/dist/core/addon/addon-registry.service.js +36 -32
- package/dist/core/addon/addon-requirements.js +81 -0
- package/dist/core/addon/hub-addon-api.js +1 -1
- package/dist/core/addon/installed-addon-versions.js +82 -0
- package/dist/core/addon/package-dir-utils.js +11 -1
- package/dist/core/addon/settings-door-wiring.js +1 -1
- package/dist/core/addon-bridge/addon-bridge.service.js +3 -3
- package/dist/core/addon-pages/addon-pages.service.js +1 -1
- package/dist/core/agent/agent-desired-set.js +1 -1
- package/dist/core/agent/agent-pairing-http.js +1 -1
- package/dist/core/agent/agent-registry.service.js +41 -7
- package/dist/core/agent/cluster-node-history-store.js +1 -1
- package/dist/core/agent/delivery-requirements.js +36 -0
- package/dist/core/agent/forgotten-node-revoker.js +1 -1
- package/dist/core/agent/node-removal-hooks.js +6 -2
- package/dist/core/auth/auth.service.js +1 -1
- package/dist/core/config/config.schema.js +2 -2
- package/dist/core/config/config.service.js +1 -1
- package/dist/core/events/event-bus.service.js +1 -1
- package/dist/core/feature/feature.service.js +1 -1
- package/dist/core/lifecycle/lifecycle-state-machine.js +2 -2
- package/dist/core/logging/log-history.js +1 -1
- package/dist/core/logging/log-ring-buffer.js +2 -2
- package/dist/core/logging/logging.service.js +2 -2
- package/dist/core/logging/scoped-logger.js +2 -2
- package/dist/core/moleculer/cap-route-authority.js +2 -2
- package/dist/core/moleculer/hub-mesh-guard.js +1 -1
- package/dist/core/moleculer/moleculer.service.js +1 -1
- package/dist/core/network/network-quality.service.js +1 -1
- package/dist/core/notification/notification-wrapper.service.js +1 -1
- package/dist/core/notification/toast-wrapper.service.js +1 -1
- package/dist/core/repl/repl-engine.service.js +1 -1
- package/dist/core/server-update/server-update.service.js +3 -0
- package/dist/core/server-update/system-ensure-prebuilds.js +3 -3
- package/dist/core/server-update/system-exec-npm.js +2 -2
- package/dist/core/storage/fs-storage-backend.js +2 -2
- package/dist/core/storage/storage-location-manager.js +2 -2
- package/dist/core/storage/storage.service.js +1 -1
- package/dist/framework-nodepath.js +14 -1
- package/dist/launcher.js +23 -23
- package/dist/legacy-package-names.js +15 -0
- package/dist/main.js +2 -2
- package/dist/manual-boot.js +4 -3
- package/dist/package-inventory.js +6 -3
- package/dist/server-root/index.js +182 -30
- package/dist/single-copy-cleanup-runner.js +3 -3
- package/dist/single-copy-cleanup.js +19 -14
- package/package.json +53 -19
- package/scripts/closure-postinstall.mjs +1 -1
- package/system/assets/addon-pages-aggregator/icon.svg +5 -0
- package/system/assets/addon-widgets-aggregator/icon.svg +6 -0
- package/system/assets/alert-center/icon.svg +5 -0
- package/system/assets/autotrack/icon.svg +5 -0
- package/system/assets/backup-orchestrator/icon.svg +5 -0
- package/system/assets/calendars/icon.svg +5 -0
- package/system/assets/camera-grid/icon.svg +10 -0
- package/system/assets/composer/icon.svg +7 -0
- package/system/assets/console-logging/icon.svg +4 -0
- package/system/assets/core-blocks/icon.svg +6 -0
- package/system/assets/device-history/icon.svg +4 -0
- package/system/assets/device-manager/icon.svg +6 -0
- package/system/assets/filesystem-storage/icon.svg +6 -0
- package/system/assets/hub-forwarder/icon.svg +7 -0
- package/system/assets/keychain/icon.svg +6 -0
- package/system/assets/liveness-monitor/icon.svg +4 -0
- package/system/assets/local-auth/icon.svg +5 -0
- package/system/assets/local-network/icon.svg +7 -0
- package/system/assets/loki-logging/icon.svg +7 -0
- package/system/assets/metrics-native/icon.svg +3 -0
- package/system/assets/platform-probe/icon.svg +5 -0
- package/system/assets/record-entries/icon.svg +8 -0
- package/system/assets/remote-access-orchestrator/icon.svg +5 -0
- package/system/assets/snapshot/icon.svg +4 -0
- package/system/assets/sqlite-settings/icon.svg +5 -0
- package/system/assets/storage-orchestrator/icon.svg +8 -0
- package/system/assets/system-config/icon.svg +4 -0
- package/system/assets/winston-logging/icon.svg +6 -0
- package/system/dist/addon/addon-api-factory.d.ts +35 -0
- package/system/dist/addon-routes/addon-route-registry.d.ts +37 -0
- package/system/dist/addon-runner.js +11894 -0
- package/system/dist/addon-runner.mjs +11840 -0
- package/system/dist/addon-utils.d.ts +23 -0
- package/system/dist/addon-utils.js +27 -0
- package/system/dist/addon-utils.mjs +3 -0
- package/system/dist/agent-https-BMbnmX5u.mjs +1042 -0
- package/system/dist/agent-https-DslXCDRW.js +1289 -0
- package/system/dist/amd-accelerators-CEuPFBBK.js +36 -0
- package/system/dist/amd-accelerators-U_RsoEDd.mjs +35 -0
- package/system/dist/auth/auth-audit-log.d.ts +45 -0
- package/system/dist/auth/auth-manager.d.ts +155 -0
- package/system/dist/auth/cidr.d.ts +22 -0
- package/system/dist/auth/device-ca-store.d.ts +57 -0
- package/system/dist/auth/device-ca.d.ts +65 -0
- package/system/dist/auth/device-credential-manager.d.ts +158 -0
- package/system/dist/auth/external-identity-manager.d.ts +42 -0
- package/system/dist/auth/jwt-signing-key.d.ts +42 -0
- package/system/dist/auth/legacy-token-tables.d.ts +16 -0
- package/system/dist/auth/login-session-manager.d.ts +140 -0
- package/system/dist/auth/origin.d.ts +34 -0
- package/system/dist/auth/parse-record.d.ts +18 -0
- package/system/dist/auth/scope-matcher.d.ts +8 -0
- package/system/dist/auth/session-revocation-bus.d.ts +32 -0
- package/system/dist/auth/token-expiry.d.ts +62 -0
- package/system/dist/auth/totp-manager.d.ts +107 -0
- package/system/dist/auth/user-management-internal.d.ts +90 -0
- package/system/dist/auth/user-manager.d.ts +69 -0
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.d.ts +57 -0
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +271 -0
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +263 -0
- package/system/dist/builtins/addon-pages-aggregator/dedupe-pages.d.ts +24 -0
- package/system/dist/builtins/addon-pages-aggregator/index.d.ts +1 -0
- package/system/dist/builtins/addon-pages-aggregator/index.js +8 -0
- package/system/dist/builtins/addon-pages-aggregator/index.mjs +2 -0
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.d.ts +57 -0
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +257 -0
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +249 -0
- package/system/dist/builtins/addon-widgets-aggregator/index.d.ts +1 -0
- package/system/dist/builtins/addon-widgets-aggregator/index.js +8 -0
- package/system/dist/builtins/addon-widgets-aggregator/index.mjs +2 -0
- package/system/dist/builtins/alerts/alert-episode-policy.d.ts +39 -0
- package/system/dist/builtins/alerts/alert-store.d.ts +32 -0
- package/system/dist/builtins/alerts/alerts.addon.d.ts +148 -0
- package/system/dist/builtins/alerts/alerts.addon.js +1566 -0
- package/system/dist/builtins/alerts/alerts.addon.mjs +1559 -0
- package/system/dist/builtins/alerts/device-label.d.ts +8 -0
- package/system/dist/builtins/alerts/emit-alert-policy.d.ts +15 -0
- package/system/dist/builtins/alerts/index.d.ts +1 -0
- package/system/dist/builtins/alerts/index.js +4 -0
- package/system/dist/builtins/alerts/index.mjs +2 -0
- package/system/dist/builtins/alerts/migration-alerts.d.ts +13 -0
- package/system/dist/builtins/alerts/prune-policy.d.ts +44 -0
- package/system/dist/builtins/alerts/record-kinds.d.ts +15 -0
- package/system/dist/builtins/alerts/runner-alert.d.ts +58 -0
- package/system/dist/builtins/autotrack/autotrack-cameras.d.ts +125 -0
- package/system/dist/builtins/autotrack/autotrack-config.d.ts +89 -0
- package/system/dist/builtins/autotrack/autotrack-decision.d.ts +86 -0
- package/system/dist/builtins/autotrack/autotrack-loop.d.ts +95 -0
- package/system/dist/builtins/autotrack/autotrack.addon.d.ts +108 -0
- package/system/dist/builtins/autotrack/frame-error.d.ts +50 -0
- package/system/dist/builtins/autotrack/frame-measurements.d.ts +97 -0
- package/system/dist/builtins/autotrack/index.d.ts +2 -0
- package/system/dist/builtins/autotrack/index.js +1018 -0
- package/system/dist/builtins/autotrack/index.mjs +1012 -0
- package/system/dist/builtins/autotrack/ptz-mirror.d.ts +54 -0
- package/system/dist/builtins/autotrack/target-selection.d.ts +46 -0
- package/system/dist/builtins/backup-orchestrator/backup-databases.d.ts +51 -0
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.d.ts +291 -0
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +3213 -0
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +3204 -0
- package/system/dist/builtins/backup-orchestrator/cron-helpers.d.ts +23 -0
- package/system/dist/builtins/backup-orchestrator/destination-policy.d.ts +91 -0
- package/system/dist/builtins/backup-orchestrator/download-helpers.d.ts +12 -0
- package/system/dist/builtins/backup-orchestrator/encryption-key-store.d.ts +49 -0
- package/system/dist/builtins/backup-orchestrator/index.d.ts +2 -0
- package/system/dist/builtins/backup-orchestrator/index.js +8 -0
- package/system/dist/builtins/backup-orchestrator/index.mjs +2 -0
- package/system/dist/builtins/backup-orchestrator/manifest-store.d.ts +134 -0
- package/system/dist/builtins/backup-orchestrator/record-kinds.d.ts +56 -0
- package/system/dist/builtins/backup-orchestrator/restore-archive.d.ts +24 -0
- package/system/dist/builtins/backup-orchestrator/run-queue.d.ts +106 -0
- package/system/dist/builtins/backup-orchestrator/schedule-store.d.ts +59 -0
- package/system/dist/builtins/backup-orchestrator/seed-marker-store.d.ts +26 -0
- package/system/dist/builtins/backup-orchestrator/staging-paths.d.ts +36 -0
- package/system/dist/builtins/backup-orchestrator/write-targets.d.ts +63 -0
- package/system/dist/builtins/calendars/calendar-color.d.ts +9 -0
- package/system/dist/builtins/calendars/calendar-prefs-store.d.ts +34 -0
- package/system/dist/builtins/calendars/calendars.addon.d.ts +19 -0
- package/system/dist/builtins/calendars/calendars.addon.js +227 -0
- package/system/dist/builtins/calendars/calendars.addon.mjs +220 -0
- package/system/dist/builtins/calendars/index.d.ts +1 -0
- package/system/dist/builtins/calendars/index.js +8 -0
- package/system/dist/builtins/calendars/index.mjs +2 -0
- package/system/dist/builtins/calendars/record-kinds.d.ts +18 -0
- package/system/dist/builtins/camera-grid/acquire-retry.d.ts +30 -0
- package/system/dist/builtins/camera-grid/addon.d.ts +205 -0
- package/system/dist/builtins/camera-grid/flv-join.d.ts +40 -0
- package/system/dist/builtins/camera-grid/grid-activity-mirror.d.ts +42 -0
- package/system/dist/builtins/camera-grid/grid-activity.d.ts +91 -0
- package/system/dist/builtins/camera-grid/grid-camera-declarations.d.ts +59 -0
- package/system/dist/builtins/camera-grid/grid-camera-device.d.ts +68 -0
- package/system/dist/builtins/camera-grid/grid-canvas-derivation.d.ts +54 -0
- package/system/dist/builtins/camera-grid/grid-canvas-seed.d.ts +112 -0
- package/system/dist/builtins/camera-grid/grid-canvas.d.ts +85 -0
- package/system/dist/builtins/camera-grid/grid-child.d.ts +32 -0
- package/system/dist/builtins/camera-grid/grid-compositor-child.d.ts +3 -0
- package/system/dist/builtins/camera-grid/grid-compositor-invocation.d.ts +47 -0
- package/system/dist/builtins/camera-grid/grid-compositor.d.ts +54 -0
- package/system/dist/builtins/camera-grid/grid-detection-mapping.d.ts +61 -0
- package/system/dist/builtins/camera-grid/grid-device-settings.d.ts +35 -0
- package/system/dist/builtins/camera-grid/grid-filter-graph.d.ts +53 -0
- package/system/dist/builtins/camera-grid/grid-frame-sample.d.ts +53 -0
- package/system/dist/builtins/camera-grid/grid-instances.d.ts +22 -0
- package/system/dist/builtins/camera-grid/grid-last-frame-store.d.ts +58 -0
- package/system/dist/builtins/camera-grid/grid-layout-native-provider.d.ts +34 -0
- package/system/dist/builtins/camera-grid/grid-plan.d.ts +34 -0
- package/system/dist/builtins/camera-grid/grid-profiles.d.ts +104 -0
- package/system/dist/builtins/camera-grid/grid-row-normalization.d.ts +10 -0
- package/system/dist/builtins/camera-grid/grid-sentry-sources.d.ts +64 -0
- package/system/dist/builtins/camera-grid/grid-snapshot.d.ts +62 -0
- package/system/dist/builtins/camera-grid/grid-stream-descriptor.d.ts +53 -0
- package/system/dist/builtins/camera-grid/grid-stream-invocation.d.ts +44 -0
- package/system/dist/builtins/camera-grid/grid-stream-relay.d.ts +35 -0
- package/system/dist/builtins/camera-grid/grid-stream-session.d.ts +143 -0
- package/system/dist/builtins/camera-grid/grid-tile-feed.d.ts +50 -0
- package/system/dist/builtins/camera-grid/grid-tile-plan.d.ts +66 -0
- package/system/dist/builtins/camera-grid/grid-wire-format.d.ts +30 -0
- package/system/dist/builtins/camera-grid/index.d.ts +45 -0
- package/system/dist/builtins/camera-grid/index.js +3994 -0
- package/system/dist/builtins/camera-grid/index.mjs +3961 -0
- package/system/dist/builtins/camera-grid/silence-analysis.d.ts +37 -0
- package/system/dist/builtins/cluster-agent/record-kinds.d.ts +49 -0
- package/system/dist/builtins/composer/actuator-dispatch.d.ts +13 -0
- package/system/dist/builtins/composer/actuator-groups.d.ts +68 -0
- package/system/dist/builtins/composer/actuator-invoke.d.ts +32 -0
- package/system/dist/builtins/composer/claim-gate.d.ts +59 -0
- package/system/dist/builtins/composer/composed-device-set.d.ts +52 -0
- package/system/dist/builtins/composer/composed-device.d.ts +57 -0
- package/system/dist/builtins/composer/composer-apply-waits.d.ts +28 -0
- package/system/dist/builtins/composer/composer-grafts.d.ts +73 -0
- package/system/dist/builtins/composer/composer-live-set.d.ts +30 -0
- package/system/dist/builtins/composer/composer-plan.d.ts +112 -0
- package/system/dist/builtins/composer/composer-runtime-factory.d.ts +30 -0
- package/system/dist/builtins/composer/composer-seeds.d.ts +28 -0
- package/system/dist/builtins/composer/composer-verdict.d.ts +33 -0
- package/system/dist/builtins/composer/composer.addon.d.ts +26 -0
- package/system/dist/builtins/composer/composer.addon.js +6229 -0
- package/system/dist/builtins/composer/composer.addon.mjs +6223 -0
- package/system/dist/builtins/composer/composer.d.ts +208 -0
- package/system/dist/builtins/composer/composition-declarations.d.ts +64 -0
- package/system/dist/builtins/composer/composition-evaluation.d.ts +53 -0
- package/system/dist/builtins/composer/composition-runtime.d.ts +203 -0
- package/system/dist/builtins/composer/composition-target.d.ts +60 -0
- package/system/dist/builtins/composer/confirmed-seed.d.ts +44 -0
- package/system/dist/builtins/composer/deadline-timer.d.ts +18 -0
- package/system/dist/builtins/composer/existing-target.d.ts +131 -0
- package/system/dist/builtins/composer/field-record.d.ts +64 -0
- package/system/dist/builtins/composer/forward-commands.d.ts +61 -0
- package/system/dist/builtins/composer/graft-host.d.ts +71 -0
- package/system/dist/builtins/composer/held-claims.d.ts +29 -0
- package/system/dist/builtins/composer/history-helpers.d.ts +67 -0
- package/system/dist/builtins/composer/index.d.ts +1 -0
- package/system/dist/builtins/composer/index.js +8 -0
- package/system/dist/builtins/composer/index.mjs +2 -0
- package/system/dist/builtins/composer/math-quantity.d.ts +20 -0
- package/system/dist/builtins/composer/own-field-reads.d.ts +30 -0
- package/system/dist/builtins/composer/owned-fields-target.d.ts +95 -0
- package/system/dist/builtins/composer/pulse-seed-resolve.d.ts +59 -0
- package/system/dist/builtins/composer/pulse-seed.d.ts +75 -0
- package/system/dist/builtins/composer/slice-assembler.d.ts +26 -0
- package/system/dist/builtins/composer/source-readings.d.ts +128 -0
- package/system/dist/builtins/composer/source-tracker.d.ts +135 -0
- package/system/dist/builtins/console-logging/console-destination.d.ts +19 -0
- package/system/dist/builtins/console-logging/console-logging.addon.d.ts +26 -0
- package/system/dist/builtins/console-logging/index.d.ts +3 -0
- package/system/dist/builtins/console-logging/index.js +108 -0
- package/system/dist/builtins/console-logging/index.mjs +99 -0
- package/system/dist/builtins/core-blocks/actions-service.d.ts +113 -0
- package/system/dist/builtins/core-blocks/actions-store.d.ts +32 -0
- package/system/dist/builtins/core-blocks/actions-wiring.d.ts +32 -0
- package/system/dist/builtins/core-blocks/block-package.d.ts +54 -0
- package/system/dist/builtins/core-blocks/block-settings-store.d.ts +93 -0
- package/system/dist/builtins/core-blocks/block-supervisor.d.ts +176 -0
- package/system/dist/builtins/core-blocks/block-type-defs.d.ts +29 -0
- package/system/dist/builtins/core-blocks/blocks-integration.d.ts +89 -0
- package/system/dist/builtins/core-blocks/compile-block.d.ts +52 -0
- package/system/dist/builtins/core-blocks/composition-api.d.ts +50 -0
- package/system/dist/builtins/core-blocks/composition-peers.d.ts +31 -0
- package/system/dist/builtins/core-blocks/composition-sources.d.ts +40 -0
- package/system/dist/builtins/core-blocks/core-block-store.d.ts +120 -0
- package/system/dist/builtins/core-blocks/core-blocks.addon.d.ts +108 -0
- package/system/dist/builtins/core-blocks/core-blocks.addon.js +6374 -0
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +6355 -0
- package/system/dist/builtins/core-blocks/extract-settings-schema.d.ts +6 -0
- package/system/dist/builtins/core-blocks/index.d.ts +8 -0
- package/system/dist/builtins/core-blocks/index.js +21 -0
- package/system/dist/builtins/core-blocks/index.mjs +2 -0
- package/system/dist/builtins/core-blocks/lock-door-gate.d.ts +31 -0
- package/system/dist/builtins/core-blocks/lock-door-sensor.d.ts +35 -0
- package/system/dist/builtins/core-blocks/power-source-service.d.ts +70 -0
- package/system/dist/builtins/core-blocks/record-kinds.d.ts +83 -0
- package/system/dist/builtins/core-blocks/remote-call-redirect.d.ts +23 -0
- package/system/dist/builtins/core-blocks/remote-components-service.d.ts +10 -0
- package/system/dist/builtins/core-blocks/remote-service.d.ts +85 -0
- package/system/dist/builtins/core-blocks/remote-wiring.d.ts +49 -0
- package/system/dist/builtins/core-blocks/runs-api.d.ts +30 -0
- package/system/dist/builtins/core-blocks/runs-ledger.d.ts +64 -0
- package/system/dist/builtins/core-blocks/scheduler/scheduler-engine.d.ts +91 -0
- package/system/dist/builtins/core-blocks/scheduler/scheduler-holds.d.ts +54 -0
- package/system/dist/builtins/core-blocks/scheduler/scheduler-service.d.ts +76 -0
- package/system/dist/builtins/core-blocks/scheduler/scheduler-store.d.ts +23 -0
- package/system/dist/builtins/core-blocks/scheduler/scheduler-timeline.d.ts +53 -0
- package/system/dist/builtins/core-blocks/scheduler/scheduler-trace.d.ts +17 -0
- package/system/dist/builtins/core-blocks/scheduler/scheduler-types.d.ts +20 -0
- package/system/dist/builtins/core-blocks/scheduler/scheduler-wiring.d.ts +41 -0
- package/system/dist/builtins/core-blocks/templates-service.d.ts +24 -0
- package/system/dist/builtins/device-history/capture/capture-engine.d.ts +113 -0
- package/system/dist/builtins/device-history/capture/capture-filter.d.ts +37 -0
- package/system/dist/builtins/device-history/capture/device-directory.d.ts +47 -0
- package/system/dist/builtins/device-history/capture/field-path.d.ts +10 -0
- package/system/dist/builtins/device-history/capture/point-writer.d.ts +63 -0
- package/system/dist/builtins/device-history/device-history.addon.d.ts +53 -0
- package/system/dist/builtins/device-history/device-history.addon.js +2885 -0
- package/system/dist/builtins/device-history/device-history.addon.mjs +2878 -0
- package/system/dist/builtins/device-history/index.d.ts +3 -0
- package/system/dist/builtins/device-history/ingest/producer-ingest.d.ts +99 -0
- package/system/dist/builtins/device-history/query/history-query.d.ts +116 -0
- package/system/dist/builtins/device-history/query/point-shape.d.ts +31 -0
- package/system/dist/builtins/device-history/retention/departure-tracker.d.ts +33 -0
- package/system/dist/builtins/device-history/retention/orphans.d.ts +50 -0
- package/system/dist/builtins/device-history/retention/retention.d.ts +74 -0
- package/system/dist/builtins/device-history/rollup/rollup-engine.d.ts +74 -0
- package/system/dist/builtins/device-history/rollup/rollup-math.d.ts +50 -0
- package/system/dist/builtins/device-history/runtime/history-runtime.d.ts +118 -0
- package/system/dist/builtins/device-history/status/counters.d.ts +55 -0
- package/system/dist/builtins/device-history/store/history-door.d.ts +7 -0
- package/system/dist/builtins/device-history/store/history-schema.d.ts +28 -0
- package/system/dist/builtins/device-history/store/history-store.d.ts +109 -0
- package/system/dist/builtins/device-history/store/row-readers.d.ts +11 -0
- package/system/dist/builtins/device-history/store/series-registry.d.ts +64 -0
- package/system/dist/builtins/device-history/store/series-scale.d.ts +37 -0
- package/system/dist/builtins/device-history/time/bucket-time.d.ts +25 -0
- package/system/dist/builtins/device-manager/adoption-job-engine.d.ts +153 -0
- package/system/dist/builtins/device-manager/claimed-status-overlay.d.ts +45 -0
- package/system/dist/builtins/device-manager/contribution-cache.d.ts +85 -0
- package/system/dist/builtins/device-manager/day-night-config-schema.d.ts +30 -0
- package/system/dist/builtins/device-manager/device-aggregation-merge.d.ts +22 -0
- package/system/dist/builtins/device-manager/device-aggregation.d.ts +335 -0
- package/system/dist/builtins/device-manager/device-bindings-store.d.ts +278 -0
- package/system/dist/builtins/device-manager/device-config-contribution.d.ts +45 -0
- package/system/dist/builtins/device-manager/device-config-secrets.d.ts +40 -0
- package/system/dist/builtins/device-manager/device-event-propagator.d.ts +26 -0
- package/system/dist/builtins/device-manager/device-extension-linked-slot.d.ts +27 -0
- package/system/dist/builtins/device-manager/device-form-secrets.d.ts +25 -0
- package/system/dist/builtins/device-manager/device-linked-devices.d.ts +201 -0
- package/system/dist/builtins/device-manager/device-manager.addon.d.ts +234 -0
- package/system/dist/builtins/device-manager/device-manager.addon.js +11369 -0
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +11358 -0
- package/system/dist/builtins/device-manager/device-meta-actions.d.ts +338 -0
- package/system/dist/builtins/device-manager/device-meta-store.d.ts +103 -0
- package/system/dist/builtins/device-manager/device-meta-types.d.ts +277 -0
- package/system/dist/builtins/device-manager/device-online-fallback.d.ts +35 -0
- package/system/dist/builtins/device-manager/device-projection.d.ts +71 -0
- package/system/dist/builtins/device-manager/device-provider-context.d.ts +126 -0
- package/system/dist/builtins/device-manager/device-queries.d.ts +67 -0
- package/system/dist/builtins/device-manager/device-removal-hooks.d.ts +92 -0
- package/system/dist/builtins/device-manager/device-row-store.d.ts +449 -0
- package/system/dist/builtins/device-manager/device-source-activation.d.ts +103 -0
- package/system/dist/builtins/device-manager/device-state-claim-views.d.ts +92 -0
- package/system/dist/builtins/device-manager/device-state-claims.d.ts +66 -0
- package/system/dist/builtins/device-manager/device-state-mirror.d.ts +267 -0
- package/system/dist/builtins/device-manager/device-sync-resolvers.d.ts +30 -0
- package/system/dist/builtins/device-manager/device-tombstone-store.d.ts +29 -0
- package/system/dist/builtins/device-manager/discovery-orchestrator.d.ts +45 -0
- package/system/dist/builtins/device-manager/field-claims-index.d.ts +96 -0
- package/system/dist/builtins/device-manager/field-ownership.d.ts +71 -0
- package/system/dist/builtins/device-manager/fleet-read-census.d.ts +104 -0
- package/system/dist/builtins/device-manager/image-settings-config-schema.d.ts +22 -0
- package/system/dist/builtins/device-manager/index.d.ts +2 -0
- package/system/dist/builtins/device-manager/index.js +8 -0
- package/system/dist/builtins/device-manager/index.mjs +2 -0
- package/system/dist/builtins/device-manager/linked-devices-manual-backfill.d.ts +27 -0
- package/system/dist/builtins/device-manager/location-alignment.d.ts +61 -0
- package/system/dist/builtins/device-manager/migrate-device.d.ts +192 -0
- package/system/dist/builtins/device-manager/migrate-guard.d.ts +78 -0
- package/system/dist/builtins/device-manager/migrate-hardware-state.d.ts +79 -0
- package/system/dist/builtins/device-manager/migrate-reload.d.ts +46 -0
- package/system/dist/builtins/device-manager/migration-refused.d.ts +23 -0
- package/system/dist/builtins/device-manager/mirror-row-writer.d.ts +222 -0
- package/system/dist/builtins/device-manager/record-kinds.d.ts +14 -0
- package/system/dist/builtins/device-manager/recording-onboard-config-schema.d.ts +65 -0
- package/system/dist/builtins/device-manager/removal-cleanup.d.ts +50 -0
- package/system/dist/builtins/device-manager/removal-fence.d.ts +58 -0
- package/system/dist/builtins/device-manager/running-flip.d.ts +11 -0
- package/system/dist/builtins/device-manager/runtime-state-persist-gate.d.ts +64 -0
- package/system/dist/builtins/device-manager/secret-config-paths.d.ts +24 -0
- package/system/dist/builtins/device-manager/stale-wrapper-activations.d.ts +59 -0
- package/system/dist/builtins/device-manager/write-lock.d.ts +17 -0
- package/system/dist/builtins/hub-forwarder/hub-forwarder-destination.d.ts +43 -0
- package/system/dist/builtins/hub-forwarder/hub-forwarder.addon.d.ts +16 -0
- package/system/dist/builtins/hub-forwarder/index.d.ts +3 -0
- package/system/dist/builtins/hub-forwarder/index.js +151 -0
- package/system/dist/builtins/hub-forwarder/index.mjs +142 -0
- package/system/dist/builtins/keychain/index.d.ts +1 -0
- package/system/dist/builtins/keychain/index.js +2059 -0
- package/system/dist/builtins/keychain/index.mjs +2052 -0
- package/system/dist/builtins/keychain/key-sources.d.ts +37 -0
- package/system/dist/builtins/keychain/keychain-crypto.d.ts +28 -0
- package/system/dist/builtins/keychain/keychain-reset-trigger.d.ts +25 -0
- package/system/dist/builtins/keychain/keychain-service.d.ts +180 -0
- package/system/dist/builtins/keychain/keychain-store.d.ts +125 -0
- package/system/dist/builtins/keychain/keychain-usage.d.ts +17 -0
- package/system/dist/builtins/keychain/keychain.addon.d.ts +36 -0
- package/system/dist/builtins/keychain/platform-key-source.d.ts +24 -0
- package/system/dist/builtins/keychain/record-kinds.d.ts +16 -0
- package/system/dist/builtins/keychain/system-held-secrets.d.ts +25 -0
- package/system/dist/builtins/liveness-monitor/index.d.ts +2 -0
- package/system/dist/builtins/liveness-monitor/index.js +6 -0
- package/system/dist/builtins/liveness-monitor/index.mjs +2 -0
- package/system/dist/builtins/liveness-monitor/liveness-checks.d.ts +85 -0
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.d.ts +46 -0
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.js +443 -0
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +437 -0
- package/system/dist/builtins/liveness-monitor/liveness-reporter.d.ts +28 -0
- package/system/dist/builtins/liveness-monitor/storage-root-access.d.ts +53 -0
- package/system/dist/builtins/local-auth/admin-account-boot.d.ts +27 -0
- package/system/dist/builtins/local-auth/auth-config-reader.d.ts +39 -0
- package/system/dist/builtins/local-auth/auth-schema.d.ts +93 -0
- package/system/dist/builtins/local-auth/index.d.ts +1 -0
- package/system/dist/builtins/local-auth/index.js +4 -0
- package/system/dist/builtins/local-auth/index.mjs +2 -0
- package/system/dist/builtins/local-auth/jwt-signing-key-keeper.d.ts +30 -0
- package/system/dist/builtins/local-auth/local-auth.addon.d.ts +48 -0
- package/system/dist/builtins/local-auth/local-auth.addon.js +12418 -0
- package/system/dist/builtins/local-auth/local-auth.addon.mjs +12388 -0
- package/system/dist/builtins/local-auth/oauth-grants.d.ts +71 -0
- package/system/dist/builtins/local-auth/oauth-session-manager.d.ts +44 -0
- package/system/dist/builtins/local-auth/person-scopes.d.ts +7 -0
- package/system/dist/builtins/local-auth/preferences-record-kinds.d.ts +27 -0
- package/system/dist/builtins/local-auth/record-kinds.d.ts +137 -0
- package/system/dist/builtins/local-auth/user-preferences-store.d.ts +56 -0
- package/system/dist/builtins/local-network/address-book.d.ts +128 -0
- package/system/dist/builtins/local-network/agent-mdns.d.ts +56 -0
- package/system/dist/builtins/local-network/hub-mdns-ciao.d.ts +7 -0
- package/system/dist/builtins/local-network/hub-mdns.d.ts +58 -0
- package/system/dist/builtins/local-network/index.d.ts +1 -0
- package/system/dist/builtins/local-network/index.js +10 -0
- package/system/dist/builtins/local-network/index.mjs +2 -0
- package/system/dist/builtins/local-network/ipv6-lan.d.ts +21 -0
- package/system/dist/builtins/local-network/local-hostname.d.ts +15 -0
- package/system/dist/builtins/local-network/local-network.addon.d.ts +334 -0
- package/system/dist/builtins/local-network/local-network.addon.js +2487 -0
- package/system/dist/builtins/local-network/local-network.addon.mjs +2466 -0
- package/system/dist/builtins/local-network/scan/dns-wire.d.ts +17 -0
- package/system/dist/builtins/local-network/scan/scan-engine.d.ts +31 -0
- package/system/dist/builtins/local-network/scan/scan-io-node.d.ts +2 -0
- package/system/dist/builtins/local-network/scan/scan-io.d.ts +56 -0
- package/system/dist/builtins/local-network/scan/subnets.d.ts +57 -0
- package/system/dist/builtins/loki-logging/index.d.ts +4 -0
- package/system/dist/builtins/loki-logging/index.js +915 -0
- package/system/dist/builtins/loki-logging/index.mjs +901 -0
- package/system/dist/builtins/loki-logging/loki-destination.d.ts +142 -0
- package/system/dist/builtins/loki-logging/loki-logging.addon.d.ts +66 -0
- package/system/dist/builtins/loki-logging/loki-payload.d.ts +100 -0
- package/system/dist/builtins/loki-logging/loki-read.d.ts +51 -0
- package/system/dist/builtins/loki-logging/retire-enabled-flag.d.ts +48 -0
- package/system/dist/builtins/native-metrics/cgroup-memory.d.ts +240 -0
- package/system/dist/builtins/native-metrics/cgroup-pids.d.ts +159 -0
- package/system/dist/builtins/native-metrics/container-memory-ring.d.ts +18 -0
- package/system/dist/builtins/native-metrics/darwin-memory.d.ts +26 -0
- package/system/dist/builtins/native-metrics/gpu-probe.d.ts +18 -0
- package/system/dist/builtins/native-metrics/index.d.ts +2 -0
- package/system/dist/builtins/native-metrics/load-series-config.d.ts +83 -0
- package/system/dist/builtins/native-metrics/load-series-reader.d.ts +63 -0
- package/system/dist/builtins/native-metrics/load-series-types.d.ts +14 -0
- package/system/dist/builtins/native-metrics/native-metrics-provider.d.ts +49 -0
- package/system/dist/builtins/native-metrics/native-metrics.addon.d.ts +233 -0
- package/system/dist/builtins/native-metrics/native-metrics.addon.js +3116 -0
- package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +3106 -0
- package/system/dist/builtins/native-metrics/node-load-ring.d.ts +212 -0
- package/system/dist/builtins/native-metrics/node-metrics-history-recorder.d.ts +155 -0
- package/system/dist/builtins/native-metrics/proc-process-table.d.ts +25 -0
- package/system/dist/builtins/native-metrics/process-classification.d.ts +110 -0
- package/system/dist/builtins/native-metrics/thread-cpu-sampler.d.ts +116 -0
- package/system/dist/builtins/platform-probe/accelerator-facts-probe.d.ts +24 -0
- package/system/dist/builtins/platform-probe/accelerator-reprobe.d.ts +23 -0
- package/system/dist/builtins/platform-probe/amd-accelerators.d.ts +15 -0
- package/system/dist/builtins/platform-probe/amd-npu.d.ts +35 -0
- package/system/dist/builtins/platform-probe/coral-accelerators.d.ts +87 -0
- package/system/dist/builtins/platform-probe/index.d.ts +57 -0
- package/system/dist/builtins/platform-probe/index.js +1151 -0
- package/system/dist/builtins/platform-probe/index.mjs +1140 -0
- package/system/dist/builtins/platform-probe/inference-config-resolver.d.ts +29 -0
- package/system/dist/builtins/platform-probe/intel-accelerators.d.ts +14 -0
- package/system/dist/builtins/platform-probe/intel-npu.d.ts +38 -0
- package/system/dist/builtins/platform-probe/platform-scorer.d.ts +66 -0
- package/system/dist/builtins/platform-probe/runtime-packages.d.ts +6 -0
- package/system/dist/builtins/platform-probe/windows-hardware.d.ts +77 -0
- package/system/dist/builtins/record-entries/entries-service.d.ts +42 -0
- package/system/dist/builtins/record-entries/index.d.ts +1 -0
- package/system/dist/builtins/record-entries/index.js +162 -0
- package/system/dist/builtins/record-entries/index.mjs +156 -0
- package/system/dist/builtins/record-entries/record-entries.addon.d.ts +13 -0
- package/system/dist/builtins/records-isolated.d.ts +10 -0
- package/system/dist/builtins/remote-access-orchestrator/enabled-providers-reconcile.d.ts +96 -0
- package/system/dist/builtins/remote-access-orchestrator/index.d.ts +1 -0
- package/system/dist/builtins/remote-access-orchestrator/index.js +8 -0
- package/system/dist/builtins/remote-access-orchestrator/index.mjs +2 -0
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.d.ts +71 -0
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +214 -0
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +208 -0
- package/system/dist/builtins/shared/device-state-changed.d.ts +16 -0
- package/system/dist/builtins/shared/settle-sources.d.ts +22 -0
- package/system/dist/builtins/snapshot/index.d.ts +2 -0
- package/system/dist/builtins/snapshot/index.js +2720 -0
- package/system/dist/builtins/snapshot/index.mjs +2713 -0
- package/system/dist/builtins/snapshot/snapshot-cache.d.ts +108 -0
- package/system/dist/builtins/snapshot/snapshot-coalescing.d.ts +135 -0
- package/system/dist/builtins/snapshot/snapshot-courtesy.d.ts +68 -0
- package/system/dist/builtins/snapshot/snapshot-durable-store.d.ts +36 -0
- package/system/dist/builtins/snapshot/snapshot-fatigue.d.ts +41 -0
- package/system/dist/builtins/snapshot/snapshot-grab-pick.d.ts +20 -0
- package/system/dist/builtins/snapshot/snapshot-link-url.d.ts +66 -0
- package/system/dist/builtins/snapshot/snapshot-media-handler.d.ts +121 -0
- package/system/dist/builtins/snapshot/snapshot-resize.d.ts +75 -0
- package/system/dist/builtins/snapshot/snapshot.addon.d.ts +581 -0
- package/system/dist/builtins/sqlite-storage/analyze-stats.d.ts +83 -0
- package/system/dist/builtins/sqlite-storage/config-store.d.ts +8 -0
- package/system/dist/builtins/sqlite-storage/database-snapshot-provider.d.ts +18 -0
- package/system/dist/builtins/sqlite-storage/device-store.d.ts +23 -0
- package/system/dist/builtins/sqlite-storage/file-host-client.d.ts +75 -0
- package/system/dist/builtins/sqlite-storage/file-host-handlers.d.ts +27 -0
- package/system/dist/builtins/sqlite-storage/file-host-protocol.d.ts +167 -0
- package/system/dist/builtins/sqlite-storage/file-host-worker.d.ts +1 -0
- package/system/dist/builtins/sqlite-storage/filesystem-browse-provider.d.ts +25 -0
- package/system/dist/builtins/sqlite-storage/filesystem-storage-provider.d.ts +83 -0
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.d.ts +33 -0
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +419 -0
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +411 -0
- package/system/dist/builtins/sqlite-storage/filter-compiler.d.ts +126 -0
- package/system/dist/builtins/sqlite-storage/index.d.ts +12 -0
- package/system/dist/builtins/sqlite-storage/index.js +82 -0
- package/system/dist/builtins/sqlite-storage/index.mjs +50 -0
- package/system/dist/builtins/sqlite-storage/integration-record-kinds.d.ts +31 -0
- package/system/dist/builtins/sqlite-storage/integration-registry.d.ts +34 -0
- package/system/dist/builtins/sqlite-storage/migrations/migration-actions.d.ts +12 -0
- package/system/dist/builtins/sqlite-storage/migrations/migration-edits.d.ts +35 -0
- package/system/dist/builtins/sqlite-storage/migrations/migration-engine.d.ts +125 -0
- package/system/dist/builtins/sqlite-storage/migrations/migration-hold.d.ts +23 -0
- package/system/dist/builtins/sqlite-storage/migrations/migration-pass.d.ts +48 -0
- package/system/dist/builtins/sqlite-storage/migrations/migration-restore-marker.d.ts +3 -0
- package/system/dist/builtins/sqlite-storage/migrations/migration-types.d.ts +151 -0
- package/system/dist/builtins/sqlite-storage/migrations/migrations-provider.d.ts +61 -0
- package/system/dist/builtins/sqlite-storage/owned-sqlite-file.d.ts +173 -0
- package/system/dist/builtins/sqlite-storage/path-guard.d.ts +11 -0
- package/system/dist/builtins/sqlite-storage/placement-errors.d.ts +60 -0
- package/system/dist/builtins/sqlite-storage/placement-router.d.ts +85 -0
- package/system/dist/builtins/sqlite-storage/prefix-range.d.ts +50 -0
- package/system/dist/builtins/sqlite-storage/query-bounds.d.ts +110 -0
- package/system/dist/builtins/sqlite-storage/query-profiler.d.ts +242 -0
- package/system/dist/builtins/sqlite-storage/records/records-catalog.d.ts +27 -0
- package/system/dist/builtins/sqlite-storage/records/records-engine-types.d.ts +48 -0
- package/system/dist/builtins/sqlite-storage/records/records-engine.d.ts +115 -0
- package/system/dist/builtins/sqlite-storage/records/records-explain.d.ts +18 -0
- package/system/dist/builtins/sqlite-storage/records/records-plan.d.ts +95 -0
- package/system/dist/builtins/sqlite-storage/records/records-probe.d.ts +33 -0
- package/system/dist/builtins/sqlite-storage/records/records-provider.d.ts +72 -0
- package/system/dist/builtins/sqlite-storage/records/records-rows.d.ts +46 -0
- package/system/dist/builtins/sqlite-storage/records/records-sql.d.ts +39 -0
- package/system/dist/builtins/sqlite-storage/retired-settings-keys.d.ts +276 -0
- package/system/dist/builtins/sqlite-storage/shm-lock-canary.d.ts +60 -0
- package/system/dist/builtins/sqlite-storage/sqlite-pragmas.d.ts +191 -0
- package/system/dist/builtins/sqlite-storage/sqlite-settings-backend.d.ts +583 -0
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.d.ts +52 -0
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +2960 -0
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +2952 -0
- package/system/dist/builtins/sqlite-storage/sqlite-snapshot-protocol.d.ts +54 -0
- package/system/dist/builtins/sqlite-storage/sqlite-snapshot-worker.d.ts +33 -0
- package/system/dist/builtins/sqlite-storage/sqlite-snapshotter.d.ts +118 -0
- package/system/dist/builtins/sqlite-storage/stale-data/stale-data-audit.d.ts +81 -0
- package/system/dist/builtins/sqlite-storage/stale-data/stale-data-ports.d.ts +17 -0
- package/system/dist/builtins/sqlite-storage/statement-shape.d.ts +64 -0
- package/system/dist/builtins/sqlite-storage/storage-admin-provider.d.ts +33 -0
- package/system/dist/builtins/sqlite-storage/table-sizes.d.ts +95 -0
- package/system/dist/builtins/sqlite-storage/vector-index-shared.d.ts +81 -0
- package/system/dist/builtins/sqlite-storage/vector-index-vec.d.ts +143 -0
- package/system/dist/builtins/sqlite-storage/vector-provider.d.ts +30 -0
- package/system/dist/builtins/sqlite-storage/wal-checkpoint-policy.d.ts +196 -0
- package/system/dist/builtins/sqlite-storage/wal-checkpoint-worker.d.ts +1 -0
- package/system/dist/builtins/sqlite-storage/wal-checkpointer.d.ts +76 -0
- package/system/dist/builtins/sqlite-storage/wal-maintenance.d.ts +130 -0
- package/system/dist/builtins/storage-orchestrator/access-guards.d.ts +43 -0
- package/system/dist/builtins/storage-orchestrator/data-store-dispatch.d.ts +39 -0
- package/system/dist/builtins/storage-orchestrator/drain-ratchet.d.ts +104 -0
- package/system/dist/builtins/storage-orchestrator/drain-state-store.d.ts +26 -0
- package/system/dist/builtins/storage-orchestrator/hub-settings-forward.d.ts +128 -0
- package/system/dist/builtins/storage-orchestrator/index.d.ts +7 -0
- package/system/dist/builtins/storage-orchestrator/index.js +11 -0
- package/system/dist/builtins/storage-orchestrator/index.mjs +2 -0
- package/system/dist/builtins/storage-orchestrator/location-class-paths.d.ts +13 -0
- package/system/dist/builtins/storage-orchestrator/location-history-recorder.d.ts +76 -0
- package/system/dist/builtins/storage-orchestrator/location-occupancy-slice.d.ts +71 -0
- package/system/dist/builtins/storage-orchestrator/location-occupancy.d.ts +19 -0
- package/system/dist/builtins/storage-orchestrator/location-protection.d.ts +20 -0
- package/system/dist/builtins/storage-orchestrator/location-repoint-move.d.ts +57 -0
- package/system/dist/builtins/storage-orchestrator/location-repointer.d.ts +97 -0
- package/system/dist/builtins/storage-orchestrator/location-root-collision.d.ts +80 -0
- package/system/dist/builtins/storage-orchestrator/location-secrets.d.ts +114 -0
- package/system/dist/builtins/storage-orchestrator/location-store.d.ts +82 -0
- package/system/dist/builtins/storage-orchestrator/location-volume-capacity.d.ts +58 -0
- package/system/dist/builtins/storage-orchestrator/provider-discovery.d.ts +24 -0
- package/system/dist/builtins/storage-orchestrator/record-kinds.d.ts +43 -0
- package/system/dist/builtins/storage-orchestrator/storage-cleanup-coordinator.d.ts +68 -0
- package/system/dist/builtins/storage-orchestrator/storage-location-band-monitor.d.ts +77 -0
- package/system/dist/builtins/storage-orchestrator/storage-migration-coordinator.d.ts +241 -0
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.d.ts +318 -0
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +5280 -0
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +5264 -0
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.service.d.ts +475 -0
- package/system/dist/builtins/storage-orchestrator/storage-pressure-manager.d.ts +115 -0
- package/system/dist/builtins/system-backup/backup-encryption.d.ts +94 -0
- package/system/dist/builtins/system-backup/system-backup.service.d.ts +308 -0
- package/system/dist/builtins/system-config/index.d.ts +2 -0
- package/system/dist/builtins/system-config/index.js +10 -0
- package/system/dist/builtins/system-config/index.mjs +2 -0
- package/system/dist/builtins/system-config/mesh-actions.d.ts +3 -0
- package/system/dist/builtins/system-config/record-kinds.d.ts +32 -0
- package/system/dist/builtins/system-config/system-config.addon.d.ts +56 -0
- package/system/dist/builtins/system-config/system-config.addon.js +89334 -0
- package/system/dist/builtins/system-config/system-config.addon.mjs +89233 -0
- package/system/dist/builtins/winston-logging/index.d.ts +3 -0
- package/system/dist/builtins/winston-logging/index.js +324 -0
- package/system/dist/builtins/winston-logging/index.mjs +313 -0
- package/system/dist/builtins/winston-logging/log-file-cursor.d.ts +12 -0
- package/system/dist/builtins/winston-logging/log-file-index-store.d.ts +11 -0
- package/system/dist/builtins/winston-logging/log-file-index.d.ts +77 -0
- package/system/dist/builtins/winston-logging/log-file-read-client.d.ts +44 -0
- package/system/dist/builtins/winston-logging/log-file-read-protocol.d.ts +41 -0
- package/system/dist/builtins/winston-logging/log-file-read-worker.d.ts +1 -0
- package/system/dist/builtins/winston-logging/log-file-reader.d.ts +51 -0
- package/system/dist/builtins/winston-logging/winston-destination.d.ts +39 -0
- package/system/dist/builtins/winston-logging/winston-logging.addon.d.ts +20 -0
- package/system/dist/chunk-CNf5ZN-e.mjs +37 -0
- package/system/dist/chunk-Cek0wNdY.js +64 -0
- package/system/dist/composition-sources-C14epb_m.js +155 -0
- package/system/dist/composition-sources-EXNuxmGQ.mjs +132 -0
- package/system/dist/constants-DIGWBiNC.mjs +20 -0
- package/system/dist/constants-M7NtSiRo.js +66 -0
- package/system/dist/coral-accelerators-BSVsBVzt.js +250 -0
- package/system/dist/coral-accelerators-DBlgWB8k.mjs +231 -0
- package/system/dist/custom-action-registry-JuMHGKEc.js +1638 -0
- package/system/dist/custom-action-registry-oHl1xltx.mjs +1482 -0
- package/system/dist/device-ca-3vmBP1i0.js +474 -0
- package/system/dist/device-ca-DZlvNBWU.mjs +367 -0
- package/system/dist/dist-DcMqHB_N.mjs +108095 -0
- package/system/dist/dist-M9yHiIY7.js +110554 -0
- package/system/dist/download/hosted-model-revisions.d.ts +10 -0
- package/system/dist/download/model-download-service.d.ts +35 -0
- package/system/dist/download/model-downloader.d.ts +156 -0
- package/system/dist/events/event-bus.d.ts +10 -0
- package/system/dist/events/system-event-bus.d.ts +14 -0
- package/system/dist/feature/feature-manager.d.ts +11 -0
- package/system/dist/file-host-worker.js +160 -0
- package/system/dist/file-host-worker.mjs +160 -0
- package/system/dist/formatter-DkYZ4LXp.mjs +162 -0
- package/system/dist/formatter-xbxeV4GD.js +167 -0
- package/system/dist/framework-resolver-hook.mjs +49 -0
- package/system/dist/http/asset-compression.d.ts +55 -0
- package/system/dist/http/authenticated-file-server.d.ts +53 -0
- package/system/dist/http/data-plane-registry.d.ts +58 -0
- package/system/dist/http/file-data-plane.d.ts +18 -0
- package/system/dist/http/lan-http-bind.d.ts +41 -0
- package/system/dist/http/reverse-proxy.d.ts +42 -0
- package/system/dist/hub-mdns-ciao-CpCKuQnK.js +1163 -0
- package/system/dist/hub-mdns-ciao-Czz2ssit.mjs +942 -0
- package/system/dist/i18n/catalog-registry.d.ts +35 -0
- package/system/dist/i18n/index.d.ts +2 -0
- package/system/dist/index.d.ts +156 -0
- package/system/dist/index.js +28736 -0
- package/system/dist/index.mjs +28065 -0
- package/system/dist/intel-accelerators-BvBjZn4j.js +16 -0
- package/system/dist/intel-accelerators-idEumqk1.mjs +15 -0
- package/system/dist/intel-npu-C8HKvRQF.mjs +27 -0
- package/system/dist/intel-npu-DYF5hO5K.js +28 -0
- package/system/dist/kernel/addon-class-resolver.d.ts +4 -0
- package/system/dist/kernel/addon-engine-manager.d.ts +22 -0
- package/system/dist/kernel/addon-health-monitor.d.ts +163 -0
- package/system/dist/kernel/addon-installer.d.ts +651 -0
- package/system/dist/kernel/addon-loader.d.ts +144 -0
- package/system/dist/kernel/addon-manifest.d.ts +128 -0
- package/system/dist/kernel/addon-refused-error.d.ts +30 -0
- package/system/dist/kernel/addon-residue.d.ts +45 -0
- package/system/dist/kernel/addon-settings-store.d.ts +43 -0
- package/system/dist/kernel/addon-version-policy.d.ts +34 -0
- package/system/dist/kernel/anon-rss.d.ts +12 -0
- package/system/dist/kernel/array-buffer-census.d.ts +118 -0
- package/system/dist/kernel/bootstrap-config.d.ts +7 -0
- package/system/dist/kernel/cap-router-builder.d.ts +180 -0
- package/system/dist/kernel/capability-handle.d.ts +46 -0
- package/system/dist/kernel/capability-registry.d.ts +621 -0
- package/system/dist/kernel/config-manager.d.ts +174 -0
- package/system/dist/kernel/config-schema.d.ts +37 -0
- package/system/dist/kernel/custom-action-registry.d.ts +32 -0
- package/system/dist/kernel/deps/addon-deps-manager.d.ts +28 -0
- package/system/dist/kernel/deps/closure-dedupe.d.ts +105 -0
- package/system/dist/kernel/deps/ensure-addon-natives.d.ts +41 -0
- package/system/dist/kernel/deps/ensure-native-prebuilds.d.ts +40 -0
- package/system/dist/kernel/deps/manifest-native-deps.d.ts +42 -0
- package/system/dist/kernel/deps/manifest-python-deps.d.ts +20 -0
- package/system/dist/kernel/deps/manifest-system-deps.d.ts +18 -0
- package/system/dist/kernel/deps/npm-command.d.ts +60 -0
- package/system/dist/kernel/deps/system-package-allowlist.d.ts +12 -0
- package/system/dist/kernel/deps/system-package-broker.d.ts +31 -0
- package/system/dist/kernel/deps/system-package-client.d.ts +9 -0
- package/system/dist/kernel/device-call-redirect.d.ts +18 -0
- package/system/dist/kernel/device-registry.d.ts +29 -0
- package/system/dist/kernel/device-settings-store.d.ts +74 -0
- package/system/dist/kernel/event-loop-stall-monitor.d.ts +41 -0
- package/system/dist/kernel/event-plane-report.d.ts +225 -0
- package/system/dist/kernel/fs-utils.d.ts +88 -0
- package/system/dist/kernel/gc-census.d.ts +161 -0
- package/system/dist/kernel/heap-spaces.d.ts +112 -0
- package/system/dist/kernel/heap-watch.d.ts +816 -0
- package/system/dist/kernel/host-externals.d.ts +12 -0
- package/system/dist/kernel/hwaccel/hwaccel-resolver.d.ts +56 -0
- package/system/dist/kernel/hwaccel/vaapi-init-probe.d.ts +29 -0
- package/system/dist/kernel/index.d.ts +116 -0
- package/system/dist/kernel/inference/inference-resolver.d.ts +22 -0
- package/system/dist/kernel/inference/local-python-runtimes.d.ts +2 -0
- package/system/dist/kernel/infra-capabilities.d.ts +13 -0
- package/system/dist/kernel/isolated-builtin-phase.d.ts +57 -0
- package/system/dist/kernel/lifecycle/job-journal.d.ts +19 -0
- package/system/dist/kernel/lifecycle/lifecycle-job-engine.d.ts +106 -0
- package/system/dist/kernel/lifecycle/staging-area.d.ts +31 -0
- package/system/dist/kernel/moleculer/accessory-prune-gate.d.ts +55 -0
- package/system/dist/kernel/moleculer/addon-context-factory.d.ts +104 -0
- package/system/dist/kernel/moleculer/addon-data-plane-facility.d.ts +19 -0
- package/system/dist/kernel/moleculer/addon-deploy-source.d.ts +16 -0
- package/system/dist/kernel/moleculer/addon-peer-bytes-facility.d.ts +25 -0
- package/system/dist/kernel/moleculer/addon-runner.d.ts +1 -0
- package/system/dist/kernel/moleculer/addon-service-factory.d.ts +50 -0
- package/system/dist/kernel/moleculer/agent-event-scope.d.ts +49 -0
- package/system/dist/kernel/moleculer/agent-ui-unlock.d.ts +67 -0
- package/system/dist/kernel/moleculer/broker-factory.d.ts +95 -0
- package/system/dist/kernel/moleculer/broker-transport-swap.d.ts +60 -0
- package/system/dist/kernel/moleculer/cap-usage-registry.d.ts +126 -0
- package/system/dist/kernel/moleculer/capabilities-access.d.ts +21 -0
- package/system/dist/kernel/moleculer/child-addon-call-dispatch.d.ts +53 -0
- package/system/dist/kernel/moleculer/child-cap-descriptors.d.ts +34 -0
- package/system/dist/kernel/moleculer/child-cap-dispatch.d.ts +59 -0
- package/system/dist/kernel/moleculer/children-batch-loader.d.ts +98 -0
- package/system/dist/kernel/moleculer/core-cap-service.d.ts +65 -0
- package/system/dist/kernel/moleculer/crash-supervisor.d.ts +50 -0
- package/system/dist/kernel/moleculer/device-cap-proxy.d.ts +70 -0
- package/system/dist/kernel/moleculer/device-event-ring.d.ts +155 -0
- package/system/dist/kernel/moleculer/event-bus-core.d.ts +198 -0
- package/system/dist/kernel/moleculer/event-bus.d.ts +106 -0
- package/system/dist/kernel/moleculer/hub-log-forwarder.d.ts +36 -0
- package/system/dist/kernel/moleculer/hub-service.d.ts +39 -0
- package/system/dist/kernel/moleculer/init-watchdog.d.ts +60 -0
- package/system/dist/kernel/moleculer/mesh-access-middleware.d.ts +42 -0
- package/system/dist/kernel/moleculer/mesh-identity.d.ts +57 -0
- package/system/dist/kernel/moleculer/mesh-mtls/constants.d.ts +17 -0
- package/system/dist/kernel/moleculer/mesh-mtls/index.d.ts +12 -0
- package/system/dist/kernel/moleculer/mesh-mtls/mesh-ca-keeper.d.ts +60 -0
- package/system/dist/kernel/moleculer/mesh-mtls/mesh-ca.d.ts +49 -0
- package/system/dist/kernel/moleculer/mesh-mtls/mesh-certificate-registry.d.ts +105 -0
- package/system/dist/kernel/moleculer/mesh-mtls/mesh-crl.d.ts +16 -0
- package/system/dist/kernel/moleculer/mesh-mtls/mesh-membership.d.ts +64 -0
- package/system/dist/kernel/moleculer/mesh-mtls/mesh-peer-transport.d.ts +47 -0
- package/system/dist/kernel/moleculer/mesh-mtls/mesh-renewal.d.ts +135 -0
- package/system/dist/kernel/moleculer/mesh-mtls/mesh-tls-enabler.d.ts +9 -0
- package/system/dist/kernel/moleculer/mesh-mtls/mesh-tls-gate.d.ts +40 -0
- package/system/dist/kernel/moleculer/mesh-mtls/pairing/agent-pairing.d.ts +214 -0
- package/system/dist/kernel/moleculer/mesh-mtls/pairing/hub-pairing.d.ts +115 -0
- package/system/dist/kernel/moleculer/mesh-mtls/pairing/index.d.ts +3 -0
- package/system/dist/kernel/moleculer/mesh-mtls/pairing/pairing-protocol.d.ts +107 -0
- package/system/dist/kernel/moleculer/mesh-mtls/tls-tcp-transporter.d.ts +242 -0
- package/system/dist/kernel/moleculer/mesh-queue-report.d.ts +51 -0
- package/system/dist/kernel/moleculer/node-registry.d.ts +146 -0
- package/system/dist/kernel/moleculer/process-context.d.ts +4 -0
- package/system/dist/kernel/moleculer/process-service.d.ts +92 -0
- package/system/dist/kernel/moleculer/provider-registry.d.ts +28 -0
- package/system/dist/kernel/moleculer/readiness-context.d.ts +67 -0
- package/system/dist/kernel/moleculer/readiness-service.d.ts +37 -0
- package/system/dist/kernel/moleculer/records-api-transport.d.ts +9 -0
- package/system/dist/kernel/moleculer/register-framework-resolver.d.ts +8 -0
- package/system/dist/kernel/moleculer/register-node-client.d.ts +49 -0
- package/system/dist/kernel/moleculer/remote-logger.d.ts +43 -0
- package/system/dist/kernel/moleculer/resilient-cap-call.d.ts +28 -0
- package/system/dist/kernel/moleculer/runner-addon-settings.d.ts +29 -0
- package/system/dist/kernel/moleculer/runner-device-settings.d.ts +39 -0
- package/system/dist/kernel/moleculer/runner-heap-flags.d.ts +228 -0
- package/system/dist/kernel/moleculer/runner-native-allocator.d.ts +107 -0
- package/system/dist/kernel/moleculer/runner-process-group.d.ts +96 -0
- package/system/dist/kernel/moleculer/runner-refusal.d.ts +27 -0
- package/system/dist/kernel/moleculer/runtime-state-load.d.ts +29 -0
- package/system/dist/kernel/moleculer/settings-read-guard.d.ts +49 -0
- package/system/dist/kernel/moleculer/stream-probe-service.d.ts +28 -0
- package/system/dist/kernel/moleculer/trpc-links.d.ts +244 -0
- package/system/dist/kernel/moleculer/typed-array-serde.d.ts +14 -0
- package/system/dist/kernel/moleculer/worker-device-restore.d.ts +10 -0
- package/system/dist/kernel/outbound-queue-watch.d.ts +94 -0
- package/system/dist/kernel/prefix-walk.d.ts +39 -0
- package/system/dist/kernel/process-cpu-census.d.ts +74 -0
- package/system/dist/kernel/provider-kind-drift.d.ts +21 -0
- package/system/dist/kernel/restart-coordinator.d.ts +90 -0
- package/system/dist/kernel/sections-store.d.ts +20 -0
- package/system/dist/kernel/settings-door-view.d.ts +41 -0
- package/system/dist/kernel/settings-read-error.d.ts +35 -0
- package/system/dist/kernel/settings-view-types.d.ts +80 -0
- package/system/dist/kernel/socket-plane-report.d.ts +268 -0
- package/system/dist/kernel/status-overlay.d.ts +38 -0
- package/system/dist/kernel/storage-location-registry.d.ts +55 -0
- package/system/dist/kernel/store-settings-view.d.ts +14 -0
- package/system/dist/kernel/system-settings-mirror.d.ts +46 -0
- package/system/dist/kernel/system-settings-policy.d.ts +28 -0
- package/system/dist/kernel/transport/cap-action-census.d.ts +218 -0
- package/system/dist/kernel/transport/cap-action-name.d.ts +100 -0
- package/system/dist/kernel/transport/cap-child-index.d.ts +49 -0
- package/system/dist/kernel/transport/cap-route-resolver.d.ts +231 -0
- package/system/dist/kernel/transport/cap-route.d.ts +168 -0
- package/system/dist/kernel/transport/cap-routing-hints.d.ts +42 -0
- package/system/dist/kernel/transport/child-cap-protocol.d.ts +307 -0
- package/system/dist/kernel/transport/claimed-get-status.d.ts +39 -0
- package/system/dist/kernel/transport/create-local-transport.d.ts +7 -0
- package/system/dist/kernel/transport/device-call-redirect.d.ts +39 -0
- package/system/dist/kernel/transport/frame-codec.d.ts +122 -0
- package/system/dist/kernel/transport/hub-cap-forward.d.ts +96 -0
- package/system/dist/kernel/transport/index.d.ts +38 -0
- package/system/dist/kernel/transport/local-child-client.d.ts +199 -0
- package/system/dist/kernel/transport/local-child-registry.d.ts +654 -0
- package/system/dist/kernel/transport/local-endpoint-path.d.ts +6 -0
- package/system/dist/kernel/transport/local-transport.d.ts +122 -0
- package/system/dist/kernel/transport/parent-unowned-call.d.ts +283 -0
- package/system/dist/kernel/transport/peer-answered-error.d.ts +21 -0
- package/system/dist/kernel/transport/socket-channel.d.ts +116 -0
- package/system/dist/kernel/transport/socket-traffic.d.ts +118 -0
- package/system/dist/kernel/transport/uds-event-bridge.d.ts +85 -0
- package/system/dist/kernel/transport/uds-event-bus.d.ts +93 -0
- package/system/dist/kernel/transport/uds-local-transport.d.ts +18 -0
- package/system/dist/kernel/transport/uds-log-ingest.d.ts +43 -0
- package/system/dist/kernel/transport/uds-logger.d.ts +44 -0
- package/system/dist/kernel/utils/ring-buffer.d.ts +15 -0
- package/system/dist/kernel/workspace-detect.d.ts +9 -0
- package/system/dist/lib-5THG9eKz.mjs +15545 -0
- package/system/dist/lib-C3U1yluo.js +7110 -0
- package/system/dist/lib-CZ3g2WTS.js +15549 -0
- package/system/dist/lib-DFZblCIu.mjs +7106 -0
- package/system/dist/lifecycle/lifecycle-state-machine.d.ts +28 -0
- package/system/dist/log-file-read-protocol-B7M3X3bT.mjs +785 -0
- package/system/dist/log-file-read-protocol-D0WcLbIV.js +817 -0
- package/system/dist/log-file-read-worker.js +64 -0
- package/system/dist/log-file-read-worker.mjs +64 -0
- package/system/dist/log-read-filter-Bi066jwU.js +134 -0
- package/system/dist/log-read-filter-D7Ev3zm-.mjs +93 -0
- package/system/dist/logging/formatter.d.ts +57 -0
- package/system/dist/logging/log-manager.d.ts +145 -0
- package/system/dist/logging/log-read-filter.d.ts +43 -0
- package/system/dist/logging/log-redactor.d.ts +30 -0
- package/system/dist/logging/log-ring-buffer.d.ts +62 -0
- package/system/dist/logging/logging-gate.d.ts +76 -0
- package/system/dist/logging/logging-gate.singleton.d.ts +16 -0
- package/system/dist/logging/partitioned-log-buffer.d.ts +169 -0
- package/system/dist/logging/scoped-logger.d.ts +17 -0
- package/system/dist/migrations/hub/index.d.ts +11 -0
- package/system/dist/ms-CgH2OFlD.mjs +120 -0
- package/system/dist/ms-LB3giGoU.js +124 -0
- package/system/dist/network/network-quality.d.ts +11 -0
- package/system/dist/notification/notification-service.d.ts +43 -0
- package/system/dist/notification/toast-service.d.ts +22 -0
- package/system/dist/pipeline/engine-manager-resolver.d.ts +15 -0
- package/system/dist/pipeline/pipeline-runner.d.ts +8 -0
- package/system/dist/pipeline/pipeline-validator.d.ts +13 -0
- package/system/dist/platform-key-source-BWlq0jjn.mjs +23 -0
- package/system/dist/platform-key-source-Di7HrlGR.js +40 -0
- package/system/dist/prefix-range-D_KueXbQ.js +27 -0
- package/system/dist/prefix-range-Dl0znowN.mjs +22 -0
- package/system/dist/prefix-walk-DAOBSyH1.mjs +88 -0
- package/system/dist/prefix-walk-Dv6MLZlM.js +99 -0
- package/system/dist/process/proc-stat.d.ts +75 -0
- package/system/dist/process/resource-monitor.d.ts +28 -0
- package/system/dist/python/python-env-manager.d.ts +12 -0
- package/system/dist/read-all-rows-CVoO1ONM.js +29 -0
- package/system/dist/read-all-rows-TaPqdWNF.mjs +25 -0
- package/system/dist/records/read-all-rows.d.ts +6 -0
- package/system/dist/repl/interfaces.d.ts +31 -0
- package/system/dist/repl/repl-engine.d.ts +8 -0
- package/system/dist/resource-monitor-Di9daRwI.mjs +96 -0
- package/system/dist/resource-monitor-mio9dSCT.js +113 -0
- package/system/dist/restore-archive-Cy7jGqiD.js +4325 -0
- package/system/dist/restore-archive-DS4nvQ43.mjs +4213 -0
- package/system/dist/retention-Dqm_EiVq.mjs +893 -0
- package/system/dist/retention-Ufa2fci-.js +1024 -0
- package/system/dist/retired-settings-keys-C8nOOr5H.js +381 -0
- package/system/dist/retired-settings-keys-u6xQA6r7.mjs +364 -0
- package/system/dist/safe-buffer-B1OjL1I9.mjs +42 -0
- package/system/dist/safe-buffer-D3aoa-7X.js +46 -0
- package/system/dist/settle-sources-Bhsy57y-.js +38 -0
- package/system/dist/settle-sources-CDtNC8ub.mjs +33 -0
- package/system/dist/snapshot-courtesy-CyFs1M3I.mjs +167 -0
- package/system/dist/snapshot-courtesy-D_C5-nC0.js +192 -0
- package/system/dist/sqlite-snapshot-protocol-2QaTouWV.mjs +34 -0
- package/system/dist/sqlite-snapshot-protocol-B9OndqZv.js +51 -0
- package/system/dist/sqlite-snapshot-worker.js +185 -0
- package/system/dist/sqlite-snapshot-worker.mjs +179 -0
- package/system/dist/src-CnAqG6EF.js +714 -0
- package/system/dist/src-hG4grMU4.mjs +709 -0
- package/system/dist/storage/fs-storage-backend.d.ts +40 -0
- package/system/dist/storage/storage-location-manager.d.ts +23 -0
- package/system/dist/storage/storage-manager.d.ts +83 -0
- package/system/dist/tls/agent-https-names.d.ts +25 -0
- package/system/dist/tls/agent-https.d.ts +111 -0
- package/system/dist/tls/boot-tls.d.ts +35 -0
- package/system/dist/tls/cert-backdate.d.ts +10 -0
- package/system/dist/tls/cert-evaluation.d.ts +41 -0
- package/system/dist/tls/cert-identity.d.ts +60 -0
- package/system/dist/tls/cert-issue.d.ts +57 -0
- package/system/dist/tls/cert-manager.d.ts +124 -0
- package/system/dist/tls/cert-name-constraints.d.ts +53 -0
- package/system/dist/tls/cert-utc-time.d.ts +1 -0
- package/system/dist/tls/https-listener.d.ts +30 -0
- package/system/dist/tls/index.d.ts +12 -0
- package/system/dist/tls/tls-actions.d.ts +49 -0
- package/system/dist/tls/tls-status.d.ts +57 -0
- package/system/dist/tls/uploaded-cert.d.ts +46 -0
- package/system/dist/wal-checkpoint-policy-BahrTtyD.mjs +186 -0
- package/system/dist/wal-checkpoint-policy-d2z2qPqx.js +233 -0
- package/system/dist/wal-checkpoint-worker.js +144 -0
- package/system/dist/wal-checkpoint-worker.mjs +143 -0
- package/system/dist/wal-maintenance-BmugbgS7.js +0 -0
- package/system/dist/wal-maintenance-Bnb2QzYG.mjs +0 -0
- package/system/dist/x509.es-BRiJgOvu.mjs +11939 -0
- package/system/dist/x509.es-WtnRNyYS.js +12076 -0
- package/system/package.json +516 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Operator-facing device label for alert messages.
|
|
3
|
+
*
|
|
4
|
+
* Prefer a real name; fall back to `Camera <id>` only when nothing else is
|
|
5
|
+
* known. Never prefer the bare id when a name is present — "Camera 108"
|
|
6
|
+
* next to a named "Kitchen" is how the Recording-stopped alerts used to read.
|
|
7
|
+
*/
|
|
8
|
+
export declare function deviceLabelFromEventData(data: Readonly<Record<string, unknown>>): string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Alert } from "@camstack/types";
|
|
2
|
+
export declare function episodeKeyFromMetadata(metadata: Record<string, unknown> | undefined): string | undefined;
|
|
3
|
+
export interface EmitMergeInput {
|
|
4
|
+
readonly existing: {
|
|
5
|
+
readonly read?: boolean;
|
|
6
|
+
readonly episodeKey?: string;
|
|
7
|
+
readonly status?: string;
|
|
8
|
+
} | null;
|
|
9
|
+
readonly incoming: Alert;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Re-emit of the same alert id: preserve `read` when the episode is unchanged
|
|
13
|
+
* and still active. A completed episode starts again.
|
|
14
|
+
*/
|
|
15
|
+
export declare function mergeEmitAlert(input: EmitMergeInput): Alert;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AlertCenterAddon } from "./alerts.addon.js";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Alert Center's view of the migration ledger (D987): a pure planner.
|
|
3
|
+
* The ledger is the authority; an event is only a hint that it changed (D11).
|
|
4
|
+
* Each faulted id is one card under a stable id, so a retry that fixes it
|
|
5
|
+
* dismisses exactly that card and a repeated reconcile never duplicates it.
|
|
6
|
+
*/
|
|
7
|
+
import type { Alert, MigrationLedgerEntry } from "@camstack/types";
|
|
8
|
+
export declare const MIGRATION_ALERT_PREFIX = "migration:";
|
|
9
|
+
export interface MigrationAlertPlan {
|
|
10
|
+
readonly raise: readonly Alert[];
|
|
11
|
+
readonly dismiss: readonly string[];
|
|
12
|
+
}
|
|
13
|
+
export declare function planMigrationAlerts(ledger: readonly MigrationLedgerEntry[], open: readonly Pick<Alert, "id" | "status">[], now: number): MigrationAlertPlan;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* prune-policy — which alerts get deleted, as a pure decision.
|
|
3
|
+
*
|
|
4
|
+
* ## The bug this exists to prevent
|
|
5
|
+
*
|
|
6
|
+
* Both prune paths filtered `where: { read: true }`. On a live hub every one of
|
|
7
|
+
* 2,288 rows was UNREAD, so neither path had ever deleted anything — at roughly
|
|
8
|
+
* 128 new alerts a day, with `maxAlerts` and `retentionDays` both configured and
|
|
9
|
+
* both inert. A cap that only bounds rows a human has clicked is not a cap, and
|
|
10
|
+
* "retention (days)" that ignores age is not retention.
|
|
11
|
+
*
|
|
12
|
+
* The decision is extracted here because both callers were private methods
|
|
13
|
+
* inside the addon, reachable only through a running store — so the rule nobody
|
|
14
|
+
* could test is exactly the rule that was wrong.
|
|
15
|
+
*
|
|
16
|
+
* ## The two rules, and why they differ
|
|
17
|
+
*
|
|
18
|
+
* - **Age** ignores read state entirely. An alert past the retention window is
|
|
19
|
+
* expired whether or not anyone looked at it; that is what the operator set
|
|
20
|
+
* the number for.
|
|
21
|
+
* - **The cap** still PREFERS read alerts — an unread alert is more likely to
|
|
22
|
+
* matter, so it should be the last to go — but it must not stop there. Once
|
|
23
|
+
* the read ones are exhausted it keeps taking the oldest, or the cap silently
|
|
24
|
+
* is not one.
|
|
25
|
+
*/
|
|
26
|
+
/** The fields the policy needs. Anything else on the record is irrelevant. */
|
|
27
|
+
export interface PrunableAlert {
|
|
28
|
+
readonly id: string;
|
|
29
|
+
readonly createdAt: number;
|
|
30
|
+
readonly read: boolean;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Ids older than `cutoffMs`, oldest first.
|
|
34
|
+
*
|
|
35
|
+
* Read state is deliberately NOT consulted — that filter is the defect.
|
|
36
|
+
*/
|
|
37
|
+
export declare function selectExpired(alerts: readonly PrunableAlert[], cutoffMs: number): readonly string[];
|
|
38
|
+
/**
|
|
39
|
+
* Ids to drop so at most `maxAlerts` remain: read ones first (oldest first),
|
|
40
|
+
* then unread ones (oldest first) if that was not enough.
|
|
41
|
+
*
|
|
42
|
+
* Returns empty when already within the cap, and never more than the excess.
|
|
43
|
+
*/
|
|
44
|
+
export declare function selectOverflow(alerts: readonly PrunableAlert[], maxAlerts: number): readonly string[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Record kinds owned by alert-center (records plan phase 4).
|
|
3
|
+
*/
|
|
4
|
+
import { type Alert, type DefinedRecordKind } from "@camstack/types";
|
|
5
|
+
import { z } from "zod";
|
|
6
|
+
/** The legacy collection the kind replaced (canonical KV before phase 4); read only without records. */
|
|
7
|
+
export declare const ALERTS_COLLECTION = "alerts";
|
|
8
|
+
export type AlertBody = Omit<Alert, "id">;
|
|
9
|
+
export declare const AlertBodySchema: z.ZodType<AlertBody>;
|
|
10
|
+
export type AlertCenterRecordKindsMap = {
|
|
11
|
+
readonly alerts: DefinedRecordKind<z.ZodType<AlertBody>>;
|
|
12
|
+
};
|
|
13
|
+
export declare const alertCenterRecordKinds: AlertCenterRecordKindsMap;
|
|
14
|
+
/** Narrow kind for `records.kind()` — `IsolatedRecordKinds` string index is `| undefined`. */
|
|
15
|
+
export declare const alertsRecordKind: DefinedRecordKind<z.ZodType<AlertBody>>;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ONE alert per runner (D877).
|
|
3
|
+
*
|
|
4
|
+
* A runner that dies produces a burst: `process.crashed` per exit,
|
|
5
|
+
* `addon.crashed` per hosted addon, then `addon.runner-failed` when the D6
|
|
6
|
+
* breaker gives up (or `addon.runner-refused` for a typed Init refusal). On
|
|
7
|
+
* 2026-10-17 28 runners made 28 "Addon crash loop" + 140 "Process crashed" +
|
|
8
|
+
* 34 "Addon crashed" alerts in one minute - the alerts ring (500) was a third
|
|
9
|
+
* full and the one alert that mattered was 1 of 202.
|
|
10
|
+
*
|
|
11
|
+
* Here the burst folds into ONE record per `(node, runner)` that updates its
|
|
12
|
+
* count and state. `refused` and `failed` are TERMINAL markers: a later plain
|
|
13
|
+
* crash bumps the count but never downgrades them. A dismissed record starts
|
|
14
|
+
* a fresh one.
|
|
15
|
+
*/
|
|
16
|
+
import type { AlertSeverity } from "@camstack/types";
|
|
17
|
+
export type RunnerAlertState = "crashed" | "failed" | "refused";
|
|
18
|
+
export interface RunnerAlertRecord {
|
|
19
|
+
readonly nodeId: string;
|
|
20
|
+
readonly runnerId: string;
|
|
21
|
+
readonly state: RunnerAlertState;
|
|
22
|
+
/** When this EPISODE began (ms). A runner that recovered and fails again opens a new one. */
|
|
23
|
+
readonly since: number;
|
|
24
|
+
/** Events folded into this record. */
|
|
25
|
+
readonly count: number;
|
|
26
|
+
readonly addonIds: readonly string[];
|
|
27
|
+
/** Last error text a plain crash carried. */
|
|
28
|
+
readonly lastError?: string;
|
|
29
|
+
/** Refusal: the addon's own words, and what the operator does. */
|
|
30
|
+
readonly reason?: string;
|
|
31
|
+
readonly remedy?: string;
|
|
32
|
+
/** Breaker: crashes inside the window. */
|
|
33
|
+
readonly crashesInWindow?: number;
|
|
34
|
+
}
|
|
35
|
+
export type RunnerAlertCategory = "process.crashed" | "addon.crashed" | "addon.runner-failed" | "addon.runner-refused";
|
|
36
|
+
export declare const RUNNER_ALERT_CATEGORIES: readonly RunnerAlertCategory[];
|
|
37
|
+
export declare function isRunnerAlertCategory(category: string): category is RunnerAlertCategory;
|
|
38
|
+
/** Stable alert id of a runner on a node. */
|
|
39
|
+
export declare function runnerAlertId(nodeId: string, runnerId: string): string;
|
|
40
|
+
/** Which runner an event is about; `null` when it names none. */
|
|
41
|
+
export declare function runnerKeyOf(category: RunnerAlertCategory, data: Record<string, unknown>, source: {
|
|
42
|
+
readonly id?: string;
|
|
43
|
+
readonly nodeId?: string;
|
|
44
|
+
} | undefined): {
|
|
45
|
+
readonly nodeId: string;
|
|
46
|
+
readonly runnerId: string;
|
|
47
|
+
} | null;
|
|
48
|
+
/** Fold one event into the runner's record. */
|
|
49
|
+
export declare function foldRunnerEvent(previous: RunnerAlertRecord | null, category: RunnerAlertCategory, data: Record<string, unknown>, key: {
|
|
50
|
+
readonly nodeId: string;
|
|
51
|
+
readonly runnerId: string;
|
|
52
|
+
}, now: number): RunnerAlertRecord;
|
|
53
|
+
export interface RenderedRunnerAlert {
|
|
54
|
+
readonly severity: AlertSeverity;
|
|
55
|
+
readonly title: string;
|
|
56
|
+
readonly message: string;
|
|
57
|
+
}
|
|
58
|
+
export declare function renderRunnerAlert(record: RunnerAlertRecord): RenderedRunnerAlert;
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What this addon persists per camera, and how the cap's cross-vendor settings
|
|
3
|
+
* become this loop's tuning.
|
|
4
|
+
*
|
|
5
|
+
* ## Why the record lives here and not in the cap's runtime state
|
|
6
|
+
*
|
|
7
|
+
* `ptz-autotrack` declares `durability: 'session'` — its slice MIRRORS a
|
|
8
|
+
* camera's own autotrack config and is re-read on connect. For a native
|
|
9
|
+
* provider that is right: the firmware is the record. For the emulated
|
|
10
|
+
* implementation there is no firmware to re-read, so the slice would come back
|
|
11
|
+
* empty on every restart and a camera the operator armed would come up
|
|
12
|
+
* disarmed, silently. The record is therefore ours, in the addon's own
|
|
13
|
+
* settings, and the cap's `getStatus` reads it.
|
|
14
|
+
*
|
|
15
|
+
* ## One switch, not two (D62, D520)
|
|
16
|
+
*
|
|
17
|
+
* Binding this wrapper to a camera chooses the IMPLEMENTATION.
|
|
18
|
+
* `setEnabled` is the switch for the function, and
|
|
19
|
+
* it is the cap's own switch: a camera with firmware autotrack uses its native
|
|
20
|
+
* provider for exactly the same method, so the operator never sees two
|
|
21
|
+
* controls that can disagree.
|
|
22
|
+
*/
|
|
23
|
+
import { type FirstLevelMacroClass } from "@camstack/types";
|
|
24
|
+
import type { PtzAutotrackSettings, PtzAutotrackStatus } from "@camstack/types";
|
|
25
|
+
import { type AutotrackLoopConfig } from "./autotrack-config.js";
|
|
26
|
+
/**
|
|
27
|
+
* How much of the frame the subject SHOULD occupy, and nothing else about zoom.
|
|
28
|
+
*
|
|
29
|
+
* Hidden on purpose (operator, 2026-09-18: *"rendiamo lo zoom configurabile,
|
|
30
|
+
* nascosto per ora, ci lavoriamo poi quando ne vedo il bisogno"* [let us make the zoom configurable, hidden for now, we will work on it later when I see the need]). It is not in
|
|
31
|
+
* `PtzAutotrackSettings` — that schema is the cross-vendor surface the device
|
|
32
|
+
* page renders, and putting it there would SHOW a control nothing implements.
|
|
33
|
+
* It lives in this addon's own record instead: settable, persisted, invisible.
|
|
34
|
+
*
|
|
35
|
+
* `null` means the loop does not touch zoom at all, which is what every camera
|
|
36
|
+
* gets until somebody decides otherwise.
|
|
37
|
+
*/
|
|
38
|
+
export interface AutotrackZoomSetting {
|
|
39
|
+
/**
|
|
40
|
+
* Target share of the frame for the tracked subject's box, `0..1`.
|
|
41
|
+
*
|
|
42
|
+
* The operator's original ask was "keep the target at about 50% of frame",
|
|
43
|
+
* so 0.5 is the number this exists to hold. It is a FRACTION OF AREA on the
|
|
44
|
+
* frame the loop measures in, not a zoom level: the loop is declaredly
|
|
45
|
+
* visual and never learns where the optics are (D520).
|
|
46
|
+
*/
|
|
47
|
+
readonly targetSubjectFraction: number | null;
|
|
48
|
+
}
|
|
49
|
+
/** One camera's record. */
|
|
50
|
+
export interface AutotrackCameraRecord {
|
|
51
|
+
readonly enabled: boolean;
|
|
52
|
+
readonly settings: PtzAutotrackSettings;
|
|
53
|
+
readonly zoom: AutotrackZoomSetting;
|
|
54
|
+
}
|
|
55
|
+
/** deviceId → record. */
|
|
56
|
+
export type AutotrackCameraRecords = Readonly<Record<number, AutotrackCameraRecord>>;
|
|
57
|
+
/**
|
|
58
|
+
* The defaults a camera starts from.
|
|
59
|
+
*
|
|
60
|
+
* `disappearDelaySeconds` matches the loop's own default so the two cannot
|
|
61
|
+
* disagree on the day nobody has opened the form. `stopDelaySeconds` is
|
|
62
|
+
* persisted and NOT honoured — see {@link loopConfigFor}.
|
|
63
|
+
*/
|
|
64
|
+
export declare const DEFAULT_CAMERA_RECORD: AutotrackCameraRecord;
|
|
65
|
+
/**
|
|
66
|
+
* What this implementation can follow, as the cap's target options.
|
|
67
|
+
*
|
|
68
|
+
* A vendor list would be a lie here: the emulated loop follows what the
|
|
69
|
+
* DETECTOR emits, and the detector's first-level macro classes are these
|
|
70
|
+
* three. Reolink's `people` and Hikvision's `human` are vendor words for the
|
|
71
|
+
* same thing and are normalised in {@link targetClassFor} rather than offered.
|
|
72
|
+
*/
|
|
73
|
+
export declare const EMULATED_TARGET_OPTIONS: PtzAutotrackStatus["supportedTargetTypes"];
|
|
74
|
+
/**
|
|
75
|
+
* Why this camera's zoom request is not being honoured, or `null` when it asked
|
|
76
|
+
* for nothing.
|
|
77
|
+
*
|
|
78
|
+
* A setting that is read and ignored in silence is indistinguishable from a
|
|
79
|
+
* broken one, and this one WILL be read by a loop that cannot act on it yet.
|
|
80
|
+
* So asking for it produces a sentence naming the number and what is missing.
|
|
81
|
+
*/
|
|
82
|
+
export declare function zoomRefusalFor(record: AutotrackCameraRecord): string | null;
|
|
83
|
+
export declare function parseCameraRecords(raw: unknown): AutotrackCameraRecords;
|
|
84
|
+
/** Immutable per-camera patch — a NEW map, the previous one untouched. */
|
|
85
|
+
export declare function withCameraPatch(records: AutotrackCameraRecords, deviceId: number, patch: {
|
|
86
|
+
enabled?: boolean;
|
|
87
|
+
settings?: Partial<PtzAutotrackSettings>;
|
|
88
|
+
zoom?: Partial<AutotrackZoomSetting>;
|
|
89
|
+
}): AutotrackCameraRecords;
|
|
90
|
+
/**
|
|
91
|
+
* The detection macro class this camera follows.
|
|
92
|
+
*
|
|
93
|
+
* `''` is the cap's "camera default" and means PERSON here — the class an
|
|
94
|
+
* autotrack is asked for in almost every case, and the one the measurement
|
|
95
|
+
* slice used. A vendor string (`people`, `human`) normalises to the macro it
|
|
96
|
+
* names; anything else falls back to person rather than following nothing,
|
|
97
|
+
* because a loop that silently follows nothing is indistinguishable from one
|
|
98
|
+
* that is broken.
|
|
99
|
+
*/
|
|
100
|
+
export declare function targetClassFor(settings: PtzAutotrackSettings): FirstLevelMacroClass;
|
|
101
|
+
/**
|
|
102
|
+
* The loop's config for this camera.
|
|
103
|
+
*
|
|
104
|
+
* Only ONE of the cap's three settings reaches the loop:
|
|
105
|
+
*
|
|
106
|
+
* - `disappearDelaySeconds` → {@link AutotrackLoopConfig.disappearDelayMs}. Same
|
|
107
|
+
* meaning on both sides: how long a target that stopped appearing is held
|
|
108
|
+
* before it is released and the head goes home.
|
|
109
|
+
* - `targetType` → the detection class, through {@link targetClassFor}.
|
|
110
|
+
* - `stopDelaySeconds` is persisted and NOT honoured. It means "keep tracking a
|
|
111
|
+
* STATIONARY target for this long before stopping", and a pulse-based loop
|
|
112
|
+
* already does nothing while the subject is inside the dead zone — there is
|
|
113
|
+
* no motion to stop. Storing it and ignoring it is deliberate: the cap is
|
|
114
|
+
* cross-vendor, a native provider honours it, and dropping it from the
|
|
115
|
+
* payload would make a camera that switches from native to emulated lose a
|
|
116
|
+
* setting it had. It is reported back by `getStatus` verbatim, never as a
|
|
117
|
+
* number this loop acted on.
|
|
118
|
+
*
|
|
119
|
+
* Everything else in the loop config is a TUNING CONSTANT that D520 kept out of
|
|
120
|
+
* the operator surface on purpose (dead zone, settle zone, command ceiling,
|
|
121
|
+
* pulse dead time). They stay constants.
|
|
122
|
+
*/
|
|
123
|
+
export declare function loopConfigFor(settings: PtzAutotrackSettings): AutotrackLoopConfig;
|
|
124
|
+
/** The cap's status for one camera. */
|
|
125
|
+
export declare function statusFor(record: AutotrackCameraRecord, lastChangedAt: number): PtzAutotrackStatus;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tuning constants for the emulated PTZ autotrack.
|
|
3
|
+
*
|
|
4
|
+
* Everything here is a number the OPERATOR does not set: the dead zone, the
|
|
5
|
+
* settle zone, the command ceiling, the pulse dead time, the refresh cadences.
|
|
6
|
+
* D520 kept them out of the settings surface on purpose — they are the
|
|
7
|
+
* behaviour of the control loop, not a preference, and a camera whose dead zone
|
|
8
|
+
* somebody widened by hand is a camera nobody can reason about.
|
|
9
|
+
*
|
|
10
|
+
* What IS per camera lives with the record (`autotrack-cameras.ts`): the switch,
|
|
11
|
+
* the target class and the disappear delay, all read through the cap's own
|
|
12
|
+
* settings so there is one place an operator changes them.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* ## The constants that used to live here
|
|
16
|
+
*
|
|
17
|
+
* `AUTOTRACK_ARMED` and `AUTOTRACK_TARGET_DEVICE_ID` were the whole protection
|
|
18
|
+
* of the measurement slice: arming was a deploy-shaped act because there was no
|
|
19
|
+
* switch to do it with. There is one now — the emulation registers
|
|
20
|
+
* `ptz-autotrack` as a wrapper the operator BINDS per camera and switches on
|
|
21
|
+
* through the cap's own `setEnabled` (D62: one function, one switch). The
|
|
22
|
+
* protection is no longer a constant; it is that a camera must be both bound
|
|
23
|
+
* and switched on, and that the loop still refuses to move without
|
|
24
|
+
* `moveImpulseMs` or while the camera's native autotrack is armed (D520).
|
|
25
|
+
*
|
|
26
|
+
* `AUTOTRACK_TARGET_CLASS` went the same way: the class is per camera now,
|
|
27
|
+
* from the cap's `targetType` setting (`autotrack-cameras.ts`).
|
|
28
|
+
*/
|
|
29
|
+
/** Signed single-axis step handed to `ptz.move` — a DIRECTION, not a delta.
|
|
30
|
+
* Every provider reads the sign and ignores the magnitude (reolink:
|
|
31
|
+
* `pan > 0 ? 'Right' : 'Left'`), so only -1 / 0 / +1 are meaningful. */
|
|
32
|
+
export type PtzAxisStep = -1 | 0 | 1;
|
|
33
|
+
/** Tuning of the control loop. Every field is a time or a fraction; nothing
|
|
34
|
+
* here is derived from `detectionFps` — see {@link maxCommandsPerSecond}. */
|
|
35
|
+
export interface AutotrackLoopConfig {
|
|
36
|
+
/**
|
|
37
|
+
* Width/height of the central "do nothing" box, as a fraction of the frame.
|
|
38
|
+
* `0.5` = the central 50%: a correction starts only once the subject's
|
|
39
|
+
* centre leaves it (|error| > 0.25 on that axis).
|
|
40
|
+
*/
|
|
41
|
+
readonly deadZoneFraction: number;
|
|
42
|
+
/**
|
|
43
|
+
* Width/height of the TIGHTER box that ENDS a correction, as a fraction of
|
|
44
|
+
* the frame. Must be smaller than {@link deadZoneFraction}.
|
|
45
|
+
*
|
|
46
|
+
* This is the anti-overshoot rule: the loop stops correcting BEFORE the
|
|
47
|
+
* subject reaches the centre. Aiming at the centre with an estimated gain
|
|
48
|
+
* overshoots, and an overshoot on the next frame reverses the sign — that is
|
|
49
|
+
* the oscillation this box exists to prevent.
|
|
50
|
+
*/
|
|
51
|
+
readonly settleZoneFraction: number;
|
|
52
|
+
/**
|
|
53
|
+
* Hard ceiling on commands issued to the camera, in commands per second,
|
|
54
|
+
* owned by the LOOP.
|
|
55
|
+
*
|
|
56
|
+
* Explicitly NOT derived from the analysis rate. `frame-tracked` arrives at
|
|
57
|
+
* 1–10 Hz; at 10 Hz a per-frame command would be ~10 commands/s, an order of
|
|
58
|
+
* magnitude above what the hardware takes. The ceiling is measured, in-repo:
|
|
59
|
+
* a Reolink E1 Outdoor PoE rejects a command issued while the previous one
|
|
60
|
+
* is still travelling with `response_code 400` — presses 1.2 s apart were
|
|
61
|
+
* REJECTED, 3 s apart were ACCEPTED (`reolink-camera.ts`, `runZoom`). `1/3`
|
|
62
|
+
* is that 3 s, and it is the gate that binds in practice.
|
|
63
|
+
*/
|
|
64
|
+
readonly maxCommandsPerSecond: number;
|
|
65
|
+
/**
|
|
66
|
+
* Extra silence after a pulse is expected to have FINISHED, ms.
|
|
67
|
+
*
|
|
68
|
+
* The dead time after a command is `moveImpulseMs + pulseSettleMs`: the head
|
|
69
|
+
* is still travelling for the first part and the detector has not yet seen
|
|
70
|
+
* the new framing for the second. Commanding inside it measures an error
|
|
71
|
+
* that the in-flight pulse has already corrected.
|
|
72
|
+
*/
|
|
73
|
+
readonly pulseSettleMs: number;
|
|
74
|
+
/**
|
|
75
|
+
* How long the chosen target may be absent before it is released and the
|
|
76
|
+
* head is sent home, ms. Also the silence watchdog's budget: if
|
|
77
|
+
* `frame-tracked` stops arriving entirely, the same delay elapses and the
|
|
78
|
+
* same release happens — off the event path, by timer.
|
|
79
|
+
*/
|
|
80
|
+
readonly disappearDelayMs: number;
|
|
81
|
+
/** Normalized speed (0..1) handed to `ptz.move`. */
|
|
82
|
+
readonly speed: number;
|
|
83
|
+
/** How often the off-event-path mirror re-reads `ptz.getOptions` and the
|
|
84
|
+
* native-autotrack state, ms. Never on the event path (D49). */
|
|
85
|
+
readonly mirrorRefreshMs: number;
|
|
86
|
+
/** How often the measurement aggregates are summarized to the log, ms. */
|
|
87
|
+
readonly measurementSummaryMs: number;
|
|
88
|
+
}
|
|
89
|
+
export declare const DEFAULT_AUTOTRACK_LOOP_CONFIG: AutotrackLoopConfig;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `decideAutotrack` — the whole control loop, as one pure function.
|
|
3
|
+
*
|
|
4
|
+
* Error in, action out, clock injected (`nowMs` is a parameter and is never
|
|
5
|
+
* read inside), state immutable (a new state object comes back; the input is
|
|
6
|
+
* never mutated). Same shape as `FrameGovernor` / `MotionSettleGovernor`.
|
|
7
|
+
*
|
|
8
|
+
* ## The one property that makes this safe over droppable telemetry
|
|
9
|
+
*
|
|
10
|
+
* The only command this loop ever issues to move the head is `ptz.move`, which
|
|
11
|
+
* is a SELF-TERMINATING pulse on every driver (reolink 200 ms, amcrest 350,
|
|
12
|
+
* hikvision 500, onvif 1000 — readable as `ptz.getOptions().moveImpulseMs`).
|
|
13
|
+
* `continuousMove` would need a matching `stop`, and its `stop` would travel
|
|
14
|
+
* over an event-driven loop whose input is telemetry and MAY BE DROPPED (D8,
|
|
15
|
+
* D11). A dropped frame would then leave the head panning until someone
|
|
16
|
+
* noticed. With a pulse, a dead event stream means the head stops by itself.
|
|
17
|
+
*
|
|
18
|
+
* That is also why {@link AutotrackDecisionInput.moveImpulseMs} being `null`
|
|
19
|
+
* REFUSES rather than substituting a default: a driver that cannot say how
|
|
20
|
+
* long its pulse lasts has not told us the head stops, and this loop is only
|
|
21
|
+
* safe because it does (D393 — a measurement that failed is `null`).
|
|
22
|
+
*/
|
|
23
|
+
import type { AutotrackLoopConfig, PtzAxisStep } from "./autotrack-config.js";
|
|
24
|
+
import type { NormalizedError } from "./frame-error.js";
|
|
25
|
+
/**
|
|
26
|
+
* What the loop knows about the camera's NATIVE autotrack, from the
|
|
27
|
+
* off-event-path mirror.
|
|
28
|
+
*
|
|
29
|
+
* Native and emulated are two implementations of ONE function and must never
|
|
30
|
+
* be two switches an operator can set to disagree (D62). Until that single
|
|
31
|
+
* switch exists, this slice refuses to move a head whose firmware may also be
|
|
32
|
+
* moving it — and `unknown` refuses too, because not-yet-read must not look
|
|
33
|
+
* like not-enabled (D315, D393).
|
|
34
|
+
*/
|
|
35
|
+
export type NativeAutotrackState = "absent" | "disabled" | "enabled" | "unknown";
|
|
36
|
+
/** Why the loop did NOT move. Every one of these is logged, per frame, with
|
|
37
|
+
* the measured error: a loop that decides not to move must not be
|
|
38
|
+
* indistinguishable from a dead one (D391). */
|
|
39
|
+
export type AutotrackHoldReason = "disarmed" | "no-target" | "target-absent" | "home-already-issued" | "frame-geometry-unknown" | "inside-dead-zone" | "settled" | "impulse-duration-unknown" | "native-autotrack-enabled" | "native-autotrack-unknown" | "pulse-dead-time" | "rate-limited";
|
|
40
|
+
export type AutotrackDecision = {
|
|
41
|
+
readonly action: "hold";
|
|
42
|
+
readonly reason: AutotrackHoldReason;
|
|
43
|
+
} | {
|
|
44
|
+
readonly action: "pulse";
|
|
45
|
+
readonly pan: PtzAxisStep;
|
|
46
|
+
readonly tilt: PtzAxisStep;
|
|
47
|
+
readonly speed: number;
|
|
48
|
+
} | {
|
|
49
|
+
readonly action: "home";
|
|
50
|
+
readonly reason: "target-gone";
|
|
51
|
+
};
|
|
52
|
+
export interface AutotrackLoopState {
|
|
53
|
+
/** A correction is in progress on this axis: it ends at the tighter inner
|
|
54
|
+
* box, not at the dead zone it started outside of. */
|
|
55
|
+
readonly correctingX: boolean;
|
|
56
|
+
readonly correctingY: boolean;
|
|
57
|
+
/** When the last command (pulse or home) was issued. `null` = never. */
|
|
58
|
+
readonly lastCommandAtMs: number | null;
|
|
59
|
+
/** Whether the head has already been sent home for the current absence. */
|
|
60
|
+
readonly homeIssued: boolean;
|
|
61
|
+
}
|
|
62
|
+
export declare const INITIAL_AUTOTRACK_LOOP_STATE: AutotrackLoopState;
|
|
63
|
+
/** The held target as this frame saw it. `error` is `null` when the frame's
|
|
64
|
+
* geometry was unreadable — present-but-unmeasurable, which is NOT absent. */
|
|
65
|
+
export interface AutotrackTargetFrame {
|
|
66
|
+
readonly trackId: string;
|
|
67
|
+
readonly error: NormalizedError | null;
|
|
68
|
+
}
|
|
69
|
+
export interface AutotrackDecisionInput {
|
|
70
|
+
readonly nowMs: number;
|
|
71
|
+
/** Armed AND pointed at a camera. False ⇒ the loop only measures. */
|
|
72
|
+
readonly armed: boolean;
|
|
73
|
+
/** The held target if it was OBSERVED on this frame, else `null`. */
|
|
74
|
+
readonly target: AutotrackTargetFrame | null;
|
|
75
|
+
/** When the held target was last observed. `null` = nothing held. */
|
|
76
|
+
readonly targetLastSeenAtMs: number | null;
|
|
77
|
+
/** `ptz.getOptions().moveImpulseMs`, from the mirror. `null` = unknown. */
|
|
78
|
+
readonly moveImpulseMs: number | null;
|
|
79
|
+
readonly nativeAutotrack: NativeAutotrackState;
|
|
80
|
+
readonly config: AutotrackLoopConfig;
|
|
81
|
+
}
|
|
82
|
+
export interface AutotrackDecisionResult {
|
|
83
|
+
readonly state: AutotrackLoopState;
|
|
84
|
+
readonly decision: AutotrackDecision;
|
|
85
|
+
}
|
|
86
|
+
export declare function decideAutotrack(state: AutotrackLoopState, input: AutotrackDecisionInput): AutotrackDecisionResult;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `AutotrackLoop` — the thin wiring between a `frame-tracked` payload and the
|
|
3
|
+
* pure decision function, plus the two measurements.
|
|
4
|
+
*
|
|
5
|
+
* Everything with a decision in it lives in `autotrack-decision.ts` /
|
|
6
|
+
* `target-selection.ts` and is pure; this class owns the state those functions
|
|
7
|
+
* are threaded through, the clock (injected), and the logging. It performs no
|
|
8
|
+
* I/O itself — commands go out through {@link AutotrackCommands}, which the
|
|
9
|
+
* addon fills with `ctx.api.ptz.*`.
|
|
10
|
+
*
|
|
11
|
+
* ## The silence watchdog is not optional
|
|
12
|
+
*
|
|
13
|
+
* The input is TELEMETRY and may be dropped (D8, D11). A subject does not
|
|
14
|
+
* disappear because the bus did, so a target released only by "a frame said it
|
|
15
|
+
* was gone" would be held forever the moment the stream stopped. {@link tick}
|
|
16
|
+
* runs off the event path, applies the SAME disappear delay to the silence,
|
|
17
|
+
* and releases + homes. It is also what makes the D49 shape work: the gate
|
|
18
|
+
* ("am I tracking") is in-memory state refreshed off the event path, and a
|
|
19
|
+
* failed mirror read never spells the subject's disappearance.
|
|
20
|
+
*/
|
|
21
|
+
import type { IScopedLogger, ObjectDetection } from "@camstack/types";
|
|
22
|
+
import type { AutotrackLoopConfig, PtzAxisStep } from "./autotrack-config.js";
|
|
23
|
+
import { type MirrorRefreshOutcome, type PtzMirror } from "./ptz-mirror.js";
|
|
24
|
+
import { type TargetCandidate } from "./target-selection.js";
|
|
25
|
+
export interface PulseCommand {
|
|
26
|
+
readonly deviceId: number;
|
|
27
|
+
readonly pan: PtzAxisStep;
|
|
28
|
+
readonly tilt: PtzAxisStep;
|
|
29
|
+
readonly speed: number;
|
|
30
|
+
}
|
|
31
|
+
/** The only way this loop touches the camera. One self-terminating pulse, or
|
|
32
|
+
* home. There is deliberately no `continuousMove` and no `stop`. */
|
|
33
|
+
export interface AutotrackCommands {
|
|
34
|
+
pulse(command: PulseCommand): Promise<void>;
|
|
35
|
+
goHome(deviceId: number): Promise<void>;
|
|
36
|
+
}
|
|
37
|
+
export interface AutotrackLoopDeps {
|
|
38
|
+
readonly deviceId: number;
|
|
39
|
+
readonly targetClass: string;
|
|
40
|
+
readonly armed: boolean;
|
|
41
|
+
readonly config: AutotrackLoopConfig;
|
|
42
|
+
readonly logger: IScopedLogger;
|
|
43
|
+
readonly commands: AutotrackCommands;
|
|
44
|
+
readonly now: () => number;
|
|
45
|
+
}
|
|
46
|
+
/** The subset of the `frame-tracked` payload this loop reads. Named so the
|
|
47
|
+
* tests can build one without the event envelope. */
|
|
48
|
+
export interface TrackedFrame {
|
|
49
|
+
readonly deviceId: number;
|
|
50
|
+
readonly timestamp: number;
|
|
51
|
+
readonly frameWidth: number;
|
|
52
|
+
readonly frameHeight: number;
|
|
53
|
+
readonly detections: readonly ObjectDetection[];
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Candidates of the configured class on this frame.
|
|
57
|
+
*
|
|
58
|
+
* A detection counts only when it carries a `track` — `buildOverlayDetections`
|
|
59
|
+
* attaches one exactly to the boxes a tracked entry was ASSOCIATED with on this
|
|
60
|
+
* frame, so this set is the observed-and-tracked set and nothing else.
|
|
61
|
+
*/
|
|
62
|
+
export declare function candidatesFromFrame(detections: readonly ObjectDetection[], targetClass: string): readonly TargetCandidate[];
|
|
63
|
+
export declare class AutotrackLoop {
|
|
64
|
+
private readonly deps;
|
|
65
|
+
private selection;
|
|
66
|
+
private loopState;
|
|
67
|
+
private mirror;
|
|
68
|
+
private latency;
|
|
69
|
+
private presence;
|
|
70
|
+
private lastFrameAtMs;
|
|
71
|
+
private lastSummaryAtMs;
|
|
72
|
+
constructor(deps: AutotrackLoopDeps);
|
|
73
|
+
/** Read-only view of the mirror, for the addon's startup log. */
|
|
74
|
+
get ptzMirror(): PtzMirror;
|
|
75
|
+
/** Fold one refresh outcome into the mirror. Called by the TIMER, never from
|
|
76
|
+
* {@link onFrame}. */
|
|
77
|
+
applyMirror(outcome: MirrorRefreshOutcome): void;
|
|
78
|
+
/** One analysed frame. Measures first, then decides. */
|
|
79
|
+
onFrame(frame: TrackedFrame): Promise<void>;
|
|
80
|
+
/**
|
|
81
|
+
* Off-event-path tick: the silence watchdog.
|
|
82
|
+
*
|
|
83
|
+
* Evaluates the SAME disappear delay against the time since the last frame.
|
|
84
|
+
* A stream that died is a target that is gone, and the head goes home —
|
|
85
|
+
* which is also the only thing that would otherwise never happen, because
|
|
86
|
+
* every other release is driven by a frame arriving.
|
|
87
|
+
*/
|
|
88
|
+
tick(): Promise<void>;
|
|
89
|
+
/** Emit the aggregates now, whatever the schedule says. Used at shutdown so
|
|
90
|
+
* a short run still reports what it measured. */
|
|
91
|
+
logSummary(): void;
|
|
92
|
+
private maybeSummarize;
|
|
93
|
+
private dispatch;
|
|
94
|
+
private logDecision;
|
|
95
|
+
}
|