@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.
Files changed (467) hide show
  1. package/dist/addon/base-addon.d.ts +262 -0
  2. package/dist/addon/base-addon.d.ts.map +1 -0
  3. package/dist/auth-records-BDg37fy9.mjs +8297 -0
  4. package/dist/auth-records-BDg37fy9.mjs.map +1 -0
  5. package/dist/auth-records-D5ZNaUos.js +8296 -0
  6. package/dist/auth-records-D5ZNaUos.js.map +1 -0
  7. package/dist/capabilities/accessories.cap.d.ts +42 -0
  8. package/dist/capabilities/accessories.cap.d.ts.map +1 -0
  9. package/dist/capabilities/addon-pages-source.cap.d.ts +41 -0
  10. package/dist/capabilities/addon-pages-source.cap.d.ts.map +1 -0
  11. package/dist/capabilities/addon-pages.cap.d.ts +36 -0
  12. package/dist/capabilities/addon-pages.cap.d.ts.map +1 -0
  13. package/dist/capabilities/addon-routes.cap.d.ts +22 -0
  14. package/dist/capabilities/addon-routes.cap.d.ts.map +1 -0
  15. package/dist/capabilities/addon-settings.cap.d.ts +170 -0
  16. package/dist/capabilities/addon-settings.cap.d.ts.map +1 -0
  17. package/dist/capabilities/addon-widgets-source.cap.d.ts +103 -0
  18. package/dist/capabilities/addon-widgets-source.cap.d.ts.map +1 -0
  19. package/dist/capabilities/addon-widgets.cap.d.ts +98 -0
  20. package/dist/capabilities/addon-widgets.cap.d.ts.map +1 -0
  21. package/dist/capabilities/addons.cap.d.ts +356 -0
  22. package/dist/capabilities/addons.cap.d.ts.map +1 -0
  23. package/dist/capabilities/admin-ui.cap.d.ts +14 -0
  24. package/dist/capabilities/admin-ui.cap.d.ts.map +1 -0
  25. package/dist/capabilities/advanced-notifier.cap.d.ts +60 -0
  26. package/dist/capabilities/advanced-notifier.cap.d.ts.map +1 -0
  27. package/dist/capabilities/alerts.cap.d.ts +164 -0
  28. package/dist/capabilities/alerts.cap.d.ts.map +1 -0
  29. package/dist/capabilities/audio-analysis.cap.d.ts +46 -0
  30. package/dist/capabilities/audio-analysis.cap.d.ts.map +1 -0
  31. package/dist/capabilities/audio-analyzer.cap.d.ts +148 -0
  32. package/dist/capabilities/audio-analyzer.cap.d.ts.map +1 -0
  33. package/dist/capabilities/audio-codec.cap.d.ts +202 -0
  34. package/dist/capabilities/audio-codec.cap.d.ts.map +1 -0
  35. package/dist/capabilities/audio-metrics.cap.d.ts +174 -0
  36. package/dist/capabilities/audio-metrics.cap.d.ts.map +1 -0
  37. package/dist/capabilities/auth-provider.cap.d.ts +49 -0
  38. package/dist/capabilities/auth-provider.cap.d.ts.map +1 -0
  39. package/dist/capabilities/authentication.cap.d.ts +83 -0
  40. package/dist/capabilities/authentication.cap.d.ts.map +1 -0
  41. package/dist/capabilities/backup.cap.d.ts +269 -0
  42. package/dist/capabilities/backup.cap.d.ts.map +1 -0
  43. package/dist/capabilities/battery.cap.d.ts +85 -0
  44. package/dist/capabilities/battery.cap.d.ts.map +1 -0
  45. package/dist/capabilities/brightness.cap.d.ts +64 -0
  46. package/dist/capabilities/brightness.cap.d.ts.map +1 -0
  47. package/dist/capabilities/camera-credentials.cap.d.ts +102 -0
  48. package/dist/capabilities/camera-credentials.cap.d.ts.map +1 -0
  49. package/dist/capabilities/camera-streams.cap.d.ts +214 -0
  50. package/dist/capabilities/camera-streams.cap.d.ts.map +1 -0
  51. package/dist/capabilities/capability-definition.d.ts +474 -0
  52. package/dist/capabilities/capability-definition.d.ts.map +1 -0
  53. package/dist/capabilities/custom-actions.d.ts +47 -0
  54. package/dist/capabilities/custom-actions.d.ts.map +1 -0
  55. package/dist/capabilities/decoder.cap.d.ts +173 -0
  56. package/dist/capabilities/decoder.cap.d.ts.map +1 -0
  57. package/dist/capabilities/detection-pipeline.cap.d.ts +34 -0
  58. package/dist/capabilities/detection-pipeline.cap.d.ts.map +1 -0
  59. package/dist/capabilities/device-discovery.cap.d.ts +247 -0
  60. package/dist/capabilities/device-discovery.cap.d.ts.map +1 -0
  61. package/dist/capabilities/device-manager.cap.d.ts +709 -0
  62. package/dist/capabilities/device-manager.cap.d.ts.map +1 -0
  63. package/dist/capabilities/device-ops.cap.d.ts +87 -0
  64. package/dist/capabilities/device-ops.cap.d.ts.map +1 -0
  65. package/dist/capabilities/device-provider.cap.d.ts +151 -0
  66. package/dist/capabilities/device-provider.cap.d.ts.map +1 -0
  67. package/dist/capabilities/device-state.cap.d.ts +97 -0
  68. package/dist/capabilities/device-state.cap.d.ts.map +1 -0
  69. package/dist/capabilities/device-status.cap.d.ts +54 -0
  70. package/dist/capabilities/device-status.cap.d.ts.map +1 -0
  71. package/dist/capabilities/doorbell.cap.d.ts +62 -0
  72. package/dist/capabilities/doorbell.cap.d.ts.map +1 -0
  73. package/dist/capabilities/embedding-encoder.cap.d.ts +41 -0
  74. package/dist/capabilities/embedding-encoder.cap.d.ts.map +1 -0
  75. package/dist/capabilities/events.cap.d.ts +48 -0
  76. package/dist/capabilities/events.cap.d.ts.map +1 -0
  77. package/dist/capabilities/feature-probe.cap.d.ts +79 -0
  78. package/dist/capabilities/feature-probe.cap.d.ts.map +1 -0
  79. package/dist/capabilities/index.d.ts +191 -0
  80. package/dist/capabilities/index.d.ts.map +1 -0
  81. package/dist/capabilities/integrations.cap.d.ts +182 -0
  82. package/dist/capabilities/integrations.cap.d.ts.map +1 -0
  83. package/dist/capabilities/intercom.cap.d.ts +108 -0
  84. package/dist/capabilities/intercom.cap.d.ts.map +1 -0
  85. package/dist/capabilities/local-network.cap.d.ts +216 -0
  86. package/dist/capabilities/local-network.cap.d.ts.map +1 -0
  87. package/dist/capabilities/log-destination.cap.d.ts +70 -0
  88. package/dist/capabilities/log-destination.cap.d.ts.map +1 -0
  89. package/dist/capabilities/mesh-network.cap.d.ts +160 -0
  90. package/dist/capabilities/mesh-network.cap.d.ts.map +1 -0
  91. package/dist/capabilities/mesh-orchestrator.cap.d.ts +96 -0
  92. package/dist/capabilities/mesh-orchestrator.cap.d.ts.map +1 -0
  93. package/dist/capabilities/metrics-provider.cap.d.ts +522 -0
  94. package/dist/capabilities/metrics-provider.cap.d.ts.map +1 -0
  95. package/dist/capabilities/motion-detection.cap.d.ts +107 -0
  96. package/dist/capabilities/motion-detection.cap.d.ts.map +1 -0
  97. package/dist/capabilities/motion-trigger.cap.d.ts +78 -0
  98. package/dist/capabilities/motion-trigger.cap.d.ts.map +1 -0
  99. package/dist/capabilities/motion.cap.d.ts +122 -0
  100. package/dist/capabilities/motion.cap.d.ts.map +1 -0
  101. package/dist/capabilities/native-object-detection.cap.d.ts +127 -0
  102. package/dist/capabilities/native-object-detection.cap.d.ts.map +1 -0
  103. package/dist/capabilities/network-access.cap.d.ts +67 -0
  104. package/dist/capabilities/network-access.cap.d.ts.map +1 -0
  105. package/dist/capabilities/network-quality.cap.d.ts +95 -0
  106. package/dist/capabilities/network-quality.cap.d.ts.map +1 -0
  107. package/dist/capabilities/nodes.cap.d.ts +200 -0
  108. package/dist/capabilities/nodes.cap.d.ts.map +1 -0
  109. package/dist/capabilities/notification-output.cap.d.ts +44 -0
  110. package/dist/capabilities/notification-output.cap.d.ts.map +1 -0
  111. package/dist/capabilities/osd.cap.d.ts +236 -0
  112. package/dist/capabilities/osd.cap.d.ts.map +1 -0
  113. package/dist/capabilities/pipeline-analytics.cap.d.ts +501 -0
  114. package/dist/capabilities/pipeline-analytics.cap.d.ts.map +1 -0
  115. package/dist/capabilities/pipeline-executor.cap.d.ts +922 -0
  116. package/dist/capabilities/pipeline-executor.cap.d.ts.map +1 -0
  117. package/dist/capabilities/pipeline-orchestrator.cap.d.ts +793 -0
  118. package/dist/capabilities/pipeline-orchestrator.cap.d.ts.map +1 -0
  119. package/dist/capabilities/pipeline-runner.cap.d.ts +393 -0
  120. package/dist/capabilities/pipeline-runner.cap.d.ts.map +1 -0
  121. package/dist/capabilities/platform-probe.cap.d.ts +168 -0
  122. package/dist/capabilities/platform-probe.cap.d.ts.map +1 -0
  123. package/dist/capabilities/ptz-autotrack.cap.d.ts +188 -0
  124. package/dist/capabilities/ptz-autotrack.cap.d.ts.map +1 -0
  125. package/dist/capabilities/ptz.cap.d.ts +80 -0
  126. package/dist/capabilities/ptz.cap.d.ts.map +1 -0
  127. package/dist/capabilities/reboot.cap.d.ts +32 -0
  128. package/dist/capabilities/reboot.cap.d.ts.map +1 -0
  129. package/dist/capabilities/recording-engine.cap.d.ts +477 -0
  130. package/dist/capabilities/recording-engine.cap.d.ts.map +1 -0
  131. package/dist/capabilities/recording.cap.d.ts +43 -0
  132. package/dist/capabilities/recording.cap.d.ts.map +1 -0
  133. package/dist/capabilities/remote-access.cap.d.ts +103 -0
  134. package/dist/capabilities/remote-access.cap.d.ts.map +1 -0
  135. package/dist/capabilities/restreamer.cap.d.ts +51 -0
  136. package/dist/capabilities/restreamer.cap.d.ts.map +1 -0
  137. package/dist/capabilities/schemas/detection-shared.d.ts +63 -0
  138. package/dist/capabilities/schemas/detection-shared.d.ts.map +1 -0
  139. package/dist/capabilities/schemas/orchestrator-metrics.d.ts +44 -0
  140. package/dist/capabilities/schemas/orchestrator-metrics.d.ts.map +1 -0
  141. package/dist/capabilities/schemas/streaming-shared.d.ts +177 -0
  142. package/dist/capabilities/schemas/streaming-shared.d.ts.map +1 -0
  143. package/dist/capabilities/schemas/zone-rule.d.ts +74 -0
  144. package/dist/capabilities/schemas/zone-rule.d.ts.map +1 -0
  145. package/dist/capabilities/settings-store.cap.d.ts +198 -0
  146. package/dist/capabilities/settings-store.cap.d.ts.map +1 -0
  147. package/dist/capabilities/snapshot-provider.cap.d.ts +40 -0
  148. package/dist/capabilities/snapshot-provider.cap.d.ts.map +1 -0
  149. package/dist/capabilities/snapshot.cap.d.ts +78 -0
  150. package/dist/capabilities/snapshot.cap.d.ts.map +1 -0
  151. package/dist/capabilities/storage-provider.cap.d.ts +432 -0
  152. package/dist/capabilities/storage-provider.cap.d.ts.map +1 -0
  153. package/dist/capabilities/storage.cap.d.ts +367 -0
  154. package/dist/capabilities/storage.cap.d.ts.map +1 -0
  155. package/dist/capabilities/stream-broker.cap.d.ts +416 -0
  156. package/dist/capabilities/stream-broker.cap.d.ts.map +1 -0
  157. package/dist/capabilities/streaming-engine.cap.d.ts +58 -0
  158. package/dist/capabilities/streaming-engine.cap.d.ts.map +1 -0
  159. package/dist/capabilities/switch.cap.d.ts +66 -0
  160. package/dist/capabilities/switch.cap.d.ts.map +1 -0
  161. package/dist/capabilities/system.cap.d.ts +86 -0
  162. package/dist/capabilities/system.cap.d.ts.map +1 -0
  163. package/dist/capabilities/toast.cap.d.ts +56 -0
  164. package/dist/capabilities/toast.cap.d.ts.map +1 -0
  165. package/dist/capabilities/turn-orchestrator.cap.d.ts +74 -0
  166. package/dist/capabilities/turn-orchestrator.cap.d.ts.map +1 -0
  167. package/dist/capabilities/turn-provider.cap.d.ts +43 -0
  168. package/dist/capabilities/turn-provider.cap.d.ts.map +1 -0
  169. package/dist/capabilities/user-management.cap.d.ts +378 -0
  170. package/dist/capabilities/user-management.cap.d.ts.map +1 -0
  171. package/dist/capabilities/webrtc-session.cap.d.ts +181 -0
  172. package/dist/capabilities/webrtc-session.cap.d.ts.map +1 -0
  173. package/dist/capabilities/webrtc.cap.d.ts +72 -0
  174. package/dist/capabilities/webrtc.cap.d.ts.map +1 -0
  175. package/dist/capabilities/zone-analytics.cap.d.ts +213 -0
  176. package/dist/capabilities/zone-analytics.cap.d.ts.map +1 -0
  177. package/dist/capabilities/zone-rules.cap.d.ts +129 -0
  178. package/dist/capabilities/zone-rules.cap.d.ts.map +1 -0
  179. package/dist/capabilities/zones.cap.d.ts +151 -0
  180. package/dist/capabilities/zones.cap.d.ts.map +1 -0
  181. package/dist/catalogs/audio-classmap.d.ts +16 -0
  182. package/dist/catalogs/audio-classmap.d.ts.map +1 -0
  183. package/dist/catalogs/coco-classmap.d.ts.map +1 -1
  184. package/dist/constants.d.ts +50 -0
  185. package/dist/constants.d.ts.map +1 -1
  186. package/dist/deps/binary-downloader.d.ts +41 -0
  187. package/dist/deps/binary-downloader.d.ts.map +1 -0
  188. package/dist/deps/ffmpeg-downloader.d.ts +13 -0
  189. package/dist/deps/ffmpeg-downloader.d.ts.map +1 -0
  190. package/dist/deps/index.d.ts +4 -0
  191. package/dist/deps/index.d.ts.map +1 -0
  192. package/dist/deps/python-downloader.d.ts +34 -0
  193. package/dist/deps/python-downloader.d.ts.map +1 -0
  194. package/dist/device/accessory.d.ts +62 -0
  195. package/dist/device/accessory.d.ts.map +1 -0
  196. package/dist/device/base-device-provider.d.ts +178 -0
  197. package/dist/device/base-device-provider.d.ts.map +1 -0
  198. package/dist/device/base-device.d.ts +287 -0
  199. package/dist/device/base-device.d.ts.map +1 -0
  200. package/dist/device/camera-device.d.ts +49 -0
  201. package/dist/device/camera-device.d.ts.map +1 -0
  202. package/dist/device/device-binding.d.ts +23 -0
  203. package/dist/device/device-binding.d.ts.map +1 -0
  204. package/dist/device/device-config.d.ts +65 -0
  205. package/dist/device/device-config.d.ts.map +1 -0
  206. package/dist/device/device-context.d.ts +256 -0
  207. package/dist/device/device-context.d.ts.map +1 -0
  208. package/dist/device/device-management.d.ts +118 -0
  209. package/dist/device/device-management.d.ts.map +1 -0
  210. package/dist/device/device-profile.d.ts +161 -0
  211. package/dist/device/device-profile.d.ts.map +1 -0
  212. package/dist/device/device-runtime-state.d.ts +124 -0
  213. package/dist/device/device-runtime-state.d.ts.map +1 -0
  214. package/dist/device/device-state-handle.d.ts +161 -0
  215. package/dist/device/device-state-handle.d.ts.map +1 -0
  216. package/dist/device/device-type.d.ts +68 -0
  217. package/dist/device/device-type.d.ts.map +1 -0
  218. package/dist/device/device.d.ts +87 -0
  219. package/dist/device/device.d.ts.map +1 -0
  220. package/dist/device/features.d.ts +29 -0
  221. package/dist/device/features.d.ts.map +1 -0
  222. package/dist/device/index.d.ts +20 -0
  223. package/dist/device/index.d.ts.map +1 -0
  224. package/dist/device/runtime-state-helpers.d.ts +69 -0
  225. package/dist/device/runtime-state-helpers.d.ts.map +1 -0
  226. package/dist/device/system-mirror.d.ts +318 -0
  227. package/dist/device/system-mirror.d.ts.map +1 -0
  228. package/dist/device/zod-to-config-ui.d.ts +23 -0
  229. package/dist/device/zod-to-config-ui.d.ts.map +1 -0
  230. package/dist/disposer-chain.d.ts +32 -0
  231. package/dist/disposer-chain.d.ts.map +1 -0
  232. package/dist/enums/event-category.d.ts +361 -0
  233. package/dist/enums/event-category.d.ts.map +1 -0
  234. package/dist/enums/event-source-type.d.ts +8 -0
  235. package/dist/enums/event-source-type.d.ts.map +1 -0
  236. package/dist/enums/index.d.ts +3 -0
  237. package/dist/enums/index.d.ts.map +1 -0
  238. package/dist/generated/addon-api.d.ts +14604 -3217
  239. package/dist/generated/addon-api.d.ts.map +1 -1
  240. package/dist/generated/cap-status-types.d.ts +51 -0
  241. package/dist/generated/cap-status-types.d.ts.map +1 -0
  242. package/dist/generated/capability-router-map.d.ts +278 -0
  243. package/dist/generated/capability-router-map.d.ts.map +1 -0
  244. package/dist/generated/device-local-state.d.ts +82 -0
  245. package/dist/generated/device-local-state.d.ts.map +1 -0
  246. package/dist/generated/device-proxy.d.ts +146 -0
  247. package/dist/generated/device-proxy.d.ts.map +1 -0
  248. package/dist/generated/system-proxy.d.ts +92 -0
  249. package/dist/generated/system-proxy.d.ts.map +1 -0
  250. package/dist/helpers/bind-addon-actions.d.ts +19 -0
  251. package/dist/helpers/bind-addon-actions.d.ts.map +1 -0
  252. package/dist/index.d.ts +91 -22
  253. package/dist/index.d.ts.map +1 -1
  254. package/dist/index.js +4843 -477
  255. package/dist/index.js.map +1 -1
  256. package/dist/index.mjs +4832 -415
  257. package/dist/index.mjs.map +1 -1
  258. package/dist/interfaces/addon.d.ts +760 -132
  259. package/dist/interfaces/addon.d.ts.map +1 -1
  260. package/dist/interfaces/advanced-notifier.d.ts +3 -2
  261. package/dist/interfaces/advanced-notifier.d.ts.map +1 -1
  262. package/dist/interfaces/agent-protocol.d.ts +17 -173
  263. package/dist/interfaces/agent-protocol.d.ts.map +1 -1
  264. package/dist/interfaces/agent.d.ts +61 -0
  265. package/dist/interfaces/agent.d.ts.map +1 -1
  266. package/dist/interfaces/alerts.d.ts +14 -0
  267. package/dist/interfaces/alerts.d.ts.map +1 -0
  268. package/dist/interfaces/analysis-persistence.d.ts +37 -19
  269. package/dist/interfaces/analysis-persistence.d.ts.map +1 -1
  270. package/dist/interfaces/analysis.d.ts +33 -4
  271. package/dist/interfaces/analysis.d.ts.map +1 -1
  272. package/dist/interfaces/api-responses.d.ts +124 -0
  273. package/dist/interfaces/api-responses.d.ts.map +1 -0
  274. package/dist/interfaces/api-shared.d.ts +5 -79
  275. package/dist/interfaces/api-shared.d.ts.map +1 -1
  276. package/dist/interfaces/audio-analyzer.d.ts +49 -0
  277. package/dist/interfaces/audio-analyzer.d.ts.map +1 -0
  278. package/dist/interfaces/audio-codec.d.ts +123 -0
  279. package/dist/interfaces/audio-codec.d.ts.map +1 -0
  280. package/dist/interfaces/audio-inference-engine.d.ts +19 -0
  281. package/dist/interfaces/audio-inference-engine.d.ts.map +1 -0
  282. package/dist/interfaces/auth-provider.d.ts.map +1 -1
  283. package/dist/interfaces/auth.d.ts +4 -25
  284. package/dist/interfaces/auth.d.ts.map +1 -1
  285. package/dist/interfaces/camera-pipeline.d.ts +7 -20
  286. package/dist/interfaces/camera-pipeline.d.ts.map +1 -1
  287. package/dist/interfaces/capability.d.ts +171 -24
  288. package/dist/interfaces/capability.d.ts.map +1 -1
  289. package/dist/interfaces/config-ui.d.ts +746 -24
  290. package/dist/interfaces/config-ui.d.ts.map +1 -1
  291. package/dist/interfaces/context.d.ts +9 -4
  292. package/dist/interfaces/context.d.ts.map +1 -1
  293. package/dist/interfaces/decoder.d.ts +38 -3
  294. package/dist/interfaces/decoder.d.ts.map +1 -1
  295. package/dist/interfaces/detection-addon.d.ts +6 -6
  296. package/dist/interfaces/detection-addon.d.ts.map +1 -1
  297. package/dist/interfaces/device-capabilities/camera.d.ts +95 -18
  298. package/dist/interfaces/device-capabilities/camera.d.ts.map +1 -1
  299. package/dist/interfaces/device-capabilities/index.d.ts +0 -13
  300. package/dist/interfaces/device-capabilities/index.d.ts.map +1 -1
  301. package/dist/interfaces/device-provider.d.ts +18 -16
  302. package/dist/interfaces/device-provider.d.ts.map +1 -1
  303. package/dist/interfaces/device.d.ts +4 -21
  304. package/dist/interfaces/device.d.ts.map +1 -1
  305. package/dist/interfaces/embedding-encoder.d.ts +19 -0
  306. package/dist/interfaces/embedding-encoder.d.ts.map +1 -0
  307. package/dist/interfaces/engine-slots.d.ts +10 -0
  308. package/dist/interfaces/engine-slots.d.ts.map +1 -0
  309. package/dist/interfaces/event-bus.d.ts +710 -26
  310. package/dist/interfaces/event-bus.d.ts.map +1 -1
  311. package/dist/interfaces/inference-capabilities.d.ts +0 -17
  312. package/dist/interfaces/inference-capabilities.d.ts.map +1 -1
  313. package/dist/interfaces/inference-engine.d.ts +30 -10
  314. package/dist/interfaces/inference-engine.d.ts.map +1 -1
  315. package/dist/interfaces/integration-registry.d.ts +20 -20
  316. package/dist/interfaces/integration-registry.d.ts.map +1 -1
  317. package/dist/interfaces/kernel-abstractions.d.ts +83 -0
  318. package/dist/interfaces/kernel-abstractions.d.ts.map +1 -0
  319. package/dist/interfaces/logging.d.ts +89 -8
  320. package/dist/interfaces/logging.d.ts.map +1 -1
  321. package/dist/interfaces/metrics-provider.d.ts +17 -0
  322. package/dist/interfaces/metrics-provider.d.ts.map +1 -0
  323. package/dist/interfaces/network-quality.d.ts +4 -4
  324. package/dist/interfaces/network.d.ts +0 -16
  325. package/dist/interfaces/network.d.ts.map +1 -1
  326. package/dist/interfaces/notification.d.ts +1 -1
  327. package/dist/interfaces/pipeline-executor-capability.d.ts +200 -0
  328. package/dist/interfaces/pipeline-executor-capability.d.ts.map +1 -0
  329. package/dist/interfaces/pipeline-orchestrator-capability.d.ts +165 -0
  330. package/dist/interfaces/pipeline-orchestrator-capability.d.ts.map +1 -0
  331. package/dist/interfaces/pipeline-runner-capability.d.ts +147 -0
  332. package/dist/interfaces/pipeline-runner-capability.d.ts.map +1 -0
  333. package/dist/interfaces/pipeline-runner.d.ts +18 -2
  334. package/dist/interfaces/pipeline-runner.d.ts.map +1 -1
  335. package/dist/interfaces/platform.d.ts +1 -1
  336. package/dist/interfaces/platform.d.ts.map +1 -1
  337. package/dist/interfaces/queryable.d.ts +26 -0
  338. package/dist/interfaces/queryable.d.ts.map +1 -0
  339. package/dist/interfaces/raw-tensor-engine.d.ts +16 -0
  340. package/dist/interfaces/raw-tensor-engine.d.ts.map +1 -0
  341. package/dist/interfaces/readiness.d.ts +101 -0
  342. package/dist/interfaces/readiness.d.ts.map +1 -0
  343. package/dist/interfaces/repl.d.ts +1 -1
  344. package/dist/interfaces/restreamer.d.ts +3 -3
  345. package/dist/interfaces/scoped-token.d.ts +1 -21
  346. package/dist/interfaces/scoped-token.d.ts.map +1 -1
  347. package/dist/interfaces/server-analysis.d.ts +30 -87
  348. package/dist/interfaces/server-analysis.d.ts.map +1 -1
  349. package/dist/interfaces/storage-location.d.ts +120 -0
  350. package/dist/interfaces/storage-location.d.ts.map +1 -0
  351. package/dist/interfaces/storage.d.ts +124 -50
  352. package/dist/interfaces/storage.d.ts.map +1 -1
  353. package/dist/interfaces/stream-broker.d.ts +285 -17
  354. package/dist/interfaces/stream-broker.d.ts.map +1 -1
  355. package/dist/interfaces/webrtc-provider.d.ts +24 -0
  356. package/dist/interfaces/webrtc-provider.d.ts.map +1 -1
  357. package/dist/node.d.ts +6 -0
  358. package/dist/node.d.ts.map +1 -0
  359. package/dist/node.js +481 -0
  360. package/dist/node.js.map +1 -0
  361. package/dist/node.mjs +443 -0
  362. package/dist/node.mjs.map +1 -0
  363. package/dist/readiness/index.d.ts +3 -0
  364. package/dist/readiness/index.d.ts.map +1 -0
  365. package/dist/readiness/readiness-registry.d.ts +183 -0
  366. package/dist/readiness/readiness-registry.d.ts.map +1 -0
  367. package/dist/schemas/auth-records.d.ts +81 -0
  368. package/dist/schemas/auth-records.d.ts.map +1 -0
  369. package/dist/storage/filesystem-storage-provider.d.ts +37 -0
  370. package/dist/storage/filesystem-storage-provider.d.ts.map +1 -0
  371. package/dist/types/agent-pipeline-settings.d.ts +94 -0
  372. package/dist/types/agent-pipeline-settings.d.ts.map +1 -0
  373. package/dist/types/camera-pipeline.d.ts +58 -0
  374. package/dist/types/camera-pipeline.d.ts.map +1 -0
  375. package/dist/types/detection.d.ts +195 -38
  376. package/dist/types/detection.d.ts.map +1 -1
  377. package/dist/types/device-type.d.ts +4 -0
  378. package/dist/types/device-type.d.ts.map +1 -1
  379. package/dist/types/engine-output.d.ts +24 -0
  380. package/dist/types/engine-output.d.ts.map +1 -0
  381. package/dist/types/io.d.ts +57 -3
  382. package/dist/types/io.d.ts.map +1 -1
  383. package/dist/types/models.d.ts +3 -1
  384. package/dist/types/models.d.ts.map +1 -1
  385. package/dist/types/pipeline-schema.d.ts +15 -72
  386. package/dist/types/pipeline-schema.d.ts.map +1 -1
  387. package/dist/types/pipeline-step.d.ts +201 -0
  388. package/dist/types/pipeline-step.d.ts.map +1 -0
  389. package/dist/types/pipeline.d.ts +24 -1
  390. package/dist/types/pipeline.d.ts.map +1 -1
  391. package/dist/utils/element-config-store.d.ts +29 -0
  392. package/dist/utils/element-config-store.d.ts.map +1 -0
  393. package/dist/utils/err-msg.d.ts +7 -0
  394. package/dist/utils/err-msg.d.ts.map +1 -0
  395. package/dist/utils/json-safe.d.ts +33 -0
  396. package/dist/utils/json-safe.d.ts.map +1 -0
  397. package/dist/utils/mask-url.d.ts +10 -0
  398. package/dist/utils/mask-url.d.ts.map +1 -0
  399. package/dist/utils/ring-buffer.d.ts +16 -0
  400. package/dist/utils/ring-buffer.d.ts.map +1 -0
  401. package/dist/utils/run-inference-step.d.ts +26 -0
  402. package/dist/utils/run-inference-step.d.ts.map +1 -0
  403. package/dist/utils/runtime-mapping.d.ts +88 -0
  404. package/dist/utils/runtime-mapping.d.ts.map +1 -0
  405. package/dist/utils/zone-rule-eval.d.ts +47 -0
  406. package/dist/utils/zone-rule-eval.d.ts.map +1 -0
  407. package/package.json +11 -2
  408. package/dist/__tests__/addon-capability-provider.test.d.ts +0 -2
  409. package/dist/__tests__/addon-capability-provider.test.d.ts.map +0 -1
  410. package/dist/__tests__/addon-declaration.test.d.ts +0 -2
  411. package/dist/__tests__/addon-declaration.test.d.ts.map +0 -1
  412. package/dist/__tests__/capability.test.d.ts +0 -2
  413. package/dist/__tests__/capability.test.d.ts.map +0 -1
  414. package/dist/interfaces/addon-i18n.d.ts +0 -41
  415. package/dist/interfaces/addon-i18n.d.ts.map +0 -1
  416. package/dist/interfaces/classifier.d.ts +0 -8
  417. package/dist/interfaces/classifier.d.ts.map +0 -1
  418. package/dist/interfaces/cropper.d.ts +0 -8
  419. package/dist/interfaces/cropper.d.ts.map +0 -1
  420. package/dist/interfaces/detector.d.ts +0 -8
  421. package/dist/interfaces/detector.d.ts.map +0 -1
  422. package/dist/interfaces/device-capabilities/accessory.d.ts +0 -14
  423. package/dist/interfaces/device-capabilities/accessory.d.ts.map +0 -1
  424. package/dist/interfaces/device-capabilities/audio-detector.d.ts +0 -12
  425. package/dist/interfaces/device-capabilities/audio-detector.d.ts.map +0 -1
  426. package/dist/interfaces/device-capabilities/doorbell.d.ts +0 -10
  427. package/dist/interfaces/device-capabilities/doorbell.d.ts.map +0 -1
  428. package/dist/interfaces/device-capabilities/events.d.ts +0 -47
  429. package/dist/interfaces/device-capabilities/events.d.ts.map +0 -1
  430. package/dist/interfaces/device-capabilities/motion-sensor.d.ts +0 -7
  431. package/dist/interfaces/device-capabilities/motion-sensor.d.ts.map +0 -1
  432. package/dist/interfaces/device-capabilities/native-detection.d.ts +0 -14
  433. package/dist/interfaces/device-capabilities/native-detection.d.ts.map +0 -1
  434. package/dist/interfaces/device-capabilities/object-detector.d.ts +0 -59
  435. package/dist/interfaces/device-capabilities/object-detector.d.ts.map +0 -1
  436. package/dist/interfaces/device-capabilities/pan-tilt-zoom.d.ts +0 -29
  437. package/dist/interfaces/device-capabilities/pan-tilt-zoom.d.ts.map +0 -1
  438. package/dist/interfaces/device-capabilities/recording.d.ts +0 -18
  439. package/dist/interfaces/device-capabilities/recording.d.ts.map +0 -1
  440. package/dist/interfaces/device-capabilities/siren.d.ts +0 -8
  441. package/dist/interfaces/device-capabilities/siren.d.ts.map +0 -1
  442. package/dist/interfaces/device-capabilities/status-light.d.ts +0 -7
  443. package/dist/interfaces/device-capabilities/status-light.d.ts.map +0 -1
  444. package/dist/interfaces/device-capabilities/switch.d.ts +0 -8
  445. package/dist/interfaces/device-capabilities/switch.d.ts.map +0 -1
  446. package/dist/interfaces/device-capabilities/two-way-audio.d.ts +0 -8
  447. package/dist/interfaces/device-capabilities/two-way-audio.d.ts.map +0 -1
  448. package/dist/interfaces/device-capability.d.ts +0 -14
  449. package/dist/interfaces/device-capability.d.ts.map +0 -1
  450. package/dist/interfaces/model-catalog.d.ts +0 -25
  451. package/dist/interfaces/model-catalog.d.ts.map +0 -1
  452. package/dist/interfaces/refiner.d.ts +0 -8
  453. package/dist/interfaces/refiner.d.ts.map +0 -1
  454. package/dist/interfaces/repositories.d.ts +0 -20
  455. package/dist/interfaces/repositories.d.ts.map +0 -1
  456. package/dist/interfaces/scene-intelligence.d.ts +0 -21
  457. package/dist/interfaces/scene-intelligence.d.ts.map +0 -1
  458. package/dist/interfaces/storage-backend.d.ts +0 -27
  459. package/dist/interfaces/storage-backend.d.ts.map +0 -1
  460. package/dist/interfaces/worker-protocol.d.ts +0 -110
  461. package/dist/interfaces/worker-protocol.d.ts.map +0 -1
  462. package/dist/schemas/system-settings-schemas.d.ts +0 -27
  463. package/dist/schemas/system-settings-schemas.d.ts.map +0 -1
  464. package/dist/types/benchmark.d.ts +0 -112
  465. package/dist/types/benchmark.d.ts.map +0 -1
  466. package/dist/types/zones.d.ts +0 -48
  467. package/dist/types/zones.d.ts.map +0 -1
