@camstack/types 1.2.109 → 1.2.110
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 +96 -54
- package/dist/capabilities/pipeline-executor.cap.d.ts +67 -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 +29 -8
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/index.js +70 -5
- package/dist/index.mjs +70 -5
- 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-DnbNfEhn.js} +3 -0
- package/dist/{sleep-Dj1DG9Od.mjs → sleep-swxwnJmL.mjs} +3 -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
|
@@ -26,9 +26,9 @@ import { type InferProvider } from './capability-definition.js';
|
|
|
26
26
|
* (per-device surface) and `track-trail` caps — see P11 cleanup.
|
|
27
27
|
*/
|
|
28
28
|
declare const TrackStateSchema: z.ZodEnum<{
|
|
29
|
-
idle: "idle";
|
|
30
29
|
moving: "moving";
|
|
31
30
|
left: "left";
|
|
31
|
+
idle: "idle";
|
|
32
32
|
new: "new";
|
|
33
33
|
entered: "entered";
|
|
34
34
|
}>;
|
|
@@ -411,9 +411,9 @@ declare const TrackSchema: z.ZodObject<{
|
|
|
411
411
|
classes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
412
412
|
totalDistance: z.ZodNumber;
|
|
413
413
|
state: z.ZodEnum<{
|
|
414
|
-
idle: "idle";
|
|
415
414
|
moving: "moving";
|
|
416
415
|
left: "left";
|
|
416
|
+
idle: "idle";
|
|
417
417
|
new: "new";
|
|
418
418
|
entered: "entered";
|
|
419
419
|
}>;
|
|
@@ -539,9 +539,9 @@ declare const ObjectEventSchema: z.ZodObject<{
|
|
|
539
539
|
}, z.core.$strip>>;
|
|
540
540
|
zones: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
541
541
|
state: z.ZodOptional<z.ZodEnum<{
|
|
542
|
-
idle: "idle";
|
|
543
542
|
moving: "moving";
|
|
544
543
|
left: "left";
|
|
544
|
+
idle: "idle";
|
|
545
545
|
new: "new";
|
|
546
546
|
entered: "entered";
|
|
547
547
|
}>>;
|
|
@@ -604,8 +604,8 @@ declare const AudioEventSchema: z.ZodObject<{
|
|
|
604
604
|
}, z.core.$strip>;
|
|
605
605
|
export type AudioEvent = z.infer<typeof AudioEventSchema>;
|
|
606
606
|
declare const MediaFileKindEnum: z.ZodEnum<{
|
|
607
|
-
snapshot: "snapshot";
|
|
608
607
|
crop: "crop";
|
|
608
|
+
snapshot: "snapshot";
|
|
609
609
|
keyFrame: "keyFrame";
|
|
610
610
|
thumbnail: "thumbnail";
|
|
611
611
|
firstFrame: "firstFrame";
|
|
@@ -621,8 +621,8 @@ export type MediaFileKind = z.infer<typeof MediaFileKindEnum>;
|
|
|
621
621
|
declare const MediaFileSchema: z.ZodObject<{
|
|
622
622
|
key: z.ZodString;
|
|
623
623
|
kind: z.ZodEnum<{
|
|
624
|
-
snapshot: "snapshot";
|
|
625
624
|
crop: "crop";
|
|
625
|
+
snapshot: "snapshot";
|
|
626
626
|
keyFrame: "keyFrame";
|
|
627
627
|
thumbnail: "thumbnail";
|
|
628
628
|
firstFrame: "firstFrame";
|
|
@@ -655,8 +655,8 @@ declare const MediaFileInfoSchema: z.ZodObject<{
|
|
|
655
655
|
key: z.ZodString;
|
|
656
656
|
timestamp: z.ZodNumber;
|
|
657
657
|
kind: z.ZodEnum<{
|
|
658
|
-
snapshot: "snapshot";
|
|
659
658
|
crop: "crop";
|
|
659
|
+
snapshot: "snapshot";
|
|
660
660
|
keyFrame: "keyFrame";
|
|
661
661
|
thumbnail: "thumbnail";
|
|
662
662
|
firstFrame: "firstFrame";
|
|
@@ -748,6 +748,12 @@ export declare const RetrainAnnotationSchema: z.ZodObject<{
|
|
|
748
748
|
export type RetrainAnnotation = z.infer<typeof RetrainAnnotationSchema>;
|
|
749
749
|
/** The write form — the server owns `id`, `createdAt` and the frame binding. */
|
|
750
750
|
export declare const RetrainAnnotationDraftSchema: z.ZodObject<{
|
|
751
|
+
bbox: z.ZodObject<{
|
|
752
|
+
x: z.ZodNumber;
|
|
753
|
+
y: z.ZodNumber;
|
|
754
|
+
w: z.ZodNumber;
|
|
755
|
+
h: z.ZodNumber;
|
|
756
|
+
}, z.core.$strip>;
|
|
751
757
|
kind: z.ZodEnum<{
|
|
752
758
|
subject: "subject";
|
|
753
759
|
model_error: "model_error";
|
|
@@ -757,12 +763,6 @@ export declare const RetrainAnnotationDraftSchema: z.ZodObject<{
|
|
|
757
763
|
operator: "operator";
|
|
758
764
|
assist: "assist";
|
|
759
765
|
}>;
|
|
760
|
-
bbox: z.ZodObject<{
|
|
761
|
-
x: z.ZodNumber;
|
|
762
|
-
y: z.ZodNumber;
|
|
763
|
-
w: z.ZodNumber;
|
|
764
|
-
h: z.ZodNumber;
|
|
765
|
-
}, z.core.$strip>;
|
|
766
766
|
macroClass: z.ZodEnum<{
|
|
767
767
|
person: "person";
|
|
768
768
|
vehicle: "vehicle";
|
|
@@ -792,8 +792,8 @@ export type RetrainTrack = z.infer<typeof RetrainTrackSchema>;
|
|
|
792
792
|
export declare const RetrainFrameCandidateSchema: z.ZodObject<{
|
|
793
793
|
mediaKey: z.ZodString;
|
|
794
794
|
kind: z.ZodEnum<{
|
|
795
|
-
snapshot: "snapshot";
|
|
796
795
|
crop: "crop";
|
|
796
|
+
snapshot: "snapshot";
|
|
797
797
|
keyFrame: "keyFrame";
|
|
798
798
|
thumbnail: "thumbnail";
|
|
799
799
|
firstFrame: "firstFrame";
|
|
@@ -817,8 +817,8 @@ export declare const RetrainFrameSchema: z.ZodObject<{
|
|
|
817
817
|
trackId: z.ZodString;
|
|
818
818
|
sourceMediaKey: z.ZodString;
|
|
819
819
|
sourceKind: z.ZodEnum<{
|
|
820
|
-
snapshot: "snapshot";
|
|
821
820
|
crop: "crop";
|
|
821
|
+
snapshot: "snapshot";
|
|
822
822
|
keyFrame: "keyFrame";
|
|
823
823
|
thumbnail: "thumbnail";
|
|
824
824
|
firstFrame: "firstFrame";
|
|
@@ -849,8 +849,8 @@ export declare const RetrainFrameSelectionSchema: z.ZodObject<{
|
|
|
849
849
|
trackId: z.ZodString;
|
|
850
850
|
sourceMediaKey: z.ZodString;
|
|
851
851
|
sourceKind: z.ZodEnum<{
|
|
852
|
-
snapshot: "snapshot";
|
|
853
852
|
crop: "crop";
|
|
853
|
+
snapshot: "snapshot";
|
|
854
854
|
keyFrame: "keyFrame";
|
|
855
855
|
thumbnail: "thumbnail";
|
|
856
856
|
firstFrame: "firstFrame";
|
|
@@ -881,8 +881,8 @@ export declare const RetrainFrameListSchema: z.ZodObject<{
|
|
|
881
881
|
candidates: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
882
882
|
mediaKey: z.ZodString;
|
|
883
883
|
kind: z.ZodEnum<{
|
|
884
|
-
snapshot: "snapshot";
|
|
885
884
|
crop: "crop";
|
|
885
|
+
snapshot: "snapshot";
|
|
886
886
|
keyFrame: "keyFrame";
|
|
887
887
|
thumbnail: "thumbnail";
|
|
888
888
|
firstFrame: "firstFrame";
|
|
@@ -904,8 +904,8 @@ export declare const RetrainFrameListSchema: z.ZodObject<{
|
|
|
904
904
|
trackId: z.ZodString;
|
|
905
905
|
sourceMediaKey: z.ZodString;
|
|
906
906
|
sourceKind: z.ZodEnum<{
|
|
907
|
-
snapshot: "snapshot";
|
|
908
907
|
crop: "crop";
|
|
908
|
+
snapshot: "snapshot";
|
|
909
909
|
keyFrame: "keyFrame";
|
|
910
910
|
thumbnail: "thumbnail";
|
|
911
911
|
firstFrame: "firstFrame";
|
|
@@ -950,6 +950,12 @@ export declare const RetrainAssistResultSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
950
950
|
stepId: z.ZodString;
|
|
951
951
|
minScore: z.ZodNumber;
|
|
952
952
|
proposals: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
953
|
+
bbox: z.ZodObject<{
|
|
954
|
+
x: z.ZodNumber;
|
|
955
|
+
y: z.ZodNumber;
|
|
956
|
+
w: z.ZodNumber;
|
|
957
|
+
h: z.ZodNumber;
|
|
958
|
+
}, z.core.$strip>;
|
|
953
959
|
kind: z.ZodEnum<{
|
|
954
960
|
subject: "subject";
|
|
955
961
|
model_error: "model_error";
|
|
@@ -959,12 +965,6 @@ export declare const RetrainAssistResultSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
959
965
|
operator: "operator";
|
|
960
966
|
assist: "assist";
|
|
961
967
|
}>;
|
|
962
|
-
bbox: z.ZodObject<{
|
|
963
|
-
x: z.ZodNumber;
|
|
964
|
-
y: z.ZodNumber;
|
|
965
|
-
w: z.ZodNumber;
|
|
966
|
-
h: z.ZodNumber;
|
|
967
|
-
}, z.core.$strip>;
|
|
968
968
|
macroClass: z.ZodEnum<{
|
|
969
969
|
person: "person";
|
|
970
970
|
vehicle: "vehicle";
|
|
@@ -1064,9 +1064,9 @@ declare const RecentTracksPageSchema: z.ZodObject<{
|
|
|
1064
1064
|
classes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1065
1065
|
totalDistance: z.ZodNumber;
|
|
1066
1066
|
state: z.ZodEnum<{
|
|
1067
|
-
idle: "idle";
|
|
1068
1067
|
moving: "moving";
|
|
1069
1068
|
left: "left";
|
|
1069
|
+
idle: "idle";
|
|
1070
1070
|
new: "new";
|
|
1071
1071
|
entered: "entered";
|
|
1072
1072
|
}>;
|
|
@@ -1229,9 +1229,9 @@ declare const TrackedDetectionSchema: z.ZodObject<{
|
|
|
1229
1229
|
}, z.core.$strip>;
|
|
1230
1230
|
zones: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1231
1231
|
state: z.ZodEnum<{
|
|
1232
|
-
idle: "idle";
|
|
1233
1232
|
moving: "moving";
|
|
1234
1233
|
left: "left";
|
|
1234
|
+
idle: "idle";
|
|
1235
1235
|
new: "new";
|
|
1236
1236
|
entered: "entered";
|
|
1237
1237
|
}>;
|
|
@@ -1246,9 +1246,9 @@ export declare const ScoredObjectEventSchema: z.ZodObject<{
|
|
|
1246
1246
|
}, z.core.$strip>>;
|
|
1247
1247
|
zones: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1248
1248
|
state: z.ZodOptional<z.ZodEnum<{
|
|
1249
|
-
idle: "idle";
|
|
1250
1249
|
moving: "moving";
|
|
1251
1250
|
left: "left";
|
|
1251
|
+
idle: "idle";
|
|
1252
1252
|
new: "new";
|
|
1253
1253
|
entered: "entered";
|
|
1254
1254
|
}>>;
|
|
@@ -1397,9 +1397,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1397
1397
|
classes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1398
1398
|
totalDistance: z.ZodNumber;
|
|
1399
1399
|
state: z.ZodEnum<{
|
|
1400
|
-
idle: "idle";
|
|
1401
1400
|
moving: "moving";
|
|
1402
1401
|
left: "left";
|
|
1402
|
+
idle: "idle";
|
|
1403
1403
|
new: "new";
|
|
1404
1404
|
entered: "entered";
|
|
1405
1405
|
}>;
|
|
@@ -1494,9 +1494,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1494
1494
|
classes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1495
1495
|
totalDistance: z.ZodNumber;
|
|
1496
1496
|
state: z.ZodEnum<{
|
|
1497
|
-
idle: "idle";
|
|
1498
1497
|
moving: "moving";
|
|
1499
1498
|
left: "left";
|
|
1499
|
+
idle: "idle";
|
|
1500
1500
|
new: "new";
|
|
1501
1501
|
entered: "entered";
|
|
1502
1502
|
}>;
|
|
@@ -1614,9 +1614,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1614
1614
|
classes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1615
1615
|
totalDistance: z.ZodNumber;
|
|
1616
1616
|
state: z.ZodEnum<{
|
|
1617
|
-
idle: "idle";
|
|
1618
1617
|
moving: "moving";
|
|
1619
1618
|
left: "left";
|
|
1619
|
+
idle: "idle";
|
|
1620
1620
|
new: "new";
|
|
1621
1621
|
entered: "entered";
|
|
1622
1622
|
}>;
|
|
@@ -1730,9 +1730,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1730
1730
|
classes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1731
1731
|
totalDistance: z.ZodNumber;
|
|
1732
1732
|
state: z.ZodEnum<{
|
|
1733
|
-
idle: "idle";
|
|
1734
1733
|
moving: "moving";
|
|
1735
1734
|
left: "left";
|
|
1735
|
+
idle: "idle";
|
|
1736
1736
|
new: "new";
|
|
1737
1737
|
entered: "entered";
|
|
1738
1738
|
}>;
|
|
@@ -1881,9 +1881,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1881
1881
|
}, z.core.$strip>>;
|
|
1882
1882
|
zones: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1883
1883
|
state: z.ZodOptional<z.ZodEnum<{
|
|
1884
|
-
idle: "idle";
|
|
1885
1884
|
moving: "moving";
|
|
1886
1885
|
left: "left";
|
|
1886
|
+
idle: "idle";
|
|
1887
1887
|
new: "new";
|
|
1888
1888
|
entered: "entered";
|
|
1889
1889
|
}>>;
|
|
@@ -2369,10 +2369,10 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2369
2369
|
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
2370
2370
|
jobId: z.ZodString;
|
|
2371
2371
|
state: z.ZodEnum<{
|
|
2372
|
+
failed: "failed";
|
|
2372
2373
|
running: "running";
|
|
2373
2374
|
queued: "queued";
|
|
2374
2375
|
done: "done";
|
|
2375
|
-
failed: "failed";
|
|
2376
2376
|
cancelled: "cancelled";
|
|
2377
2377
|
}>;
|
|
2378
2378
|
fromLocationId: z.ZodString;
|
|
@@ -2391,6 +2391,48 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2391
2391
|
}, z.core.$strip>, z.ZodObject<{
|
|
2392
2392
|
cancelled: z.ZodBoolean;
|
|
2393
2393
|
}, z.core.$strip>, "mutation">;
|
|
2394
|
+
/**
|
|
2395
|
+
* Moves event media between locations — the OPERATOR's mover, without the
|
|
2396
|
+
* coordinator's lease. Twin of `recording.relocateFootage`: the same
|
|
2397
|
+
* engine the lease-gated coordinated migration uses
|
|
2398
|
+
* (`startStorageMigrationMove`), armable in the background and WITHOUT
|
|
2399
|
+
* pausing anything. Exists because `eventMedia` was the only storage
|
|
2400
|
+
* class whose only move path went through the recorder's global pause.
|
|
2401
|
+
*/
|
|
2402
|
+
readonly relocateMedia: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
2403
|
+
toLocationId: z.ZodString;
|
|
2404
|
+
throttleMbps: z.ZodOptional<z.ZodNumber>;
|
|
2405
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2406
|
+
jobId: z.ZodString;
|
|
2407
|
+
}, z.core.$strip>, "mutation">;
|
|
2408
|
+
/** Every relocate job this addon knows about, newest first (in RAM: the
|
|
2409
|
+
* move is resumable, so a lost list costs nothing but the display). */
|
|
2410
|
+
readonly listRelocateMediaJobs: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2411
|
+
jobId: z.ZodString;
|
|
2412
|
+
state: z.ZodEnum<{
|
|
2413
|
+
failed: "failed";
|
|
2414
|
+
running: "running";
|
|
2415
|
+
queued: "queued";
|
|
2416
|
+
done: "done";
|
|
2417
|
+
cancelled: "cancelled";
|
|
2418
|
+
}>;
|
|
2419
|
+
fromLocationId: z.ZodString;
|
|
2420
|
+
toLocationId: z.ZodString;
|
|
2421
|
+
deviceId: z.ZodNullable<z.ZodNumber>;
|
|
2422
|
+
entities: z.ZodArray<z.ZodString>;
|
|
2423
|
+
filesMoved: z.ZodNumber;
|
|
2424
|
+
bytesMoved: z.ZodNumber;
|
|
2425
|
+
filesTotal: z.ZodNullable<z.ZodNumber>;
|
|
2426
|
+
startedAt: z.ZodNumber;
|
|
2427
|
+
finishedAt: z.ZodNullable<z.ZodNumber>;
|
|
2428
|
+
error: z.ZodNullable<z.ZodString>;
|
|
2429
|
+
}, z.core.$strip>>>, "query">;
|
|
2430
|
+
/** Cancel a running or queued relocate job. */
|
|
2431
|
+
readonly cancelRelocateMedia: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
2432
|
+
jobId: z.ZodString;
|
|
2433
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2434
|
+
cancelled: z.ZodBoolean;
|
|
2435
|
+
}, z.core.$strip>, "mutation">;
|
|
2394
2436
|
readonly listOpsLog: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
2395
2437
|
deviceId: z.ZodOptional<z.ZodNumber>;
|
|
2396
2438
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2515,8 +2557,8 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2515
2557
|
candidates: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2516
2558
|
mediaKey: z.ZodString;
|
|
2517
2559
|
kind: z.ZodEnum<{
|
|
2518
|
-
snapshot: "snapshot";
|
|
2519
2560
|
crop: "crop";
|
|
2561
|
+
snapshot: "snapshot";
|
|
2520
2562
|
keyFrame: "keyFrame";
|
|
2521
2563
|
thumbnail: "thumbnail";
|
|
2522
2564
|
firstFrame: "firstFrame";
|
|
@@ -2538,8 +2580,8 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2538
2580
|
trackId: z.ZodString;
|
|
2539
2581
|
sourceMediaKey: z.ZodString;
|
|
2540
2582
|
sourceKind: z.ZodEnum<{
|
|
2541
|
-
snapshot: "snapshot";
|
|
2542
2583
|
crop: "crop";
|
|
2584
|
+
snapshot: "snapshot";
|
|
2543
2585
|
keyFrame: "keyFrame";
|
|
2544
2586
|
thumbnail: "thumbnail";
|
|
2545
2587
|
firstFrame: "firstFrame";
|
|
@@ -2583,8 +2625,8 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2583
2625
|
trackId: z.ZodString;
|
|
2584
2626
|
sourceMediaKey: z.ZodString;
|
|
2585
2627
|
sourceKind: z.ZodEnum<{
|
|
2586
|
-
snapshot: "snapshot";
|
|
2587
2628
|
crop: "crop";
|
|
2629
|
+
snapshot: "snapshot";
|
|
2588
2630
|
keyFrame: "keyFrame";
|
|
2589
2631
|
thumbnail: "thumbnail";
|
|
2590
2632
|
firstFrame: "firstFrame";
|
|
@@ -2676,6 +2718,12 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2676
2718
|
stepId: z.ZodString;
|
|
2677
2719
|
minScore: z.ZodNumber;
|
|
2678
2720
|
proposals: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2721
|
+
bbox: z.ZodObject<{
|
|
2722
|
+
x: z.ZodNumber;
|
|
2723
|
+
y: z.ZodNumber;
|
|
2724
|
+
w: z.ZodNumber;
|
|
2725
|
+
h: z.ZodNumber;
|
|
2726
|
+
}, z.core.$strip>;
|
|
2679
2727
|
kind: z.ZodEnum<{
|
|
2680
2728
|
subject: "subject";
|
|
2681
2729
|
model_error: "model_error";
|
|
@@ -2685,12 +2733,6 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2685
2733
|
operator: "operator";
|
|
2686
2734
|
assist: "assist";
|
|
2687
2735
|
}>;
|
|
2688
|
-
bbox: z.ZodObject<{
|
|
2689
|
-
x: z.ZodNumber;
|
|
2690
|
-
y: z.ZodNumber;
|
|
2691
|
-
w: z.ZodNumber;
|
|
2692
|
-
h: z.ZodNumber;
|
|
2693
|
-
}, z.core.$strip>;
|
|
2694
2736
|
macroClass: z.ZodEnum<{
|
|
2695
2737
|
person: "person";
|
|
2696
2738
|
vehicle: "vehicle";
|
|
@@ -2764,6 +2806,12 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2764
2806
|
trackId: z.ZodString;
|
|
2765
2807
|
frameId: z.ZodString;
|
|
2766
2808
|
annotations: z.ZodArray<z.ZodObject<{
|
|
2809
|
+
bbox: z.ZodObject<{
|
|
2810
|
+
x: z.ZodNumber;
|
|
2811
|
+
y: z.ZodNumber;
|
|
2812
|
+
w: z.ZodNumber;
|
|
2813
|
+
h: z.ZodNumber;
|
|
2814
|
+
}, z.core.$strip>;
|
|
2767
2815
|
kind: z.ZodEnum<{
|
|
2768
2816
|
subject: "subject";
|
|
2769
2817
|
model_error: "model_error";
|
|
@@ -2773,12 +2821,6 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2773
2821
|
operator: "operator";
|
|
2774
2822
|
assist: "assist";
|
|
2775
2823
|
}>;
|
|
2776
|
-
bbox: z.ZodObject<{
|
|
2777
|
-
x: z.ZodNumber;
|
|
2778
|
-
y: z.ZodNumber;
|
|
2779
|
-
w: z.ZodNumber;
|
|
2780
|
-
h: z.ZodNumber;
|
|
2781
|
-
}, z.core.$strip>;
|
|
2782
2824
|
macroClass: z.ZodEnum<{
|
|
2783
2825
|
person: "person";
|
|
2784
2826
|
vehicle: "vehicle";
|
|
@@ -2902,8 +2944,8 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2902
2944
|
readonly getEventMedia: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
2903
2945
|
eventId: z.ZodString;
|
|
2904
2946
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
2905
|
-
snapshot: "snapshot";
|
|
2906
2947
|
crop: "crop";
|
|
2948
|
+
snapshot: "snapshot";
|
|
2907
2949
|
keyFrame: "keyFrame";
|
|
2908
2950
|
thumbnail: "thumbnail";
|
|
2909
2951
|
firstFrame: "firstFrame";
|
|
@@ -2919,8 +2961,8 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2919
2961
|
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2920
2962
|
key: z.ZodString;
|
|
2921
2963
|
kind: z.ZodEnum<{
|
|
2922
|
-
snapshot: "snapshot";
|
|
2923
2964
|
crop: "crop";
|
|
2965
|
+
snapshot: "snapshot";
|
|
2924
2966
|
keyFrame: "keyFrame";
|
|
2925
2967
|
thumbnail: "thumbnail";
|
|
2926
2968
|
firstFrame: "firstFrame";
|
|
@@ -2943,8 +2985,8 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2943
2985
|
readonly getTrackMedia: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
2944
2986
|
trackId: z.ZodString;
|
|
2945
2987
|
kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2946
|
-
snapshot: "snapshot";
|
|
2947
2988
|
crop: "crop";
|
|
2989
|
+
snapshot: "snapshot";
|
|
2948
2990
|
keyFrame: "keyFrame";
|
|
2949
2991
|
thumbnail: "thumbnail";
|
|
2950
2992
|
firstFrame: "firstFrame";
|
|
@@ -2960,8 +3002,8 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2960
3002
|
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2961
3003
|
key: z.ZodString;
|
|
2962
3004
|
kind: z.ZodEnum<{
|
|
2963
|
-
snapshot: "snapshot";
|
|
2964
3005
|
crop: "crop";
|
|
3006
|
+
snapshot: "snapshot";
|
|
2965
3007
|
keyFrame: "keyFrame";
|
|
2966
3008
|
thumbnail: "thumbnail";
|
|
2967
3009
|
firstFrame: "firstFrame";
|
|
@@ -2999,8 +3041,8 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2999
3041
|
key: z.ZodString;
|
|
3000
3042
|
timestamp: z.ZodNumber;
|
|
3001
3043
|
kind: z.ZodEnum<{
|
|
3002
|
-
snapshot: "snapshot";
|
|
3003
3044
|
crop: "crop";
|
|
3045
|
+
snapshot: "snapshot";
|
|
3004
3046
|
keyFrame: "keyFrame";
|
|
3005
3047
|
thumbnail: "thumbnail";
|
|
3006
3048
|
firstFrame: "firstFrame";
|
|
@@ -3040,9 +3082,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
3040
3082
|
}, z.core.$strip>>;
|
|
3041
3083
|
zones: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
3042
3084
|
state: z.ZodOptional<z.ZodEnum<{
|
|
3043
|
-
idle: "idle";
|
|
3044
3085
|
moving: "moving";
|
|
3045
3086
|
left: "left";
|
|
3087
|
+
idle: "idle";
|
|
3046
3088
|
new: "new";
|
|
3047
3089
|
entered: "entered";
|
|
3048
3090
|
}>>;
|
|
@@ -3136,8 +3178,8 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
3136
3178
|
detections: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3137
3179
|
id: z.ZodString;
|
|
3138
3180
|
kind: z.ZodEnum<{
|
|
3139
|
-
"first-level": "first-level";
|
|
3140
3181
|
detail: "detail";
|
|
3182
|
+
"first-level": "first-level";
|
|
3141
3183
|
}>;
|
|
3142
3184
|
macroClass: z.ZodString;
|
|
3143
3185
|
score: z.ZodNumber;
|
|
@@ -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>;
|
|
@@ -927,17 +964,28 @@ export declare const pipelineExecutorCapability: {
|
|
|
927
964
|
frame: z.ZodOptional<z.ZodObject<{
|
|
928
965
|
data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
|
|
929
966
|
format: z.ZodEnum<{
|
|
930
|
-
rgb: "rgb";
|
|
931
|
-
gray: "gray";
|
|
932
967
|
jpeg: "jpeg";
|
|
968
|
+
rgb: "rgb";
|
|
933
969
|
bgr: "bgr";
|
|
934
970
|
yuv420: "yuv420";
|
|
971
|
+
gray: "gray";
|
|
935
972
|
}>;
|
|
936
973
|
width: z.ZodNumber;
|
|
937
974
|
height: z.ZodNumber;
|
|
938
975
|
timestamp: z.ZodNumber;
|
|
939
976
|
}, z.core.$strip>>;
|
|
940
|
-
frameRef: z.ZodOptional<z.
|
|
977
|
+
frameRef: z.ZodOptional<z.ZodObject<{
|
|
978
|
+
registryId: z.ZodString;
|
|
979
|
+
id: z.ZodString;
|
|
980
|
+
width: z.ZodNumber;
|
|
981
|
+
height: z.ZodNumber;
|
|
982
|
+
format: z.ZodEnum<{
|
|
983
|
+
rgb: "rgb";
|
|
984
|
+
gray: "gray";
|
|
985
|
+
}>;
|
|
986
|
+
timestamp: z.ZodNumber;
|
|
987
|
+
capturedAt: z.ZodOptional<z.ZodNumber>;
|
|
988
|
+
}, z.core.$strip>>;
|
|
941
989
|
frameHandle: z.ZodOptional<z.ZodObject<{
|
|
942
990
|
shmId: z.ZodString;
|
|
943
991
|
slot: z.ZodNumber;
|
|
@@ -945,11 +993,11 @@ export declare const pipelineExecutorCapability: {
|
|
|
945
993
|
width: z.ZodNumber;
|
|
946
994
|
height: z.ZodNumber;
|
|
947
995
|
format: z.ZodEnum<{
|
|
948
|
-
rgb: "rgb";
|
|
949
|
-
gray: "gray";
|
|
950
996
|
jpeg: "jpeg";
|
|
997
|
+
rgb: "rgb";
|
|
951
998
|
bgr: "bgr";
|
|
952
999
|
yuv420: "yuv420";
|
|
1000
|
+
gray: "gray";
|
|
953
1001
|
}>;
|
|
954
1002
|
pts: z.ZodNumber;
|
|
955
1003
|
byteLength: z.ZodNumber;
|
|
@@ -974,11 +1022,11 @@ export declare const pipelineExecutorCapability: {
|
|
|
974
1022
|
width: z.ZodNumber;
|
|
975
1023
|
height: z.ZodNumber;
|
|
976
1024
|
format: z.ZodEnum<{
|
|
977
|
-
rgb: "rgb";
|
|
978
|
-
gray: "gray";
|
|
979
1025
|
jpeg: "jpeg";
|
|
1026
|
+
rgb: "rgb";
|
|
980
1027
|
bgr: "bgr";
|
|
981
1028
|
yuv420: "yuv420";
|
|
1029
|
+
gray: "gray";
|
|
982
1030
|
}>;
|
|
983
1031
|
pts: z.ZodNumber;
|
|
984
1032
|
byteLength: z.ZodNumber;
|
|
@@ -1025,11 +1073,11 @@ export declare const pipelineExecutorCapability: {
|
|
|
1025
1073
|
frames: z.ZodArray<z.ZodObject<{
|
|
1026
1074
|
data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
|
|
1027
1075
|
format: z.ZodEnum<{
|
|
1028
|
-
rgb: "rgb";
|
|
1029
|
-
gray: "gray";
|
|
1030
1076
|
jpeg: "jpeg";
|
|
1077
|
+
rgb: "rgb";
|
|
1031
1078
|
bgr: "bgr";
|
|
1032
1079
|
yuv420: "yuv420";
|
|
1080
|
+
gray: "gray";
|
|
1033
1081
|
}>;
|
|
1034
1082
|
width: z.ZodNumber;
|
|
1035
1083
|
height: z.ZodNumber;
|
|
@@ -1054,8 +1102,8 @@ export declare const pipelineExecutorCapability: {
|
|
|
1054
1102
|
height: z.ZodNumber;
|
|
1055
1103
|
format: z.ZodEnum<{
|
|
1056
1104
|
rgb: "rgb";
|
|
1057
|
-
gray: "gray";
|
|
1058
1105
|
bgr: "bgr";
|
|
1106
|
+
gray: "gray";
|
|
1059
1107
|
}>;
|
|
1060
1108
|
}, z.core.$strip>, z.ZodObject<{
|
|
1061
1109
|
frameId: z.ZodNumber;
|