@camstack/types 1.2.259 → 1.2.261

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/dist/addon/base-addon.d.ts +9 -1
  2. package/dist/addon.js +15 -7
  3. package/dist/addon.mjs +15 -7
  4. package/dist/capabilities/camera-streams.cap.d.ts +5 -5
  5. package/dist/capabilities/capability-definition.d.ts +9 -0
  6. package/dist/capabilities/custom-model-registry.cap.d.ts +18 -12
  7. package/dist/capabilities/decoder.cap.d.ts +12 -12
  8. package/dist/capabilities/device-extension.cap.d.ts +370 -0
  9. package/dist/capabilities/device-manager.cap.d.ts +45 -5
  10. package/dist/capabilities/doorbell.cap.d.ts +41 -0
  11. package/dist/capabilities/embedding-encoder.cap.d.ts +175 -0
  12. package/dist/capabilities/index.d.ts +17 -14
  13. package/dist/capabilities/llm-runtime.cap.d.ts +4 -4
  14. package/dist/capabilities/llm-shared.d.ts +6 -6
  15. package/dist/capabilities/llm.cap.d.ts +6 -6
  16. package/dist/capabilities/load-contribution.cap.d.ts +2 -2
  17. package/dist/capabilities/model-convert.cap.d.ts +9 -6
  18. package/dist/capabilities/model-distributor.cap.d.ts +18 -12
  19. package/dist/capabilities/motion-detection.cap.d.ts +4 -4
  20. package/dist/capabilities/notification-rules.cap.d.ts +603 -31
  21. package/dist/capabilities/osd-manager.cap.d.ts +7 -7
  22. package/dist/capabilities/pipeline-analytics.cap.d.ts +130 -129
  23. package/dist/capabilities/pipeline-executor.cap.d.ts +78 -120
  24. package/dist/capabilities/pipeline-orchestrator.cap.d.ts +78 -65
  25. package/dist/capabilities/pipeline-runner.cap.d.ts +30 -6
  26. package/dist/capabilities/platform-probe.cap.d.ts +4 -13
  27. package/dist/capabilities/recording-export.cap.d.ts +7 -7
  28. package/dist/capabilities/schemas/detection-shared.d.ts +4 -4
  29. package/dist/capabilities/schemas/streaming-shared.d.ts +8 -8
  30. package/dist/capabilities/stream-broker.cap.d.ts +9 -9
  31. package/dist/capabilities/system.cap.d.ts +2 -2
  32. package/dist/capabilities/vacuum-control.cap.d.ts +13 -13
  33. package/dist/capabilities/vector-store.cap.d.ts +14 -0
  34. package/dist/capabilities/videoclips.cap.d.ts +5 -5
  35. package/dist/capabilities/webrtc-session.cap.d.ts +2 -2
  36. package/dist/device-extension/index.d.ts +3 -0
  37. package/dist/device-extension/slot-descriptor.d.ts +62 -0
  38. package/dist/device-extension/slot-provider.d.ts +68 -0
  39. package/dist/generated/addon-api.d.ts +59 -9
  40. package/dist/generated/cap-input-defaults.d.ts +1 -1
  41. package/dist/generated/capability-router-map.d.ts +5 -2
  42. package/dist/generated/collection-array-methods.d.ts +1 -1
  43. package/dist/generated/device-proxy.d.ts +7 -7
  44. package/dist/generated/device-scoped-caps.d.ts +1 -1
  45. package/dist/generated/extension-slots.d.ts +39 -0
  46. package/dist/generated/method-access-map.d.ts +1 -1
  47. package/dist/generated/method-device-selectors.d.ts +1 -1
  48. package/dist/generated/system-proxy.d.ts +4 -2
  49. package/dist/index.d.ts +8 -3
  50. package/dist/index.js +3125 -1792
  51. package/dist/index.mjs +3049 -1788
  52. package/dist/interfaces/addon.d.ts +41 -0
  53. package/dist/interfaces/event-bus.d.ts +11 -1
  54. package/dist/interfaces/pipeline-executor-capability.d.ts +15 -6
  55. package/dist/interfaces/platform.d.ts +2 -2
  56. package/dist/interfaces/stream-broker.d.ts +2 -2
  57. package/dist/node.d.ts +1 -0
  58. package/dist/node.js +73 -7
  59. package/dist/node.mjs +73 -8
  60. package/dist/notification/system-event-summary.d.ts +83 -0
  61. package/dist/notification/template-vars.d.ts +15 -0
  62. package/dist/pipeline/cluster-model-scope.d.ts +59 -3
  63. package/dist/{sleep-DU7mu4wb.mjs → sleep-BXv0ZcRa.mjs} +49 -33
  64. package/dist/{sleep-DtomDrRW.js → sleep-QxyLiUId.js} +54 -32
  65. package/dist/storage/atomic-write.d.ts +25 -0
  66. package/dist/types/clip-model.d.ts +64 -0
  67. package/dist/types/detection.d.ts +9 -0
  68. package/dist/types/models.d.ts +18 -19
  69. package/dist/types/pipeline-step.d.ts +9 -1
  70. package/dist/types/pipeline.d.ts +2 -1
  71. package/dist/utils/background-run-registry.d.ts +69 -0
  72. package/dist/utils/runtime-mapping.d.ts +9 -54
  73. package/package.json +1 -1
