@camstack/types 1.2.321 → 1.2.323

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 (43) hide show
  1. package/dist/addon.js +3 -14
  2. package/dist/addon.mjs +3 -14
  3. package/dist/capabilities/decoder.cap.d.ts +0 -211
  4. package/dist/capabilities/index.d.ts +8 -8
  5. package/dist/capabilities/llm-runtime.cap.d.ts +3 -3
  6. package/dist/capabilities/llm.cap.d.ts +4 -4
  7. package/dist/capabilities/local-network.cap.d.ts +11 -11
  8. package/dist/capabilities/metrics-provider.cap.d.ts +2 -2
  9. package/dist/capabilities/pipeline-executor.cap.d.ts +1 -112
  10. package/dist/capabilities/pipeline-orchestrator.cap.d.ts +18 -303
  11. package/dist/capabilities/pipeline-runner.cap.d.ts +0 -2
  12. package/dist/capabilities/schemas/streaming-shared.d.ts +9 -79
  13. package/dist/capabilities/stream-broker.cap.d.ts +0 -85
  14. package/dist/capabilities/webrtc-session.cap.d.ts +0 -2
  15. package/dist/client.js +3 -89
  16. package/dist/client.mjs +3 -89
  17. package/dist/enums/event-category.d.ts +0 -9
  18. package/dist/enums.js +1 -1
  19. package/dist/enums.mjs +1 -1
  20. package/dist/{event-category-BGmz_oxW.mjs → event-category-B_0XEcLF.mjs} +0 -9
  21. package/dist/{event-category-DmS_tLsU.js → event-category-CtBAl88K.js} +0 -9
  22. package/dist/ffmpeg/hwaccel.d.ts +1 -1
  23. package/dist/generated/addon-api.d.ts +0 -161
  24. package/dist/generated/cap-input-defaults.d.ts +1 -1
  25. package/dist/generated/method-access-map.d.ts +1 -1
  26. package/dist/generated/method-device-selectors.d.ts +2 -2
  27. package/dist/generated/system-proxy.d.ts +4 -4
  28. package/dist/index.d.ts +2 -3
  29. package/dist/index.js +33 -425
  30. package/dist/index.mjs +34 -416
  31. package/dist/interfaces/api-responses.d.ts +0 -19
  32. package/dist/interfaces/capability.d.ts +1 -2
  33. package/dist/interfaces/event-bus.d.ts +0 -13
  34. package/dist/interfaces/pipeline-executor-capability.d.ts +1 -15
  35. package/dist/interfaces/pipeline-runner-capability.d.ts +0 -1
  36. package/dist/interfaces/stream-broker.d.ts +2 -67
  37. package/dist/{sleep-DAJ9Er57.mjs → sleep-BNeXenvr.mjs} +11 -86
  38. package/dist/{sleep-AalHiRYL.js → sleep-DPar9AHl.js} +10 -115
  39. package/dist/types/camera-pipeline.d.ts +3 -20
  40. package/dist/types/detection.d.ts +1 -1
  41. package/dist/types/pipeline-schema.d.ts +1 -8
  42. package/package.json +1 -1
  43. package/dist/interfaces/decoder.d.ts +0 -89
@@ -165,34 +165,6 @@ export type PipelineDefaultStepOutput = {
165
165
  readonly settings?: Readonly<Record<string, unknown>>;
166
166
  };
167
167
  declare const PipelineDefaultStepSchema: z.ZodType<PipelineDefaultStepOutput>;
