@camstack/types 1.2.109 → 1.2.111
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.
- package/dist/addon.js +1 -1
- package/dist/addon.mjs +1 -1
- package/dist/capabilities/addons.cap.d.ts +9 -9
- package/dist/capabilities/broker.cap.d.ts +4 -4
- package/dist/capabilities/camera-streams.cap.d.ts +5 -5
- package/dist/capabilities/climate-control.cap.d.ts +8 -8
- package/dist/capabilities/core-blocks.cap.d.ts +16 -16
- package/dist/capabilities/day-night.cap.d.ts +8 -8
- package/dist/capabilities/decoder.cap.d.ts +13 -13
- package/dist/capabilities/device-manager.cap.d.ts +5 -5
- package/dist/capabilities/face-gallery.cap.d.ts +1 -1
- package/dist/capabilities/image-settings.cap.d.ts +16 -16
- package/dist/capabilities/llm-runtime.cap.d.ts +3 -3
- package/dist/capabilities/llm.cap.d.ts +4 -4
- package/dist/capabilities/media-player.cap.d.ts +9 -9
- package/dist/capabilities/metrics-provider.cap.d.ts +2 -2
- package/dist/capabilities/model-convert.cap.d.ts +3 -3
- package/dist/capabilities/motion-detection.cap.d.ts +4 -4
- package/dist/capabilities/notification-output.cap.d.ts +9 -9
- package/dist/capabilities/notification-rules.cap.d.ts +10 -10
- package/dist/capabilities/oauth-integration.cap.d.ts +2 -2
- package/dist/capabilities/osd-manager.cap.d.ts +2 -2
- package/dist/capabilities/pipeline-analytics.cap.d.ts +191 -54
- package/dist/capabilities/pipeline-executor.cap.d.ts +117 -19
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +21 -21
- package/dist/capabilities/pipeline-runner.cap.d.ts +6 -6
- package/dist/capabilities/platform-probe.cap.d.ts +2 -2
- package/dist/capabilities/recording-export.cap.d.ts +7 -7
- package/dist/capabilities/recording.cap.d.ts +7 -7
- package/dist/capabilities/schemas/detection-shared.d.ts +4 -4
- package/dist/capabilities/schemas/orchestrator-metrics.d.ts +2 -2
- package/dist/capabilities/schemas/streaming-shared.d.ts +11 -11
- package/dist/capabilities/sso-bridge.cap.d.ts +3 -3
- package/dist/capabilities/storage-migration.cap.d.ts +4 -4
- package/dist/capabilities/storage.cap.d.ts +2 -2
- package/dist/capabilities/stream-broker.cap.d.ts +50 -50
- package/dist/capabilities/user-management.cap.d.ts +20 -20
- package/dist/capabilities/vacuum-control.cap.d.ts +26 -26
- package/dist/capabilities/webrtc-session.cap.d.ts +4 -4
- package/dist/generated/addon-api.d.ts +50 -8
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/index.js +2140 -1951
- package/dist/index.mjs +2140 -1951
- package/dist/interfaces/adoption-job.d.ts +2 -2
- package/dist/interfaces/relocate.d.ts +10 -10
- package/dist/interfaces/stream-broker.d.ts +2 -2
- package/dist/lifecycle/job.d.ts +8 -8
- package/dist/{sleep-BJTBu5cu.js → sleep-BCRrMlni.js} +4 -0
- package/dist/{sleep-Dj1DG9Od.mjs → sleep-DJlqY62B.mjs} +4 -0
- package/dist/types/frame-view.d.ts +10 -24
- package/dist/types/labels.d.ts +30 -1
- package/dist/types/models.d.ts +4 -4
- package/package.json +1 -1
|
@@ -2,7 +2,6 @@ import { z } from 'zod';
|
|
|
2
2
|
import type { ConfigField, ConfigUISchema } from '../interfaces/config-ui.js';
|
|
3
3
|
import type { InferenceCapabilities, ModelAvailability } from '../interfaces/inference-capabilities.js';
|
|
4
4
|
import type { AudioResult, FrameResult } from '../types/detection.js';
|
|
5
|
-
import type { FrameRef, FrameViewSpec } from '../types/frame-view.js';
|
|
6
5
|
import type { PipelineConfig } from '../types/pipeline.js';
|
|
7
6
|
import { type InferProvider } from './capability-definition.js';
|
|
8
7
|
/**
|
|
@@ -18,11 +17,11 @@ export declare const NativeCropRefSchema: z.ZodObject<{
|
|
|
18
17
|
width: z.ZodNumber;
|
|
19
18
|
height: z.ZodNumber;
|
|
20
19
|
format: z.ZodEnum<{
|
|
21
|
-
rgb: "rgb";
|
|
22
|
-
gray: "gray";
|
|
23
20
|
jpeg: "jpeg";
|
|
21
|
+
rgb: "rgb";
|
|
24
22
|
bgr: "bgr";
|
|
25
23
|
yuv420: "yuv420";
|
|
24
|
+
gray: "gray";
|
|
26
25
|
}>;
|
|
27
26
|
pts: z.ZodNumber;
|
|
28
27
|
byteLength: z.ZodNumber;
|
|
@@ -37,8 +36,46 @@ export declare const NativeCropRefSchema: z.ZodObject<{
|
|
|
37
36
|
}, z.core.$strip>;
|
|
38
37
|
}, z.core.$strip>;
|
|
39
38
|
export type NativeCropRef = z.infer<typeof NativeCropRefSchema>;
|
|
40
|
-
export declare const FrameViewSpecSchema: z.
|
|
41
|
-
|
|
39
|
+
export declare const FrameViewSpecSchema: z.ZodObject<{
|
|
40
|
+
crop: z.ZodOptional<z.ZodObject<{
|
|
41
|
+
left: z.ZodNumber;
|
|
42
|
+
top: z.ZodNumber;
|
|
43
|
+
width: z.ZodNumber;
|
|
44
|
+
height: z.ZodNumber;
|
|
45
|
+
}, z.core.$strip>>;
|
|
46
|
+
content: z.ZodObject<{
|
|
47
|
+
width: z.ZodNumber;
|
|
48
|
+
height: z.ZodNumber;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
fit: z.ZodEnum<{
|
|
51
|
+
stretch: "stretch";
|
|
52
|
+
contain: "contain";
|
|
53
|
+
}>;
|
|
54
|
+
format: z.ZodEnum<{
|
|
55
|
+
jpeg: "jpeg";
|
|
56
|
+
rgb: "rgb";
|
|
57
|
+
gray: "gray";
|
|
58
|
+
}>;
|
|
59
|
+
}, z.core.$strip>;
|
|
60
|
+
export type FrameViewSpec = z.infer<typeof FrameViewSpecSchema>;
|
|
61
|
+
/**
|
|
62
|
+
* Process-local frame identity. It is serializable so it can ride an in-process
|
|
63
|
+
* capability call, but `registryId` deliberately prevents resolution in any
|
|
64
|
+
* other process or execution group.
|
|
65
|
+
*/
|
|
66
|
+
export declare const FrameRefSchema: z.ZodObject<{
|
|
67
|
+
registryId: z.ZodString;
|
|
68
|
+
id: z.ZodString;
|
|
69
|
+
width: z.ZodNumber;
|
|
70
|
+
height: z.ZodNumber;
|
|
71
|
+
format: z.ZodEnum<{
|
|
72
|
+
rgb: "rgb";
|
|
73
|
+
gray: "gray";
|
|
74
|
+
}>;
|
|
75
|
+
timestamp: z.ZodNumber;
|
|
76
|
+
capturedAt: z.ZodOptional<z.ZodNumber>;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
export type FrameRef = z.infer<typeof FrameRefSchema>;
|
|
42
79
|
declare const PipelineEngineChoiceSchema: z.ZodObject<{
|
|
43
80
|
runtime: z.ZodEnum<{
|
|
44
81
|
node: "node";
|
|
@@ -408,11 +445,11 @@ declare const EngineProvisioningSchema: z.ZodObject<{
|
|
|
408
445
|
}>>;
|
|
409
446
|
device: z.ZodNullable<z.ZodString>;
|
|
410
447
|
state: z.ZodEnum<{
|
|
411
|
-
ready: "ready";
|
|
412
|
-
failed: "failed";
|
|
413
448
|
idle: "idle";
|
|
414
449
|
installing: "installing";
|
|
415
450
|
verifying: "verifying";
|
|
451
|
+
ready: "ready";
|
|
452
|
+
failed: "failed";
|
|
416
453
|
}>;
|
|
417
454
|
progress: z.ZodOptional<z.ZodNumber>;
|
|
418
455
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -557,11 +594,11 @@ export declare const pipelineExecutorCapability: {
|
|
|
557
594
|
}>>;
|
|
558
595
|
device: z.ZodNullable<z.ZodString>;
|
|
559
596
|
state: z.ZodEnum<{
|
|
560
|
-
ready: "ready";
|
|
561
|
-
failed: "failed";
|
|
562
597
|
idle: "idle";
|
|
563
598
|
installing: "installing";
|
|
564
599
|
verifying: "verifying";
|
|
600
|
+
ready: "ready";
|
|
601
|
+
failed: "failed";
|
|
565
602
|
}>;
|
|
566
603
|
progress: z.ZodOptional<z.ZodNumber>;
|
|
567
604
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -601,6 +638,56 @@ export declare const pipelineExecutorCapability: {
|
|
|
601
638
|
success: z.ZodLiteral<true>;
|
|
602
639
|
clearedDevices: z.ZodNumber;
|
|
603
640
|
}, z.core.$strip>, "mutation">;
|
|
641
|
+
/**
|
|
642
|
+
* Which of THIS node's inference devices the executor currently refuses,
|
|
643
|
+
* and why. `nodeId` is the ROUTING key (stripped by the generated router).
|
|
644
|
+
*
|
|
645
|
+
* The channel that did not exist. Pool health was known only inside the
|
|
646
|
+
* detection addon and was an input to no routing decision anywhere: the
|
|
647
|
+
* per-dispatch capability gate is keyed on model FORMAT and so can never
|
|
648
|
+
* separate `openvino:gpu` from `openvino:npu`, and the orchestrator's live
|
|
649
|
+
* eligibility probe (`platformProbe.getCapabilities`) answers about
|
|
650
|
+
* HARDWARE — which was present throughout. So when the hub's `openvino:gpu`
|
|
651
|
+
* Python worker was SIGABRT'd by the Intel GPU plugin on 2026-08-25, the
|
|
652
|
+
* balancer went on handing that dead pool cameras by rotation for 31 hours:
|
|
653
|
+
* ~370 000 `PoolWorker[w0]: not initialized` lines, every frame lost.
|
|
654
|
+
*
|
|
655
|
+
* Read semantics the caller depends on, and which the provider guarantees:
|
|
656
|
+
* this is a synchronous read of in-memory state. It never probes hardware,
|
|
657
|
+
* never spawns a pool and never throws — an EMPTY `unhealthy` means "asked,
|
|
658
|
+
* nothing is refused", which is what re-admits a device. A read that FAILS
|
|
659
|
+
* (node offline, version skew) must therefore be distinguishable from an
|
|
660
|
+
* empty answer, and it is: it rejects.
|
|
661
|
+
*/
|
|
662
|
+
readonly getInferenceDeviceHealth: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
663
|
+
nodeId: z.ZodString;
|
|
664
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
665
|
+
unhealthy: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
666
|
+
deviceKey: z.ZodString;
|
|
667
|
+
state: z.ZodEnum<{
|
|
668
|
+
failed: "failed";
|
|
669
|
+
backoff: "backoff";
|
|
670
|
+
}>;
|
|
671
|
+
since: z.ZodNumber;
|
|
672
|
+
deaths: z.ZodNumber;
|
|
673
|
+
lastError: z.ZodString;
|
|
674
|
+
}, z.core.$strip>>>;
|
|
675
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
676
|
+
/**
|
|
677
|
+
* Re-arm a terminally `failed` inference device on `nodeId`: forget its
|
|
678
|
+
* restart budget so the next dispatch builds a fresh pool.
|
|
679
|
+
*
|
|
680
|
+
* The terminal state is deliberate (the abort it bounds is deterministic —
|
|
681
|
+
* an automatic probation would just respawn Python forever, more slowly),
|
|
682
|
+
* and a terminal state an operator cannot leave is a silent fault. This is
|
|
683
|
+
* the way out. `rearmed:false` means there was nothing to forget.
|
|
684
|
+
*/
|
|
685
|
+
readonly rearmInferenceDevice: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
686
|
+
nodeId: z.ZodString;
|
|
687
|
+
deviceKey: z.ZodString;
|
|
688
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
689
|
+
rearmed: z.ZodBoolean;
|
|
690
|
+
}, z.core.$strip>, "mutation">;
|
|
604
691
|
readonly getSchema: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
605
692
|
availableEngines: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
606
693
|
engine: z.ZodObject<{
|
|
@@ -927,17 +1014,28 @@ export declare const pipelineExecutorCapability: {
|
|
|
927
1014
|
frame: z.ZodOptional<z.ZodObject<{
|
|
928
1015
|
data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
|
|
929
1016
|
format: z.ZodEnum<{
|
|
930
|
-
rgb: "rgb";
|
|
931
|
-
gray: "gray";
|
|
932
1017
|
jpeg: "jpeg";
|
|
1018
|
+
rgb: "rgb";
|
|
933
1019
|
bgr: "bgr";
|
|
934
1020
|
yuv420: "yuv420";
|
|
1021
|
+
gray: "gray";
|
|
935
1022
|
}>;
|
|
936
1023
|
width: z.ZodNumber;
|
|
937
1024
|
height: z.ZodNumber;
|
|
938
1025
|
timestamp: z.ZodNumber;
|
|
939
1026
|
}, z.core.$strip>>;
|
|
940
|
-
frameRef: z.ZodOptional<z.
|
|
1027
|
+
frameRef: z.ZodOptional<z.ZodObject<{
|
|
1028
|
+
registryId: z.ZodString;
|
|
1029
|
+
id: z.ZodString;
|
|
1030
|
+
width: z.ZodNumber;
|
|
1031
|
+
height: z.ZodNumber;
|
|
1032
|
+
format: z.ZodEnum<{
|
|
1033
|
+
rgb: "rgb";
|
|
1034
|
+
gray: "gray";
|
|
1035
|
+
}>;
|
|
1036
|
+
timestamp: z.ZodNumber;
|
|
1037
|
+
capturedAt: z.ZodOptional<z.ZodNumber>;
|
|
1038
|
+
}, z.core.$strip>>;
|
|
941
1039
|
frameHandle: z.ZodOptional<z.ZodObject<{
|
|
942
1040
|
shmId: z.ZodString;
|
|
943
1041
|
slot: z.ZodNumber;
|
|
@@ -945,11 +1043,11 @@ export declare const pipelineExecutorCapability: {
|
|
|
945
1043
|
width: z.ZodNumber;
|
|
946
1044
|
height: z.ZodNumber;
|
|
947
1045
|
format: z.ZodEnum<{
|
|
948
|
-
rgb: "rgb";
|
|
949
|
-
gray: "gray";
|
|
950
1046
|
jpeg: "jpeg";
|
|
1047
|
+
rgb: "rgb";
|
|
951
1048
|
bgr: "bgr";
|
|
952
1049
|
yuv420: "yuv420";
|
|
1050
|
+
gray: "gray";
|
|
953
1051
|
}>;
|
|
954
1052
|
pts: z.ZodNumber;
|
|
955
1053
|
byteLength: z.ZodNumber;
|
|
@@ -974,11 +1072,11 @@ export declare const pipelineExecutorCapability: {
|
|
|
974
1072
|
width: z.ZodNumber;
|
|
975
1073
|
height: z.ZodNumber;
|
|
976
1074
|
format: z.ZodEnum<{
|
|
977
|
-
rgb: "rgb";
|
|
978
|
-
gray: "gray";
|
|
979
1075
|
jpeg: "jpeg";
|
|
1076
|
+
rgb: "rgb";
|
|
980
1077
|
bgr: "bgr";
|
|
981
1078
|
yuv420: "yuv420";
|
|
1079
|
+
gray: "gray";
|
|
982
1080
|
}>;
|
|
983
1081
|
pts: z.ZodNumber;
|
|
984
1082
|
byteLength: z.ZodNumber;
|
|
@@ -1025,11 +1123,11 @@ export declare const pipelineExecutorCapability: {
|
|
|
1025
1123
|
frames: z.ZodArray<z.ZodObject<{
|
|
1026
1124
|
data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
|
|
1027
1125
|
format: z.ZodEnum<{
|
|
1028
|
-
rgb: "rgb";
|
|
1029
|
-
gray: "gray";
|
|
1030
1126
|
jpeg: "jpeg";
|
|
1127
|
+
rgb: "rgb";
|
|
1031
1128
|
bgr: "bgr";
|
|
1032
1129
|
yuv420: "yuv420";
|
|
1130
|
+
gray: "gray";
|
|
1033
1131
|
}>;
|
|
1034
1132
|
width: z.ZodNumber;
|
|
1035
1133
|
height: z.ZodNumber;
|
|
@@ -1054,8 +1152,8 @@ export declare const pipelineExecutorCapability: {
|
|
|
1054
1152
|
height: z.ZodNumber;
|
|
1055
1153
|
format: z.ZodEnum<{
|
|
1056
1154
|
rgb: "rgb";
|
|
1057
|
-
gray: "gray";
|
|
1058
1155
|
bgr: "bgr";
|
|
1156
|
+
gray: "gray";
|
|
1059
1157
|
}>;
|
|
1060
1158
|
}, z.core.$strip>, z.ZodObject<{
|
|
1061
1159
|
frameId: z.ZodNumber;
|
|
@@ -265,27 +265,27 @@ declare const CameraMotionStatusSchema: z.ZodObject<{
|
|
|
265
265
|
}, z.core.$strip>;
|
|
266
266
|
/** Detection engine provisioning state (mirrors pipeline-executor provisioning states). */
|
|
267
267
|
declare const CameraDetectionProvisioningStateSchema: z.ZodEnum<{
|
|
268
|
-
ready: "ready";
|
|
269
|
-
failed: "failed";
|
|
270
268
|
idle: "idle";
|
|
271
269
|
installing: "installing";
|
|
272
270
|
verifying: "verifying";
|
|
271
|
+
ready: "ready";
|
|
272
|
+
failed: "failed";
|
|
273
273
|
}>;
|
|
274
274
|
/** Detection provisioning sub-block. */
|
|
275
275
|
declare const CameraDetectionProvisioningSchema: z.ZodObject<{
|
|
276
276
|
state: z.ZodEnum<{
|
|
277
|
-
ready: "ready";
|
|
278
|
-
failed: "failed";
|
|
279
277
|
idle: "idle";
|
|
280
278
|
installing: "installing";
|
|
281
279
|
verifying: "verifying";
|
|
280
|
+
ready: "ready";
|
|
281
|
+
failed: "failed";
|
|
282
282
|
}>;
|
|
283
283
|
error: z.ZodOptional<z.ZodString>;
|
|
284
284
|
}, z.core.$strip>;
|
|
285
285
|
/** Detection phase — derived from the runner's engine phase. */
|
|
286
286
|
declare const CameraDetectionPhaseSchema: z.ZodEnum<{
|
|
287
|
-
active: "active";
|
|
288
287
|
idle: "idle";
|
|
288
|
+
active: "active";
|
|
289
289
|
watching: "watching";
|
|
290
290
|
}>;
|
|
291
291
|
/** Detection block — null when no detection node is assigned or reachable. */
|
|
@@ -296,8 +296,8 @@ declare const CameraDetectionStatusSchema: z.ZodObject<{
|
|
|
296
296
|
device: z.ZodString;
|
|
297
297
|
}, z.core.$strip>;
|
|
298
298
|
phase: z.ZodEnum<{
|
|
299
|
-
active: "active";
|
|
300
299
|
idle: "idle";
|
|
300
|
+
active: "active";
|
|
301
301
|
watching: "watching";
|
|
302
302
|
}>;
|
|
303
303
|
configuredFps: z.ZodNumber;
|
|
@@ -306,11 +306,11 @@ declare const CameraDetectionStatusSchema: z.ZodObject<{
|
|
|
306
306
|
avgInferenceMs: z.ZodNumber;
|
|
307
307
|
provisioning: z.ZodObject<{
|
|
308
308
|
state: z.ZodEnum<{
|
|
309
|
-
ready: "ready";
|
|
310
|
-
failed: "failed";
|
|
311
309
|
idle: "idle";
|
|
312
310
|
installing: "installing";
|
|
313
311
|
verifying: "verifying";
|
|
312
|
+
ready: "ready";
|
|
313
|
+
failed: "failed";
|
|
314
314
|
}>;
|
|
315
315
|
error: z.ZodOptional<z.ZodString>;
|
|
316
316
|
}, z.core.$strip>;
|
|
@@ -394,9 +394,9 @@ declare const CameraStatusDegradationSchema: z.ZodObject<{
|
|
|
394
394
|
declare const DiskReconcileJobSchema: z.ZodObject<{
|
|
395
395
|
state: z.ZodEnum<{
|
|
396
396
|
error: "error";
|
|
397
|
+
idle: "idle";
|
|
397
398
|
running: "running";
|
|
398
399
|
done: "done";
|
|
399
|
-
idle: "idle";
|
|
400
400
|
}>;
|
|
401
401
|
total: z.ZodNumber;
|
|
402
402
|
completed: z.ZodNumber;
|
|
@@ -473,8 +473,8 @@ declare const CameraStatusSchema: z.ZodObject<{
|
|
|
473
473
|
device: z.ZodString;
|
|
474
474
|
}, z.core.$strip>;
|
|
475
475
|
phase: z.ZodEnum<{
|
|
476
|
-
active: "active";
|
|
477
476
|
idle: "idle";
|
|
477
|
+
active: "active";
|
|
478
478
|
watching: "watching";
|
|
479
479
|
}>;
|
|
480
480
|
configuredFps: z.ZodNumber;
|
|
@@ -483,11 +483,11 @@ declare const CameraStatusSchema: z.ZodObject<{
|
|
|
483
483
|
avgInferenceMs: z.ZodNumber;
|
|
484
484
|
provisioning: z.ZodObject<{
|
|
485
485
|
state: z.ZodEnum<{
|
|
486
|
-
ready: "ready";
|
|
487
|
-
failed: "failed";
|
|
488
486
|
idle: "idle";
|
|
489
487
|
installing: "installing";
|
|
490
488
|
verifying: "verifying";
|
|
489
|
+
ready: "ready";
|
|
490
|
+
failed: "failed";
|
|
491
491
|
}>;
|
|
492
492
|
error: z.ZodOptional<z.ZodString>;
|
|
493
493
|
}, z.core.$strip>;
|
|
@@ -801,8 +801,8 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
801
801
|
avgInferenceTimeMs: z.ZodNumber;
|
|
802
802
|
droppedFrames: z.ZodNumber;
|
|
803
803
|
phase: z.ZodEnum<{
|
|
804
|
-
active: "active";
|
|
805
804
|
idle: "idle";
|
|
805
|
+
active: "active";
|
|
806
806
|
watching: "watching";
|
|
807
807
|
}>;
|
|
808
808
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -1423,8 +1423,8 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1423
1423
|
device: z.ZodString;
|
|
1424
1424
|
}, z.core.$strip>;
|
|
1425
1425
|
phase: z.ZodEnum<{
|
|
1426
|
-
active: "active";
|
|
1427
1426
|
idle: "idle";
|
|
1427
|
+
active: "active";
|
|
1428
1428
|
watching: "watching";
|
|
1429
1429
|
}>;
|
|
1430
1430
|
configuredFps: z.ZodNumber;
|
|
@@ -1433,11 +1433,11 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1433
1433
|
avgInferenceMs: z.ZodNumber;
|
|
1434
1434
|
provisioning: z.ZodObject<{
|
|
1435
1435
|
state: z.ZodEnum<{
|
|
1436
|
-
ready: "ready";
|
|
1437
|
-
failed: "failed";
|
|
1438
1436
|
idle: "idle";
|
|
1439
1437
|
installing: "installing";
|
|
1440
1438
|
verifying: "verifying";
|
|
1439
|
+
ready: "ready";
|
|
1440
|
+
failed: "failed";
|
|
1441
1441
|
}>;
|
|
1442
1442
|
error: z.ZodOptional<z.ZodString>;
|
|
1443
1443
|
}, z.core.$strip>;
|
|
@@ -1558,8 +1558,8 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1558
1558
|
device: z.ZodString;
|
|
1559
1559
|
}, z.core.$strip>;
|
|
1560
1560
|
phase: z.ZodEnum<{
|
|
1561
|
-
active: "active";
|
|
1562
1561
|
idle: "idle";
|
|
1562
|
+
active: "active";
|
|
1563
1563
|
watching: "watching";
|
|
1564
1564
|
}>;
|
|
1565
1565
|
configuredFps: z.ZodNumber;
|
|
@@ -1568,11 +1568,11 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1568
1568
|
avgInferenceMs: z.ZodNumber;
|
|
1569
1569
|
provisioning: z.ZodObject<{
|
|
1570
1570
|
state: z.ZodEnum<{
|
|
1571
|
-
ready: "ready";
|
|
1572
|
-
failed: "failed";
|
|
1573
1571
|
idle: "idle";
|
|
1574
1572
|
installing: "installing";
|
|
1575
1573
|
verifying: "verifying";
|
|
1574
|
+
ready: "ready";
|
|
1575
|
+
failed: "failed";
|
|
1576
1576
|
}>;
|
|
1577
1577
|
error: z.ZodOptional<z.ZodString>;
|
|
1578
1578
|
}, z.core.$strip>;
|
|
@@ -1626,9 +1626,9 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1626
1626
|
readonly reconcileFromDisk: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
1627
1627
|
state: z.ZodEnum<{
|
|
1628
1628
|
error: "error";
|
|
1629
|
+
idle: "idle";
|
|
1629
1630
|
running: "running";
|
|
1630
1631
|
done: "done";
|
|
1631
|
-
idle: "idle";
|
|
1632
1632
|
}>;
|
|
1633
1633
|
total: z.ZodNumber;
|
|
1634
1634
|
completed: z.ZodNumber;
|
|
@@ -1645,9 +1645,9 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1645
1645
|
readonly getReconcileFromDiskStatus: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
1646
1646
|
state: z.ZodEnum<{
|
|
1647
1647
|
error: "error";
|
|
1648
|
+
idle: "idle";
|
|
1648
1649
|
running: "running";
|
|
1649
1650
|
done: "done";
|
|
1650
|
-
idle: "idle";
|
|
1651
1651
|
}>;
|
|
1652
1652
|
total: z.ZodNumber;
|
|
1653
1653
|
completed: z.ZodNumber;
|
|
@@ -653,8 +653,8 @@ export declare const pipelineRunnerCapability: {
|
|
|
653
653
|
avgInferenceTimeMs: z.ZodNumber;
|
|
654
654
|
droppedFrames: z.ZodNumber;
|
|
655
655
|
phase: z.ZodEnum<{
|
|
656
|
-
active: "active";
|
|
657
656
|
idle: "idle";
|
|
657
|
+
active: "active";
|
|
658
658
|
watching: "watching";
|
|
659
659
|
}>;
|
|
660
660
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -671,8 +671,8 @@ export declare const pipelineRunnerCapability: {
|
|
|
671
671
|
avgInferenceTimeMs: z.ZodNumber;
|
|
672
672
|
droppedFrames: z.ZodNumber;
|
|
673
673
|
phase: z.ZodEnum<{
|
|
674
|
-
active: "active";
|
|
675
674
|
idle: "idle";
|
|
675
|
+
active: "active";
|
|
676
676
|
watching: "watching";
|
|
677
677
|
}>;
|
|
678
678
|
deviceId: z.ZodNumber;
|
|
@@ -702,11 +702,11 @@ export declare const pipelineRunnerCapability: {
|
|
|
702
702
|
width: z.ZodNumber;
|
|
703
703
|
height: z.ZodNumber;
|
|
704
704
|
format: z.ZodEnum<{
|
|
705
|
-
rgb: "rgb";
|
|
706
|
-
gray: "gray";
|
|
707
705
|
jpeg: "jpeg";
|
|
706
|
+
rgb: "rgb";
|
|
708
707
|
bgr: "bgr";
|
|
709
708
|
yuv420: "yuv420";
|
|
709
|
+
gray: "gray";
|
|
710
710
|
}>;
|
|
711
711
|
pts: z.ZodNumber;
|
|
712
712
|
byteLength: z.ZodNumber;
|
|
@@ -770,11 +770,11 @@ export declare const pipelineRunnerCapability: {
|
|
|
770
770
|
width: z.ZodNumber;
|
|
771
771
|
height: z.ZodNumber;
|
|
772
772
|
format: z.ZodEnum<{
|
|
773
|
-
rgb: "rgb";
|
|
774
|
-
gray: "gray";
|
|
775
773
|
jpeg: "jpeg";
|
|
774
|
+
rgb: "rgb";
|
|
776
775
|
bgr: "bgr";
|
|
777
776
|
yuv420: "yuv420";
|
|
777
|
+
gray: "gray";
|
|
778
778
|
}>;
|
|
779
779
|
pts: z.ZodNumber;
|
|
780
780
|
byteLength: z.ZodNumber;
|
|
@@ -276,12 +276,12 @@ export declare const platformProbeCapability: {
|
|
|
276
276
|
prefer: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
277
277
|
coreml: "coreml";
|
|
278
278
|
openvino: "openvino";
|
|
279
|
+
tensorrt: "tensorrt";
|
|
280
|
+
cuda: "cuda";
|
|
279
281
|
none: "none";
|
|
280
282
|
videotoolbox: "videotoolbox";
|
|
281
283
|
vaapi: "vaapi";
|
|
282
284
|
qsv: "qsv";
|
|
283
|
-
cuda: "cuda";
|
|
284
|
-
tensorrt: "tensorrt";
|
|
285
285
|
nvdec: "nvdec";
|
|
286
286
|
d3d11va: "d3d11va";
|
|
287
287
|
dxva2: "dxva2";
|
|
@@ -106,8 +106,8 @@ export declare const ExportOptionsSchema: z.ZodObject<{
|
|
|
106
106
|
export type ExportOptions = z.infer<typeof ExportOptionsSchema>;
|
|
107
107
|
export declare const ExportStateSchema: z.ZodEnum<{
|
|
108
108
|
ready: "ready";
|
|
109
|
-
queued: "queued";
|
|
110
109
|
failed: "failed";
|
|
110
|
+
queued: "queued";
|
|
111
111
|
deleted: "deleted";
|
|
112
112
|
rendering: "rendering";
|
|
113
113
|
expired: "expired";
|
|
@@ -141,8 +141,8 @@ export declare const ExportRecordSchema: z.ZodObject<{
|
|
|
141
141
|
}, z.core.$strip>;
|
|
142
142
|
state: z.ZodEnum<{
|
|
143
143
|
ready: "ready";
|
|
144
|
-
queued: "queued";
|
|
145
144
|
failed: "failed";
|
|
145
|
+
queued: "queued";
|
|
146
146
|
deleted: "deleted";
|
|
147
147
|
rendering: "rendering";
|
|
148
148
|
expired: "expired";
|
|
@@ -298,8 +298,8 @@ export declare const recordingExportCapability: {
|
|
|
298
298
|
}, z.core.$strip>;
|
|
299
299
|
state: z.ZodEnum<{
|
|
300
300
|
ready: "ready";
|
|
301
|
-
queued: "queued";
|
|
302
301
|
failed: "failed";
|
|
302
|
+
queued: "queued";
|
|
303
303
|
deleted: "deleted";
|
|
304
304
|
rendering: "rendering";
|
|
305
305
|
expired: "expired";
|
|
@@ -343,8 +343,8 @@ export declare const recordingExportCapability: {
|
|
|
343
343
|
}, z.core.$strip>;
|
|
344
344
|
state: z.ZodEnum<{
|
|
345
345
|
ready: "ready";
|
|
346
|
-
queued: "queued";
|
|
347
346
|
failed: "failed";
|
|
347
|
+
queued: "queued";
|
|
348
348
|
deleted: "deleted";
|
|
349
349
|
rendering: "rendering";
|
|
350
350
|
expired: "expired";
|
|
@@ -387,8 +387,8 @@ export declare const recordingExportCapability: {
|
|
|
387
387
|
}, z.core.$strip>;
|
|
388
388
|
state: z.ZodEnum<{
|
|
389
389
|
ready: "ready";
|
|
390
|
-
queued: "queued";
|
|
391
390
|
failed: "failed";
|
|
391
|
+
queued: "queued";
|
|
392
392
|
deleted: "deleted";
|
|
393
393
|
rendering: "rendering";
|
|
394
394
|
expired: "expired";
|
|
@@ -432,8 +432,8 @@ export declare const recordingExportCapability: {
|
|
|
432
432
|
}, z.core.$strip>;
|
|
433
433
|
state: z.ZodEnum<{
|
|
434
434
|
ready: "ready";
|
|
435
|
-
queued: "queued";
|
|
436
435
|
failed: "failed";
|
|
436
|
+
queued: "queued";
|
|
437
437
|
deleted: "deleted";
|
|
438
438
|
rendering: "rendering";
|
|
439
439
|
expired: "expired";
|
|
@@ -477,8 +477,8 @@ export declare const recordingExportCapability: {
|
|
|
477
477
|
}, z.core.$strip>;
|
|
478
478
|
state: z.ZodEnum<{
|
|
479
479
|
ready: "ready";
|
|
480
|
-
queued: "queued";
|
|
481
480
|
failed: "failed";
|
|
481
|
+
queued: "queued";
|
|
482
482
|
deleted: "deleted";
|
|
483
483
|
rendering: "rendering";
|
|
484
484
|
expired: "expired";
|
|
@@ -112,8 +112,8 @@ export type RecordingRebalanceMove = z.infer<typeof RecordingRebalanceMoveSchema
|
|
|
112
112
|
* reported: a rebalance that silently drops a camera reads exactly like one
|
|
113
113
|
* that had nothing to do. */
|
|
114
114
|
export declare const RecordingRebalanceSkipReasonSchema: z.ZodEnum<{
|
|
115
|
-
"below-threshold": "below-threshold";
|
|
116
115
|
unassigned: "unassigned";
|
|
116
|
+
"below-threshold": "below-threshold";
|
|
117
117
|
"target-not-writable": "target-not-writable";
|
|
118
118
|
"no-headroom": "no-headroom";
|
|
119
119
|
}>;
|
|
@@ -125,8 +125,8 @@ export declare const RecordingRebalanceSkipSchema: z.ZodObject<{
|
|
|
125
125
|
toLocationId: z.ZodNullable<z.ZodString>;
|
|
126
126
|
bytes: z.ZodNumber;
|
|
127
127
|
reason: z.ZodEnum<{
|
|
128
|
-
"below-threshold": "below-threshold";
|
|
129
128
|
unassigned: "unassigned";
|
|
129
|
+
"below-threshold": "below-threshold";
|
|
130
130
|
"target-not-writable": "target-not-writable";
|
|
131
131
|
"no-headroom": "no-headroom";
|
|
132
132
|
}>;
|
|
@@ -148,8 +148,8 @@ export declare const RecordingRebalancePlanSchema: z.ZodObject<{
|
|
|
148
148
|
toLocationId: z.ZodNullable<z.ZodString>;
|
|
149
149
|
bytes: z.ZodNumber;
|
|
150
150
|
reason: z.ZodEnum<{
|
|
151
|
-
"below-threshold": "below-threshold";
|
|
152
151
|
unassigned: "unassigned";
|
|
152
|
+
"below-threshold": "below-threshold";
|
|
153
153
|
"target-not-writable": "target-not-writable";
|
|
154
154
|
"no-headroom": "no-headroom";
|
|
155
155
|
}>;
|
|
@@ -586,10 +586,10 @@ export declare const recordingCapability: {
|
|
|
586
586
|
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
587
587
|
jobId: z.ZodString;
|
|
588
588
|
state: z.ZodEnum<{
|
|
589
|
+
failed: "failed";
|
|
589
590
|
running: "running";
|
|
590
591
|
queued: "queued";
|
|
591
592
|
done: "done";
|
|
592
|
-
failed: "failed";
|
|
593
593
|
cancelled: "cancelled";
|
|
594
594
|
}>;
|
|
595
595
|
fromLocationId: z.ZodString;
|
|
@@ -635,10 +635,10 @@ export declare const recordingCapability: {
|
|
|
635
635
|
readonly listRelocateJobs: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
636
636
|
jobId: z.ZodString;
|
|
637
637
|
state: z.ZodEnum<{
|
|
638
|
+
failed: "failed";
|
|
638
639
|
running: "running";
|
|
639
640
|
queued: "queued";
|
|
640
641
|
done: "done";
|
|
641
|
-
failed: "failed";
|
|
642
642
|
cancelled: "cancelled";
|
|
643
643
|
}>;
|
|
644
644
|
fromLocationId: z.ZodString;
|
|
@@ -678,8 +678,8 @@ export declare const recordingCapability: {
|
|
|
678
678
|
toLocationId: z.ZodNullable<z.ZodString>;
|
|
679
679
|
bytes: z.ZodNumber;
|
|
680
680
|
reason: z.ZodEnum<{
|
|
681
|
-
"below-threshold": "below-threshold";
|
|
682
681
|
unassigned: "unassigned";
|
|
682
|
+
"below-threshold": "below-threshold";
|
|
683
683
|
"target-not-writable": "target-not-writable";
|
|
684
684
|
"no-headroom": "no-headroom";
|
|
685
685
|
}>;
|
|
@@ -707,8 +707,8 @@ export declare const recordingCapability: {
|
|
|
707
707
|
toLocationId: z.ZodNullable<z.ZodString>;
|
|
708
708
|
bytes: z.ZodNumber;
|
|
709
709
|
reason: z.ZodEnum<{
|
|
710
|
-
"below-threshold": "below-threshold";
|
|
711
710
|
unassigned: "unassigned";
|
|
711
|
+
"below-threshold": "below-threshold";
|
|
712
712
|
"target-not-writable": "target-not-writable";
|
|
713
713
|
"no-headroom": "no-headroom";
|
|
714
714
|
}>;
|
|
@@ -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;
|
|
@@ -18,8 +18,8 @@ export declare const CameraMetricsSchema: z.ZodObject<{
|
|
|
18
18
|
avgInferenceTimeMs: z.ZodNumber;
|
|
19
19
|
droppedFrames: z.ZodNumber;
|
|
20
20
|
phase: z.ZodEnum<{
|
|
21
|
-
active: "active";
|
|
22
21
|
idle: "idle";
|
|
22
|
+
active: "active";
|
|
23
23
|
watching: "watching";
|
|
24
24
|
}>;
|
|
25
25
|
}, z.core.$strip>;
|
|
@@ -35,8 +35,8 @@ export declare const CameraMetricsWithDeviceIdSchema: z.ZodObject<{
|
|
|
35
35
|
avgInferenceTimeMs: z.ZodNumber;
|
|
36
36
|
droppedFrames: z.ZodNumber;
|
|
37
37
|
phase: z.ZodEnum<{
|
|
38
|
-
active: "active";
|
|
39
38
|
idle: "idle";
|
|
39
|
+
active: "active";
|
|
40
40
|
watching: "watching";
|
|
41
41
|
}>;
|
|
42
42
|
deviceId: z.ZodNumber;
|