@camstack/types 0.1.14 → 0.1.15

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 (445) 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/capabilities/accessories.cap.d.ts +42 -0
  4. package/dist/capabilities/accessories.cap.d.ts.map +1 -0
  5. package/dist/capabilities/addon-pages-source.cap.d.ts +41 -0
  6. package/dist/capabilities/addon-pages-source.cap.d.ts.map +1 -0
  7. package/dist/capabilities/addon-pages.cap.d.ts +36 -0
  8. package/dist/capabilities/addon-pages.cap.d.ts.map +1 -0
  9. package/dist/capabilities/addon-routes.cap.d.ts +22 -0
  10. package/dist/capabilities/addon-routes.cap.d.ts.map +1 -0
  11. package/dist/capabilities/addon-settings.cap.d.ts +170 -0
  12. package/dist/capabilities/addon-settings.cap.d.ts.map +1 -0
  13. package/dist/capabilities/addon-widgets-source.cap.d.ts +103 -0
  14. package/dist/capabilities/addon-widgets-source.cap.d.ts.map +1 -0
  15. package/dist/capabilities/addon-widgets.cap.d.ts +98 -0
  16. package/dist/capabilities/addon-widgets.cap.d.ts.map +1 -0
  17. package/dist/capabilities/addons.cap.d.ts +280 -0
  18. package/dist/capabilities/addons.cap.d.ts.map +1 -0
  19. package/dist/capabilities/admin-ui.cap.d.ts +14 -0
  20. package/dist/capabilities/admin-ui.cap.d.ts.map +1 -0
  21. package/dist/capabilities/advanced-notifier.cap.d.ts +60 -0
  22. package/dist/capabilities/advanced-notifier.cap.d.ts.map +1 -0
  23. package/dist/capabilities/alerts.cap.d.ts +164 -0
  24. package/dist/capabilities/alerts.cap.d.ts.map +1 -0
  25. package/dist/capabilities/audio-analysis.cap.d.ts +46 -0
  26. package/dist/capabilities/audio-analysis.cap.d.ts.map +1 -0
  27. package/dist/capabilities/audio-analyzer.cap.d.ts +148 -0
  28. package/dist/capabilities/audio-analyzer.cap.d.ts.map +1 -0
  29. package/dist/capabilities/audio-codec.cap.d.ts +202 -0
  30. package/dist/capabilities/audio-codec.cap.d.ts.map +1 -0
  31. package/dist/capabilities/audio-metrics.cap.d.ts +174 -0
  32. package/dist/capabilities/audio-metrics.cap.d.ts.map +1 -0
  33. package/dist/capabilities/auth-provider.cap.d.ts +49 -0
  34. package/dist/capabilities/auth-provider.cap.d.ts.map +1 -0
  35. package/dist/capabilities/backup.cap.d.ts +48 -0
  36. package/dist/capabilities/backup.cap.d.ts.map +1 -0
  37. package/dist/capabilities/battery.cap.d.ts +85 -0
  38. package/dist/capabilities/battery.cap.d.ts.map +1 -0
  39. package/dist/capabilities/brightness.cap.d.ts +64 -0
  40. package/dist/capabilities/brightness.cap.d.ts.map +1 -0
  41. package/dist/capabilities/camera-credentials.cap.d.ts +102 -0
  42. package/dist/capabilities/camera-credentials.cap.d.ts.map +1 -0
  43. package/dist/capabilities/camera-streams.cap.d.ts +214 -0
  44. package/dist/capabilities/camera-streams.cap.d.ts.map +1 -0
  45. package/dist/capabilities/capability-definition.d.ts +474 -0
  46. package/dist/capabilities/capability-definition.d.ts.map +1 -0
  47. package/dist/capabilities/custom-actions.d.ts +47 -0
  48. package/dist/capabilities/custom-actions.d.ts.map +1 -0
  49. package/dist/capabilities/decoder.cap.d.ts +173 -0
  50. package/dist/capabilities/decoder.cap.d.ts.map +1 -0
  51. package/dist/capabilities/detection-pipeline.cap.d.ts +34 -0
  52. package/dist/capabilities/detection-pipeline.cap.d.ts.map +1 -0
  53. package/dist/capabilities/device-discovery.cap.d.ts +247 -0
  54. package/dist/capabilities/device-discovery.cap.d.ts.map +1 -0
  55. package/dist/capabilities/device-manager.cap.d.ts +709 -0
  56. package/dist/capabilities/device-manager.cap.d.ts.map +1 -0
  57. package/dist/capabilities/device-ops.cap.d.ts +87 -0
  58. package/dist/capabilities/device-ops.cap.d.ts.map +1 -0
  59. package/dist/capabilities/device-provider.cap.d.ts +151 -0
  60. package/dist/capabilities/device-provider.cap.d.ts.map +1 -0
  61. package/dist/capabilities/device-state.cap.d.ts +97 -0
  62. package/dist/capabilities/device-state.cap.d.ts.map +1 -0
  63. package/dist/capabilities/device-status.cap.d.ts +54 -0
  64. package/dist/capabilities/device-status.cap.d.ts.map +1 -0
  65. package/dist/capabilities/doorbell.cap.d.ts +62 -0
  66. package/dist/capabilities/doorbell.cap.d.ts.map +1 -0
  67. package/dist/capabilities/embedding-encoder.cap.d.ts +41 -0
  68. package/dist/capabilities/embedding-encoder.cap.d.ts.map +1 -0
  69. package/dist/capabilities/events.cap.d.ts +48 -0
  70. package/dist/capabilities/events.cap.d.ts.map +1 -0
  71. package/dist/capabilities/feature-probe.cap.d.ts +79 -0
  72. package/dist/capabilities/feature-probe.cap.d.ts.map +1 -0
  73. package/dist/capabilities/index.d.ts +177 -0
  74. package/dist/capabilities/index.d.ts.map +1 -0
  75. package/dist/capabilities/integrations.cap.d.ts +182 -0
  76. package/dist/capabilities/integrations.cap.d.ts.map +1 -0
  77. package/dist/capabilities/intercom.cap.d.ts +108 -0
  78. package/dist/capabilities/intercom.cap.d.ts.map +1 -0
  79. package/dist/capabilities/log-destination.cap.d.ts +70 -0
  80. package/dist/capabilities/log-destination.cap.d.ts.map +1 -0
  81. package/dist/capabilities/metrics-provider.cap.d.ts +522 -0
  82. package/dist/capabilities/metrics-provider.cap.d.ts.map +1 -0
  83. package/dist/capabilities/motion-detection.cap.d.ts +107 -0
  84. package/dist/capabilities/motion-detection.cap.d.ts.map +1 -0
  85. package/dist/capabilities/motion-trigger.cap.d.ts +78 -0
  86. package/dist/capabilities/motion-trigger.cap.d.ts.map +1 -0
  87. package/dist/capabilities/motion.cap.d.ts +122 -0
  88. package/dist/capabilities/motion.cap.d.ts.map +1 -0
  89. package/dist/capabilities/native-object-detection.cap.d.ts +127 -0
  90. package/dist/capabilities/native-object-detection.cap.d.ts.map +1 -0
  91. package/dist/capabilities/network-access.cap.d.ts +67 -0
  92. package/dist/capabilities/network-access.cap.d.ts.map +1 -0
  93. package/dist/capabilities/network-quality.cap.d.ts +95 -0
  94. package/dist/capabilities/network-quality.cap.d.ts.map +1 -0
  95. package/dist/capabilities/nodes.cap.d.ts +200 -0
  96. package/dist/capabilities/nodes.cap.d.ts.map +1 -0
  97. package/dist/capabilities/notification-output.cap.d.ts +44 -0
  98. package/dist/capabilities/notification-output.cap.d.ts.map +1 -0
  99. package/dist/capabilities/osd.cap.d.ts +236 -0
  100. package/dist/capabilities/osd.cap.d.ts.map +1 -0
  101. package/dist/capabilities/pipeline-analytics.cap.d.ts +501 -0
  102. package/dist/capabilities/pipeline-analytics.cap.d.ts.map +1 -0
  103. package/dist/capabilities/pipeline-executor.cap.d.ts +922 -0
  104. package/dist/capabilities/pipeline-executor.cap.d.ts.map +1 -0
  105. package/dist/capabilities/pipeline-orchestrator.cap.d.ts +793 -0
  106. package/dist/capabilities/pipeline-orchestrator.cap.d.ts.map +1 -0
  107. package/dist/capabilities/pipeline-runner.cap.d.ts +393 -0
  108. package/dist/capabilities/pipeline-runner.cap.d.ts.map +1 -0
  109. package/dist/capabilities/platform-probe.cap.d.ts +168 -0
  110. package/dist/capabilities/platform-probe.cap.d.ts.map +1 -0
  111. package/dist/capabilities/ptz-autotrack.cap.d.ts +188 -0
  112. package/dist/capabilities/ptz-autotrack.cap.d.ts.map +1 -0
  113. package/dist/capabilities/ptz.cap.d.ts +80 -0
  114. package/dist/capabilities/ptz.cap.d.ts.map +1 -0
  115. package/dist/capabilities/reboot.cap.d.ts +32 -0
  116. package/dist/capabilities/reboot.cap.d.ts.map +1 -0
  117. package/dist/capabilities/recording-engine.cap.d.ts +477 -0
  118. package/dist/capabilities/recording-engine.cap.d.ts.map +1 -0
  119. package/dist/capabilities/recording.cap.d.ts +43 -0
  120. package/dist/capabilities/recording.cap.d.ts.map +1 -0
  121. package/dist/capabilities/restreamer.cap.d.ts +51 -0
  122. package/dist/capabilities/restreamer.cap.d.ts.map +1 -0
  123. package/dist/capabilities/schemas/detection-shared.d.ts +63 -0
  124. package/dist/capabilities/schemas/detection-shared.d.ts.map +1 -0
  125. package/dist/capabilities/schemas/orchestrator-metrics.d.ts +44 -0
  126. package/dist/capabilities/schemas/orchestrator-metrics.d.ts.map +1 -0
  127. package/dist/capabilities/schemas/streaming-shared.d.ts +177 -0
  128. package/dist/capabilities/schemas/streaming-shared.d.ts.map +1 -0
  129. package/dist/capabilities/schemas/zone-rule.d.ts +74 -0
  130. package/dist/capabilities/schemas/zone-rule.d.ts.map +1 -0
  131. package/dist/capabilities/settings-store.cap.d.ts +198 -0
  132. package/dist/capabilities/settings-store.cap.d.ts.map +1 -0
  133. package/dist/capabilities/snapshot-provider.cap.d.ts +40 -0
  134. package/dist/capabilities/snapshot-provider.cap.d.ts.map +1 -0
  135. package/dist/capabilities/snapshot.cap.d.ts +78 -0
  136. package/dist/capabilities/snapshot.cap.d.ts.map +1 -0
  137. package/dist/capabilities/storage.cap.d.ts +104 -0
  138. package/dist/capabilities/storage.cap.d.ts.map +1 -0
  139. package/dist/capabilities/stream-broker.cap.d.ts +416 -0
  140. package/dist/capabilities/stream-broker.cap.d.ts.map +1 -0
  141. package/dist/capabilities/streaming-engine.cap.d.ts +58 -0
  142. package/dist/capabilities/streaming-engine.cap.d.ts.map +1 -0
  143. package/dist/capabilities/switch.cap.d.ts +66 -0
  144. package/dist/capabilities/switch.cap.d.ts.map +1 -0
  145. package/dist/capabilities/system.cap.d.ts +86 -0
  146. package/dist/capabilities/system.cap.d.ts.map +1 -0
  147. package/dist/capabilities/toast.cap.d.ts +56 -0
  148. package/dist/capabilities/toast.cap.d.ts.map +1 -0
  149. package/dist/capabilities/turn-provider.cap.d.ts +43 -0
  150. package/dist/capabilities/turn-provider.cap.d.ts.map +1 -0
  151. package/dist/capabilities/user-management.cap.d.ts +378 -0
  152. package/dist/capabilities/user-management.cap.d.ts.map +1 -0
  153. package/dist/capabilities/webrtc-session.cap.d.ts +181 -0
  154. package/dist/capabilities/webrtc-session.cap.d.ts.map +1 -0
  155. package/dist/capabilities/webrtc.cap.d.ts +72 -0
  156. package/dist/capabilities/webrtc.cap.d.ts.map +1 -0
  157. package/dist/capabilities/zone-analytics.cap.d.ts +213 -0
  158. package/dist/capabilities/zone-analytics.cap.d.ts.map +1 -0
  159. package/dist/capabilities/zone-rules.cap.d.ts +129 -0
  160. package/dist/capabilities/zone-rules.cap.d.ts.map +1 -0
  161. package/dist/capabilities/zones.cap.d.ts +151 -0
  162. package/dist/capabilities/zones.cap.d.ts.map +1 -0
  163. package/dist/catalogs/audio-classmap.d.ts +16 -0
  164. package/dist/catalogs/audio-classmap.d.ts.map +1 -0
  165. package/dist/catalogs/coco-classmap.d.ts.map +1 -1
  166. package/dist/constants.d.ts +50 -0
  167. package/dist/constants.d.ts.map +1 -1
  168. package/dist/deps/binary-downloader.d.ts +41 -0
  169. package/dist/deps/binary-downloader.d.ts.map +1 -0
  170. package/dist/deps/ffmpeg-downloader.d.ts +13 -0
  171. package/dist/deps/ffmpeg-downloader.d.ts.map +1 -0
  172. package/dist/deps/index.d.ts +4 -0
  173. package/dist/deps/index.d.ts.map +1 -0
  174. package/dist/deps/python-downloader.d.ts +34 -0
  175. package/dist/deps/python-downloader.d.ts.map +1 -0
  176. package/dist/device/accessory.d.ts +62 -0
  177. package/dist/device/accessory.d.ts.map +1 -0
  178. package/dist/device/base-device-provider.d.ts +170 -0
  179. package/dist/device/base-device-provider.d.ts.map +1 -0
  180. package/dist/device/base-device.d.ts +287 -0
  181. package/dist/device/base-device.d.ts.map +1 -0
  182. package/dist/device/camera-device.d.ts +49 -0
  183. package/dist/device/camera-device.d.ts.map +1 -0
  184. package/dist/device/device-binding.d.ts +23 -0
  185. package/dist/device/device-binding.d.ts.map +1 -0
  186. package/dist/device/device-config.d.ts +65 -0
  187. package/dist/device/device-config.d.ts.map +1 -0
  188. package/dist/device/device-context.d.ts +256 -0
  189. package/dist/device/device-context.d.ts.map +1 -0
  190. package/dist/device/device-management.d.ts +118 -0
  191. package/dist/device/device-management.d.ts.map +1 -0
  192. package/dist/device/device-profile.d.ts +161 -0
  193. package/dist/device/device-profile.d.ts.map +1 -0
  194. package/dist/device/device-runtime-state.d.ts +124 -0
  195. package/dist/device/device-runtime-state.d.ts.map +1 -0
  196. package/dist/device/device-state-handle.d.ts +161 -0
  197. package/dist/device/device-state-handle.d.ts.map +1 -0
  198. package/dist/device/device-type.d.ts +68 -0
  199. package/dist/device/device-type.d.ts.map +1 -0
  200. package/dist/device/device.d.ts +87 -0
  201. package/dist/device/device.d.ts.map +1 -0
  202. package/dist/device/features.d.ts +29 -0
  203. package/dist/device/features.d.ts.map +1 -0
  204. package/dist/device/index.d.ts +20 -0
  205. package/dist/device/index.d.ts.map +1 -0
  206. package/dist/device/runtime-state-helpers.d.ts +69 -0
  207. package/dist/device/runtime-state-helpers.d.ts.map +1 -0
  208. package/dist/device/system-mirror.d.ts +318 -0
  209. package/dist/device/system-mirror.d.ts.map +1 -0
  210. package/dist/device/zod-to-config-ui.d.ts +23 -0
  211. package/dist/device/zod-to-config-ui.d.ts.map +1 -0
  212. package/dist/enums/event-category.d.ts +327 -0
  213. package/dist/enums/event-category.d.ts.map +1 -0
  214. package/dist/enums/event-source-type.d.ts +8 -0
  215. package/dist/enums/event-source-type.d.ts.map +1 -0
  216. package/dist/enums/index.d.ts +3 -0
  217. package/dist/enums/index.d.ts.map +1 -0
  218. package/dist/generated/addon-api.d.ts +13401 -3202
  219. package/dist/generated/addon-api.d.ts.map +1 -1
  220. package/dist/generated/cap-status-types.d.ts +51 -0
  221. package/dist/generated/cap-status-types.d.ts.map +1 -0
  222. package/dist/generated/capability-router-map.d.ts +257 -0
  223. package/dist/generated/capability-router-map.d.ts.map +1 -0
  224. package/dist/generated/device-local-state.d.ts +82 -0
  225. package/dist/generated/device-local-state.d.ts.map +1 -0
  226. package/dist/generated/device-proxy.d.ts +146 -0
  227. package/dist/generated/device-proxy.d.ts.map +1 -0
  228. package/dist/generated/system-proxy.d.ts +80 -0
  229. package/dist/generated/system-proxy.d.ts.map +1 -0
  230. package/dist/helpers/bind-addon-actions.d.ts +19 -0
  231. package/dist/helpers/bind-addon-actions.d.ts.map +1 -0
  232. package/dist/index.d.ts +86 -22
  233. package/dist/index.d.ts.map +1 -1
  234. package/dist/index.js +12328 -436
  235. package/dist/index.js.map +1 -1
  236. package/dist/index.mjs +11952 -427
  237. package/dist/index.mjs.map +1 -1
  238. package/dist/interfaces/addon.d.ts +678 -132
  239. package/dist/interfaces/addon.d.ts.map +1 -1
  240. package/dist/interfaces/advanced-notifier.d.ts +3 -2
  241. package/dist/interfaces/advanced-notifier.d.ts.map +1 -1
  242. package/dist/interfaces/agent-protocol.d.ts +17 -173
  243. package/dist/interfaces/agent-protocol.d.ts.map +1 -1
  244. package/dist/interfaces/agent.d.ts +61 -0
  245. package/dist/interfaces/agent.d.ts.map +1 -1
  246. package/dist/interfaces/alerts.d.ts +14 -0
  247. package/dist/interfaces/alerts.d.ts.map +1 -0
  248. package/dist/interfaces/analysis-persistence.d.ts +37 -19
  249. package/dist/interfaces/analysis-persistence.d.ts.map +1 -1
  250. package/dist/interfaces/analysis.d.ts +33 -4
  251. package/dist/interfaces/analysis.d.ts.map +1 -1
  252. package/dist/interfaces/api-responses.d.ts +117 -0
  253. package/dist/interfaces/api-responses.d.ts.map +1 -0
  254. package/dist/interfaces/api-shared.d.ts +5 -79
  255. package/dist/interfaces/api-shared.d.ts.map +1 -1
  256. package/dist/interfaces/audio-analyzer.d.ts +49 -0
  257. package/dist/interfaces/audio-analyzer.d.ts.map +1 -0
  258. package/dist/interfaces/audio-codec.d.ts +123 -0
  259. package/dist/interfaces/audio-codec.d.ts.map +1 -0
  260. package/dist/interfaces/audio-inference-engine.d.ts +19 -0
  261. package/dist/interfaces/audio-inference-engine.d.ts.map +1 -0
  262. package/dist/interfaces/auth-provider.d.ts.map +1 -1
  263. package/dist/interfaces/auth.d.ts +4 -25
  264. package/dist/interfaces/auth.d.ts.map +1 -1
  265. package/dist/interfaces/camera-pipeline.d.ts +7 -20
  266. package/dist/interfaces/camera-pipeline.d.ts.map +1 -1
  267. package/dist/interfaces/capability.d.ts +159 -23
  268. package/dist/interfaces/capability.d.ts.map +1 -1
  269. package/dist/interfaces/config-ui.d.ts +609 -24
  270. package/dist/interfaces/config-ui.d.ts.map +1 -1
  271. package/dist/interfaces/context.d.ts +9 -4
  272. package/dist/interfaces/context.d.ts.map +1 -1
  273. package/dist/interfaces/decoder.d.ts +38 -3
  274. package/dist/interfaces/decoder.d.ts.map +1 -1
  275. package/dist/interfaces/detection-addon.d.ts +6 -6
  276. package/dist/interfaces/detection-addon.d.ts.map +1 -1
  277. package/dist/interfaces/device-capabilities/camera.d.ts +95 -18
  278. package/dist/interfaces/device-capabilities/camera.d.ts.map +1 -1
  279. package/dist/interfaces/device-capabilities/index.d.ts +0 -13
  280. package/dist/interfaces/device-capabilities/index.d.ts.map +1 -1
  281. package/dist/interfaces/device-provider.d.ts +18 -16
  282. package/dist/interfaces/device-provider.d.ts.map +1 -1
  283. package/dist/interfaces/device.d.ts +4 -21
  284. package/dist/interfaces/device.d.ts.map +1 -1
  285. package/dist/interfaces/embedding-encoder.d.ts +19 -0
  286. package/dist/interfaces/embedding-encoder.d.ts.map +1 -0
  287. package/dist/interfaces/engine-slots.d.ts +10 -0
  288. package/dist/interfaces/engine-slots.d.ts.map +1 -0
  289. package/dist/interfaces/event-bus.d.ts +710 -26
  290. package/dist/interfaces/event-bus.d.ts.map +1 -1
  291. package/dist/interfaces/inference-capabilities.d.ts +0 -17
  292. package/dist/interfaces/inference-capabilities.d.ts.map +1 -1
  293. package/dist/interfaces/inference-engine.d.ts +30 -10
  294. package/dist/interfaces/inference-engine.d.ts.map +1 -1
  295. package/dist/interfaces/integration-registry.d.ts +20 -20
  296. package/dist/interfaces/integration-registry.d.ts.map +1 -1
  297. package/dist/interfaces/kernel-abstractions.d.ts +83 -0
  298. package/dist/interfaces/kernel-abstractions.d.ts.map +1 -0
  299. package/dist/interfaces/logging.d.ts +89 -8
  300. package/dist/interfaces/logging.d.ts.map +1 -1
  301. package/dist/interfaces/metrics-provider.d.ts +17 -0
  302. package/dist/interfaces/metrics-provider.d.ts.map +1 -0
  303. package/dist/interfaces/network-quality.d.ts +4 -4
  304. package/dist/interfaces/network.d.ts +0 -16
  305. package/dist/interfaces/network.d.ts.map +1 -1
  306. package/dist/interfaces/notification.d.ts +1 -1
  307. package/dist/interfaces/pipeline-executor-capability.d.ts +200 -0
  308. package/dist/interfaces/pipeline-executor-capability.d.ts.map +1 -0
  309. package/dist/interfaces/pipeline-orchestrator-capability.d.ts +165 -0
  310. package/dist/interfaces/pipeline-orchestrator-capability.d.ts.map +1 -0
  311. package/dist/interfaces/pipeline-runner-capability.d.ts +147 -0
  312. package/dist/interfaces/pipeline-runner-capability.d.ts.map +1 -0
  313. package/dist/interfaces/pipeline-runner.d.ts +18 -2
  314. package/dist/interfaces/pipeline-runner.d.ts.map +1 -1
  315. package/dist/interfaces/platform.d.ts +1 -1
  316. package/dist/interfaces/platform.d.ts.map +1 -1
  317. package/dist/interfaces/queryable.d.ts +26 -0
  318. package/dist/interfaces/queryable.d.ts.map +1 -0
  319. package/dist/interfaces/raw-tensor-engine.d.ts +16 -0
  320. package/dist/interfaces/raw-tensor-engine.d.ts.map +1 -0
  321. package/dist/interfaces/readiness.d.ts +101 -0
  322. package/dist/interfaces/readiness.d.ts.map +1 -0
  323. package/dist/interfaces/repl.d.ts +1 -1
  324. package/dist/interfaces/restreamer.d.ts +3 -3
  325. package/dist/interfaces/scoped-token.d.ts +1 -21
  326. package/dist/interfaces/scoped-token.d.ts.map +1 -1
  327. package/dist/interfaces/server-analysis.d.ts +30 -87
  328. package/dist/interfaces/server-analysis.d.ts.map +1 -1
  329. package/dist/interfaces/storage.d.ts +123 -45
  330. package/dist/interfaces/storage.d.ts.map +1 -1
  331. package/dist/interfaces/stream-broker.d.ts +285 -17
  332. package/dist/interfaces/stream-broker.d.ts.map +1 -1
  333. package/dist/interfaces/webrtc-provider.d.ts +24 -0
  334. package/dist/interfaces/webrtc-provider.d.ts.map +1 -1
  335. package/dist/node.d.ts +6 -0
  336. package/dist/node.d.ts.map +1 -0
  337. package/dist/node.js +7583 -0
  338. package/dist/node.js.map +1 -0
  339. package/dist/node.mjs +7534 -0
  340. package/dist/node.mjs.map +1 -0
  341. package/dist/readiness/index.d.ts +3 -0
  342. package/dist/readiness/index.d.ts.map +1 -0
  343. package/dist/readiness/readiness-registry.d.ts +183 -0
  344. package/dist/readiness/readiness-registry.d.ts.map +1 -0
  345. package/dist/schemas/auth-records.d.ts +81 -0
  346. package/dist/schemas/auth-records.d.ts.map +1 -0
  347. package/dist/storage/filesystem-storage-provider.d.ts +37 -0
  348. package/dist/storage/filesystem-storage-provider.d.ts.map +1 -0
  349. package/dist/types/agent-pipeline-settings.d.ts +94 -0
  350. package/dist/types/agent-pipeline-settings.d.ts.map +1 -0
  351. package/dist/types/camera-pipeline.d.ts +58 -0
  352. package/dist/types/camera-pipeline.d.ts.map +1 -0
  353. package/dist/types/detection.d.ts +195 -38
  354. package/dist/types/detection.d.ts.map +1 -1
  355. package/dist/types/device-type.d.ts +4 -0
  356. package/dist/types/device-type.d.ts.map +1 -1
  357. package/dist/types/engine-output.d.ts +24 -0
  358. package/dist/types/engine-output.d.ts.map +1 -0
  359. package/dist/types/io.d.ts +57 -3
  360. package/dist/types/io.d.ts.map +1 -1
  361. package/dist/types/models.d.ts +3 -1
  362. package/dist/types/models.d.ts.map +1 -1
  363. package/dist/types/pipeline-schema.d.ts +15 -72
  364. package/dist/types/pipeline-schema.d.ts.map +1 -1
  365. package/dist/types/pipeline-step.d.ts +201 -0
  366. package/dist/types/pipeline-step.d.ts.map +1 -0
  367. package/dist/types/pipeline.d.ts +24 -1
  368. package/dist/types/pipeline.d.ts.map +1 -1
  369. package/dist/utils/element-config-store.d.ts +29 -0
  370. package/dist/utils/element-config-store.d.ts.map +1 -0
  371. package/dist/utils/err-msg.d.ts +7 -0
  372. package/dist/utils/err-msg.d.ts.map +1 -0
  373. package/dist/utils/json-safe.d.ts +33 -0
  374. package/dist/utils/json-safe.d.ts.map +1 -0
  375. package/dist/utils/mask-url.d.ts +10 -0
  376. package/dist/utils/mask-url.d.ts.map +1 -0
  377. package/dist/utils/ring-buffer.d.ts +16 -0
  378. package/dist/utils/ring-buffer.d.ts.map +1 -0
  379. package/dist/utils/run-inference-step.d.ts +26 -0
  380. package/dist/utils/run-inference-step.d.ts.map +1 -0
  381. package/dist/utils/runtime-mapping.d.ts +88 -0
  382. package/dist/utils/runtime-mapping.d.ts.map +1 -0
  383. package/dist/utils/zone-rule-eval.d.ts +47 -0
  384. package/dist/utils/zone-rule-eval.d.ts.map +1 -0
  385. package/package.json +11 -2
  386. package/dist/__tests__/addon-capability-provider.test.d.ts +0 -2
  387. package/dist/__tests__/addon-capability-provider.test.d.ts.map +0 -1
  388. package/dist/__tests__/addon-declaration.test.d.ts +0 -2
  389. package/dist/__tests__/addon-declaration.test.d.ts.map +0 -1
  390. package/dist/__tests__/capability.test.d.ts +0 -2
  391. package/dist/__tests__/capability.test.d.ts.map +0 -1
  392. package/dist/interfaces/addon-i18n.d.ts +0 -41
  393. package/dist/interfaces/addon-i18n.d.ts.map +0 -1
  394. package/dist/interfaces/classifier.d.ts +0 -8
  395. package/dist/interfaces/classifier.d.ts.map +0 -1
  396. package/dist/interfaces/cropper.d.ts +0 -8
  397. package/dist/interfaces/cropper.d.ts.map +0 -1
  398. package/dist/interfaces/detector.d.ts +0 -8
  399. package/dist/interfaces/detector.d.ts.map +0 -1
  400. package/dist/interfaces/device-capabilities/accessory.d.ts +0 -14
  401. package/dist/interfaces/device-capabilities/accessory.d.ts.map +0 -1
  402. package/dist/interfaces/device-capabilities/audio-detector.d.ts +0 -12
  403. package/dist/interfaces/device-capabilities/audio-detector.d.ts.map +0 -1
  404. package/dist/interfaces/device-capabilities/doorbell.d.ts +0 -10
  405. package/dist/interfaces/device-capabilities/doorbell.d.ts.map +0 -1
  406. package/dist/interfaces/device-capabilities/events.d.ts +0 -47
  407. package/dist/interfaces/device-capabilities/events.d.ts.map +0 -1
  408. package/dist/interfaces/device-capabilities/motion-sensor.d.ts +0 -7
  409. package/dist/interfaces/device-capabilities/motion-sensor.d.ts.map +0 -1
  410. package/dist/interfaces/device-capabilities/native-detection.d.ts +0 -14
  411. package/dist/interfaces/device-capabilities/native-detection.d.ts.map +0 -1
  412. package/dist/interfaces/device-capabilities/object-detector.d.ts +0 -59
  413. package/dist/interfaces/device-capabilities/object-detector.d.ts.map +0 -1
  414. package/dist/interfaces/device-capabilities/pan-tilt-zoom.d.ts +0 -29
  415. package/dist/interfaces/device-capabilities/pan-tilt-zoom.d.ts.map +0 -1
  416. package/dist/interfaces/device-capabilities/recording.d.ts +0 -18
  417. package/dist/interfaces/device-capabilities/recording.d.ts.map +0 -1
  418. package/dist/interfaces/device-capabilities/siren.d.ts +0 -8
  419. package/dist/interfaces/device-capabilities/siren.d.ts.map +0 -1
  420. package/dist/interfaces/device-capabilities/status-light.d.ts +0 -7
  421. package/dist/interfaces/device-capabilities/status-light.d.ts.map +0 -1
  422. package/dist/interfaces/device-capabilities/switch.d.ts +0 -8
  423. package/dist/interfaces/device-capabilities/switch.d.ts.map +0 -1
  424. package/dist/interfaces/device-capabilities/two-way-audio.d.ts +0 -8
  425. package/dist/interfaces/device-capabilities/two-way-audio.d.ts.map +0 -1
  426. package/dist/interfaces/device-capability.d.ts +0 -14
  427. package/dist/interfaces/device-capability.d.ts.map +0 -1
  428. package/dist/interfaces/model-catalog.d.ts +0 -25
  429. package/dist/interfaces/model-catalog.d.ts.map +0 -1
  430. package/dist/interfaces/refiner.d.ts +0 -8
  431. package/dist/interfaces/refiner.d.ts.map +0 -1
  432. package/dist/interfaces/repositories.d.ts +0 -20
  433. package/dist/interfaces/repositories.d.ts.map +0 -1
  434. package/dist/interfaces/scene-intelligence.d.ts +0 -21
  435. package/dist/interfaces/scene-intelligence.d.ts.map +0 -1
  436. package/dist/interfaces/storage-backend.d.ts +0 -27
  437. package/dist/interfaces/storage-backend.d.ts.map +0 -1
  438. package/dist/interfaces/worker-protocol.d.ts +0 -110
  439. package/dist/interfaces/worker-protocol.d.ts.map +0 -1
  440. package/dist/schemas/system-settings-schemas.d.ts +0 -27
  441. package/dist/schemas/system-settings-schemas.d.ts.map +0 -1
  442. package/dist/types/benchmark.d.ts +0 -112
  443. package/dist/types/benchmark.d.ts.map +0 -1
  444. package/dist/types/zones.d.ts +0 -48
  445. package/dist/types/zones.d.ts.map +0 -1
