@camstack/types 1.2.259 → 1.2.260
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 +12 -2
- package/dist/addon.mjs +12 -2
- package/dist/capabilities/camera-streams.cap.d.ts +5 -5
- package/dist/capabilities/custom-model-registry.cap.d.ts +0 -12
- package/dist/capabilities/decoder.cap.d.ts +12 -12
- package/dist/capabilities/index.d.ts +3 -3
- package/dist/capabilities/load-contribution.cap.d.ts +2 -2
- package/dist/capabilities/model-convert.cap.d.ts +0 -6
- package/dist/capabilities/model-distributor.cap.d.ts +0 -12
- package/dist/capabilities/motion-detection.cap.d.ts +4 -4
- package/dist/capabilities/notification-rules.cap.d.ts +572 -18
- package/dist/capabilities/osd-manager.cap.d.ts +1 -1
- package/dist/capabilities/pipeline-analytics.cap.d.ts +50 -127
- package/dist/capabilities/pipeline-executor.cap.d.ts +78 -120
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +16 -64
- package/dist/capabilities/pipeline-runner.cap.d.ts +6 -6
- package/dist/capabilities/platform-probe.cap.d.ts +4 -13
- package/dist/capabilities/recording-export.cap.d.ts +7 -7
- package/dist/capabilities/schemas/detection-shared.d.ts +4 -4
- package/dist/capabilities/schemas/streaming-shared.d.ts +8 -8
- package/dist/capabilities/stream-broker.cap.d.ts +9 -9
- package/dist/capabilities/system.cap.d.ts +2 -2
- package/dist/capabilities/vacuum-control.cap.d.ts +13 -13
- package/dist/capabilities/videoclips.cap.d.ts +5 -5
- package/dist/capabilities/webrtc-session.cap.d.ts +2 -2
- package/dist/generated/addon-api.d.ts +9 -9
- package/dist/generated/cap-input-defaults.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.js +1782 -1413
- package/dist/index.mjs +1767 -1409
- package/dist/interfaces/event-bus.d.ts +1 -1
- package/dist/interfaces/pipeline-executor-capability.d.ts +15 -6
- package/dist/interfaces/platform.d.ts +2 -2
- package/dist/interfaces/stream-broker.d.ts +2 -2
- package/dist/notification/system-event-summary.d.ts +83 -0
- package/dist/notification/template-vars.d.ts +15 -0
- package/dist/{sleep-DtomDrRW.js → sleep-BDYxE1ax.js} +1 -1
- package/dist/{sleep-DU7mu4wb.mjs → sleep-BaRu0bS5.mjs} +1 -1
- package/dist/types/detection.d.ts +9 -0
- package/dist/types/models.d.ts +0 -19
- package/dist/types/pipeline-step.d.ts +9 -1
- package/dist/types/pipeline.d.ts +2 -1
- package/dist/utils/background-run-registry.d.ts +69 -0
- package/dist/utils/runtime-mapping.d.ts +9 -54
- package/package.json +1 -1
|
@@ -708,9 +708,9 @@ export declare const osdManagerCapability: {
|
|
|
708
708
|
audio: "audio";
|
|
709
709
|
class: "class";
|
|
710
710
|
label: "label";
|
|
711
|
+
zones: "zones";
|
|
711
712
|
device: "device";
|
|
712
713
|
system: "system";
|
|
713
|
-
zones: "zones";
|
|
714
714
|
occupancy: "occupancy";
|
|
715
715
|
scope: "scope";
|
|
716
716
|
schedule: "schedule";
|
|
@@ -27,10 +27,10 @@ import { type InferProvider } from './capability-definition.js';
|
|
|
27
27
|
*/
|
|
28
28
|
declare const TrackStateSchema: z.ZodEnum<{
|
|
29
29
|
moving: "moving";
|
|
30
|
-
left: "left";
|
|
31
|
-
idle: "idle";
|
|
32
30
|
new: "new";
|
|
33
31
|
entered: "entered";
|
|
32
|
+
left: "left";
|
|
33
|
+
idle: "idle";
|
|
34
34
|
}>;
|
|
35
35
|
export type TrackState = z.infer<typeof TrackStateSchema>;
|
|
36
36
|
declare const EventKindSchema: z.ZodEnum<{
|
|
@@ -86,8 +86,8 @@ export declare const EventKindCategorySchema: z.ZodEnum<{
|
|
|
86
86
|
export type EventKindCategory = z.infer<typeof EventKindCategorySchema>;
|
|
87
87
|
/** Taxonomy level — macro (timeline lane) vs sub (events-page leaf). */
|
|
88
88
|
export declare const EventKindLevelSchema: z.ZodEnum<{
|
|
89
|
-
sub: "sub";
|
|
90
89
|
macro: "macro";
|
|
90
|
+
sub: "sub";
|
|
91
91
|
}>;
|
|
92
92
|
export type EventKindLevel = z.infer<typeof EventKindLevelSchema>;
|
|
93
93
|
declare const EventKindDescriptorSchema: z.ZodObject<{
|
|
@@ -121,8 +121,8 @@ declare const EventKindDescriptorSchema: z.ZodObject<{
|
|
|
121
121
|
}>;
|
|
122
122
|
parentKind: z.ZodNullable<z.ZodString>;
|
|
123
123
|
level: z.ZodEnum<{
|
|
124
|
-
sub: "sub";
|
|
125
124
|
macro: "macro";
|
|
125
|
+
sub: "sub";
|
|
126
126
|
}>;
|
|
127
127
|
source: z.ZodObject<{
|
|
128
128
|
capName: z.ZodString;
|
|
@@ -164,8 +164,8 @@ declare const EventKindsForDeviceSchema: z.ZodObject<{
|
|
|
164
164
|
}>;
|
|
165
165
|
parentKind: z.ZodNullable<z.ZodString>;
|
|
166
166
|
level: z.ZodEnum<{
|
|
167
|
-
sub: "sub";
|
|
168
167
|
macro: "macro";
|
|
168
|
+
sub: "sub";
|
|
169
169
|
}>;
|
|
170
170
|
source: z.ZodObject<{
|
|
171
171
|
capName: z.ZodString;
|
|
@@ -490,10 +490,10 @@ declare const TrackSchema: z.ZodObject<{
|
|
|
490
490
|
totalDistance: z.ZodNumber;
|
|
491
491
|
state: z.ZodEnum<{
|
|
492
492
|
moving: "moving";
|
|
493
|
-
left: "left";
|
|
494
|
-
idle: "idle";
|
|
495
493
|
new: "new";
|
|
496
494
|
entered: "entered";
|
|
495
|
+
left: "left";
|
|
496
|
+
idle: "idle";
|
|
497
497
|
}>;
|
|
498
498
|
active: z.ZodBoolean;
|
|
499
499
|
importance: z.ZodOptional<z.ZodNumber>;
|
|
@@ -516,6 +516,9 @@ declare const TrackSchema: z.ZodObject<{
|
|
|
516
516
|
hasEmbeddedFace: z.ZodOptional<z.ZodBoolean>;
|
|
517
517
|
hasRider: z.ZodOptional<z.ZodBoolean>;
|
|
518
518
|
previewMissReason: z.ZodOptional<z.ZodString>;
|
|
519
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
520
|
+
frameWidth: z.ZodOptional<z.ZodNumber>;
|
|
521
|
+
frameHeight: z.ZodOptional<z.ZodNumber>;
|
|
519
522
|
label: z.ZodOptional<z.ZodString>;
|
|
520
523
|
labelScore: z.ZodOptional<z.ZodNumber>;
|
|
521
524
|
labelMeta: z.ZodOptional<z.ZodObject<{
|
|
@@ -636,10 +639,10 @@ declare const ObjectEventSchema: z.ZodObject<{
|
|
|
636
639
|
spawnRefused: z.ZodOptional<z.ZodString>;
|
|
637
640
|
state: z.ZodOptional<z.ZodEnum<{
|
|
638
641
|
moving: "moving";
|
|
639
|
-
left: "left";
|
|
640
|
-
idle: "idle";
|
|
641
642
|
new: "new";
|
|
642
643
|
entered: "entered";
|
|
644
|
+
left: "left";
|
|
645
|
+
idle: "idle";
|
|
643
646
|
}>>;
|
|
644
647
|
zoneCrossing: z.ZodOptional<z.ZodObject<{
|
|
645
648
|
direction: z.ZodEnum<{
|
|
@@ -873,9 +876,9 @@ declare const MediaFileInfoSchema: z.ZodObject<{
|
|
|
873
876
|
debugCrop: "debugCrop";
|
|
874
877
|
sceneFrame: "sceneFrame";
|
|
875
878
|
}>;
|
|
876
|
-
url: z.ZodString;
|
|
877
879
|
mediaId: z.ZodNumber;
|
|
878
880
|
sizeBytes: z.ZodNumber;
|
|
881
|
+
url: z.ZodString;
|
|
879
882
|
}, z.core.$strip>;
|
|
880
883
|
export type MediaFileInfo = z.infer<typeof MediaFileInfoSchema>;
|
|
881
884
|
/**
|
|
@@ -1416,10 +1419,10 @@ declare const RecentTracksPageSchema: z.ZodObject<{
|
|
|
1416
1419
|
totalDistance: z.ZodNumber;
|
|
1417
1420
|
state: z.ZodEnum<{
|
|
1418
1421
|
moving: "moving";
|
|
1419
|
-
left: "left";
|
|
1420
|
-
idle: "idle";
|
|
1421
1422
|
new: "new";
|
|
1422
1423
|
entered: "entered";
|
|
1424
|
+
left: "left";
|
|
1425
|
+
idle: "idle";
|
|
1423
1426
|
}>;
|
|
1424
1427
|
active: z.ZodBoolean;
|
|
1425
1428
|
importance: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1442,6 +1445,9 @@ declare const RecentTracksPageSchema: z.ZodObject<{
|
|
|
1442
1445
|
hasEmbeddedFace: z.ZodOptional<z.ZodBoolean>;
|
|
1443
1446
|
hasRider: z.ZodOptional<z.ZodBoolean>;
|
|
1444
1447
|
previewMissReason: z.ZodOptional<z.ZodString>;
|
|
1448
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
1449
|
+
frameWidth: z.ZodOptional<z.ZodNumber>;
|
|
1450
|
+
frameHeight: z.ZodOptional<z.ZodNumber>;
|
|
1445
1451
|
label: z.ZodOptional<z.ZodString>;
|
|
1446
1452
|
labelScore: z.ZodOptional<z.ZodNumber>;
|
|
1447
1453
|
labelMeta: z.ZodOptional<z.ZodObject<{
|
|
@@ -1616,10 +1622,10 @@ declare const TrackedDetectionSchema: z.ZodObject<{
|
|
|
1616
1622
|
zones: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1617
1623
|
state: z.ZodEnum<{
|
|
1618
1624
|
moving: "moving";
|
|
1619
|
-
left: "left";
|
|
1620
|
-
idle: "idle";
|
|
1621
1625
|
new: "new";
|
|
1622
1626
|
entered: "entered";
|
|
1627
|
+
left: "left";
|
|
1628
|
+
idle: "idle";
|
|
1623
1629
|
}>;
|
|
1624
1630
|
}, z.core.$strip>;
|
|
1625
1631
|
export declare const ScoredObjectEventSchema: z.ZodObject<{
|
|
@@ -1639,10 +1645,10 @@ export declare const ScoredObjectEventSchema: z.ZodObject<{
|
|
|
1639
1645
|
spawnRefused: z.ZodOptional<z.ZodString>;
|
|
1640
1646
|
state: z.ZodOptional<z.ZodEnum<{
|
|
1641
1647
|
moving: "moving";
|
|
1642
|
-
left: "left";
|
|
1643
|
-
idle: "idle";
|
|
1644
1648
|
new: "new";
|
|
1645
1649
|
entered: "entered";
|
|
1650
|
+
left: "left";
|
|
1651
|
+
idle: "idle";
|
|
1646
1652
|
}>>;
|
|
1647
1653
|
zoneCrossing: z.ZodOptional<z.ZodObject<{
|
|
1648
1654
|
direction: z.ZodEnum<{
|
|
@@ -1805,34 +1811,6 @@ declare const EventPruneCountsSchema: z.ZodObject<{
|
|
|
1805
1811
|
audio: z.ZodNumber;
|
|
1806
1812
|
}, z.core.$strip>;
|
|
1807
1813
|
export type EventPruneCounts = z.infer<typeof EventPruneCountsSchema>;
|
|
1808
|
-
declare const ReplayTrackSchema: z.ZodObject<{
|
|
1809
|
-
className: z.ZodString;
|
|
1810
|
-
firstSeenMs: z.ZodNumber;
|
|
1811
|
-
lastSeenMs: z.ZodNumber;
|
|
1812
|
-
bbox: z.ZodObject<{
|
|
1813
|
-
x: z.ZodNumber;
|
|
1814
|
-
y: z.ZodNumber;
|
|
1815
|
-
w: z.ZodNumber;
|
|
1816
|
-
h: z.ZodNumber;
|
|
1817
|
-
}, z.core.$strip>;
|
|
1818
|
-
framesMatched: z.ZodNumber;
|
|
1819
|
-
}, z.core.$strip>;
|
|
1820
|
-
declare const RunReplayFrameProcessorResultSchema: z.ZodObject<{
|
|
1821
|
-
tracks: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1822
|
-
className: z.ZodString;
|
|
1823
|
-
firstSeenMs: z.ZodNumber;
|
|
1824
|
-
lastSeenMs: z.ZodNumber;
|
|
1825
|
-
bbox: z.ZodObject<{
|
|
1826
|
-
x: z.ZodNumber;
|
|
1827
|
-
y: z.ZodNumber;
|
|
1828
|
-
w: z.ZodNumber;
|
|
1829
|
-
h: z.ZodNumber;
|
|
1830
|
-
}, z.core.$strip>;
|
|
1831
|
-
framesMatched: z.ZodNumber;
|
|
1832
|
-
}, z.core.$strip>>>;
|
|
1833
|
-
}, z.core.$strip>;
|
|
1834
|
-
export type ReplayTrack = z.infer<typeof ReplayTrackSchema>;
|
|
1835
|
-
export type RunReplayFrameProcessorResult = z.infer<typeof RunReplayFrameProcessorResultSchema>;
|
|
1836
1814
|
/**
|
|
1837
1815
|
* The long-term series a camera produces. A closed union so a typo cannot
|
|
1838
1816
|
* invent one, and the ONE declaration of it — the addon's `AnalyticsLtsSeries`
|
|
@@ -1960,10 +1938,10 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1960
1938
|
totalDistance: z.ZodNumber;
|
|
1961
1939
|
state: z.ZodEnum<{
|
|
1962
1940
|
moving: "moving";
|
|
1963
|
-
left: "left";
|
|
1964
|
-
idle: "idle";
|
|
1965
1941
|
new: "new";
|
|
1966
1942
|
entered: "entered";
|
|
1943
|
+
left: "left";
|
|
1944
|
+
idle: "idle";
|
|
1967
1945
|
}>;
|
|
1968
1946
|
active: z.ZodBoolean;
|
|
1969
1947
|
importance: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1986,6 +1964,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1986
1964
|
hasEmbeddedFace: z.ZodOptional<z.ZodBoolean>;
|
|
1987
1965
|
hasRider: z.ZodOptional<z.ZodBoolean>;
|
|
1988
1966
|
previewMissReason: z.ZodOptional<z.ZodString>;
|
|
1967
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
1968
|
+
frameWidth: z.ZodOptional<z.ZodNumber>;
|
|
1969
|
+
frameHeight: z.ZodOptional<z.ZodNumber>;
|
|
1989
1970
|
label: z.ZodOptional<z.ZodString>;
|
|
1990
1971
|
labelScore: z.ZodOptional<z.ZodNumber>;
|
|
1991
1972
|
labelMeta: z.ZodOptional<z.ZodObject<{
|
|
@@ -2070,10 +2051,10 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2070
2051
|
totalDistance: z.ZodNumber;
|
|
2071
2052
|
state: z.ZodEnum<{
|
|
2072
2053
|
moving: "moving";
|
|
2073
|
-
left: "left";
|
|
2074
|
-
idle: "idle";
|
|
2075
2054
|
new: "new";
|
|
2076
2055
|
entered: "entered";
|
|
2056
|
+
left: "left";
|
|
2057
|
+
idle: "idle";
|
|
2077
2058
|
}>;
|
|
2078
2059
|
active: z.ZodBoolean;
|
|
2079
2060
|
importance: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2096,6 +2077,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2096
2077
|
hasEmbeddedFace: z.ZodOptional<z.ZodBoolean>;
|
|
2097
2078
|
hasRider: z.ZodOptional<z.ZodBoolean>;
|
|
2098
2079
|
previewMissReason: z.ZodOptional<z.ZodString>;
|
|
2080
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
2081
|
+
frameWidth: z.ZodOptional<z.ZodNumber>;
|
|
2082
|
+
frameHeight: z.ZodOptional<z.ZodNumber>;
|
|
2099
2083
|
label: z.ZodOptional<z.ZodString>;
|
|
2100
2084
|
labelScore: z.ZodOptional<z.ZodNumber>;
|
|
2101
2085
|
labelMeta: z.ZodOptional<z.ZodObject<{
|
|
@@ -2210,10 +2194,10 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2210
2194
|
totalDistance: z.ZodNumber;
|
|
2211
2195
|
state: z.ZodEnum<{
|
|
2212
2196
|
moving: "moving";
|
|
2213
|
-
left: "left";
|
|
2214
|
-
idle: "idle";
|
|
2215
2197
|
new: "new";
|
|
2216
2198
|
entered: "entered";
|
|
2199
|
+
left: "left";
|
|
2200
|
+
idle: "idle";
|
|
2217
2201
|
}>;
|
|
2218
2202
|
active: z.ZodBoolean;
|
|
2219
2203
|
importance: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2236,6 +2220,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2236
2220
|
hasEmbeddedFace: z.ZodOptional<z.ZodBoolean>;
|
|
2237
2221
|
hasRider: z.ZodOptional<z.ZodBoolean>;
|
|
2238
2222
|
previewMissReason: z.ZodOptional<z.ZodString>;
|
|
2223
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
2224
|
+
frameWidth: z.ZodOptional<z.ZodNumber>;
|
|
2225
|
+
frameHeight: z.ZodOptional<z.ZodNumber>;
|
|
2239
2226
|
label: z.ZodOptional<z.ZodString>;
|
|
2240
2227
|
labelScore: z.ZodOptional<z.ZodNumber>;
|
|
2241
2228
|
labelMeta: z.ZodOptional<z.ZodObject<{
|
|
@@ -2346,10 +2333,10 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2346
2333
|
totalDistance: z.ZodNumber;
|
|
2347
2334
|
state: z.ZodEnum<{
|
|
2348
2335
|
moving: "moving";
|
|
2349
|
-
left: "left";
|
|
2350
|
-
idle: "idle";
|
|
2351
2336
|
new: "new";
|
|
2352
2337
|
entered: "entered";
|
|
2338
|
+
left: "left";
|
|
2339
|
+
idle: "idle";
|
|
2353
2340
|
}>;
|
|
2354
2341
|
active: z.ZodBoolean;
|
|
2355
2342
|
importance: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2372,6 +2359,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2372
2359
|
hasEmbeddedFace: z.ZodOptional<z.ZodBoolean>;
|
|
2373
2360
|
hasRider: z.ZodOptional<z.ZodBoolean>;
|
|
2374
2361
|
previewMissReason: z.ZodOptional<z.ZodString>;
|
|
2362
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
2363
|
+
frameWidth: z.ZodOptional<z.ZodNumber>;
|
|
2364
|
+
frameHeight: z.ZodOptional<z.ZodNumber>;
|
|
2375
2365
|
label: z.ZodOptional<z.ZodString>;
|
|
2376
2366
|
labelScore: z.ZodOptional<z.ZodNumber>;
|
|
2377
2367
|
labelMeta: z.ZodOptional<z.ZodObject<{
|
|
@@ -2534,10 +2524,10 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2534
2524
|
spawnRefused: z.ZodOptional<z.ZodString>;
|
|
2535
2525
|
state: z.ZodOptional<z.ZodEnum<{
|
|
2536
2526
|
moving: "moving";
|
|
2537
|
-
left: "left";
|
|
2538
|
-
idle: "idle";
|
|
2539
2527
|
new: "new";
|
|
2540
2528
|
entered: "entered";
|
|
2529
|
+
left: "left";
|
|
2530
|
+
idle: "idle";
|
|
2541
2531
|
}>>;
|
|
2542
2532
|
zoneCrossing: z.ZodOptional<z.ZodObject<{
|
|
2543
2533
|
direction: z.ZodEnum<{
|
|
@@ -2644,8 +2634,8 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2644
2634
|
}>;
|
|
2645
2635
|
parentKind: z.ZodNullable<z.ZodString>;
|
|
2646
2636
|
level: z.ZodEnum<{
|
|
2647
|
-
sub: "sub";
|
|
2648
2637
|
macro: "macro";
|
|
2638
|
+
sub: "sub";
|
|
2649
2639
|
}>;
|
|
2650
2640
|
source: z.ZodObject<{
|
|
2651
2641
|
capName: z.ZodString;
|
|
@@ -2705,8 +2695,8 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2705
2695
|
}>;
|
|
2706
2696
|
parentKind: z.ZodNullable<z.ZodString>;
|
|
2707
2697
|
level: z.ZodEnum<{
|
|
2708
|
-
sub: "sub";
|
|
2709
2698
|
macro: "macro";
|
|
2699
|
+
sub: "sub";
|
|
2710
2700
|
}>;
|
|
2711
2701
|
source: z.ZodObject<{
|
|
2712
2702
|
capName: z.ZodString;
|
|
@@ -3802,73 +3792,6 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
3802
3792
|
reason: z.ZodString;
|
|
3803
3793
|
detail: z.ZodOptional<z.ZodString>;
|
|
3804
3794
|
}, z.core.$strip>], "kind">, "mutation">;
|
|
3805
|
-
/**
|
|
3806
|
-
* The FrameProcessor pass of a replay run — see the `Replay` section
|
|
3807
|
-
* above this capability's definition for why this is not the
|
|
3808
|
-
* `processFrame` method this file's header says pipeline-analytics does
|
|
3809
|
-
* not have.
|
|
3810
|
-
*
|
|
3811
|
-
* Constructs a FRESH `FrameProcessor` for `(deviceId, source)`, feeds it
|
|
3812
|
-
* `frames` IN THE ORDER GIVEN (the caller is responsible for time
|
|
3813
|
-
* ordering — this method does not sort), and returns the tracks it
|
|
3814
|
-
* produced. Zero persistence: no `TrackStore`, no event bus, no media
|
|
3815
|
-
* capture. `zones` / `detectionRules` are the run's OWN zone set —
|
|
3816
|
-
* typically the camera's real zones plus an ephemeral overlay
|
|
3817
|
-
* (`addon-benchmark`'s `replay-plan.ts`), never read from or written to
|
|
3818
|
-
* the `zones` capability by this method itself.
|
|
3819
|
-
*/
|
|
3820
|
-
readonly runReplayFrameProcessor: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
3821
|
-
deviceId: z.ZodNumber;
|
|
3822
|
-
source: z.ZodEnum<{
|
|
3823
|
-
pipeline: "pipeline";
|
|
3824
|
-
onboard: "onboard";
|
|
3825
|
-
}>;
|
|
3826
|
-
zones: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3827
|
-
id: z.ZodString;
|
|
3828
|
-
name: z.ZodString;
|
|
3829
|
-
kind: z.ZodDefault<z.ZodEnum<{
|
|
3830
|
-
polygon: "polygon";
|
|
3831
|
-
tripwire: "tripwire";
|
|
3832
|
-
}>>;
|
|
3833
|
-
polygon: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3834
|
-
x: z.ZodNumber;
|
|
3835
|
-
y: z.ZodNumber;
|
|
3836
|
-
}, z.core.$strip>>>;
|
|
3837
|
-
color: z.ZodDefault<z.ZodString>;
|
|
3838
|
-
}, z.core.$strip>>>>;
|
|
3839
|
-
detectionRules: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3840
|
-
id: z.ZodString;
|
|
3841
|
-
name: z.ZodOptional<z.ZodString>;
|
|
3842
|
-
zoneIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
3843
|
-
mode: z.ZodEnum<{
|
|
3844
|
-
include: "include";
|
|
3845
|
-
exclude: "exclude";
|
|
3846
|
-
}>;
|
|
3847
|
-
classFilter: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
3848
|
-
overlapThreshold: z.ZodOptional<z.ZodNumber>;
|
|
3849
|
-
bboxInclusionPct: z.ZodOptional<z.ZodNumber>;
|
|
3850
|
-
preferMask: z.ZodOptional<z.ZodBoolean>;
|
|
3851
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
3852
|
-
}, z.core.$strip>>>>;
|
|
3853
|
-
zoneMembershipMinOverlap: z.ZodOptional<z.ZodNumber>;
|
|
3854
|
-
frames: z.ZodArray<z.ZodObject<{
|
|
3855
|
-
timestamp: z.ZodNumber;
|
|
3856
|
-
frame: z.ZodCustom<import("../index.js").FrameResult, import("../index.js").FrameResult>;
|
|
3857
|
-
}, z.core.$strip>>;
|
|
3858
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3859
|
-
tracks: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3860
|
-
className: z.ZodString;
|
|
3861
|
-
firstSeenMs: z.ZodNumber;
|
|
3862
|
-
lastSeenMs: z.ZodNumber;
|
|
3863
|
-
bbox: z.ZodObject<{
|
|
3864
|
-
x: z.ZodNumber;
|
|
3865
|
-
y: z.ZodNumber;
|
|
3866
|
-
w: z.ZodNumber;
|
|
3867
|
-
h: z.ZodNumber;
|
|
3868
|
-
}, z.core.$strip>;
|
|
3869
|
-
framesMatched: z.ZodNumber;
|
|
3870
|
-
}, z.core.$strip>>>;
|
|
3871
|
-
}, z.core.$strip>, "mutation">;
|
|
3872
3795
|
/** Every annotation on a track, oldest first. */
|
|
3873
3796
|
readonly listRetrainAnnotations: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
3874
3797
|
trackId: z.ZodString;
|
|
@@ -4211,9 +4134,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
4211
4134
|
debugCrop: "debugCrop";
|
|
4212
4135
|
sceneFrame: "sceneFrame";
|
|
4213
4136
|
}>;
|
|
4214
|
-
url: z.ZodString;
|
|
4215
4137
|
mediaId: z.ZodNumber;
|
|
4216
4138
|
sizeBytes: z.ZodNumber;
|
|
4139
|
+
url: z.ZodString;
|
|
4217
4140
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
4218
4141
|
/**
|
|
4219
4142
|
* What media an EVENT has, without any of it — the twin `getEventMedia`
|
|
@@ -4260,9 +4183,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
4260
4183
|
debugCrop: "debugCrop";
|
|
4261
4184
|
sceneFrame: "sceneFrame";
|
|
4262
4185
|
}>;
|
|
4263
|
-
url: z.ZodString;
|
|
4264
4186
|
mediaId: z.ZodNumber;
|
|
4265
4187
|
sizeBytes: z.ZodNumber;
|
|
4188
|
+
url: z.ZodString;
|
|
4266
4189
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
4267
4190
|
/**
|
|
4268
4191
|
* Which of `ownerIds` hold at least ONE media row — an INDEX read, never a
|
|
@@ -4331,10 +4254,10 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
4331
4254
|
spawnRefused: z.ZodOptional<z.ZodString>;
|
|
4332
4255
|
state: z.ZodOptional<z.ZodEnum<{
|
|
4333
4256
|
moving: "moving";
|
|
4334
|
-
left: "left";
|
|
4335
|
-
idle: "idle";
|
|
4336
4257
|
new: "new";
|
|
4337
4258
|
entered: "entered";
|
|
4259
|
+
left: "left";
|
|
4260
|
+
idle: "idle";
|
|
4338
4261
|
}>>;
|
|
4339
4262
|
zoneCrossing: z.ZodOptional<z.ZodObject<{
|
|
4340
4263
|
direction: z.ZodEnum<{
|