168
- export type PipelineTemplateStepOutput = {
169
- readonly addonId: string;
170
- readonly enabled: boolean;
171
- readonly modelId: string;
172
- readonly children: readonly PipelineTemplateStepOutput[];
173
- readonly settings?: Readonly<Record<string, unknown>>;
174
- };
175
- declare const PipelineTemplateStepSchema: z.ZodType<PipelineTemplateStepOutput>;
176
- declare const PipelineTemplateSchema: z.ZodObject<{
177
- id: z.ZodString;
178
- name: z.ZodString;
179
- createdAt: z.ZodString;
180
- updatedAt: z.ZodString;
181
- engine: z.ZodObject<{
182
- runtime: z.ZodLiteral<"python">;
183
- backend: z.ZodString;
184
- format: z.ZodEnum<{
185
- onnx: "onnx";
186
- coreml: "coreml";
187
- openvino: "openvino";
188
- tflite: "tflite";
189
- pt: "pt";
190
- gguf: "gguf";
191
- }>;
192
- device: z.ZodOptional<z.ZodString>;
193
- }, z.core.$strip>;
194
- steps: z.ZodReadonly<z.ZodArray<z.ZodType<PipelineTemplateStepOutput, unknown, z.core.$ZodTypeInternals<PipelineTemplateStepOutput, unknown>>>>;
195
- }, z.core.$strip>;
196
168
  declare const PipelineModelOptionSchema: z.ZodObject<{
197
169
  id: z.ZodString;
198
170
  name: z.ZodString;
@@ -1086,89 +1058,6 @@ export declare const pipelineExecutorCapability: {
1086
1058
  }, z.core.$strip>>>;
1087
1059
  format: z.ZodString;
1088
1060
  }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
1089
- readonly listTemplates: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
1090
- id: z.ZodString;
1091
- name: z.ZodString;
1092
- createdAt: z.ZodString;
1093
- updatedAt: z.ZodString;
1094
- engine: z.ZodObject<{
1095
- runtime: z.ZodLiteral<"python">;
1096
- backend: z.ZodString;
1097
- format: z.ZodEnum<{
1098
- onnx: "onnx";
1099
- coreml: "coreml";
1100
- openvino: "openvino";
1101
- tflite: "tflite";
1102
- pt: "pt";
1103
- gguf: "gguf";
1104
- }>;
1105
- device: z.ZodOptional<z.ZodString>;
1106
- }, z.core.$strip>;
1107
- steps: z.ZodReadonly<z.ZodArray<z.ZodType<PipelineTemplateStepOutput, unknown, z.core.$ZodTypeInternals<PipelineTemplateStepOutput, unknown>>>>;
1108
- }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
1109
- readonly saveTemplate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
1110
- name: z.ZodString;
1111
- steps: z.ZodReadonly<z.ZodArray<z.ZodType<PipelineTemplateStepOutput, unknown, z.core.$ZodTypeInternals<PipelineTemplateStepOutput, unknown>>>>;
1112
- engine: z.ZodObject<{
1113
- runtime: z.ZodLiteral<"python">;
1114
- backend: z.ZodString;
1115
- format: z.ZodEnum<{
1116
- onnx: "onnx";
1117
- coreml: "coreml";
1118
- openvino: "openvino";
1119
- tflite: "tflite";
1120
- pt: "pt";
1121
- gguf: "gguf";
1122
- }>;
1123
- device: z.ZodOptional<z.ZodString>;
1124
- }, z.core.$strip>;
1125
- }, z.core.$strip>, z.ZodObject<{
1126
- id: z.ZodString;
1127
- name: z.ZodString;
1128
- createdAt: z.ZodString;
1129
- updatedAt: z.ZodString;
1130
- engine: z.ZodObject<{
1131
- runtime: z.ZodLiteral<"python">;
1132
- backend: z.ZodString;
1133
- format: z.ZodEnum<{
1134
- onnx: "onnx";
1135
- coreml: "coreml";
1136
- openvino: "openvino";
1137
- tflite: "tflite";
1138
- pt: "pt";
1139
- gguf: "gguf";
1140
- }>;
1141
- device: z.ZodOptional<z.ZodString>;
1142
- }, z.core.$strip>;
1143
- steps: z.ZodReadonly<z.ZodArray<z.ZodType<PipelineTemplateStepOutput, unknown, z.core.$ZodTypeInternals<PipelineTemplateStepOutput, unknown>>>>;
1144
- }, z.core.$strip>, "mutation">;
1145
- readonly updateTemplate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
1146
- id: z.ZodString;
1147
- name: z.ZodOptional<z.ZodString>;
1148
- steps: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodType<PipelineTemplateStepOutput, unknown, z.core.$ZodTypeInternals<PipelineTemplateStepOutput, unknown>>>>>;
1149
- }, z.core.$strip>, z.ZodObject<{
1150
- id: z.ZodString;
1151
- name: z.ZodString;
1152
- createdAt: z.ZodString;
1153
- updatedAt: z.ZodString;
1154
- engine: z.ZodObject<{
1155
- runtime: z.ZodLiteral<"python">;
1156
- backend: z.ZodString;
1157
- format: z.ZodEnum<{
1158
- onnx: "onnx";
1159
- coreml: "coreml";
1160
- openvino: "openvino";
1161
- tflite: "tflite";
1162
- pt: "pt";
1163
- gguf: "gguf";
1164
- }>;
1165
- device: z.ZodOptional<z.ZodString>;
1166
- }, z.core.$strip>;
1167
- steps: z.ZodReadonly<z.ZodArray<z.ZodType<PipelineTemplateStepOutput, unknown, z.core.$ZodTypeInternals<PipelineTemplateStepOutput, unknown>>>>;
1168
- }, z.core.$strip>, "mutation">;
1169
- readonly deleteTemplate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
1170
- id: z.ZodString;
1171
- }, z.core.$strip>, z.ZodVoid, "mutation">;
1172
1061
  readonly getCapabilities: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodCustom<InferenceCapabilities, InferenceCapabilities>, import("./capability-definition.js").CapabilityMethodKind>;
