@camstack/types 1.2.259 → 1.2.260

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 (46) hide show
  1. package/dist/addon.js +12 -2
  2. package/dist/addon.mjs +12 -2
  3. package/dist/capabilities/camera-streams.cap.d.ts +5 -5
  4. package/dist/capabilities/custom-model-registry.cap.d.ts +0 -12
  5. package/dist/capabilities/decoder.cap.d.ts +12 -12
  6. package/dist/capabilities/index.d.ts +3 -3
  7. package/dist/capabilities/load-contribution.cap.d.ts +2 -2
  8. package/dist/capabilities/model-convert.cap.d.ts +0 -6
  9. package/dist/capabilities/model-distributor.cap.d.ts +0 -12
  10. package/dist/capabilities/motion-detection.cap.d.ts +4 -4
  11. package/dist/capabilities/notification-rules.cap.d.ts +572 -18
  12. package/dist/capabilities/osd-manager.cap.d.ts +1 -1
  13. package/dist/capabilities/pipeline-analytics.cap.d.ts +50 -127
  14. package/dist/capabilities/pipeline-executor.cap.d.ts +78 -120
  15. package/dist/capabilities/pipeline-orchestrator.cap.d.ts +16 -64
  16. package/dist/capabilities/pipeline-runner.cap.d.ts +6 -6
  17. package/dist/capabilities/platform-probe.cap.d.ts +4 -13
  18. package/dist/capabilities/recording-export.cap.d.ts +7 -7
  19. package/dist/capabilities/schemas/detection-shared.d.ts +4 -4
  20. package/dist/capabilities/schemas/streaming-shared.d.ts +8 -8
  21. package/dist/capabilities/stream-broker.cap.d.ts +9 -9
  22. package/dist/capabilities/system.cap.d.ts +2 -2
  23. package/dist/capabilities/vacuum-control.cap.d.ts +13 -13
  24. package/dist/capabilities/videoclips.cap.d.ts +5 -5
  25. package/dist/capabilities/webrtc-session.cap.d.ts +2 -2
  26. package/dist/generated/addon-api.d.ts +9 -9
  27. package/dist/generated/cap-input-defaults.d.ts +1 -1
  28. package/dist/generated/method-device-selectors.d.ts +1 -1
  29. package/dist/index.d.ts +4 -2
  30. package/dist/index.js +1782 -1413
  31. package/dist/index.mjs +1767 -1409
  32. package/dist/interfaces/event-bus.d.ts +1 -1
  33. package/dist/interfaces/pipeline-executor-capability.d.ts +15 -6
  34. package/dist/interfaces/platform.d.ts +2 -2
  35. package/dist/interfaces/stream-broker.d.ts +2 -2
  36. package/dist/notification/system-event-summary.d.ts +83 -0
  37. package/dist/notification/template-vars.d.ts +15 -0
  38. package/dist/{sleep-DtomDrRW.js → sleep-BDYxE1ax.js} +1 -1
  39. package/dist/{sleep-DU7mu4wb.mjs → sleep-BaRu0bS5.mjs} +1 -1
  40. package/dist/types/detection.d.ts +9 -0
  41. package/dist/types/models.d.ts +0 -19
  42. package/dist/types/pipeline-step.d.ts +9 -1
  43. package/dist/types/pipeline.d.ts +2 -1
  44. package/dist/utils/background-run-registry.d.ts +69 -0
  45. package/dist/utils/runtime-mapping.d.ts +9 -54
  46. package/package.json +1 -1
@@ -17,11 +17,11 @@ export declare const NativeCropRefSchema: z.ZodObject<{
17
17
  width: z.ZodNumber;
18
18
  height: z.ZodNumber;
19
19
  format: z.ZodEnum<{
20
- rgb: "rgb";
21
- gray: "gray";
22
20
  jpeg: "jpeg";
21
+ rgb: "rgb";
23
22
  bgr: "bgr";
24
23
  yuv420: "yuv420";
24
+ gray: "gray";
25
25
  }>;
26
26
  pts: z.ZodNumber;
27
27
  byteLength: z.ZodNumber;
@@ -52,9 +52,9 @@ export declare const FrameViewSpecSchema: z.ZodObject<{
52
52
  contain: "contain";
53
53
  }>;
54
54
  format: z.ZodEnum<{
55
+ jpeg: "jpeg";
55
56
  rgb: "rgb";
56
57
  gray: "gray";
57
- jpeg: "jpeg";
58
58
  }>;
59
59
  }, z.core.$strip>;
