@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,793 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { type InferProvider } from './capability-definition.js';
|
|
3
|
+
declare const CameraPipelineConfigSchema: z.ZodObject<{
|
|
4
|
+
engine: z.ZodObject<{
|
|
5
|
+
runtime: z.ZodEnum<{
|
|
6
|
+
node: "node";
|
|
7
|
+
python: "python";
|
|
8
|
+
}>;
|
|
9
|
+
backend: z.ZodString;
|
|
10
|
+
format: z.ZodEnum<{
|
|
11
|
+
onnx: "onnx";
|
|
12
|
+
coreml: "coreml";
|
|
13
|
+
openvino: "openvino";
|
|
14
|
+
tflite: "tflite";
|
|
15
|
+
pt: "pt";
|
|
16
|
+
}>;
|
|
17
|
+
device: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
|
|
20
|
+
audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
21
|
+
engine: z.ZodObject<{
|
|
22
|
+
runtime: z.ZodEnum<{
|
|
23
|
+
node: "node";
|
|
24
|
+
python: "python";
|
|
25
|
+
}>;
|
|
26
|
+
backend: z.ZodString;
|
|
27
|
+
format: z.ZodEnum<{
|
|
28
|
+
onnx: "onnx";
|
|
29
|
+
coreml: "coreml";
|
|
30
|
+
openvino: "openvino";
|
|
31
|
+
tflite: "tflite";
|
|
32
|
+
pt: "pt";
|
|
33
|
+
}>;
|
|
34
|
+
device: z.ZodOptional<z.ZodString>;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
modelId: z.ZodString;
|
|
37
|
+
enabled: z.ZodBoolean;
|
|
38
|
+
settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
39
|
+
}, z.core.$strip>>>;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
declare const PipelineTemplateSchema: z.ZodObject<{
|
|
42
|
+
id: z.ZodString;
|
|
43
|
+
name: z.ZodString;
|
|
44
|
+
description: z.ZodOptional<z.ZodString>;
|
|
45
|
+
config: z.ZodObject<{
|
|
46
|
+
engine: z.ZodObject<{
|
|
47
|
+
runtime: z.ZodEnum<{
|
|
48
|
+
node: "node";
|
|
49
|
+
python: "python";
|
|
50
|
+
}>;
|
|
51
|
+
backend: z.ZodString;
|
|
52
|
+
format: z.ZodEnum<{
|
|
53
|
+
onnx: "onnx";
|
|
54
|
+
coreml: "coreml";
|
|
55
|
+
openvino: "openvino";
|
|
56
|
+
tflite: "tflite";
|
|
57
|
+
pt: "pt";
|
|
58
|
+
}>;
|
|
59
|
+
device: z.ZodOptional<z.ZodString>;
|
|
60
|
+
}, z.core.$strip>;
|
|
61
|
+
steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
|
|
62
|
+
audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
63
|
+
engine: z.ZodObject<{
|
|
64
|
+
runtime: z.ZodEnum<{
|
|
65
|
+
node: "node";
|
|
66
|
+
python: "python";
|
|
67
|
+
}>;
|
|
68
|
+
backend: z.ZodString;
|
|
69
|
+
format: z.ZodEnum<{
|
|
70
|
+
onnx: "onnx";
|
|
71
|
+
coreml: "coreml";
|
|
72
|
+
openvino: "openvino";
|
|
73
|
+
tflite: "tflite";
|
|
74
|
+
pt: "pt";
|
|
75
|
+
}>;
|
|
76
|
+
device: z.ZodOptional<z.ZodString>;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
modelId: z.ZodString;
|
|
79
|
+
enabled: z.ZodBoolean;
|
|
80
|
+
settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
81
|
+
}, z.core.$strip>>>;
|
|
82
|
+
}, z.core.$strip>;
|
|
83
|
+
createdAt: z.ZodString;
|
|
84
|
+
updatedAt: z.ZodString;
|
|
85
|
+
}, z.core.$strip>;
|
|
86
|
+
declare const CameraStepOverridePatchSchema: z.ZodObject<{
|
|
87
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
88
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
89
|
+
settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
90
|
+
}, z.core.$strip>;
|
|
91
|
+
/**
|
|
92
|
+
* Pipeline placement record persisted by `addon-pipeline-orchestrator` via
|
|
93
|
+
* the multi-level settings store. The orchestrator looks up these records
|
|
94
|
+
* on every `DeviceStreamsRegistered` event to decide whether the camera
|
|
95
|
+
* has a manual pipeline node pin (L1 affinity) or whether the load
|
|
96
|
+
* balancer (L2 capacity / L3 hardware-aware) needs to pick one.
|
|
97
|
+
*
|
|
98
|
+
* Naming convention: `{Pipeline,Decoder}AssignmentSchema` — one schema per
|
|
99
|
+
* placement domain managed by the orchestrator.
|
|
100
|
+
*/
|
|
101
|
+
declare const PipelineAssignmentSchema: z.ZodObject<{
|
|
102
|
+
deviceId: z.ZodNumber;
|
|
103
|
+
agentNodeId: z.ZodString;
|
|
104
|
+
pinned: z.ZodBoolean;
|
|
105
|
+
reason: z.ZodEnum<{
|
|
106
|
+
rebalance: "rebalance";
|
|
107
|
+
manual: "manual";
|
|
108
|
+
capacity: "capacity";
|
|
109
|
+
"hardware-affinity": "hardware-affinity";
|
|
110
|
+
failover: "failover";
|
|
111
|
+
}>;
|
|
112
|
+
assignedAt: z.ZodNumber;
|
|
113
|
+
}, z.core.$strip>;
|
|
114
|
+
/**
|
|
115
|
+
* Decoder placement record. Symmetric to `PipelineAssignmentSchema` but for
|
|
116
|
+
* the decoder-node placement domain (`balanceDecoder` decision: manual pin
|
|
117
|
+
* → co-located with pipeline → capacity).
|
|
118
|
+
*/
|
|
119
|
+
declare const DecoderAssignmentSchema: z.ZodObject<{
|
|
120
|
+
deviceId: z.ZodNumber;
|
|
121
|
+
decoderNodeId: z.ZodString;
|
|
122
|
+
pinned: z.ZodBoolean;
|
|
123
|
+
reason: z.ZodEnum<{
|
|
124
|
+
manual: "manual";
|
|
125
|
+
capacity: "capacity";
|
|
126
|
+
"hardware-affinity": "hardware-affinity";
|
|
127
|
+
"co-located": "co-located";
|
|
128
|
+
}>;
|
|
129
|
+
}, z.core.$strip>;
|
|
130
|
+
/**
|
|
131
|
+
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
132
|
+
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
133
|
+
*/
|
|
134
|
+
declare const AgentLoadSummarySchema: z.ZodObject<{
|
|
135
|
+
nodeId: z.ZodString;
|
|
136
|
+
online: z.ZodBoolean;
|
|
137
|
+
load: z.ZodObject<{
|
|
138
|
+
nodeId: z.ZodString;
|
|
139
|
+
attachedCameras: z.ZodNumber;
|
|
140
|
+
activeCameras: z.ZodNumber;
|
|
141
|
+
avgInferenceFps: z.ZodNumber;
|
|
142
|
+
avgInferenceTimeMs: z.ZodNumber;
|
|
143
|
+
queueDepthTotal: z.ZodNumber;
|
|
144
|
+
hardware: z.ZodObject<{
|
|
145
|
+
hasGpu: z.ZodBoolean;
|
|
146
|
+
inferenceBackend: z.ZodOptional<z.ZodString>;
|
|
147
|
+
cpuCores: z.ZodOptional<z.ZodNumber>;
|
|
148
|
+
}, z.core.$strip>;
|
|
149
|
+
}, z.core.$strip>;
|
|
150
|
+
score: z.ZodNumber;
|
|
151
|
+
}, z.core.$strip>;
|
|
152
|
+
/**
|
|
153
|
+
* Aggregate metrics across the whole detection cluster. Replaces the legacy
|
|
154
|
+
* `IPipelineExecutorProvider.orchestratorStatus()` cap method as the
|
|
155
|
+
* canonical source of truth for global pipeline health.
|
|
156
|
+
*/
|
|
157
|
+
declare const GlobalMetricsSchema: z.ZodObject<{
|
|
158
|
+
totalAgents: z.ZodNumber;
|
|
159
|
+
onlineAgents: z.ZodNumber;
|
|
160
|
+
totalCameras: z.ZodNumber;
|
|
161
|
+
attachedCameras: z.ZodNumber;
|
|
162
|
+
activeCameras: z.ZodNumber;
|
|
163
|
+
avgInferenceTimeMs: z.ZodNumber;
|
|
164
|
+
queueDepth: z.ZodNumber;
|
|
165
|
+
}, z.core.$strip>;
|
|
166
|
+
/**
|
|
167
|
+
* Per-node capability binding map: which addon implements each well-known
|
|
168
|
+
* cap on the named node. Persisted hub-side under
|
|
169
|
+
* `addon:pipeline-orchestrator` settings keyed by `nodeBindings.<nodeId>`.
|
|
170
|
+
*
|
|
171
|
+
* The kernel of each process consults its local copy of this map (via the
|
|
172
|
+
* `capability.binding-changed` event subscription) when resolving
|
|
173
|
+
* capability providers.
|
|
174
|
+
*/
|
|
175
|
+
declare const CapabilityBindingsSchema: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
176
|
+
/**
|
|
177
|
+
* Pipeline Orchestrator capability — global load balancer + camera dispatcher.
|
|
178
|
+
*
|
|
179
|
+
* Lives on the hub. Tracks the camera-to-agent assignment map, listens to
|
|
180
|
+
* device lifecycle events, queries each runner's capacity + hardware
|
|
181
|
+
* profile, and dispatches `attachCamera` / `detachCamera` cap calls to the
|
|
182
|
+
* appropriate runner instances. Persists assignments via the multi-level
|
|
183
|
+
* settings store so they survive hub restarts.
|
|
184
|
+
*
|
|
185
|
+
* Strictly the control plane: never sees a frame, never calls inference,
|
|
186
|
+
* never drains queues. The runner does that work locally on each agent.
|
|
187
|
+
*/
|
|
188
|
+
export declare const pipelineOrchestratorCapability: {
|
|
189
|
+
readonly name: "pipeline-orchestrator";
|
|
190
|
+
readonly scope: "system";
|
|
191
|
+
readonly mode: "singleton";
|
|
192
|
+
readonly exposesDeviceSettings: true;
|
|
193
|
+
readonly methods: {
|
|
194
|
+
/**
|
|
195
|
+
* Pin a camera's pipeline to a specific agent (L1 affinity).
|
|
196
|
+
* The orchestrator re-evaluates the assignment immediately.
|
|
197
|
+
*/
|
|
198
|
+
readonly assignPipeline: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
199
|
+
deviceId: z.ZodNumber;
|
|
200
|
+
agentNodeId: z.ZodString;
|
|
201
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
202
|
+
success: z.ZodLiteral<true>;
|
|
203
|
+
}, z.core.$strip>, "mutation">;
|
|
204
|
+
/**
|
|
205
|
+
* Clear a camera's pipeline pin and let the auto-balancer re-pick
|
|
206
|
+
* the optimal agent. The orchestrator persists `preferredAgent=null`
|
|
207
|
+
* (and `pipelineNodeId='auto'`), then re-runs the balancer with the
|
|
208
|
+
* cached `RunnerCameraConfig` and migrates only when the chosen
|
|
209
|
+
* node differs. The camera stays in `getPipelineAssignments()` —
|
|
210
|
+
* just with `pinned=false`. If no runner is currently available
|
|
211
|
+
* (cluster-wide), the camera is left unassigned but the cached
|
|
212
|
+
* config is kept so the next dispatch event re-attaches it.
|
|
213
|
+
*/
|
|
214
|
+
readonly unassignPipeline: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
215
|
+
deviceId: z.ZodNumber;
|
|
216
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
217
|
+
success: z.ZodLiteral<true>;
|
|
218
|
+
}, z.core.$strip>, "mutation">;
|
|
219
|
+
/**
|
|
220
|
+
* Trigger a full rebalance pass. Iterates over all assigned cameras,
|
|
221
|
+
* recomputes the optimal agent for each one based on current load +
|
|
222
|
+
* hardware affinity, and migrates cameras whose current agent is no
|
|
223
|
+
* longer optimal. Pinned cameras are never migrated.
|
|
224
|
+
*/
|
|
225
|
+
readonly rebalance: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
226
|
+
migrated: z.ZodNumber;
|
|
227
|
+
}, z.core.$strip>, "mutation">;
|
|
228
|
+
/** Get the full camera-to-agent assignment map. */
|
|
229
|
+
readonly getPipelineAssignments: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
230
|
+
deviceId: z.ZodNumber;
|
|
231
|
+
agentNodeId: z.ZodString;
|
|
232
|
+
pinned: z.ZodBoolean;
|
|
233
|
+
reason: z.ZodEnum<{
|
|
234
|
+
rebalance: "rebalance";
|
|
235
|
+
manual: "manual";
|
|
236
|
+
capacity: "capacity";
|
|
237
|
+
"hardware-affinity": "hardware-affinity";
|
|
238
|
+
failover: "failover";
|
|
239
|
+
}>;
|
|
240
|
+
assignedAt: z.ZodNumber;
|
|
241
|
+
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
242
|
+
/** Get one camera's assignment, or null if unassigned. */
|
|
243
|
+
readonly getPipelineAssignment: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
244
|
+
deviceId: z.ZodNumber;
|
|
245
|
+
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
246
|
+
deviceId: z.ZodNumber;
|
|
247
|
+
agentNodeId: z.ZodString;
|
|
248
|
+
pinned: z.ZodBoolean;
|
|
249
|
+
reason: z.ZodEnum<{
|
|
250
|
+
rebalance: "rebalance";
|
|
251
|
+
manual: "manual";
|
|
252
|
+
capacity: "capacity";
|
|
253
|
+
"hardware-affinity": "hardware-affinity";
|
|
254
|
+
failover: "failover";
|
|
255
|
+
}>;
|
|
256
|
+
assignedAt: z.ZodNumber;
|
|
257
|
+
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
258
|
+
/** Get per-agent load summaries used by the load balancer + dashboards. */
|
|
259
|
+
readonly getAgentLoad: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
260
|
+
nodeId: z.ZodString;
|
|
261
|
+
online: z.ZodBoolean;
|
|
262
|
+
load: z.ZodObject<{
|
|
263
|
+
nodeId: z.ZodString;
|
|
264
|
+
attachedCameras: z.ZodNumber;
|
|
265
|
+
activeCameras: z.ZodNumber;
|
|
266
|
+
avgInferenceFps: z.ZodNumber;
|
|
267
|
+
avgInferenceTimeMs: z.ZodNumber;
|
|
268
|
+
queueDepthTotal: z.ZodNumber;
|
|
269
|
+
hardware: z.ZodObject<{
|
|
270
|
+
hasGpu: z.ZodBoolean;
|
|
271
|
+
inferenceBackend: z.ZodOptional<z.ZodString>;
|
|
272
|
+
cpuCores: z.ZodOptional<z.ZodNumber>;
|
|
273
|
+
}, z.core.$strip>;
|
|
274
|
+
}, z.core.$strip>;
|
|
275
|
+
score: z.ZodNumber;
|
|
276
|
+
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
277
|
+
/** Aggregate global metrics across the whole detection cluster. */
|
|
278
|
+
readonly getGlobalMetrics: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
279
|
+
totalAgents: z.ZodNumber;
|
|
280
|
+
onlineAgents: z.ZodNumber;
|
|
281
|
+
totalCameras: z.ZodNumber;
|
|
282
|
+
attachedCameras: z.ZodNumber;
|
|
283
|
+
activeCameras: z.ZodNumber;
|
|
284
|
+
avgInferenceTimeMs: z.ZodNumber;
|
|
285
|
+
queueDepth: z.ZodNumber;
|
|
286
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
287
|
+
/**
|
|
288
|
+
* Per-camera live metrics (phase, fps, inference, queue, drops).
|
|
289
|
+
* The orchestrator owns the device→agent assignment map and is the
|
|
290
|
+
* canonical place to ask "give me the metrics for this camera". It
|
|
291
|
+
* resolves the agent that holds the camera and delegates to that
|
|
292
|
+
* runner's `getCameraMetrics`. Returns null if the device is not
|
|
293
|
+
* assigned or the runner has no record for it (e.g. the camera was
|
|
294
|
+
* just dispatched and the runner hasn't received the first frame).
|
|
295
|
+
*/
|
|
296
|
+
readonly getCameraMetrics: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
297
|
+
deviceId: z.ZodNumber;
|
|
298
|
+
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
299
|
+
detectionMode: z.ZodEnum<{
|
|
300
|
+
disabled: "disabled";
|
|
301
|
+
"always-on": "always-on";
|
|
302
|
+
"on-motion": "on-motion";
|
|
303
|
+
}>;
|
|
304
|
+
configuredFps: z.ZodNumber;
|
|
305
|
+
actualFps: z.ZodNumber;
|
|
306
|
+
queueDepth: z.ZodNumber;
|
|
307
|
+
avgInferenceTimeMs: z.ZodNumber;
|
|
308
|
+
droppedFrames: z.ZodNumber;
|
|
309
|
+
phase: z.ZodEnum<{
|
|
310
|
+
idle: "idle";
|
|
311
|
+
watching: "watching";
|
|
312
|
+
active: "active";
|
|
313
|
+
}>;
|
|
314
|
+
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
315
|
+
/** Read the capability binding map for one node. Empty record = no overrides (first-registered wins). */
|
|
316
|
+
readonly getCapabilityBindings: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
317
|
+
nodeId: z.ZodString;
|
|
318
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodString>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
319
|
+
/** Set the addon that implements `capName` on `nodeId`. Emits `capability.binding-changed`. */
|
|
320
|
+
readonly setCapabilityBinding: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
321
|
+
nodeId: z.ZodString;
|
|
322
|
+
capName: z.ZodString;
|
|
323
|
+
addonId: z.ZodString;
|
|
324
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
325
|
+
success: z.ZodLiteral<true>;
|
|
326
|
+
}, z.core.$strip>, "mutation">;
|
|
327
|
+
/** Pin a device's decoder to a specific node. */
|
|
328
|
+
readonly assignDecoder: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
329
|
+
deviceId: z.ZodNumber;
|
|
330
|
+
nodeId: z.ZodString;
|
|
331
|
+
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
332
|
+
/** Clear a device's decoder pin (revert to auto). */
|
|
333
|
+
readonly unassignDecoder: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
334
|
+
deviceId: z.ZodNumber;
|
|
335
|
+
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
336
|
+
/** Get every camera's decoder placement. */
|
|
337
|
+
readonly getDecoderAssignments: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
338
|
+
deviceId: z.ZodNumber;
|
|
339
|
+
decoderNodeId: z.ZodString;
|
|
340
|
+
pinned: z.ZodBoolean;
|
|
341
|
+
reason: z.ZodEnum<{
|
|
342
|
+
manual: "manual";
|
|
343
|
+
capacity: "capacity";
|
|
344
|
+
"hardware-affinity": "hardware-affinity";
|
|
345
|
+
"co-located": "co-located";
|
|
346
|
+
}>;
|
|
347
|
+
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
348
|
+
/** Pin a device's audio analysis to a specific cluster node. */
|
|
349
|
+
readonly assignAudio: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
350
|
+
deviceId: z.ZodNumber;
|
|
351
|
+
nodeId: z.ZodString;
|
|
352
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
353
|
+
success: z.ZodLiteral<true>;
|
|
354
|
+
}, z.core.$strip>, "mutation">;
|
|
355
|
+
/** Clear a device's audio node pin (revert to auto load-balanced). */
|
|
356
|
+
readonly unassignAudio: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
357
|
+
deviceId: z.ZodNumber;
|
|
358
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
359
|
+
success: z.ZodLiteral<true>;
|
|
360
|
+
}, z.core.$strip>, "mutation">;
|
|
361
|
+
/** Get the current audio assignment for one device, or null if not yet assigned. */
|
|
362
|
+
readonly getAudioAssignment: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
363
|
+
deviceId: z.ZodNumber;
|
|
364
|
+
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
365
|
+
nodeId: z.ZodString;
|
|
366
|
+
pinned: z.ZodBoolean;
|
|
367
|
+
assignedAt: z.ZodNumber;
|
|
368
|
+
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
369
|
+
/** Get per-node audio load (device counts) for all known audio-analyzer nodes. */
|
|
370
|
+
readonly getAudioNodeLoad: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodArray<z.ZodObject<{
|
|
371
|
+
nodeId: z.ZodString;
|
|
372
|
+
deviceCount: z.ZodNumber;
|
|
373
|
+
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
374
|
+
/** Get all current audio assignments across all devices. */
|
|
375
|
+
readonly getAudioAssignments: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodArray<z.ZodObject<{
|
|
376
|
+
deviceId: z.ZodNumber;
|
|
377
|
+
nodeId: z.ZodString;
|
|
378
|
+
pinned: z.ZodBoolean;
|
|
379
|
+
assignedAt: z.ZodNumber;
|
|
380
|
+
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
381
|
+
/**
|
|
382
|
+
* Get one camera's decoder placement (computed if not yet pinned).
|
|
383
|
+
* Consumed by `stream-broker.createBroker` so decoder provider
|
|
384
|
+
* selection is deterministic — fixes the 2026-04-18 race where
|
|
385
|
+
* `capProviders[0]` silently picked ffmpeg-on-agent-0 for a
|
|
386
|
+
* hub-assigned camera.
|
|
387
|
+
*
|
|
388
|
+
* `pipelineNodeId` is the node already chosen to run inference for
|
|
389
|
+
* this camera. When provided, the balancer prefers co-location with
|
|
390
|
+
* it; omitted → falls back to the last known assignment in the
|
|
391
|
+
* `assignments` map and finally to 'hub'.
|
|
392
|
+
*/
|
|
393
|
+
readonly getDecoderAssignment: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
394
|
+
deviceId: z.ZodNumber;
|
|
395
|
+
pipelineNodeId: z.ZodOptional<z.ZodString>;
|
|
396
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
397
|
+
deviceId: z.ZodNumber;
|
|
398
|
+
decoderNodeId: z.ZodString;
|
|
399
|
+
pinned: z.ZodBoolean;
|
|
400
|
+
reason: z.ZodEnum<{
|
|
401
|
+
manual: "manual";
|
|
402
|
+
capacity: "capacity";
|
|
403
|
+
"hardware-affinity": "hardware-affinity";
|
|
404
|
+
"co-located": "co-located";
|
|
405
|
+
}>;
|
|
406
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
407
|
+
/** Read one agent's settings. Null when not yet seeded. */
|
|
408
|
+
readonly getAgentSettings: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
409
|
+
agentNodeId: z.ZodString;
|
|
410
|
+
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
411
|
+
addonDefaults: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
412
|
+
enabled: z.ZodBoolean;
|
|
413
|
+
modelId: z.ZodString;
|
|
414
|
+
settings: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
415
|
+
}, z.core.$strip>>>;
|
|
416
|
+
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
417
|
+
/** Enumerate every agent's settings (hub + remote runners). */
|
|
418
|
+
readonly listAgentSettings: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
419
|
+
nodeId: z.ZodString;
|
|
420
|
+
settings: z.ZodObject<{
|
|
421
|
+
addonDefaults: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
422
|
+
enabled: z.ZodBoolean;
|
|
423
|
+
modelId: z.ZodString;
|
|
424
|
+
settings: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
425
|
+
}, z.core.$strip>>>;
|
|
426
|
+
}, z.core.$strip>;
|
|
427
|
+
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
428
|
+
/** Bulk-replace ALL addon configs on one agent. Used by the agent-level PipelineEditor which emits the full map per edit. Merges on top of existing entries — omitted addonIds are left alone. */
|
|
429
|
+
readonly setAgentAddonDefaults: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
430
|
+
agentNodeId: z.ZodString;
|
|
431
|
+
defaults: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
432
|
+
enabled: z.ZodBoolean;
|
|
433
|
+
modelId: z.ZodString;
|
|
434
|
+
settings: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
435
|
+
}, z.core.$strip>>;
|
|
436
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
437
|
+
success: z.ZodLiteral<true>;
|
|
438
|
+
}, z.core.$strip>, "mutation">;
|
|
439
|
+
/**
|
|
440
|
+
* Drop a single agent's persisted settings. Used by the cluster
|
|
441
|
+
* "Offline agents" panel to evict stale entries left behind when an
|
|
442
|
+
* agent's data dir was rebuilt (new random nodeId) or older code wrote
|
|
443
|
+
* the env name as the nodeId. The orchestrator otherwise never deletes
|
|
444
|
+
* agentSettings — entries accumulate until a hub reset.
|
|
445
|
+
*
|
|
446
|
+
* `success: false` indicates the nodeId wasn't in the store (no-op).
|
|
447
|
+
* Refuses to remove `hub` (the orchestrator always co-resides with it).
|
|
448
|
+
*/
|
|
449
|
+
readonly removeAgentSettings: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
450
|
+
agentNodeId: z.ZodString;
|
|
451
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
452
|
+
success: z.ZodBoolean;
|
|
453
|
+
removed: z.ZodBoolean;
|
|
454
|
+
}, z.core.$strip>, "mutation">;
|
|
455
|
+
/** Read one camera's settings. Null when never touched (inherits agent defaults fully). */
|
|
456
|
+
readonly getCameraSettings: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
457
|
+
deviceId: z.ZodNumber;
|
|
458
|
+
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
459
|
+
pinnedAgentNodeId: z.ZodOptional<z.ZodString>;
|
|
460
|
+
stepToggles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
461
|
+
stepOverridesByAgent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
462
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
463
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
464
|
+
settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
465
|
+
}, z.core.$strip>>>>;
|
|
466
|
+
pipelineByAgent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
467
|
+
steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
|
|
468
|
+
audio: z.ZodNullable<z.ZodObject<{
|
|
469
|
+
modelId: z.ZodString;
|
|
470
|
+
enabled: z.ZodBoolean;
|
|
471
|
+
}, z.core.$strip>>;
|
|
472
|
+
}, z.core.$strip>>>;
|
|
473
|
+
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
474
|
+
/** Set or clear the 3-state toggle for one (camera, addonId). Pass `enabled: null` to clear and revert to agent default. */
|
|
475
|
+
readonly setCameraStepToggle: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
476
|
+
deviceId: z.ZodNumber;
|
|
477
|
+
addonId: z.ZodString;
|
|
478
|
+
enabled: z.ZodNullable<z.ZodBoolean>;
|
|
479
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
480
|
+
success: z.ZodLiteral<true>;
|
|
481
|
+
}, z.core.$strip>, "mutation">;
|
|
482
|
+
/** Read every L2.5 override map for a device. Null when device has no overrides. */
|
|
483
|
+
readonly getCameraStepOverrides: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
484
|
+
deviceId: z.ZodNumber;
|
|
485
|
+
}, z.core.$strip>, z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
486
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
487
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
488
|
+
settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
489
|
+
}, z.core.$strip>>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
490
|
+
/**
|
|
491
|
+
* Write or clear the L2.5 per-agent override for one addonId on a device.
|
|
492
|
+
* `patch: null` clears the entry entirely for that (agent, addon) pair.
|
|
493
|
+
*/
|
|
494
|
+
readonly setCameraStepOverride: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
495
|
+
deviceId: z.ZodNumber;
|
|
496
|
+
agentNodeId: z.ZodString;
|
|
497
|
+
addonId: z.ZodString;
|
|
498
|
+
patch: z.ZodNullable<z.ZodObject<{
|
|
499
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
500
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
501
|
+
settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
502
|
+
}, z.core.$strip>>;
|
|
503
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
504
|
+
success: z.ZodLiteral<true>;
|
|
505
|
+
}, z.core.$strip>, "mutation">;
|
|
506
|
+
/** Write or clear the wholesale per-agent pipeline override. Pass `pipeline: null` to drop the override. */
|
|
507
|
+
readonly setCameraPipelineForAgent: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
508
|
+
deviceId: z.ZodNumber;
|
|
509
|
+
agentNodeId: z.ZodString;
|
|
510
|
+
pipeline: z.ZodNullable<z.ZodObject<{
|
|
511
|
+
steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
|
|
512
|
+
audio: z.ZodNullable<z.ZodObject<{
|
|
513
|
+
modelId: z.ZodString;
|
|
514
|
+
enabled: z.ZodBoolean;
|
|
515
|
+
}, z.core.$strip>>;
|
|
516
|
+
}, z.core.$strip>>;
|
|
517
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
518
|
+
success: z.ZodLiteral<true>;
|
|
519
|
+
}, z.core.$strip>, "mutation">;
|
|
520
|
+
/** Resolve the effective pipeline for `(deviceId, agentNodeId?)` — walks the full precedence chain. Read-only preview used by the UI to show what will run. */
|
|
521
|
+
readonly resolvePipeline: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
522
|
+
deviceId: z.ZodNumber;
|
|
523
|
+
agentNodeId: z.ZodOptional<z.ZodString>;
|
|
524
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
525
|
+
engine: z.ZodObject<{
|
|
526
|
+
runtime: z.ZodEnum<{
|
|
527
|
+
node: "node";
|
|
528
|
+
python: "python";
|
|
529
|
+
}>;
|
|
530
|
+
backend: z.ZodString;
|
|
531
|
+
format: z.ZodEnum<{
|
|
532
|
+
onnx: "onnx";
|
|
533
|
+
coreml: "coreml";
|
|
534
|
+
openvino: "openvino";
|
|
535
|
+
tflite: "tflite";
|
|
536
|
+
pt: "pt";
|
|
537
|
+
}>;
|
|
538
|
+
device: z.ZodOptional<z.ZodString>;
|
|
539
|
+
}, z.core.$strip>;
|
|
540
|
+
steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
|
|
541
|
+
audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
542
|
+
engine: z.ZodObject<{
|
|
543
|
+
runtime: z.ZodEnum<{
|
|
544
|
+
node: "node";
|
|
545
|
+
python: "python";
|
|
546
|
+
}>;
|
|
547
|
+
backend: z.ZodString;
|
|
548
|
+
format: z.ZodEnum<{
|
|
549
|
+
onnx: "onnx";
|
|
550
|
+
coreml: "coreml";
|
|
551
|
+
openvino: "openvino";
|
|
552
|
+
tflite: "tflite";
|
|
553
|
+
pt: "pt";
|
|
554
|
+
}>;
|
|
555
|
+
device: z.ZodOptional<z.ZodString>;
|
|
556
|
+
}, z.core.$strip>;
|
|
557
|
+
modelId: z.ZodString;
|
|
558
|
+
enabled: z.ZodBoolean;
|
|
559
|
+
settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
560
|
+
}, z.core.$strip>>>;
|
|
561
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
562
|
+
/** List every template the operator has saved. */
|
|
563
|
+
readonly listTemplates: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
564
|
+
id: z.ZodString;
|
|
565
|
+
name: z.ZodString;
|
|
566
|
+
description: z.ZodOptional<z.ZodString>;
|
|
567
|
+
config: z.ZodObject<{
|
|
568
|
+
engine: z.ZodObject<{
|
|
569
|
+
runtime: z.ZodEnum<{
|
|
570
|
+
node: "node";
|
|
571
|
+
python: "python";
|
|
572
|
+
}>;
|
|
573
|
+
backend: z.ZodString;
|
|
574
|
+
format: z.ZodEnum<{
|
|
575
|
+
onnx: "onnx";
|
|
576
|
+
coreml: "coreml";
|
|
577
|
+
openvino: "openvino";
|
|
578
|
+
tflite: "tflite";
|
|
579
|
+
pt: "pt";
|
|
580
|
+
}>;
|
|
581
|
+
device: z.ZodOptional<z.ZodString>;
|
|
582
|
+
}, z.core.$strip>;
|
|
583
|
+
steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
|
|
584
|
+
audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
585
|
+
engine: z.ZodObject<{
|
|
586
|
+
runtime: z.ZodEnum<{
|
|
587
|
+
node: "node";
|
|
588
|
+
python: "python";
|
|
589
|
+
}>;
|
|
590
|
+
backend: z.ZodString;
|
|
591
|
+
format: z.ZodEnum<{
|
|
592
|
+
onnx: "onnx";
|
|
593
|
+
coreml: "coreml";
|
|
594
|
+
openvino: "openvino";
|
|
595
|
+
tflite: "tflite";
|
|
596
|
+
pt: "pt";
|
|
597
|
+
}>;
|
|
598
|
+
device: z.ZodOptional<z.ZodString>;
|
|
599
|
+
}, z.core.$strip>;
|
|
600
|
+
modelId: z.ZodString;
|
|
601
|
+
enabled: z.ZodBoolean;
|
|
602
|
+
settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
603
|
+
}, z.core.$strip>>>;
|
|
604
|
+
}, z.core.$strip>;
|
|
605
|
+
createdAt: z.ZodString;
|
|
606
|
+
updatedAt: z.ZodString;
|
|
607
|
+
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
608
|
+
/** Create a new named preset from a given CameraPipelineConfig. */
|
|
609
|
+
readonly saveTemplate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
610
|
+
name: z.ZodString;
|
|
611
|
+
description: z.ZodOptional<z.ZodString>;
|
|
612
|
+
config: z.ZodObject<{
|
|
613
|
+
engine: z.ZodObject<{
|
|
614
|
+
runtime: z.ZodEnum<{
|
|
615
|
+
node: "node";
|
|
616
|
+
python: "python";
|
|
617
|
+
}>;
|
|
618
|
+
backend: z.ZodString;
|
|
619
|
+
format: z.ZodEnum<{
|
|
620
|
+
onnx: "onnx";
|
|
621
|
+
coreml: "coreml";
|
|
622
|
+
openvino: "openvino";
|
|
623
|
+
tflite: "tflite";
|
|
624
|
+
pt: "pt";
|
|
625
|
+
}>;
|
|
626
|
+
device: z.ZodOptional<z.ZodString>;
|
|
627
|
+
}, z.core.$strip>;
|
|
628
|
+
steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
|
|
629
|
+
audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
630
|
+
engine: z.ZodObject<{
|
|
631
|
+
runtime: z.ZodEnum<{
|
|
632
|
+
node: "node";
|
|
633
|
+
python: "python";
|
|
634
|
+
}>;
|
|
635
|
+
backend: z.ZodString;
|
|
636
|
+
format: z.ZodEnum<{
|
|
637
|
+
onnx: "onnx";
|
|
638
|
+
coreml: "coreml";
|
|
639
|
+
openvino: "openvino";
|
|
640
|
+
tflite: "tflite";
|
|
641
|
+
pt: "pt";
|
|
642
|
+
}>;
|
|
643
|
+
device: z.ZodOptional<z.ZodString>;
|
|
644
|
+
}, z.core.$strip>;
|
|
645
|
+
modelId: z.ZodString;
|
|
646
|
+
enabled: z.ZodBoolean;
|
|
647
|
+
settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
648
|
+
}, z.core.$strip>>>;
|
|
649
|
+
}, z.core.$strip>;
|
|
650
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
651
|
+
id: z.ZodString;
|
|
652
|
+
name: z.ZodString;
|
|
653
|
+
description: z.ZodOptional<z.ZodString>;
|
|
654
|
+
config: z.ZodObject<{
|
|
655
|
+
engine: z.ZodObject<{
|
|
656
|
+
runtime: z.ZodEnum<{
|
|
657
|
+
node: "node";
|
|
658
|
+
python: "python";
|
|
659
|
+
}>;
|
|
660
|
+
backend: z.ZodString;
|
|
661
|
+
format: z.ZodEnum<{
|
|
662
|
+
onnx: "onnx";
|
|
663
|
+
coreml: "coreml";
|
|
664
|
+
openvino: "openvino";
|
|
665
|
+
tflite: "tflite";
|
|
666
|
+
pt: "pt";
|
|
667
|
+
}>;
|
|
668
|
+
device: z.ZodOptional<z.ZodString>;
|
|
669
|
+
}, z.core.$strip>;
|
|
670
|
+
steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
|
|
671
|
+
audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
672
|
+
engine: z.ZodObject<{
|
|
673
|
+
runtime: z.ZodEnum<{
|
|
674
|
+
node: "node";
|
|
675
|
+
python: "python";
|
|
676
|
+
}>;
|
|
677
|
+
backend: z.ZodString;
|
|
678
|
+
format: z.ZodEnum<{
|
|
679
|
+
onnx: "onnx";
|
|
680
|
+
coreml: "coreml";
|
|
681
|
+
openvino: "openvino";
|
|
682
|
+
tflite: "tflite";
|
|
683
|
+
pt: "pt";
|
|
684
|
+
}>;
|
|
685
|
+
device: z.ZodOptional<z.ZodString>;
|
|
686
|
+
}, z.core.$strip>;
|
|
687
|
+
modelId: z.ZodString;
|
|
688
|
+
enabled: z.ZodBoolean;
|
|
689
|
+
settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
690
|
+
}, z.core.$strip>>>;
|
|
691
|
+
}, z.core.$strip>;
|
|
692
|
+
createdAt: z.ZodString;
|
|
693
|
+
updatedAt: z.ZodString;
|
|
694
|
+
}, z.core.$strip>, "mutation">;
|
|
695
|
+
/** Partial update of a template. Any omitted field is preserved. */
|
|
696
|
+
readonly updateTemplate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
697
|
+
id: z.ZodString;
|
|
698
|
+
name: z.ZodOptional<z.ZodString>;
|
|
699
|
+
description: z.ZodOptional<z.ZodString>;
|
|
700
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
701
|
+
engine: z.ZodObject<{
|
|
702
|
+
runtime: z.ZodEnum<{
|
|
703
|
+
node: "node";
|
|
704
|
+
python: "python";
|
|
705
|
+
}>;
|
|
706
|
+
backend: z.ZodString;
|
|
707
|
+
format: z.ZodEnum<{
|
|
708
|
+
onnx: "onnx";
|
|
709
|
+
coreml: "coreml";
|
|
710
|
+
openvino: "openvino";
|
|
711
|
+
tflite: "tflite";
|
|
712
|
+
pt: "pt";
|
|
713
|
+
}>;
|
|
714
|
+
device: z.ZodOptional<z.ZodString>;
|
|
715
|
+
}, z.core.$strip>;
|
|
716
|
+
steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
|
|
717
|
+
audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
718
|
+
engine: z.ZodObject<{
|
|
719
|
+
runtime: z.ZodEnum<{
|
|
720
|
+
node: "node";
|
|
721
|
+
python: "python";
|
|
722
|
+
}>;
|
|
723
|
+
backend: z.ZodString;
|
|
724
|
+
format: z.ZodEnum<{
|
|
725
|
+
onnx: "onnx";
|
|
726
|
+
coreml: "coreml";
|
|
727
|
+
openvino: "openvino";
|
|
728
|
+
tflite: "tflite";
|
|
729
|
+
pt: "pt";
|
|
730
|
+
}>;
|
|
731
|
+
device: z.ZodOptional<z.ZodString>;
|
|
732
|
+
}, z.core.$strip>;
|
|
733
|
+
modelId: z.ZodString;
|
|
734
|
+
enabled: z.ZodBoolean;
|
|
735
|
+
settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
736
|
+
}, z.core.$strip>>>;
|
|
737
|
+
}, z.core.$strip>>;
|
|
738
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
739
|
+
id: z.ZodString;
|
|
740
|
+
name: z.ZodString;
|
|
741
|
+
description: z.ZodOptional<z.ZodString>;
|
|
742
|
+
config: z.ZodObject<{
|
|
743
|
+
engine: z.ZodObject<{
|
|
744
|
+
runtime: z.ZodEnum<{
|
|
745
|
+
node: "node";
|
|
746
|
+
python: "python";
|
|
747
|
+
}>;
|
|
748
|
+
backend: z.ZodString;
|
|
749
|
+
format: z.ZodEnum<{
|
|
750
|
+
onnx: "onnx";
|
|
751
|
+
coreml: "coreml";
|
|
752
|
+
openvino: "openvino";
|
|
753
|
+
tflite: "tflite";
|
|
754
|
+
pt: "pt";
|
|
755
|
+
}>;
|
|
756
|
+
device: z.ZodOptional<z.ZodString>;
|
|
757
|
+
}, z.core.$strip>;
|
|
758
|
+
steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
|
|
759
|
+
audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
760
|
+
engine: z.ZodObject<{
|
|
761
|
+
runtime: z.ZodEnum<{
|
|
762
|
+
node: "node";
|
|
763
|
+
python: "python";
|
|
764
|
+
}>;
|
|
765
|
+
backend: z.ZodString;
|
|
766
|
+
format: z.ZodEnum<{
|
|
767
|
+
onnx: "onnx";
|
|
768
|
+
coreml: "coreml";
|
|
769
|
+
openvino: "openvino";
|
|
770
|
+
tflite: "tflite";
|
|
771
|
+
pt: "pt";
|
|
772
|
+
}>;
|
|
773
|
+
device: z.ZodOptional<z.ZodString>;
|
|
774
|
+
}, z.core.$strip>;
|
|
775
|
+
modelId: z.ZodString;
|
|
776
|
+
enabled: z.ZodBoolean;
|
|
777
|
+
settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
778
|
+
}, z.core.$strip>>>;
|
|
779
|
+
}, z.core.$strip>;
|
|
780
|
+
createdAt: z.ZodString;
|
|
781
|
+
updatedAt: z.ZodString;
|
|
782
|
+
}, z.core.$strip>, "mutation">;
|
|
783
|
+
/** Remove a template. Camera configs that were seeded from it keep a copy. */
|
|
784
|
+
readonly deleteTemplate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
785
|
+
id: z.ZodString;
|
|
786
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
787
|
+
success: z.ZodLiteral<true>;
|
|
788
|
+
}, z.core.$strip>, "mutation">;
|
|
789
|
+
};
|
|
790
|
+
};
|
|
791
|
+
export type IPipelineOrchestratorProvider = InferProvider<typeof pipelineOrchestratorCapability>;
|
|
792
|
+
export { PipelineAssignmentSchema, DecoderAssignmentSchema, AgentLoadSummarySchema, GlobalMetricsSchema, CapabilityBindingsSchema, CameraPipelineConfigSchema, CameraStepOverridePatchSchema, PipelineTemplateSchema as OrchestratorPipelineTemplateSchema, };
|
|
793
|
+
//# sourceMappingURL=pipeline-orchestrator.cap.d.ts.map
|