@camstack/types 1.2.259 → 1.2.261

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 (73) hide show
  1. package/dist/addon/base-addon.d.ts +9 -1
  2. package/dist/addon.js +15 -7
  3. package/dist/addon.mjs +15 -7
  4. package/dist/capabilities/camera-streams.cap.d.ts +5 -5
  5. package/dist/capabilities/capability-definition.d.ts +9 -0
  6. package/dist/capabilities/custom-model-registry.cap.d.ts +18 -12
  7. package/dist/capabilities/decoder.cap.d.ts +12 -12
  8. package/dist/capabilities/device-extension.cap.d.ts +370 -0
  9. package/dist/capabilities/device-manager.cap.d.ts +45 -5
  10. package/dist/capabilities/doorbell.cap.d.ts +41 -0
  11. package/dist/capabilities/embedding-encoder.cap.d.ts +175 -0
  12. package/dist/capabilities/index.d.ts +17 -14
  13. package/dist/capabilities/llm-runtime.cap.d.ts +4 -4
  14. package/dist/capabilities/llm-shared.d.ts +6 -6
  15. package/dist/capabilities/llm.cap.d.ts +6 -6
  16. package/dist/capabilities/load-contribution.cap.d.ts +2 -2
  17. package/dist/capabilities/model-convert.cap.d.ts +9 -6
  18. package/dist/capabilities/model-distributor.cap.d.ts +18 -12
  19. package/dist/capabilities/motion-detection.cap.d.ts +4 -4
  20. package/dist/capabilities/notification-rules.cap.d.ts +603 -31
  21. package/dist/capabilities/osd-manager.cap.d.ts +7 -7
  22. package/dist/capabilities/pipeline-analytics.cap.d.ts +130 -129
  23. package/dist/capabilities/pipeline-executor.cap.d.ts +78 -120
  24. package/dist/capabilities/pipeline-orchestrator.cap.d.ts +78 -65
  25. package/dist/capabilities/pipeline-runner.cap.d.ts +30 -6
  26. package/dist/capabilities/platform-probe.cap.d.ts +4 -13
  27. package/dist/capabilities/recording-export.cap.d.ts +7 -7
  28. package/dist/capabilities/schemas/detection-shared.d.ts +4 -4
  29. package/dist/capabilities/schemas/streaming-shared.d.ts +8 -8
  30. package/dist/capabilities/stream-broker.cap.d.ts +9 -9
  31. package/dist/capabilities/system.cap.d.ts +2 -2
  32. package/dist/capabilities/vacuum-control.cap.d.ts +13 -13
  33. package/dist/capabilities/vector-store.cap.d.ts +14 -0
  34. package/dist/capabilities/videoclips.cap.d.ts +5 -5
  35. package/dist/capabilities/webrtc-session.cap.d.ts +2 -2
  36. package/dist/device-extension/index.d.ts +3 -0
  37. package/dist/device-extension/slot-descriptor.d.ts +62 -0
  38. package/dist/device-extension/slot-provider.d.ts +68 -0
  39. package/dist/generated/addon-api.d.ts +59 -9
  40. package/dist/generated/cap-input-defaults.d.ts +1 -1
  41. package/dist/generated/capability-router-map.d.ts +5 -2
  42. package/dist/generated/collection-array-methods.d.ts +1 -1
  43. package/dist/generated/device-proxy.d.ts +7 -7
  44. package/dist/generated/device-scoped-caps.d.ts +1 -1
  45. package/dist/generated/extension-slots.d.ts +39 -0
  46. package/dist/generated/method-access-map.d.ts +1 -1
  47. package/dist/generated/method-device-selectors.d.ts +1 -1
  48. package/dist/generated/system-proxy.d.ts +4 -2
  49. package/dist/index.d.ts +8 -3
  50. package/dist/index.js +3125 -1792
  51. package/dist/index.mjs +3049 -1788
  52. package/dist/interfaces/addon.d.ts +41 -0
  53. package/dist/interfaces/event-bus.d.ts +11 -1
  54. package/dist/interfaces/pipeline-executor-capability.d.ts +15 -6
  55. package/dist/interfaces/platform.d.ts +2 -2
  56. package/dist/interfaces/stream-broker.d.ts +2 -2
  57. package/dist/node.d.ts +1 -0
  58. package/dist/node.js +73 -7
  59. package/dist/node.mjs +73 -8
  60. package/dist/notification/system-event-summary.d.ts +83 -0
  61. package/dist/notification/template-vars.d.ts +15 -0
  62. package/dist/pipeline/cluster-model-scope.d.ts +59 -3
  63. package/dist/{sleep-DU7mu4wb.mjs → sleep-BXv0ZcRa.mjs} +49 -33
  64. package/dist/{sleep-DtomDrRW.js → sleep-QxyLiUId.js} +54 -32
  65. package/dist/storage/atomic-write.d.ts +25 -0
  66. package/dist/types/clip-model.d.ts +64 -0
  67. package/dist/types/detection.d.ts +9 -0
  68. package/dist/types/models.d.ts +18 -19
  69. package/dist/types/pipeline-step.d.ts +9 -1
  70. package/dist/types/pipeline.d.ts +2 -1
  71. package/dist/utils/background-run-registry.d.ts +69 -0
  72. package/dist/utils/runtime-mapping.d.ts +9 -54
  73. package/package.json +1 -1
