@camstack/types 1.2.97 → 1.2.99
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/capabilities/alerts.cap.d.ts +5 -5
- package/dist/capabilities/custom-model-registry.cap.d.ts +18 -0
- package/dist/capabilities/decoder.cap.d.ts +12 -12
- package/dist/capabilities/index.d.ts +1 -1
- package/dist/capabilities/local-network.cap.d.ts +42 -11
- package/dist/capabilities/model-convert.cap.d.ts +27 -0
- package/dist/capabilities/model-distributor.cap.d.ts +18 -0
- package/dist/capabilities/motion-detection.cap.d.ts +4 -4
- package/dist/capabilities/native-object-detection.cap.d.ts +15 -15
- package/dist/capabilities/notification-rules.cap.d.ts +2 -2
- package/dist/capabilities/osd-manager.cap.d.ts +1 -1
- package/dist/capabilities/pipeline-analytics.cap.d.ts +10 -10
- package/dist/capabilities/pipeline-executor.cap.d.ts +16 -12
- package/dist/capabilities/pipeline-runner.cap.d.ts +182 -5
- package/dist/capabilities/schemas/detection-shared.d.ts +4 -4
- package/dist/capabilities/schemas/streaming-shared.d.ts +6 -6
- package/dist/capabilities/stream-broker.cap.d.ts +3 -3
- package/dist/capabilities/terminal-session.cap.d.ts +10 -0
- package/dist/capabilities/zone-rules.cap.d.ts +3 -3
- package/dist/generated/addon-api.d.ts +14 -0
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +157 -23
- package/dist/index.mjs +154 -24
- package/dist/interfaces/pipeline-executor-capability.d.ts +3 -0
- package/dist/interfaces/pipeline-runner-capability.d.ts +31 -0
- package/dist/interfaces/stream-broker.d.ts +5 -2
- package/dist/types/frame-view.d.ts +52 -0
- package/dist/types/io.d.ts +3 -0
- package/dist/types/labels.d.ts +11 -0
- package/dist/types/models.d.ts +27 -0
- package/package.json +1 -1
|
@@ -64,11 +64,11 @@ export declare const EventKindIconSchema: z.ZodEnum<{
|
|
|
64
64
|
person: "person";
|
|
65
65
|
vehicle: "vehicle";
|
|
66
66
|
animal: "animal";
|
|
67
|
+
package: "package";
|
|
67
68
|
button: "button";
|
|
68
69
|
generic: "generic";
|
|
69
70
|
motion: "motion";
|
|
70
71
|
smoke: "smoke";
|
|
71
|
-
package: "package";
|
|
72
72
|
water: "water";
|
|
73
73
|
door: "door";
|
|
74
74
|
pir: "pir";
|
|
@@ -76,11 +76,11 @@ export declare const EventKindIconSchema: z.ZodEnum<{
|
|
|
76
76
|
export type EventKindIcon = z.infer<typeof EventKindIconSchema>;
|
|
77
77
|
export declare const EventKindCategorySchema: z.ZodEnum<{
|
|
78
78
|
audio: "audio";
|
|
79
|
+
package: "package";
|
|
79
80
|
custom: "custom";
|
|
80
81
|
sensor: "sensor";
|
|
81
82
|
control: "control";
|
|
82
83
|
motion: "motion";
|
|
83
|
-
package: "package";
|
|
84
84
|
detection: "detection";
|
|
85
85
|
}>;
|
|
86
86
|
export type EventKindCategory = z.infer<typeof EventKindCategorySchema>;
|
|
@@ -101,22 +101,22 @@ declare const EventKindDescriptorSchema: z.ZodObject<{
|
|
|
101
101
|
person: "person";
|
|
102
102
|
vehicle: "vehicle";
|
|
103
103
|
animal: "animal";
|
|
104
|
+
package: "package";
|
|
104
105
|
button: "button";
|
|
105
106
|
generic: "generic";
|
|
106
107
|
motion: "motion";
|
|
107
108
|
smoke: "smoke";
|
|
108
|
-
package: "package";
|
|
109
109
|
water: "water";
|
|
110
110
|
door: "door";
|
|
111
111
|
pir: "pir";
|
|
112
112
|
}>;
|
|
113
113
|
category: z.ZodEnum<{
|
|
114
114
|
audio: "audio";
|
|
115
|
+
package: "package";
|
|
115
116
|
custom: "custom";
|
|
116
117
|
sensor: "sensor";
|
|
117
118
|
control: "control";
|
|
118
119
|
motion: "motion";
|
|
119
|
-
package: "package";
|
|
120
120
|
detection: "detection";
|
|
121
121
|
}>;
|
|
122
122
|
parentKind: z.ZodNullable<z.ZodString>;
|
|
@@ -144,22 +144,22 @@ declare const EventKindsForDeviceSchema: z.ZodObject<{
|
|
|
144
144
|
person: "person";
|
|
145
145
|
vehicle: "vehicle";
|
|
146
146
|
animal: "animal";
|
|
147
|
+
package: "package";
|
|
147
148
|
button: "button";
|
|
148
149
|
generic: "generic";
|
|
149
150
|
motion: "motion";
|
|
150
151
|
smoke: "smoke";
|
|
151
|
-
package: "package";
|
|
152
152
|
water: "water";
|
|
153
153
|
door: "door";
|
|
154
154
|
pir: "pir";
|
|
155
155
|
}>;
|
|
156
156
|
category: z.ZodEnum<{
|
|
157
157
|
audio: "audio";
|
|
158
|
+
package: "package";
|
|
158
159
|
custom: "custom";
|
|
159
160
|
sensor: "sensor";
|
|
160
161
|
control: "control";
|
|
161
162
|
motion: "motion";
|
|
162
|
-
package: "package";
|
|
163
163
|
detection: "detection";
|
|
164
164
|
}>;
|
|
165
165
|
parentKind: z.ZodNullable<z.ZodString>;
|
|
@@ -1849,22 +1849,22 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1849
1849
|
person: "person";
|
|
1850
1850
|
vehicle: "vehicle";
|
|
1851
1851
|
animal: "animal";
|
|
1852
|
+
package: "package";
|
|
1852
1853
|
button: "button";
|
|
1853
1854
|
generic: "generic";
|
|
1854
1855
|
motion: "motion";
|
|
1855
1856
|
smoke: "smoke";
|
|
1856
|
-
package: "package";
|
|
1857
1857
|
water: "water";
|
|
1858
1858
|
door: "door";
|
|
1859
1859
|
pir: "pir";
|
|
1860
1860
|
}>;
|
|
1861
1861
|
category: z.ZodEnum<{
|
|
1862
1862
|
audio: "audio";
|
|
1863
|
+
package: "package";
|
|
1863
1864
|
custom: "custom";
|
|
1864
1865
|
sensor: "sensor";
|
|
1865
1866
|
control: "control";
|
|
1866
1867
|
motion: "motion";
|
|
1867
|
-
package: "package";
|
|
1868
1868
|
detection: "detection";
|
|
1869
1869
|
}>;
|
|
1870
1870
|
parentKind: z.ZodNullable<z.ZodString>;
|
|
@@ -1910,22 +1910,22 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1910
1910
|
person: "person";
|
|
1911
1911
|
vehicle: "vehicle";
|
|
1912
1912
|
animal: "animal";
|
|
1913
|
+
package: "package";
|
|
1913
1914
|
button: "button";
|
|
1914
1915
|
generic: "generic";
|
|
1915
1916
|
motion: "motion";
|
|
1916
1917
|
smoke: "smoke";
|
|
1917
|
-
package: "package";
|
|
1918
1918
|
water: "water";
|
|
1919
1919
|
door: "door";
|
|
1920
1920
|
pir: "pir";
|
|
1921
1921
|
}>;
|
|
1922
1922
|
category: z.ZodEnum<{
|
|
1923
1923
|
audio: "audio";
|
|
1924
|
+
package: "package";
|
|
1924
1925
|
custom: "custom";
|
|
1925
1926
|
sensor: "sensor";
|
|
1926
1927
|
control: "control";
|
|
1927
1928
|
motion: "motion";
|
|
1928
|
-
package: "package";
|
|
1929
1929
|
detection: "detection";
|
|
1930
1930
|
}>;
|
|
1931
1931
|
parentKind: z.ZodNullable<z.ZodString>;
|
|
@@ -4,6 +4,7 @@ import type { ConfigUISchema, ConfigField } from '../interfaces/config-ui.js';
|
|
|
4
4
|
import type { InferenceCapabilities, ModelAvailability } from '../interfaces/inference-capabilities.js';
|
|
5
5
|
import type { PipelineConfig } from '../types/pipeline.js';
|
|
6
6
|
import type { FrameResult, AudioResult } from '../types/detection.js';
|
|
7
|
+
import type { FrameRef, FrameViewSpec } from '../types/frame-view.js';
|
|
7
8
|
/**
|
|
8
9
|
* Reference to the frame's retained NATIVE surface + the parent crop's placement
|
|
9
10
|
* within the frame, so the executor can re-cut a leaf child ROI at native
|
|
@@ -17,11 +18,11 @@ export declare const NativeCropRefSchema: z.ZodObject<{
|
|
|
17
18
|
width: z.ZodNumber;
|
|
18
19
|
height: z.ZodNumber;
|
|
19
20
|
format: z.ZodEnum<{
|
|
20
|
-
jpeg: "jpeg";
|
|
21
21
|
rgb: "rgb";
|
|
22
|
+
gray: "gray";
|
|
23
|
+
jpeg: "jpeg";
|
|
22
24
|
bgr: "bgr";
|
|
23
25
|
yuv420: "yuv420";
|
|
24
|
-
gray: "gray";
|
|
25
26
|
}>;
|
|
26
27
|
pts: z.ZodNumber;
|
|
27
28
|
byteLength: z.ZodNumber;
|
|
@@ -36,6 +37,8 @@ export declare const NativeCropRefSchema: z.ZodObject<{
|
|
|
36
37
|
}, z.core.$strip>;
|
|
37
38
|
}, z.core.$strip>;
|
|
38
39
|
export type NativeCropRef = z.infer<typeof NativeCropRefSchema>;
|
|
40
|
+
export declare const FrameViewSpecSchema: z.ZodType<FrameViewSpec>;
|
|
41
|
+
export declare const FrameRefSchema: z.ZodType<FrameRef>;
|
|
39
42
|
declare const PipelineEngineChoiceSchema: z.ZodObject<{
|
|
40
43
|
runtime: z.ZodEnum<{
|
|
41
44
|
node: "node";
|
|
@@ -856,7 +859,7 @@ export declare const pipelineExecutorCapability: {
|
|
|
856
859
|
* legacy call shape used by existing benchmark code; once all
|
|
857
860
|
* callers pass it explicitly we make it required.
|
|
858
861
|
*
|
|
859
|
-
* Exactly one of `frame`, `frameHandle`, `imageBase64`,
|
|
862
|
+
* Exactly one of `frame`, `frameRef`, `frameHandle`, `imageBase64`,
|
|
860
863
|
* `referenceImage` must be provided:
|
|
861
864
|
* - `frame`: runtime dispatch path (runner → decoded broker frame).
|
|
862
865
|
* Carries the raw buffer, dimensions, and format; the executor
|
|
@@ -894,16 +897,17 @@ export declare const pipelineExecutorCapability: {
|
|
|
894
897
|
frame: z.ZodOptional<z.ZodObject<{
|
|
895
898
|
data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
|
|
896
899
|
format: z.ZodEnum<{
|
|
897
|
-
jpeg: "jpeg";
|
|
898
900
|
rgb: "rgb";
|
|
901
|
+
gray: "gray";
|
|
902
|
+
jpeg: "jpeg";
|
|
899
903
|
bgr: "bgr";
|
|
900
904
|
yuv420: "yuv420";
|
|
901
|
-
gray: "gray";
|
|
902
905
|
}>;
|
|
903
906
|
width: z.ZodNumber;
|
|
904
907
|
height: z.ZodNumber;
|
|
905
908
|
timestamp: z.ZodNumber;
|
|
906
909
|
}, z.core.$strip>>;
|
|
910
|
+
frameRef: z.ZodOptional<z.ZodType<FrameRef, unknown, z.core.$ZodTypeInternals<FrameRef, unknown>>>;
|
|
907
911
|
frameHandle: z.ZodOptional<z.ZodObject<{
|
|
908
912
|
shmId: z.ZodString;
|
|
909
913
|
slot: z.ZodNumber;
|
|
@@ -911,11 +915,11 @@ export declare const pipelineExecutorCapability: {
|
|
|
911
915
|
width: z.ZodNumber;
|
|
912
916
|
height: z.ZodNumber;
|
|
913
917
|
format: z.ZodEnum<{
|
|
914
|
-
jpeg: "jpeg";
|
|
915
918
|
rgb: "rgb";
|
|
919
|
+
gray: "gray";
|
|
920
|
+
jpeg: "jpeg";
|
|
916
921
|
bgr: "bgr";
|
|
917
922
|
yuv420: "yuv420";
|
|
918
|
-
gray: "gray";
|
|
919
923
|
}>;
|
|
920
924
|
pts: z.ZodNumber;
|
|
921
925
|
byteLength: z.ZodNumber;
|
|
@@ -940,11 +944,11 @@ export declare const pipelineExecutorCapability: {
|
|
|
940
944
|
width: z.ZodNumber;
|
|
941
945
|
height: z.ZodNumber;
|
|
942
946
|
format: z.ZodEnum<{
|
|
943
|
-
jpeg: "jpeg";
|
|
944
947
|
rgb: "rgb";
|
|
948
|
+
gray: "gray";
|
|
949
|
+
jpeg: "jpeg";
|
|
945
950
|
bgr: "bgr";
|
|
946
951
|
yuv420: "yuv420";
|
|
947
|
-
gray: "gray";
|
|
948
952
|
}>;
|
|
949
953
|
pts: z.ZodNumber;
|
|
950
954
|
byteLength: z.ZodNumber;
|
|
@@ -991,11 +995,11 @@ export declare const pipelineExecutorCapability: {
|
|
|
991
995
|
frames: z.ZodArray<z.ZodObject<{
|
|
992
996
|
data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
|
|
993
997
|
format: z.ZodEnum<{
|
|
994
|
-
jpeg: "jpeg";
|
|
995
998
|
rgb: "rgb";
|
|
999
|
+
gray: "gray";
|
|
1000
|
+
jpeg: "jpeg";
|
|
996
1001
|
bgr: "bgr";
|
|
997
1002
|
yuv420: "yuv420";
|
|
998
|
-
gray: "gray";
|
|
999
1003
|
}>;
|
|
1000
1004
|
width: z.ZodNumber;
|
|
1001
1005
|
height: z.ZodNumber;
|
|
@@ -1020,8 +1024,8 @@ export declare const pipelineExecutorCapability: {
|
|
|
1020
1024
|
height: z.ZodNumber;
|
|
1021
1025
|
format: z.ZodEnum<{
|
|
1022
1026
|
rgb: "rgb";
|
|
1023
|
-
bgr: "bgr";
|
|
1024
1027
|
gray: "gray";
|
|
1028
|
+
bgr: "bgr";
|
|
1025
1029
|
}>;
|
|
1026
1030
|
}, z.core.$strip>, z.ZodObject<{
|
|
1027
1031
|
frameId: z.ZodNumber;
|
|
@@ -302,12 +302,138 @@ declare const RunnerLocalLoadSchema: z.ZodObject<{
|
|
|
302
302
|
* legacy `OrchestratorMetricsSchema` shape so existing dashboards keep
|
|
303
303
|
* working unchanged when they switch to reading from the runner cap.
|
|
304
304
|
*/
|
|
305
|
+
declare const FrameLazyCountersSchema: z.ZodObject<{
|
|
306
|
+
framesDecoded: z.ZodNumber;
|
|
307
|
+
framesAdmitted: z.ZodNumber;
|
|
308
|
+
framesDroppedPixelFree: z.ZodNumber;
|
|
309
|
+
viewsMaterialized: z.ZodNumber;
|
|
310
|
+
viewsSkipped: z.ZodNumber;
|
|
311
|
+
workerToRunnerBytes: z.ZodNumber;
|
|
312
|
+
runnerToPoolRawBytes: z.ZodNumber;
|
|
313
|
+
runnerToPoolJpegBytes: z.ZodNumber;
|
|
314
|
+
onDemandFullFrameRequests: z.ZodNumber;
|
|
315
|
+
onDemandCropRequests: z.ZodNumber;
|
|
316
|
+
nativeHits: z.ZodNumber;
|
|
317
|
+
nativeMisses: z.ZodNumber;
|
|
318
|
+
tileHits: z.ZodNumber;
|
|
319
|
+
tileMisses: z.ZodNumber;
|
|
320
|
+
fallbackHits: z.ZodNumber;
|
|
321
|
+
fallbackMisses: z.ZodNumber;
|
|
322
|
+
retainedWritesAvoided: z.ZodNumber;
|
|
323
|
+
residentRefs: z.ZodNumber;
|
|
324
|
+
residentBytes: z.ZodNumber;
|
|
325
|
+
releases: z.ZodNumber;
|
|
326
|
+
evictions: z.ZodNumber;
|
|
327
|
+
staleMisses: z.ZodNumber;
|
|
328
|
+
}, z.core.$strip>;
|
|
329
|
+
declare const FrameLazyMetricsSchema: z.ZodObject<{
|
|
330
|
+
node: z.ZodObject<{
|
|
331
|
+
framesDecoded: z.ZodNumber;
|
|
332
|
+
framesAdmitted: z.ZodNumber;
|
|
333
|
+
framesDroppedPixelFree: z.ZodNumber;
|
|
334
|
+
viewsMaterialized: z.ZodNumber;
|
|
335
|
+
viewsSkipped: z.ZodNumber;
|
|
336
|
+
workerToRunnerBytes: z.ZodNumber;
|
|
337
|
+
runnerToPoolRawBytes: z.ZodNumber;
|
|
338
|
+
runnerToPoolJpegBytes: z.ZodNumber;
|
|
339
|
+
onDemandFullFrameRequests: z.ZodNumber;
|
|
340
|
+
onDemandCropRequests: z.ZodNumber;
|
|
341
|
+
nativeHits: z.ZodNumber;
|
|
342
|
+
nativeMisses: z.ZodNumber;
|
|
343
|
+
tileHits: z.ZodNumber;
|
|
344
|
+
tileMisses: z.ZodNumber;
|
|
345
|
+
fallbackHits: z.ZodNumber;
|
|
346
|
+
fallbackMisses: z.ZodNumber;
|
|
347
|
+
retainedWritesAvoided: z.ZodNumber;
|
|
348
|
+
residentRefs: z.ZodNumber;
|
|
349
|
+
residentBytes: z.ZodNumber;
|
|
350
|
+
releases: z.ZodNumber;
|
|
351
|
+
evictions: z.ZodNumber;
|
|
352
|
+
staleMisses: z.ZodNumber;
|
|
353
|
+
}, z.core.$strip>;
|
|
354
|
+
cameras: z.ZodArray<z.ZodObject<{
|
|
355
|
+
framesDecoded: z.ZodNumber;
|
|
356
|
+
framesAdmitted: z.ZodNumber;
|
|
357
|
+
framesDroppedPixelFree: z.ZodNumber;
|
|
358
|
+
viewsMaterialized: z.ZodNumber;
|
|
359
|
+
viewsSkipped: z.ZodNumber;
|
|
360
|
+
workerToRunnerBytes: z.ZodNumber;
|
|
361
|
+
runnerToPoolRawBytes: z.ZodNumber;
|
|
362
|
+
runnerToPoolJpegBytes: z.ZodNumber;
|
|
363
|
+
onDemandFullFrameRequests: z.ZodNumber;
|
|
364
|
+
onDemandCropRequests: z.ZodNumber;
|
|
365
|
+
nativeHits: z.ZodNumber;
|
|
366
|
+
nativeMisses: z.ZodNumber;
|
|
367
|
+
tileHits: z.ZodNumber;
|
|
368
|
+
tileMisses: z.ZodNumber;
|
|
369
|
+
fallbackHits: z.ZodNumber;
|
|
370
|
+
fallbackMisses: z.ZodNumber;
|
|
371
|
+
retainedWritesAvoided: z.ZodNumber;
|
|
372
|
+
residentRefs: z.ZodNumber;
|
|
373
|
+
residentBytes: z.ZodNumber;
|
|
374
|
+
releases: z.ZodNumber;
|
|
375
|
+
evictions: z.ZodNumber;
|
|
376
|
+
staleMisses: z.ZodNumber;
|
|
377
|
+
deviceId: z.ZodNumber;
|
|
378
|
+
}, z.core.$strip>>;
|
|
379
|
+
}, z.core.$strip>;
|
|
305
380
|
declare const RunnerLocalMetricsSchema: z.ZodObject<{
|
|
306
381
|
nodeId: z.ZodString;
|
|
307
382
|
activeCameras: z.ZodNumber;
|
|
308
383
|
throttledCameras: z.ZodNumber;
|
|
309
384
|
avgInferenceTimeMs: z.ZodNumber;
|
|
310
385
|
queueDepth: z.ZodNumber;
|
|
386
|
+
frameLazy: z.ZodOptional<z.ZodObject<{
|
|
387
|
+
node: z.ZodObject<{
|
|
388
|
+
framesDecoded: z.ZodNumber;
|
|
389
|
+
framesAdmitted: z.ZodNumber;
|
|
390
|
+
framesDroppedPixelFree: z.ZodNumber;
|
|
391
|
+
viewsMaterialized: z.ZodNumber;
|
|
392
|
+
viewsSkipped: z.ZodNumber;
|
|
393
|
+
workerToRunnerBytes: z.ZodNumber;
|
|
394
|
+
runnerToPoolRawBytes: z.ZodNumber;
|
|
395
|
+
runnerToPoolJpegBytes: z.ZodNumber;
|
|
396
|
+
onDemandFullFrameRequests: z.ZodNumber;
|
|
397
|
+
onDemandCropRequests: z.ZodNumber;
|
|
398
|
+
nativeHits: z.ZodNumber;
|
|
399
|
+
nativeMisses: z.ZodNumber;
|
|
400
|
+
tileHits: z.ZodNumber;
|
|
401
|
+
tileMisses: z.ZodNumber;
|
|
402
|
+
fallbackHits: z.ZodNumber;
|
|
403
|
+
fallbackMisses: z.ZodNumber;
|
|
404
|
+
retainedWritesAvoided: z.ZodNumber;
|
|
405
|
+
residentRefs: z.ZodNumber;
|
|
406
|
+
residentBytes: z.ZodNumber;
|
|
407
|
+
releases: z.ZodNumber;
|
|
408
|
+
evictions: z.ZodNumber;
|
|
409
|
+
staleMisses: z.ZodNumber;
|
|
410
|
+
}, z.core.$strip>;
|
|
411
|
+
cameras: z.ZodArray<z.ZodObject<{
|
|
412
|
+
framesDecoded: z.ZodNumber;
|
|
413
|
+
framesAdmitted: z.ZodNumber;
|
|
414
|
+
framesDroppedPixelFree: z.ZodNumber;
|
|
415
|
+
viewsMaterialized: z.ZodNumber;
|
|
416
|
+
viewsSkipped: z.ZodNumber;
|
|
417
|
+
workerToRunnerBytes: z.ZodNumber;
|
|
418
|
+
runnerToPoolRawBytes: z.ZodNumber;
|
|
419
|
+
runnerToPoolJpegBytes: z.ZodNumber;
|
|
420
|
+
onDemandFullFrameRequests: z.ZodNumber;
|
|
421
|
+
onDemandCropRequests: z.ZodNumber;
|
|
422
|
+
nativeHits: z.ZodNumber;
|
|
423
|
+
nativeMisses: z.ZodNumber;
|
|
424
|
+
tileHits: z.ZodNumber;
|
|
425
|
+
tileMisses: z.ZodNumber;
|
|
426
|
+
fallbackHits: z.ZodNumber;
|
|
427
|
+
fallbackMisses: z.ZodNumber;
|
|
428
|
+
retainedWritesAvoided: z.ZodNumber;
|
|
429
|
+
residentRefs: z.ZodNumber;
|
|
430
|
+
residentBytes: z.ZodNumber;
|
|
431
|
+
releases: z.ZodNumber;
|
|
432
|
+
evictions: z.ZodNumber;
|
|
433
|
+
staleMisses: z.ZodNumber;
|
|
434
|
+
deviceId: z.ZodNumber;
|
|
435
|
+
}, z.core.$strip>>;
|
|
436
|
+
}, z.core.$strip>>;
|
|
311
437
|
}, z.core.$strip>;
|
|
312
438
|
/**
|
|
313
439
|
* Pipeline Runner capability — runtime detection workhorse.
|
|
@@ -460,6 +586,57 @@ export declare const pipelineRunnerCapability: {
|
|
|
460
586
|
throttledCameras: z.ZodNumber;
|
|
461
587
|
avgInferenceTimeMs: z.ZodNumber;
|
|
462
588
|
queueDepth: z.ZodNumber;
|
|
589
|
+
frameLazy: z.ZodOptional<z.ZodObject<{
|
|
590
|
+
node: z.ZodObject<{
|
|
591
|
+
framesDecoded: z.ZodNumber;
|
|
592
|
+
framesAdmitted: z.ZodNumber;
|
|
593
|
+
framesDroppedPixelFree: z.ZodNumber;
|
|
594
|
+
viewsMaterialized: z.ZodNumber;
|
|
595
|
+
viewsSkipped: z.ZodNumber;
|
|
596
|
+
workerToRunnerBytes: z.ZodNumber;
|
|
597
|
+
runnerToPoolRawBytes: z.ZodNumber;
|
|
598
|
+
runnerToPoolJpegBytes: z.ZodNumber;
|
|
599
|
+
onDemandFullFrameRequests: z.ZodNumber;
|
|
600
|
+
onDemandCropRequests: z.ZodNumber;
|
|
601
|
+
nativeHits: z.ZodNumber;
|
|
602
|
+
nativeMisses: z.ZodNumber;
|
|
603
|
+
tileHits: z.ZodNumber;
|
|
604
|
+
tileMisses: z.ZodNumber;
|
|
605
|
+
fallbackHits: z.ZodNumber;
|
|
606
|
+
fallbackMisses: z.ZodNumber;
|
|
607
|
+
retainedWritesAvoided: z.ZodNumber;
|
|
608
|
+
residentRefs: z.ZodNumber;
|
|
609
|
+
residentBytes: z.ZodNumber;
|
|
610
|
+
releases: z.ZodNumber;
|
|
611
|
+
evictions: z.ZodNumber;
|
|
612
|
+
staleMisses: z.ZodNumber;
|
|
613
|
+
}, z.core.$strip>;
|
|
614
|
+
cameras: z.ZodArray<z.ZodObject<{
|
|
615
|
+
framesDecoded: z.ZodNumber;
|
|
616
|
+
framesAdmitted: z.ZodNumber;
|
|
617
|
+
framesDroppedPixelFree: z.ZodNumber;
|
|
618
|
+
viewsMaterialized: z.ZodNumber;
|
|
619
|
+
viewsSkipped: z.ZodNumber;
|
|
620
|
+
workerToRunnerBytes: z.ZodNumber;
|
|
621
|
+
runnerToPoolRawBytes: z.ZodNumber;
|
|
622
|
+
runnerToPoolJpegBytes: z.ZodNumber;
|
|
623
|
+
onDemandFullFrameRequests: z.ZodNumber;
|
|
624
|
+
onDemandCropRequests: z.ZodNumber;
|
|
625
|
+
nativeHits: z.ZodNumber;
|
|
626
|
+
nativeMisses: z.ZodNumber;
|
|
627
|
+
tileHits: z.ZodNumber;
|
|
628
|
+
tileMisses: z.ZodNumber;
|
|
629
|
+
fallbackHits: z.ZodNumber;
|
|
630
|
+
fallbackMisses: z.ZodNumber;
|
|
631
|
+
retainedWritesAvoided: z.ZodNumber;
|
|
632
|
+
residentRefs: z.ZodNumber;
|
|
633
|
+
residentBytes: z.ZodNumber;
|
|
634
|
+
releases: z.ZodNumber;
|
|
635
|
+
evictions: z.ZodNumber;
|
|
636
|
+
staleMisses: z.ZodNumber;
|
|
637
|
+
deviceId: z.ZodNumber;
|
|
638
|
+
}, z.core.$strip>>;
|
|
639
|
+
}, z.core.$strip>>;
|
|
463
640
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
464
641
|
/** Per-camera metrics for cameras attached to this runner. */
|
|
465
642
|
readonly getCameraMetrics: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
@@ -525,11 +702,11 @@ export declare const pipelineRunnerCapability: {
|
|
|
525
702
|
width: z.ZodNumber;
|
|
526
703
|
height: z.ZodNumber;
|
|
527
704
|
format: z.ZodEnum<{
|
|
528
|
-
jpeg: "jpeg";
|
|
529
705
|
rgb: "rgb";
|
|
706
|
+
gray: "gray";
|
|
707
|
+
jpeg: "jpeg";
|
|
530
708
|
bgr: "bgr";
|
|
531
709
|
yuv420: "yuv420";
|
|
532
|
-
gray: "gray";
|
|
533
710
|
}>;
|
|
534
711
|
pts: z.ZodNumber;
|
|
535
712
|
byteLength: z.ZodNumber;
|
|
@@ -593,11 +770,11 @@ export declare const pipelineRunnerCapability: {
|
|
|
593
770
|
width: z.ZodNumber;
|
|
594
771
|
height: z.ZodNumber;
|
|
595
772
|
format: z.ZodEnum<{
|
|
596
|
-
jpeg: "jpeg";
|
|
597
773
|
rgb: "rgb";
|
|
774
|
+
gray: "gray";
|
|
775
|
+
jpeg: "jpeg";
|
|
598
776
|
bgr: "bgr";
|
|
599
777
|
yuv420: "yuv420";
|
|
600
|
-
gray: "gray";
|
|
601
778
|
}>;
|
|
602
779
|
pts: z.ZodNumber;
|
|
603
780
|
byteLength: z.ZodNumber;
|
|
@@ -755,4 +932,4 @@ export type RunDetailSubtreeResult = NonNullable<Awaited<ReturnType<IPipelineRun
|
|
|
755
932
|
*/
|
|
756
933
|
export type RunStatelessStepInput = Parameters<IPipelineRunnerProvider['runStatelessStep']>[0];
|
|
757
934
|
export type RunStatelessStepResult = Awaited<ReturnType<IPipelineRunnerProvider['runStatelessStep']>>;
|
|
758
|
-
export { RunnerCameraConfigSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema };
|
|
935
|
+
export { FrameLazyCountersSchema, FrameLazyMetricsSchema, RunnerCameraConfigSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, };
|
|
@@ -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
|
-
jpeg: "jpeg";
|
|
12
11
|
rgb: "rgb";
|
|
12
|
+
gray: "gray";
|
|
13
|
+
jpeg: "jpeg";
|
|
13
14
|
bgr: "bgr";
|
|
14
15
|
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
|
-
jpeg: "jpeg";
|
|
21
20
|
rgb: "rgb";
|
|
21
|
+
gray: "gray";
|
|
22
|
+
jpeg: "jpeg";
|
|
22
23
|
bgr: "bgr";
|
|
23
24
|
yuv420: "yuv420";
|
|
24
|
-
gray: "gray";
|
|
25
25
|
}>;
|
|
26
26
|
width: z.ZodNumber;
|
|
27
27
|
height: z.ZodNumber;
|
|
@@ -165,11 +165,11 @@ export declare const DecodedFrameSchema: z.ZodObject<{
|
|
|
165
165
|
width: z.ZodNumber;
|
|
166
166
|
height: z.ZodNumber;
|
|
167
167
|
format: z.ZodEnum<{
|
|
168
|
-
jpeg: "jpeg";
|
|
169
168
|
rgb: "rgb";
|
|
169
|
+
gray: "gray";
|
|
170
|
+
jpeg: "jpeg";
|
|
170
171
|
bgr: "bgr";
|
|
171
172
|
yuv420: "yuv420";
|
|
172
|
-
gray: "gray";
|
|
173
173
|
}>;
|
|
174
174
|
timestamp: z.ZodNumber;
|
|
175
175
|
}, z.core.$strip>;
|
|
@@ -191,11 +191,11 @@ export declare const FrameHandleSchema: z.ZodObject<{
|
|
|
191
191
|
width: z.ZodNumber;
|
|
192
192
|
height: z.ZodNumber;
|
|
193
193
|
format: z.ZodEnum<{
|
|
194
|
-
jpeg: "jpeg";
|
|
195
194
|
rgb: "rgb";
|
|
195
|
+
gray: "gray";
|
|
196
|
+
jpeg: "jpeg";
|
|
196
197
|
bgr: "bgr";
|
|
197
198
|
yuv420: "yuv420";
|
|
198
|
-
gray: "gray";
|
|
199
199
|
}>;
|
|
200
200
|
pts: z.ZodNumber;
|
|
201
201
|
byteLength: z.ZodNumber;
|
|
@@ -211,9 +211,9 @@ export declare const FrameHandleSchema: z.ZodObject<{
|
|
|
211
211
|
*/
|
|
212
212
|
export declare const FrameHandleFormatSchema: z.ZodEnum<{
|
|
213
213
|
rgb: "rgb";
|
|
214
|
+
gray: "gray";
|
|
214
215
|
bgr: "bgr";
|
|
215
216
|
yuv420: "yuv420";
|
|
216
|
-
gray: "gray";
|
|
217
217
|
}>;
|
|
218
218
|
export type FrameHandleFormat = z.infer<typeof FrameHandleFormatSchema>;
|
|
219
219
|
/**
|
|
@@ -227,9 +227,9 @@ export declare const SubscribeFramesInputSchema: z.ZodObject<{
|
|
|
227
227
|
brokerId: z.ZodString;
|
|
228
228
|
format: z.ZodEnum<{
|
|
229
229
|
rgb: "rgb";
|
|
230
|
+
gray: "gray";
|
|
230
231
|
bgr: "bgr";
|
|
231
232
|
yuv420: "yuv420";
|
|
232
|
-
gray: "gray";
|
|
233
233
|
}>;
|
|
234
234
|
maxFps: z.ZodOptional<z.ZodNumber>;
|
|
235
235
|
tag: z.ZodOptional<z.ZodString>;
|
|
@@ -1222,9 +1222,9 @@ export declare const streamBrokerCapability: {
|
|
|
1222
1222
|
brokerId: z.ZodString;
|
|
1223
1223
|
format: z.ZodEnum<{
|
|
1224
1224
|
rgb: "rgb";
|
|
1225
|
+
gray: "gray";
|
|
1225
1226
|
bgr: "bgr";
|
|
1226
1227
|
yuv420: "yuv420";
|
|
1227
|
-
gray: "gray";
|
|
1228
1228
|
}>;
|
|
1229
1229
|
maxFps: z.ZodOptional<z.ZodNumber>;
|
|
1230
1230
|
tag: z.ZodOptional<z.ZodString>;
|
|
@@ -1242,11 +1242,11 @@ export declare const streamBrokerCapability: {
|
|
|
1242
1242
|
width: z.ZodNumber;
|
|
1243
1243
|
height: z.ZodNumber;
|
|
1244
1244
|
format: z.ZodEnum<{
|
|
1245
|
-
jpeg: "jpeg";
|
|
1246
1245
|
rgb: "rgb";
|
|
1246
|
+
gray: "gray";
|
|
1247
|
+
jpeg: "jpeg";
|
|
1247
1248
|
bgr: "bgr";
|
|
1248
1249
|
yuv420: "yuv420";
|
|
1249
|
-
gray: "gray";
|
|
1250
1250
|
}>;
|
|
1251
1251
|
pts: z.ZodNumber;
|
|
1252
1252
|
byteLength: z.ZodNumber;
|
|
@@ -30,6 +30,7 @@ declare const TerminalProfileInfoSchema: z.ZodObject<{
|
|
|
30
30
|
args: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
31
31
|
cwd: z.ZodOptional<z.ZodString>;
|
|
32
32
|
environment: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
33
|
+
settingsSchema: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
33
34
|
}, z.core.$strip>;
|
|
34
35
|
/**
|
|
35
36
|
* A durable operator-created Terminal instance. Profiles are templates; only
|
|
@@ -47,6 +48,7 @@ declare const TerminalInstanceInfoSchema: z.ZodObject<{
|
|
|
47
48
|
args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
48
49
|
cwd: z.ZodString;
|
|
49
50
|
environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
51
|
+
profileSettings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
50
52
|
}, z.core.$strip>;
|
|
51
53
|
declare const TerminalLegacyCameraSchema: z.ZodObject<{
|
|
52
54
|
stableId: z.ZodString;
|
|
@@ -102,6 +104,7 @@ export declare const terminalSessionCapability: {
|
|
|
102
104
|
args: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
103
105
|
cwd: z.ZodOptional<z.ZodString>;
|
|
104
106
|
environment: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
107
|
+
settingsSchema: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
105
108
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
106
109
|
/** Explicit durable Terminal instances, managed centrally on the hub. */
|
|
107
110
|
readonly listInstances: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -116,6 +119,7 @@ export declare const terminalSessionCapability: {
|
|
|
116
119
|
args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
117
120
|
cwd: z.ZodString;
|
|
118
121
|
environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
122
|
+
profileSettings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
119
123
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
120
124
|
readonly createInstance: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
121
125
|
targetNodeId: z.ZodString;
|
|
@@ -125,6 +129,7 @@ export declare const terminalSessionCapability: {
|
|
|
125
129
|
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
126
130
|
cwd: z.ZodOptional<z.ZodString>;
|
|
127
131
|
environment: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
132
|
+
profileSettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
128
133
|
}, z.core.$strip>, z.ZodObject<{
|
|
129
134
|
instanceId: z.ZodString;
|
|
130
135
|
cameraStableId: z.ZodString;
|
|
@@ -137,6 +142,7 @@ export declare const terminalSessionCapability: {
|
|
|
137
142
|
args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
138
143
|
cwd: z.ZodString;
|
|
139
144
|
environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
145
|
+
profileSettings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
140
146
|
}, z.core.$strip>, "mutation">;
|
|
141
147
|
readonly updateInstance: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
142
148
|
instanceId: z.ZodString;
|
|
@@ -145,6 +151,7 @@ export declare const terminalSessionCapability: {
|
|
|
145
151
|
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
146
152
|
cwd: z.ZodOptional<z.ZodString>;
|
|
147
153
|
environment: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
154
|
+
profileSettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
148
155
|
}, z.core.$strip>, z.ZodObject<{
|
|
149
156
|
instanceId: z.ZodString;
|
|
150
157
|
cameraStableId: z.ZodString;
|
|
@@ -157,6 +164,7 @@ export declare const terminalSessionCapability: {
|
|
|
157
164
|
args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
158
165
|
cwd: z.ZodString;
|
|
159
166
|
environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
167
|
+
profileSettings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
160
168
|
}, z.core.$strip>, "mutation">;
|
|
161
169
|
readonly deleteInstance: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
162
170
|
instanceId: z.ZodString;
|
|
@@ -176,6 +184,7 @@ export declare const terminalSessionCapability: {
|
|
|
176
184
|
args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
177
185
|
cwd: z.ZodString;
|
|
178
186
|
environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
187
|
+
profileSettings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
179
188
|
}, z.core.$strip>, "mutation">;
|
|
180
189
|
/** Existing automatic cameras are shown for explicit migration only. */
|
|
181
190
|
readonly listLegacyCameras: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -202,6 +211,7 @@ export declare const terminalSessionCapability: {
|
|
|
202
211
|
args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
203
212
|
cwd: z.ZodString;
|
|
204
213
|
environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
214
|
+
profileSettings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
205
215
|
}, z.core.$strip>, "mutation">;
|
|
206
216
|
/** Live sessions currently hosted by the provider. */
|
|
207
217
|
readonly listSessions: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -11,8 +11,8 @@ import { DeviceType } from '../device/device-type.js';
|
|
|
11
11
|
* gating, alert filtering, …) — no other surface needs to change.
|
|
12
12
|
*/
|
|
13
13
|
export declare const ZoneRuleStageEnum: z.ZodEnum<{
|
|
14
|
-
motion: "motion";
|
|
15
14
|
package: "package";
|
|
15
|
+
motion: "motion";
|
|
16
16
|
detection: "detection";
|
|
17
17
|
}>;
|
|
18
18
|
export type ZoneRuleStage = z.infer<typeof ZoneRuleStageEnum>;
|
|
@@ -44,8 +44,8 @@ export declare const zoneRulesCapability: {
|
|
|
44
44
|
readonly listRules: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
45
45
|
deviceId: z.ZodNumber;
|
|
46
46
|
stage: z.ZodEnum<{
|
|
47
|
-
motion: "motion";
|
|
48
47
|
package: "package";
|
|
48
|
+
motion: "motion";
|
|
49
49
|
detection: "detection";
|
|
50
50
|
}>;
|
|
51
51
|
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -69,8 +69,8 @@ export declare const zoneRulesCapability: {
|
|
|
69
69
|
readonly setRules: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
70
70
|
deviceId: z.ZodNumber;
|
|
71
71
|
stage: z.ZodEnum<{
|
|
72
|
-
motion: "motion";
|
|
73
72
|
package: "package";
|
|
73
|
+
motion: "motion";
|
|
74
74
|
detection: "detection";
|
|
75
75
|
}>;
|
|
76
76
|
rules: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|