@camstack/types 1.1.40 → 1.1.42
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/face-gallery.cap.d.ts +21 -0
- package/dist/capabilities/index.d.ts +1 -1
- package/dist/capabilities/pipeline-analytics.cap.d.ts +62 -1
- package/dist/capabilities/pipeline-executor.cap.d.ts +4 -0
- package/dist/capabilities/pipeline-runner.cap.d.ts +61 -0
- package/dist/generated/addon-api.d.ts +128 -0
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/index.js +122 -7
- package/dist/index.mjs +122 -8
- package/dist/{sleep-b4Jf2n33.mjs → sleep-BC9Yqte7.mjs} +1 -0
- package/dist/{sleep-Dqd2OlRi.js → sleep-ByctZsHo.js} +1 -0
- package/dist/types/pipeline-step.d.ts +16 -0
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_sleep = require("./sleep-
|
|
2
|
+
const require_sleep = require("./sleep-ByctZsHo.js");
|
|
3
3
|
const require_err_msg = require("./err-msg-COpsHMw2.js");
|
|
4
4
|
exports.BaseAddon = require_sleep.BaseAddon;
|
|
5
5
|
exports.DATAPLANE_SECRET_HEADER = require_sleep.DATAPLANE_SECRET_HEADER;
|
package/dist/addon.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as parseJsonUnknown, D as asString, I as scopeKey, M as ReadinessRegistry, N as ReadinessTimeoutError, S as DeviceType, T as asJsonObject, a as viewerUiCapability, bt as EventCategory, ct as BaseAddon, ft as emitReadiness, i as deviceOpsCapability, j as DATAPLANE_SECRET_HEADER, lt as normalizeAddonInitResult, m as expandCapMethods, o as adminUiCapability, s as createDeviceProxy, t as sleep, xt as DisposerChain } from "./sleep-
|
|
1
|
+
import { A as parseJsonUnknown, D as asString, I as scopeKey, M as ReadinessRegistry, N as ReadinessTimeoutError, S as DeviceType, T as asJsonObject, a as viewerUiCapability, bt as EventCategory, ct as BaseAddon, ft as emitReadiness, i as deviceOpsCapability, j as DATAPLANE_SECRET_HEADER, lt as normalizeAddonInitResult, m as expandCapMethods, o as adminUiCapability, s as createDeviceProxy, t as sleep, xt as DisposerChain } from "./sleep-BC9Yqte7.mjs";
|
|
2
2
|
import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
|
|
3
3
|
export { BaseAddon, DATAPLANE_SECRET_HEADER, DeviceType, DisposerChain, EventCategory, ReadinessRegistry, ReadinessTimeoutError, adminUiCapability, asJsonObject, asString, createDeviceProxy, deviceOpsCapability, emitReadiness, errMsg, expandCapMethods, normalizeAddonInitResult, parseJsonUnknown, scopeKey, sleep, viewerUiCapability };
|
|
@@ -28,6 +28,13 @@ declare const FaceInfoSchema: z.ZodObject<{
|
|
|
28
28
|
identityName: z.ZodOptional<z.ZodString>;
|
|
29
29
|
assigned: z.ZodBoolean;
|
|
30
30
|
base64: z.ZodOptional<z.ZodString>;
|
|
31
|
+
faceBbox: z.ZodOptional<z.ZodObject<{
|
|
32
|
+
x: z.ZodNumber;
|
|
33
|
+
y: z.ZodNumber;
|
|
34
|
+
w: z.ZodNumber;
|
|
35
|
+
h: z.ZodNumber;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
keyFrameMediaKey: z.ZodOptional<z.ZodString>;
|
|
31
38
|
}, z.core.$strip>;
|
|
32
39
|
export type FaceInfo = z.infer<typeof FaceInfoSchema>;
|
|
33
40
|
export declare const faceGalleryCapability: {
|
|
@@ -90,6 +97,13 @@ export declare const faceGalleryCapability: {
|
|
|
90
97
|
identityName: z.ZodOptional<z.ZodString>;
|
|
91
98
|
assigned: z.ZodBoolean;
|
|
92
99
|
base64: z.ZodOptional<z.ZodString>;
|
|
100
|
+
faceBbox: z.ZodOptional<z.ZodObject<{
|
|
101
|
+
x: z.ZodNumber;
|
|
102
|
+
y: z.ZodNumber;
|
|
103
|
+
w: z.ZodNumber;
|
|
104
|
+
h: z.ZodNumber;
|
|
105
|
+
}, z.core.$strip>>;
|
|
106
|
+
keyFrameMediaKey: z.ZodOptional<z.ZodString>;
|
|
93
107
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
94
108
|
readonly getFaceByTrack: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
95
109
|
deviceId: z.ZodNumber;
|
|
@@ -103,6 +117,13 @@ export declare const faceGalleryCapability: {
|
|
|
103
117
|
identityName: z.ZodOptional<z.ZodString>;
|
|
104
118
|
assigned: z.ZodBoolean;
|
|
105
119
|
base64: z.ZodOptional<z.ZodString>;
|
|
120
|
+
faceBbox: z.ZodOptional<z.ZodObject<{
|
|
121
|
+
x: z.ZodNumber;
|
|
122
|
+
y: z.ZodNumber;
|
|
123
|
+
w: z.ZodNumber;
|
|
124
|
+
h: z.ZodNumber;
|
|
125
|
+
}, z.core.$strip>>;
|
|
126
|
+
keyFrameMediaKey: z.ZodOptional<z.ZodString>;
|
|
106
127
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
107
128
|
readonly getFaceMedia: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
108
129
|
faceId: z.ZodString;
|
|
@@ -74,7 +74,7 @@ export type { NetworkAccessStatus, NetworkEndpoint } from './network-access.cap.
|
|
|
74
74
|
export { NetworkAccessStatusSchema, NetworkEndpointSchema, networkAccessCapability, } from './network-access.cap.js';
|
|
75
75
|
export { type Attachment, AttachmentMediaTypeSchema, type AttachmentMediaType, AttachmentSchema, type DiscoveredTarget, DiscoveredTargetSchema, type INotificationOutputProvider, type NotificationAction, NotificationActionSchema, type NotificationFormat, NotificationFormatSchema, NotificationSchema, type RenderedAs, RenderedAsSchema, type SendResult, SendResultSchema, type Target, type TargetKind, type TargetKindCaps, TargetKindCapsSchema, type TargetKindLevel, TargetKindLevelSchema, TargetKindSchema, TargetSchema, type TestResult, TestResultSchema, notificationOutputCapability, } from './notification-output.cap.js';
|
|
76
76
|
export { type IOauthIntegrationProvider, type OauthIntegrationDescriptor, OauthIntegrationDescriptorSchema, oauthIntegrationCapability, } from './oauth-integration.cap.js';
|
|
77
|
-
export { type AudioEvent, AudioEventSchema, type DetectionSource, DetectionSourceSchema, type EventKind, EventKindSchema, type IPipelineAnalyticsProvider, type MediaFile, type MediaFileKind, MediaFileSchema, type MotionEvent, MotionEventSchema, type ObjectEvent, ObjectEventSchema, pipelineAnalyticsCapability, type ScoredObjectEvent, ScoredObjectEventSchema, type Track, TrackedDetectionSchema, TrackSchema, type TrackState, TrackStateSchema, } from './pipeline-analytics.cap.js';
|
|
77
|
+
export { type AudioEvent, AudioEventSchema, type DetectionSource, DetectionSourceSchema, type EventKind, EventKindSchema, type IPipelineAnalyticsProvider, type KeyEvent, KeyEventSchema, type MediaFile, type MediaFileKind, MediaFileSchema, type MotionEvent, MotionEventSchema, type ObjectEvent, ObjectEventSchema, pipelineAnalyticsCapability, type ScoredObjectEvent, ScoredObjectEventSchema, type Track, TrackedDetectionSchema, TrackSchema, type TrackState, TrackStateSchema, } from './pipeline-analytics.cap.js';
|
|
78
78
|
export type { PipelineStepInputOutput, PipelineValidationIssue, PipelineValidationResult, } from './pipeline-executor.cap.js';
|
|
79
79
|
export { ModelSubstitutionSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, pipelineExecutorCapability, } from './pipeline-executor.cap.js';
|
|
80
80
|
export type { CameraAssignmentStatus, CameraAudioStatus, CameraBrokerProfile, CameraBrokerStatus, CameraDecoderShm, CameraDecoderStatus, CameraDetectionPhase, CameraDetectionProvisioning, CameraDetectionProvisioningState, CameraDetectionStatus, CameraMotionStatus, CameraRecordingMode, CameraRecordingStatus, CameraSourceStatus, CameraSourceStream, CameraStatus, IngestOwner, } from './pipeline-orchestrator.cap.js';
|
|
@@ -82,6 +82,9 @@ declare const TrackSchema: z.ZodObject<{
|
|
|
82
82
|
entered: "entered";
|
|
83
83
|
}>;
|
|
84
84
|
active: z.ZodBoolean;
|
|
85
|
+
importance: z.ZodOptional<z.ZodNumber>;
|
|
86
|
+
bestEventId: z.ZodOptional<z.ZodString>;
|
|
87
|
+
importanceReason: z.ZodOptional<z.ZodString>;
|
|
85
88
|
}, z.core.$strip>;
|
|
86
89
|
export type Track = z.infer<typeof TrackSchema>;
|
|
87
90
|
declare const MotionEventSchema: z.ZodObject<{
|
|
@@ -146,7 +149,9 @@ declare const ObjectEventSchema: z.ZodObject<{
|
|
|
146
149
|
frameWidth: z.ZodOptional<z.ZodNumber>;
|
|
147
150
|
frameHeight: z.ZodOptional<z.ZodNumber>;
|
|
148
151
|
mediaKey: z.ZodOptional<z.ZodString>;
|
|
152
|
+
keyFrameMediaKey: z.ZodOptional<z.ZodString>;
|
|
149
153
|
mediaUrl: z.ZodOptional<z.ZodString>;
|
|
154
|
+
importance: z.ZodOptional<z.ZodNumber>;
|
|
150
155
|
id: z.ZodString;
|
|
151
156
|
deviceId: z.ZodNumber;
|
|
152
157
|
timestamp: z.ZodNumber;
|
|
@@ -177,6 +182,7 @@ declare const MediaFileKindEnum: z.ZodEnum<{
|
|
|
177
182
|
fullFrameBoxed: "fullFrameBoxed";
|
|
178
183
|
faceCrop: "faceCrop";
|
|
179
184
|
plateCrop: "plateCrop";
|
|
185
|
+
keyFrame: "keyFrame";
|
|
180
186
|
}>;
|
|
181
187
|
export type MediaFileKind = z.infer<typeof MediaFileKindEnum>;
|
|
182
188
|
declare const MediaFileSchema: z.ZodObject<{
|
|
@@ -191,12 +197,24 @@ declare const MediaFileSchema: z.ZodObject<{
|
|
|
191
197
|
fullFrameBoxed: "fullFrameBoxed";
|
|
192
198
|
faceCrop: "faceCrop";
|
|
193
199
|
plateCrop: "plateCrop";
|
|
200
|
+
keyFrame: "keyFrame";
|
|
194
201
|
}>;
|
|
195
202
|
base64: z.ZodString;
|
|
196
203
|
sizeBytes: z.ZodNumber;
|
|
197
204
|
timestamp: z.ZodNumber;
|
|
198
205
|
}, z.core.$strip>;
|
|
199
206
|
export type MediaFile = z.infer<typeof MediaFileSchema>;
|
|
207
|
+
declare const KeyEventSchema: z.ZodObject<{
|
|
208
|
+
id: z.ZodString;
|
|
209
|
+
trackId: z.ZodString;
|
|
210
|
+
timestamp: z.ZodNumber;
|
|
211
|
+
className: z.ZodString;
|
|
212
|
+
label: z.ZodOptional<z.ZodString>;
|
|
213
|
+
importance: z.ZodNumber;
|
|
214
|
+
bestEventId: z.ZodString;
|
|
215
|
+
windowMs: z.ZodOptional<z.ZodNumber>;
|
|
216
|
+
}, z.core.$strip>;
|
|
217
|
+
export type KeyEvent = z.infer<typeof KeyEventSchema>;
|
|
200
218
|
declare const TrackedDetectionSchema: z.ZodObject<{
|
|
201
219
|
trackId: z.ZodString;
|
|
202
220
|
className: z.ZodString;
|
|
@@ -244,7 +262,9 @@ export declare const ScoredObjectEventSchema: z.ZodObject<{
|
|
|
244
262
|
frameWidth: z.ZodOptional<z.ZodNumber>;
|
|
245
263
|
frameHeight: z.ZodOptional<z.ZodNumber>;
|
|
246
264
|
mediaKey: z.ZodOptional<z.ZodString>;
|
|
265
|
+
keyFrameMediaKey: z.ZodOptional<z.ZodString>;
|
|
247
266
|
mediaUrl: z.ZodOptional<z.ZodString>;
|
|
267
|
+
importance: z.ZodOptional<z.ZodNumber>;
|
|
248
268
|
id: z.ZodString;
|
|
249
269
|
deviceId: z.ZodNumber;
|
|
250
270
|
timestamp: z.ZodNumber;
|
|
@@ -305,6 +325,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
305
325
|
entered: "entered";
|
|
306
326
|
}>;
|
|
307
327
|
active: z.ZodBoolean;
|
|
328
|
+
importance: z.ZodOptional<z.ZodNumber>;
|
|
329
|
+
bestEventId: z.ZodOptional<z.ZodString>;
|
|
330
|
+
importanceReason: z.ZodOptional<z.ZodString>;
|
|
308
331
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
309
332
|
readonly getTrack: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
310
333
|
deviceId: z.ZodNumber;
|
|
@@ -352,6 +375,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
352
375
|
entered: "entered";
|
|
353
376
|
}>;
|
|
354
377
|
active: z.ZodBoolean;
|
|
378
|
+
importance: z.ZodOptional<z.ZodNumber>;
|
|
379
|
+
bestEventId: z.ZodOptional<z.ZodString>;
|
|
380
|
+
importanceReason: z.ZodOptional<z.ZodString>;
|
|
355
381
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
356
382
|
/** Historical completed tracks for a device. Queried from the
|
|
357
383
|
* persisted `pipeline-analytics:tracks` collection; active tracks
|
|
@@ -404,6 +430,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
404
430
|
entered: "entered";
|
|
405
431
|
}>;
|
|
406
432
|
active: z.ZodBoolean;
|
|
433
|
+
importance: z.ZodOptional<z.ZodNumber>;
|
|
434
|
+
bestEventId: z.ZodOptional<z.ZodString>;
|
|
435
|
+
importanceReason: z.ZodOptional<z.ZodString>;
|
|
407
436
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
408
437
|
readonly clearTracks: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
409
438
|
deviceId: z.ZodNumber;
|
|
@@ -475,7 +504,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
475
504
|
frameWidth: z.ZodOptional<z.ZodNumber>;
|
|
476
505
|
frameHeight: z.ZodOptional<z.ZodNumber>;
|
|
477
506
|
mediaKey: z.ZodOptional<z.ZodString>;
|
|
507
|
+
keyFrameMediaKey: z.ZodOptional<z.ZodString>;
|
|
478
508
|
mediaUrl: z.ZodOptional<z.ZodString>;
|
|
509
|
+
importance: z.ZodOptional<z.ZodNumber>;
|
|
479
510
|
id: z.ZodString;
|
|
480
511
|
deviceId: z.ZodNumber;
|
|
481
512
|
timestamp: z.ZodNumber;
|
|
@@ -503,6 +534,31 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
503
534
|
deviceId: z.ZodNumber;
|
|
504
535
|
timestamp: z.ZodNumber;
|
|
505
536
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
537
|
+
/**
|
|
538
|
+
* Importance-ranked highlights for a device+window. Queries completed
|
|
539
|
+
* tracks by (deviceId, firstSeen ∈ [since,until]), scores each (or reuses
|
|
540
|
+
* the persisted score), filters by minImportance/classFilter, orders by
|
|
541
|
+
* importance desc, and returns up to `limit` compact key events mapped to
|
|
542
|
+
* each track's best event. Legacy tracks lacking a persisted score are
|
|
543
|
+
* scored on-read (no write). Degrades to `[]` on error.
|
|
544
|
+
*/
|
|
545
|
+
readonly getKeyEvents: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
546
|
+
deviceId: z.ZodNumber;
|
|
547
|
+
since: z.ZodNumber;
|
|
548
|
+
until: z.ZodNumber;
|
|
549
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
550
|
+
minImportance: z.ZodOptional<z.ZodNumber>;
|
|
551
|
+
classFilter: z.ZodOptional<z.ZodString>;
|
|
552
|
+
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
553
|
+
id: z.ZodString;
|
|
554
|
+
trackId: z.ZodString;
|
|
555
|
+
timestamp: z.ZodNumber;
|
|
556
|
+
className: z.ZodString;
|
|
557
|
+
label: z.ZodOptional<z.ZodString>;
|
|
558
|
+
importance: z.ZodNumber;
|
|
559
|
+
bestEventId: z.ZodString;
|
|
560
|
+
windowMs: z.ZodOptional<z.ZodNumber>;
|
|
561
|
+
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
506
562
|
/** Server-side bucketed event counts for the 24-hour timeline.
|
|
507
563
|
* Returns one entry per non-empty bucket; empty buckets are omitted. */
|
|
508
564
|
readonly getEventDensity: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
@@ -544,6 +600,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
544
600
|
fullFrameBoxed: "fullFrameBoxed";
|
|
545
601
|
faceCrop: "faceCrop";
|
|
546
602
|
plateCrop: "plateCrop";
|
|
603
|
+
keyFrame: "keyFrame";
|
|
547
604
|
}>>;
|
|
548
605
|
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
549
606
|
key: z.ZodString;
|
|
@@ -557,6 +614,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
557
614
|
fullFrameBoxed: "fullFrameBoxed";
|
|
558
615
|
faceCrop: "faceCrop";
|
|
559
616
|
plateCrop: "plateCrop";
|
|
617
|
+
keyFrame: "keyFrame";
|
|
560
618
|
}>;
|
|
561
619
|
base64: z.ZodString;
|
|
562
620
|
sizeBytes: z.ZodNumber;
|
|
@@ -576,6 +634,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
576
634
|
fullFrameBoxed: "fullFrameBoxed";
|
|
577
635
|
faceCrop: "faceCrop";
|
|
578
636
|
plateCrop: "plateCrop";
|
|
637
|
+
keyFrame: "keyFrame";
|
|
579
638
|
}>;
|
|
580
639
|
base64: z.ZodString;
|
|
581
640
|
sizeBytes: z.ZodNumber;
|
|
@@ -625,7 +684,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
625
684
|
frameWidth: z.ZodOptional<z.ZodNumber>;
|
|
626
685
|
frameHeight: z.ZodOptional<z.ZodNumber>;
|
|
627
686
|
mediaKey: z.ZodOptional<z.ZodString>;
|
|
687
|
+
keyFrameMediaKey: z.ZodOptional<z.ZodString>;
|
|
628
688
|
mediaUrl: z.ZodOptional<z.ZodString>;
|
|
689
|
+
importance: z.ZodOptional<z.ZodNumber>;
|
|
629
690
|
id: z.ZodString;
|
|
630
691
|
deviceId: z.ZodNumber;
|
|
631
692
|
timestamp: z.ZodNumber;
|
|
@@ -699,4 +760,4 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
699
760
|
};
|
|
700
761
|
};
|
|
701
762
|
export type IPipelineAnalyticsProvider = InferProvider<typeof pipelineAnalyticsCapability>;
|
|
702
|
-
export { TrackStateSchema, EventKindSchema, TrackSchema, MotionEventSchema, ObjectEventSchema, AudioEventSchema, MediaFileKindEnum, MediaFileSchema, TrackedDetectionSchema, };
|
|
763
|
+
export { TrackStateSchema, EventKindSchema, TrackSchema, KeyEventSchema, MotionEventSchema, ObjectEventSchema, AudioEventSchema, MediaFileKindEnum, MediaFileSchema, TrackedDetectionSchema, };
|
|
@@ -156,6 +156,7 @@ declare const PipelineAddonSchemaSchema: z.ZodObject<{
|
|
|
156
156
|
defaultModelId: z.ZodString;
|
|
157
157
|
defaultModelIdByFormat: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
158
158
|
enabledByDefault: z.ZodOptional<z.ZodBoolean>;
|
|
159
|
+
backfillIntoExistingOverrides: z.ZodOptional<z.ZodBoolean>;
|
|
159
160
|
defaultConfidence: z.ZodNumber;
|
|
160
161
|
group: z.ZodOptional<z.ZodString>;
|
|
161
162
|
configSchema: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodCustom<ConfigField, ConfigField>>>>;
|
|
@@ -221,6 +222,7 @@ declare const PipelineSlotSchemaSchema: z.ZodObject<{
|
|
|
221
222
|
defaultModelId: z.ZodString;
|
|
222
223
|
defaultModelIdByFormat: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
223
224
|
enabledByDefault: z.ZodOptional<z.ZodBoolean>;
|
|
225
|
+
backfillIntoExistingOverrides: z.ZodOptional<z.ZodBoolean>;
|
|
224
226
|
defaultConfidence: z.ZodNumber;
|
|
225
227
|
group: z.ZodOptional<z.ZodString>;
|
|
226
228
|
configSchema: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodCustom<ConfigField, ConfigField>>>>;
|
|
@@ -326,6 +328,7 @@ declare const PipelineSchemaSchema: z.ZodObject<{
|
|
|
326
328
|
defaultModelId: z.ZodString;
|
|
327
329
|
defaultModelIdByFormat: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
328
330
|
enabledByDefault: z.ZodOptional<z.ZodBoolean>;
|
|
331
|
+
backfillIntoExistingOverrides: z.ZodOptional<z.ZodBoolean>;
|
|
329
332
|
defaultConfidence: z.ZodNumber;
|
|
330
333
|
group: z.ZodOptional<z.ZodString>;
|
|
331
334
|
configSchema: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodCustom<ConfigField, ConfigField>>>>;
|
|
@@ -644,6 +647,7 @@ export declare const pipelineExecutorCapability: {
|
|
|
644
647
|
defaultModelId: z.ZodString;
|
|
645
648
|
defaultModelIdByFormat: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
646
649
|
enabledByDefault: z.ZodOptional<z.ZodBoolean>;
|
|
650
|
+
backfillIntoExistingOverrides: z.ZodOptional<z.ZodBoolean>;
|
|
647
651
|
defaultConfidence: z.ZodNumber;
|
|
648
652
|
group: z.ZodOptional<z.ZodString>;
|
|
649
653
|
configSchema: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodCustom<ConfigField, ConfigField>>>>;
|
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { type InferProvider } from './capability-definition.js';
|
|
3
3
|
import type { ConfigField } from '../interfaces/config-ui.js';
|
|
4
|
+
/**
|
|
5
|
+
* A bounding box in NORMALIZED [0,1] frame coordinates for `getNativeCrop`. The
|
|
6
|
+
* decode worker resolves it against the RETAINED native frame's real pixel dims,
|
|
7
|
+
* so the caller supplies only the detection-res bbox divided by the detection
|
|
8
|
+
* dims — no native resolution to plumb.
|
|
9
|
+
*/
|
|
10
|
+
export declare const NativeCropBboxSchema: z.ZodObject<{
|
|
11
|
+
x: z.ZodNumber;
|
|
12
|
+
y: z.ZodNumber;
|
|
13
|
+
w: z.ZodNumber;
|
|
14
|
+
h: z.ZodNumber;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
/** Result of a best-effort native-resolution crop (`getNativeCrop`). */
|
|
17
|
+
export declare const NativeCropResultSchema: z.ZodObject<{
|
|
18
|
+
bytes: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
19
|
+
width: z.ZodNumber;
|
|
20
|
+
height: z.ZodNumber;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
export type NativeCropBbox = z.infer<typeof NativeCropBboxSchema>;
|
|
23
|
+
export type NativeCropCapResult = z.infer<typeof NativeCropResultSchema>;
|
|
4
24
|
/**
|
|
5
25
|
* Source enum for motion signals fed to the runner. Extensible — add
|
|
6
26
|
* new variants here when new motion-trigger paths are wired in
|
|
@@ -375,6 +395,47 @@ export declare const pipelineRunnerCapability: {
|
|
|
375
395
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
376
396
|
/** List the deviceIds currently attached to this runner. */
|
|
377
397
|
readonly getLocalCameras: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodNumber>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
398
|
+
/**
|
|
399
|
+
* Best-effort NATIVE-resolution crop of a retention-ring frame. Given the
|
|
400
|
+
* `FrameHandle` that rode an inference-result event and a normalized `bbox`,
|
|
401
|
+
* the runner asks the decode worker still holding that frame's NATIVE
|
|
402
|
+
* surface to GPU/CPU-crop ONLY the ROI at native res and download just the
|
|
403
|
+
* crop. Returns `null` on a miss (handle not registered, or the worker's
|
|
404
|
+
* tiny native-retention ring already evicted the frame) — the caller falls
|
|
405
|
+
* back to a detection-frame crop. Routed to the frame's owning node by
|
|
406
|
+
* `handle.nodeId`; NEVER ships a full native frame.
|
|
407
|
+
*/
|
|
408
|
+
readonly getNativeCrop: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
409
|
+
handle: z.ZodObject<{
|
|
410
|
+
shmId: z.ZodString;
|
|
411
|
+
slot: z.ZodNumber;
|
|
412
|
+
seq: z.ZodNumber;
|
|
413
|
+
width: z.ZodNumber;
|
|
414
|
+
height: z.ZodNumber;
|
|
415
|
+
format: z.ZodEnum<{
|
|
416
|
+
jpeg: "jpeg";
|
|
417
|
+
rgb: "rgb";
|
|
418
|
+
bgr: "bgr";
|
|
419
|
+
yuv420: "yuv420";
|
|
420
|
+
gray: "gray";
|
|
421
|
+
}>;
|
|
422
|
+
pts: z.ZodNumber;
|
|
423
|
+
byteLength: z.ZodNumber;
|
|
424
|
+
nodeId: z.ZodString;
|
|
425
|
+
slotCount: z.ZodNumber;
|
|
426
|
+
}, z.core.$strip>;
|
|
427
|
+
bbox: z.ZodObject<{
|
|
428
|
+
x: z.ZodNumber;
|
|
429
|
+
y: z.ZodNumber;
|
|
430
|
+
w: z.ZodNumber;
|
|
431
|
+
h: z.ZodNumber;
|
|
432
|
+
}, z.core.$strip>;
|
|
433
|
+
maxWidth: z.ZodOptional<z.ZodNumber>;
|
|
434
|
+
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
435
|
+
bytes: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
436
|
+
width: z.ZodNumber;
|
|
437
|
+
height: z.ZodNumber;
|
|
438
|
+
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
378
439
|
};
|
|
379
440
|
};
|
|
380
441
|
export type IPipelineRunnerProvider = InferProvider<typeof pipelineRunnerCapability>;
|
|
@@ -8856,6 +8856,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
8856
8856
|
state: "idle" | "left" | "moving" | "new" | "entered";
|
|
8857
8857
|
active: boolean;
|
|
8858
8858
|
label?: string | undefined;
|
|
8859
|
+
importance?: number | undefined;
|
|
8860
|
+
bestEventId?: string | undefined;
|
|
8861
|
+
importanceReason?: string | undefined;
|
|
8859
8862
|
}[];
|
|
8860
8863
|
meta: object;
|
|
8861
8864
|
}>;
|
|
@@ -8902,6 +8905,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
8902
8905
|
state: "idle" | "left" | "moving" | "new" | "entered";
|
|
8903
8906
|
active: boolean;
|
|
8904
8907
|
label?: string | undefined;
|
|
8908
|
+
importance?: number | undefined;
|
|
8909
|
+
bestEventId?: string | undefined;
|
|
8910
|
+
importanceReason?: string | undefined;
|
|
8905
8911
|
} | null;
|
|
8906
8912
|
meta: object;
|
|
8907
8913
|
}>;
|
|
@@ -8950,6 +8956,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
8950
8956
|
state: "idle" | "left" | "moving" | "new" | "entered";
|
|
8951
8957
|
active: boolean;
|
|
8952
8958
|
label?: string | undefined;
|
|
8959
|
+
importance?: number | undefined;
|
|
8960
|
+
bestEventId?: string | undefined;
|
|
8961
|
+
importanceReason?: string | undefined;
|
|
8953
8962
|
}[];
|
|
8954
8963
|
meta: object;
|
|
8955
8964
|
}>;
|
|
@@ -9025,6 +9034,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
9025
9034
|
frameHeight?: number | undefined;
|
|
9026
9035
|
mediaKey?: string | undefined;
|
|
9027
9036
|
mediaUrl?: string | undefined;
|
|
9037
|
+
importance?: number | undefined;
|
|
9028
9038
|
}[];
|
|
9029
9039
|
meta: object;
|
|
9030
9040
|
}>;
|
|
@@ -9053,6 +9063,28 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
9053
9063
|
}[];
|
|
9054
9064
|
meta: object;
|
|
9055
9065
|
}>;
|
|
9066
|
+
getKeyEvents: import("@trpc/server").TRPCQueryProcedure<{
|
|
9067
|
+
input: {
|
|
9068
|
+
[x: string]: unknown;
|
|
9069
|
+
deviceId: number;
|
|
9070
|
+
since: number;
|
|
9071
|
+
until: number;
|
|
9072
|
+
limit?: number | undefined;
|
|
9073
|
+
minImportance?: number | undefined;
|
|
9074
|
+
classFilter?: string | undefined;
|
|
9075
|
+
};
|
|
9076
|
+
output: readonly {
|
|
9077
|
+
id: string;
|
|
9078
|
+
trackId: string;
|
|
9079
|
+
timestamp: number;
|
|
9080
|
+
className: string;
|
|
9081
|
+
importance: number;
|
|
9082
|
+
bestEventId: string;
|
|
9083
|
+
label?: string | undefined;
|
|
9084
|
+
windowMs?: number | undefined;
|
|
9085
|
+
}[];
|
|
9086
|
+
meta: object;
|
|
9087
|
+
}>;
|
|
9056
9088
|
getEventDensity: import("@trpc/server").TRPCQueryProcedure<{
|
|
9057
9089
|
input: {
|
|
9058
9090
|
[x: string]: unknown;
|
|
@@ -9146,6 +9178,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
9146
9178
|
frameHeight?: number | undefined;
|
|
9147
9179
|
mediaKey?: string | undefined;
|
|
9148
9180
|
mediaUrl?: string | undefined;
|
|
9181
|
+
importance?: number | undefined;
|
|
9149
9182
|
}[];
|
|
9150
9183
|
meta: object;
|
|
9151
9184
|
}>;
|
|
@@ -9310,6 +9343,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
9310
9343
|
defaultConfidence: number;
|
|
9311
9344
|
defaultModelIdByFormat?: Record<string, string> | undefined;
|
|
9312
9345
|
enabledByDefault?: boolean | undefined;
|
|
9346
|
+
backfillIntoExistingOverrides?: boolean | undefined;
|
|
9313
9347
|
group?: string | undefined;
|
|
9314
9348
|
configSchema?: readonly import("@camstack/types").ConfigField[] | undefined;
|
|
9315
9349
|
}[];
|
|
@@ -10719,6 +10753,36 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
10719
10753
|
output: readonly number[];
|
|
10720
10754
|
meta: object;
|
|
10721
10755
|
}>;
|
|
10756
|
+
getNativeCrop: import("@trpc/server").TRPCQueryProcedure<{
|
|
10757
|
+
input: {
|
|
10758
|
+
[x: string]: unknown;
|
|
10759
|
+
handle: {
|
|
10760
|
+
shmId: string;
|
|
10761
|
+
slot: number;
|
|
10762
|
+
seq: number;
|
|
10763
|
+
width: number;
|
|
10764
|
+
height: number;
|
|
10765
|
+
format: "rgb" | "jpeg" | "bgr" | "yuv420" | "gray";
|
|
10766
|
+
pts: number;
|
|
10767
|
+
byteLength: number;
|
|
10768
|
+
nodeId: string;
|
|
10769
|
+
slotCount: number;
|
|
10770
|
+
};
|
|
10771
|
+
bbox: {
|
|
10772
|
+
x: number;
|
|
10773
|
+
y: number;
|
|
10774
|
+
w: number;
|
|
10775
|
+
h: number;
|
|
10776
|
+
};
|
|
10777
|
+
maxWidth?: number | undefined;
|
|
10778
|
+
};
|
|
10779
|
+
output: {
|
|
10780
|
+
bytes: Uint8Array<ArrayBuffer>;
|
|
10781
|
+
width: number;
|
|
10782
|
+
height: number;
|
|
10783
|
+
} | null;
|
|
10784
|
+
meta: object;
|
|
10785
|
+
}>;
|
|
10722
10786
|
}>>;
|
|
10723
10787
|
plateGallery: import("@trpc/server").TRPCBuiltRouter<{
|
|
10724
10788
|
ctx: TrpcContext;
|
|
@@ -23772,6 +23836,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
23772
23836
|
state: "idle" | "left" | "moving" | "new" | "entered";
|
|
23773
23837
|
active: boolean;
|
|
23774
23838
|
label?: string | undefined;
|
|
23839
|
+
importance?: number | undefined;
|
|
23840
|
+
bestEventId?: string | undefined;
|
|
23841
|
+
importanceReason?: string | undefined;
|
|
23775
23842
|
}[];
|
|
23776
23843
|
meta: object;
|
|
23777
23844
|
}>;
|
|
@@ -23818,6 +23885,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
23818
23885
|
state: "idle" | "left" | "moving" | "new" | "entered";
|
|
23819
23886
|
active: boolean;
|
|
23820
23887
|
label?: string | undefined;
|
|
23888
|
+
importance?: number | undefined;
|
|
23889
|
+
bestEventId?: string | undefined;
|
|
23890
|
+
importanceReason?: string | undefined;
|
|
23821
23891
|
} | null;
|
|
23822
23892
|
meta: object;
|
|
23823
23893
|
}>;
|
|
@@ -23866,6 +23936,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
23866
23936
|
state: "idle" | "left" | "moving" | "new" | "entered";
|
|
23867
23937
|
active: boolean;
|
|
23868
23938
|
label?: string | undefined;
|
|
23939
|
+
importance?: number | undefined;
|
|
23940
|
+
bestEventId?: string | undefined;
|
|
23941
|
+
importanceReason?: string | undefined;
|
|
23869
23942
|
}[];
|
|
23870
23943
|
meta: object;
|
|
23871
23944
|
}>;
|
|
@@ -23941,6 +24014,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
23941
24014
|
frameHeight?: number | undefined;
|
|
23942
24015
|
mediaKey?: string | undefined;
|
|
23943
24016
|
mediaUrl?: string | undefined;
|
|
24017
|
+
importance?: number | undefined;
|
|
23944
24018
|
}[];
|
|
23945
24019
|
meta: object;
|
|
23946
24020
|
}>;
|
|
@@ -23969,6 +24043,28 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
23969
24043
|
}[];
|
|
23970
24044
|
meta: object;
|
|
23971
24045
|
}>;
|
|
24046
|
+
getKeyEvents: import("@trpc/server").TRPCQueryProcedure<{
|
|
24047
|
+
input: {
|
|
24048
|
+
[x: string]: unknown;
|
|
24049
|
+
deviceId: number;
|
|
24050
|
+
since: number;
|
|
24051
|
+
until: number;
|
|
24052
|
+
limit?: number | undefined;
|
|
24053
|
+
minImportance?: number | undefined;
|
|
24054
|
+
classFilter?: string | undefined;
|
|
24055
|
+
};
|
|
24056
|
+
output: readonly {
|
|
24057
|
+
id: string;
|
|
24058
|
+
trackId: string;
|
|
24059
|
+
timestamp: number;
|
|
24060
|
+
className: string;
|
|
24061
|
+
importance: number;
|
|
24062
|
+
bestEventId: string;
|
|
24063
|
+
label?: string | undefined;
|
|
24064
|
+
windowMs?: number | undefined;
|
|
24065
|
+
}[];
|
|
24066
|
+
meta: object;
|
|
24067
|
+
}>;
|
|
23972
24068
|
getEventDensity: import("@trpc/server").TRPCQueryProcedure<{
|
|
23973
24069
|
input: {
|
|
23974
24070
|
[x: string]: unknown;
|
|
@@ -24062,6 +24158,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
24062
24158
|
frameHeight?: number | undefined;
|
|
24063
24159
|
mediaKey?: string | undefined;
|
|
24064
24160
|
mediaUrl?: string | undefined;
|
|
24161
|
+
importance?: number | undefined;
|
|
24065
24162
|
}[];
|
|
24066
24163
|
meta: object;
|
|
24067
24164
|
}>;
|
|
@@ -24226,6 +24323,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
24226
24323
|
defaultConfidence: number;
|
|
24227
24324
|
defaultModelIdByFormat?: Record<string, string> | undefined;
|
|
24228
24325
|
enabledByDefault?: boolean | undefined;
|
|
24326
|
+
backfillIntoExistingOverrides?: boolean | undefined;
|
|
24229
24327
|
group?: string | undefined;
|
|
24230
24328
|
configSchema?: readonly import("@camstack/types").ConfigField[] | undefined;
|
|
24231
24329
|
}[];
|
|
@@ -25635,6 +25733,36 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
25635
25733
|
output: readonly number[];
|
|
25636
25734
|
meta: object;
|
|
25637
25735
|
}>;
|
|
25736
|
+
getNativeCrop: import("@trpc/server").TRPCQueryProcedure<{
|
|
25737
|
+
input: {
|
|
25738
|
+
[x: string]: unknown;
|
|
25739
|
+
handle: {
|
|
25740
|
+
shmId: string;
|
|
25741
|
+
slot: number;
|
|
25742
|
+
seq: number;
|
|
25743
|
+
width: number;
|
|
25744
|
+
height: number;
|
|
25745
|
+
format: "rgb" | "jpeg" | "bgr" | "yuv420" | "gray";
|
|
25746
|
+
pts: number;
|
|
25747
|
+
byteLength: number;
|
|
25748
|
+
nodeId: string;
|
|
25749
|
+
slotCount: number;
|
|
25750
|
+
};
|
|
25751
|
+
bbox: {
|
|
25752
|
+
x: number;
|
|
25753
|
+
y: number;
|
|
25754
|
+
w: number;
|
|
25755
|
+
h: number;
|
|
25756
|
+
};
|
|
25757
|
+
maxWidth?: number | undefined;
|
|
25758
|
+
};
|
|
25759
|
+
output: {
|
|
25760
|
+
bytes: Uint8Array<ArrayBuffer>;
|
|
25761
|
+
width: number;
|
|
25762
|
+
height: number;
|
|
25763
|
+
} | null;
|
|
25764
|
+
meta: object;
|
|
25765
|
+
}>;
|
|
25638
25766
|
}>>;
|
|
25639
25767
|
plateGallery: import("@trpc/server").TRPCBuiltRouter<{
|
|
25640
25768
|
ctx: TrpcContext;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* scope+access check inside `protectedProcedure` (see
|
|
7
7
|
* `server/backend/src/api/trpc/trpc.middleware.ts`).
|
|
8
8
|
*
|
|
9
|
-
* Coverage:
|
|
9
|
+
* Coverage: 737 method paths across 112 capabilities.
|
|
10
10
|
*/
|
|
11
11
|
import type { CapabilityMethodAccess } from '../capabilities/capability-definition.js';
|
|
12
12
|
export interface MethodAccessRecord {
|
|
@@ -74,7 +74,7 @@ export interface SystemProxy {
|
|
|
74
74
|
readonly notificationOutput: Pick<InferProvider<typeof notificationOutputCapability>, 'listTargetKinds' | 'listTargets' | 'discoverTargets' | 'send' | 'testTarget' | 'upsertTarget' | 'deleteTarget' | 'setTargetEnabled'>;
|
|
75
75
|
readonly pipelineExecutor: Pick<InferProvider<typeof pipelineExecutorCapability>, 'getAvailableEngines' | 'getSelectedEngine' | 'getDefaultSteps' | 'reprobeEngine' | 'getEngineProvisioning' | 'getVideoPipelineSteps' | 'setVideoPipelineSteps' | 'clearDeviceOverrides' | 'getSchema' | 'getGlobalSteps' | 'getGlobalPipelineConfig' | 'getOrchestratorConfigSchema' | 'validatePipeline' | 'listTemplates' | 'saveTemplate' | 'updateTemplate' | 'deleteTemplate' | 'getCapabilities' | 'getAddonModels' | 'downloadModel' | 'deleteModel' | 'cacheFrameInPool' | 'inferCached' | 'uncacheFrame' | 'getEffectiveTuning' | 'listLoadedEngines' | 'spinEngine' | 'killEngine' | 'listReferenceImages' | 'getReferenceImage' | 'getReferenceAudioFiles' | 'getReferenceAudio' | 'getAudioCapabilities' | 'runAudioTest' | 'getDetectionConfigSchema'>;
|
|
76
76
|
readonly pipelineOrchestrator: Pick<InferProvider<typeof pipelineOrchestratorCapability>, 'rebalance' | 'getPipelineAssignments' | 'getAgentLoad' | 'getGlobalMetrics' | 'getCapabilityBindings' | 'setCapabilityBinding' | 'getIngestOwner' | 'getAudioNodeLoad' | 'getAgentSettings' | 'listAgentSettings' | 'setAgentAddonDefaults' | 'removeAgentSettings' | 'setAgentMaxCameras' | 'setAgentDetectWeight' | 'setAgentCapabilities' | 'setAgentReachableHost' | 'resetNodePipelineDefaults' | 'getCameraStatuses' | 'listTemplates' | 'saveTemplate' | 'updateTemplate' | 'deleteTemplate'>;
|
|
77
|
-
readonly pipelineRunner: Pick<InferProvider<typeof pipelineRunnerCapability>, 'attachCamera' | 'reportMotion' | 'getLocalLoad' | 'getLocalMetrics' | 'getAllCameraMetrics' | 'getLocalCameras'>;
|
|
77
|
+
readonly pipelineRunner: Pick<InferProvider<typeof pipelineRunnerCapability>, 'attachCamera' | 'reportMotion' | 'getLocalLoad' | 'getLocalMetrics' | 'getAllCameraMetrics' | 'getLocalCameras' | 'getNativeCrop'>;
|
|
78
78
|
readonly plateGallery: Pick<InferProvider<typeof plateGalleryCapability>, 'getPlateMedia' | 'searchPlates' | 'suggestPlateClusters' | 'correctPlateText' | 'deletePlate'>;
|
|
79
79
|
readonly recording: Pick<InferProvider<typeof recordingCapability>, 'getStorageUsage'>;
|
|
80
80
|
readonly serverManagement: Pick<InferProvider<typeof serverManagementCapability>, 'getServerPackageStatus' | 'checkServerUpdate' | 'applyServerUpdate' | 'rollbackServerUpdate' | 'restartServer'>;
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_sleep = require("./sleep-
|
|
2
|
+
const require_sleep = require("./sleep-ByctZsHo.js");
|
|
3
3
|
const require_err_msg = require("./err-msg-COpsHMw2.js");
|
|
4
4
|
let zod = require("zod");
|
|
5
5
|
//#region src/health/wiring-health.ts
|
|
@@ -7589,6 +7589,7 @@ var PipelineAddonSchemaSchema = zod.z.object({
|
|
|
7589
7589
|
defaultModelId: zod.z.string(),
|
|
7590
7590
|
defaultModelIdByFormat: zod.z.record(zod.z.string(), zod.z.string()).optional(),
|
|
7591
7591
|
enabledByDefault: zod.z.boolean().optional(),
|
|
7592
|
+
backfillIntoExistingOverrides: zod.z.boolean().optional(),
|
|
7592
7593
|
defaultConfidence: zod.z.number(),
|
|
7593
7594
|
group: zod.z.string().optional(),
|
|
7594
7595
|
configSchema: zod.z.array(ConfigFieldBridge).readonly().optional()
|
|
@@ -8095,6 +8096,25 @@ var zonesCapability = {
|
|
|
8095
8096
|
//#endregion
|
|
8096
8097
|
//#region src/capabilities/pipeline-runner.cap.ts
|
|
8097
8098
|
/**
|
|
8099
|
+
* A bounding box in NORMALIZED [0,1] frame coordinates for `getNativeCrop`. The
|
|
8100
|
+
* decode worker resolves it against the RETAINED native frame's real pixel dims,
|
|
8101
|
+
* so the caller supplies only the detection-res bbox divided by the detection
|
|
8102
|
+
* dims — no native resolution to plumb.
|
|
8103
|
+
*/
|
|
8104
|
+
var NativeCropBboxSchema = zod.z.object({
|
|
8105
|
+
x: zod.z.number(),
|
|
8106
|
+
y: zod.z.number(),
|
|
8107
|
+
w: zod.z.number(),
|
|
8108
|
+
h: zod.z.number()
|
|
8109
|
+
});
|
|
8110
|
+
/** Result of a best-effort native-resolution crop (`getNativeCrop`). */
|
|
8111
|
+
var NativeCropResultSchema = zod.z.object({
|
|
8112
|
+
/** Packed rgb (24-bit) pixels of the crop. */
|
|
8113
|
+
bytes: zod.z.instanceof(Uint8Array),
|
|
8114
|
+
width: zod.z.number().int().positive(),
|
|
8115
|
+
height: zod.z.number().int().positive()
|
|
8116
|
+
});
|
|
8117
|
+
/**
|
|
8098
8118
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
8099
8119
|
* by both the Zod data schema (validation + default fallback) and
|
|
8100
8120
|
* the device settings UI (slider min/max/step). Touch one place and
|
|
@@ -8522,7 +8542,22 @@ var pipelineRunnerCapability = {
|
|
|
8522
8542
|
/** All per-camera metrics in one round-trip. */
|
|
8523
8543
|
getAllCameraMetrics: require_sleep.method(zod.z.void(), zod.z.array(CameraMetricsWithDeviceIdSchema).readonly()),
|
|
8524
8544
|
/** List the deviceIds currently attached to this runner. */
|
|
8525
|
-
getLocalCameras: require_sleep.method(zod.z.void(), zod.z.array(zod.z.number()).readonly())
|
|
8545
|
+
getLocalCameras: require_sleep.method(zod.z.void(), zod.z.array(zod.z.number()).readonly()),
|
|
8546
|
+
/**
|
|
8547
|
+
* Best-effort NATIVE-resolution crop of a retention-ring frame. Given the
|
|
8548
|
+
* `FrameHandle` that rode an inference-result event and a normalized `bbox`,
|
|
8549
|
+
* the runner asks the decode worker still holding that frame's NATIVE
|
|
8550
|
+
* surface to GPU/CPU-crop ONLY the ROI at native res and download just the
|
|
8551
|
+
* crop. Returns `null` on a miss (handle not registered, or the worker's
|
|
8552
|
+
* tiny native-retention ring already evicted the frame) — the caller falls
|
|
8553
|
+
* back to a detection-frame crop. Routed to the frame's owning node by
|
|
8554
|
+
* `handle.nodeId`; NEVER ships a full native frame.
|
|
8555
|
+
*/
|
|
8556
|
+
getNativeCrop: require_sleep.method(zod.z.object({
|
|
8557
|
+
handle: require_sleep.FrameHandleSchema,
|
|
8558
|
+
bbox: NativeCropBboxSchema,
|
|
8559
|
+
maxWidth: zod.z.number().int().positive().optional()
|
|
8560
|
+
}), NativeCropResultSchema.nullable())
|
|
8526
8561
|
}
|
|
8527
8562
|
};
|
|
8528
8563
|
//#endregion
|
|
@@ -12614,7 +12649,8 @@ function createSystemProxy(api) {
|
|
|
12614
12649
|
getLocalLoad: (input) => dispatch("pipelineRunner", "getLocalLoad", "query", input),
|
|
12615
12650
|
getLocalMetrics: (input) => dispatch("pipelineRunner", "getLocalMetrics", "query", input),
|
|
12616
12651
|
getAllCameraMetrics: (input) => dispatch("pipelineRunner", "getAllCameraMetrics", "query", input),
|
|
12617
|
-
getLocalCameras: (input) => dispatch("pipelineRunner", "getLocalCameras", "query", input)
|
|
12652
|
+
getLocalCameras: (input) => dispatch("pipelineRunner", "getLocalCameras", "query", input),
|
|
12653
|
+
getNativeCrop: (input) => dispatch("pipelineRunner", "getNativeCrop", "query", input)
|
|
12618
12654
|
},
|
|
12619
12655
|
plateGallery: {
|
|
12620
12656
|
getPlateMedia: (input) => dispatch("plateGallery", "getPlateMedia", "query", input),
|
|
@@ -17430,7 +17466,17 @@ var TrackSchema = zod.z.object({
|
|
|
17430
17466
|
/** Cumulative normalized distance travelled (0..1 units = full frame width). */
|
|
17431
17467
|
totalDistance: zod.z.number(),
|
|
17432
17468
|
state: TrackStateSchema,
|
|
17433
|
-
active: zod.z.boolean()
|
|
17469
|
+
active: zod.z.boolean(),
|
|
17470
|
+
/** Deterministic key-event importance score in [0,1] (server-computed at
|
|
17471
|
+
* track expiry, recomputed on late label). Absent on legacy rows written
|
|
17472
|
+
* before scoring shipped — consumers degrade to absence / compute-on-read. */
|
|
17473
|
+
importance: zod.z.number().optional(),
|
|
17474
|
+
/** Id of the track's highest-confidence ObjectEvent (its representative
|
|
17475
|
+
* "best" frame). Absent when the track produced no object events. */
|
|
17476
|
+
bestEventId: zod.z.string().optional(),
|
|
17477
|
+
/** Tag of the importance sub-signal that dominated the score
|
|
17478
|
+
* (identity|dwell|proximity|class|confidence|travel|zone). */
|
|
17479
|
+
importanceReason: zod.z.string().optional()
|
|
17434
17480
|
});
|
|
17435
17481
|
var BaseEventFields = {
|
|
17436
17482
|
id: zod.z.string(),
|
|
@@ -17495,8 +17541,18 @@ var ObjectEventSchema = zod.z.object({
|
|
|
17495
17541
|
frameHeight: zod.z.number().optional(),
|
|
17496
17542
|
/** MediaStore key for the crop attached to this event (if any). */
|
|
17497
17543
|
mediaKey: zod.z.string().optional(),
|
|
17544
|
+
/** Design B: MediaStore key of the track's native-resolution key frame (the
|
|
17545
|
+
* best-detection full frame). Resolve via the event-media data-plane
|
|
17546
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`) for a detail view that
|
|
17547
|
+
* draws `bbox` over the native frame. Absent on legacy rows / non-decoded
|
|
17548
|
+
* sources — consumers fall back to `mediaKey` (the tight crop). */
|
|
17549
|
+
keyFrameMediaKey: zod.z.string().optional(),
|
|
17498
17550
|
/** Populated by B5 (recording playback URL for this event). */
|
|
17499
|
-
mediaUrl: zod.z.string().optional()
|
|
17551
|
+
mediaUrl: zod.z.string().optional(),
|
|
17552
|
+
/** The parent track's key-event importance [0,1], propagated to every object
|
|
17553
|
+
* event of the track (so an event row can be sorted by importance without a
|
|
17554
|
+
* track join). Absent on legacy rows / before the track was scored. */
|
|
17555
|
+
importance: zod.z.number().optional()
|
|
17500
17556
|
});
|
|
17501
17557
|
var AudioEventSchema = zod.z.object({
|
|
17502
17558
|
...BaseEventFields,
|
|
@@ -17520,7 +17576,8 @@ var MediaFileKindEnum = zod.z.enum([
|
|
|
17520
17576
|
"fullFrame",
|
|
17521
17577
|
"fullFrameBoxed",
|
|
17522
17578
|
"faceCrop",
|
|
17523
|
-
"plateCrop"
|
|
17579
|
+
"plateCrop",
|
|
17580
|
+
"keyFrame"
|
|
17524
17581
|
]);
|
|
17525
17582
|
var MediaFileSchema = zod.z.object({
|
|
17526
17583
|
key: zod.z.string(),
|
|
@@ -17541,6 +17598,32 @@ var DeviceEventQueryInput = zod.z.object({
|
|
|
17541
17598
|
projection: zod.z.enum(["full", "slim"]).optional()
|
|
17542
17599
|
});
|
|
17543
17600
|
var ObjectEventQueryInput = DeviceEventQueryInput.extend({ classFilter: zod.z.string().optional() });
|
|
17601
|
+
var KeyEventQueryInput = zod.z.object({
|
|
17602
|
+
deviceId: zod.z.number(),
|
|
17603
|
+
/** Window lower bound (track firstSeen ≥ since). */
|
|
17604
|
+
since: zod.z.number(),
|
|
17605
|
+
/** Window upper bound (track firstSeen ≤ until). */
|
|
17606
|
+
until: zod.z.number(),
|
|
17607
|
+
limit: zod.z.number().int().min(1).max(200).default(50),
|
|
17608
|
+
/** Drop tracks scoring below this importance. */
|
|
17609
|
+
minImportance: zod.z.number().min(0).max(1).optional(),
|
|
17610
|
+
/** Restrict to a single class (e.g. 'person'). */
|
|
17611
|
+
classFilter: zod.z.string().optional()
|
|
17612
|
+
});
|
|
17613
|
+
var KeyEventSchema = zod.z.object({
|
|
17614
|
+
/** The representative event id (the track's best ObjectEvent, else its trackId). */
|
|
17615
|
+
id: zod.z.string(),
|
|
17616
|
+
trackId: zod.z.string(),
|
|
17617
|
+
/** Track start time (firstSeen). */
|
|
17618
|
+
timestamp: zod.z.number(),
|
|
17619
|
+
className: zod.z.string(),
|
|
17620
|
+
label: zod.z.string().optional(),
|
|
17621
|
+
importance: zod.z.number(),
|
|
17622
|
+
/** Highest-confidence ObjectEvent id for the track (empty when none). */
|
|
17623
|
+
bestEventId: zod.z.string(),
|
|
17624
|
+
/** Track lifetime in ms (lastSeen - firstSeen). */
|
|
17625
|
+
windowMs: zod.z.number().optional()
|
|
17626
|
+
});
|
|
17544
17627
|
var TrackedDetectionSchema = zod.z.object({
|
|
17545
17628
|
trackId: zod.z.string(),
|
|
17546
17629
|
className: zod.z.string(),
|
|
@@ -17589,6 +17672,15 @@ var pipelineAnalyticsCapability = {
|
|
|
17589
17672
|
getMotionEvents: require_sleep.method(DeviceEventQueryInput, zod.z.array(MotionEventSchema).readonly()),
|
|
17590
17673
|
getObjectEvents: require_sleep.method(ObjectEventQueryInput, zod.z.array(ObjectEventSchema).readonly()),
|
|
17591
17674
|
getAudioEvents: require_sleep.method(DeviceEventQueryInput, zod.z.array(AudioEventSchema).readonly()),
|
|
17675
|
+
/**
|
|
17676
|
+
* Importance-ranked highlights for a device+window. Queries completed
|
|
17677
|
+
* tracks by (deviceId, firstSeen ∈ [since,until]), scores each (or reuses
|
|
17678
|
+
* the persisted score), filters by minImportance/classFilter, orders by
|
|
17679
|
+
* importance desc, and returns up to `limit` compact key events mapped to
|
|
17680
|
+
* each track's best event. Legacy tracks lacking a persisted score are
|
|
17681
|
+
* scored on-read (no write). Degrades to `[]` on error.
|
|
17682
|
+
*/
|
|
17683
|
+
getKeyEvents: require_sleep.method(KeyEventQueryInput, zod.z.array(KeyEventSchema).readonly()),
|
|
17592
17684
|
/** Server-side bucketed event counts for the 24-hour timeline.
|
|
17593
17685
|
* Returns one entry per non-empty bucket; empty buckets are omitted. */
|
|
17594
17686
|
getEventDensity: require_sleep.method(zod.z.object({
|
|
@@ -20492,7 +20584,17 @@ var FaceInfoSchema = zod.z.object({
|
|
|
20492
20584
|
recognizedIdentityId: zod.z.string().optional(),
|
|
20493
20585
|
identityName: zod.z.string().optional(),
|
|
20494
20586
|
assigned: zod.z.boolean(),
|
|
20495
|
-
base64: zod.z.string().optional()
|
|
20587
|
+
base64: zod.z.string().optional(),
|
|
20588
|
+
/** Design B: the face bbox (pixel space) on the key frame — lets a detail
|
|
20589
|
+
* view draw the box over the native `keyFrameMediaKey` frame. Absent on
|
|
20590
|
+
* legacy rows written before design B. */
|
|
20591
|
+
faceBbox: BoundingBoxSchema.optional(),
|
|
20592
|
+
/** Design B: MediaStore key of the track's native-resolution key frame.
|
|
20593
|
+
* Fetch the native JPEG via the event-media data-plane
|
|
20594
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`). Absent when the
|
|
20595
|
+
* track produced no key frame (e.g. native/onboard source) — the UI falls
|
|
20596
|
+
* back to the inline `base64` face crop. */
|
|
20597
|
+
keyFrameMediaKey: zod.z.string().optional()
|
|
20496
20598
|
});
|
|
20497
20599
|
var FaceFilterEnum = zod.z.enum([
|
|
20498
20600
|
"unassigned",
|
|
@@ -26377,6 +26479,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
26377
26479
|
addonId: null,
|
|
26378
26480
|
access: "view"
|
|
26379
26481
|
},
|
|
26482
|
+
"pipelineAnalytics.getKeyEvents": {
|
|
26483
|
+
capName: "pipeline-analytics",
|
|
26484
|
+
capScope: "device",
|
|
26485
|
+
addonId: null,
|
|
26486
|
+
access: "view"
|
|
26487
|
+
},
|
|
26380
26488
|
"pipelineAnalytics.getMotionEvents": {
|
|
26381
26489
|
capName: "pipeline-analytics",
|
|
26382
26490
|
capScope: "device",
|
|
@@ -26905,6 +27013,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
26905
27013
|
addonId: null,
|
|
26906
27014
|
access: "view"
|
|
26907
27015
|
},
|
|
27016
|
+
"pipelineRunner.getNativeCrop": {
|
|
27017
|
+
capName: "pipeline-runner",
|
|
27018
|
+
capScope: "system",
|
|
27019
|
+
addonId: null,
|
|
27020
|
+
access: "view"
|
|
27021
|
+
},
|
|
26908
27022
|
"pipelineRunner.reportMotion": {
|
|
26909
27023
|
capName: "pipeline-runner",
|
|
26910
27024
|
capScope: "system",
|
|
@@ -29272,6 +29386,7 @@ exports.IntegrationWithStateSchema = IntegrationWithStateSchema;
|
|
|
29272
29386
|
exports.IntercomAbilitySchema = IntercomAbilitySchema;
|
|
29273
29387
|
exports.IntercomStatusSchema = IntercomStatusSchema;
|
|
29274
29388
|
exports.KNOWN_CAP_NAMES = KNOWN_CAP_NAMES;
|
|
29389
|
+
exports.KeyEventSchema = KeyEventSchema;
|
|
29275
29390
|
exports.LabelDefinitionSchema = LabelDefinitionSchema;
|
|
29276
29391
|
exports.LawnMowerActivitySchema = LawnMowerActivitySchema;
|
|
29277
29392
|
exports.LawnMowerControlStatusSchema = LawnMowerControlStatusSchema;
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as StreamSourceSchema, A as parseJsonUnknown, B as CamProfileSchema, C as asBoolean, D as asString, E as asNumber, F as readinessKey, G as DecodedFrameSchema, H as CamStreamResolutionSchema, I as scopeKey, J as FrameHandleSchema, K as EncodedPacketSchema, L as BrokerStatsSchema, M as ReadinessRegistry, N as ReadinessTimeoutError, O as parseJsonArray, P as emitDownForOwnedCaps, Q as StreamSourceEntrySchema, R as BrokerStatusSchema, S as DeviceType, T as asJsonObject, U as CameraStreamSchema, V as CamStreamKindSchema, W as DecodedAudioChunkSchema, X as ProfileSlotSchema, Y as ProfileRtspEntrySchema, Z as ProfileSlotStatusSchema, _ as resolveCapMount, _t as collectHydratedFieldValues, a as viewerUiCapability, at as makeSourceBrokerId, b as DeviceFeature, bt as EventCategory, c as createLazyTrpcSource, ct as BaseAddon, d as DEVICE_SETTINGS_CONTRIBUTION_METHODS, dt as createEvent, et as SubscribeAudioChunksInputSchema, f as DEVICE_STATUS_METHOD, ft as emitReadiness, g as method, gt as collectHydratedFieldEntries, h as isDeviceConfigCap, ht as WELL_KNOWN_TAB_MAP, i as deviceOpsCapability, it as makeProfileBrokerId, j as DATAPLANE_SECRET_HEADER, k as parseJsonObject, l as createMirrorSource, lt as normalizeAddonInitResult, m as expandCapMethods, mt as WELL_KNOWN_TABS, n as sleepCancellable, nt as SubscribeFramesInputSchema, o as adminUiCapability, ot as parseProfileBrokerId, p as event, pt as isEvent, q as FrameHandleFormatSchema, r as RawStateResultSchema, rt as SubscribeFramesResultSchema, s as createDeviceProxy, st as selectAssignedProfileSlots, t as sleep, tt as SubscribeAudioChunksResultSchema, u as createSliceHandle, ut as createDurableState, v as systemMethod, vt as hydrateSchema, w as asJsonArray, x as DeviceRole, xt as DisposerChain, y as ChargingStatus, yt as resolveHydratedFieldValue, z as CAM_PROFILE_ORDER } from "./sleep-
|
|
1
|
+
import { $ as StreamSourceSchema, A as parseJsonUnknown, B as CamProfileSchema, C as asBoolean, D as asString, E as asNumber, F as readinessKey, G as DecodedFrameSchema, H as CamStreamResolutionSchema, I as scopeKey, J as FrameHandleSchema, K as EncodedPacketSchema, L as BrokerStatsSchema, M as ReadinessRegistry, N as ReadinessTimeoutError, O as parseJsonArray, P as emitDownForOwnedCaps, Q as StreamSourceEntrySchema, R as BrokerStatusSchema, S as DeviceType, T as asJsonObject, U as CameraStreamSchema, V as CamStreamKindSchema, W as DecodedAudioChunkSchema, X as ProfileSlotSchema, Y as ProfileRtspEntrySchema, Z as ProfileSlotStatusSchema, _ as resolveCapMount, _t as collectHydratedFieldValues, a as viewerUiCapability, at as makeSourceBrokerId, b as DeviceFeature, bt as EventCategory, c as createLazyTrpcSource, ct as BaseAddon, d as DEVICE_SETTINGS_CONTRIBUTION_METHODS, dt as createEvent, et as SubscribeAudioChunksInputSchema, f as DEVICE_STATUS_METHOD, ft as emitReadiness, g as method, gt as collectHydratedFieldEntries, h as isDeviceConfigCap, ht as WELL_KNOWN_TAB_MAP, i as deviceOpsCapability, it as makeProfileBrokerId, j as DATAPLANE_SECRET_HEADER, k as parseJsonObject, l as createMirrorSource, lt as normalizeAddonInitResult, m as expandCapMethods, mt as WELL_KNOWN_TABS, n as sleepCancellable, nt as SubscribeFramesInputSchema, o as adminUiCapability, ot as parseProfileBrokerId, p as event, pt as isEvent, q as FrameHandleFormatSchema, r as RawStateResultSchema, rt as SubscribeFramesResultSchema, s as createDeviceProxy, st as selectAssignedProfileSlots, t as sleep, tt as SubscribeAudioChunksResultSchema, u as createSliceHandle, ut as createDurableState, v as systemMethod, vt as hydrateSchema, w as asJsonArray, x as DeviceRole, xt as DisposerChain, y as ChargingStatus, yt as resolveHydratedFieldValue, z as CAM_PROFILE_ORDER } from "./sleep-BC9Yqte7.mjs";
|
|
2
2
|
import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/health/wiring-health.ts
|
|
@@ -7588,6 +7588,7 @@ var PipelineAddonSchemaSchema = z.object({
|
|
|
7588
7588
|
defaultModelId: z.string(),
|
|
7589
7589
|
defaultModelIdByFormat: z.record(z.string(), z.string()).optional(),
|
|
7590
7590
|
enabledByDefault: z.boolean().optional(),
|
|
7591
|
+
backfillIntoExistingOverrides: z.boolean().optional(),
|
|
7591
7592
|
defaultConfidence: z.number(),
|
|
7592
7593
|
group: z.string().optional(),
|
|
7593
7594
|
configSchema: z.array(ConfigFieldBridge).readonly().optional()
|
|
@@ -8094,6 +8095,25 @@ var zonesCapability = {
|
|
|
8094
8095
|
//#endregion
|
|
8095
8096
|
//#region src/capabilities/pipeline-runner.cap.ts
|
|
8096
8097
|
/**
|
|
8098
|
+
* A bounding box in NORMALIZED [0,1] frame coordinates for `getNativeCrop`. The
|
|
8099
|
+
* decode worker resolves it against the RETAINED native frame's real pixel dims,
|
|
8100
|
+
* so the caller supplies only the detection-res bbox divided by the detection
|
|
8101
|
+
* dims — no native resolution to plumb.
|
|
8102
|
+
*/
|
|
8103
|
+
var NativeCropBboxSchema = z.object({
|
|
8104
|
+
x: z.number(),
|
|
8105
|
+
y: z.number(),
|
|
8106
|
+
w: z.number(),
|
|
8107
|
+
h: z.number()
|
|
8108
|
+
});
|
|
8109
|
+
/** Result of a best-effort native-resolution crop (`getNativeCrop`). */
|
|
8110
|
+
var NativeCropResultSchema = z.object({
|
|
8111
|
+
/** Packed rgb (24-bit) pixels of the crop. */
|
|
8112
|
+
bytes: z.instanceof(Uint8Array),
|
|
8113
|
+
width: z.number().int().positive(),
|
|
8114
|
+
height: z.number().int().positive()
|
|
8115
|
+
});
|
|
8116
|
+
/**
|
|
8097
8117
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
8098
8118
|
* by both the Zod data schema (validation + default fallback) and
|
|
8099
8119
|
* the device settings UI (slider min/max/step). Touch one place and
|
|
@@ -8521,7 +8541,22 @@ var pipelineRunnerCapability = {
|
|
|
8521
8541
|
/** All per-camera metrics in one round-trip. */
|
|
8522
8542
|
getAllCameraMetrics: method(z.void(), z.array(CameraMetricsWithDeviceIdSchema).readonly()),
|
|
8523
8543
|
/** List the deviceIds currently attached to this runner. */
|
|
8524
|
-
getLocalCameras: method(z.void(), z.array(z.number()).readonly())
|
|
8544
|
+
getLocalCameras: method(z.void(), z.array(z.number()).readonly()),
|
|
8545
|
+
/**
|
|
8546
|
+
* Best-effort NATIVE-resolution crop of a retention-ring frame. Given the
|
|
8547
|
+
* `FrameHandle` that rode an inference-result event and a normalized `bbox`,
|
|
8548
|
+
* the runner asks the decode worker still holding that frame's NATIVE
|
|
8549
|
+
* surface to GPU/CPU-crop ONLY the ROI at native res and download just the
|
|
8550
|
+
* crop. Returns `null` on a miss (handle not registered, or the worker's
|
|
8551
|
+
* tiny native-retention ring already evicted the frame) — the caller falls
|
|
8552
|
+
* back to a detection-frame crop. Routed to the frame's owning node by
|
|
8553
|
+
* `handle.nodeId`; NEVER ships a full native frame.
|
|
8554
|
+
*/
|
|
8555
|
+
getNativeCrop: method(z.object({
|
|
8556
|
+
handle: FrameHandleSchema,
|
|
8557
|
+
bbox: NativeCropBboxSchema,
|
|
8558
|
+
maxWidth: z.number().int().positive().optional()
|
|
8559
|
+
}), NativeCropResultSchema.nullable())
|
|
8525
8560
|
}
|
|
8526
8561
|
};
|
|
8527
8562
|
//#endregion
|
|
@@ -12613,7 +12648,8 @@ function createSystemProxy(api) {
|
|
|
12613
12648
|
getLocalLoad: (input) => dispatch("pipelineRunner", "getLocalLoad", "query", input),
|
|
12614
12649
|
getLocalMetrics: (input) => dispatch("pipelineRunner", "getLocalMetrics", "query", input),
|
|
12615
12650
|
getAllCameraMetrics: (input) => dispatch("pipelineRunner", "getAllCameraMetrics", "query", input),
|
|
12616
|
-
getLocalCameras: (input) => dispatch("pipelineRunner", "getLocalCameras", "query", input)
|
|
12651
|
+
getLocalCameras: (input) => dispatch("pipelineRunner", "getLocalCameras", "query", input),
|
|
12652
|
+
getNativeCrop: (input) => dispatch("pipelineRunner", "getNativeCrop", "query", input)
|
|
12617
12653
|
},
|
|
12618
12654
|
plateGallery: {
|
|
12619
12655
|
getPlateMedia: (input) => dispatch("plateGallery", "getPlateMedia", "query", input),
|
|
@@ -17429,7 +17465,17 @@ var TrackSchema = z.object({
|
|
|
17429
17465
|
/** Cumulative normalized distance travelled (0..1 units = full frame width). */
|
|
17430
17466
|
totalDistance: z.number(),
|
|
17431
17467
|
state: TrackStateSchema,
|
|
17432
|
-
active: z.boolean()
|
|
17468
|
+
active: z.boolean(),
|
|
17469
|
+
/** Deterministic key-event importance score in [0,1] (server-computed at
|
|
17470
|
+
* track expiry, recomputed on late label). Absent on legacy rows written
|
|
17471
|
+
* before scoring shipped — consumers degrade to absence / compute-on-read. */
|
|
17472
|
+
importance: z.number().optional(),
|
|
17473
|
+
/** Id of the track's highest-confidence ObjectEvent (its representative
|
|
17474
|
+
* "best" frame). Absent when the track produced no object events. */
|
|
17475
|
+
bestEventId: z.string().optional(),
|
|
17476
|
+
/** Tag of the importance sub-signal that dominated the score
|
|
17477
|
+
* (identity|dwell|proximity|class|confidence|travel|zone). */
|
|
17478
|
+
importanceReason: z.string().optional()
|
|
17433
17479
|
});
|
|
17434
17480
|
var BaseEventFields = {
|
|
17435
17481
|
id: z.string(),
|
|
@@ -17494,8 +17540,18 @@ var ObjectEventSchema = z.object({
|
|
|
17494
17540
|
frameHeight: z.number().optional(),
|
|
17495
17541
|
/** MediaStore key for the crop attached to this event (if any). */
|
|
17496
17542
|
mediaKey: z.string().optional(),
|
|
17543
|
+
/** Design B: MediaStore key of the track's native-resolution key frame (the
|
|
17544
|
+
* best-detection full frame). Resolve via the event-media data-plane
|
|
17545
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`) for a detail view that
|
|
17546
|
+
* draws `bbox` over the native frame. Absent on legacy rows / non-decoded
|
|
17547
|
+
* sources — consumers fall back to `mediaKey` (the tight crop). */
|
|
17548
|
+
keyFrameMediaKey: z.string().optional(),
|
|
17497
17549
|
/** Populated by B5 (recording playback URL for this event). */
|
|
17498
|
-
mediaUrl: z.string().optional()
|
|
17550
|
+
mediaUrl: z.string().optional(),
|
|
17551
|
+
/** The parent track's key-event importance [0,1], propagated to every object
|
|
17552
|
+
* event of the track (so an event row can be sorted by importance without a
|
|
17553
|
+
* track join). Absent on legacy rows / before the track was scored. */
|
|
17554
|
+
importance: z.number().optional()
|
|
17499
17555
|
});
|
|
17500
17556
|
var AudioEventSchema = z.object({
|
|
17501
17557
|
...BaseEventFields,
|
|
@@ -17519,7 +17575,8 @@ var MediaFileKindEnum = z.enum([
|
|
|
17519
17575
|
"fullFrame",
|
|
17520
17576
|
"fullFrameBoxed",
|
|
17521
17577
|
"faceCrop",
|
|
17522
|
-
"plateCrop"
|
|
17578
|
+
"plateCrop",
|
|
17579
|
+
"keyFrame"
|
|
17523
17580
|
]);
|
|
17524
17581
|
var MediaFileSchema = z.object({
|
|
17525
17582
|
key: z.string(),
|
|
@@ -17540,6 +17597,32 @@ var DeviceEventQueryInput = z.object({
|
|
|
17540
17597
|
projection: z.enum(["full", "slim"]).optional()
|
|
17541
17598
|
});
|
|
17542
17599
|
var ObjectEventQueryInput = DeviceEventQueryInput.extend({ classFilter: z.string().optional() });
|
|
17600
|
+
var KeyEventQueryInput = z.object({
|
|
17601
|
+
deviceId: z.number(),
|
|
17602
|
+
/** Window lower bound (track firstSeen ≥ since). */
|
|
17603
|
+
since: z.number(),
|
|
17604
|
+
/** Window upper bound (track firstSeen ≤ until). */
|
|
17605
|
+
until: z.number(),
|
|
17606
|
+
limit: z.number().int().min(1).max(200).default(50),
|
|
17607
|
+
/** Drop tracks scoring below this importance. */
|
|
17608
|
+
minImportance: z.number().min(0).max(1).optional(),
|
|
17609
|
+
/** Restrict to a single class (e.g. 'person'). */
|
|
17610
|
+
classFilter: z.string().optional()
|
|
17611
|
+
});
|
|
17612
|
+
var KeyEventSchema = z.object({
|
|
17613
|
+
/** The representative event id (the track's best ObjectEvent, else its trackId). */
|
|
17614
|
+
id: z.string(),
|
|
17615
|
+
trackId: z.string(),
|
|
17616
|
+
/** Track start time (firstSeen). */
|
|
17617
|
+
timestamp: z.number(),
|
|
17618
|
+
className: z.string(),
|
|
17619
|
+
label: z.string().optional(),
|
|
17620
|
+
importance: z.number(),
|
|
17621
|
+
/** Highest-confidence ObjectEvent id for the track (empty when none). */
|
|
17622
|
+
bestEventId: z.string(),
|
|
17623
|
+
/** Track lifetime in ms (lastSeen - firstSeen). */
|
|
17624
|
+
windowMs: z.number().optional()
|
|
17625
|
+
});
|
|
17543
17626
|
var TrackedDetectionSchema = z.object({
|
|
17544
17627
|
trackId: z.string(),
|
|
17545
17628
|
className: z.string(),
|
|
@@ -17588,6 +17671,15 @@ var pipelineAnalyticsCapability = {
|
|
|
17588
17671
|
getMotionEvents: method(DeviceEventQueryInput, z.array(MotionEventSchema).readonly()),
|
|
17589
17672
|
getObjectEvents: method(ObjectEventQueryInput, z.array(ObjectEventSchema).readonly()),
|
|
17590
17673
|
getAudioEvents: method(DeviceEventQueryInput, z.array(AudioEventSchema).readonly()),
|
|
17674
|
+
/**
|
|
17675
|
+
* Importance-ranked highlights for a device+window. Queries completed
|
|
17676
|
+
* tracks by (deviceId, firstSeen ∈ [since,until]), scores each (or reuses
|
|
17677
|
+
* the persisted score), filters by minImportance/classFilter, orders by
|
|
17678
|
+
* importance desc, and returns up to `limit` compact key events mapped to
|
|
17679
|
+
* each track's best event. Legacy tracks lacking a persisted score are
|
|
17680
|
+
* scored on-read (no write). Degrades to `[]` on error.
|
|
17681
|
+
*/
|
|
17682
|
+
getKeyEvents: method(KeyEventQueryInput, z.array(KeyEventSchema).readonly()),
|
|
17591
17683
|
/** Server-side bucketed event counts for the 24-hour timeline.
|
|
17592
17684
|
* Returns one entry per non-empty bucket; empty buckets are omitted. */
|
|
17593
17685
|
getEventDensity: method(z.object({
|
|
@@ -20491,7 +20583,17 @@ var FaceInfoSchema = z.object({
|
|
|
20491
20583
|
recognizedIdentityId: z.string().optional(),
|
|
20492
20584
|
identityName: z.string().optional(),
|
|
20493
20585
|
assigned: z.boolean(),
|
|
20494
|
-
base64: z.string().optional()
|
|
20586
|
+
base64: z.string().optional(),
|
|
20587
|
+
/** Design B: the face bbox (pixel space) on the key frame — lets a detail
|
|
20588
|
+
* view draw the box over the native `keyFrameMediaKey` frame. Absent on
|
|
20589
|
+
* legacy rows written before design B. */
|
|
20590
|
+
faceBbox: BoundingBoxSchema.optional(),
|
|
20591
|
+
/** Design B: MediaStore key of the track's native-resolution key frame.
|
|
20592
|
+
* Fetch the native JPEG via the event-media data-plane
|
|
20593
|
+
* (`/addon/<addonId>/event-media/<keyFrameMediaKey>`). Absent when the
|
|
20594
|
+
* track produced no key frame (e.g. native/onboard source) — the UI falls
|
|
20595
|
+
* back to the inline `base64` face crop. */
|
|
20596
|
+
keyFrameMediaKey: z.string().optional()
|
|
20495
20597
|
});
|
|
20496
20598
|
var FaceFilterEnum = z.enum([
|
|
20497
20599
|
"unassigned",
|
|
@@ -26376,6 +26478,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
26376
26478
|
addonId: null,
|
|
26377
26479
|
access: "view"
|
|
26378
26480
|
},
|
|
26481
|
+
"pipelineAnalytics.getKeyEvents": {
|
|
26482
|
+
capName: "pipeline-analytics",
|
|
26483
|
+
capScope: "device",
|
|
26484
|
+
addonId: null,
|
|
26485
|
+
access: "view"
|
|
26486
|
+
},
|
|
26379
26487
|
"pipelineAnalytics.getMotionEvents": {
|
|
26380
26488
|
capName: "pipeline-analytics",
|
|
26381
26489
|
capScope: "device",
|
|
@@ -26904,6 +27012,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
26904
27012
|
addonId: null,
|
|
26905
27013
|
access: "view"
|
|
26906
27014
|
},
|
|
27015
|
+
"pipelineRunner.getNativeCrop": {
|
|
27016
|
+
capName: "pipeline-runner",
|
|
27017
|
+
capScope: "system",
|
|
27018
|
+
addonId: null,
|
|
27019
|
+
access: "view"
|
|
27020
|
+
},
|
|
26907
27021
|
"pipelineRunner.reportMotion": {
|
|
26908
27022
|
capName: "pipeline-runner",
|
|
26909
27023
|
capScope: "system",
|
|
@@ -29013,4 +29127,4 @@ function scoreRuntimes(hw) {
|
|
|
29013
29127
|
};
|
|
29014
29128
|
}
|
|
29015
29129
|
//#endregion
|
|
29016
|
-
export { ACCESSORY_LABEL, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationControlStatusSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BATTERY_DEVICE_PROFILE, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, COCO_80_LABELS, COCO_TO_MACRO, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusSchema, CameraStreamSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_FEATURES, DEFAULT_RETENTION, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DEVICE_TYPE_INFO, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENT_PAD_MS, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindSchema, EventSourceType, ExportSetupFieldSchema, ExportSetupSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionEvalError, ExpressionParseError, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, LabelDefinitionSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, MODEL_FORMATS, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, NativeDetectionSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionSchema, NotificationFormatSchema, NotificationHistoryEntrySchema, NotificationRuleSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OauthIntegrationDescriptorSchema, ObjectEventSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RESERVED_BINDING_NAMES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingModeSchema, RecordingRangeSchema, RecordingRetentionSchema, RecordingRuleSchema, RecordingScheduleSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RenderedAsSchema, ReportMotionInputSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCOPE_PRESETS, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TIMEZONES, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestResultSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackSchema, TrackStateSchema, TrackedDetectionSchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VibrationStatusSchema, VideoEncodeSchema, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, advancedNotifierCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, applyTransform, asBoolean, asJsonArray, asJsonObject, asNumber, asString, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioMetricsCapability, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildModelVariantGroups, buildStreamParamsConfigSchema, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, carbonMonoxideCapability, cellsToRects, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, compileExpression, compileExpressionSafe, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, cosineSimilarity, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dayNightCapability, decoderCapability, defaultDeviceFor, defineCustomActions, describeModelVariant, detectionPipelineCapability, deviceAdoptionCapability, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, enumSensorCapability, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateLinkExpression, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, frameworkSwapConfirmSchema, frameworkSwapPackageSchema, gasCapability, getAudioMacroClassIds, getByPath, getCapsByProviderKind, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, isAgentOnlyPlacement, isArrayOutputSchema, isDeployableToAgent, isDeviceConfigCap, isEvent, isObjectInput, isVoidInput, jobKindSchema, kebabToCamel, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, localNetworkCapability, locationSimilarity, lockControlCapability, logDestinationCapability, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, metricsProviderCapability, migrateConfigToBands, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, osdCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, pendingFrameworkSwapSchema, petFeederCapability, pickPreferredRtspEntry, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readNodePin, readinessKey, rebootCapability, recordingCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceProfile, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveRunnerId, resolveVariantModelId, runInferenceStep, runtimeDevices, scopeKey, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, storageCapability, storageEvictableCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, supportedRuntimes, switchCapability, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, textToHtml, toDeviceSummary, toExpressionValue, toStreamSourceEntry, toastCapability, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, valveCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
29130
|
+
export { ACCESSORY_LABEL, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationControlStatusSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BATTERY_DEVICE_PROFILE, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, COCO_80_LABELS, COCO_TO_MACRO, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusSchema, CameraStreamSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_FEATURES, DEFAULT_RETENTION, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DEVICE_TYPE_INFO, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENT_PAD_MS, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindSchema, EventSourceType, ExportSetupFieldSchema, ExportSetupSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionEvalError, ExpressionParseError, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LabelDefinitionSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, MODEL_FORMATS, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, NativeDetectionSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionSchema, NotificationFormatSchema, NotificationHistoryEntrySchema, NotificationRuleSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OauthIntegrationDescriptorSchema, ObjectEventSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RESERVED_BINDING_NAMES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingModeSchema, RecordingRangeSchema, RecordingRetentionSchema, RecordingRuleSchema, RecordingScheduleSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RenderedAsSchema, ReportMotionInputSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCOPE_PRESETS, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TIMEZONES, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestResultSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackSchema, TrackStateSchema, TrackedDetectionSchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VibrationStatusSchema, VideoEncodeSchema, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, advancedNotifierCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, applyTransform, asBoolean, asJsonArray, asJsonObject, asNumber, asString, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioMetricsCapability, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildModelVariantGroups, buildStreamParamsConfigSchema, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, carbonMonoxideCapability, cellsToRects, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, compileExpression, compileExpressionSafe, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, cosineSimilarity, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dayNightCapability, decoderCapability, defaultDeviceFor, defineCustomActions, describeModelVariant, detectionPipelineCapability, deviceAdoptionCapability, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, enumSensorCapability, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateLinkExpression, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, frameworkSwapConfirmSchema, frameworkSwapPackageSchema, gasCapability, getAudioMacroClassIds, getByPath, getCapsByProviderKind, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, isAgentOnlyPlacement, isArrayOutputSchema, isDeployableToAgent, isDeviceConfigCap, isEvent, isObjectInput, isVoidInput, jobKindSchema, kebabToCamel, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, localNetworkCapability, locationSimilarity, lockControlCapability, logDestinationCapability, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, metricsProviderCapability, migrateConfigToBands, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, osdCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, pendingFrameworkSwapSchema, petFeederCapability, pickPreferredRtspEntry, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readNodePin, readinessKey, rebootCapability, recordingCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceProfile, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveRunnerId, resolveVariantModelId, runInferenceStep, runtimeDevices, scopeKey, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, storageCapability, storageEvictableCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, supportedRuntimes, switchCapability, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, textToHtml, toDeviceSummary, toExpressionValue, toStreamSourceEntry, toastCapability, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, valveCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
@@ -3408,6 +3408,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3408
3408
|
getMotionEvents: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getMotionEvents", "query", input),
|
|
3409
3409
|
getObjectEvents: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getObjectEvents", "query", input),
|
|
3410
3410
|
getAudioEvents: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getAudioEvents", "query", input),
|
|
3411
|
+
getKeyEvents: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getKeyEvents", "query", input),
|
|
3411
3412
|
getEventDensity: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getEventDensity", "query", input),
|
|
3412
3413
|
pruneEventsBefore: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "pruneEventsBefore", "mutation", input),
|
|
3413
3414
|
getEventMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getEventMedia", "query", input),
|
|
@@ -3408,6 +3408,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3408
3408
|
getMotionEvents: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getMotionEvents", "query", input),
|
|
3409
3409
|
getObjectEvents: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getObjectEvents", "query", input),
|
|
3410
3410
|
getAudioEvents: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getAudioEvents", "query", input),
|
|
3411
|
+
getKeyEvents: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getKeyEvents", "query", input),
|
|
3411
3412
|
getEventDensity: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getEventDensity", "query", input),
|
|
3412
3413
|
pruneEventsBefore: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "pruneEventsBefore", "mutation", input),
|
|
3413
3414
|
getEventMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getEventMedia", "query", input),
|
|
@@ -48,6 +48,22 @@ export interface StepDefinition {
|
|
|
48
48
|
* rather than out).
|
|
49
49
|
*/
|
|
50
50
|
readonly enabledByDefault?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Opt-in: when `true`, this step is BACK-FILLED into a camera's stored
|
|
53
|
+
* wholesale pipeline override (`cameraSettings.pipelineByAgent`) at resolve
|
|
54
|
+
* time if it is absent from that snapshot — see
|
|
55
|
+
* `mergeEnabledByDefaultSteps`. Set this ONLY on a genuinely-NEW default
|
|
56
|
+
* step that shipped AFTER existing snapshots were captured and must reach
|
|
57
|
+
* them (e.g. `clip-embedding` for object semantic search).
|
|
58
|
+
*
|
|
59
|
+
* It exists because absence-from-a-snapshot is ambiguous: it can mean
|
|
60
|
+
* "predates this step" OR "operator deliberately pruned it". A broad
|
|
61
|
+
* "back-fill every default" would resurrect deliberate removals of
|
|
62
|
+
* long-existing steps (face-detection, etc.). This flag makes back-fill
|
|
63
|
+
* strictly opt-in so only a new step re-enters existing overrides; absent
|
|
64
|
+
* (the default) preserves operator intent verbatim. Absent = `false`.
|
|
65
|
+
*/
|
|
66
|
+
readonly backfillIntoExistingOverrides?: boolean;
|
|
51
67
|
/** Default confidence threshold */
|
|
52
68
|
readonly defaultConfidence: number;
|
|
53
69
|
/** Runtime label lookup (e.g., class name arrays for softmax, charset for CTC) */
|