@camstack/types 0.1.14 → 0.1.16
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/dist/addon/base-addon.d.ts +262 -0
- package/dist/addon/base-addon.d.ts.map +1 -0
- package/dist/auth-records-BDg37fy9.mjs +8297 -0
- package/dist/auth-records-BDg37fy9.mjs.map +1 -0
- package/dist/auth-records-D5ZNaUos.js +8296 -0
- package/dist/auth-records-D5ZNaUos.js.map +1 -0
- package/dist/capabilities/accessories.cap.d.ts +42 -0
- package/dist/capabilities/accessories.cap.d.ts.map +1 -0
- package/dist/capabilities/addon-pages-source.cap.d.ts +41 -0
- package/dist/capabilities/addon-pages-source.cap.d.ts.map +1 -0
- package/dist/capabilities/addon-pages.cap.d.ts +36 -0
- package/dist/capabilities/addon-pages.cap.d.ts.map +1 -0
- package/dist/capabilities/addon-routes.cap.d.ts +22 -0
- package/dist/capabilities/addon-routes.cap.d.ts.map +1 -0
- package/dist/capabilities/addon-settings.cap.d.ts +170 -0
- package/dist/capabilities/addon-settings.cap.d.ts.map +1 -0
- package/dist/capabilities/addon-widgets-source.cap.d.ts +103 -0
- package/dist/capabilities/addon-widgets-source.cap.d.ts.map +1 -0
- package/dist/capabilities/addon-widgets.cap.d.ts +98 -0
- package/dist/capabilities/addon-widgets.cap.d.ts.map +1 -0
- package/dist/capabilities/addons.cap.d.ts +356 -0
- package/dist/capabilities/addons.cap.d.ts.map +1 -0
- package/dist/capabilities/admin-ui.cap.d.ts +14 -0
- package/dist/capabilities/admin-ui.cap.d.ts.map +1 -0
- package/dist/capabilities/advanced-notifier.cap.d.ts +60 -0
- package/dist/capabilities/advanced-notifier.cap.d.ts.map +1 -0
- package/dist/capabilities/alerts.cap.d.ts +164 -0
- package/dist/capabilities/alerts.cap.d.ts.map +1 -0
- package/dist/capabilities/audio-analysis.cap.d.ts +46 -0
- package/dist/capabilities/audio-analysis.cap.d.ts.map +1 -0
- package/dist/capabilities/audio-analyzer.cap.d.ts +148 -0
- package/dist/capabilities/audio-analyzer.cap.d.ts.map +1 -0
- package/dist/capabilities/audio-codec.cap.d.ts +202 -0
- package/dist/capabilities/audio-codec.cap.d.ts.map +1 -0
- package/dist/capabilities/audio-metrics.cap.d.ts +174 -0
- package/dist/capabilities/audio-metrics.cap.d.ts.map +1 -0
- package/dist/capabilities/auth-provider.cap.d.ts +49 -0
- package/dist/capabilities/auth-provider.cap.d.ts.map +1 -0
- package/dist/capabilities/authentication.cap.d.ts +83 -0
- package/dist/capabilities/authentication.cap.d.ts.map +1 -0
- package/dist/capabilities/backup.cap.d.ts +269 -0
- package/dist/capabilities/backup.cap.d.ts.map +1 -0
- package/dist/capabilities/battery.cap.d.ts +85 -0
- package/dist/capabilities/battery.cap.d.ts.map +1 -0
- package/dist/capabilities/brightness.cap.d.ts +64 -0
- package/dist/capabilities/brightness.cap.d.ts.map +1 -0
- package/dist/capabilities/camera-credentials.cap.d.ts +102 -0
- package/dist/capabilities/camera-credentials.cap.d.ts.map +1 -0
- package/dist/capabilities/camera-streams.cap.d.ts +214 -0
- package/dist/capabilities/camera-streams.cap.d.ts.map +1 -0
- package/dist/capabilities/capability-definition.d.ts +474 -0
- package/dist/capabilities/capability-definition.d.ts.map +1 -0
- package/dist/capabilities/custom-actions.d.ts +47 -0
- package/dist/capabilities/custom-actions.d.ts.map +1 -0
- package/dist/capabilities/decoder.cap.d.ts +173 -0
- package/dist/capabilities/decoder.cap.d.ts.map +1 -0
- package/dist/capabilities/detection-pipeline.cap.d.ts +34 -0
- package/dist/capabilities/detection-pipeline.cap.d.ts.map +1 -0
- package/dist/capabilities/device-discovery.cap.d.ts +247 -0
- package/dist/capabilities/device-discovery.cap.d.ts.map +1 -0
- package/dist/capabilities/device-manager.cap.d.ts +709 -0
- package/dist/capabilities/device-manager.cap.d.ts.map +1 -0
- package/dist/capabilities/device-ops.cap.d.ts +87 -0
- package/dist/capabilities/device-ops.cap.d.ts.map +1 -0
- package/dist/capabilities/device-provider.cap.d.ts +151 -0
- package/dist/capabilities/device-provider.cap.d.ts.map +1 -0
- package/dist/capabilities/device-state.cap.d.ts +97 -0
- package/dist/capabilities/device-state.cap.d.ts.map +1 -0
- package/dist/capabilities/device-status.cap.d.ts +54 -0
- package/dist/capabilities/device-status.cap.d.ts.map +1 -0
- package/dist/capabilities/doorbell.cap.d.ts +62 -0
- package/dist/capabilities/doorbell.cap.d.ts.map +1 -0
- package/dist/capabilities/embedding-encoder.cap.d.ts +41 -0
- package/dist/capabilities/embedding-encoder.cap.d.ts.map +1 -0
- package/dist/capabilities/events.cap.d.ts +48 -0
- package/dist/capabilities/events.cap.d.ts.map +1 -0
- package/dist/capabilities/feature-probe.cap.d.ts +79 -0
- package/dist/capabilities/feature-probe.cap.d.ts.map +1 -0
- package/dist/capabilities/index.d.ts +191 -0
- package/dist/capabilities/index.d.ts.map +1 -0
- package/dist/capabilities/integrations.cap.d.ts +182 -0
- package/dist/capabilities/integrations.cap.d.ts.map +1 -0
- package/dist/capabilities/intercom.cap.d.ts +108 -0
- package/dist/capabilities/intercom.cap.d.ts.map +1 -0
- package/dist/capabilities/local-network.cap.d.ts +216 -0
- package/dist/capabilities/local-network.cap.d.ts.map +1 -0
- package/dist/capabilities/log-destination.cap.d.ts +70 -0
- package/dist/capabilities/log-destination.cap.d.ts.map +1 -0
- package/dist/capabilities/mesh-network.cap.d.ts +160 -0
- package/dist/capabilities/mesh-network.cap.d.ts.map +1 -0
- package/dist/capabilities/mesh-orchestrator.cap.d.ts +96 -0
- package/dist/capabilities/mesh-orchestrator.cap.d.ts.map +1 -0
- package/dist/capabilities/metrics-provider.cap.d.ts +522 -0
- package/dist/capabilities/metrics-provider.cap.d.ts.map +1 -0
- package/dist/capabilities/motion-detection.cap.d.ts +107 -0
- package/dist/capabilities/motion-detection.cap.d.ts.map +1 -0
- package/dist/capabilities/motion-trigger.cap.d.ts +78 -0
- package/dist/capabilities/motion-trigger.cap.d.ts.map +1 -0
- package/dist/capabilities/motion.cap.d.ts +122 -0
- package/dist/capabilities/motion.cap.d.ts.map +1 -0
- package/dist/capabilities/native-object-detection.cap.d.ts +127 -0
- package/dist/capabilities/native-object-detection.cap.d.ts.map +1 -0
- package/dist/capabilities/network-access.cap.d.ts +67 -0
- package/dist/capabilities/network-access.cap.d.ts.map +1 -0
- package/dist/capabilities/network-quality.cap.d.ts +95 -0
- package/dist/capabilities/network-quality.cap.d.ts.map +1 -0
- package/dist/capabilities/nodes.cap.d.ts +200 -0
- package/dist/capabilities/nodes.cap.d.ts.map +1 -0
- package/dist/capabilities/notification-output.cap.d.ts +44 -0
- package/dist/capabilities/notification-output.cap.d.ts.map +1 -0
- package/dist/capabilities/osd.cap.d.ts +236 -0
- package/dist/capabilities/osd.cap.d.ts.map +1 -0
- package/dist/capabilities/pipeline-analytics.cap.d.ts +501 -0
- package/dist/capabilities/pipeline-analytics.cap.d.ts.map +1 -0
- package/dist/capabilities/pipeline-executor.cap.d.ts +922 -0
- package/dist/capabilities/pipeline-executor.cap.d.ts.map +1 -0
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +793 -0
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts.map +1 -0
- package/dist/capabilities/pipeline-runner.cap.d.ts +393 -0
- package/dist/capabilities/pipeline-runner.cap.d.ts.map +1 -0
- package/dist/capabilities/platform-probe.cap.d.ts +168 -0
- package/dist/capabilities/platform-probe.cap.d.ts.map +1 -0
- package/dist/capabilities/ptz-autotrack.cap.d.ts +188 -0
- package/dist/capabilities/ptz-autotrack.cap.d.ts.map +1 -0
- package/dist/capabilities/ptz.cap.d.ts +80 -0
- package/dist/capabilities/ptz.cap.d.ts.map +1 -0
- package/dist/capabilities/reboot.cap.d.ts +32 -0
- package/dist/capabilities/reboot.cap.d.ts.map +1 -0
- package/dist/capabilities/recording-engine.cap.d.ts +477 -0
- package/dist/capabilities/recording-engine.cap.d.ts.map +1 -0
- package/dist/capabilities/recording.cap.d.ts +43 -0
- package/dist/capabilities/recording.cap.d.ts.map +1 -0
- package/dist/capabilities/remote-access.cap.d.ts +103 -0
- package/dist/capabilities/remote-access.cap.d.ts.map +1 -0
- package/dist/capabilities/restreamer.cap.d.ts +51 -0
- package/dist/capabilities/restreamer.cap.d.ts.map +1 -0
- package/dist/capabilities/schemas/detection-shared.d.ts +63 -0
- package/dist/capabilities/schemas/detection-shared.d.ts.map +1 -0
- package/dist/capabilities/schemas/orchestrator-metrics.d.ts +44 -0
- package/dist/capabilities/schemas/orchestrator-metrics.d.ts.map +1 -0
- package/dist/capabilities/schemas/streaming-shared.d.ts +177 -0
- package/dist/capabilities/schemas/streaming-shared.d.ts.map +1 -0
- package/dist/capabilities/schemas/zone-rule.d.ts +74 -0
- package/dist/capabilities/schemas/zone-rule.d.ts.map +1 -0
- package/dist/capabilities/settings-store.cap.d.ts +198 -0
- package/dist/capabilities/settings-store.cap.d.ts.map +1 -0
- package/dist/capabilities/snapshot-provider.cap.d.ts +40 -0
- package/dist/capabilities/snapshot-provider.cap.d.ts.map +1 -0
- package/dist/capabilities/snapshot.cap.d.ts +78 -0
- package/dist/capabilities/snapshot.cap.d.ts.map +1 -0
- package/dist/capabilities/storage-provider.cap.d.ts +432 -0
- package/dist/capabilities/storage-provider.cap.d.ts.map +1 -0
- package/dist/capabilities/storage.cap.d.ts +367 -0
- package/dist/capabilities/storage.cap.d.ts.map +1 -0
- package/dist/capabilities/stream-broker.cap.d.ts +416 -0
- package/dist/capabilities/stream-broker.cap.d.ts.map +1 -0
- package/dist/capabilities/streaming-engine.cap.d.ts +58 -0
- package/dist/capabilities/streaming-engine.cap.d.ts.map +1 -0
- package/dist/capabilities/switch.cap.d.ts +66 -0
- package/dist/capabilities/switch.cap.d.ts.map +1 -0
- package/dist/capabilities/system.cap.d.ts +86 -0
- package/dist/capabilities/system.cap.d.ts.map +1 -0
- package/dist/capabilities/toast.cap.d.ts +56 -0
- package/dist/capabilities/toast.cap.d.ts.map +1 -0
- package/dist/capabilities/turn-orchestrator.cap.d.ts +74 -0
- package/dist/capabilities/turn-orchestrator.cap.d.ts.map +1 -0
- package/dist/capabilities/turn-provider.cap.d.ts +43 -0
- package/dist/capabilities/turn-provider.cap.d.ts.map +1 -0
- package/dist/capabilities/user-management.cap.d.ts +378 -0
- package/dist/capabilities/user-management.cap.d.ts.map +1 -0
- package/dist/capabilities/webrtc-session.cap.d.ts +181 -0
- package/dist/capabilities/webrtc-session.cap.d.ts.map +1 -0
- package/dist/capabilities/webrtc.cap.d.ts +72 -0
- package/dist/capabilities/webrtc.cap.d.ts.map +1 -0
- package/dist/capabilities/zone-analytics.cap.d.ts +213 -0
- package/dist/capabilities/zone-analytics.cap.d.ts.map +1 -0
- package/dist/capabilities/zone-rules.cap.d.ts +129 -0
- package/dist/capabilities/zone-rules.cap.d.ts.map +1 -0
- package/dist/capabilities/zones.cap.d.ts +151 -0
- package/dist/capabilities/zones.cap.d.ts.map +1 -0
- package/dist/catalogs/audio-classmap.d.ts +16 -0
- package/dist/catalogs/audio-classmap.d.ts.map +1 -0
- package/dist/catalogs/coco-classmap.d.ts.map +1 -1
- package/dist/constants.d.ts +50 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/deps/binary-downloader.d.ts +41 -0
- package/dist/deps/binary-downloader.d.ts.map +1 -0
- package/dist/deps/ffmpeg-downloader.d.ts +13 -0
- package/dist/deps/ffmpeg-downloader.d.ts.map +1 -0
- package/dist/deps/index.d.ts +4 -0
- package/dist/deps/index.d.ts.map +1 -0
- package/dist/deps/python-downloader.d.ts +34 -0
- package/dist/deps/python-downloader.d.ts.map +1 -0
- package/dist/device/accessory.d.ts +62 -0
- package/dist/device/accessory.d.ts.map +1 -0
- package/dist/device/base-device-provider.d.ts +178 -0
- package/dist/device/base-device-provider.d.ts.map +1 -0
- package/dist/device/base-device.d.ts +287 -0
- package/dist/device/base-device.d.ts.map +1 -0
- package/dist/device/camera-device.d.ts +49 -0
- package/dist/device/camera-device.d.ts.map +1 -0
- package/dist/device/device-binding.d.ts +23 -0
- package/dist/device/device-binding.d.ts.map +1 -0
- package/dist/device/device-config.d.ts +65 -0
- package/dist/device/device-config.d.ts.map +1 -0
- package/dist/device/device-context.d.ts +256 -0
- package/dist/device/device-context.d.ts.map +1 -0
- package/dist/device/device-management.d.ts +118 -0
- package/dist/device/device-management.d.ts.map +1 -0
- package/dist/device/device-profile.d.ts +161 -0
- package/dist/device/device-profile.d.ts.map +1 -0
- package/dist/device/device-runtime-state.d.ts +124 -0
- package/dist/device/device-runtime-state.d.ts.map +1 -0
- package/dist/device/device-state-handle.d.ts +161 -0
- package/dist/device/device-state-handle.d.ts.map +1 -0
- package/dist/device/device-type.d.ts +68 -0
- package/dist/device/device-type.d.ts.map +1 -0
- package/dist/device/device.d.ts +87 -0
- package/dist/device/device.d.ts.map +1 -0
- package/dist/device/features.d.ts +29 -0
- package/dist/device/features.d.ts.map +1 -0
- package/dist/device/index.d.ts +20 -0
- package/dist/device/index.d.ts.map +1 -0
- package/dist/device/runtime-state-helpers.d.ts +69 -0
- package/dist/device/runtime-state-helpers.d.ts.map +1 -0
- package/dist/device/system-mirror.d.ts +318 -0
- package/dist/device/system-mirror.d.ts.map +1 -0
- package/dist/device/zod-to-config-ui.d.ts +23 -0
- package/dist/device/zod-to-config-ui.d.ts.map +1 -0
- package/dist/disposer-chain.d.ts +32 -0
- package/dist/disposer-chain.d.ts.map +1 -0
- package/dist/enums/event-category.d.ts +361 -0
- package/dist/enums/event-category.d.ts.map +1 -0
- package/dist/enums/event-source-type.d.ts +8 -0
- package/dist/enums/event-source-type.d.ts.map +1 -0
- package/dist/enums/index.d.ts +3 -0
- package/dist/enums/index.d.ts.map +1 -0
- package/dist/generated/addon-api.d.ts +14604 -3217
- package/dist/generated/addon-api.d.ts.map +1 -1
- package/dist/generated/cap-status-types.d.ts +51 -0
- package/dist/generated/cap-status-types.d.ts.map +1 -0
- package/dist/generated/capability-router-map.d.ts +278 -0
- package/dist/generated/capability-router-map.d.ts.map +1 -0
- package/dist/generated/device-local-state.d.ts +82 -0
- package/dist/generated/device-local-state.d.ts.map +1 -0
- package/dist/generated/device-proxy.d.ts +146 -0
- package/dist/generated/device-proxy.d.ts.map +1 -0
- package/dist/generated/system-proxy.d.ts +92 -0
- package/dist/generated/system-proxy.d.ts.map +1 -0
- package/dist/helpers/bind-addon-actions.d.ts +19 -0
- package/dist/helpers/bind-addon-actions.d.ts.map +1 -0
- package/dist/index.d.ts +91 -22
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4843 -477
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4832 -415
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/addon.d.ts +760 -132
- package/dist/interfaces/addon.d.ts.map +1 -1
- package/dist/interfaces/advanced-notifier.d.ts +3 -2
- package/dist/interfaces/advanced-notifier.d.ts.map +1 -1
- package/dist/interfaces/agent-protocol.d.ts +17 -173
- package/dist/interfaces/agent-protocol.d.ts.map +1 -1
- package/dist/interfaces/agent.d.ts +61 -0
- package/dist/interfaces/agent.d.ts.map +1 -1
- package/dist/interfaces/alerts.d.ts +14 -0
- package/dist/interfaces/alerts.d.ts.map +1 -0
- package/dist/interfaces/analysis-persistence.d.ts +37 -19
- package/dist/interfaces/analysis-persistence.d.ts.map +1 -1
- package/dist/interfaces/analysis.d.ts +33 -4
- package/dist/interfaces/analysis.d.ts.map +1 -1
- package/dist/interfaces/api-responses.d.ts +124 -0
- package/dist/interfaces/api-responses.d.ts.map +1 -0
- package/dist/interfaces/api-shared.d.ts +5 -79
- package/dist/interfaces/api-shared.d.ts.map +1 -1
- package/dist/interfaces/audio-analyzer.d.ts +49 -0
- package/dist/interfaces/audio-analyzer.d.ts.map +1 -0
- package/dist/interfaces/audio-codec.d.ts +123 -0
- package/dist/interfaces/audio-codec.d.ts.map +1 -0
- package/dist/interfaces/audio-inference-engine.d.ts +19 -0
- package/dist/interfaces/audio-inference-engine.d.ts.map +1 -0
- package/dist/interfaces/auth-provider.d.ts.map +1 -1
- package/dist/interfaces/auth.d.ts +4 -25
- package/dist/interfaces/auth.d.ts.map +1 -1
- package/dist/interfaces/camera-pipeline.d.ts +7 -20
- package/dist/interfaces/camera-pipeline.d.ts.map +1 -1
- package/dist/interfaces/capability.d.ts +171 -24
- package/dist/interfaces/capability.d.ts.map +1 -1
- package/dist/interfaces/config-ui.d.ts +746 -24
- package/dist/interfaces/config-ui.d.ts.map +1 -1
- package/dist/interfaces/context.d.ts +9 -4
- package/dist/interfaces/context.d.ts.map +1 -1
- package/dist/interfaces/decoder.d.ts +38 -3
- package/dist/interfaces/decoder.d.ts.map +1 -1
- package/dist/interfaces/detection-addon.d.ts +6 -6
- package/dist/interfaces/detection-addon.d.ts.map +1 -1
- package/dist/interfaces/device-capabilities/camera.d.ts +95 -18
- package/dist/interfaces/device-capabilities/camera.d.ts.map +1 -1
- package/dist/interfaces/device-capabilities/index.d.ts +0 -13
- package/dist/interfaces/device-capabilities/index.d.ts.map +1 -1
- package/dist/interfaces/device-provider.d.ts +18 -16
- package/dist/interfaces/device-provider.d.ts.map +1 -1
- package/dist/interfaces/device.d.ts +4 -21
- package/dist/interfaces/device.d.ts.map +1 -1
- package/dist/interfaces/embedding-encoder.d.ts +19 -0
- package/dist/interfaces/embedding-encoder.d.ts.map +1 -0
- package/dist/interfaces/engine-slots.d.ts +10 -0
- package/dist/interfaces/engine-slots.d.ts.map +1 -0
- package/dist/interfaces/event-bus.d.ts +710 -26
- package/dist/interfaces/event-bus.d.ts.map +1 -1
- package/dist/interfaces/inference-capabilities.d.ts +0 -17
- package/dist/interfaces/inference-capabilities.d.ts.map +1 -1
- package/dist/interfaces/inference-engine.d.ts +30 -10
- package/dist/interfaces/inference-engine.d.ts.map +1 -1
- package/dist/interfaces/integration-registry.d.ts +20 -20
- package/dist/interfaces/integration-registry.d.ts.map +1 -1
- package/dist/interfaces/kernel-abstractions.d.ts +83 -0
- package/dist/interfaces/kernel-abstractions.d.ts.map +1 -0
- package/dist/interfaces/logging.d.ts +89 -8
- package/dist/interfaces/logging.d.ts.map +1 -1
- package/dist/interfaces/metrics-provider.d.ts +17 -0
- package/dist/interfaces/metrics-provider.d.ts.map +1 -0
- package/dist/interfaces/network-quality.d.ts +4 -4
- package/dist/interfaces/network.d.ts +0 -16
- package/dist/interfaces/network.d.ts.map +1 -1
- package/dist/interfaces/notification.d.ts +1 -1
- package/dist/interfaces/pipeline-executor-capability.d.ts +200 -0
- package/dist/interfaces/pipeline-executor-capability.d.ts.map +1 -0
- package/dist/interfaces/pipeline-orchestrator-capability.d.ts +165 -0
- package/dist/interfaces/pipeline-orchestrator-capability.d.ts.map +1 -0
- package/dist/interfaces/pipeline-runner-capability.d.ts +147 -0
- package/dist/interfaces/pipeline-runner-capability.d.ts.map +1 -0
- package/dist/interfaces/pipeline-runner.d.ts +18 -2
- package/dist/interfaces/pipeline-runner.d.ts.map +1 -1
- package/dist/interfaces/platform.d.ts +1 -1
- package/dist/interfaces/platform.d.ts.map +1 -1
- package/dist/interfaces/queryable.d.ts +26 -0
- package/dist/interfaces/queryable.d.ts.map +1 -0
- package/dist/interfaces/raw-tensor-engine.d.ts +16 -0
- package/dist/interfaces/raw-tensor-engine.d.ts.map +1 -0
- package/dist/interfaces/readiness.d.ts +101 -0
- package/dist/interfaces/readiness.d.ts.map +1 -0
- package/dist/interfaces/repl.d.ts +1 -1
- package/dist/interfaces/restreamer.d.ts +3 -3
- package/dist/interfaces/scoped-token.d.ts +1 -21
- package/dist/interfaces/scoped-token.d.ts.map +1 -1
- package/dist/interfaces/server-analysis.d.ts +30 -87
- package/dist/interfaces/server-analysis.d.ts.map +1 -1
- package/dist/interfaces/storage-location.d.ts +120 -0
- package/dist/interfaces/storage-location.d.ts.map +1 -0
- package/dist/interfaces/storage.d.ts +124 -50
- package/dist/interfaces/storage.d.ts.map +1 -1
- package/dist/interfaces/stream-broker.d.ts +285 -17
- package/dist/interfaces/stream-broker.d.ts.map +1 -1
- package/dist/interfaces/webrtc-provider.d.ts +24 -0
- package/dist/interfaces/webrtc-provider.d.ts.map +1 -1
- package/dist/node.d.ts +6 -0
- package/dist/node.d.ts.map +1 -0
- package/dist/node.js +481 -0
- package/dist/node.js.map +1 -0
- package/dist/node.mjs +443 -0
- package/dist/node.mjs.map +1 -0
- package/dist/readiness/index.d.ts +3 -0
- package/dist/readiness/index.d.ts.map +1 -0
- package/dist/readiness/readiness-registry.d.ts +183 -0
- package/dist/readiness/readiness-registry.d.ts.map +1 -0
- package/dist/schemas/auth-records.d.ts +81 -0
- package/dist/schemas/auth-records.d.ts.map +1 -0
- package/dist/storage/filesystem-storage-provider.d.ts +37 -0
- package/dist/storage/filesystem-storage-provider.d.ts.map +1 -0
- package/dist/types/agent-pipeline-settings.d.ts +94 -0
- package/dist/types/agent-pipeline-settings.d.ts.map +1 -0
- package/dist/types/camera-pipeline.d.ts +58 -0
- package/dist/types/camera-pipeline.d.ts.map +1 -0
- package/dist/types/detection.d.ts +195 -38
- package/dist/types/detection.d.ts.map +1 -1
- package/dist/types/device-type.d.ts +4 -0
- package/dist/types/device-type.d.ts.map +1 -1
- package/dist/types/engine-output.d.ts +24 -0
- package/dist/types/engine-output.d.ts.map +1 -0
- package/dist/types/io.d.ts +57 -3
- package/dist/types/io.d.ts.map +1 -1
- package/dist/types/models.d.ts +3 -1
- package/dist/types/models.d.ts.map +1 -1
- package/dist/types/pipeline-schema.d.ts +15 -72
- package/dist/types/pipeline-schema.d.ts.map +1 -1
- package/dist/types/pipeline-step.d.ts +201 -0
- package/dist/types/pipeline-step.d.ts.map +1 -0
- package/dist/types/pipeline.d.ts +24 -1
- package/dist/types/pipeline.d.ts.map +1 -1
- package/dist/utils/element-config-store.d.ts +29 -0
- package/dist/utils/element-config-store.d.ts.map +1 -0
- package/dist/utils/err-msg.d.ts +7 -0
- package/dist/utils/err-msg.d.ts.map +1 -0
- package/dist/utils/json-safe.d.ts +33 -0
- package/dist/utils/json-safe.d.ts.map +1 -0
- package/dist/utils/mask-url.d.ts +10 -0
- package/dist/utils/mask-url.d.ts.map +1 -0
- package/dist/utils/ring-buffer.d.ts +16 -0
- package/dist/utils/ring-buffer.d.ts.map +1 -0
- package/dist/utils/run-inference-step.d.ts +26 -0
- package/dist/utils/run-inference-step.d.ts.map +1 -0
- package/dist/utils/runtime-mapping.d.ts +88 -0
- package/dist/utils/runtime-mapping.d.ts.map +1 -0
- package/dist/utils/zone-rule-eval.d.ts +47 -0
- package/dist/utils/zone-rule-eval.d.ts.map +1 -0
- package/package.json +11 -2
- package/dist/__tests__/addon-capability-provider.test.d.ts +0 -2
- package/dist/__tests__/addon-capability-provider.test.d.ts.map +0 -1
- package/dist/__tests__/addon-declaration.test.d.ts +0 -2
- package/dist/__tests__/addon-declaration.test.d.ts.map +0 -1
- package/dist/__tests__/capability.test.d.ts +0 -2
- package/dist/__tests__/capability.test.d.ts.map +0 -1
- package/dist/interfaces/addon-i18n.d.ts +0 -41
- package/dist/interfaces/addon-i18n.d.ts.map +0 -1
- package/dist/interfaces/classifier.d.ts +0 -8
- package/dist/interfaces/classifier.d.ts.map +0 -1
- package/dist/interfaces/cropper.d.ts +0 -8
- package/dist/interfaces/cropper.d.ts.map +0 -1
- package/dist/interfaces/detector.d.ts +0 -8
- package/dist/interfaces/detector.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/accessory.d.ts +0 -14
- package/dist/interfaces/device-capabilities/accessory.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/audio-detector.d.ts +0 -12
- package/dist/interfaces/device-capabilities/audio-detector.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/doorbell.d.ts +0 -10
- package/dist/interfaces/device-capabilities/doorbell.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/events.d.ts +0 -47
- package/dist/interfaces/device-capabilities/events.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/motion-sensor.d.ts +0 -7
- package/dist/interfaces/device-capabilities/motion-sensor.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/native-detection.d.ts +0 -14
- package/dist/interfaces/device-capabilities/native-detection.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/object-detector.d.ts +0 -59
- package/dist/interfaces/device-capabilities/object-detector.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/pan-tilt-zoom.d.ts +0 -29
- package/dist/interfaces/device-capabilities/pan-tilt-zoom.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/recording.d.ts +0 -18
- package/dist/interfaces/device-capabilities/recording.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/siren.d.ts +0 -8
- package/dist/interfaces/device-capabilities/siren.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/status-light.d.ts +0 -7
- package/dist/interfaces/device-capabilities/status-light.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/switch.d.ts +0 -8
- package/dist/interfaces/device-capabilities/switch.d.ts.map +0 -1
- package/dist/interfaces/device-capabilities/two-way-audio.d.ts +0 -8
- package/dist/interfaces/device-capabilities/two-way-audio.d.ts.map +0 -1
- package/dist/interfaces/device-capability.d.ts +0 -14
- package/dist/interfaces/device-capability.d.ts.map +0 -1
- package/dist/interfaces/model-catalog.d.ts +0 -25
- package/dist/interfaces/model-catalog.d.ts.map +0 -1
- package/dist/interfaces/refiner.d.ts +0 -8
- package/dist/interfaces/refiner.d.ts.map +0 -1
- package/dist/interfaces/repositories.d.ts +0 -20
- package/dist/interfaces/repositories.d.ts.map +0 -1
- package/dist/interfaces/scene-intelligence.d.ts +0 -21
- package/dist/interfaces/scene-intelligence.d.ts.map +0 -1
- package/dist/interfaces/storage-backend.d.ts +0 -27
- package/dist/interfaces/storage-backend.d.ts.map +0 -1
- package/dist/interfaces/worker-protocol.d.ts +0 -110
- package/dist/interfaces/worker-protocol.d.ts.map +0 -1
- package/dist/schemas/system-settings-schemas.d.ts +0 -27
- package/dist/schemas/system-settings-schemas.d.ts.map +0 -1
- package/dist/types/benchmark.d.ts +0 -112
- package/dist/types/benchmark.d.ts.map +0 -1
- package/dist/types/zones.d.ts +0 -48
- package/dist/types/zones.d.ts.map +0 -1
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
export declare enum EventCategory {
|
|
2
|
+
SystemBoot = "system.boot",
|
|
3
|
+
SystemAddonsReady = "system.addons-ready",
|
|
4
|
+
SystemRestarting = "system.restarting",
|
|
5
|
+
/**
|
|
6
|
+
* Readiness transition for a capability provider. Every producer emits
|
|
7
|
+
* this event on `onInitialize` completion, `onDestroy`, and
|
|
8
|
+
* `$node.reconnect`; every consumer that needs to gate on a cross-process
|
|
9
|
+
* cap subscribes via the kernel's readiness module (`awaitReady` /
|
|
10
|
+
* `onReadyState`) instead of polling. Payload is
|
|
11
|
+
* `SystemReadyStatePayload` — see event-bus.ts.
|
|
12
|
+
*/
|
|
13
|
+
SystemReadyState = "system.ready-state",
|
|
14
|
+
AddonStarted = "addon.started",
|
|
15
|
+
AddonStopped = "addon.stopped",
|
|
16
|
+
AddonRestarted = "addon.restarted",
|
|
17
|
+
AddonUpdated = "addon.updated",
|
|
18
|
+
AddonInstalled = "addon.installed",
|
|
19
|
+
AddonUninstalled = "addon.uninstalled",
|
|
20
|
+
AddonCrashed = "addon.crashed",
|
|
21
|
+
AddonError = "addon.error",
|
|
22
|
+
AddonPageReady = "addon.page-ready",
|
|
23
|
+
AddonWidgetReady = "addon.widget-ready",
|
|
24
|
+
/**
|
|
25
|
+
* Addon failed to load (import or initialize). Emitted by the kernel's
|
|
26
|
+
* AddonHealthMonitor only AFTER the boot grace period ends — failures
|
|
27
|
+
* during the first 5 minutes are silently retried without alerting
|
|
28
|
+
* (slow-starting addons must have time to come up). Post-grace, this
|
|
29
|
+
* event is emitted exactly once per failure-streak; AlertCenter
|
|
30
|
+
* consumes it to create a persistent operator-visible alert.
|
|
31
|
+
*
|
|
32
|
+
* Payload: `{ packageName, addonId?, error: { message, stack }, retryCount, nextRetryAt }`.
|
|
33
|
+
*/
|
|
34
|
+
AddonLoadFailed = "addon.load-failed",
|
|
35
|
+
/**
|
|
36
|
+
* Addon recovered from a previous failure. Emitted when an addon
|
|
37
|
+
* transitions from `failed` back to `healthy` (typically via the
|
|
38
|
+
* monitor's auto-retry loop, or after manual `addons.retryLoad`).
|
|
39
|
+
* AlertCenter dismisses the corresponding `AddonLoadFailed` alert
|
|
40
|
+
* on this event.
|
|
41
|
+
*/
|
|
42
|
+
AddonLoadRecovered = "addon.load-recovered",
|
|
43
|
+
/**
|
|
44
|
+
* Monitor scheduled the next retry for a failed addon. Transient —
|
|
45
|
+
* surfaced to the UI for live-updating the "next retry in Ns"
|
|
46
|
+
* countdown on the Addons page row, NOT persisted as an alert.
|
|
47
|
+
*/
|
|
48
|
+
AddonRetryScheduled = "addon.retry-scheduled",
|
|
49
|
+
/**
|
|
50
|
+
* Monitor is attempting to reload a failed addon NOW. UI uses this
|
|
51
|
+
* to show a spinner during the retry attempt. Same transient nature
|
|
52
|
+
* as AddonRetryScheduled.
|
|
53
|
+
*/
|
|
54
|
+
AddonRetryAttempting = "addon.retry-attempting",
|
|
55
|
+
DeviceRegistered = "device.registered",
|
|
56
|
+
DeviceUnregistered = "device.unregistered",
|
|
57
|
+
DeviceEnabled = "device.enabled",
|
|
58
|
+
DeviceDisabled = "device.disabled",
|
|
59
|
+
DeviceSettingsUpdated = "device.settings-updated",
|
|
60
|
+
/**
|
|
61
|
+
* Emitted when the set of native capability providers bound to a device
|
|
62
|
+
* changes — e.g. an addon registers a new native cap via
|
|
63
|
+
* `DeviceContext.registerNativeCap`, or all native bindings for a device
|
|
64
|
+
* are cleared on removal. Hub consumers re-resolve device-proxy routes
|
|
65
|
+
* when this fires.
|
|
66
|
+
*/
|
|
67
|
+
DeviceBindingsChanged = "device.bindings-changed",
|
|
68
|
+
/**
|
|
69
|
+
* Emitted when the operator-organisational meta surface changes
|
|
70
|
+
* (`name` / `location` / `disabled`). Payload: `{deviceId, field,
|
|
71
|
+
* value}`. Live consumers (UI device list, alert center) react
|
|
72
|
+
* without polling. Distinct from `DeviceSettingsUpdated` which
|
|
73
|
+
* fires on hardware-config changes (host/port/credentials/etc).
|
|
74
|
+
*/
|
|
75
|
+
DeviceMetaChanged = "device.meta-changed",
|
|
76
|
+
/**
|
|
77
|
+
* Emitted by DeviceStreamWiringService after a successful
|
|
78
|
+
* `stream-broker.registerDeviceStreams` call. Payload includes
|
|
79
|
+
* deviceId — consumers look up the full registered device info via
|
|
80
|
+
* `brokerManager.getRegisteredDevice(deviceId)`.
|
|
81
|
+
*
|
|
82
|
+
* Replaces the legacy `StreamRouterService.onDeviceRegistered` callback.
|
|
83
|
+
*/
|
|
84
|
+
DeviceStreamsRegistered = "device.streams-registered",
|
|
85
|
+
IntegrationEnabled = "integration.enabled",
|
|
86
|
+
IntegrationDisabled = "integration.disabled",
|
|
87
|
+
IntegrationDeleted = "integration.deleted",
|
|
88
|
+
ProviderStarted = "provider.started",
|
|
89
|
+
ProviderStopped = "provider.stopped",
|
|
90
|
+
ProcessCrashed = "process.crashed",
|
|
91
|
+
ProcessRestartScheduled = "process.restart_scheduled",
|
|
92
|
+
ProcessRestarted = "process.restarted",
|
|
93
|
+
RecordingStarted = "recording.started",
|
|
94
|
+
RecordingStopped = "recording.stopped",
|
|
95
|
+
RecordingError = "recording.error",
|
|
96
|
+
RecordingHealthDegraded = "recording.health.degraded",
|
|
97
|
+
RecordingStorageCritical = "recording.storage.critical",
|
|
98
|
+
RecordingSegmentWritten = "recording.segment.written",
|
|
99
|
+
RecordingPolicyFallback = "recording.policy.fallback",
|
|
100
|
+
RecordingRetentionCompleted = "recording.retention.completed",
|
|
101
|
+
DetectionEvent = "detection.event",
|
|
102
|
+
SessionTrackNew = "session.track.new",
|
|
103
|
+
SessionTrackExpired = "session.track.expired",
|
|
104
|
+
BenchmarkProgress = "benchmark.progress",
|
|
105
|
+
PlatformProbePhase = "platform-probe.phase",
|
|
106
|
+
PipelineProgress = "pipeline.progress",
|
|
107
|
+
/** Per-frame execution trace emitted by the pipeline executor for live observability. */
|
|
108
|
+
PipelineTrace = "pipeline.trace",
|
|
109
|
+
/**
|
|
110
|
+
* Raw inference output emitted by `addon-pipeline-runner` after running the
|
|
111
|
+
* detection pipeline on a frame. Carries the `FrameResult` (with
|
|
112
|
+
* `detections[]`, `width`/`height`, timing debug) — never the frame
|
|
113
|
+
* buffer itself. Hub-side consumers (analysis pipeline, class filters,
|
|
114
|
+
* notifications) subscribe to this and re-emit `detection.result` after
|
|
115
|
+
* post-processing.
|
|
116
|
+
*/
|
|
117
|
+
PipelineInferenceResult = "pipeline.inference-result",
|
|
118
|
+
/**
|
|
119
|
+
* Camera lifecycle event emitted by `addon-pipeline-orchestrator` when it
|
|
120
|
+
* assigns or unassigns a camera to/from an agent. Carries no frame data;
|
|
121
|
+
* pure observability for UI dashboards and metrics consumers.
|
|
122
|
+
*/
|
|
123
|
+
PipelineCameraAssigned = "pipeline.camera-assigned",
|
|
124
|
+
PipelineCameraUnassigned = "pipeline.camera-unassigned",
|
|
125
|
+
/**
|
|
126
|
+
* Per-camera pipeline config was mutated by the orchestrator
|
|
127
|
+
* (3-level settings change via `setAgentAddonDefaults` /
|
|
128
|
+
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
129
|
+
* pipeline-scoped `applyDeviceSettingsPatch`). Orchestrator
|
|
130
|
+
* subscribes to its own emission to hot-reload the assigned runner
|
|
131
|
+
* via `attachCamera` so the next frame executes against the new
|
|
132
|
+
* engine/steps without waiting for a rebalance or the next
|
|
133
|
+
* `DeviceStreamsRegistered` cycle.
|
|
134
|
+
*/
|
|
135
|
+
PipelineCameraUpdated = "pipeline.camera-updated",
|
|
136
|
+
/**
|
|
137
|
+
* Periodic snapshot of per-node pipeline-runner load
|
|
138
|
+
* (`RunnerLocalLoad`). Emitted ~1Hz by every runner so UI dashboards
|
|
139
|
+
* subscribe instead of polling `pipelineRunner.getLocalLoad`.
|
|
140
|
+
* `nodeId` carried in the payload + on `event.source.nodeId`.
|
|
141
|
+
*/
|
|
142
|
+
PipelineRunnerLoadSnapshot = "pipeline.runner-load-snapshot",
|
|
143
|
+
/**
|
|
144
|
+
* Periodic snapshot of per-camera pipeline metrics (`CameraMetrics`
|
|
145
|
+
* + `deviceId` + `nodeId`). Emitted ~1Hz by every runner for each
|
|
146
|
+
* attached camera. UI subscribes to drive overlay phase / fps /
|
|
147
|
+
* inference time without polling `getCameraMetrics`.
|
|
148
|
+
*/
|
|
149
|
+
PipelineCameraMetricsSnapshot = "pipeline.camera-metrics-snapshot",
|
|
150
|
+
/**
|
|
151
|
+
* Periodic snapshot of stream-broker per-broker statistics (input
|
|
152
|
+
* fps, decoded fps, bitrate, codec). Emitted ~1Hz by every
|
|
153
|
+
* stream-broker process for each active broker so the UI can drive
|
|
154
|
+
* the Stream / Cluster dashboards without polling
|
|
155
|
+
* `streamBroker.listAllProfileSlots` and friends.
|
|
156
|
+
*/
|
|
157
|
+
StreamBrokerMetricsSnapshot = "stream-broker.metrics-snapshot",
|
|
158
|
+
/**
|
|
159
|
+
* Cap event fired by `stream-broker` when a profile slot enters
|
|
160
|
+
* "demanded" state — a cam stream has been assigned and at least one
|
|
161
|
+
* consumer (RTSP restream, decoded subscriber, WebRTC session, …) is
|
|
162
|
+
* present. Camera-provider addons (Reolink Baichuan push, …)
|
|
163
|
+
* subscribe to this category to start their underlying transport
|
|
164
|
+
* lazily. Payload: `{ deviceId, camStreamId, profile }`.
|
|
165
|
+
*/
|
|
166
|
+
StreamBrokerOnCamStreamDemand = "stream-broker.onCamStreamDemand",
|
|
167
|
+
/**
|
|
168
|
+
* Cap event fired by `stream-broker` when the last consumer leaves a
|
|
169
|
+
* previously-demanded cam stream. Providers tear down their
|
|
170
|
+
* underlying transport on receipt. Payload: `{ deviceId, camStreamId }`.
|
|
171
|
+
*/
|
|
172
|
+
StreamBrokerOnCamStreamIdle = "stream-broker.onCamStreamIdle",
|
|
173
|
+
/**
|
|
174
|
+
* Cap event fired by `stream-broker` when a broker fails to dial a
|
|
175
|
+
* managed-loopback source (today: `pull-rfc4571`) and the publisher
|
|
176
|
+
* needs to refresh the cached URL. Mirrors Scrypted's
|
|
177
|
+
* `ensureRfcServer` self-heal pattern: the lib's TCP server
|
|
178
|
+
* idle-tears-down on its own schedule, so a re-publish with a fresh
|
|
179
|
+
* `host:port` is the only way to keep the broker dialable. Camera
|
|
180
|
+
* providers (Reolink Baichuan native, …) subscribe and respond by
|
|
181
|
+
* re-running their publish pipeline.
|
|
182
|
+
* Payload: `{ deviceId, camStreamId, brokerId }`.
|
|
183
|
+
*/
|
|
184
|
+
StreamBrokerOnRequestStreamSourceRefresh = "stream-broker.onRequestStreamSourceRefresh",
|
|
185
|
+
/**
|
|
186
|
+
* Generic per-device runtime-state change. Fired by `device-manager`
|
|
187
|
+
* whenever a persisted slice in any cap's `runtimeState` shape
|
|
188
|
+
* mutates. Payload: `{deviceId, capName, slice}`. Subscribers are
|
|
189
|
+
* the `deviceState` cap router (cross-process listeners) and the
|
|
190
|
+
* deviceProxy reactive bindings (`device.state.<capName>.value`).
|
|
191
|
+
* Cap-specific events (`battery.onStatusChanged`, …) still fire
|
|
192
|
+
* — they're authoritative for callers that want a typed payload
|
|
193
|
+
* without filtering on `capName`.
|
|
194
|
+
*/
|
|
195
|
+
DeviceStateChanged = "device.state-changed",
|
|
196
|
+
/**
|
|
197
|
+
* Cap event fired by every device that registers the `battery`
|
|
198
|
+
* capability. Mirrors the cap definition's `onStatusChanged`. Carries
|
|
199
|
+
* `{ deviceId, status: BatteryStatus }`. Subscribers (alert center,
|
|
200
|
+
* snapshot wrapper, UI) react to charge/sleep transitions without
|
|
201
|
+
* polling `batteryCapability.getStatus`.
|
|
202
|
+
*/
|
|
203
|
+
BatteryOnStatusChanged = "battery.onStatusChanged",
|
|
204
|
+
/**
|
|
205
|
+
* Cap event fired by every device that registers the `doorbell`
|
|
206
|
+
* capability. Mirrors `doorbellCapability.events.onPressed`. Carries
|
|
207
|
+
* `{ deviceId, timestamp }`. Operators consuming the UI subscribe
|
|
208
|
+
* here to render transient ring toasts and a "Recent presses" row
|
|
209
|
+
* on the device detail page.
|
|
210
|
+
*/
|
|
211
|
+
DoorbellOnPressed = "doorbell.onPressed",
|
|
212
|
+
/**
|
|
213
|
+
* Periodic snapshot of the per-node detection-pipeline engine
|
|
214
|
+
* registry (loaded engines, models resident, in-use cameras, idle
|
|
215
|
+
* TTL). Emitted ~0.2Hz (every 5 s) by every detection-pipeline
|
|
216
|
+
* process. The Engines tab subscribes to drive its inventory view
|
|
217
|
+
* without polling `pipelineExecutor.listLoadedEngines`.
|
|
218
|
+
*/
|
|
219
|
+
PipelineEngineMetricsSnapshot = "pipeline.engine-metrics-snapshot",
|
|
220
|
+
/**
|
|
221
|
+
* Cluster topology snapshot. Carries the same payload returned by
|
|
222
|
+
* `nodes.topology` (every reachable node + addons + processes).
|
|
223
|
+
* Emitted by the hub on any agent / addon lifecycle change
|
|
224
|
+
* (debounced) plus a periodic safety net. Replaces UI polling on
|
|
225
|
+
* `nodes.topology` — admin-ui dashboards subscribe to drive the
|
|
226
|
+
* cluster view directly from the event payload.
|
|
227
|
+
*/
|
|
228
|
+
ClusterTopologySnapshot = "cluster.topology-snapshot",
|
|
229
|
+
/**
|
|
230
|
+
* Periodic per-node system metrics snapshot (CPU / memory / GPU /
|
|
231
|
+
* disk / network). Emitted ~0.2 Hz by the metrics-provider addon
|
|
232
|
+
* for each node. Drives the dashboard SystemStatus / ProcessResources
|
|
233
|
+
* widgets without polling `metricsProvider.getCurrent`.
|
|
234
|
+
*/
|
|
235
|
+
MetricsNodeResourcesSnapshot = "metrics.node-resources-snapshot",
|
|
236
|
+
/**
|
|
237
|
+
* Periodic per-node process-tree snapshot (camstack-related pids
|
|
238
|
+
* with ghost / managed / root classification). Emitted ~0.2 Hz by
|
|
239
|
+
* the metrics-provider addon. Drives the Cluster → Processes tab
|
|
240
|
+
* without polling `metricsProvider.listNodeProcesses`.
|
|
241
|
+
*/
|
|
242
|
+
MetricsNodeProcessesSnapshot = "metrics.node-processes-snapshot",
|
|
243
|
+
/**
|
|
244
|
+
* Capability binding change event emitted by `addon-pipeline-orchestrator`
|
|
245
|
+
* when a user changes which addon implements a cap on a node. Subscribed
|
|
246
|
+
* by every kernel process to update its local `preferredProviderRegistry`
|
|
247
|
+
* so future capability lookups respect the new binding.
|
|
248
|
+
*/
|
|
249
|
+
/**
|
|
250
|
+
* A capability binding was changed for a node — addon X now provides
|
|
251
|
+
* capability `cap` on node `nodeId`. Lives under the generic
|
|
252
|
+
* `capability.*` namespace because capability bindings are a kernel-
|
|
253
|
+
* level concept used by many addons, not strictly pipeline-scoped.
|
|
254
|
+
*/
|
|
255
|
+
CapabilityBindingChanged = "capability.binding-changed",
|
|
256
|
+
ModelDownloadProgress = "model.download.progress",
|
|
257
|
+
AgentRegistered = "agent.registered",
|
|
258
|
+
AgentUnregistered = "agent.unregistered",
|
|
259
|
+
AgentOnline = "agent.online",
|
|
260
|
+
AgentOffline = "agent.offline",
|
|
261
|
+
/** Forked worker process (e.g. hub/pipeline) connected to the broker. */
|
|
262
|
+
WorkerOnline = "worker.online",
|
|
263
|
+
/** Forked worker process disconnected from the broker. */
|
|
264
|
+
WorkerOffline = "worker.offline",
|
|
265
|
+
AgentTaskDispatched = "agent.task.dispatched",
|
|
266
|
+
AgentTaskAssigned = "agent.task.assigned",
|
|
267
|
+
AgentTrpcConnected = "agent.trpc.connected",
|
|
268
|
+
AgentWsConnected = "agent.ws.connected",
|
|
269
|
+
AgentWsDisconnected = "agent.ws.disconnected",
|
|
270
|
+
AgentBackupActivated = "agent.backup.activated",
|
|
271
|
+
OrchestrationSettingsUpdated = "orchestration.settings-updated",
|
|
272
|
+
/**
|
|
273
|
+
* Per-agent hwaccel preference changed (user override set, cleared, or
|
|
274
|
+
* re-probed). Observability event — decoders pull the current pref at
|
|
275
|
+
* `createSession`, so running sessions keep their current backend until
|
|
276
|
+
* they rotate naturally (camera add/remove, stream restart). Future
|
|
277
|
+
* work can wire a listener in stream-broker that force-rotates live
|
|
278
|
+
* sessions; for now this event powers logs + admin-UI toast feedback.
|
|
279
|
+
*/
|
|
280
|
+
PipelineAgentHwaccelChanged = "pipeline.agent-hwaccel-changed",
|
|
281
|
+
MotionAnalysis = "detection.motion-analysis",
|
|
282
|
+
/** All raw motion zones from CCL before minArea filter — for UI debug overlay. */
|
|
283
|
+
MotionZonesRaw = "detection.motion-zones-raw",
|
|
284
|
+
/**
|
|
285
|
+
* Per-camera motion phase transition (`watching ↔ active`) emitted
|
|
286
|
+
* by the runner. Mirrors the `motion.onMotionChanged` cap event
|
|
287
|
+
* surface — payload `MotionOnMotionChangedPayload` carries
|
|
288
|
+
* `{deviceId, detected, timestamp, source, regions?}`. Subscribers
|
|
289
|
+
* include addons that need to react to motion state without
|
|
290
|
+
* polling the runtime-state mirror.
|
|
291
|
+
*/
|
|
292
|
+
MotionOnMotionChanged = "motion.on-motion-changed",
|
|
293
|
+
DetectionResult = "detection.result",
|
|
294
|
+
DetectionRaw = "detection.raw",
|
|
295
|
+
DetectionCameraNative = "detection.camera-native",
|
|
296
|
+
/**
|
|
297
|
+
* Canonical per-chunk live audio pipeline output. Payload is
|
|
298
|
+
* `PipelineAudioInferenceResultPayload` carrying a full `AudioResult`
|
|
299
|
+
* (level + detections + debug). Lives on the pipeline.* namespace
|
|
300
|
+
* alongside `pipeline.inference-result` (video) for symmetry.
|
|
301
|
+
*/
|
|
302
|
+
PipelineAudioInferenceResult = "pipeline.audio-inference-result",
|
|
303
|
+
DetectionPhaseTransition = "detection.phase-transition",
|
|
304
|
+
ProviderMotion = "provider.motion",
|
|
305
|
+
ProviderDetection = "provider.detection",
|
|
306
|
+
EnrichmentEmbeddingStored = "enrichment.embedding.stored",
|
|
307
|
+
EnrichmentSceneStateChanged = "enrichment.scene.state-changed",
|
|
308
|
+
EnrichmentActivitySummary = "enrichment.activity.summary",
|
|
309
|
+
PipelineAnalyticsTrackStarted = "pipeline-analytics.track-started",
|
|
310
|
+
PipelineAnalyticsTrackEnded = "pipeline-analytics.track-ended",
|
|
311
|
+
PipelineAnalyticsDetectionEvent = "pipeline-analytics.detection-event",
|
|
312
|
+
PipelineAnalyticsFrameTracked = "pipeline-analytics.frame-tracked",
|
|
313
|
+
FrigateLiveEvent = "frigate.live-event",
|
|
314
|
+
CameraStreamsProfileSlotsChanged = "camera-streams.onProfileSlotsChanged",
|
|
315
|
+
/**
|
|
316
|
+
* Stream-broker health watchdog. Per-broker (deviceId/profile) emission.
|
|
317
|
+
* `stream.offline` fires after STREAM_STALE_TIMEOUT_MS without an encoded
|
|
318
|
+
* packet on an active broker. `stream.online` fires on first packet
|
|
319
|
+
* after a stale gap (or on initial first packet). Payload includes
|
|
320
|
+
* the assigned camStreamId as `profileKey`.
|
|
321
|
+
*/
|
|
322
|
+
StreamOnline = "stream.online",
|
|
323
|
+
StreamOffline = "stream.offline",
|
|
324
|
+
NetworkTunnelStarted = "network.tunnel.started",
|
|
325
|
+
NetworkTunnelStopped = "network.tunnel.stopped",
|
|
326
|
+
/** Fired by the `local-network` cap when the host's interface set
|
|
327
|
+
* changes (new IP from DHCP, VPN connect, docker bridge added). */
|
|
328
|
+
LocalNetworkChanged = "network.local.changed",
|
|
329
|
+
BackupCompleted = "backup.completed",
|
|
330
|
+
BackupRestored = "backup.restored",
|
|
331
|
+
NotificationDispatched = "notification.dispatched",
|
|
332
|
+
NotificationFailed = "notification.failed",
|
|
333
|
+
DeviceUpdated = "device.updated",
|
|
334
|
+
/**
|
|
335
|
+
* Transport-level connectivity. Emitted by the device driver when
|
|
336
|
+
* the underlying control socket actually connects / disconnects
|
|
337
|
+
* (Baichuan TCP, ONVIF probe response, RTSP DESCRIBE, …) — NOT for
|
|
338
|
+
* power-state transitions on a battery camera. For battery wake /
|
|
339
|
+
* doze cycles see `DeviceAwake` / `DeviceSleeping`.
|
|
340
|
+
*/
|
|
341
|
+
DeviceOnline = "device.online",
|
|
342
|
+
/**
|
|
343
|
+
* Stream-broker watchdog — emitted when no encoded packet has been
|
|
344
|
+
* received for STREAM_STALE_TIMEOUT_MS on an active broker (rtsp or
|
|
345
|
+
* push). Paired with DeviceOnline which fires on first packet after
|
|
346
|
+
* a stale gap. Payload: DeviceStreamHealthPayload.
|
|
347
|
+
*/
|
|
348
|
+
DeviceOffline = "device.offline",
|
|
349
|
+
/**
|
|
350
|
+
* Battery cam woke up — physical power-state transition reported
|
|
351
|
+
* by the device firmware. Distinct from `DeviceOnline` so a UI panel
|
|
352
|
+
* watching power state doesn't flap on every UDP socket reconnect.
|
|
353
|
+
*/
|
|
354
|
+
DeviceAwake = "device.awake",
|
|
355
|
+
/**
|
|
356
|
+
* Battery cam went to sleep. See `DeviceAwake`.
|
|
357
|
+
*/
|
|
358
|
+
DeviceSleeping = "device.sleeping",
|
|
359
|
+
RetentionCleanup = "retention.cleanup"
|
|
360
|
+
}
|
|
361
|
+
//# sourceMappingURL=event-category.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-category.d.ts","sourceRoot":"","sources":["../../src/enums/event-category.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-source-type.d.ts","sourceRoot":"","sources":["../../src/enums/event-source-type.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,MAAM,WAAW;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA"}
|