60
60
  export type FrameViewSpec = z.infer<typeof FrameViewSpecSchema>;
@@ -77,10 +77,7 @@ export declare const FrameRefSchema: z.ZodObject<{
77
77
  }, z.core.$strip>;
78
78
  export type FrameRef = z.infer<typeof FrameRefSchema>;
79
79
  declare const PipelineEngineChoiceSchema: z.ZodObject<{
80
- runtime: z.ZodEnum<{
81
- node: "node";
82
- python: "python";
83
- }>;
80
+ runtime: z.ZodLiteral<"python">;
84
81
  backend: z.ZodString;
85
82
  format: z.ZodEnum<{
86
83
  onnx: "onnx";
@@ -92,6 +89,26 @@ declare const PipelineEngineChoiceSchema: z.ZodObject<{
92
89
  }>;
93
90
  device: z.ZodOptional<z.ZodString>;
94
91
  }, z.core.$strip>;
92
+ /**
93
+ * One pool's resolved provisioning (`getEffectiveTuning`). `numWorkers` is the
94
+ * knob that lifts a saturated pool (`inference-devices.md`); `concurrency` is
95
+ * per-worker in-flight requests. `deviceKey` echoes the pool asked about —
96
+ * `null` for the node-default pool.
97
+ */
98
+ export declare const EffectiveTuningSchema: z.ZodObject<{
99
+ deviceKey: z.ZodNullable<z.ZodString>;
100
+ runtime: z.ZodString;
101
+ batchMode: z.ZodString;
102
+ windowMs: z.ZodNumber;
103
+ maxBatchSize: z.ZodNumber;
104
+ concurrency: z.ZodNumber;
105
+ numWorkers: z.ZodNumber;
106
+ }, z.core.$strip>;
107
+ export type EffectiveTuning = z.infer<typeof EffectiveTuningSchema>;
108
+ /** Input of `getEffectiveTuning` — absent `deviceKey` ⇒ the node-default pool. */
109
+ export interface EffectiveTuningInput {
110
+ readonly deviceKey?: string;
111
+ }
95
112
  declare const EngineDeviceInfoSchema: z.ZodObject<{
96
113
  id: z.ZodString;
97
114
  label: z.ZodString;
@@ -99,10 +116,7 @@ declare const EngineDeviceInfoSchema: z.ZodObject<{
99
116
  }, z.core.$strip>;
100
117
  declare const AvailableEngineSchema: z.ZodObject<{
101
118
  engine: z.ZodObject<{
102
- runtime: z.ZodEnum<{
103
- node: "node";
104
- python: "python";
105
- }>;
119
+ runtime: z.ZodLiteral<"python">;
106
120
  backend: z.ZodString;
107
121
  format: z.ZodEnum<{
108
122
  onnx: "onnx";
@@ -148,10 +162,7 @@ declare const PipelineTemplateSchema: z.ZodObject<{
148
162
  createdAt: z.ZodString;
149
163
  updatedAt: z.ZodString;
150
164
  engine: z.ZodObject<{
151
- runtime: z.ZodEnum<{
152
- node: "node";
153
- python: "python";
154
- }>;
165
+ runtime: z.ZodLiteral<"python">;
155
166
  backend: z.ZodString;
156
167
  format: z.ZodEnum<{
157
168
  onnx: "onnx";
@@ -324,10 +335,7 @@ declare const PipelineSlotSchemaSchema: z.ZodObject<{
324
335
  declare const PipelineSchemaSchema: z.ZodObject<{
325
336
  availableEngines: z.ZodReadonly<z.ZodArray<z.ZodObject<{
326
337
  engine: z.ZodObject<{
327
- runtime: z.ZodEnum<{
328
- node: "node";
329
- python: "python";
330
- }>;
338
+ runtime: z.ZodLiteral<"python">;
331
339
  backend: z.ZodString;
332
340
  format: z.ZodEnum<{
333
341
  onnx: "onnx";
@@ -347,10 +355,7 @@ declare const PipelineSchemaSchema: z.ZodObject<{
347
355
  defaultDevice: z.ZodString;
348
356
  }, z.core.$strip>>>;
349
357
  selectedEngine: z.ZodObject<{
350
- runtime: z.ZodEnum<{
351
- node: "node";
352
- python: "python";
353
- }>;
358
+ runtime: z.ZodLiteral<"python">;
354
359
  backend: z.ZodString;
355
360
  format: z.ZodEnum<{
356
361
  onnx: "onnx";
@@ -486,6 +491,7 @@ declare const PipelineValidationIssueSchema: z.ZodObject<{
486
491
  kind: z.ZodEnum<{
487
492
  "unknown-addon": "unknown-addon";
488
493
  "no-format-build": "no-format-build";
494
+ "unknown-device": "unknown-device";
489
495
  }>;
490
496
  detail: z.ZodString;
491
497
  }, z.core.$strip>;
@@ -496,6 +502,7 @@ declare const PipelineValidationResultSchema: z.ZodObject<{
496
502
  kind: z.ZodEnum<{
497
503
  "unknown-addon": "unknown-addon";
498
504
  "no-format-build": "no-format-build";
505
+ "unknown-device": "unknown-device";
499
506
  }>;
500
507
  detail: z.ZodString;
501
508
  }, z.core.$strip>>>;
@@ -528,10 +535,7 @@ export declare const pipelineExecutorCapability: {
528
535
  readonly mode: "singleton";
529
536
  readonly methods: {
530
537
  readonly getAvailableEngines: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodArray<z.ZodObject<{
531
- runtime: z.ZodEnum<{
532
- node: "node";
533
- python: "python";
534
- }>;
538
+ runtime: z.ZodLiteral<"python">;
535
539
  backend: z.ZodString;
536
540
  format: z.ZodEnum<{
537
541
  onnx: "onnx";
@@ -544,10 +548,7 @@ export declare const pipelineExecutorCapability: {
544
548
  device: z.ZodOptional<z.ZodString>;
545
549
  }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
546
550
  readonly getSelectedEngine: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
547
- runtime: z.ZodEnum<{
548
- node: "node";
549
- python: "python";
550
- }>;
551
+ runtime: z.ZodLiteral<"python">;
551
552
  backend: z.ZodString;
552
553
  format: z.ZodEnum<{
553
554
  onnx: "onnx";
@@ -560,10 +561,7 @@ export declare const pipelineExecutorCapability: {
560
561
  device: z.ZodOptional<z.ZodString>;
561
562
  }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
562
563
  readonly getDefaultSteps: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
563
- runtime: z.ZodEnum<{
564
- node: "node";
565
- python: "python";
566
- }>;
564
+ runtime: z.ZodLiteral<"python">;
567
565
  backend: z.ZodString;
568
566
  format: z.ZodEnum<{
569
567
  onnx: "onnx";
@@ -691,10 +689,7 @@ export declare const pipelineExecutorCapability: {
691
689
  readonly getSchema: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
692
690
  availableEngines: z.ZodReadonly<z.ZodArray<z.ZodObject<{
693
691
  engine: z.ZodObject<{
694
- runtime: z.ZodEnum<{
695
- node: "node";
696
- python: "python";
697
- }>;
692
+ runtime: z.ZodLiteral<"python">;
698
693
  backend: z.ZodString;
699
694
  format: z.ZodEnum<{
700
695
  onnx: "onnx";
@@ -714,10 +709,7 @@ export declare const pipelineExecutorCapability: {
714
709
  defaultDevice: z.ZodString;
715
710
  }, z.core.$strip>>>;
716
711
  selectedEngine: z.ZodObject<{
717
- runtime: z.ZodEnum<{
718
- node: "node";
719
- python: "python";
720
- }>;
712
+ runtime: z.ZodLiteral<"python">;
721
713
  backend: z.ZodString;
722
714
  format: z.ZodEnum<{
723
715
  onnx: "onnx";
@@ -817,9 +809,14 @@ export declare const pipelineExecutorCapability: {
817
809
  * `unknown-addon` and `no-format-build` are HARD issues); `substitutions`
818
810
  * is informational (a degraded-but-loadable model swap) and never
819
811
  * affects `ok`. Never throws.
812
+ *
813
+ * `deviceKey` validates against THAT device pool's format instead of the
814
+ * node default (D646) — the cheap question a pinned replay asks before it
815
+ * reads any media: can this (node, deviceKey) run exactly this model?
820
816
  */
821
817
  readonly validatePipeline: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
822
818
  steps: z.ZodArray<z.ZodType<PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<PipelineStepInputOutput, unknown>>>;
819
+ deviceKey: z.ZodOptional<z.ZodString>;
823
820
  }, z.core.$strip>, z.ZodObject<{
824
821
  ok: z.ZodBoolean;
825
822
  issues: z.ZodReadonly<z.ZodArray<z.ZodObject<{
@@ -827,6 +824,7 @@ export declare const pipelineExecutorCapability: {
827
824
  kind: z.ZodEnum<{
828
825
  "unknown-addon": "unknown-addon";
829
826
  "no-format-build": "no-format-build";
827
+ "unknown-device": "unknown-device";
830
828
  }>;
831
829
  detail: z.ZodString;
832
830
  }, z.core.$strip>>>;
@@ -844,10 +842,7 @@ export declare const pipelineExecutorCapability: {
844
842
  createdAt: z.ZodString;
845
843
  updatedAt: z.ZodString;
846
844
  engine: z.ZodObject<{
847
- runtime: z.ZodEnum<{
848
- node: "node";
849
- python: "python";
850
- }>;
845
+ runtime: z.ZodLiteral<"python">;
851
846
  backend: z.ZodString;
852
847
  format: z.ZodEnum<{
853
848
  onnx: "onnx";
@@ -865,10 +860,7 @@ export declare const pipelineExecutorCapability: {
865
860
  name: z.ZodString;
866
861
  steps: z.ZodReadonly<z.ZodArray<z.ZodType<PipelineTemplateStepOutput, unknown, z.core.$ZodTypeInternals<PipelineTemplateStepOutput, unknown>>>>;
867
862
  engine: z.ZodObject<{
868
- runtime: z.ZodEnum<{
869
- node: "node";
870
- python: "python";
871
- }>;
863
+ runtime: z.ZodLiteral<"python">;
872
864
  backend: z.ZodString;
873
865
  format: z.ZodEnum<{
874
866
  onnx: "onnx";
@@ -886,10 +878,7 @@ export declare const pipelineExecutorCapability: {
886
878
  createdAt: z.ZodString;
887
879
  updatedAt: z.ZodString;
888
880
  engine: z.ZodObject<{
889
- runtime: z.ZodEnum<{
890
- node: "node";
891
- python: "python";
892
- }>;
881
+ runtime: z.ZodLiteral<"python">;
893
882
  backend: z.ZodString;
894
883
  format: z.ZodEnum<{
895
884
  onnx: "onnx";
@@ -913,10 +902,7 @@ export declare const pipelineExecutorCapability: {
913
902
  createdAt: z.ZodString;
914
903
  updatedAt: z.ZodString;
915
904
  engine: z.ZodObject<{
916
- runtime: z.ZodEnum<{
917
- node: "node";
918
- python: "python";
919
- }>;
905
+ runtime: z.ZodLiteral<"python">;
920
906
  backend: z.ZodString;
921
907
  format: z.ZodEnum<{
922
908
  onnx: "onnx";
@@ -969,12 +955,14 @@ export declare const pipelineExecutorCapability: {
969
955
  }, z.core.$strip>, "mutation">;
970
956
  /**
971
957
  * Stateless single-frame execution. Callers (runner, benchmark) pass
972
- * the complete `engine` + `steps` tree; the executor holds no state
973
- * about cameras or saved pipelines.
958
+ * the complete `steps` tree; the executor holds no state about cameras
959
+ * or saved pipelines. WHICH pool answers is the node's own engine, or the
960
+ * `deviceKey` pool when one is named.
974
961
  *
975
- * `engine` is optional during the migration window to preserve the
976
- * legacy call shape used by existing benchmark code; once all
977
- * callers pass it explicitly we make it required.
962
+ * There is no `engine` field (D646). It existed for the benchmark and was
963
+ * honoured by swapping the SHARED provider's engine, factory and executor
964
+ * for the duration of the call, on a node serving live cameras. A caller
965
+ * that still sends the key has it stripped here and changes nothing.
978
966
  *
979
967
  * Exactly one of `frame`, `frameRef`, `frameHandle`, `imageBase64`,
980
968
  * `referenceImage` must be provided:
@@ -994,31 +982,15 @@ export declare const pipelineExecutorCapability: {
994
982
  * - `referenceImage`: named file from the reference-image store.
995
983
  */
996
984
  readonly runPipeline: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
997
- engine: z.ZodOptional<z.ZodObject<{
998
- runtime: z.ZodEnum<{
999
- node: "node";
1000
- python: "python";
1001
- }>;
1002
- backend: z.ZodString;
1003
- format: z.ZodEnum<{
1004
- onnx: "onnx";
1005
- coreml: "coreml";
1006
- openvino: "openvino";
1007
- tflite: "tflite";
1008
- pt: "pt";
1009
- gguf: "gguf";
1010
- }>;
1011
- device: z.ZodOptional<z.ZodString>;
1012
- }, z.core.$strip>>;
1013
985
  steps: z.ZodArray<z.ZodType<PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<PipelineStepInputOutput, unknown>>>;
1014
986
  frame: z.ZodOptional<z.ZodObject<{
1015
987
  data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
1016
988
  format: z.ZodEnum<{
1017
- rgb: "rgb";
1018
- gray: "gray";
1019
989
  jpeg: "jpeg";
990
+ rgb: "rgb";
1020
991
  bgr: "bgr";
1021
992
  yuv420: "yuv420";
993
+ gray: "gray";
1022
994
  }>;
1023
995
  width: z.ZodNumber;
1024
996
  height: z.ZodNumber;
@@ -1043,11 +1015,11 @@ export declare const pipelineExecutorCapability: {
1043
1015
  width: z.ZodNumber;
1044
1016
  height: z.ZodNumber;
1045
1017
  format: z.ZodEnum<{
1046
- rgb: "rgb";
1047
- gray: "gray";
1048
1018
  jpeg: "jpeg";
1019
+ rgb: "rgb";
1049
1020
  bgr: "bgr";
1050
1021
  yuv420: "yuv420";
1022
+ gray: "gray";
1051
1023
  }>;
1052
1024
  pts: z.ZodNumber;
1053
1025
  byteLength: z.ZodNumber;
@@ -1072,11 +1044,11 @@ export declare const pipelineExecutorCapability: {
1072
1044
  width: z.ZodNumber;
1073
1045
  height: z.ZodNumber;
1074
1046
  format: z.ZodEnum<{
1075
- rgb: "rgb";
1076
- gray: "gray";
1077
1047
  jpeg: "jpeg";
1048
+ rgb: "rgb";
1078
1049
  bgr: "bgr";
1079
1050
  yuv420: "yuv420";
1051
+ gray: "gray";
1080
1052
  }>;
1081
1053
  pts: z.ZodNumber;
1082
1054
  byteLength: z.ZodNumber;
@@ -1090,6 +1062,7 @@ export declare const pipelineExecutorCapability: {
1090
1062
  h: z.ZodNumber;
1091
1063
  }, z.core.$strip>;
1092
1064
  }, z.core.$strip>>;
1065
+ replay: z.ZodOptional<z.ZodLiteral<true>>;
1093
1066
  }, z.core.$strip>, z.ZodCustom<FrameResult, FrameResult>, "mutation">;
1094
1067
  /**
1095
1068
  * Batched run — N raw frames packed into one cap call. The provider
@@ -1103,31 +1076,15 @@ export declare const pipelineExecutorCapability: {
1103
1076
  * N frames in one call to amortise per-call IPC overhead.
1104
1077
  */
1105
1078
  readonly runPipelineBatch: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
1106
- engine: z.ZodOptional<z.ZodObject<{
1107
- runtime: z.ZodEnum<{
1108
- node: "node";
1109
- python: "python";
1110
- }>;
1111
- backend: z.ZodString;
1112
- format: z.ZodEnum<{
1113
- onnx: "onnx";
1114
- coreml: "coreml";
1115
- openvino: "openvino";
1116
- tflite: "tflite";
1117
- pt: "pt";
1118
- gguf: "gguf";
1119
- }>;
1120
- device: z.ZodOptional<z.ZodString>;
1121
- }, z.core.$strip>>;
1122
1079
  steps: z.ZodArray<z.ZodType<PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<PipelineStepInputOutput, unknown>>>;
1123
1080
  frames: z.ZodArray<z.ZodObject<{
1124
1081
  data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
1125
1082
  format: z.ZodEnum<{
1126
- rgb: "rgb";
1127
- gray: "gray";
1128
1083
  jpeg: "jpeg";
1084
+ rgb: "rgb";
1129
1085
  bgr: "bgr";
1130
1086
  yuv420: "yuv420";
1087
+ gray: "gray";
1131
1088
  }>;
1132
1089
  width: z.ZodNumber;
1133
1090
  height: z.ZodNumber;
@@ -1152,8 +1109,8 @@ export declare const pipelineExecutorCapability: {
1152
1109
  height: z.ZodNumber;
1153
1110
  format: z.ZodEnum<{
1154
1111
  rgb: "rgb";
1155
- gray: "gray";
1156
1112
  bgr: "bgr";
1113
+ gray: "gray";
1157
1114
  }>;
1158
1115
  }, z.core.$strip>, z.ZodObject<{
1159
1116
  frameId: z.ZodNumber;
@@ -1175,12 +1132,23 @@ export declare const pipelineExecutorCapability: {
1175
1132
  readonly uncacheFrame: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
1176
1133
  frameId: z.ZodNumber;
1177
1134
  }, z.core.$strip>, z.ZodVoid, "mutation">;
1178
- /** Returns the effective pool tuning (resolved from user overrides + backend defaults). */
1179
- readonly getEffectiveTuning: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
1135
+ /**
1136
+ * The effective provisioning of ONE pool of this node (operator override →
1137
+ * the pool's own runtime row). `deviceKey` names the device pool; absent is
1138
+ * the node-default pool. It answered only for the node default until
1139
+ * D646, so a benchmark on `openvino:npu` recorded the onnx pool's tuning
1140
+ * beside an NPU measurement.
1141
+ */
1142
+ readonly getEffectiveTuning: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
1143
+ deviceKey: z.ZodOptional<z.ZodString>;
1144
+ }, z.core.$strip>, z.ZodObject<{
1145
+ deviceKey: z.ZodNullable<z.ZodString>;
1146
+ runtime: z.ZodString;
1180
1147
  batchMode: z.ZodString;
1181
1148
  windowMs: z.ZodNumber;
1182
1149
  maxBatchSize: z.ZodNumber;
1183
1150
  concurrency: z.ZodNumber;
1151
+ numWorkers: z.ZodNumber;
1184
1152
  }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
1185
1153
  /**
1186
1154
  * List every EngineFactory currently loaded in this executor's RAM,
@@ -1190,10 +1158,7 @@ export declare const pipelineExecutorCapability: {
1190
1158
  readonly listLoadedEngines: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
1191
1159
  engineKey: z.ZodString;
1192
1160
  engine: z.ZodObject<{
1193
- runtime: z.ZodEnum<{
1194
- node: "node";
1195
- python: "python";
1196
- }>;
1161
+ runtime: z.ZodLiteral<"python">;
1197
1162
  backend: z.ZodString;
1198
1163
  format: z.ZodEnum<{
1199
1164
  onnx: "onnx";
@@ -1209,7 +1174,6 @@ export declare const pipelineExecutorCapability: {
1209
1174
  inUseByCameras: z.ZodReadonly<z.ZodArray<z.ZodNumber>>;
1210
1175
  kind: z.ZodEnum<{
1211
1176
  runtime: "runtime";
1212
- "warm-override": "warm-override";
1213
1177
  "device-pool": "device-pool";
1214
1178
  }>;
1215
1179
  poolPid: z.ZodNullable<z.ZodNumber>;
@@ -1219,10 +1183,7 @@ export declare const pipelineExecutorCapability: {
1219
1183
  /** Warm up an engine without running a frame. No-op if already loaded. */
1220
1184
  readonly spinEngine: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
1221
1185
  engine: z.ZodObject<{
1222
- runtime: z.ZodEnum<{
1223
- node: "node";
1224
- python: "python";
1225
- }>;
1186
+ runtime: z.ZodLiteral<"python">;
1226
1187
  backend: z.ZodString;
1227
1188
  format: z.ZodEnum<{
1228
1189
  onnx: "onnx";
@@ -1244,10 +1205,7 @@ export declare const pipelineExecutorCapability: {
1244
1205
  */
1245
1206
  readonly killEngine: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
1246
1207
  engine: z.ZodObject<{
1247
- runtime: z.ZodEnum<{
1248
- node: "node";
1249
- python: "python";
1250
- }>;
1208
+ runtime: z.ZodLiteral<"python">;
1251
1209
  backend: z.ZodString;
1252
1210
  format: z.ZodEnum<{
1253
1211
  onnx: "onnx";
@@ -2,10 +2,7 @@ import { z } from 'zod';
2
2
  import { type InferProvider } from './capability-definition.js';
3
3
  declare const CameraPipelineConfigSchema: z.ZodObject<{
4
4
  engine: z.ZodOptional<z.ZodObject<{
5
- runtime: z.ZodEnum<{
6
- node: "node";
7
- python: "python";
8
- }>;
5
+ runtime: z.ZodLiteral<"python">;
9
6
  backend: z.ZodString;
10
7
  format: z.ZodEnum<{
11
8
  onnx: "onnx";
@@ -20,10 +17,7 @@ declare const CameraPipelineConfigSchema: z.ZodObject<{
20
17
  steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
21
18
  audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22
19
  engine: z.ZodOptional<z.ZodObject<{
23
- runtime: z.ZodEnum<{
24
- node: "node";
25
- python: "python";
26
- }>;
20
+ runtime: z.ZodLiteral<"python">;
27
21
  backend: z.ZodString;
28
22
  format: z.ZodEnum<{
29
23
  onnx: "onnx";
@@ -46,10 +40,7 @@ declare const PipelineTemplateSchema: z.ZodObject<{
46
40
  description: z.ZodOptional<z.ZodString>;
47
41
  config: z.ZodObject<{
48
42
  engine: z.ZodOptional<z.ZodObject<{
49
- runtime: z.ZodEnum<{
50
- node: "node";
51
- python: "python";
52
- }>;
43
+ runtime: z.ZodLiteral<"python">;
53
44
  backend: z.ZodString;
54
45
  format: z.ZodEnum<{
55
46
  onnx: "onnx";
@@ -64,10 +55,7 @@ declare const PipelineTemplateSchema: z.ZodObject<{
64
55
  steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
65
56
  audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
66
57
  engine: z.ZodOptional<z.ZodObject<{
67
- runtime: z.ZodEnum<{
68
- node: "node";
69
- python: "python";
70
- }>;
58
+ runtime: z.ZodLiteral<"python">;
71
59
  backend: z.ZodString;
72
60
  format: z.ZodEnum<{
73
61
  onnx: "onnx";
@@ -1184,10 +1172,7 @@ export declare const pipelineOrchestratorCapability: {
1184
1172
  agentNodeId: z.ZodOptional<z.ZodString>;
1185
1173
  }, z.core.$strip>, z.ZodObject<{
1186
1174
  engine: z.ZodOptional<z.ZodObject<{
1187
- runtime: z.ZodEnum<{
1188
- node: "node";
1189
- python: "python";
1190
- }>;
1175
+ runtime: z.ZodLiteral<"python">;
1191
1176
  backend: z.ZodString;
1192
1177
  format: z.ZodEnum<{
1193
1178
  onnx: "onnx";
@@ -1202,10 +1187,7 @@ export declare const pipelineOrchestratorCapability: {
1202
1187
  steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
1203
1188
  audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1204
1189
  engine: z.ZodOptional<z.ZodObject<{
1205
- runtime: z.ZodEnum<{
1206
- node: "node";
1207
- python: "python";
1208
- }>;
1190
+ runtime: z.ZodLiteral<"python">;
1209
1191
  backend: z.ZodString;
1210
1192
  format: z.ZodEnum<{
1211
1193
  onnx: "onnx";
@@ -1703,10 +1685,7 @@ export declare const pipelineOrchestratorCapability: {
1703
1685
  description: z.ZodOptional<z.ZodString>;
1704
1686
  config: z.ZodObject<{
1705
1687
  engine: z.ZodOptional<z.ZodObject<{
1706
- runtime: z.ZodEnum<{
1707
- node: "node";
1708
- python: "python";
1709
- }>;
1688
+ runtime: z.ZodLiteral<"python">;
1710
1689
  backend: z.ZodString;
1711
1690
  format: z.ZodEnum<{
1712
1691
  onnx: "onnx";
@@ -1721,10 +1700,7 @@ export declare const pipelineOrchestratorCapability: {
1721
1700
  steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
1722
1701
  audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1723
1702
  engine: z.ZodOptional<z.ZodObject<{
1724
- runtime: z.ZodEnum<{
1725
- node: "node";
1726
- python: "python";
1727
- }>;
1703
+ runtime: z.ZodLiteral<"python">;
1728
1704
  backend: z.ZodString;
1729
1705
  format: z.ZodEnum<{
1730
1706
  onnx: "onnx";
@@ -1750,10 +1726,7 @@ export declare const pipelineOrchestratorCapability: {
1750
1726
  description: z.ZodOptional<z.ZodString>;
1751
1727
  config: z.ZodObject<{
1752
1728
  engine: z.ZodOptional<z.ZodObject<{
1753
- runtime: z.ZodEnum<{
1754
- node: "node";
1755
- python: "python";
1756
- }>;
1729
+ runtime: z.ZodLiteral<"python">;
1757
1730
  backend: z.ZodString;
1758
1731
  format: z.ZodEnum<{
1759
1732
  onnx: "onnx";
@@ -1768,10 +1741,7 @@ export declare const pipelineOrchestratorCapability: {
1768
1741
  steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
1769
1742
  audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1770
1743
  engine: z.ZodOptional<z.ZodObject<{
1771
- runtime: z.ZodEnum<{
1772
- node: "node";
1773
- python: "python";
1774
- }>;
1744
+ runtime: z.ZodLiteral<"python">;
1775
1745
  backend: z.ZodString;
1776
1746
  format: z.ZodEnum<{
1777
1747
  onnx: "onnx";
@@ -1794,10 +1764,7 @@ export declare const pipelineOrchestratorCapability: {
1794
1764
  description: z.ZodOptional<z.ZodString>;
1795
1765
  config: z.ZodObject<{
1796
1766
  engine: z.ZodOptional<z.ZodObject<{
1797
- runtime: z.ZodEnum<{
1798
- node: "node";
1799
- python: "python";
1800
- }>;
1767
+ runtime: z.ZodLiteral<"python">;
1801
1768
  backend: z.ZodString;
1802
1769
  format: z.ZodEnum<{
1803
1770
  onnx: "onnx";
@@ -1812,10 +1779,7 @@ export declare const pipelineOrchestratorCapability: {
1812
1779
  steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
1813
1780
  audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1814
1781
  engine: z.ZodOptional<z.ZodObject<{
1815
- runtime: z.ZodEnum<{
1816
- node: "node";
1817
- python: "python";
1818
- }>;
1782
+ runtime: z.ZodLiteral<"python">;
1819
1783
  backend: z.ZodString;
1820
1784
  format: z.ZodEnum<{
1821
1785
  onnx: "onnx";
@@ -1842,10 +1806,7 @@ export declare const pipelineOrchestratorCapability: {
1842
1806
  description: z.ZodOptional<z.ZodString>;
1843
1807
  config: z.ZodOptional<z.ZodObject<{
1844
1808
  engine: z.ZodOptional<z.ZodObject<{
1845
- runtime: z.ZodEnum<{
1846
- node: "node";
1847
- python: "python";
1848
- }>;
1809
+ runtime: z.ZodLiteral<"python">;
1849
1810
  backend: z.ZodString;
1850
1811
  format: z.ZodEnum<{
1851
1812
  onnx: "onnx";
@@ -1860,10 +1821,7 @@ export declare const pipelineOrchestratorCapability: {
1860
1821
  steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
1861
1822
  audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1862
1823
  engine: z.ZodOptional<z.ZodObject<{
1863
- runtime: z.ZodEnum<{
1864
- node: "node";
1865
- python: "python";
1866
- }>;
1824
+ runtime: z.ZodLiteral<"python">;
1867
1825
  backend: z.ZodString;
1868
1826
  format: z.ZodEnum<{
1869
1827
  onnx: "onnx";
@@ -1886,10 +1844,7 @@ export declare const pipelineOrchestratorCapability: {
1886
1844
  description: z.ZodOptional<z.ZodString>;
1887
1845
  config: z.ZodObject<{
1888
1846
  engine: z.ZodOptional<z.ZodObject<{
1889
- runtime: z.ZodEnum<{
1890
- node: "node";
1891
- python: "python";
1892
- }>;
1847
+ runtime: z.ZodLiteral<"python">;
1893
1848
  backend: z.ZodString;
1894
1849
  format: z.ZodEnum<{
1895
1850
  onnx: "onnx";
@@ -1904,10 +1859,7 @@ export declare const pipelineOrchestratorCapability: {
1904
1859
  steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
1905
1860
  audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1906
1861
  engine: z.ZodOptional<z.ZodObject<{
1907
- runtime: z.ZodEnum<{
1908
- node: "node";
1909
- python: "python";
1910
- }>;
1862
+ runtime: z.ZodLiteral<"python">;
1911
1863
  backend: z.ZodString;
1912
1864
  format: z.ZodEnum<{
1913
1865
  onnx: "onnx";