@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 @@
|
|
|
1
|
+
{"version":3,"file":"pipeline-orchestrator.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/pipeline-orchestrator.cap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAqC,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAWlG,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAS9B,CAAA;AAEF,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAO1B,CAAA;AAuCF,QAAA,MAAM,6BAA6B;;;;iBAIjC,CAAA;AAaF;;;;;;;;;GASG;AACH,QAAA,MAAM,wBAAwB;;;;;;;;;;;;iBAU5B,CAAA;AAEF;;;;GAIG;AACH,QAAA,MAAM,uBAAuB;;;;;;;;;;iBAQ3B,CAAA;AAEF;;;GAGG;AACH,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;;;;iBAM1B,CAAA;AAEF;;;;GAIG;AACH,QAAA,MAAM,mBAAmB;;;;;;;;iBAUvB,CAAA;AAEF;;;;;;;;GAQG;AACH,QAAA,MAAM,wBAAwB,uCAAmC,CAAA;AAuBjE;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,8BAA8B;;;;;;QAOvC;;;WAGG;;;;;;;QAMH;;;;;;;;;WASG;;;;;;QAMH;;;;;WAKG;;;;QAIH,mDAAmD;;;;;;;;;;;;;;QAEnD,0DAA0D;;;;;;;;;;;;;;;;QAE1D,2EAA2E;;;;;;;;;;;;;;;;;;;QAE3E,mEAAmE;;;;;;;;;;QAEnE;;;;;;;;WAQG;;;;;;;;;;;;;;;;;;;;QAIH,yGAAyG;;;;QAEzG,+FAA+F;;;;;;;;QAQ/F,iDAAiD;;;;;QAMjD,qDAAqD;;;;QAMrD,4CAA4C;;;;;;;;;;;;QAI5C,gEAAgE;;;;;;;QAMhE,sEAAsE;;;;;;QAMtE,oFAAoF;;;;;;;;QASpF,kFAAkF;;;;;QAKlF,4DAA4D;;;;;;;QAW5D;;;;;;;;;;;WAWG;;;;;;;;;;;;;;;QAgCH,2DAA2D;;;;;;;;;;QAK3D,+DAA+D;;;;;;;;;;;QAQ/D,kMAAkM;;;;;;;;;;;QASlM;;;;;;;;;WASG;;;;;;;QAcH,2FAA2F;;;;;;;;;;;;;;;;;;;QAK3F,4HAA4H;;;;;;;;QAU5H,oFAAoF;;;;;;;;QAQpF;;;WAGG;;;;;;;;;;;;;QAWH,4GAA4G;;;;;;;;;;;;;;QAU5G,+JAA+J;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAO/J,kDAAkD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAElD,mEAAmE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAUnE,oEAAoE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAWpE,8EAA8E;;;;;;;CAOzC,CAAA;AAEzC,MAAM,MAAM,6BAA6B,GAAG,aAAa,CAAC,OAAO,8BAA8B,CAAC,CAAA;AAEhG,OAAO,EACL,wBAAwB,EACxB,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,EACnB,wBAAwB,EACxB,0BAA0B,EAC1B,6BAA6B,EAC7B,sBAAsB,IAAI,kCAAkC,GAC7D,CAAA"}
|
|
@@ -0,0 +1,393 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { type InferProvider } from './capability-definition.js';
|
|
3
|
+
import type { ConfigField } from '../interfaces/config-ui.js';
|
|
4
|
+
/**
|
|
5
|
+
* Source enum for motion signals fed to the runner. Extensible — add
|
|
6
|
+
* new variants here when new motion-trigger paths are wired in
|
|
7
|
+
* (`wasm-cross-camera`, `event-bus-relay`, etc.). The runner uses
|
|
8
|
+
* the variant for diagnostics + to route the cap-state event payload
|
|
9
|
+
* (analyzer attaches detected `regions[]`; onboard does not — the
|
|
10
|
+
* camera typically only reports a binary signal plus an optional
|
|
11
|
+
* channel/AI class which lives in dedicated event channels).
|
|
12
|
+
*/
|
|
13
|
+
export declare const MotionSourceEnum: z.ZodEnum<{
|
|
14
|
+
onboard: "onboard";
|
|
15
|
+
analyzer: "analyzer";
|
|
16
|
+
}>;
|
|
17
|
+
export type MotionSource = z.infer<typeof MotionSourceEnum>;
|
|
18
|
+
/**
|
|
19
|
+
* List of motion sources active on a camera. Empty array is valid:
|
|
20
|
+
* "no source" — happens for battery cams without firmware motion when
|
|
21
|
+
* the operator hasn't opted into the SW analyzer (would hold the
|
|
22
|
+
* substream open continuously and defeat the sleep cycle). The runner
|
|
23
|
+
* accepts the empty list as "no motion-driven phase transitions" and
|
|
24
|
+
* relies on the operator-set `detectionMode` to drive activation
|
|
25
|
+
* (`'always-on'`) — `'on-motion'` with no source effectively pins the
|
|
26
|
+
* phase to `'watching'`, which is the desired battery-cam-without-
|
|
27
|
+
* firmware behaviour.
|
|
28
|
+
*
|
|
29
|
+
* Single source of truth for the array shape — every consumer
|
|
30
|
+
* (orchestrator, runner, settings UI, dispatch) imports from here.
|
|
31
|
+
*/
|
|
32
|
+
export declare const MotionSourcesSchema: z.ZodArray<z.ZodEnum<{
|
|
33
|
+
onboard: "onboard";
|
|
34
|
+
analyzer: "analyzer";
|
|
35
|
+
}>>;
|
|
36
|
+
export type MotionSources = z.infer<typeof MotionSourcesSchema>;
|
|
37
|
+
/**
|
|
38
|
+
* Input shape for `pipeline-runner.reportMotion` cap method. Exported
|
|
39
|
+
* so cap-side consumers (the orchestrator forward, the runner addon's
|
|
40
|
+
* cap implementation, tests) can reuse the type instead of redeclaring
|
|
41
|
+
* the field set.
|
|
42
|
+
*/
|
|
43
|
+
export declare const ReportMotionInputSchema: z.ZodObject<{
|
|
44
|
+
deviceId: z.ZodNumber;
|
|
45
|
+
detected: z.ZodBoolean;
|
|
46
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
47
|
+
onboard: "onboard";
|
|
48
|
+
analyzer: "analyzer";
|
|
49
|
+
}>>;
|
|
50
|
+
regions: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
51
|
+
bbox: z.ZodObject<{
|
|
52
|
+
x: z.ZodNumber;
|
|
53
|
+
y: z.ZodNumber;
|
|
54
|
+
w: z.ZodNumber;
|
|
55
|
+
h: z.ZodNumber;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
pixelCount: z.ZodNumber;
|
|
58
|
+
intensity: z.ZodNumber;
|
|
59
|
+
}, z.core.$strip>>>>;
|
|
60
|
+
}, z.core.$strip>;
|
|
61
|
+
export type ReportMotionInput = z.infer<typeof ReportMotionInputSchema>;
|
|
62
|
+
/**
|
|
63
|
+
* Camera assignment payload sent by `addon-pipeline-orchestrator` to a
|
|
64
|
+
* specific runner instance via `attachCamera`. Carries everything the
|
|
65
|
+
* runner needs to subscribe to the local broker and execute inference.
|
|
66
|
+
*
|
|
67
|
+
* Stateless-pipeline model: the full pipeline content (`engine`, `steps`,
|
|
68
|
+
* optional `audio`) travels with the attach payload. The runner keeps it
|
|
69
|
+
* in RAM for the lifetime of the attach — on rebalance, edit, or
|
|
70
|
+
* restart the orchestrator re-sends the latest snapshot.
|
|
71
|
+
*
|
|
72
|
+
* `engine`/`steps`/`audio` are optional during the additive migration
|
|
73
|
+
* window; once orchestrator + UI are migrated they become required.
|
|
74
|
+
*/
|
|
75
|
+
declare const RunnerCameraConfigSchema: z.ZodObject<{
|
|
76
|
+
deviceId: z.ZodNumber;
|
|
77
|
+
detectionMode: z.ZodDefault<z.ZodEnum<{
|
|
78
|
+
disabled: "disabled";
|
|
79
|
+
"always-on": "always-on";
|
|
80
|
+
"on-motion": "on-motion";
|
|
81
|
+
}>>;
|
|
82
|
+
audioMode: z.ZodDefault<z.ZodEnum<{
|
|
83
|
+
disabled: "disabled";
|
|
84
|
+
"always-on": "always-on";
|
|
85
|
+
"on-motion": "on-motion";
|
|
86
|
+
}>>;
|
|
87
|
+
motionCooldownMs: z.ZodDefault<z.ZodNumber>;
|
|
88
|
+
motionFps: z.ZodDefault<z.ZodNumber>;
|
|
89
|
+
detectionFps: z.ZodDefault<z.ZodNumber>;
|
|
90
|
+
motionStreamId: z.ZodString;
|
|
91
|
+
detectionStreamId: z.ZodString;
|
|
92
|
+
motionSources: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
93
|
+
onboard: "onboard";
|
|
94
|
+
analyzer: "analyzer";
|
|
95
|
+
}>>>;
|
|
96
|
+
pipelineEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
97
|
+
engine: z.ZodOptional<z.ZodObject<{
|
|
98
|
+
runtime: z.ZodEnum<{
|
|
99
|
+
node: "node";
|
|
100
|
+
python: "python";
|
|
101
|
+
}>;
|
|
102
|
+
backend: z.ZodString;
|
|
103
|
+
format: z.ZodEnum<{
|
|
104
|
+
onnx: "onnx";
|
|
105
|
+
coreml: "coreml";
|
|
106
|
+
openvino: "openvino";
|
|
107
|
+
tflite: "tflite";
|
|
108
|
+
pt: "pt";
|
|
109
|
+
}>;
|
|
110
|
+
device: z.ZodOptional<z.ZodString>;
|
|
111
|
+
}, z.core.$strip>>;
|
|
112
|
+
steps: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>>;
|
|
113
|
+
audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
114
|
+
engine: z.ZodObject<{
|
|
115
|
+
runtime: z.ZodEnum<{
|
|
116
|
+
node: "node";
|
|
117
|
+
python: "python";
|
|
118
|
+
}>;
|
|
119
|
+
backend: z.ZodString;
|
|
120
|
+
format: z.ZodEnum<{
|
|
121
|
+
onnx: "onnx";
|
|
122
|
+
coreml: "coreml";
|
|
123
|
+
openvino: "openvino";
|
|
124
|
+
tflite: "tflite";
|
|
125
|
+
pt: "pt";
|
|
126
|
+
}>;
|
|
127
|
+
device: z.ZodOptional<z.ZodString>;
|
|
128
|
+
}, z.core.$strip>;
|
|
129
|
+
modelId: z.ZodString;
|
|
130
|
+
enabled: z.ZodBoolean;
|
|
131
|
+
}, z.core.$strip>>>;
|
|
132
|
+
zones: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
133
|
+
id: z.ZodString;
|
|
134
|
+
name: z.ZodString;
|
|
135
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
136
|
+
polygon: "polygon";
|
|
137
|
+
tripwire: "tripwire";
|
|
138
|
+
}>>;
|
|
139
|
+
polygon: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
140
|
+
x: z.ZodNumber;
|
|
141
|
+
y: z.ZodNumber;
|
|
142
|
+
}, z.core.$strip>>>;
|
|
143
|
+
color: z.ZodDefault<z.ZodString>;
|
|
144
|
+
}, z.core.$strip>>>>;
|
|
145
|
+
}, z.core.$strip>;
|
|
146
|
+
/**
|
|
147
|
+
* Per-device settings UI fields the runner cap owns. Co-located with
|
|
148
|
+
* the Zod data schema so a single change to defaults / ranges /
|
|
149
|
+
* options propagates to both the wire contract AND the rendered UI.
|
|
150
|
+
*
|
|
151
|
+
* Consumers spread this into their own ConfigUISchema sections
|
|
152
|
+
* (e.g. orchestrator's deviceSettingsSchema) instead of redeclaring
|
|
153
|
+
* the fields. The ranges are read from the `*Field` constants above
|
|
154
|
+
* so values stay in sync with `RunnerCameraConfigSchema`.
|
|
155
|
+
*
|
|
156
|
+
* Fields NOT included here are intentional — they're either internal
|
|
157
|
+
* wire (motionStreamId, detectionStreamId) or live in a different
|
|
158
|
+
* config surface (priority, motionStreamProfile/detectionStreamProfile
|
|
159
|
+
* — the orchestrator transforms them into stream IDs before dispatch).
|
|
160
|
+
*/
|
|
161
|
+
export declare const RunnerCameraDeviceUIFields: readonly ConfigField[];
|
|
162
|
+
/**
|
|
163
|
+
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
164
|
+
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
|
165
|
+
* which agent should receive a new camera assignment.
|
|
166
|
+
*/
|
|
167
|
+
declare const RunnerLocalLoadSchema: z.ZodObject<{
|
|
168
|
+
nodeId: z.ZodString;
|
|
169
|
+
attachedCameras: z.ZodNumber;
|
|
170
|
+
activeCameras: z.ZodNumber;
|
|
171
|
+
avgInferenceFps: z.ZodNumber;
|
|
172
|
+
avgInferenceTimeMs: z.ZodNumber;
|
|
173
|
+
queueDepthTotal: z.ZodNumber;
|
|
174
|
+
hardware: z.ZodObject<{
|
|
175
|
+
hasGpu: z.ZodBoolean;
|
|
176
|
+
inferenceBackend: z.ZodOptional<z.ZodString>;
|
|
177
|
+
cpuCores: z.ZodOptional<z.ZodNumber>;
|
|
178
|
+
}, z.core.$strip>;
|
|
179
|
+
}, z.core.$strip>;
|
|
180
|
+
/**
|
|
181
|
+
* Aggregate runtime metrics for the runner's whole local pool. Mirrors the
|
|
182
|
+
* legacy `OrchestratorMetricsSchema` shape so existing dashboards keep
|
|
183
|
+
* working unchanged when they switch to reading from the runner cap.
|
|
184
|
+
*/
|
|
185
|
+
declare const RunnerLocalMetricsSchema: z.ZodObject<{
|
|
186
|
+
nodeId: z.ZodString;
|
|
187
|
+
activeCameras: z.ZodNumber;
|
|
188
|
+
throttledCameras: z.ZodNumber;
|
|
189
|
+
avgInferenceTimeMs: z.ZodNumber;
|
|
190
|
+
queueDepth: z.ZodNumber;
|
|
191
|
+
}, z.core.$strip>;
|
|
192
|
+
/**
|
|
193
|
+
* Pipeline Runner capability — runtime detection workhorse.
|
|
194
|
+
*
|
|
195
|
+
* One instance per node. Receives camera assignments from
|
|
196
|
+
* `addon-pipeline-orchestrator`, subscribes to the local stream-broker for
|
|
197
|
+
* decoded frames, drains motion + detection queues, calls the local
|
|
198
|
+
* `motion-detection` and `pipeline-executor` capabilities, and emits typed
|
|
199
|
+
* `pipeline.inference-result` and `detection.motion-analysis` events on
|
|
200
|
+
* the bus.
|
|
201
|
+
*
|
|
202
|
+
* Distinct from `pipeline-orchestrator` (the hub-side load balancer) — the
|
|
203
|
+
* runner has zero knowledge of other agents, no global state, and never
|
|
204
|
+
* makes assignment decisions itself.
|
|
205
|
+
*/
|
|
206
|
+
export declare const pipelineRunnerCapability: {
|
|
207
|
+
readonly name: "pipeline-runner";
|
|
208
|
+
readonly scope: "system";
|
|
209
|
+
readonly mode: "singleton";
|
|
210
|
+
readonly methods: {
|
|
211
|
+
/** Attach a camera to this runner. Subscribes to local broker. */
|
|
212
|
+
readonly attachCamera: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
213
|
+
deviceId: z.ZodNumber;
|
|
214
|
+
detectionMode: z.ZodDefault<z.ZodEnum<{
|
|
215
|
+
disabled: "disabled";
|
|
216
|
+
"always-on": "always-on";
|
|
217
|
+
"on-motion": "on-motion";
|
|
218
|
+
}>>;
|
|
219
|
+
audioMode: z.ZodDefault<z.ZodEnum<{
|
|
220
|
+
disabled: "disabled";
|
|
221
|
+
"always-on": "always-on";
|
|
222
|
+
"on-motion": "on-motion";
|
|
223
|
+
}>>;
|
|
224
|
+
motionCooldownMs: z.ZodDefault<z.ZodNumber>;
|
|
225
|
+
motionFps: z.ZodDefault<z.ZodNumber>;
|
|
226
|
+
detectionFps: z.ZodDefault<z.ZodNumber>;
|
|
227
|
+
motionStreamId: z.ZodString;
|
|
228
|
+
detectionStreamId: z.ZodString;
|
|
229
|
+
motionSources: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
230
|
+
onboard: "onboard";
|
|
231
|
+
analyzer: "analyzer";
|
|
232
|
+
}>>>;
|
|
233
|
+
pipelineEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
234
|
+
engine: z.ZodOptional<z.ZodObject<{
|
|
235
|
+
runtime: z.ZodEnum<{
|
|
236
|
+
node: "node";
|
|
237
|
+
python: "python";
|
|
238
|
+
}>;
|
|
239
|
+
backend: z.ZodString;
|
|
240
|
+
format: z.ZodEnum<{
|
|
241
|
+
onnx: "onnx";
|
|
242
|
+
coreml: "coreml";
|
|
243
|
+
openvino: "openvino";
|
|
244
|
+
tflite: "tflite";
|
|
245
|
+
pt: "pt";
|
|
246
|
+
}>;
|
|
247
|
+
device: z.ZodOptional<z.ZodString>;
|
|
248
|
+
}, z.core.$strip>>;
|
|
249
|
+
steps: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>>;
|
|
250
|
+
audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
251
|
+
engine: z.ZodObject<{
|
|
252
|
+
runtime: z.ZodEnum<{
|
|
253
|
+
node: "node";
|
|
254
|
+
python: "python";
|
|
255
|
+
}>;
|
|
256
|
+
backend: z.ZodString;
|
|
257
|
+
format: z.ZodEnum<{
|
|
258
|
+
onnx: "onnx";
|
|
259
|
+
coreml: "coreml";
|
|
260
|
+
openvino: "openvino";
|
|
261
|
+
tflite: "tflite";
|
|
262
|
+
pt: "pt";
|
|
263
|
+
}>;
|
|
264
|
+
device: z.ZodOptional<z.ZodString>;
|
|
265
|
+
}, z.core.$strip>;
|
|
266
|
+
modelId: z.ZodString;
|
|
267
|
+
enabled: z.ZodBoolean;
|
|
268
|
+
}, z.core.$strip>>>;
|
|
269
|
+
zones: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
270
|
+
id: z.ZodString;
|
|
271
|
+
name: z.ZodString;
|
|
272
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
273
|
+
polygon: "polygon";
|
|
274
|
+
tripwire: "tripwire";
|
|
275
|
+
}>>;
|
|
276
|
+
polygon: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
277
|
+
x: z.ZodNumber;
|
|
278
|
+
y: z.ZodNumber;
|
|
279
|
+
}, z.core.$strip>>>;
|
|
280
|
+
color: z.ZodDefault<z.ZodString>;
|
|
281
|
+
}, z.core.$strip>>>>;
|
|
282
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
283
|
+
success: z.ZodLiteral<true>;
|
|
284
|
+
}, z.core.$strip>, "mutation">;
|
|
285
|
+
/** Detach a camera. Unsubscribes from local broker, clears queues. */
|
|
286
|
+
readonly detachCamera: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
287
|
+
deviceId: z.ZodNumber;
|
|
288
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
289
|
+
success: z.ZodLiteral<true>;
|
|
290
|
+
}, z.core.$strip>, "mutation">;
|
|
291
|
+
/**
|
|
292
|
+
* Report an external motion event for a camera. Drives the runner's
|
|
293
|
+
* phase machine: every `detected: true` clears + rearms the
|
|
294
|
+
* cooldown timer (`motionCooldownMs`); when the timer expires the
|
|
295
|
+
* camera returns to `watching`. `detected: false` is a no-op —
|
|
296
|
+
* onboard sources never send an explicit clear, the timer is the
|
|
297
|
+
* single closure path.
|
|
298
|
+
*
|
|
299
|
+
* `source` discriminates which motion path triggered the event so
|
|
300
|
+
* the runner can attach the right metadata to the cap-state event
|
|
301
|
+
* (analyzer carries `regions[]`, onboard does not). `regions` is
|
|
302
|
+
* populated only for `source: 'analyzer'` — the analyzer's
|
|
303
|
+
* frame-diff result. Always-on cameras silently ignore
|
|
304
|
+
* reportMotion calls.
|
|
305
|
+
*/
|
|
306
|
+
readonly reportMotion: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
307
|
+
deviceId: z.ZodNumber;
|
|
308
|
+
detected: z.ZodBoolean;
|
|
309
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
310
|
+
onboard: "onboard";
|
|
311
|
+
analyzer: "analyzer";
|
|
312
|
+
}>>;
|
|
313
|
+
regions: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
314
|
+
bbox: z.ZodObject<{
|
|
315
|
+
x: z.ZodNumber;
|
|
316
|
+
y: z.ZodNumber;
|
|
317
|
+
w: z.ZodNumber;
|
|
318
|
+
h: z.ZodNumber;
|
|
319
|
+
}, z.core.$strip>;
|
|
320
|
+
pixelCount: z.ZodNumber;
|
|
321
|
+
intensity: z.ZodNumber;
|
|
322
|
+
}, z.core.$strip>>>>;
|
|
323
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
324
|
+
success: z.ZodLiteral<true>;
|
|
325
|
+
}, z.core.$strip>, "mutation">;
|
|
326
|
+
/** Return load summary used by the orchestrator's load balancer. */
|
|
327
|
+
readonly getLocalLoad: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
328
|
+
nodeId: z.ZodString;
|
|
329
|
+
attachedCameras: z.ZodNumber;
|
|
330
|
+
activeCameras: z.ZodNumber;
|
|
331
|
+
avgInferenceFps: z.ZodNumber;
|
|
332
|
+
avgInferenceTimeMs: z.ZodNumber;
|
|
333
|
+
queueDepthTotal: z.ZodNumber;
|
|
334
|
+
hardware: z.ZodObject<{
|
|
335
|
+
hasGpu: z.ZodBoolean;
|
|
336
|
+
inferenceBackend: z.ZodOptional<z.ZodString>;
|
|
337
|
+
cpuCores: z.ZodOptional<z.ZodNumber>;
|
|
338
|
+
}, z.core.$strip>;
|
|
339
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
340
|
+
/** Return aggregate runtime metrics for this runner instance. */
|
|
341
|
+
readonly getLocalMetrics: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
342
|
+
nodeId: z.ZodString;
|
|
343
|
+
activeCameras: z.ZodNumber;
|
|
344
|
+
throttledCameras: z.ZodNumber;
|
|
345
|
+
avgInferenceTimeMs: z.ZodNumber;
|
|
346
|
+
queueDepth: z.ZodNumber;
|
|
347
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
348
|
+
/** Per-camera metrics for cameras attached to this runner. */
|
|
349
|
+
readonly getCameraMetrics: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
350
|
+
deviceId: z.ZodNumber;
|
|
351
|
+
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
352
|
+
detectionMode: z.ZodEnum<{
|
|
353
|
+
disabled: "disabled";
|
|
354
|
+
"always-on": "always-on";
|
|
355
|
+
"on-motion": "on-motion";
|
|
356
|
+
}>;
|
|
357
|
+
configuredFps: z.ZodNumber;
|
|
358
|
+
actualFps: z.ZodNumber;
|
|
359
|
+
queueDepth: z.ZodNumber;
|
|
360
|
+
avgInferenceTimeMs: z.ZodNumber;
|
|
361
|
+
droppedFrames: z.ZodNumber;
|
|
362
|
+
phase: z.ZodEnum<{
|
|
363
|
+
idle: "idle";
|
|
364
|
+
watching: "watching";
|
|
365
|
+
active: "active";
|
|
366
|
+
}>;
|
|
367
|
+
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
368
|
+
/** All per-camera metrics in one round-trip. */
|
|
369
|
+
readonly getAllCameraMetrics: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
370
|
+
detectionMode: z.ZodEnum<{
|
|
371
|
+
disabled: "disabled";
|
|
372
|
+
"always-on": "always-on";
|
|
373
|
+
"on-motion": "on-motion";
|
|
374
|
+
}>;
|
|
375
|
+
configuredFps: z.ZodNumber;
|
|
376
|
+
actualFps: z.ZodNumber;
|
|
377
|
+
queueDepth: z.ZodNumber;
|
|
378
|
+
avgInferenceTimeMs: z.ZodNumber;
|
|
379
|
+
droppedFrames: z.ZodNumber;
|
|
380
|
+
phase: z.ZodEnum<{
|
|
381
|
+
idle: "idle";
|
|
382
|
+
watching: "watching";
|
|
383
|
+
active: "active";
|
|
384
|
+
}>;
|
|
385
|
+
deviceId: z.ZodNumber;
|
|
386
|
+
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
387
|
+
/** List the deviceIds currently attached to this runner. */
|
|
388
|
+
readonly getLocalCameras: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodNumber>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
389
|
+
};
|
|
390
|
+
};
|
|
391
|
+
export type IPipelineRunnerProvider = InferProvider<typeof pipelineRunnerCapability>;
|
|
392
|
+
export { RunnerCameraConfigSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema };
|
|
393
|
+
//# sourceMappingURL=pipeline-runner.cap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipeline-runner.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/pipeline-runner.cap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAqC,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAKlG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAY7D;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB;;;EAAkC,CAAA;AAC/D,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAE3D;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,mBAAmB;;;GAA4B,CAAA;AAC5D,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAE/D;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;iBAKlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAEvE;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA6D5B,CAAA;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,0BAA0B,EAAE,SAAS,WAAW,EA2DnD,CAAA;AAEV;;;;GAIG;AACH,QAAA,MAAM,qBAAqB;;;;;;;;;;;;iBAmBzB,CAAA;AAEF;;;;GAIG;AACH,QAAA,MAAM,wBAAwB;;;;;;iBAM5B,CAAA;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,wBAAwB;;;;;QAMjC,kEAAkE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAElE,sEAAsE;;;;;;QAEtE;;;;;;;;;;;;;;WAcG;;;;;;;;;;;;;;;;;;;;;QAQH,oEAAoE;;;;;;;;;;;;;;QAEpE,iEAAiE;;;;;;;;QAEjE,8DAA8D;;;;;;;;;;;;;;;;;;;;QAE9D,gDAAgD;;;;;;;;;;;;;;;;;;;QAEhD,4DAA4D;;;CASvB,CAAA;AAEzC,MAAM,MAAM,uBAAuB,GAAG,aAAa,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAEpF,OAAO,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,CAAA"}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { type InferProvider } from './capability-definition.js';
|
|
3
|
+
export declare const platformProbeCapability: {
|
|
4
|
+
readonly name: "platform-probe";
|
|
5
|
+
readonly scope: "system";
|
|
6
|
+
readonly mode: "singleton";
|
|
7
|
+
readonly methods: {
|
|
8
|
+
/** Return cached hardware + scored backends for this node. */
|
|
9
|
+
readonly getCapabilities: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
10
|
+
hardware: z.ZodObject<{
|
|
11
|
+
platform: z.ZodEnum<{
|
|
12
|
+
darwin: "darwin";
|
|
13
|
+
linux: "linux";
|
|
14
|
+
win32: "win32";
|
|
15
|
+
}>;
|
|
16
|
+
arch: z.ZodEnum<{
|
|
17
|
+
arm64: "arm64";
|
|
18
|
+
x64: "x64";
|
|
19
|
+
}>;
|
|
20
|
+
cpuModel: z.ZodString;
|
|
21
|
+
cpuCores: z.ZodNumber;
|
|
22
|
+
totalRAM_MB: z.ZodNumber;
|
|
23
|
+
availableRAM_MB: z.ZodNumber;
|
|
24
|
+
gpu: z.ZodNullable<z.ZodObject<{
|
|
25
|
+
type: z.ZodEnum<{
|
|
26
|
+
nvidia: "nvidia";
|
|
27
|
+
amd: "amd";
|
|
28
|
+
intel: "intel";
|
|
29
|
+
apple: "apple";
|
|
30
|
+
}>;
|
|
31
|
+
name: z.ZodString;
|
|
32
|
+
memoryMB: z.ZodOptional<z.ZodNumber>;
|
|
33
|
+
}, z.core.$strip>>;
|
|
34
|
+
npu: z.ZodNullable<z.ZodObject<{
|
|
35
|
+
type: z.ZodEnum<{
|
|
36
|
+
"apple-ane": "apple-ane";
|
|
37
|
+
"intel-npu": "intel-npu";
|
|
38
|
+
}>;
|
|
39
|
+
}, z.core.$strip>>;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
scores: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
42
|
+
runtime: z.ZodEnum<{
|
|
43
|
+
node: "node";
|
|
44
|
+
python: "python";
|
|
45
|
+
}>;
|
|
46
|
+
backend: z.ZodString;
|
|
47
|
+
format: z.ZodEnum<{
|
|
48
|
+
onnx: "onnx";
|
|
49
|
+
coreml: "coreml";
|
|
50
|
+
openvino: "openvino";
|
|
51
|
+
}>;
|
|
52
|
+
score: z.ZodNumber;
|
|
53
|
+
reason: z.ZodString;
|
|
54
|
+
available: z.ZodBoolean;
|
|
55
|
+
}, z.core.$strip>>>;
|
|
56
|
+
bestScore: z.ZodObject<{
|
|
57
|
+
runtime: z.ZodEnum<{
|
|
58
|
+
node: "node";
|
|
59
|
+
python: "python";
|
|
60
|
+
}>;
|
|
61
|
+
backend: z.ZodString;
|
|
62
|
+
format: z.ZodEnum<{
|
|
63
|
+
onnx: "onnx";
|
|
64
|
+
coreml: "coreml";
|
|
65
|
+
openvino: "openvino";
|
|
66
|
+
}>;
|
|
67
|
+
score: z.ZodNumber;
|
|
68
|
+
reason: z.ZodString;
|
|
69
|
+
available: z.ZodBoolean;
|
|
70
|
+
}, z.core.$strip>;
|
|
71
|
+
pythonPath: z.ZodNullable<z.ZodString>;
|
|
72
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
73
|
+
/** Convenience getter — hardware only. */
|
|
74
|
+
readonly getHardware: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
75
|
+
platform: z.ZodEnum<{
|
|
76
|
+
darwin: "darwin";
|
|
77
|
+
linux: "linux";
|
|
78
|
+
win32: "win32";
|
|
79
|
+
}>;
|
|
80
|
+
arch: z.ZodEnum<{
|
|
81
|
+
arm64: "arm64";
|
|
82
|
+
x64: "x64";
|
|
83
|
+
}>;
|
|
84
|
+
cpuModel: z.ZodString;
|
|
85
|
+
cpuCores: z.ZodNumber;
|
|
86
|
+
totalRAM_MB: z.ZodNumber;
|
|
87
|
+
availableRAM_MB: z.ZodNumber;
|
|
88
|
+
gpu: z.ZodNullable<z.ZodObject<{
|
|
89
|
+
type: z.ZodEnum<{
|
|
90
|
+
nvidia: "nvidia";
|
|
91
|
+
amd: "amd";
|
|
92
|
+
intel: "intel";
|
|
93
|
+
apple: "apple";
|
|
94
|
+
}>;
|
|
95
|
+
name: z.ZodString;
|
|
96
|
+
memoryMB: z.ZodOptional<z.ZodNumber>;
|
|
97
|
+
}, z.core.$strip>>;
|
|
98
|
+
npu: z.ZodNullable<z.ZodObject<{
|
|
99
|
+
type: z.ZodEnum<{
|
|
100
|
+
"apple-ane": "apple-ane";
|
|
101
|
+
"intel-npu": "intel-npu";
|
|
102
|
+
}>;
|
|
103
|
+
}, z.core.$strip>>;
|
|
104
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
105
|
+
/**
|
|
106
|
+
* Resolve the best (model, runtime, backend, format) for a given list
|
|
107
|
+
* of requirements, using this node's scored backends as the candidate
|
|
108
|
+
* pool. Always returns a config — falls back to CPU when no preferred
|
|
109
|
+
* backend matches.
|
|
110
|
+
*/
|
|
111
|
+
readonly resolveInferenceConfig: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
112
|
+
requirements: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
113
|
+
modelId: z.ZodString;
|
|
114
|
+
name: z.ZodString;
|
|
115
|
+
minRAM_MB: z.ZodNumber;
|
|
116
|
+
accuracyScore: z.ZodNumber;
|
|
117
|
+
formats: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
118
|
+
}, z.core.$strip>>>;
|
|
119
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
120
|
+
modelId: z.ZodString;
|
|
121
|
+
runtime: z.ZodEnum<{
|
|
122
|
+
node: "node";
|
|
123
|
+
python: "python";
|
|
124
|
+
}>;
|
|
125
|
+
backend: z.ZodString;
|
|
126
|
+
format: z.ZodEnum<{
|
|
127
|
+
onnx: "onnx";
|
|
128
|
+
coreml: "coreml";
|
|
129
|
+
openvino: "openvino";
|
|
130
|
+
tflite: "tflite";
|
|
131
|
+
pt: "pt";
|
|
132
|
+
}>;
|
|
133
|
+
reason: z.ZodString;
|
|
134
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
135
|
+
/**
|
|
136
|
+
* Resolve the ordered HW acceleration backend list for this node.
|
|
137
|
+
* Pass `prefer` to hint a specific backend; pass `null` or omit
|
|
138
|
+
* for auto-detection. Replaces the legacy `$hwaccel.resolve`
|
|
139
|
+
* Moleculer action — cap routing handles per-node dispatch via
|
|
140
|
+
* `nodeId`.
|
|
141
|
+
*/
|
|
142
|
+
readonly resolveHwAccel: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
143
|
+
prefer: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
144
|
+
coreml: "coreml";
|
|
145
|
+
openvino: "openvino";
|
|
146
|
+
tensorrt: "tensorrt";
|
|
147
|
+
none: "none";
|
|
148
|
+
videotoolbox: "videotoolbox";
|
|
149
|
+
cuda: "cuda";
|
|
150
|
+
nvdec: "nvdec";
|
|
151
|
+
vaapi: "vaapi";
|
|
152
|
+
qsv: "qsv";
|
|
153
|
+
d3d11va: "d3d11va";
|
|
154
|
+
dxva2: "dxva2";
|
|
155
|
+
amf: "amf";
|
|
156
|
+
vdpau: "vdpau";
|
|
157
|
+
drm: "drm";
|
|
158
|
+
directml: "directml";
|
|
159
|
+
webgpu: "webgpu";
|
|
160
|
+
}>>>;
|
|
161
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
162
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
163
|
+
preferred: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
164
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
export type IPlatformProbeProvider = InferProvider<typeof platformProbeCapability>;
|
|
168
|
+
//# sourceMappingURL=platform-probe.cap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform-probe.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/platform-probe.cap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAqC,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAuFlG,eAAO,MAAM,uBAAuB;;;;;QAKhC,8DAA8D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAK9D,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAK1C;;;;;WAKG;;;;;;;;;;;;;;;;;;;;;;;;;QAOH;;;;;;WAMG;;;;;;;;;;;;;;;;;;;;;;;;;CASkC,CAAA;AAEzC,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
|