@@ -1,11 +1,9 @@
1
1
  import { z } from 'zod';
2
+ import { CLUSTER_MODEL_CHOICE_UNREADABLE_REASONS } from '../pipeline/cluster-model-scope.js';
2
3
  import { type InferProvider } from './capability-definition.js';
3
4
  declare const CameraPipelineConfigSchema: z.ZodObject<{
4
5
  engine: z.ZodOptional<z.ZodObject<{
5
- runtime: z.ZodEnum<{
6
- node: "node";
7
- python: "python";
8
- }>;
6
+ runtime: z.ZodLiteral<"python">;
9
7
  backend: z.ZodString;
10
8
  format: z.ZodEnum<{
11
9
  onnx: "onnx";
@@ -20,10 +18,7 @@ declare const CameraPipelineConfigSchema: z.ZodObject<{
20
18
  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
19
  audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22
20
  engine: z.ZodOptional<z.ZodObject<{
23
- runtime: z.ZodEnum<{
24
- node: "node";
25
- python: "python";
26
- }>;
21
+ runtime: z.ZodLiteral<"python">;
27
22
  backend: z.ZodString;
28
23
  format: z.ZodEnum<{
29
24
  onnx: "onnx";
@@ -46,10 +41,7 @@ declare const PipelineTemplateSchema: z.ZodObject<{
46
41
  description: z.ZodOptional<z.ZodString>;
47
42
  config: z.ZodObject<{
48
43
  engine: z.ZodOptional<z.ZodObject<{
49
- runtime: z.ZodEnum<{
50
- node: "node";
51
- python: "python";
52
- }>;
44
+ runtime: z.ZodLiteral<"python">;
53
45
  backend: z.ZodString;
54
46
  format: z.ZodEnum<{
55
47
  onnx: "onnx";
@@ -64,10 +56,7 @@ declare const PipelineTemplateSchema: z.ZodObject<{
64
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>>>>;
65
57
  audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
66
58
  engine: z.ZodOptional<z.ZodObject<{
67
- runtime: z.ZodEnum<{
68
- node: "node";
69
- python: "python";
70
- }>;
59
+ runtime: z.ZodLiteral<"python">;
71
60
  backend: z.ZodString;
72
61
  format: z.ZodEnum<{
73
62
  onnx: "onnx";
@@ -585,6 +574,31 @@ declare const NodeInferenceDeviceSchema: z.ZodObject<{
585
574
  "accelerator-preferred": "accelerator-preferred";
586
575
  }>>;
587
576
  }, z.core.$strip>;
577
+ export { CLUSTER_MODEL_CHOICE_UNREADABLE_REASONS };
578
+ /**
579
+ * The operator's model choice for one cluster-scoped step, answered by the
580
+ * addon that OWNS the `clusterModel:*` settings (D651). Three answers, never
581
+ * folded: a written choice, a key nobody wrote (the cluster runs the default
582
+ * BY ABSENCE), or no answer. A caller that rewrites an index acts only on the
583
+ * first two, read twice and agreeing.
584
+ */
585
+ export declare const ClusterModelChoiceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
586
+ kind: z.ZodLiteral<"stored">;
587
+ modelId: z.ZodString;
588
+ }, z.core.$strip>, z.ZodObject<{
589
+ kind: z.ZodLiteral<"absent">;
590
+ defaultModelId: z.ZodString;
591
+ }, z.core.$strip>, z.ZodObject<{
592
+ kind: z.ZodLiteral<"unreadable">;
593
+ reason: z.ZodEnum<{
594
+ "owner-not-ready": "owner-not-ready";
595
+ "store-read-failed": "store-read-failed";
596
+ "three-way-read-unavailable": "three-way-read-unavailable";
597
+ "invalid-stored": "invalid-stored";
598
+ "not-cluster-scoped": "not-cluster-scoped";
599
+ }>;
600
+ error: z.ZodOptional<z.ZodString>;
601
+ }, z.core.$strip>], "kind">;
588
602
  declare const NodeInferenceDevicesSchema: z.ZodObject<{
589
603
  nodeId: z.ZodString;
590
604
  reachable: z.ZodBoolean;
@@ -713,10 +727,18 @@ export declare const pipelineOrchestratorCapability: {
713
727
  * Trigger a full rebalance pass. Iterates over all assigned cameras,
714
728
  * recomputes the optimal agent for each one based on current load +
715
729
  * hardware affinity, and migrates cameras whose current agent is no
716
- * longer optimal. Pinned cameras are never migrated.
730
+ * longer optimal. Pinned cameras are never migrated. `skipped` names the
731
+ * cameras the pass wanted to move and could not, with why — a target node
732
+ * that has not answered its catalog / device health yet, or a device that
733
+ * cannot run the camera's root (D650).
717
734
  */
718
735
  readonly rebalance: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
719
736
  migrated: z.ZodNumber;
737
+ skipped: z.ZodDefault<z.ZodArray<z.ZodObject<{
738
+ deviceId: z.ZodNumber;
739
+ targetNodeId: z.ZodString;
740
+ reason: z.ZodString;
741
+ }, z.core.$strip>>>;
720
742
  }, z.core.$strip>, "mutation">;
721
743
  /** Get the full camera-to-agent assignment map. */
722
744
  readonly getPipelineAssignments: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
@@ -774,6 +796,31 @@ export declare const pipelineOrchestratorCapability: {
774
796
  score: z.ZodNumber;
775
797
  decodeHwaccel: z.ZodNullable<z.ZodString>;
776
798
  }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
799
+ /**
800
+ * The operator's STORED model choice for one cluster-scoped step (D651).
801
+ * Read three-way from this addon's own store, only once its boot has
802
+ * settled. Unlike `addonSettings.getGlobalSettings`, it never answers a
803
+ * default as though someone chose it.
804
+ */
805
+ readonly getClusterModelChoice: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
806
+ stepId: z.ZodString;
807
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
808
+ kind: z.ZodLiteral<"stored">;
809
+ modelId: z.ZodString;
810
+ }, z.core.$strip>, z.ZodObject<{
811
+ kind: z.ZodLiteral<"absent">;
812
+ defaultModelId: z.ZodString;
813
+ }, z.core.$strip>, z.ZodObject<{
814
+ kind: z.ZodLiteral<"unreadable">;
815
+ reason: z.ZodEnum<{
816
+ "owner-not-ready": "owner-not-ready";
817
+ "store-read-failed": "store-read-failed";
818
+ "three-way-read-unavailable": "three-way-read-unavailable";
819
+ "invalid-stored": "invalid-stored";
820
+ "not-cluster-scoped": "not-cluster-scoped";
821
+ }>;
822
+ error: z.ZodOptional<z.ZodString>;
823
+ }, z.core.$strip>], "kind">, import("./capability-definition.js").CapabilityMethodKind>;
777
824
  /** Aggregate global metrics across the whole detection cluster. */
778
825
  readonly getGlobalMetrics: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
779
826
  totalAgents: z.ZodNumber;
@@ -1184,10 +1231,7 @@ export declare const pipelineOrchestratorCapability: {
1184
1231
  agentNodeId: z.ZodOptional<z.ZodString>;
1185
1232
  }, z.core.$strip>, z.ZodObject<{
1186
1233
  engine: z.ZodOptional<z.ZodObject<{
1187
- runtime: z.ZodEnum<{
1188
- node: "node";
1189
- python: "python";
1190
- }>;
1234
+ runtime: z.ZodLiteral<"python">;
1191
1235
  backend: z.ZodString;
1192
1236
  format: z.ZodEnum<{
1193
1237
  onnx: "onnx";
@@ -1202,10 +1246,7 @@ export declare const pipelineOrchestratorCapability: {
1202
1246
  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
1247
  audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1204
1248
  engine: z.ZodOptional<z.ZodObject<{
1205
- runtime: z.ZodEnum<{
1206
- node: "node";
1207
- python: "python";
1208
- }>;
1249
+ runtime: z.ZodLiteral<"python">;
1209
1250
  backend: z.ZodString;
1210
1251
  format: z.ZodEnum<{
1211
1252
  onnx: "onnx";
@@ -1703,10 +1744,7 @@ export declare const pipelineOrchestratorCapability: {
1703
1744
  description: z.ZodOptional<z.ZodString>;
1704
1745
  config: z.ZodObject<{
1705
1746
  engine: z.ZodOptional<z.ZodObject<{
1706
- runtime: z.ZodEnum<{
1707
- node: "node";
1708
- python: "python";
1709
- }>;
1747
+ runtime: z.ZodLiteral<"python">;
1710
1748
  backend: z.ZodString;
1711
1749
  format: z.ZodEnum<{
1712
1750
  onnx: "onnx";
@@ -1721,10 +1759,7 @@ export declare const pipelineOrchestratorCapability: {
1721
1759
  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
1760
  audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1723
1761
  engine: z.ZodOptional<z.ZodObject<{
1724
- runtime: z.ZodEnum<{
1725
- node: "node";
1726
- python: "python";
1727
- }>;
1762
+ runtime: z.ZodLiteral<"python">;
1728
1763
  backend: z.ZodString;
1729
1764
  format: z.ZodEnum<{
1730
1765
  onnx: "onnx";
@@ -1750,10 +1785,7 @@ export declare const pipelineOrchestratorCapability: {
1750
1785
  description: z.ZodOptional<z.ZodString>;
1751
1786
  config: z.ZodObject<{
1752
1787
  engine: z.ZodOptional<z.ZodObject<{
1753
- runtime: z.ZodEnum<{
1754
- node: "node";
1755
- python: "python";
1756
- }>;
1788
+ runtime: z.ZodLiteral<"python">;
1757
1789
  backend: z.ZodString;
1758
1790
  format: z.ZodEnum<{
1759
1791
  onnx: "onnx";
@@ -1768,10 +1800,7 @@ export declare const pipelineOrchestratorCapability: {
1768
1800
  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
1801
  audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1770
1802
  engine: z.ZodOptional<z.ZodObject<{
1771
- runtime: z.ZodEnum<{
1772
- node: "node";
1773
- python: "python";
1774
- }>;
1803
+ runtime: z.ZodLiteral<"python">;
1775
1804
  backend: z.ZodString;
1776
1805
  format: z.ZodEnum<{
1777
1806
  onnx: "onnx";
@@ -1794,10 +1823,7 @@ export declare const pipelineOrchestratorCapability: {
1794
1823
  description: z.ZodOptional<z.ZodString>;
1795
1824
  config: z.ZodObject<{
1796
1825
  engine: z.ZodOptional<z.ZodObject<{
1797
- runtime: z.ZodEnum<{
1798
- node: "node";
1799
- python: "python";
1800
- }>;
1826
+ runtime: z.ZodLiteral<"python">;
1801
1827
  backend: z.ZodString;
1802
1828
  format: z.ZodEnum<{
1803
1829
  onnx: "onnx";
@@ -1812,10 +1838,7 @@ export declare const pipelineOrchestratorCapability: {
1812
1838
  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
1839
  audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1814
1840
  engine: z.ZodOptional<z.ZodObject<{
1815
- runtime: z.ZodEnum<{
1816
- node: "node";
1817
- python: "python";
1818
- }>;
1841
+ runtime: z.ZodLiteral<"python">;
1819
1842
  backend: z.ZodString;
1820
1843
  format: z.ZodEnum<{
1821
1844
  onnx: "onnx";
@@ -1842,10 +1865,7 @@ export declare const pipelineOrchestratorCapability: {
1842
1865
  description: z.ZodOptional<z.ZodString>;
1843
1866
  config: z.ZodOptional<z.ZodObject<{
1844
1867
  engine: z.ZodOptional<z.ZodObject<{
1845
- runtime: z.ZodEnum<{
1846
- node: "node";
1847
- python: "python";
1848
- }>;
1868
+ runtime: z.ZodLiteral<"python">;
1849
1869
  backend: z.ZodString;
1850
1870
  format: z.ZodEnum<{
1851
1871
  onnx: "onnx";
@@ -1860,10 +1880,7 @@ export declare const pipelineOrchestratorCapability: {
1860
1880
  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
1881
  audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1862
1882
  engine: z.ZodOptional<z.ZodObject<{
1863
- runtime: z.ZodEnum<{
1864
- node: "node";
1865
- python: "python";
1866
- }>;
1883
+ runtime: z.ZodLiteral<"python">;
1867
1884
  backend: z.ZodString;
1868
1885
  format: z.ZodEnum<{
1869
1886
  onnx: "onnx";
@@ -1886,10 +1903,7 @@ export declare const pipelineOrchestratorCapability: {
1886
1903
  description: z.ZodOptional<z.ZodString>;
1887
1904
  config: z.ZodObject<{
1888
1905
  engine: z.ZodOptional<z.ZodObject<{
1889
- runtime: z.ZodEnum<{
1890
- node: "node";
1891
- python: "python";
1892
- }>;
1906
+ runtime: z.ZodLiteral<"python">;
1893
1907
  backend: z.ZodString;
1894
1908
  format: z.ZodEnum<{
1895
1909
  onnx: "onnx";
@@ -1904,10 +1918,7 @@ export declare const pipelineOrchestratorCapability: {
1904
1918
  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
1919
  audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1906
1920
  engine: z.ZodOptional<z.ZodObject<{
1907
- runtime: z.ZodEnum<{
1908
- node: "node";
1909
- python: "python";
1910
- }>;
1921
+ runtime: z.ZodLiteral<"python">;
1911
1922
  backend: z.ZodString;
1912
1923
  format: z.ZodEnum<{
1913
1924
  onnx: "onnx";
@@ -1936,6 +1947,8 @@ export declare const pipelineOrchestratorCapability: {
1936
1947
  };
1937
1948
  };
1938
1949
  export type IPipelineOrchestratorProvider = InferProvider<typeof pipelineOrchestratorCapability>;
1950
+ export type ClusterModelChoice = z.infer<typeof ClusterModelChoiceSchema>;
1951
+ export type ClusterModelChoiceUnreadableReason = (typeof CLUSTER_MODEL_CHOICE_UNREADABLE_REASONS)[number];
1939
1952
  export type DiskReconcileJob = z.infer<typeof DiskReconcileJobSchema>;
1940
1953
  export type CameraStatus = z.infer<typeof CameraStatusSchema>;
1941
1954
  export type CameraStatusDegradation = z.infer<typeof CameraStatusDegradationSchema>;
@@ -291,6 +291,18 @@ export declare const RunnerFrameSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObje
291
291
  hubHostnameOverride: z.ZodOptional<z.ZodString>;
292
292
  }, z.core.$strip>], "kind">;
293
293
  export type RunnerFrameSource = z.infer<typeof RunnerFrameSourceSchema>;
294
+ /**
295
+ * What ONE step runs with on ONE roster device for THIS camera (D650): the
296
+ * device's per-(node,device) base with the camera's override for that device
297
+ * on top — the same `override ?? base` merge the orchestrator applies to the
298
+ * elected device (`applyDeviceProvisioning`). Absent `modelId` ⇒ the executor
299
+ * resolves the device format's default, exactly as on the elected device.
300
+ */
301
+ export declare const RunnerJumpStepProvisioningSchema: z.ZodObject<{
302
+ modelId: z.ZodOptional<z.ZodString>;
303
+ settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
304
+ }, z.core.$strip>;
305
+ export type RunnerJumpStepProvisioning = z.infer<typeof RunnerJumpStepProvisioningSchema>;
294
306
  /**
295
307
  * One ENABLED inference device on the runner's node, as the step-tree
296
308
  * device-jump resolver sees it (phase 1). The orchestrator populates this
@@ -304,6 +316,10 @@ export declare const RunnerInferenceDeviceSchema: z.ZodObject<{
304
316
  deviceKey: z.ZodString;
305
317
  weight: z.ZodDefault<z.ZodNumber>;
306
318
  maxSessions: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
319
+ steps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
320
+ modelId: z.ZodOptional<z.ZodString>;
321
+ settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
322
+ }, z.core.$strip>>>;
307
323
  }, z.core.$strip>;
308
324
  export type RunnerInferenceDevice = z.infer<typeof RunnerInferenceDeviceSchema>;
309
325
  /**
@@ -388,6 +404,10 @@ declare const RunnerCameraConfigSchema: z.ZodObject<{
388
404
  deviceKey: z.ZodString;
389
405
  weight: z.ZodDefault<z.ZodNumber>;
390
406
  maxSessions: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
407
+ steps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
408
+ modelId: z.ZodOptional<z.ZodString>;
409
+ settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
410
+ }, z.core.$strip>>>;
391
411
  }, z.core.$strip>>>>;
392
412
  }, z.core.$strip>;
393
413
  /**
@@ -672,6 +692,10 @@ export declare const pipelineRunnerCapability: {
672
692
  deviceKey: z.ZodString;
673
693
  weight: z.ZodDefault<z.ZodNumber>;
674
694
  maxSessions: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
695
+ steps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
696
+ modelId: z.ZodOptional<z.ZodString>;
697
+ settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
698
+ }, z.core.$strip>>>;
675
699
  }, z.core.$strip>>>>;
676
700
  }, z.core.$strip>, z.ZodObject<{
677
701
  success: z.ZodLiteral<true>;
@@ -903,11 +927,11 @@ export declare const pipelineRunnerCapability: {
903
927
  width: z.ZodNumber;
904
928
  height: z.ZodNumber;
905
929
  format: z.ZodEnum<{
906
- rgb: "rgb";
907
- gray: "gray";
908
930
  jpeg: "jpeg";
931
+ rgb: "rgb";
909
932
  bgr: "bgr";
910
933
  yuv420: "yuv420";
934
+ gray: "gray";
911
935
  }>;
912
936
  pts: z.ZodNumber;
913
937
  byteLength: z.ZodNumber;
@@ -973,11 +997,11 @@ export declare const pipelineRunnerCapability: {
973
997
  width: z.ZodNumber;
974
998
  height: z.ZodNumber;
975
999
  format: z.ZodEnum<{
976
- rgb: "rgb";
977
- gray: "gray";
978
1000
  jpeg: "jpeg";
1001
+ rgb: "rgb";
979
1002
  bgr: "bgr";
980
1003
  yuv420: "yuv420";
1004
+ gray: "gray";
981
1005
  }>;
982
1006
  pts: z.ZodNumber;
983
1007
  byteLength: z.ZodNumber;
@@ -1151,11 +1175,11 @@ export declare const pipelineRunnerCapability: {
1151
1175
  width: z.ZodNumber;
1152
1176
  height: z.ZodNumber;
1153
1177
  format: z.ZodEnum<{
1154
- rgb: "rgb";
1155
- gray: "gray";
1156
1178
  jpeg: "jpeg";
1179
+ rgb: "rgb";
1157
1180
  bgr: "bgr";
1158
1181
  yuv420: "yuv420";
1182
+ gray: "gray";
1159
1183
  }>;
1160
1184
  pts: z.ZodNumber;
1161
1185
  byteLength: z.ZodNumber;
@@ -163,10 +163,7 @@ export declare const platformProbeCapability: {
163
163
  }, z.core.$strip>>>;
164
164
  }, z.core.$strip>;
165
165
  scores: z.ZodReadonly<z.ZodArray<z.ZodObject<{
166
- runtime: z.ZodEnum<{
167
- node: "node";
168
- python: "python";
169
- }>;
166
+ runtime: z.ZodLiteral<"python">;
170
167
  backend: z.ZodString;
171
168
  format: z.ZodEnum<{
172
169
  onnx: "onnx";
@@ -179,10 +176,7 @@ export declare const platformProbeCapability: {
179
176
  available: z.ZodBoolean;
180
177
  }, z.core.$strip>>>;
181
178
  bestScore: z.ZodObject<{
182
- runtime: z.ZodEnum<{
183
- node: "node";
184
- python: "python";
185
- }>;
179
+ runtime: z.ZodLiteral<"python">;
186
180
  backend: z.ZodString;
187
181
  format: z.ZodEnum<{
188
182
  onnx: "onnx";
@@ -257,10 +251,7 @@ export declare const platformProbeCapability: {
257
251
  }, z.core.$strip>>>;
258
252
  }, z.core.$strip>, z.ZodObject<{
259
253
  modelId: z.ZodString;
260
- runtime: z.ZodEnum<{
261
- node: "node";
262
- python: "python";
263
- }>;
254
+ runtime: z.ZodLiteral<"python">;
264
255
  backend: z.ZodString;
265
256
  format: z.ZodEnum<{
266
257
  onnx: "onnx";
@@ -274,11 +265,11 @@ export declare const platformProbeCapability: {
274
265
  }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
275
266
  readonly resolveHwAccel: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
276
267
  prefer: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
268
+ none: "none";
277
269
  coreml: "coreml";
278
270
  openvino: "openvino";
279
271
  tensorrt: "tensorrt";
280
272
  cuda: "cuda";
281
- none: "none";
282
273
  videotoolbox: "videotoolbox";
283
274
  vaapi: "vaapi";
284
275
  qsv: "qsv";
@@ -107,8 +107,8 @@ export type ExportOptions = z.infer<typeof ExportOptionsSchema>;
107
107
  export declare const ExportStateSchema: z.ZodEnum<{
108
108
  queued: "queued";
109
109
  failed: "failed";
110
- ready: "ready";
111
110
  deleted: "deleted";
111
+ ready: "ready";
112
112
  rendering: "rendering";
113
113
  expired: "expired";
114
114
  }>;
@@ -285,8 +285,8 @@ export declare const ExportRecordSchema: z.ZodObject<{
285
285
  state: z.ZodEnum<{
286
286
  queued: "queued";
287
287
  failed: "failed";
288
- ready: "ready";
289
288
  deleted: "deleted";
289
+ ready: "ready";
290
290
  rendering: "rendering";
291
291
  expired: "expired";
292
292
  }>;
@@ -612,8 +612,8 @@ export declare const recordingExportCapability: {
612
612
  state: z.ZodEnum<{
613
613
  queued: "queued";
614
614
  failed: "failed";
615
- ready: "ready";
616
615
  deleted: "deleted";
616
+ ready: "ready";
617
617
  rendering: "rendering";
618
618
  expired: "expired";
619
619
  }>;
@@ -683,8 +683,8 @@ export declare const recordingExportCapability: {
683
683
  state: z.ZodEnum<{
684
684
  queued: "queued";
685
685
  failed: "failed";
686
- ready: "ready";
687
686
  deleted: "deleted";
687
+ ready: "ready";
688
688
  rendering: "rendering";
689
689
  expired: "expired";
690
690
  }>;
@@ -753,8 +753,8 @@ export declare const recordingExportCapability: {
753
753
  state: z.ZodEnum<{
754
754
  queued: "queued";
755
755
  failed: "failed";
756
- ready: "ready";
757
756
  deleted: "deleted";
757
+ ready: "ready";
758
758
  rendering: "rendering";
759
759
  expired: "expired";
760
760
  }>;
@@ -824,8 +824,8 @@ export declare const recordingExportCapability: {
824
824
  state: z.ZodEnum<{
825
825
  queued: "queued";
826
826
  failed: "failed";
827
- ready: "ready";
828
827
  deleted: "deleted";
828
+ ready: "ready";
829
829
  rendering: "rendering";
830
830
  expired: "expired";
831
831
  }>;
@@ -895,8 +895,8 @@ export declare const recordingExportCapability: {
895
895
  state: z.ZodEnum<{
896
896
  queued: "queued";
897
897
  failed: "failed";
898
- ready: "ready";
899
898
  deleted: "deleted";
899
+ ready: "ready";
900
900
  rendering: "rendering";
901
901
  expired: "expired";
902
902
  }>;
@@ -8,20 +8,20 @@ import { z } from 'zod';
8
8
  * `FrameFormat` type alias together.
9
9
  */
10
10
  export declare const FrameFormatSchema: z.ZodEnum<{
11
- rgb: "rgb";
12
- gray: "gray";
13
11
  jpeg: "jpeg";
12
+ rgb: "rgb";
14
13
  bgr: "bgr";
15
14
  yuv420: "yuv420";
15
+ gray: "gray";
16
16
  }>;
17
17
  export declare const FrameInputSchema: z.ZodObject<{
18
18
  data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
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
  width: z.ZodNumber;
27
27
  height: z.ZodNumber;
@@ -70,8 +70,8 @@ export declare const CameraStreamSchema: z.ZodObject<{
70
70
  export type CameraStream = z.infer<typeof CameraStreamSchema>;
71
71
  export declare const ProfileSlotStatusSchema: z.ZodEnum<{
72
72
  error: "error";
73
- unassigned: "unassigned";
74
73
  idle: "idle";
74
+ unassigned: "unassigned";
75
75
  connecting: "connecting";
76
76
  streaming: "streaming";
77
77
  }>;
@@ -87,8 +87,8 @@ export declare const ProfileSlotSchema: z.ZodObject<{
87
87
  sourceCamStreamId: z.ZodNullable<z.ZodString>;
88
88
  status: z.ZodEnum<{
89
89
  error: "error";
90
- unassigned: "unassigned";
91
90
  idle: "idle";
91
+ unassigned: "unassigned";
92
92
  connecting: "connecting";
93
93
  streaming: "streaming";
94
94
  }>;
@@ -186,11 +186,11 @@ export declare const DecodedFrameSchema: z.ZodObject<{
186
186
  width: z.ZodNumber;
187
187
  height: z.ZodNumber;
188
188
  format: z.ZodEnum<{
189
- rgb: "rgb";
190
- gray: "gray";
191
189
  jpeg: "jpeg";
190
+ rgb: "rgb";
192
191
  bgr: "bgr";
193
192
  yuv420: "yuv420";
193
+ gray: "gray";
194
194
  }>;
195
195
  timestamp: z.ZodNumber;
196
196
  }, z.core.$strip>;
@@ -212,11 +212,11 @@ export declare const FrameHandleSchema: z.ZodObject<{
212
212
  width: z.ZodNumber;
213
213
  height: z.ZodNumber;
214
214
  format: z.ZodEnum<{
215
- rgb: "rgb";
216
- gray: "gray";
217
215
  jpeg: "jpeg";
216
+ rgb: "rgb";
218
217
  bgr: "bgr";
219
218
  yuv420: "yuv420";
219
+ gray: "gray";
220
220
  }>;
221
221
  pts: z.ZodNumber;
222
222
  byteLength: z.ZodNumber;
@@ -232,9 +232,9 @@ export declare const FrameHandleSchema: z.ZodObject<{
232
232
  */
233
233
  export declare const FrameHandleFormatSchema: z.ZodEnum<{
234
234
  rgb: "rgb";
235
- gray: "gray";
236
235
  bgr: "bgr";
237
236
  yuv420: "yuv420";
237
+ gray: "gray";
238
238
  }>;
239
239
  export type FrameHandleFormat = z.infer<typeof FrameHandleFormatSchema>;
240
240
  /**
@@ -248,9 +248,9 @@ export declare const SubscribeFramesInputSchema: z.ZodObject<{
248
248
  brokerId: z.ZodString;
249
249
  format: z.ZodEnum<{
250
250
  rgb: "rgb";
251
- gray: "gray";
252
251
  bgr: "bgr";
253
252
  yuv420: "yuv420";
253
+ gray: "gray";
254
254
  }>;
255
255
  maxFps: z.ZodOptional<z.ZodNumber>;
256
256
  tag: z.ZodOptional<z.ZodString>;
@@ -308,8 +308,8 @@ declare const VideoCodecTargetSchema: z.ZodEnum<{
308
308
  }>;
309
309
  export type VideoCodecTarget = z.infer<typeof VideoCodecTargetSchema>;
310
310
  declare const AudioCodecTargetSchema: z.ZodEnum<{
311
- pcmu: "pcmu";
312
311
  none: "none";
312
+ pcmu: "pcmu";
313
313
  copy: "copy";
314
314
  opus: "opus";
315
315
  aac: "aac";
@@ -323,8 +323,8 @@ export declare const GetStreamWithCodecInputSchema: z.ZodObject<{
323
323
  copy: "copy";
324
324
  }>;
325
325
  audio: z.ZodOptional<z.ZodEnum<{
326
- pcmu: "pcmu";
327
326
  none: "none";
327
+ pcmu: "pcmu";
328
328
  copy: "copy";
329
329
  opus: "opus";
330
330
  aac: "aac";
@@ -510,9 +510,9 @@ export declare const EgressTranscodeRequestSchema: z.ZodObject<{
510
510
  nv12: "nv12";
511
511
  }>>;
512
512
  decodeHwAccel: z.ZodOptional<z.ZodEnum<{
513
+ none: "none";
513
514
  cuda: "cuda";
514
515
  auto: "auto";
515
- none: "none";
516
516
  videotoolbox: "videotoolbox";
517
517
  vaapi: "vaapi";
518
518
  qsv: "qsv";
@@ -890,8 +890,8 @@ export declare const streamBrokerCapability: {
890
890
  sourceCamStreamId: z.ZodNullable<z.ZodString>;
891
891
  status: z.ZodEnum<{
892
892
  error: "error";
893
- unassigned: "unassigned";
894
893
  idle: "idle";
894
+ unassigned: "unassigned";
895
895
  connecting: "connecting";
896
896
  streaming: "streaming";
897
897
  }>;
@@ -1075,8 +1075,8 @@ export declare const streamBrokerCapability: {
1075
1075
  copy: "copy";
1076
1076
  }>;
1077
1077
  audio: z.ZodOptional<z.ZodEnum<{
1078
- pcmu: "pcmu";
1079
1078
  none: "none";
1079
+ pcmu: "pcmu";
1080
1080
  copy: "copy";
1081
1081
  opus: "opus";
1082
1082
  aac: "aac";
@@ -1213,9 +1213,9 @@ export declare const streamBrokerCapability: {
1213
1213
  nv12: "nv12";
1214
1214
  }>>;
1215
1215
  decodeHwAccel: z.ZodOptional<z.ZodEnum<{
1216
+ none: "none";
1216
1217
  cuda: "cuda";
1217
1218
  auto: "auto";
1218
- none: "none";
1219
1219
  videotoolbox: "videotoolbox";
1220
1220
  vaapi: "vaapi";
1221
1221
  qsv: "qsv";
@@ -1316,9 +1316,9 @@ export declare const streamBrokerCapability: {
1316
1316
  brokerId: z.ZodString;
1317
1317
  format: z.ZodEnum<{
1318
1318
  rgb: "rgb";
1319
- gray: "gray";
1320
1319
  bgr: "bgr";
1321
1320
  yuv420: "yuv420";
1321
+ gray: "gray";
1322
1322
  }>;
1323
1323
  maxFps: z.ZodOptional<z.ZodNumber>;
1324
1324
  tag: z.ZodOptional<z.ZodString>;
@@ -1336,11 +1336,11 @@ export declare const streamBrokerCapability: {
1336
1336
  width: z.ZodNumber;
1337
1337
  height: z.ZodNumber;
1338
1338
  format: z.ZodEnum<{
1339
- rgb: "rgb";
1340
- gray: "gray";
1341
1339
  jpeg: "jpeg";
1340
+ rgb: "rgb";
1342
1341
  bgr: "bgr";
1343
1342
  yuv420: "yuv420";
1343
+ gray: "gray";
1344
1344
  }>;
1345
1345
  pts: z.ZodNumber;
1346
1346
  byteLength: z.ZodNumber;