@camstack/types 1.0.3 → 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.
@@ -63,9 +63,9 @@ declare const AddonListItemSchema: z.ZodObject<{
63
63
  hasBackup: z.ZodOptional<z.ZodBoolean>;
64
64
  health: z.ZodOptional<z.ZodNullable<z.ZodObject<{
65
65
  phase: z.ZodEnum<{
66
+ failed: "failed";
66
67
  pending: "pending";
67
68
  healthy: "healthy";
68
- failed: "failed";
69
69
  }>;
70
70
  retryCount: z.ZodNumber;
71
71
  firstFailureAt: z.ZodNullable<z.ZodNumber>;
@@ -145,8 +145,8 @@ declare const UpdateFrameworkPackageResultSchema: z.ZodObject<{
145
145
  declare const BulkUpdateItemStatusSchema: z.ZodEnum<{
146
146
  failed: "failed";
147
147
  queued: "queued";
148
- updating: "updating";
149
148
  done: "done";
149
+ updating: "updating";
150
150
  "done-pending-restart": "done-pending-restart";
151
151
  }>;
152
152
  declare const BulkUpdateItemSchema: z.ZodObject<{
@@ -157,8 +157,8 @@ declare const BulkUpdateItemSchema: z.ZodObject<{
157
157
  status: z.ZodEnum<{
158
158
  failed: "failed";
159
159
  queued: "queued";
160
- updating: "updating";
161
160
  done: "done";
161
+ updating: "updating";
162
162
  "done-pending-restart": "done-pending-restart";
163
163
  }>;
164
164
  error: z.ZodOptional<z.ZodString>;
@@ -167,8 +167,8 @@ declare const BulkUpdateItemSchema: z.ZodObject<{
167
167
  }, z.core.$strip>;
168
168
  declare const BulkUpdatePhaseSchema: z.ZodEnum<{
169
169
  system: "system";
170
- regular: "regular";
171
170
  restarting: "restarting";
171
+ regular: "regular";
172
172
  finalizing: "finalizing";
173
173
  }>;
174
174
  declare const BulkUpdateStateSchema: z.ZodObject<{
@@ -182,8 +182,8 @@ declare const BulkUpdateStateSchema: z.ZodObject<{
182
182
  current: z.ZodNullable<z.ZodString>;
183
183
  phase: z.ZodEnum<{
184
184
  system: "system";
185
- regular: "regular";
186
185
  restarting: "restarting";
186
+ regular: "regular";
187
187
  finalizing: "finalizing";
188
188
  }>;
189
189
  cancelled: z.ZodBoolean;
@@ -195,8 +195,8 @@ declare const BulkUpdateStateSchema: z.ZodObject<{
195
195
  status: z.ZodEnum<{
196
196
  failed: "failed";
197
197
  queued: "queued";
198
- updating: "updating";
199
198
  done: "done";
199
+ updating: "updating";
200
200
  "done-pending-restart": "done-pending-restart";
201
201
  }>;
202
202
  error: z.ZodOptional<z.ZodString>;
@@ -281,9 +281,9 @@ export declare const addonsCapability: {
281
281
  hasBackup: z.ZodOptional<z.ZodBoolean>;
282
282
  health: z.ZodOptional<z.ZodNullable<z.ZodObject<{
283
283
  phase: z.ZodEnum<{
284
+ failed: "failed";
284
285
  pending: "pending";
285
286
  healthy: "healthy";
286
- failed: "failed";
287
287
  }>;
288
288
  retryCount: z.ZodNumber;
289
289
  firstFailureAt: z.ZodNullable<z.ZodNumber>;
@@ -509,122 +509,6 @@ export declare const addonsCapability: {
509
509
  toVersion: z.ZodString;
510
510
  restartingAt: z.ZodNumber;
511
511
  }, z.core.$strip>, "mutation">;
512
- /**
513
- * Kicks off a server-side bulk update operation and returns the bulk
514
- * id immediately. The operation runs asynchronously; observe progress
515
- * via the `AddonsBulkUpdateProgress` event or `getBulkUpdateState`.
516
- * Items with `isSystem: true` use `deferRestart` — the hub restarts
517
- * ONCE at the end of the system phase, after all system packages are
518
- * installed.
519
- *
520
- * `items[].version` is REQUIRED — callers must pass the resolved
521
- * version from `listUpdates`. There is no `'latest'` default here
522
- * (unlike `updatePackage`) to guarantee deterministic bulk rolls.
523
- */
524
- readonly startBulkUpdate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
525
- nodeId: z.ZodString;
526
- items: z.ZodReadonly<z.ZodArray<z.ZodObject<{
527
- name: z.ZodString;
528
- version: z.ZodString;
529
- isSystem: z.ZodBoolean;
530
- }, z.core.$strip>>>;
531
- }, z.core.$strip>, z.ZodObject<{
532
- id: z.ZodString;
533
- }, z.core.$strip>, "mutation">;
534
- /**
535
- * Returns the current state of a bulk update by id.
536
- * Returns `null` if the id is unknown or has been auto-cleaned
537
- * (5 minutes after `completedAt` the record is evicted from memory).
538
- */
539
- readonly getBulkUpdateState: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
540
- id: z.ZodString;
541
- }, z.core.$strip>, z.ZodNullable<z.ZodObject<{
542
- id: z.ZodString;
543
- nodeId: z.ZodString;
544
- startedAtMs: z.ZodNumber;
545
- completedAtMs: z.ZodOptional<z.ZodNumber>;
546
- total: z.ZodNumber;
547
- completed: z.ZodNumber;
548
- failed: z.ZodNumber;
549
- current: z.ZodNullable<z.ZodString>;
550
- phase: z.ZodEnum<{
551
- system: "system";
552
- regular: "regular";
553
- restarting: "restarting";
554
- finalizing: "finalizing";
555
- }>;
556
- cancelled: z.ZodBoolean;
557
- items: z.ZodReadonly<z.ZodArray<z.ZodObject<{
558
- name: z.ZodString;
559
- isSystem: z.ZodBoolean;
560
- fromVersion: z.ZodString;
561
- toVersion: z.ZodString;
562
- status: z.ZodEnum<{
563
- failed: "failed";
564
- queued: "queued";
565
- updating: "updating";
566
- done: "done";
567
- "done-pending-restart": "done-pending-restart";
568
- }>;
569
- error: z.ZodOptional<z.ZodString>;
570
- startedAtMs: z.ZodOptional<z.ZodNumber>;
571
- completedAtMs: z.ZodOptional<z.ZodNumber>;
572
- }, z.core.$strip>>>;
573
- }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
574
- /**
575
- * Cancels an in-flight bulk update. The update loop exits after the
576
- * currently-processing item completes — cancellation is not
577
- * instantaneous. Has no effect once the `restarting` phase has been
578
- * entered (the hub is already shutting down at that point).
579
- * Returns `{ cancelled: false }` if the id is unknown, the operation
580
- * has already completed, or the `restarting` phase is active.
581
- */
582
- readonly cancelBulkUpdate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
583
- id: z.ZodString;
584
- }, z.core.$strip>, z.ZodObject<{
585
- cancelled: z.ZodBoolean;
586
- }, z.core.$strip>, "mutation">;
587
- /**
588
- * Lists all currently active (non-completed) bulk updates.
589
- * If `nodeId` is provided, filters to only bulk updates targeting
590
- * that node. Useful for restoring an in-progress banner on a fresh
591
- * page load when the UI reconnects mid-operation.
592
- */
593
- readonly listActiveBulkUpdates: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
594
- nodeId: z.ZodOptional<z.ZodString>;
595
- }, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
596
- id: z.ZodString;
597
- nodeId: z.ZodString;
598
- startedAtMs: z.ZodNumber;
599
- completedAtMs: z.ZodOptional<z.ZodNumber>;
600
- total: z.ZodNumber;
601
- completed: z.ZodNumber;
602
- failed: z.ZodNumber;
603
- current: z.ZodNullable<z.ZodString>;
604
- phase: z.ZodEnum<{
605
- system: "system";
606
- regular: "regular";
607
- restarting: "restarting";
608
- finalizing: "finalizing";
609
- }>;
610
- cancelled: z.ZodBoolean;
611
- items: z.ZodReadonly<z.ZodArray<z.ZodObject<{
612
- name: z.ZodString;
613
- isSystem: z.ZodBoolean;
614
- fromVersion: z.ZodString;
615
- toVersion: z.ZodString;
616
- status: z.ZodEnum<{
617
- failed: "failed";
618
- queued: "queued";
619
- updating: "updating";
620
- done: "done";
621
- "done-pending-restart": "done-pending-restart";
622
- }>;
623
- error: z.ZodOptional<z.ZodString>;
624
- startedAtMs: z.ZodOptional<z.ZodNumber>;
625
- completedAtMs: z.ZodOptional<z.ZodNumber>;
626
- }, z.core.$strip>>>;
627
- }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
628
512
  readonly getVersions: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
629
513
  name: z.ZodString;
630
514
  }, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
@@ -694,6 +578,193 @@ export declare const addonsCapability: {
694
578
  action: z.ZodString;
695
579
  input: z.ZodUnknown;
696
580
  }, z.core.$strip>, z.ZodUnknown, "mutation">;
581
+ /**
582
+ * Start a lifecycle job (install / update / uninstall / restart) for one
583
+ * or more addon packages. Returns the `jobId` immediately — the job runs
584
+ * asynchronously. Observe progress via `EventCategory.AddonsJobProgress` /
585
+ * `AddonsJobLog` events or poll `getJob`.
586
+ *
587
+ * For a single-addon update on the hub the provider also routes
588
+ * `updatePackage` through this path so the fast swap + atomic-restart
589
+ * path (`applyStagedAddonUpdate`) is always used.
590
+ */
591
+ readonly startJob: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
592
+ kind: z.ZodEnum<{
593
+ update: "update";
594
+ install: "install";
595
+ uninstall: "uninstall";
596
+ restart: "restart";
597
+ }>;
598
+ targets: z.ZodArray<z.ZodObject<{
599
+ name: z.ZodString;
600
+ version: z.ZodString;
601
+ }, z.core.$strip>>;
602
+ nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
603
+ }, z.core.$strip>, z.ZodObject<{
604
+ jobId: z.ZodString;
605
+ }, z.core.$strip>, "mutation">;
606
+ /**
607
+ * Retrieve a lifecycle job by id. Returns `null` when the id is unknown
608
+ * (e.g. evicted after the retention window).
609
+ */
610
+ readonly getJob: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
611
+ jobId: z.ZodString;
612
+ }, z.core.$strip>, z.ZodNullable<z.ZodObject<{
613
+ jobId: z.ZodString;
614
+ kind: z.ZodEnum<{
615
+ update: "update";
616
+ install: "install";
617
+ uninstall: "uninstall";
618
+ restart: "restart";
619
+ }>;
620
+ createdAtMs: z.ZodNumber;
621
+ createdBy: z.ZodString;
622
+ scope: z.ZodEnum<{
623
+ single: "single";
624
+ bulk: "bulk";
625
+ cluster: "cluster";
626
+ }>;
627
+ tasks: z.ZodArray<z.ZodObject<{
628
+ taskId: z.ZodString;
629
+ nodeId: z.ZodString;
630
+ packageName: z.ZodString;
631
+ fromVersion: z.ZodNullable<z.ZodString>;
632
+ toVersion: z.ZodString;
633
+ target: z.ZodEnum<{
634
+ addon: "addon";
635
+ framework: "framework";
636
+ }>;
637
+ phase: z.ZodEnum<{
638
+ failed: "failed";
639
+ queued: "queued";
640
+ fetching: "fetching";
641
+ staged: "staged";
642
+ validating: "validating";
643
+ applying: "applying";
644
+ restarting: "restarting";
645
+ applied: "applied";
646
+ done: "done";
647
+ skipped: "skipped";
648
+ }>;
649
+ stagedPath: z.ZodNullable<z.ZodString>;
650
+ attempts: z.ZodNumber;
651
+ steps: z.ZodArray<z.ZodObject<{
652
+ tsMs: z.ZodNumber;
653
+ nodeId: z.ZodString;
654
+ packageName: z.ZodString;
655
+ phase: z.ZodEnum<{
656
+ failed: "failed";
657
+ queued: "queued";
658
+ fetching: "fetching";
659
+ staged: "staged";
660
+ validating: "validating";
661
+ applying: "applying";
662
+ restarting: "restarting";
663
+ applied: "applied";
664
+ done: "done";
665
+ skipped: "skipped";
666
+ }>;
667
+ message: z.ZodString;
668
+ }, z.core.$strip>>;
669
+ error: z.ZodNullable<z.ZodString>;
670
+ startedAtMs: z.ZodNullable<z.ZodNumber>;
671
+ finishedAtMs: z.ZodNullable<z.ZodNumber>;
672
+ }, z.core.$strip>>;
673
+ state: z.ZodEnum<{
674
+ running: "running";
675
+ failed: "failed";
676
+ completed: "completed";
677
+ "partially-failed": "partially-failed";
678
+ cancelled: "cancelled";
679
+ }>;
680
+ schemaVersion: z.ZodLiteral<1>;
681
+ }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
682
+ /**
683
+ * List lifecycle jobs. When `activeOnly` is true, only jobs still in
684
+ * `running` state are returned.
685
+ */
686
+ readonly listJobs: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
687
+ activeOnly: z.ZodOptional<z.ZodBoolean>;
688
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
689
+ jobId: z.ZodString;
690
+ kind: z.ZodEnum<{
691
+ update: "update";
692
+ install: "install";
693
+ uninstall: "uninstall";
694
+ restart: "restart";
695
+ }>;
696
+ createdAtMs: z.ZodNumber;
697
+ createdBy: z.ZodString;
698
+ scope: z.ZodEnum<{
699
+ single: "single";
700
+ bulk: "bulk";
701
+ cluster: "cluster";
702
+ }>;
703
+ tasks: z.ZodArray<z.ZodObject<{
704
+ taskId: z.ZodString;
705
+ nodeId: z.ZodString;
706
+ packageName: z.ZodString;
707
+ fromVersion: z.ZodNullable<z.ZodString>;
708
+ toVersion: z.ZodString;
709
+ target: z.ZodEnum<{
710
+ addon: "addon";
711
+ framework: "framework";
712
+ }>;
713
+ phase: z.ZodEnum<{
714
+ failed: "failed";
715
+ queued: "queued";
716
+ fetching: "fetching";
717
+ staged: "staged";
718
+ validating: "validating";
719
+ applying: "applying";
720
+ restarting: "restarting";
721
+ applied: "applied";
722
+ done: "done";
723
+ skipped: "skipped";
724
+ }>;
725
+ stagedPath: z.ZodNullable<z.ZodString>;
726
+ attempts: z.ZodNumber;
727
+ steps: z.ZodArray<z.ZodObject<{
728
+ tsMs: z.ZodNumber;
729
+ nodeId: z.ZodString;
730
+ packageName: z.ZodString;
731
+ phase: z.ZodEnum<{
732
+ failed: "failed";
733
+ queued: "queued";
734
+ fetching: "fetching";
735
+ staged: "staged";
736
+ validating: "validating";
737
+ applying: "applying";
738
+ restarting: "restarting";
739
+ applied: "applied";
740
+ done: "done";
741
+ skipped: "skipped";
742
+ }>;
743
+ message: z.ZodString;
744
+ }, z.core.$strip>>;
745
+ error: z.ZodNullable<z.ZodString>;
746
+ startedAtMs: z.ZodNullable<z.ZodNumber>;
747
+ finishedAtMs: z.ZodNullable<z.ZodNumber>;
748
+ }, z.core.$strip>>;
749
+ state: z.ZodEnum<{
750
+ running: "running";
751
+ failed: "failed";
752
+ completed: "completed";
753
+ "partially-failed": "partially-failed";
754
+ cancelled: "cancelled";
755
+ }>;
756
+ schemaVersion: z.ZodLiteral<1>;
757
+ }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
758
+ /**
759
+ * Cancel a lifecycle job that is queued but not yet actively running.
760
+ * Returns `{ cancelled: false }` if the job is unknown, already in a
761
+ * terminal state, or actively executing (cannot abort mid-flight).
762
+ */
763
+ readonly cancelJob: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
764
+ jobId: z.ZodString;
765
+ }, z.core.$strip>, z.ZodObject<{
766
+ cancelled: z.ZodBoolean;
767
+ }, z.core.$strip>, "mutation">;
697
768
  readonly onAddonLogs: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
698
769
  addonId: z.ZodString;
699
770
  level: z.ZodOptional<z.ZodEnum<{
@@ -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, };