@@ -0,0 +1,103 @@
1
+ import { z } from 'zod';
2
+ import { type InferProvider } from './capability-definition.js';
3
+ /**
4
+ * `addon-widgets-source` — collection cap exposing per-addon raw widget
5
+ * declarations. Mirrors the addon-pages split: every addon shipping
6
+ * widgets registers a provider on this collection cap; the hub-local
7
+ * aggregator (`addon-widgets`, see `addon-widgets.cap.ts`) walks the
8
+ * collection, stamps versioned `bundleUrl`s onto each declaration, and
9
+ * exposes the public listing surface that admin-ui consumes.
10
+ *
11
+ * The split exists because the public listing has a different output
12
+ * shape (flat enriched metadata with `addonId` + `bundleUrl`) than the
13
+ * per-provider raw declarations. Both ends flow through codegen.
14
+ */
15
+ declare const WidgetHostEnum: z.ZodEnum<{
16
+ "device-tab": "device-tab";
17
+ dashboard: "dashboard";
18
+ "integration-detail": "integration-detail";
19
+ }>;
20
+ declare const WidgetSizeEnum: z.ZodEnum<{
21
+ xs: "xs";
22
+ sm: "sm";
23
+ md: "md";
24
+ lg: "lg";
25
+ xl: "xl";
26
+ }>;
27
+ declare const WidgetMetadataSchema: z.ZodObject<{
28
+ stableId: z.ZodString;
29
+ label: z.ZodString;
30
+ description: z.ZodOptional<z.ZodString>;
31
+ icon: z.ZodOptional<z.ZodString>;
32
+ remoteName: z.ZodString;
33
+ bundle: z.ZodString;
34
+ hosts: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
35
+ "device-tab": "device-tab";
36
+ dashboard: "dashboard";
37
+ "integration-detail": "integration-detail";
38
+ }>>>;
39
+ requires: z.ZodObject<{
40
+ deviceContext: z.ZodDefault<z.ZodBoolean>;
41
+ integrationContext: z.ZodDefault<z.ZodBoolean>;
42
+ }, z.core.$strip>;
43
+ defaultSize: z.ZodDefault<z.ZodEnum<{
44
+ xs: "xs";
45
+ sm: "sm";
46
+ md: "md";
47
+ lg: "lg";
48
+ xl: "xl";
49
+ }>>;
50
+ allowedSizes: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
51
+ xs: "xs";
52
+ sm: "sm";
53
+ md: "md";
54
+ lg: "lg";
55
+ xl: "xl";
56
+ }>>>>;
57
+ defaultColumns: z.ZodDefault<z.ZodNumber>;
58
+ defaultRows: z.ZodDefault<z.ZodNumber>;
59
+ }, z.core.$strip>;
60
+ export declare const addonWidgetsSourceCapability: {
61
+ readonly name: "addon-widgets-source";
62
+ readonly scope: "system";
63
+ readonly mode: "collection";
64
+ readonly internal: true;
65
+ readonly methods: {
66
+ readonly listWidgets: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
67
+ stableId: z.ZodString;
68
+ label: z.ZodString;
69
+ description: z.ZodOptional<z.ZodString>;
70
+ icon: z.ZodOptional<z.ZodString>;
71
+ remoteName: z.ZodString;
72
+ bundle: z.ZodString;
73
+ hosts: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
74
+ "device-tab": "device-tab";
75
+ dashboard: "dashboard";
76
+ "integration-detail": "integration-detail";
77
+ }>>>;
78
+ requires: z.ZodObject<{
79
+ deviceContext: z.ZodDefault<z.ZodBoolean>;
80
+ integrationContext: z.ZodDefault<z.ZodBoolean>;
81
+ }, z.core.$strip>;
82
+ defaultSize: z.ZodDefault<z.ZodEnum<{
83
+ xs: "xs";
84
+ sm: "sm";
85
+ md: "md";
86
+ lg: "lg";
87
+ xl: "xl";
88
+ }>>;
89
+ allowedSizes: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
90
+ xs: "xs";
91
+ sm: "sm";
92
+ md: "md";
93
+ lg: "lg";
94
+ xl: "xl";
95
+ }>>>>;
96
+ defaultColumns: z.ZodDefault<z.ZodNumber>;
97
+ defaultRows: z.ZodDefault<z.ZodNumber>;
98
+ }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
99
+ };
100
+ };
101
+ export type IAddonWidgetsSourceProvider = InferProvider<typeof addonWidgetsSourceCapability>;
102
+ export { WidgetMetadataSchema, WidgetHostEnum, WidgetSizeEnum };
103
+ //# sourceMappingURL=addon-widgets-source.cap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addon-widgets-source.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/addon-widgets-source.cap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAqC,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAElG;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,cAAc;;;;EAA4D,CAAA;AAChF,QAAA,MAAM,cAAc;;;;;;EAAyC,CAAA;AAE7D,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmCxB,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQA,CAAA;AAEzC,MAAM,MAAM,2BAA2B,GAAG,aAAa,CAAC,OAAO,4BAA4B,CAAC,CAAA;AAE5F,OAAO,EAAE,oBAAoB,EAAE,cAAc,EAAE,cAAc,EAAE,CAAA"}
@@ -0,0 +1,98 @@
1
+ import { z } from 'zod';
2
+ import { type InferProvider } from './capability-definition.js';
3
+ /**
4
+ * `addon-widgets` — system-scoped singleton aggregator cap. Public-facing
5
+ * surface that admin-ui consumes through `useAddonWidgetsListWidgets()`.
6
+ *
7
+ * The provider iterates every `addon-widgets-source` (collection)
8
+ * provider and emits `EnrichedWidgetMetadata[]` enriched with versioned
9
+ * `bundleUrl` strings pointing at
10
+ * `/api/addon-widgets/<addonId>/<bundle>?v=<mtime>`. The filesystem
11
+ * `mtime` cache-buster lets the browser pick up addon rebuilds without
12
+ * manual reload — same scheme used by `addon-pages`.
13
+ *
14
+ * The hub-local builtin `addon-widgets-aggregator` (see
15
+ * `@camstack/core/builtins/addon-widgets-aggregator`) registers the
16
+ * provider. Splitting the public aggregator from the raw collection
17
+ * keeps both ends in codegen — there's no hand-written wrapper.
18
+ */
19
+ declare const EnrichedWidgetMetadataSchema: z.ZodObject<{
20
+ stableId: z.ZodString;
21
+ label: z.ZodString;
22
+ description: z.ZodOptional<z.ZodString>;
23
+ icon: z.ZodOptional<z.ZodString>;
24
+ remoteName: z.ZodString;
25
+ bundle: z.ZodString;
26
+ hosts: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
27
+ "device-tab": "device-tab";
28
+ dashboard: "dashboard";
29
+ "integration-detail": "integration-detail";
30
+ }>>>;
31
+ requires: z.ZodObject<{
32
+ deviceContext: z.ZodDefault<z.ZodBoolean>;
33
+ integrationContext: z.ZodDefault<z.ZodBoolean>;
34
+ }, z.core.$strip>;
35
+ defaultSize: z.ZodDefault<z.ZodEnum<{
36
+ xs: "xs";
37
+ sm: "sm";
38
+ md: "md";
39
+ lg: "lg";
40
+ xl: "xl";
41
+ }>>;
42
+ allowedSizes: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
43
+ xs: "xs";
44
+ sm: "sm";
45
+ md: "md";
46
+ lg: "lg";
47
+ xl: "xl";
48
+ }>>>>;
49
+ defaultColumns: z.ZodDefault<z.ZodNumber>;
50
+ defaultRows: z.ZodDefault<z.ZodNumber>;
51
+ addonId: z.ZodString;
52
+ bundleUrl: z.ZodString;
53
+ }, z.core.$strip>;
54
+ export declare const addonWidgetsCapability: {
55
+ readonly name: "addon-widgets";
56
+ readonly scope: "system";
57
+ readonly mode: "singleton";
58
+ readonly methods: {
59
+ readonly listWidgets: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
60
+ stableId: z.ZodString;
61
+ label: z.ZodString;
62
+ description: z.ZodOptional<z.ZodString>;
63
+ icon: z.ZodOptional<z.ZodString>;
64
+ remoteName: z.ZodString;
65
+ bundle: z.ZodString;
66
+ hosts: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
67
+ "device-tab": "device-tab";
68
+ dashboard: "dashboard";
69
+ "integration-detail": "integration-detail";
70
+ }>>>;
71
+ requires: z.ZodObject<{
72
+ deviceContext: z.ZodDefault<z.ZodBoolean>;
73
+ integrationContext: z.ZodDefault<z.ZodBoolean>;
74
+ }, z.core.$strip>;
75
+ defaultSize: z.ZodDefault<z.ZodEnum<{
76
+ xs: "xs";
77
+ sm: "sm";
78
+ md: "md";
79
+ lg: "lg";
80
+ xl: "xl";
81
+ }>>;
82
+ allowedSizes: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
83
+ xs: "xs";
84
+ sm: "sm";
85
+ md: "md";
86
+ lg: "lg";
87
+ xl: "xl";
88
+ }>>>>;
89
+ defaultColumns: z.ZodDefault<z.ZodNumber>;
90
+ defaultRows: z.ZodDefault<z.ZodNumber>;
91
+ addonId: z.ZodString;
92
+ bundleUrl: z.ZodString;
93
+ }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
94
+ };
95
+ };
96
+ export type IAddonWidgetsAggregatorProvider = InferProvider<typeof addonWidgetsCapability>;
97
+ export { EnrichedWidgetMetadataSchema };
98
+ //# sourceMappingURL=addon-widgets.cap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addon-widgets.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/addon-widgets.cap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAqC,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAGlG;;;;;;;;;;;;;;;GAeG;AAEH,QAAA,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGhC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOM,CAAA;AAEzC,MAAM,MAAM,+BAA+B,GAAG,aAAa,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAE1F,OAAO,EAAE,4BAA4B,EAAE,CAAA"}
@@ -0,0 +1,280 @@
1
+ import { z } from 'zod';
2
+ import { type InferProvider } from './capability-definition.js';
3
+ /**
4
+ * addons — system-scoped singleton capability for addon package
5
+ * management (install, update, configure, restart) and per-addon log
6
+ * streaming.
7
+ *
8
+ * Implementation lives in the server's `AddonRegistryService`,
9
+ * `AddonPackageService`, and `LoggingService`. The provider is
10
+ * registered from `trpc.router.ts` against those services — no addon
11
+ * owns this surface end-to-end (it manages addons themselves).
12
+ *
13
+ * Phase E of the API consolidation: previously a hand-written core
14
+ * router. Cap conversion lets `useAddonsList`, `useAddonsInstallPackage`,
15
+ * `useAddonsOnAddonLogs`, etc. flow through the same codegen pipeline
16
+ * as every other cap.
17
+ */
18
+ declare const LogLevelSchema: z.ZodEnum<{
19
+ info: "info";
20
+ error: "error";
21
+ debug: "debug";
22
+ warn: "warn";
23
+ }>;
24
+ declare const ChannelSchema: z.ZodEnum<{
25
+ off: "off";
26
+ latest: "latest";
27
+ beta: "beta";
28
+ }>;
29
+ declare const ChannelWithInheritSchema: z.ZodEnum<{
30
+ off: "off";
31
+ latest: "latest";
32
+ beta: "beta";
33
+ inherit: "inherit";
34
+ }>;
35
+ declare const AddonListItemSchema: z.ZodObject<{
36
+ manifest: z.ZodObject<{
37
+ id: z.ZodString;
38
+ name: z.ZodOptional<z.ZodString>;
39
+ version: z.ZodOptional<z.ZodString>;
40
+ description: z.ZodOptional<z.ZodString>;
41
+ icon: z.ZodOptional<z.ZodString>;
42
+ color: z.ZodOptional<z.ZodString>;
43
+ capabilities: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodUnknown>>>;
44
+ packageName: z.ZodString;
45
+ packageVersion: z.ZodString;
46
+ packageDisplayName: z.ZodOptional<z.ZodString>;
47
+ protected: z.ZodOptional<z.ZodBoolean>;
48
+ removable: z.ZodOptional<z.ZodBoolean>;
49
+ }, z.core.$strip>;
50
+ declaration: z.ZodOptional<z.ZodUnknown>;
51
+ source: z.ZodString;
52
+ installSource: z.ZodOptional<z.ZodString>;
53
+ process: z.ZodOptional<z.ZodObject<{
54
+ pid: z.ZodOptional<z.ZodNumber>;
55
+ mode: z.ZodString;
56
+ state: z.ZodString;
57
+ }, z.core.$strip>>;
58
+ }, z.core.$strip>;
59
+ declare const InstalledPackageSchema: z.ZodObject<{
60
+ name: z.ZodString;
61
+ version: z.ZodString;
62
+ dir: z.ZodString;
63
+ installSource: z.ZodOptional<z.ZodString>;
64
+ }, z.core.$strip>;
65
+ declare const PackageUpdateSchema: z.ZodObject<{
66
+ name: z.ZodString;
67
+ currentVersion: z.ZodString;
68
+ latestVersion: z.ZodString;
69
+ category: z.ZodEnum<{
70
+ addon: "addon";
71
+ core: "core";
72
+ }>;
73
+ requiresRestart: z.ZodBoolean;
74
+ }, z.core.$strip>;
75
+ declare const PackageVersionInfoSchema: z.ZodObject<{
76
+ version: z.ZodString;
77
+ publishedAt: z.ZodString;
78
+ deprecated: z.ZodOptional<z.ZodString>;
79
+ distTags: z.ZodReadonly<z.ZodArray<z.ZodString>>;
80
+ }, z.core.$strip>;
81
+ declare const SearchResultSchema: z.ZodObject<{
82
+ name: z.ZodString;
83
+ version: z.ZodString;
84
+ description: z.ZodString;
85
+ keywords: z.ZodReadonly<z.ZodArray<z.ZodString>>;
86
+ publishedAt: z.ZodString;
87
+ author: z.ZodString;
88
+ installed: z.ZodBoolean;
89
+ installedVersion: z.ZodOptional<z.ZodString>;
90
+ }, z.core.$strip>;
91
+ declare const AutoUpdateSettingsSchema: z.ZodObject<{
92
+ channel: z.ZodEnum<{
93
+ off: "off";
94
+ latest: "latest";
95
+ beta: "beta";
96
+ }>;
97
+ intervalSeconds: z.ZodNumber;
98
+ }, z.core.$strip>;
99
+ declare const AddonAutoUpdateSchema: z.ZodEnum<{
100
+ off: "off";
101
+ latest: "latest";
102
+ beta: "beta";
103
+ inherit: "inherit";
104
+ }>;
105
+ declare const LogStreamEntrySchema: z.ZodObject<{
106
+ timestamp: z.ZodString;
107
+ level: z.ZodString;
108
+ message: z.ZodString;
109
+ scope: z.ZodOptional<z.ZodString>;
110
+ }, z.core.$strip>;
111
+ declare const CustomActionInputSchema: z.ZodObject<{
112
+ addonId: z.ZodString;
113
+ action: z.ZodString;
114
+ input: z.ZodUnknown;
115
+ }, z.core.$strip>;
116
+ export declare const addonsCapability: {
117
+ readonly name: "addons";
118
+ readonly scope: "system";
119
+ readonly mode: "singleton";
120
+ readonly methods: {
121
+ readonly list: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
122
+ manifest: z.ZodObject<{
123
+ id: z.ZodString;
124
+ name: z.ZodOptional<z.ZodString>;
125
+ version: z.ZodOptional<z.ZodString>;
126
+ description: z.ZodOptional<z.ZodString>;
127
+ icon: z.ZodOptional<z.ZodString>;
128
+ color: z.ZodOptional<z.ZodString>;
129
+ capabilities: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodUnknown>>>;
130
+ packageName: z.ZodString;
131
+ packageVersion: z.ZodString;
132
+ packageDisplayName: z.ZodOptional<z.ZodString>;
133
+ protected: z.ZodOptional<z.ZodBoolean>;
134
+ removable: z.ZodOptional<z.ZodBoolean>;
135
+ }, z.core.$strip>;
136
+ declaration: z.ZodOptional<z.ZodUnknown>;
137
+ source: z.ZodString;
138
+ installSource: z.ZodOptional<z.ZodString>;
139
+ process: z.ZodOptional<z.ZodObject<{
140
+ pid: z.ZodOptional<z.ZodNumber>;
141
+ mode: z.ZodString;
142
+ state: z.ZodString;
143
+ }, z.core.$strip>>;
144
+ }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
145
+ readonly getLogs: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
146
+ addonId: z.ZodString;
147
+ limit: z.ZodDefault<z.ZodNumber>;
148
+ level: z.ZodOptional<z.ZodEnum<{
149
+ info: "info";
150
+ error: "error";
151
+ debug: "debug";
152
+ warn: "warn";
153
+ }>>;
154
+ }, z.core.$strip>, z.ZodArray<z.ZodUnknown>, import("./capability-definition.js").CapabilityMethodKind>;
155
+ readonly listPackages: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
156
+ name: z.ZodString;
157
+ version: z.ZodString;
158
+ dir: z.ZodString;
159
+ installSource: z.ZodOptional<z.ZodString>;
160
+ }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
161
+ readonly installPackage: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
162
+ packageName: z.ZodString;
163
+ version: z.ZodOptional<z.ZodString>;
164
+ }, z.core.$strip>, z.ZodUnknown, "mutation">;
165
+ readonly installFromWorkspace: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
166
+ packageName: z.ZodString;
167
+ }, z.core.$strip>, z.ZodUnknown, "mutation">;
168
+ readonly isWorkspaceAvailable: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodBoolean, import("./capability-definition.js").CapabilityMethodKind>;
169
+ readonly listWorkspacePackages: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodUnknown>>, import("./capability-definition.js").CapabilityMethodKind>;
170
+ readonly uninstallPackage: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
171
+ packageName: z.ZodString;
172
+ }, z.core.$strip>, z.ZodUnknown, "mutation">;
173
+ readonly reloadPackages: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodUnknown, "mutation">;
174
+ readonly searchAvailable: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
175
+ query: z.ZodOptional<z.ZodString>;
176
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
177
+ name: z.ZodString;
178
+ version: z.ZodString;
179
+ description: z.ZodString;
180
+ keywords: z.ZodReadonly<z.ZodArray<z.ZodString>>;
181
+ publishedAt: z.ZodString;
182
+ author: z.ZodString;
183
+ installed: z.ZodBoolean;
184
+ installedVersion: z.ZodOptional<z.ZodString>;
185
+ }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
186
+ readonly listUpdates: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
187
+ name: z.ZodString;
188
+ currentVersion: z.ZodString;
189
+ latestVersion: z.ZodString;
190
+ category: z.ZodEnum<{
191
+ addon: "addon";
192
+ core: "core";
193
+ }>;
194
+ requiresRestart: z.ZodBoolean;
195
+ }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
196
+ readonly updatePackage: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
197
+ name: z.ZodString;
198
+ version: z.ZodOptional<z.ZodString>;
199
+ }, z.core.$strip>, z.ZodUnknown, "mutation">;
200
+ readonly forceRefresh: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodUnknown, "mutation">;
201
+ readonly restartServer: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
202
+ confirm: z.ZodLiteral<true>;
203
+ }, z.core.$strip>, z.ZodUnknown, "mutation">;
204
+ readonly getVersions: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
205
+ name: z.ZodString;
206
+ }, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
207
+ version: z.ZodString;
208
+ publishedAt: z.ZodString;
209
+ deprecated: z.ZodOptional<z.ZodString>;
210
+ distTags: z.ZodReadonly<z.ZodArray<z.ZodString>>;
211
+ }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
212
+ readonly restartAddon: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
213
+ addonId: z.ZodString;
214
+ }, z.core.$strip>, z.ZodUnknown, "mutation">;
215
+ readonly getAutoUpdateSettings: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
216
+ channel: z.ZodEnum<{
217
+ off: "off";
218
+ latest: "latest";
219
+ beta: "beta";
220
+ }>;
221
+ intervalSeconds: z.ZodNumber;
222
+ }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
223
+ readonly setAutoUpdateSettings: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
224
+ channel: z.ZodEnum<{
225
+ off: "off";
226
+ latest: "latest";
227
+ beta: "beta";
228
+ }>;
229
+ intervalSeconds: z.ZodOptional<z.ZodNumber>;
230
+ }, z.core.$strip>, z.ZodUnknown, "mutation">;
231
+ readonly getAddonAutoUpdate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
232
+ addonId: z.ZodString;
233
+ }, z.core.$strip>, z.ZodEnum<{
234
+ off: "off";
235
+ latest: "latest";
236
+ beta: "beta";
237
+ inherit: "inherit";
238
+ }>, import("./capability-definition.js").CapabilityMethodKind>;
239
+ readonly setAddonAutoUpdate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
240
+ addonId: z.ZodString;
241
+ channel: z.ZodEnum<{
242
+ off: "off";
243
+ latest: "latest";
244
+ beta: "beta";
245
+ inherit: "inherit";
246
+ }>;
247
+ }, z.core.$strip>, z.ZodUnknown, "mutation">;
248
+ readonly applyAutoUpdateToAll: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
249
+ channel: z.ZodEnum<{
250
+ off: "off";
251
+ latest: "latest";
252
+ beta: "beta";
253
+ }>;
254
+ }, z.core.$strip>, z.ZodObject<{
255
+ success: z.ZodLiteral<true>;
256
+ }, z.core.$strip>, "mutation">;
257
+ readonly custom: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
258
+ addonId: z.ZodString;
259
+ action: z.ZodString;
260
+ input: z.ZodUnknown;
261
+ }, z.core.$strip>, z.ZodUnknown, "mutation">;
262
+ readonly onAddonLogs: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
263
+ addonId: z.ZodString;
264
+ level: z.ZodOptional<z.ZodEnum<{
265
+ info: "info";
266
+ error: "error";
267
+ debug: "debug";
268
+ warn: "warn";
269
+ }>>;
270
+ }, z.core.$strip>, z.ZodObject<{
271
+ timestamp: z.ZodString;
272
+ level: z.ZodString;
273
+ message: z.ZodString;
274
+ scope: z.ZodOptional<z.ZodString>;
275
+ }, z.core.$strip>, "subscription">;
276
+ };
277
+ };
278
+ export type IAddonsProvider = InferProvider<typeof addonsCapability>;
279
+ export { AddonListItemSchema, InstalledPackageSchema, PackageUpdateSchema, PackageVersionInfoSchema, SearchResultSchema, AutoUpdateSettingsSchema, AddonAutoUpdateSchema, LogStreamEntrySchema, CustomActionInputSchema, LogLevelSchema, ChannelSchema, ChannelWithInheritSchema, };
280
+ //# sourceMappingURL=addons.cap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addons.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/addons.cap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAqC,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAElG;;;;;;;;;;;;;;GAcG;AAYH,QAAA,MAAM,cAAc;;;;;EAA6C,CAAA;AACjE,QAAA,MAAM,aAAa;;;;EAAoC,CAAA;AACvD,QAAA,MAAM,wBAAwB;;;;;EAA+C,CAAA;AA+B7E,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;iBAMvB,CAAA;AAEF,QAAA,MAAM,sBAAsB;;;;;iBAK1B,CAAA;AAEF,QAAA,MAAM,mBAAmB;;;;;;;;;iBAMvB,CAAA;AAEF,QAAA,MAAM,wBAAwB;;;;;iBAK5B,CAAA;AAEF,QAAA,MAAM,kBAAkB;;;;;;;;;iBAStB,CAAA;AAEF,QAAA,MAAM,wBAAwB;;;;;;;iBAG5B,CAAA;AAEF,QAAA,MAAM,qBAAqB;;;;;EAA2B,CAAA;AAQtD,QAAA,MAAM,oBAAoB;;;;;iBAKxB,CAAA;AAQF,QAAA,MAAM,uBAAuB;;;;iBAI3B,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0HY,CAAA;AAEzC,MAAM,MAAM,eAAe,GAAG,aAAa,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAEpE,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EACtB,mBAAmB,EACnB,wBAAwB,EACxB,kBAAkB,EAClB,wBAAwB,EACxB,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,cAAc,EACd,aAAa,EACb,wBAAwB,GACzB,CAAA"}
@@ -0,0 +1,14 @@
1
+ import { z } from 'zod';
2
+ import { type InferProvider } from './capability-definition.js';
3
+ export declare const adminUiCapability: {
4
+ readonly name: "admin-ui";
5
+ readonly scope: "system";
6
+ readonly mode: "singleton";
7
+ readonly internal: true;
8
+ readonly methods: {
9
+ readonly getStaticDir: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodString, import("./capability-definition.js").CapabilityMethodKind>;
10
+ readonly getVersion: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodString, import("./capability-definition.js").CapabilityMethodKind>;
11
+ };
12
+ };
13
+ export type IAdminUiProvider = InferProvider<typeof adminUiCapability>;
14
+ //# sourceMappingURL=admin-ui.cap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"admin-ui.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/admin-ui.cap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAqC,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAElG,eAAO,MAAM,iBAAiB;;;;;;;;;CASW,CAAA;AAEzC,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC,OAAO,iBAAiB,CAAC,CAAA"}
@@ -0,0 +1,60 @@
1
+ import { z } from 'zod';
2
+ import { type InferProvider } from './capability-definition.js';
3
+ declare const NotificationRuleSchema: z.ZodObject<{
4
+ id: z.ZodString;
5
+ name: z.ZodString;
6
+ enabled: z.ZodBoolean;
7
+ conditions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
+ actions: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9
+ }, z.core.$strip>;
10
+ declare const NotificationHistoryEntrySchema: z.ZodObject<{
11
+ id: z.ZodString;
12
+ ruleId: z.ZodString;
13
+ timestamp: z.ZodNumber;
14
+ deviceId: z.ZodOptional<z.ZodNumber>;
15
+ success: z.ZodBoolean;
16
+ error: z.ZodOptional<z.ZodString>;
17
+ }, z.core.$strip>;
18
+ export declare const advancedNotifierCapability: {
19
+ readonly name: "advanced-notifier";
20
+ readonly scope: "system";
21
+ readonly mode: "singleton";
22
+ readonly internal: true;
23
+ readonly methods: {
24
+ readonly getRules: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
25
+ id: z.ZodString;
26
+ name: z.ZodString;
27
+ enabled: z.ZodBoolean;
28
+ conditions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
29
+ actions: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
30
+ }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
31
+ readonly upsertRule: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
32
+ id: z.ZodString;
33
+ name: z.ZodString;
34
+ enabled: z.ZodBoolean;
35
+ conditions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
36
+ actions: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
37
+ }, z.core.$strip>, z.ZodVoid, "mutation">;
38
+ readonly deleteRule: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
39
+ ruleId: z.ZodString;
40
+ }, z.core.$strip>, z.ZodVoid, "mutation">;
41
+ readonly testRule: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
42
+ ruleId: z.ZodString;
43
+ lookbackMinutes: z.ZodNumber;
44
+ }, z.core.$strip>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>, "mutation">;
45
+ readonly getHistory: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
46
+ ruleId: z.ZodOptional<z.ZodString>;
47
+ limit: z.ZodOptional<z.ZodNumber>;
48
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
49
+ id: z.ZodString;
50
+ ruleId: z.ZodString;
51
+ timestamp: z.ZodNumber;
52
+ deviceId: z.ZodOptional<z.ZodNumber>;
53
+ success: z.ZodBoolean;
54
+ error: z.ZodOptional<z.ZodString>;
55
+ }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
56
+ };
57
+ };
58
+ export type IAdvancedNotifierProvider = InferProvider<typeof advancedNotifierCapability>;
59
+ export { NotificationRuleSchema, NotificationHistoryEntrySchema };
60
+ //# sourceMappingURL=advanced-notifier.cap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"advanced-notifier.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/advanced-notifier.cap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAqC,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAElG,QAAA,MAAM,sBAAsB;;;;;;iBAM1B,CAAA;AAEF,QAAA,MAAM,8BAA8B;;;;;;;iBAOlC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBE,CAAA;AAEzC,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAExF,OAAO,EAAE,sBAAsB,EAAE,8BAA8B,EAAE,CAAA"}