@@ -32,7 +32,6 @@ export declare const ModelDistributeInputSchema: z.ZodObject<{
32
32
  isDirectory: z.ZodOptional<z.ZodBoolean>;
33
33
  files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
34
34
  runtimes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
35
- node: "node";
36
35
  python: "python";
37
36
  }>>>>;
38
37
  }, z.core.$strip>>;
@@ -42,7 +41,6 @@ export declare const ModelDistributeInputSchema: z.ZodObject<{
42
41
  isDirectory: z.ZodOptional<z.ZodBoolean>;
43
42
  files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
44
43
  runtimes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
45
- node: "node";
46
44
  python: "python";
47
45
  }>>>>;
48
46
  }, z.core.$strip>>;
@@ -52,7 +50,6 @@ export declare const ModelDistributeInputSchema: z.ZodObject<{
52
50
  isDirectory: z.ZodOptional<z.ZodBoolean>;
53
51
  files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
54
52
  runtimes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
55
- node: "node";
56
53
  python: "python";
57
54
  }>>>>;
58
55
  }, z.core.$strip>>;
@@ -62,7 +59,6 @@ export declare const ModelDistributeInputSchema: z.ZodObject<{
62
59
  isDirectory: z.ZodOptional<z.ZodBoolean>;
63
60
  files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
64
61
  runtimes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
65
- node: "node";
66
62
  python: "python";
67
63
  }>>>>;
68
64
  }, z.core.$strip>>;
@@ -72,7 +68,6 @@ export declare const ModelDistributeInputSchema: z.ZodObject<{
72
68
  isDirectory: z.ZodOptional<z.ZodBoolean>;
73
69
  files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
74
70
  runtimes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
75
- node: "node";
76
71
  python: "python";
77
72
  }>>>>;
78
73
  }, z.core.$strip>>;
@@ -82,7 +77,6 @@ export declare const ModelDistributeInputSchema: z.ZodObject<{
82
77
  isDirectory: z.ZodOptional<z.ZodBoolean>;
83
78
  files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
84
79
  runtimes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
85
- node: "node";
86
80
  python: "python";
87
81
  }>>>>;
88
82
  }, z.core.$strip>>;
@@ -155,6 +149,15 @@ export declare const ModelDistributeInputSchema: z.ZodObject<{
155
149
  }>>;
156
150
  preserveOriginal: z.ZodBoolean;
157
151
  }, z.core.$strip>>;
152
+ clip: z.ZodOptional<z.ZodObject<{
153
+ textModelId: z.ZodString;
154
+ embeddingDim: z.ZodNumber;
155
+ vectorIndex: z.ZodString;
156
+ tokenizerFile: z.ZodString;
157
+ contextLength: z.ZodNumber;
158
+ padId: z.ZodNumber;
159
+ searchMinScore: z.ZodNumber;
160
+ }, z.core.$strip>>;
158
161
  }, z.core.$strip>;