1173
1062
  readonly getAddonModels: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
1174
1063
  addonId: z.ZodString;
@@ -1530,4 +1419,4 @@ export declare const pipelineExecutorCapability: {
1530
1419
  };
1531
1420
  };
1532
1421
  export type IPipelineExecutorProvider = InferProvider<typeof pipelineExecutorCapability>;
1533
- export { AvailableEngineSchema, EngineDeviceInfoSchema, EngineProvisioningSchema, ModelSubstitutionSchema, PipelineAddonSchemaSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineModelOptionSchema, PipelineSchemaSchema, PipelineSlotSchemaSchema, PipelineTemplateSchema, PipelineTemplateStepSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, };
1422
+ export { AvailableEngineSchema, EngineDeviceInfoSchema, EngineProvisioningSchema, ModelSubstitutionSchema, PipelineAddonSchemaSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineModelOptionSchema, PipelineSchemaSchema, PipelineSlotSchemaSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, };
@@ -35,47 +35,6 @@ declare const CameraPipelineConfigSchema: z.ZodObject<{
35
35
  settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
36
36
  }, z.core.$strip>>>;
37
37
  }, z.core.$strip>;
38
- declare const PipelineTemplateSchema: z.ZodObject<{
39
- id: z.ZodString;
40
- name: z.ZodString;
41
- description: z.ZodOptional<z.ZodString>;
42
- config: z.ZodObject<{
43
- engine: z.ZodOptional<z.ZodObject<{
44
- runtime: z.ZodLiteral<"python">;
45
- backend: z.ZodString;
46
- format: z.ZodEnum<{
47
- onnx: "onnx";
48
- coreml: "coreml";
49
- openvino: "openvino";
50
- tflite: "tflite";
51
- pt: "pt";
52
- gguf: "gguf";
53
- }>;
54
- device: z.ZodOptional<z.ZodString>;
55
- }, z.core.$strip>>;
56
- steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
57
- audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
58
- engine: z.ZodOptional<z.ZodObject<{
59
- runtime: z.ZodLiteral<"python">;
60
- backend: z.ZodString;
61
- format: z.ZodEnum<{
62
- onnx: "onnx";
63
- coreml: "coreml";
64
- openvino: "openvino";
65
- tflite: "tflite";
66
- pt: "pt";
67
- gguf: "gguf";
68
- }>;
69
- device: z.ZodOptional<z.ZodString>;
70
- }, z.core.$strip>>;
71
- modelId: z.ZodOptional<z.ZodString>;
72
- enabled: z.ZodBoolean;
73
- settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
74
- }, z.core.$strip>>>;
75
- }, z.core.$strip>;
76
- createdAt: z.ZodString;
77
- updatedAt: z.ZodString;
78
- }, z.core.$strip>;
79
38
  declare const CameraStepOverridePatchSchema: z.ZodObject<{
80
39
  modelId: z.ZodOptional<z.ZodString>;
81
40
  settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -105,7 +64,10 @@ declare const PipelineAssignmentSchema: z.ZodObject<{
105
64
  }, z.core.$strip>;
106
65
  /**
107
66
  * Per-agent load summary surfaced to the load balancer + dashboards.
108
- * Aggregated from each runner's `getLocalLoad` cap call.
67
+ * Aggregated from each runner's `getLocalLoad` cap call. In the
68
+ * `getAgentLoad` report, a single-device node's default-pool sessions (no
69
+ * `deviceKey`) are credited to its one eligible device in `load.devices` —
70
+ * the default pool IS that device (D745); the balancer's census stays raw.
109
71
  */
110
72
  declare const AgentLoadSummarySchema: z.ZodObject<{
111
73
  nodeId: z.ZodString;
@@ -121,7 +83,6 @@ declare const AgentLoadSummarySchema: z.ZodObject<{
121
83
  deviceKey: z.ZodString;
122
84
  backend: z.ZodString;
123
85
  attachedCameras: z.ZodNumber;
124
- queueDepthTotal: z.ZodNumber;
125
86
  }, z.core.$strip>>>;
126
87
  hardware: z.ZodObject<{
127
88
  hasGpu: z.ZodBoolean;
@@ -211,8 +172,7 @@ declare const CameraBrokerProfileSchema: z.ZodObject<{
211
172
  width: z.ZodNumber;
212
173
  height: z.ZodNumber;
213
174
  subscribers: z.ZodNumber;
214
- inFps: z.ZodNumber;
215
- outFps: z.ZodNumber;
175
+ inFps: z.ZodNullable<z.ZodNumber>;
216
176
  }, z.core.$strip>;
217
177
  /** Broker block — null when the broker stage is unreachable or inactive. */
218
178
  declare const CameraBrokerStatusSchema: z.ZodObject<{
@@ -223,30 +183,21 @@ declare const CameraBrokerStatusSchema: z.ZodObject<{
223
183
  width: z.ZodNumber;
224
184
  height: z.ZodNumber;
225
185
  subscribers: z.ZodNumber;
226
- inFps: z.ZodNumber;
227
- outFps: z.ZodNumber;
186
+ inFps: z.ZodNullable<z.ZodNumber>;
228
187
  }, z.core.$strip>>>;
229
188
  webrtcSessions: z.ZodNumber;
230
189
  rtspRestream: z.ZodBoolean;
231
190
  }, z.core.$strip>;
232
- /** Shared-memory ring statistics within the decoder block. */
233
- declare const CameraDecoderShmSchema: z.ZodObject<{
234
- framesWritten: z.ZodNumber;
235
- getFrameHits: z.ZodNumber;
236
- getFrameMisses: z.ZodNumber;
237
- budgetMb: z.ZodNumber;
238
- }, z.core.$strip>;
239
- /** Decoder block — null when the decoder stage is unreachable or inactive. */
191
+ /**
192
+ * Decoder block — WHERE decode runs (co-located with the detection node by
193
+ * construction); null when the camera has no detection node. It carries no
194
+ * frame counter: the shared-memory plane whose counters it used to serve is
195
+ * gone, and those fields read 0 forever. Whether frames actually flow is read
196
+ * from `detection.actualFps` (frames delivered to and processed by the
197
+ * detector), never from a counter nothing feeds.
198
+ */
240
199
  declare const CameraDecoderStatusSchema: z.ZodObject<{
241
200
  nodeId: z.ZodString;
242
- formats: z.ZodReadonly<z.ZodArray<z.ZodString>>;
243
- sessionCount: z.ZodNumber;
244
- shm: z.ZodObject<{
245
- framesWritten: z.ZodNumber;
246
- getFrameHits: z.ZodNumber;
247
- getFrameMisses: z.ZodNumber;
248
- budgetMb: z.ZodNumber;
249
- }, z.core.$strip>;
250
201
  }, z.core.$strip>;
251
202
  /** Motion block — null when motion detection is not active for this device. */
252
203
  declare const CameraMotionStatusSchema: z.ZodObject<{
@@ -439,22 +390,13 @@ declare const CameraStatusSchema: z.ZodObject<{
439
390
  width: z.ZodNumber;
440
391
  height: z.ZodNumber;
441
392
  subscribers: z.ZodNumber;
442
- inFps: z.ZodNumber;
443
- outFps: z.ZodNumber;
393
+ inFps: z.ZodNullable<z.ZodNumber>;
444
394
  }, z.core.$strip>>>;
445
395
  webrtcSessions: z.ZodNumber;
446
396
  rtspRestream: z.ZodBoolean;
447
397
  }, z.core.$strip>>;
448
398
  decoder: z.ZodNullable<z.ZodObject<{
449
399
  nodeId: z.ZodString;
450
- formats: z.ZodReadonly<z.ZodArray<z.ZodString>>;
451
- sessionCount: z.ZodNumber;
452
- shm: z.ZodObject<{
453
- framesWritten: z.ZodNumber;
454
- getFrameHits: z.ZodNumber;
455
- getFrameMisses: z.ZodNumber;
456
- budgetMb: z.ZodNumber;
457
- }, z.core.$strip>;
458
400
  }, z.core.$strip>>;
459
401
  motion: z.ZodNullable<z.ZodObject<{
460
402
  enabled: z.ZodBoolean;
@@ -960,7 +902,6 @@ export declare const pipelineOrchestratorCapability: {
960
902
  deviceKey: z.ZodString;
961
903
  backend: z.ZodString;
962
904
  attachedCameras: z.ZodNumber;
963
- queueDepthTotal: z.ZodNumber;
964
905
  }, z.core.$strip>>>;
965
906
  hardware: z.ZodObject<{
966
907
  hasGpu: z.ZodBoolean;
@@ -2242,22 +2183,13 @@ export declare const pipelineOrchestratorCapability: {
2242
2183
  width: z.ZodNumber;
2243
2184
  height: z.ZodNumber;
2244
2185
  subscribers: z.ZodNumber;
2245
- inFps: z.ZodNumber;
2246
- outFps: z.ZodNumber;
2186
+ inFps: z.ZodNullable<z.ZodNumber>;
2247
2187
  }, z.core.$strip>>>;
2248
2188
  webrtcSessions: z.ZodNumber;
2249
2189
  rtspRestream: z.ZodBoolean;
2250
2190
  }, z.core.$strip>>;
2251
2191
  decoder: z.ZodNullable<z.ZodObject<{
2252
2192
  nodeId: z.ZodString;
2253
- formats: z.ZodReadonly<z.ZodArray<z.ZodString>>;
2254
- sessionCount: z.ZodNumber;
2255
- shm: z.ZodObject<{
2256
- framesWritten: z.ZodNumber;
2257
- getFrameHits: z.ZodNumber;
2258
- getFrameMisses: z.ZodNumber;
2259
- budgetMb: z.ZodNumber;
2260
- }, z.core.$strip>;
2261
2193
  }, z.core.$strip>>;
2262
2194
  motion: z.ZodNullable<z.ZodObject<{
2263
2195
  enabled: z.ZodBoolean;
@@ -2471,22 +2403,13 @@ export declare const pipelineOrchestratorCapability: {
2471
2403
  width: z.ZodNumber;
2472
2404
  height: z.ZodNumber;
2473
2405
  subscribers: z.ZodNumber;
2474
- inFps: z.ZodNumber;
2475
- outFps: z.ZodNumber;
2406
+ inFps: z.ZodNullable<z.ZodNumber>;
2476
2407
  }, z.core.$strip>>>;
2477
2408
  webrtcSessions: z.ZodNumber;
2478
2409
  rtspRestream: z.ZodBoolean;
2479
2410
  }, z.core.$strip>>;
2480
2411
  decoder: z.ZodNullable<z.ZodObject<{
2481
2412
  nodeId: z.ZodString;
2482
- formats: z.ZodReadonly<z.ZodArray<z.ZodString>>;
2483
- sessionCount: z.ZodNumber;
2484
- shm: z.ZodObject<{
2485
- framesWritten: z.ZodNumber;
2486
- getFrameHits: z.ZodNumber;
2487
- getFrameMisses: z.ZodNumber;
2488
- budgetMb: z.ZodNumber;
2489
- }, z.core.$strip>;
2490
2413
  }, z.core.$strip>>;
2491
2414
  motion: z.ZodNullable<z.ZodObject<{
2492
2415
  enabled: z.ZodBoolean;
@@ -2719,213 +2642,6 @@ export declare const pipelineOrchestratorCapability: {
2719
2642
  finishedAtMs: z.ZodNullable<z.ZodNumber>;
2720
2643
  error: z.ZodNullable<z.ZodString>;
2721
2644
  }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
2722
- /** List every template the operator has saved. */
2723
- readonly listTemplates: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
2724
- id: z.ZodString;
2725
- name: z.ZodString;
2726
- description: z.ZodOptional<z.ZodString>;
2727
- config: z.ZodObject<{
2728
- engine: z.ZodOptional<z.ZodObject<{
2729
- runtime: z.ZodLiteral<"python">;
2730
- backend: z.ZodString;
2731
- format: z.ZodEnum<{
2732
- onnx: "onnx";
2733
- coreml: "coreml";
2734
- openvino: "openvino";
2735
- tflite: "tflite";
2736
- pt: "pt";
2737
- gguf: "gguf";
2738
- }>;
2739
- device: z.ZodOptional<z.ZodString>;
2740
- }, z.core.$strip>>;
2741
- steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
2742
- audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2743
- engine: z.ZodOptional<z.ZodObject<{
2744
- runtime: z.ZodLiteral<"python">;
2745
- backend: z.ZodString;
2746
- format: z.ZodEnum<{
2747
- onnx: "onnx";
2748
- coreml: "coreml";
2749
- openvino: "openvino";
2750
- tflite: "tflite";
2751
- pt: "pt";
2752
- gguf: "gguf";
2753
- }>;
2754
- device: z.ZodOptional<z.ZodString>;
2755
- }, z.core.$strip>>;
2756
- modelId: z.ZodOptional<z.ZodString>;
2757
- enabled: z.ZodBoolean;
2758
- settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2759
- }, z.core.$strip>>>;
2760
- }, z.core.$strip>;
2761
- createdAt: z.ZodString;
2762
- updatedAt: z.ZodString;
2763
- }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
2764
- /** Create a new named preset from a given CameraPipelineConfig. */
2765
- readonly saveTemplate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
2766
- name: z.ZodString;
2767
- description: z.ZodOptional<z.ZodString>;
2768
- config: z.ZodObject<{
2769
- engine: z.ZodOptional<z.ZodObject<{
2770
- runtime: z.ZodLiteral<"python">;
2771
- backend: z.ZodString;
2772
- format: z.ZodEnum<{
2773
- onnx: "onnx";
2774
- coreml: "coreml";
2775
- openvino: "openvino";
2776
- tflite: "tflite";
2777
- pt: "pt";
2778
- gguf: "gguf";
2779
- }>;
2780
- device: z.ZodOptional<z.ZodString>;
2781
- }, z.core.$strip>>;
2782
- steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
2783
- audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2784
- engine: z.ZodOptional<z.ZodObject<{
2785
- runtime: z.ZodLiteral<"python">;
2786
- backend: z.ZodString;
2787
- format: z.ZodEnum<{
2788
- onnx: "onnx";
2789
- coreml: "coreml";
2790
- openvino: "openvino";
2791
- tflite: "tflite";
2792
- pt: "pt";
2793
- gguf: "gguf";
2794
- }>;
2795
- device: z.ZodOptional<z.ZodString>;
2796
- }, z.core.$strip>>;
2797
- modelId: z.ZodOptional<z.ZodString>;
2798
- enabled: z.ZodBoolean;
2799
- settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2800
- }, z.core.$strip>>>;
2801
- }, z.core.$strip>;
2802
- }, z.core.$strip>, z.ZodObject<{
2803
- id: z.ZodString;
2804
- name: z.ZodString;
2805
- description: z.ZodOptional<z.ZodString>;
2806
- config: z.ZodObject<{
2807
- engine: z.ZodOptional<z.ZodObject<{
2808
- runtime: z.ZodLiteral<"python">;
2809
- backend: z.ZodString;
2810
- format: z.ZodEnum<{
2811
- onnx: "onnx";
2812
- coreml: "coreml";
2813
- openvino: "openvino";
2814
- tflite: "tflite";
2815
- pt: "pt";
2816
- gguf: "gguf";
2817
- }>;
2818
- device: z.ZodOptional<z.ZodString>;
2819
- }, z.core.$strip>>;
2820
- steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
2821
- audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2822
- engine: z.ZodOptional<z.ZodObject<{
2823
- runtime: z.ZodLiteral<"python">;
2824
- backend: z.ZodString;
2825
- format: z.ZodEnum<{
2826
- onnx: "onnx";
2827
- coreml: "coreml";
2828
- openvino: "openvino";
2829
- tflite: "tflite";
2830
- pt: "pt";
2831
- gguf: "gguf";
2832
- }>;
2833
- device: z.ZodOptional<z.ZodString>;
2834
- }, z.core.$strip>>;
2835
- modelId: z.ZodOptional<z.ZodString>;
2836
- enabled: z.ZodBoolean;
2837
- settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2838
- }, z.core.$strip>>>;
2839
- }, z.core.$strip>;
2840
- createdAt: z.ZodString;
2841
- updatedAt: z.ZodString;
2842
- }, z.core.$strip>, "mutation">;
2843
- /** Partial update of a template. Any omitted field is preserved. */
2844
- readonly updateTemplate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
2845
- id: z.ZodString;
2846
- name: z.ZodOptional<z.ZodString>;
2847
- description: z.ZodOptional<z.ZodString>;
2848
- config: z.ZodOptional<z.ZodObject<{
2849
- engine: z.ZodOptional<z.ZodObject<{
2850
- runtime: z.ZodLiteral<"python">;
2851
- backend: z.ZodString;
2852
- format: z.ZodEnum<{
2853
- onnx: "onnx";
2854
- coreml: "coreml";
2855
- openvino: "openvino";
2856
- tflite: "tflite";
2857
- pt: "pt";
2858
- gguf: "gguf";
2859
- }>;
2860
- device: z.ZodOptional<z.ZodString>;
2861
- }, z.core.$strip>>;
2862
- steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
2863
- audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2864
- engine: z.ZodOptional<z.ZodObject<{
2865
- runtime: z.ZodLiteral<"python">;
2866
- backend: z.ZodString;
2867
- format: z.ZodEnum<{
2868
- onnx: "onnx";
2869
- coreml: "coreml";
2870
- openvino: "openvino";
2871
- tflite: "tflite";
2872
- pt: "pt";
2873
- gguf: "gguf";
2874
- }>;
2875
- device: z.ZodOptional<z.ZodString>;
2876
- }, z.core.$strip>>;
2877
- modelId: z.ZodOptional<z.ZodString>;
2878
- enabled: z.ZodBoolean;
2879
- settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2880
- }, z.core.$strip>>>;
2881
- }, z.core.$strip>>;
2882
- }, z.core.$strip>, z.ZodObject<{
2883
- id: z.ZodString;
2884
- name: z.ZodString;
2885
- description: z.ZodOptional<z.ZodString>;
2886
- config: z.ZodObject<{
2887
- engine: z.ZodOptional<z.ZodObject<{
2888
- runtime: z.ZodLiteral<"python">;
2889
- backend: z.ZodString;
2890
- format: z.ZodEnum<{
2891
- onnx: "onnx";
2892
- coreml: "coreml";
2893
- openvino: "openvino";
2894
- tflite: "tflite";
2895
- pt: "pt";
2896
- gguf: "gguf";
2897
- }>;
2898
- device: z.ZodOptional<z.ZodString>;
2899
- }, z.core.$strip>>;
2900
- steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
2901
- audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2902
- engine: z.ZodOptional<z.ZodObject<{
2903
- runtime: z.ZodLiteral<"python">;
2904
- backend: z.ZodString;
2905
- format: z.ZodEnum<{
2906
- onnx: "onnx";
2907
- coreml: "coreml";
2908
- openvino: "openvino";
2909
- tflite: "tflite";
2910
- pt: "pt";
2911
- gguf: "gguf";
2912
- }>;
2913
- device: z.ZodOptional<z.ZodString>;
2914
- }, z.core.$strip>>;
2915
- modelId: z.ZodOptional<z.ZodString>;
2916
- enabled: z.ZodBoolean;
2917
- settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2918
- }, z.core.$strip>>>;
2919
- }, z.core.$strip>;
2920
- createdAt: z.ZodString;
2921
- updatedAt: z.ZodString;
2922
- }, z.core.$strip>, "mutation">;
2923
- /** Remove a template. Camera configs that were seeded from it keep a copy. */
2924
- readonly deleteTemplate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
2925
- id: z.ZodString;
2926
- }, z.core.$strip>, z.ZodObject<{
2927
- success: z.ZodLiteral<true>;
2928
- }, z.core.$strip>, "mutation">;
2929
2645
  };