@@ -0,0 +1,922 @@
1
+ import { z } from 'zod';
2
+ import { type InferProvider } from './capability-definition.js';
3
+ import type { ConfigUISchema, ConfigField } from '../interfaces/config-ui.js';
4
+ import type { InferenceCapabilities, ModelAvailability } from '../interfaces/inference-capabilities.js';
5
+ import type { PipelineConfig } from '../types/pipeline.js';
6
+ import type { FrameResult, AudioResult } from '../types/detection.js';
7
+ declare const PipelineEngineChoiceSchema: z.ZodObject<{
8
+ runtime: z.ZodEnum<{
9
+ node: "node";
10
+ python: "python";
11
+ }>;
12
+ backend: z.ZodString;
13
+ format: z.ZodEnum<{
14
+ onnx: "onnx";
15
+ coreml: "coreml";
16
+ openvino: "openvino";
17
+ tflite: "tflite";
18
+ pt: "pt";
19
+ }>;
20
+ device: z.ZodOptional<z.ZodString>;
21
+ }, z.core.$strip>;
22
+ declare const EngineDeviceInfoSchema: z.ZodObject<{
23
+ id: z.ZodString;
24
+ label: z.ZodString;
25
+ description: z.ZodOptional<z.ZodString>;
26
+ }, z.core.$strip>;
27
+ declare const AvailableEngineSchema: z.ZodObject<{
28
+ engine: z.ZodObject<{
29
+ runtime: z.ZodEnum<{
30
+ node: "node";
31
+ python: "python";
32
+ }>;
33
+ backend: z.ZodString;
34
+ format: z.ZodEnum<{
35
+ onnx: "onnx";
36
+ coreml: "coreml";
37
+ openvino: "openvino";
38
+ tflite: "tflite";
39
+ pt: "pt";
40
+ }>;
41
+ device: z.ZodOptional<z.ZodString>;
42
+ }, z.core.$strip>;
43
+ devices: z.ZodReadonly<z.ZodArray<z.ZodObject<{
44
+ id: z.ZodString;
45
+ label: z.ZodString;
46
+ description: z.ZodOptional<z.ZodString>;
47
+ }, z.core.$strip>>>;
48
+ defaultDevice: z.ZodString;
49
+ }, z.core.$strip>;
50
+ export type PipelineDefaultStepOutput = {
51
+ readonly addonId: string;
52
+ readonly addonName: string;
53
+ readonly slot: 'detector' | 'cropper' | 'classifier' | 'refiner' | 'audio-classifier';
54
+ readonly inputClasses: readonly string[];
55
+ readonly outputClasses: readonly string[];
56
+ readonly enabled: boolean;
57
+ readonly modelId: string;
58
+ readonly children: readonly PipelineDefaultStepOutput[];
59
+ readonly engine?: {
60
+ readonly runtime: 'node' | 'python';
61
+ readonly backend: string;
62
+ readonly format: 'onnx' | 'coreml' | 'openvino' | 'tflite' | 'pt';
63
+ readonly device?: string;
64
+ };
65
+ readonly group?: string;
66
+ readonly settings?: Readonly<Record<string, unknown>>;
67
+ };
68
+ declare const PipelineDefaultStepSchema: z.ZodType<PipelineDefaultStepOutput>;
69
+ export type PipelineTemplateStepOutput = {
70
+ readonly addonId: string;
71
+ readonly enabled: boolean;
72
+ readonly modelId: string;
73
+ readonly children: readonly PipelineTemplateStepOutput[];
74
+ readonly settings?: Readonly<Record<string, unknown>>;
75
+ };
76
+ declare const PipelineTemplateStepSchema: z.ZodType<PipelineTemplateStepOutput>;
77
+ declare const PipelineTemplateSchema: z.ZodObject<{
78
+ id: z.ZodString;
79
+ name: z.ZodString;
80
+ createdAt: z.ZodString;
81
+ updatedAt: z.ZodString;
82
+ engine: z.ZodObject<{
83
+ runtime: z.ZodEnum<{
84
+ node: "node";
85
+ python: "python";
86
+ }>;
87
+ backend: z.ZodString;
88
+ format: z.ZodEnum<{
89
+ onnx: "onnx";
90
+ coreml: "coreml";
91
+ openvino: "openvino";
92
+ tflite: "tflite";
93
+ pt: "pt";
94
+ }>;
95
+ device: z.ZodOptional<z.ZodString>;
96
+ }, z.core.$strip>;
97
+ steps: z.ZodReadonly<z.ZodArray<z.ZodType<PipelineTemplateStepOutput, unknown, z.core.$ZodTypeInternals<PipelineTemplateStepOutput, unknown>>>>;
98
+ }, z.core.$strip>;
99
+ declare const PipelineModelOptionSchema: z.ZodObject<{
100
+ id: z.ZodString;
101
+ name: z.ZodString;
102
+ formats: z.ZodRecord<z.ZodString, z.ZodObject<{
103
+ downloaded: z.ZodBoolean;
104
+ sizeMB: z.ZodNumber;
105
+ }, z.core.$strip>>;
106
+ }, z.core.$strip>;
107
+ declare const PipelineAddonSchemaSchema: z.ZodObject<{
108
+ id: z.ZodString;
109
+ name: z.ZodString;
110
+ slot: z.ZodEnum<{
111
+ detector: "detector";
112
+ cropper: "cropper";
113
+ classifier: "classifier";
114
+ refiner: "refiner";
115
+ "audio-classifier": "audio-classifier";
116
+ }>;
117
+ inputClasses: z.ZodReadonly<z.ZodArray<z.ZodString>>;
118
+ outputClasses: z.ZodReadonly<z.ZodArray<z.ZodString>>;
119
+ childSlots: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
120
+ detector: "detector";
121
+ cropper: "cropper";
122
+ classifier: "classifier";
123
+ refiner: "refiner";
124
+ "audio-classifier": "audio-classifier";
125
+ }>>>;
126
+ models: z.ZodReadonly<z.ZodArray<z.ZodObject<{
127
+ id: z.ZodString;
128
+ name: z.ZodString;
129
+ formats: z.ZodRecord<z.ZodString, z.ZodObject<{
130
+ downloaded: z.ZodBoolean;
131
+ sizeMB: z.ZodNumber;
132
+ }, z.core.$strip>>;
133
+ }, z.core.$strip>>>;
134
+ defaultModelId: z.ZodString;
135
+ defaultModelIdByFormat: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
136
+ enabledByDefault: z.ZodOptional<z.ZodBoolean>;
137
+ defaultConfidence: z.ZodNumber;
138
+ group: z.ZodOptional<z.ZodString>;
139
+ configSchema: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodCustom<ConfigField, ConfigField>>>>;
140
+ }, z.core.$strip>;
141
+ declare const PipelineSlotSchemaSchema: z.ZodObject<{
142
+ id: z.ZodEnum<{
143
+ detector: "detector";
144
+ cropper: "cropper";
145
+ classifier: "classifier";
146
+ refiner: "refiner";
147
+ "audio-classifier": "audio-classifier";
148
+ }>;
149
+ label: z.ZodString;
150
+ priority: z.ZodNumber;
151
+ parentSlot: z.ZodNullable<z.ZodEnum<{
152
+ detector: "detector";
153
+ cropper: "cropper";
154
+ classifier: "classifier";
155
+ refiner: "refiner";
156
+ "audio-classifier": "audio-classifier";
157
+ }>>;
158
+ addons: z.ZodReadonly<z.ZodArray<z.ZodObject<{
159
+ id: z.ZodString;
160
+ name: z.ZodString;
161
+ slot: z.ZodEnum<{
162
+ detector: "detector";
163
+ cropper: "cropper";
164
+ classifier: "classifier";
165
+ refiner: "refiner";
166
+ "audio-classifier": "audio-classifier";
167
+ }>;
168
+ inputClasses: z.ZodReadonly<z.ZodArray<z.ZodString>>;
169
+ outputClasses: z.ZodReadonly<z.ZodArray<z.ZodString>>;
170
+ childSlots: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
171
+ detector: "detector";
172
+ cropper: "cropper";
173
+ classifier: "classifier";
174
+ refiner: "refiner";
175
+ "audio-classifier": "audio-classifier";
176
+ }>>>;
177
+ models: z.ZodReadonly<z.ZodArray<z.ZodObject<{
178
+ id: z.ZodString;
179
+ name: z.ZodString;
180
+ formats: z.ZodRecord<z.ZodString, z.ZodObject<{
181
+ downloaded: z.ZodBoolean;
182
+ sizeMB: z.ZodNumber;
183
+ }, z.core.$strip>>;
184
+ }, z.core.$strip>>>;
185
+ defaultModelId: z.ZodString;
186
+ defaultModelIdByFormat: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
187
+ enabledByDefault: z.ZodOptional<z.ZodBoolean>;
188
+ defaultConfidence: z.ZodNumber;
189
+ group: z.ZodOptional<z.ZodString>;
190
+ configSchema: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodCustom<ConfigField, ConfigField>>>>;
191
+ }, z.core.$strip>>>;
192
+ }, z.core.$strip>;
193
+ declare const PipelineSchemaSchema: z.ZodObject<{
194
+ availableEngines: z.ZodReadonly<z.ZodArray<z.ZodObject<{
195
+ engine: z.ZodObject<{
196
+ runtime: z.ZodEnum<{
197
+ node: "node";
198
+ python: "python";
199
+ }>;
200
+ backend: z.ZodString;
201
+ format: z.ZodEnum<{
202
+ onnx: "onnx";
203
+ coreml: "coreml";
204
+ openvino: "openvino";
205
+ tflite: "tflite";
206
+ pt: "pt";
207
+ }>;
208
+ device: z.ZodOptional<z.ZodString>;
209
+ }, z.core.$strip>;
210
+ devices: z.ZodReadonly<z.ZodArray<z.ZodObject<{
211
+ id: z.ZodString;
212
+ label: z.ZodString;
213
+ description: z.ZodOptional<z.ZodString>;
214
+ }, z.core.$strip>>>;
215
+ defaultDevice: z.ZodString;
216
+ }, z.core.$strip>>>;
217
+ selectedEngine: z.ZodObject<{
218
+ runtime: z.ZodEnum<{
219
+ node: "node";
220
+ python: "python";
221
+ }>;
222
+ backend: z.ZodString;
223
+ format: z.ZodEnum<{
224
+ onnx: "onnx";
225
+ coreml: "coreml";
226
+ openvino: "openvino";
227
+ tflite: "tflite";
228
+ pt: "pt";
229
+ }>;
230
+ device: z.ZodOptional<z.ZodString>;
231
+ }, z.core.$strip>;
232
+ slots: z.ZodReadonly<z.ZodArray<z.ZodObject<{
233
+ id: z.ZodEnum<{
234
+ detector: "detector";
235
+ cropper: "cropper";
236
+ classifier: "classifier";
237
+ refiner: "refiner";
238
+ "audio-classifier": "audio-classifier";
239
+ }>;
240
+ label: z.ZodString;
241
+ priority: z.ZodNumber;
242
+ parentSlot: z.ZodNullable<z.ZodEnum<{
243
+ detector: "detector";
244
+ cropper: "cropper";
245
+ classifier: "classifier";
246
+ refiner: "refiner";
247
+ "audio-classifier": "audio-classifier";
248
+ }>>;
249
+ addons: z.ZodReadonly<z.ZodArray<z.ZodObject<{
250
+ id: z.ZodString;
251
+ name: z.ZodString;
252
+ slot: z.ZodEnum<{
253
+ detector: "detector";
254
+ cropper: "cropper";
255
+ classifier: "classifier";
256
+ refiner: "refiner";
257
+ "audio-classifier": "audio-classifier";
258
+ }>;
259
+ inputClasses: z.ZodReadonly<z.ZodArray<z.ZodString>>;
260
+ outputClasses: z.ZodReadonly<z.ZodArray<z.ZodString>>;
261
+ childSlots: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
262
+ detector: "detector";
263
+ cropper: "cropper";
264
+ classifier: "classifier";
265
+ refiner: "refiner";
266
+ "audio-classifier": "audio-classifier";
267
+ }>>>;
268
+ models: z.ZodReadonly<z.ZodArray<z.ZodObject<{
269
+ id: z.ZodString;
270
+ name: z.ZodString;
271
+ formats: z.ZodRecord<z.ZodString, z.ZodObject<{
272
+ downloaded: z.ZodBoolean;
273
+ sizeMB: z.ZodNumber;
274
+ }, z.core.$strip>>;
275
+ }, z.core.$strip>>>;
276
+ defaultModelId: z.ZodString;
277
+ defaultModelIdByFormat: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
278
+ enabledByDefault: z.ZodOptional<z.ZodBoolean>;
279
+ defaultConfidence: z.ZodNumber;
280
+ group: z.ZodOptional<z.ZodString>;
281
+ configSchema: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodCustom<ConfigField, ConfigField>>>>;
282
+ }, z.core.$strip>>>;
283
+ }, z.core.$strip>>>;
284
+ }, z.core.$strip>;
285
+ declare const DetectorOutputSchema: z.ZodObject<{
286
+ detections: z.ZodReadonly<z.ZodArray<z.ZodObject<{
287
+ class: z.ZodString;
288
+ originalClass: z.ZodString;
289
+ score: z.ZodNumber;
290
+ bbox: z.ZodObject<{
291
+ x: z.ZodNumber;
292
+ y: z.ZodNumber;
293
+ w: z.ZodNumber;
294
+ h: z.ZodNumber;
295
+ }, z.core.$strip>;
296
+ }, z.core.$strip>>>;
297
+ inferenceMs: z.ZodNumber;
298
+ modelId: z.ZodString;
299
+ }, z.core.$strip>;
300
+ export type PipelineStepInputOutput = {
301
+ readonly addonId: string;
302
+ readonly modelId: string;
303
+ readonly enabled: boolean;
304
+ readonly children?: readonly PipelineStepInputOutput[];
305
+ readonly settings?: Readonly<Record<string, unknown>>;
306
+ };
307
+ export declare const PipelineStepInputSchema: z.ZodType<PipelineStepInputOutput>;
308
+ export declare const PipelineRunResultBridge: z.ZodCustom<FrameResult, FrameResult>;
309
+ /**
310
+ * Pipeline executor — detection engine + configuration + inference API.
311
+ *
312
+ * Merged from: pipeline-executor, pipeline-config, inference, detection-config.
313
+ * Implemented by the detection-pipeline addon.
314
+ *
315
+ * Per-device surface (DeviceSettingsContribution + the "is detection
316
+ * enabled for this camera?" toggle) lives on the paired
317
+ * `detection-pipeline` cap (device-scoped, singleton, wrapper
318
+ * defaultActive) — same split pattern used by stream-broker /
319
+ * camera-streams and audio-analyzer / audio-analysis.
320
+ */
321
+ export declare const pipelineExecutorCapability: {
322
+ readonly name: "pipeline-executor";
323
+ readonly scope: "system";
324
+ readonly mode: "singleton";
325
+ readonly methods: {
326
+ readonly getAvailableEngines: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodArray<z.ZodObject<{
327
+ runtime: z.ZodEnum<{
328
+ node: "node";
329
+ python: "python";
330
+ }>;
331
+ backend: z.ZodString;
332
+ format: z.ZodEnum<{
333
+ onnx: "onnx";
334
+ coreml: "coreml";
335
+ openvino: "openvino";
336
+ tflite: "tflite";
337
+ pt: "pt";
338
+ }>;
339
+ device: z.ZodOptional<z.ZodString>;
340
+ }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
341
+ readonly getSelectedEngine: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
342
+ runtime: z.ZodEnum<{
343
+ node: "node";
344
+ python: "python";
345
+ }>;
346
+ backend: z.ZodString;
347
+ format: z.ZodEnum<{
348
+ onnx: "onnx";
349
+ coreml: "coreml";
350
+ openvino: "openvino";
351
+ tflite: "tflite";
352
+ pt: "pt";
353
+ }>;
354
+ device: z.ZodOptional<z.ZodString>;
355
+ }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
356
+ readonly getDefaultSteps: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
357
+ runtime: z.ZodEnum<{
358
+ node: "node";
359
+ python: "python";
360
+ }>;
361
+ backend: z.ZodString;
362
+ format: z.ZodEnum<{
363
+ onnx: "onnx";
364
+ coreml: "coreml";
365
+ openvino: "openvino";
366
+ tflite: "tflite";
367
+ pt: "pt";
368
+ }>;
369
+ device: z.ZodOptional<z.ZodString>;
370
+ }, z.core.$strip>, z.ZodArray<z.ZodType<PipelineDefaultStepOutput, unknown, z.core.$ZodTypeInternals<PipelineDefaultStepOutput, unknown>>>, import("./capability-definition.js").CapabilityMethodKind>;
371
+ /**
372
+ * Re-run the platform probe for the inference engine and write the
373
+ * detected runtime / backend / device back into the addon's own
374
+ * global settings store. Returns the engine that was picked so the
375
+ * UI can confirm without a second round-trip. Triggers the standard
376
+ * `requiresRestart` auto-restart flow because all three fields are
377
+ * marked restart-required. Replaces the legacy per-agent
378
+ * `pipeline-orchestrator.reprobeAgentHwAccel` surface for the
379
+ * engine dimension — each addon now owns its own probe.
380
+ */
381
+ readonly reprobeEngine: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
382
+ runtime: z.ZodEnum<{
383
+ node: "node";
384
+ python: "python";
385
+ }>;
386
+ backend: z.ZodString;
387
+ format: z.ZodEnum<{
388
+ onnx: "onnx";
389
+ coreml: "coreml";
390
+ openvino: "openvino";
391
+ tflite: "tflite";
392
+ pt: "pt";
393
+ }>;
394
+ device: z.ZodOptional<z.ZodString>;
395
+ }, z.core.$strip>, "mutation">;
396
+ readonly getVideoPipelineSteps: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodRecord<z.ZodString, z.ZodObject<{
397
+ modelId: z.ZodString;
398
+ settings: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
399
+ }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
400
+ readonly setVideoPipelineSteps: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
401
+ steps: z.ZodRecord<z.ZodString, z.ZodObject<{
402
+ modelId: z.ZodString;
403
+ settings: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
404
+ }, z.core.$strip>>;
405
+ }, z.core.$strip>, z.ZodObject<{
406
+ success: z.ZodLiteral<true>;
407
+ }, z.core.$strip>, "mutation">;
408
+ readonly getSchema: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
409
+ availableEngines: z.ZodReadonly<z.ZodArray<z.ZodObject<{
410
+ engine: z.ZodObject<{
411
+ runtime: z.ZodEnum<{
412
+ node: "node";
413
+ python: "python";
414
+ }>;
415
+ backend: z.ZodString;
416
+ format: z.ZodEnum<{
417
+ onnx: "onnx";
418
+ coreml: "coreml";
419
+ openvino: "openvino";
420
+ tflite: "tflite";
421
+ pt: "pt";
422
+ }>;
423
+ device: z.ZodOptional<z.ZodString>;
424
+ }, z.core.$strip>;
425
+ devices: z.ZodReadonly<z.ZodArray<z.ZodObject<{
426
+ id: z.ZodString;
427
+ label: z.ZodString;
428
+ description: z.ZodOptional<z.ZodString>;
429
+ }, z.core.$strip>>>;
430
+ defaultDevice: z.ZodString;
431
+ }, z.core.$strip>>>;
432
+ selectedEngine: z.ZodObject<{
433
+ runtime: z.ZodEnum<{
434
+ node: "node";
435
+ python: "python";
436
+ }>;
437
+ backend: z.ZodString;
438
+ format: z.ZodEnum<{
439
+ onnx: "onnx";
440
+ coreml: "coreml";
441
+ openvino: "openvino";
442
+ tflite: "tflite";
443
+ pt: "pt";
444
+ }>;
445
+ device: z.ZodOptional<z.ZodString>;
446
+ }, z.core.$strip>;
447
+ slots: z.ZodReadonly<z.ZodArray<z.ZodObject<{
448
+ id: z.ZodEnum<{
449
+ detector: "detector";
450
+ cropper: "cropper";
451
+ classifier: "classifier";
452
+ refiner: "refiner";
453
+ "audio-classifier": "audio-classifier";
454
+ }>;
455
+ label: z.ZodString;
456
+ priority: z.ZodNumber;
457
+ parentSlot: z.ZodNullable<z.ZodEnum<{
458
+ detector: "detector";
459
+ cropper: "cropper";
460
+ classifier: "classifier";
461
+ refiner: "refiner";
462
+ "audio-classifier": "audio-classifier";
463
+ }>>;
464
+ addons: z.ZodReadonly<z.ZodArray<z.ZodObject<{
465
+ id: z.ZodString;
466
+ name: z.ZodString;
467
+ slot: z.ZodEnum<{
468
+ detector: "detector";
469
+ cropper: "cropper";
470
+ classifier: "classifier";
471
+ refiner: "refiner";
472
+ "audio-classifier": "audio-classifier";
473
+ }>;
474
+ inputClasses: z.ZodReadonly<z.ZodArray<z.ZodString>>;
475
+ outputClasses: z.ZodReadonly<z.ZodArray<z.ZodString>>;
476
+ childSlots: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
477
+ detector: "detector";
478
+ cropper: "cropper";
479
+ classifier: "classifier";
480
+ refiner: "refiner";
481
+ "audio-classifier": "audio-classifier";
482
+ }>>>;
483
+ models: z.ZodReadonly<z.ZodArray<z.ZodObject<{
484
+ id: z.ZodString;
485
+ name: z.ZodString;
486
+ formats: z.ZodRecord<z.ZodString, z.ZodObject<{
487
+ downloaded: z.ZodBoolean;
488
+ sizeMB: z.ZodNumber;
489
+ }, z.core.$strip>>;
490
+ }, z.core.$strip>>>;
491
+ defaultModelId: z.ZodString;
492
+ defaultModelIdByFormat: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
493
+ enabledByDefault: z.ZodOptional<z.ZodBoolean>;
494
+ defaultConfidence: z.ZodNumber;
495
+ group: z.ZodOptional<z.ZodString>;
496
+ configSchema: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodCustom<ConfigField, ConfigField>>>>;
497
+ }, z.core.$strip>>>;
498
+ }, z.core.$strip>>>;
499
+ }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
500
+ readonly getGlobalSteps: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodNullable<z.ZodReadonly<z.ZodArray<z.ZodType<PipelineDefaultStepOutput, unknown, z.core.$ZodTypeInternals<PipelineDefaultStepOutput, unknown>>>>>, import("./capability-definition.js").CapabilityMethodKind>;
501
+ readonly getGlobalPipelineConfig: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodCustom<PipelineConfig | null, PipelineConfig | null>, import("./capability-definition.js").CapabilityMethodKind>;
502
+ readonly getOrchestratorConfigSchema: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodCustom<ConfigUISchema, ConfigUISchema>, import("./capability-definition.js").CapabilityMethodKind>;
503
+ readonly listTemplates: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
504
+ id: z.ZodString;
505
+ name: z.ZodString;
506
+ createdAt: z.ZodString;
507
+ updatedAt: z.ZodString;
508
+ engine: z.ZodObject<{
509
+ runtime: z.ZodEnum<{
510
+ node: "node";
511
+ python: "python";
512
+ }>;
513
+ backend: z.ZodString;
514
+ format: z.ZodEnum<{
515
+ onnx: "onnx";
516
+ coreml: "coreml";
517
+ openvino: "openvino";
518
+ tflite: "tflite";
519
+ pt: "pt";
520
+ }>;
521
+ device: z.ZodOptional<z.ZodString>;
522
+ }, z.core.$strip>;
523
+ steps: z.ZodReadonly<z.ZodArray<z.ZodType<PipelineTemplateStepOutput, unknown, z.core.$ZodTypeInternals<PipelineTemplateStepOutput, unknown>>>>;
524
+ }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
525
+ readonly saveTemplate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
526
+ name: z.ZodString;
527
+ steps: z.ZodReadonly<z.ZodArray<z.ZodType<PipelineTemplateStepOutput, unknown, z.core.$ZodTypeInternals<PipelineTemplateStepOutput, unknown>>>>;
528
+ engine: z.ZodObject<{
529
+ runtime: z.ZodEnum<{
530
+ node: "node";
531
+ python: "python";
532
+ }>;
533
+ backend: z.ZodString;
534
+ format: z.ZodEnum<{
535
+ onnx: "onnx";
536
+ coreml: "coreml";
537
+ openvino: "openvino";
538
+ tflite: "tflite";
539
+ pt: "pt";
540
+ }>;
541
+ device: z.ZodOptional<z.ZodString>;
542
+ }, z.core.$strip>;
543
+ }, z.core.$strip>, z.ZodObject<{
544
+ id: z.ZodString;
545
+ name: z.ZodString;
546
+ createdAt: z.ZodString;
547
+ updatedAt: z.ZodString;
548
+ engine: z.ZodObject<{
549
+ runtime: z.ZodEnum<{
550
+ node: "node";
551
+ python: "python";
552
+ }>;
553
+ backend: z.ZodString;
554
+ format: z.ZodEnum<{
555
+ onnx: "onnx";
556
+ coreml: "coreml";
557
+ openvino: "openvino";
558
+ tflite: "tflite";
559
+ pt: "pt";
560
+ }>;
561
+ device: z.ZodOptional<z.ZodString>;
562
+ }, z.core.$strip>;
563
+ steps: z.ZodReadonly<z.ZodArray<z.ZodType<PipelineTemplateStepOutput, unknown, z.core.$ZodTypeInternals<PipelineTemplateStepOutput, unknown>>>>;
564
+ }, z.core.$strip>, "mutation">;
565
+ readonly updateTemplate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
566
+ id: z.ZodString;
567
+ name: z.ZodOptional<z.ZodString>;
568
+ steps: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodType<PipelineTemplateStepOutput, unknown, z.core.$ZodTypeInternals<PipelineTemplateStepOutput, unknown>>>>>;
569
+ }, z.core.$strip>, z.ZodObject<{
570
+ id: z.ZodString;
571
+ name: z.ZodString;
572
+ createdAt: z.ZodString;
573
+ updatedAt: z.ZodString;
574
+ engine: z.ZodObject<{
575
+ runtime: z.ZodEnum<{
576
+ node: "node";
577
+ python: "python";
578
+ }>;
579
+ backend: z.ZodString;
580
+ format: z.ZodEnum<{
581
+ onnx: "onnx";
582
+ coreml: "coreml";
583
+ openvino: "openvino";
584
+ tflite: "tflite";
585
+ pt: "pt";
586
+ }>;
587
+ device: z.ZodOptional<z.ZodString>;
588
+ }, z.core.$strip>;
589
+ steps: z.ZodReadonly<z.ZodArray<z.ZodType<PipelineTemplateStepOutput, unknown, z.core.$ZodTypeInternals<PipelineTemplateStepOutput, unknown>>>>;
590
+ }, z.core.$strip>, "mutation">;
591
+ readonly deleteTemplate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
592
+ id: z.ZodString;
593
+ }, z.core.$strip>, z.ZodVoid, "mutation">;
594
+ readonly getCapabilities: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodCustom<InferenceCapabilities, InferenceCapabilities>, import("./capability-definition.js").CapabilityMethodKind>;
595
+ readonly getAddonModels: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
596
+ addonId: z.ZodString;
597
+ }, z.core.$strip>, z.ZodCustom<readonly ModelAvailability[], readonly ModelAvailability[]>, import("./capability-definition.js").CapabilityMethodKind>;
598
+ readonly downloadModel: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
599
+ addonId: z.ZodString;
600
+ modelId: z.ZodString;
601
+ format: z.ZodEnum<{
602
+ onnx: "onnx";
603
+ coreml: "coreml";
604
+ openvino: "openvino";
605
+ tflite: "tflite";
606
+ pt: "pt";
607
+ }>;
608
+ }, z.core.$strip>, z.ZodObject<{
609
+ filePath: z.ZodString;
610
+ sizeMB: z.ZodNumber;
611
+ durationMs: z.ZodNumber;
612
+ }, z.core.$strip>, "mutation">;
613
+ readonly deleteModel: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
614
+ addonId: z.ZodString;
615
+ modelId: z.ZodString;
616
+ format: z.ZodEnum<{
617
+ onnx: "onnx";
618
+ coreml: "coreml";
619
+ openvino: "openvino";
620
+ tflite: "tflite";
621
+ pt: "pt";
622
+ }>;
623
+ }, z.core.$strip>, z.ZodObject<{
624
+ success: z.ZodLiteral<true>;
625
+ }, z.core.$strip>, "mutation">;
626
+ readonly detect: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
627
+ addonId: z.ZodString;
628
+ frame: z.ZodObject<{
629
+ data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
630
+ format: z.ZodEnum<{
631
+ jpeg: "jpeg";
632
+ rgb: "rgb";
633
+ bgr: "bgr";
634
+ yuv420: "yuv420";
635
+ gray: "gray";
636
+ }>;
637
+ width: z.ZodNumber;
638
+ height: z.ZodNumber;
639
+ timestamp: z.ZodNumber;
640
+ }, z.core.$strip>;
641
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
642
+ }, z.core.$strip>, z.ZodObject<{
643
+ detections: z.ZodReadonly<z.ZodArray<z.ZodObject<{
644
+ class: z.ZodString;
645
+ originalClass: z.ZodString;
646
+ score: z.ZodNumber;
647
+ bbox: z.ZodObject<{
648
+ x: z.ZodNumber;
649
+ y: z.ZodNumber;
650
+ w: z.ZodNumber;
651
+ h: z.ZodNumber;
652
+ }, z.core.$strip>;
653
+ }, z.core.$strip>>>;
654
+ inferenceMs: z.ZodNumber;
655
+ modelId: z.ZodString;
656
+ }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
657
+ /**
658
+ * Stateless single-frame execution. Callers (runner, benchmark) pass
659
+ * the complete `engine` + `steps` tree; the executor holds no state
660
+ * about cameras or saved pipelines.
661
+ *
662
+ * `engine` is optional during the migration window to preserve the
663
+ * legacy call shape used by existing benchmark code; once all
664
+ * callers pass it explicitly we make it required.
665
+ *
666
+ * Exactly one of `frame`, `imageBase64`, `referenceImage` must be
667
+ * provided:
668
+ * - `frame`: runtime dispatch path (runner → decoded broker frame).
669
+ * Carries the raw buffer, dimensions, and format; the executor
670
+ * uses it directly without base64 round-tripping.
671
+ * - `imageBase64`: one-shot test path (benchmark ImageTab).
672
+ * - `referenceImage`: named file from the reference-image store.
673
+ */
674
+ readonly runPipeline: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
675
+ engine: z.ZodOptional<z.ZodObject<{
676
+ runtime: z.ZodEnum<{
677
+ node: "node";
678
+ python: "python";
679
+ }>;
680
+ backend: z.ZodString;
681
+ format: z.ZodEnum<{
682
+ onnx: "onnx";
683
+ coreml: "coreml";
684
+ openvino: "openvino";
685
+ tflite: "tflite";
686
+ pt: "pt";
687
+ }>;
688
+ device: z.ZodOptional<z.ZodString>;
689
+ }, z.core.$strip>>;
690
+ steps: z.ZodArray<z.ZodType<PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<PipelineStepInputOutput, unknown>>>;
691
+ frame: z.ZodOptional<z.ZodObject<{
692
+ data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
693
+ format: z.ZodEnum<{
694
+ jpeg: "jpeg";
695
+ rgb: "rgb";
696
+ bgr: "bgr";
697
+ yuv420: "yuv420";
698
+ gray: "gray";
699
+ }>;
700
+ width: z.ZodNumber;
701
+ height: z.ZodNumber;
702
+ timestamp: z.ZodNumber;
703
+ }, z.core.$strip>>;
704
+ imageBase64: z.ZodOptional<z.ZodString>;
705
+ image: z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
706
+ referenceImage: z.ZodOptional<z.ZodString>;
707
+ deviceId: z.ZodOptional<z.ZodNumber>;
708
+ sessionId: z.ZodOptional<z.ZodString>;
709
+ }, z.core.$strip>, z.ZodCustom<FrameResult, FrameResult>, "mutation">;
710
+ /**
711
+ * Batched run — N raw frames packed into one cap call. The provider
712
+ * routes the batch through `SharedInferencePool.inferBatch`
713
+ * (`MSG_INFER_BATCH = 0x03`) so the IPC framing and JSON response
714
+ * envelope cost is amortised N:1 vs N concurrent `runPipeline`
715
+ * calls. Single root step + uniform model assumed; trees with crop
716
+ * children fall back to sequential execution.
717
+ *
718
+ * Used by `scripts/bench-scrypted-style.mts` to mirror Scrypted's
719
+ * `detectObjects(media, {batch})` semantics for fair comparison.
720
+ */
721
+ readonly runPipelineBatch: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
722
+ engine: z.ZodOptional<z.ZodObject<{
723
+ runtime: z.ZodEnum<{
724
+ node: "node";
725
+ python: "python";
726
+ }>;
727
+ backend: z.ZodString;
728
+ format: z.ZodEnum<{
729
+ onnx: "onnx";
730
+ coreml: "coreml";
731
+ openvino: "openvino";
732
+ tflite: "tflite";
733
+ pt: "pt";
734
+ }>;
735
+ device: z.ZodOptional<z.ZodString>;
736
+ }, z.core.$strip>>;
737
+ steps: z.ZodArray<z.ZodType<PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<PipelineStepInputOutput, unknown>>>;
738
+ frames: z.ZodArray<z.ZodObject<{
739
+ data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
740
+ format: z.ZodEnum<{
741
+ jpeg: "jpeg";
742
+ rgb: "rgb";
743
+ bgr: "bgr";
744
+ yuv420: "yuv420";
745
+ gray: "gray";
746
+ }>;
747
+ width: z.ZodNumber;
748
+ height: z.ZodNumber;
749
+ timestamp: z.ZodNumber;
750
+ }, z.core.$strip>>;
751
+ deviceId: z.ZodOptional<z.ZodNumber>;
752
+ sessionId: z.ZodOptional<z.ZodString>;
753
+ }, z.core.$strip>, z.ZodObject<{
754
+ results: z.ZodReadonly<z.ZodArray<z.ZodCustom<FrameResult, FrameResult>>>;
755
+ }, z.core.$strip>, "mutation">;
756
+ /**
757
+ * Cache a raw frame inside the Python inference pool's memory.
758
+ * Returns a numeric `frameId` that `inferCached` references —
759
+ * subsequent calls send only 5 bytes through the pipe instead of
760
+ * 1.2MB raw data, eliminating the pipe transfer bottleneck.
761
+ */
762
+ readonly cacheFrameInPool: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
763
+ data: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
764
+ width: z.ZodNumber;
765
+ height: z.ZodNumber;
766
+ format: z.ZodEnum<{
767
+ rgb: "rgb";
768
+ bgr: "bgr";
769
+ gray: "gray";
770
+ }>;
771
+ }, z.core.$strip>, z.ZodObject<{
772
+ frameId: z.ZodNumber;
773
+ width: z.ZodNumber;
774
+ height: z.ZodNumber;
775
+ }, z.core.$strip>, "mutation">;
776
+ /**
777
+ * Run inference on a previously cached frame. Sends only 5 bytes
778
+ * (model_idx + frameId) through the IPC pipe — eliminates the
779
+ * ~35ms per-call overhead of transferring 1.2MB raw data.
780
+ */
781
+ readonly inferCached: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
782
+ stepId: z.ZodString;
783
+ frameId: z.ZodNumber;
784
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, "mutation">;
785
+ /**
786
+ * Release a cached frame from the Python pool's memory.
787
+ */
788
+ readonly uncacheFrame: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
789
+ frameId: z.ZodNumber;
790
+ }, z.core.$strip>, z.ZodVoid, "mutation">;
791
+ /** Returns the effective pool tuning (resolved from user overrides + backend defaults). */
792
+ readonly getEffectiveTuning: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
793
+ batchMode: z.ZodString;
794
+ windowMs: z.ZodNumber;
795
+ maxBatchSize: z.ZodNumber;
796
+ concurrency: z.ZodNumber;
797
+ }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
798
+ /**
799
+ * List every EngineFactory currently loaded in this executor's RAM,
800
+ * with the models resident and a coarse "in use" marker derived from
801
+ * ongoing inference activity. Used by the Pipeline page Engines tab.
802
+ */
803
+ readonly listLoadedEngines: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
804
+ engineKey: z.ZodString;
805
+ engine: z.ZodObject<{
806
+ runtime: z.ZodEnum<{
807
+ node: "node";
808
+ python: "python";
809
+ }>;
810
+ backend: z.ZodString;
811
+ format: z.ZodEnum<{
812
+ onnx: "onnx";
813
+ coreml: "coreml";
814
+ openvino: "openvino";
815
+ tflite: "tflite";
816
+ pt: "pt";
817
+ }>;
818
+ device: z.ZodOptional<z.ZodString>;
819
+ }, z.core.$strip>;
820
+ modelsLoaded: z.ZodReadonly<z.ZodArray<z.ZodString>>;
821
+ inUseByCameras: z.ZodReadonly<z.ZodArray<z.ZodNumber>>;
822
+ kind: z.ZodEnum<{
823
+ runtime: "runtime";
824
+ "warm-override": "warm-override";
825
+ }>;
826
+ poolPid: z.ZodNullable<z.ZodNumber>;
827
+ idleMs: z.ZodNullable<z.ZodNumber>;
828
+ idleTtlMs: z.ZodNullable<z.ZodNumber>;
829
+ }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
830
+ /** Warm up an engine without running a frame. No-op if already loaded. */
831
+ readonly spinEngine: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
832
+ engine: z.ZodObject<{
833
+ runtime: z.ZodEnum<{
834
+ node: "node";
835
+ python: "python";
836
+ }>;
837
+ backend: z.ZodString;
838
+ format: z.ZodEnum<{
839
+ onnx: "onnx";
840
+ coreml: "coreml";
841
+ openvino: "openvino";
842
+ tflite: "tflite";
843
+ pt: "pt";
844
+ }>;
845
+ device: z.ZodOptional<z.ZodString>;
846
+ }, z.core.$strip>;
847
+ }, z.core.$strip>, z.ZodObject<{
848
+ success: z.ZodLiteral<true>;
849
+ }, z.core.$strip>, "mutation">;
850
+ /**
851
+ * Unload an engine from RAM. `force:true` unloads even when cameras
852
+ * are actively using it (they re-spin on next frame). Default is
853
+ * gated — returns `{success:false, reason}` when in use.
854
+ */
855
+ readonly killEngine: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
856
+ engine: z.ZodObject<{
857
+ runtime: z.ZodEnum<{
858
+ node: "node";
859
+ python: "python";
860
+ }>;
861
+ backend: z.ZodString;
862
+ format: z.ZodEnum<{
863
+ onnx: "onnx";
864
+ coreml: "coreml";
865
+ openvino: "openvino";
866
+ tflite: "tflite";
867
+ pt: "pt";
868
+ }>;
869
+ device: z.ZodOptional<z.ZodString>;
870
+ }, z.core.$strip>;
871
+ force: z.ZodOptional<z.ZodBoolean>;
872
+ }, z.core.$strip>, z.ZodObject<{
873
+ success: z.ZodBoolean;
874
+ reason: z.ZodOptional<z.ZodString>;
875
+ }, z.core.$strip>, "mutation">;
876
+ readonly listReferenceImages: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
877
+ filename: z.ZodString;
878
+ stepIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
879
+ }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
880
+ readonly getReferenceImage: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
881
+ filename: z.ZodString;
882
+ }, z.core.$strip>, z.ZodNullable<z.ZodObject<{
883
+ base64: z.ZodString;
884
+ filename: z.ZodString;
885
+ }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
886
+ readonly getReferenceAudioFiles: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
887
+ filename: z.ZodString;
888
+ sizeKb: z.ZodNumber;
889
+ }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
890
+ readonly getReferenceAudio: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
891
+ filename: z.ZodString;
892
+ }, z.core.$strip>, z.ZodNullable<z.ZodObject<{
893
+ base64: z.ZodString;
894
+ }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
895
+ readonly getAudioCapabilities: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
896
+ activeBackend: z.ZodString;
897
+ availableBackends: z.ZodReadonly<z.ZodArray<z.ZodObject<{
898
+ id: z.ZodString;
899
+ name: z.ZodString;
900
+ description: z.ZodString;
901
+ available: z.ZodBoolean;
902
+ rawLabels: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
903
+ }, z.core.$strip>>>;
904
+ sampleRate: z.ZodNumber;
905
+ chunkDurationMs: z.ZodNumber;
906
+ }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
907
+ readonly runAudioTest: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
908
+ addonId: z.ZodString;
909
+ modelId: z.ZodString;
910
+ filename: z.ZodOptional<z.ZodString>;
911
+ settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
912
+ }, z.core.$strip>, z.ZodObject<{
913
+ success: z.ZodBoolean;
914
+ error: z.ZodOptional<z.ZodString>;
915
+ frame: z.ZodOptional<z.ZodCustom<AudioResult, AudioResult>>;
916
+ }, z.core.$strip>, "mutation">;
917
+ readonly getDetectionConfigSchema: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodCustom<ConfigUISchema | null, ConfigUISchema | null>, import("./capability-definition.js").CapabilityMethodKind>;
918
+ };
919
+ };
920
+ export type IPipelineExecutorProvider = InferProvider<typeof pipelineExecutorCapability>;
921
+ export { PipelineEngineChoiceSchema, PipelineDefaultStepSchema, DetectorOutputSchema, PipelineSchemaSchema, PipelineAddonSchemaSchema, PipelineSlotSchemaSchema, PipelineModelOptionSchema, AvailableEngineSchema, PipelineTemplateSchema, PipelineTemplateStepSchema, EngineDeviceInfoSchema, };
922
+ //# sourceMappingURL=pipeline-executor.cap.d.ts.map