159
162
  }, z.core.$strip>;
160
163
  export declare const ModelDistributeResultSchema: z.ZodObject<{
@@ -191,7 +194,6 @@ export declare const modelDistributorCapability: {
191
194
  isDirectory: z.ZodOptional<z.ZodBoolean>;
192
195
  files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
193
196
  runtimes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
194
- node: "node";
195
197
  python: "python";
196
198
  }>>>>;
197
199
  }, z.core.$strip>>;
@@ -201,7 +203,6 @@ export declare const modelDistributorCapability: {
201
203
  isDirectory: z.ZodOptional<z.ZodBoolean>;
202
204
  files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
203
205
  runtimes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
204
- node: "node";
205
206
  python: "python";
206
207
  }>>>>;
207
208
  }, z.core.$strip>>;
@@ -211,7 +212,6 @@ export declare const modelDistributorCapability: {
211
212
  isDirectory: z.ZodOptional<z.ZodBoolean>;
212
213
  files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
213
214
  runtimes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
214
- node: "node";
215
215
  python: "python";
216
216
  }>>>>;
217
217
  }, z.core.$strip>>;
@@ -221,7 +221,6 @@ export declare const modelDistributorCapability: {
221
221
  isDirectory: z.ZodOptional<z.ZodBoolean>;
222
222
  files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
223
223
  runtimes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
224
- node: "node";
225
224
  python: "python";
226
225
  }>>>>;
227
226
  }, z.core.$strip>>;
@@ -231,7 +230,6 @@ export declare const modelDistributorCapability: {
231
230
  isDirectory: z.ZodOptional<z.ZodBoolean>;
232
231
  files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
233
232
  runtimes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
234
- node: "node";
235
233
  python: "python";
236
234
  }>>>>;
237
235
  }, z.core.$strip>>;
@@ -241,7 +239,6 @@ export declare const modelDistributorCapability: {
241
239
  isDirectory: z.ZodOptional<z.ZodBoolean>;
242
240
  files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
243
241
  runtimes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
244
- node: "node";
245
242
  python: "python";
246
243
  }>>>>;
247
244
  }, z.core.$strip>>;
@@ -314,6 +311,15 @@ export declare const modelDistributorCapability: {
314
311
  }>>;
315
312
  preserveOriginal: z.ZodBoolean;
316
313
  }, z.core.$strip>>;
314
+ clip: z.ZodOptional<z.ZodObject<{
315
+ textModelId: z.ZodString;
316
+ embeddingDim: z.ZodNumber;
317
+ vectorIndex: z.ZodString;
318
+ tokenizerFile: z.ZodString;
319
+ contextLength: z.ZodNumber;
320
+ padId: z.ZodNumber;
321
+ searchMinScore: z.ZodNumber;
322
+ }, z.core.$strip>>;
317
323
  }, z.core.$strip>;
318
324
  }, z.core.$strip>, z.ZodObject<{
319
325
  ok: z.ZodBoolean;
@@ -55,11 +55,11 @@ export declare const motionDetectionCapability: {
55
55
  frame: z.ZodOptional<z.ZodObject<{
56
56
  data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
57
57
  format: z.ZodEnum<{
58
- rgb: "rgb";
59
- gray: "gray";
60
58
  jpeg: "jpeg";
59
+ rgb: "rgb";
61
60
  bgr: "bgr";
62
61
  yuv420: "yuv420";
62
+ gray: "gray";
63
63
  }>;
64
64
  width: z.ZodNumber;
65
65
  height: z.ZodNumber;
@@ -72,11 +72,11 @@ export declare const motionDetectionCapability: {
72
72
  width: z.ZodNumber;
73
73
  height: z.ZodNumber;
74
74
  format: z.ZodEnum<{
75
- rgb: "rgb";
76
- gray: "gray";
77
75
  jpeg: "jpeg";
76
+ rgb: "rgb";
78
77
  bgr: "bgr";
79
78
  yuv420: "yuv420";
79
+ gray: "gray";
80
80
  }>;
81
81
  pts: z.ZodNumber;
82
82
  byteLength: z.ZodNumber;