@camstack/types 1.0.4 → 1.0.5

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.
@@ -143,9 +143,9 @@ declare const UpdateFrameworkPackageResultSchema: z.ZodObject<{
143
143
  restartingAt: z.ZodNumber;
144
144
  }, z.core.$strip>;
145
145
  declare const BulkUpdateItemStatusSchema: z.ZodEnum<{
146
+ failed: "failed";
146
147
  queued: "queued";
147
148
  done: "done";
148
- failed: "failed";
149
149
  updating: "updating";
150
150
  "done-pending-restart": "done-pending-restart";
151
151
  }>;
@@ -155,9 +155,9 @@ declare const BulkUpdateItemSchema: z.ZodObject<{
155
155
  fromVersion: z.ZodString;
156
156
  toVersion: z.ZodString;
157
157
  status: z.ZodEnum<{
158
+ failed: "failed";
158
159
  queued: "queued";
159
160
  done: "done";
160
- failed: "failed";
161
161
  updating: "updating";
162
162
  "done-pending-restart": "done-pending-restart";
163
163
  }>;
@@ -193,9 +193,9 @@ declare const BulkUpdateStateSchema: z.ZodObject<{
193
193
  fromVersion: z.ZodString;
194
194
  toVersion: z.ZodString;
195
195
  status: z.ZodEnum<{
196
+ failed: "failed";
196
197
  queued: "queued";
197
198
  done: "done";
198
- failed: "failed";
199
199
  updating: "updating";
200
200
  "done-pending-restart": "done-pending-restart";
201
201
  }>;
@@ -635,6 +635,7 @@ export declare const addonsCapability: {
635
635
  framework: "framework";
636
636
  }>;
637
637
  phase: z.ZodEnum<{
638
+ failed: "failed";
638
639
  queued: "queued";
639
640
  fetching: "fetching";
640
641
  staged: "staged";
@@ -643,7 +644,6 @@ export declare const addonsCapability: {
643
644
  restarting: "restarting";
644
645
  applied: "applied";
645
646
  done: "done";
646
- failed: "failed";
647
647
  skipped: "skipped";
648
648
  }>;
649
649
  stagedPath: z.ZodNullable<z.ZodString>;
@@ -653,6 +653,7 @@ export declare const addonsCapability: {
653
653
  nodeId: z.ZodString;
654
654
  packageName: z.ZodString;
655
655
  phase: z.ZodEnum<{
656
+ failed: "failed";
656
657
  queued: "queued";
657
658
  fetching: "fetching";
658
659
  staged: "staged";
@@ -661,7 +662,6 @@ export declare const addonsCapability: {
661
662
  restarting: "restarting";
662
663
  applied: "applied";
663
664
  done: "done";
664
- failed: "failed";
665
665
  skipped: "skipped";
666
666
  }>;
667
667
  message: z.ZodString;
@@ -711,6 +711,7 @@ export declare const addonsCapability: {
711
711
  framework: "framework";
712
712
  }>;
713
713
  phase: z.ZodEnum<{
714
+ failed: "failed";
714
715
  queued: "queued";
715
716
  fetching: "fetching";
716
717
  staged: "staged";
@@ -719,7 +720,6 @@ export declare const addonsCapability: {
719
720
  restarting: "restarting";
720
721
  applied: "applied";
721
722
  done: "done";
722
- failed: "failed";
723
723
  skipped: "skipped";
724
724
  }>;
725
725
  stagedPath: z.ZodNullable<z.ZodString>;
@@ -729,6 +729,7 @@ export declare const addonsCapability: {
729
729
  nodeId: z.ZodString;
730
730
  packageName: z.ZodString;
731
731
  phase: z.ZodEnum<{
732
+ failed: "failed";
732
733
  queued: "queued";
733
734
  fetching: "fetching";
734
735
  staged: "staged";
@@ -737,7 +738,6 @@ export declare const addonsCapability: {
737
738
  restarting: "restarting";
738
739
  applied: "applied";
739
740
  done: "done";
740
- failed: "failed";
741
741
  skipped: "skipped";
742
742
  }>;
743
743
  message: z.ZodString;
@@ -14,8 +14,8 @@ export declare const AlertSeveritySchema: z.ZodEnum<{
14
14
  warning: "warning";
15
15
  }>;
16
16
  export declare const AlertStatusSchema: z.ZodEnum<{
17
- active: "active";
18
17
  failed: "failed";
18
+ active: "active";
19
19
  completed: "completed";
20
20
  "in-progress": "in-progress";
21
21
  dismissed: "dismissed";
@@ -36,8 +36,8 @@ export declare const AlertSchema: z.ZodObject<{
36
36
  title: z.ZodString;
37
37
  message: z.ZodString;
38
38
  status: z.ZodEnum<{
39
- active: "active";
40
39
  failed: "failed";
40
+ active: "active";
41
41
  completed: "completed";
42
42
  "in-progress": "in-progress";
43
43
  dismissed: "dismissed";
@@ -72,8 +72,8 @@ export declare const alertsCapability: {
72
72
  title: z.ZodString;
73
73
  message: z.ZodString;
74
74
  status: z.ZodEnum<{
75
- active: "active";
76
75
  failed: "failed";
76
+ active: "active";
77
77
  completed: "completed";
78
78
  "in-progress": "in-progress";
79
79
  dismissed: "dismissed";
@@ -102,8 +102,8 @@ export declare const alertsCapability: {
102
102
  title: z.ZodOptional<z.ZodString>;
103
103
  message: z.ZodOptional<z.ZodString>;
104
104
  status: z.ZodOptional<z.ZodEnum<{
105
- active: "active";
106
105
  failed: "failed";
106
+ active: "active";
107
107
  completed: "completed";
108
108
  "in-progress": "in-progress";
109
109
  dismissed: "dismissed";
@@ -134,8 +134,8 @@ export declare const alertsCapability: {
134
134
  title: z.ZodString;
135
135
  message: z.ZodString;
136
136
  status: z.ZodEnum<{
137
- active: "active";
138
137
  failed: "failed";
138
+ active: "active";
139
139
  completed: "completed";
140
140
  "in-progress": "in-progress";
141
141
  dismissed: "dismissed";
@@ -116,8 +116,8 @@ export declare const cameraStreamsCapability: {
116
116
  status: z.ZodEnum<{
117
117
  error: "error";
118
118
  streaming: "streaming";
119
- unassigned: "unassigned";
120
119
  idle: "idle";
120
+ unassigned: "unassigned";
121
121
  connecting: "connecting";
122
122
  }>;
123
123
  resolution: z.ZodOptional<z.ZodObject<{
@@ -279,8 +279,8 @@ export declare const cameraStreamsCapability: {
279
279
  status: z.ZodEnum<{
280
280
  error: "error";
281
281
  streaming: "streaming";
282
- unassigned: "unassigned";
283
282
  idle: "idle";
283
+ unassigned: "unassigned";
284
284
  connecting: "connecting";
285
285
  }>;
286
286
  resolution: z.ZodOptional<z.ZodObject<{
@@ -322,22 +322,22 @@ export declare const cameraStreamsCapability: {
322
322
  high: z.ZodOptional<z.ZodEnum<{
323
323
  error: "error";
324
324
  streaming: "streaming";
325
- unassigned: "unassigned";
326
325
  idle: "idle";
326
+ unassigned: "unassigned";
327
327
  connecting: "connecting";
328
328
  }>>;
329
329
  mid: z.ZodOptional<z.ZodEnum<{
330
330
  error: "error";
331
331
  streaming: "streaming";
332
- unassigned: "unassigned";
333
332
  idle: "idle";
333
+ unassigned: "unassigned";
334
334
  connecting: "connecting";
335
335
  }>>;
336
336
  low: z.ZodOptional<z.ZodEnum<{
337
337
  error: "error";
338
338
  streaming: "streaming";
339
- unassigned: "unassigned";
340
339
  idle: "idle";
340
+ unassigned: "unassigned";
341
341
  connecting: "connecting";
342
342
  }>>;
343
343
  }, z.core.$strip>;
@@ -70,7 +70,8 @@ export { pipelineExecutorCapability, PipelineEngineChoiceSchema, PipelineDefault
70
70
  export type { PipelineStepInputOutput } from './pipeline-executor.cap.js';
71
71
  export { pipelineRunnerCapability, RunnerCameraConfigSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, MotionSourceEnum, MotionSourcesSchema, ReportMotionInputSchema, RunnerCameraDeviceUIFields, } from './pipeline-runner.cap.js';
72
72
  export type { MotionSource, MotionSources, ReportMotionInput } from './pipeline-runner.cap.js';
73
- export { pipelineOrchestratorCapability, PipelineAssignmentSchema, DecoderAssignmentSchema, AgentLoadSummarySchema, GlobalMetricsSchema, CapabilityBindingsSchema, } from './pipeline-orchestrator.cap.js';
73
+ export { pipelineOrchestratorCapability, PipelineAssignmentSchema, DecoderAssignmentSchema, AgentLoadSummarySchema, GlobalMetricsSchema, CapabilityBindingsSchema, CameraStatusSchema, CameraAssignmentStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraBrokerStatusSchema, CameraBrokerProfileSchema, CameraDecoderStatusSchema, CameraDecoderShmSchema, CameraMotionStatusSchema, CameraDetectionStatusSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionPhaseSchema, CameraAudioStatusSchema, CameraRecordingStatusSchema, CameraRecordingModeSchema, } from './pipeline-orchestrator.cap.js';
74
+ export type { CameraStatus, CameraAssignmentStatus, CameraSourceStatus, CameraSourceStream, CameraBrokerStatus, CameraBrokerProfile, CameraDecoderStatus, CameraDecoderShm, CameraMotionStatus, CameraDetectionStatus, CameraDetectionProvisioning, CameraDetectionProvisioningState, CameraDetectionPhase, CameraAudioStatus, CameraRecordingStatus, CameraRecordingMode, } from './pipeline-orchestrator.cap.js';
74
75
  export { OrchestratorMetricsSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, } from './schemas/orchestrator-metrics.js';
75
76
  export { audioAnalyzerCapability, AUDIO_BACKEND_CHOICES, DEFAULT_AUDIO_ANALYZER_CONFIG, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioClassificationResultSchema, } from './audio-analyzer.cap.js';
76
77
  export type { IAudioAnalyzerProvider, AudioBackendChoice, AudioAnalyzerGlobalConfig, } from './audio-analyzer.cap.js';
@@ -297,6 +297,25 @@ declare const DetectorOutputSchema: z.ZodObject<{
297
297
  inferenceMs: z.ZodNumber;
298
298
  modelId: z.ZodString;
299
299
  }, z.core.$strip>;
300
+ declare const EngineProvisioningSchema: z.ZodObject<{
301
+ runtimeId: z.ZodNullable<z.ZodEnum<{
302
+ onnx: "onnx";
303
+ coreml: "coreml";
304
+ openvino: "openvino";
305
+ }>>;
306
+ device: z.ZodNullable<z.ZodString>;
307
+ state: z.ZodEnum<{
308
+ ready: "ready";
309
+ idle: "idle";
310
+ installing: "installing";
311
+ verifying: "verifying";
312
+ failed: "failed";
313
+ }>;
314
+ progress: z.ZodOptional<z.ZodNumber>;
315
+ error: z.ZodOptional<z.ZodString>;
316
+ nextRetryAt: z.ZodOptional<z.ZodNumber>;
317
+ }, z.core.$strip>;
318
+ export type EngineProvisioning = z.infer<typeof EngineProvisioningSchema>;
300
319
  export type PipelineStepInputOutput = {
301
320
  readonly addonId: string;
302
321
  readonly modelId: string;
@@ -393,6 +412,34 @@ export declare const pipelineExecutorCapability: {
393
412
  }>;
394
413
  device: z.ZodOptional<z.ZodString>;
395
414
  }, z.core.$strip>, "mutation">;
415
+ /**
416
+ * Per-node detection-engine provisioning snapshot. Returns the live
417
+ * state of the lazy runtime-provisioning machine on `nodeId`
418
+ * (idle / installing / verifying / ready / failed). The UI pairs this
419
+ * one-shot query with the `pipeline.engine-provisioning` live event
420
+ * (emitted on every transition) to drive a per-node "engine ready?"
421
+ * indicator without polling. Phase 2.
422
+ */
423
+ readonly getEngineProvisioning: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
424
+ nodeId: z.ZodString;
425
+ }, z.core.$strip>, z.ZodObject<{
426
+ runtimeId: z.ZodNullable<z.ZodEnum<{
427
+ onnx: "onnx";
428
+ coreml: "coreml";
429
+ openvino: "openvino";
430
+ }>>;
431
+ device: z.ZodNullable<z.ZodString>;
432
+ state: z.ZodEnum<{
433
+ ready: "ready";
434
+ idle: "idle";
435
+ installing: "installing";
436
+ verifying: "verifying";
437
+ failed: "failed";
438
+ }>;
439
+ progress: z.ZodOptional<z.ZodNumber>;
440
+ error: z.ZodOptional<z.ZodString>;
441
+ nextRetryAt: z.ZodOptional<z.ZodNumber>;
442
+ }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
396
443
  readonly getVideoPipelineSteps: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodRecord<z.ZodString, z.ZodObject<{
397
444
  modelId: z.ZodString;
398
445
  settings: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -918,4 +965,4 @@ export declare const pipelineExecutorCapability: {
918
965
  };
919
966
  };
920
967
  export type IPipelineExecutorProvider = InferProvider<typeof pipelineExecutorCapability>;
921
- export { PipelineEngineChoiceSchema, PipelineDefaultStepSchema, DetectorOutputSchema, PipelineSchemaSchema, PipelineAddonSchemaSchema, PipelineSlotSchemaSchema, PipelineModelOptionSchema, AvailableEngineSchema, PipelineTemplateSchema, PipelineTemplateStepSchema, EngineDeviceInfoSchema, };
968
+ export { PipelineEngineChoiceSchema, PipelineDefaultStepSchema, DetectorOutputSchema, PipelineSchemaSchema, PipelineAddonSchemaSchema, PipelineSlotSchemaSchema, PipelineModelOptionSchema, AvailableEngineSchema, PipelineTemplateSchema, PipelineTemplateStepSchema, EngineDeviceInfoSchema, EngineProvisioningSchema, };