2930
2646
  };
2931
2647
  export type IPipelineOrchestratorProvider = InferProvider<typeof pipelineOrchestratorCapability>;
@@ -2942,7 +2658,6 @@ export type CameraSourceStream = z.infer<typeof CameraSourceStreamSchema>;
2942
2658
  export type CameraBrokerStatus = z.infer<typeof CameraBrokerStatusSchema>;
2943
2659
  export type CameraBrokerProfile = z.infer<typeof CameraBrokerProfileSchema>;
2944
2660
  export type CameraDecoderStatus = z.infer<typeof CameraDecoderStatusSchema>;
2945
- export type CameraDecoderShm = z.infer<typeof CameraDecoderShmSchema>;
2946
2661
  export type CameraMotionStatus = z.infer<typeof CameraMotionStatusSchema>;
2947
2662
  export type CameraDetectionStatus = z.infer<typeof CameraDetectionStatusSchema>;
2948
2663
  export type CameraDetectionProvisioning = z.infer<typeof CameraDetectionProvisioningSchema>;
@@ -2955,4 +2670,4 @@ export type IngestOwner = z.infer<typeof IngestOwnerSchema>;
2955
2670
  export type NodeInferenceDevice = z.infer<typeof NodeInferenceDeviceSchema>;
2956
2671
  export type NodeInferenceDevices = z.infer<typeof NodeInferenceDevicesSchema>;
2957
2672
  export type InferenceDeviceExclusionReason = z.infer<typeof InferenceDeviceExclusionReasonSchema>;
2958
- export { AgentLoadSummarySchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMotionStatusSchema, CameraPipelineConfigSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStepOverridePatchSchema, CapabilityBindingsSchema, DiskReconcileJobSchema, GlobalMetricsSchema, INFERENCE_DEVICE_EXCLUSION_REASONS, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, PipelineAssignmentSchema, PipelineTemplateSchema as OrchestratorPipelineTemplateSchema, };
2673
+ export { AgentLoadSummarySchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMotionStatusSchema, CameraPipelineConfigSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStepOverridePatchSchema, CapabilityBindingsSchema, DiskReconcileJobSchema, GlobalMetricsSchema, INFERENCE_DEVICE_EXCLUSION_REASONS, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, PipelineAssignmentSchema, };
@@ -491,7 +491,6 @@ declare const RunnerLocalLoadSchema: z.ZodObject<{
491
491
  deviceKey: z.ZodString;
492
492
  backend: z.ZodString;
493
493
  attachedCameras: z.ZodNumber;
494
- queueDepthTotal: z.ZodNumber;
495
494
  }, z.core.$strip>>>;
496
495
  hardware: z.ZodObject<{
497
496
  hasGpu: z.ZodBoolean;
@@ -818,7 +817,6 @@ export declare const pipelineRunnerCapability: {
818
817
  deviceKey: z.ZodString;
819
818
  backend: z.ZodString;
820
819
  attachedCameras: z.ZodNumber;
821
- queueDepthTotal: z.ZodNumber;
822
820
  }, z.core.$strip>>>;
823
821
  hardware: z.ZodObject<{
824
822
  hasGpu: z.ZodBoolean;