@camstack/types 1.1.41 → 1.1.43

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/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_sleep = require("./sleep-Dqd2OlRi.js");
2
+ const require_sleep = require("./sleep-DmvEGsRg.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
@@ -7880,7 +7880,15 @@ var pipelineExecutorCapability = {
7880
7880
  image: zod.z.instanceof(Uint8Array).optional(),
7881
7881
  referenceImage: zod.z.string().optional(),
7882
7882
  deviceId: zod.z.number().optional(),
7883
- sessionId: zod.z.string().optional()
7883
+ sessionId: zod.z.string().optional(),
7884
+ /**
7885
+ * Execution plane. 'full' (default) runs the whole tree — benchmark,
7886
+ * reference-image, and detail-subtree calls. 'frame' is the live
7887
+ * per-frame dispatch: ONLY root-plane steps run; crop children
7888
+ * (inputClasses ≠ null) are skipped and served per-track via
7889
+ * pipelineRunner.runDetailSubtree (two-plane design).
7890
+ */
7891
+ plane: zod.z.enum(["full", "frame"]).optional()
7884
7892
  }), PipelineRunResultBridge, { kind: "mutation" }),
7885
7893
  /**
7886
7894
  * Batched run — N raw frames packed into one cap call. The provider
@@ -8096,6 +8104,47 @@ var zonesCapability = {
8096
8104
  //#endregion
8097
8105
  //#region src/capabilities/pipeline-runner.cap.ts
8098
8106
  /**
8107
+ * A bounding box in NORMALIZED [0,1] frame coordinates for `getNativeCrop`. The
8108
+ * decode worker resolves it against the RETAINED native frame's real pixel dims,
8109
+ * so the caller supplies only the detection-res bbox divided by the detection
8110
+ * dims — no native resolution to plumb.
8111
+ */
8112
+ var NativeCropBboxSchema = zod.z.object({
8113
+ x: zod.z.number(),
8114
+ y: zod.z.number(),
8115
+ w: zod.z.number(),
8116
+ h: zod.z.number()
8117
+ });
8118
+ /** Result of a best-effort native-resolution crop (`getNativeCrop`). */
8119
+ var NativeCropResultSchema = zod.z.object({
8120
+ /** Packed rgb (24-bit) pixels of the crop. */
8121
+ bytes: zod.z.instanceof(Uint8Array),
8122
+ width: zod.z.number().int().positive(),
8123
+ height: zod.z.number().int().positive()
8124
+ });
8125
+ /** Parent detection context passed to `runDetailSubtree` — the crop's
8126
+ * originating detection, in FRAME-space coordinates. Reuses
8127
+ * `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
8128
+ * the coordinates are frame-space rather than getNativeCrop's
8129
+ * normalized [0,1] convention). */
8130
+ var DetailParentSchema = zod.z.object({
8131
+ bbox: NativeCropBboxSchema,
8132
+ className: zod.z.string()
8133
+ });
8134
+ /** One child-step result from `runDetailSubtree` — an embedding, label,
8135
+ * or refined detection produced by running the crop-subtree on a
8136
+ * single tracked detection. */
8137
+ var DetailResultSchema = zod.z.object({
8138
+ stepId: zod.z.string(),
8139
+ className: zod.z.string(),
8140
+ score: zod.z.number(),
8141
+ /** FRAME-space bbox (already mapped back from crop space). */
8142
+ bbox: NativeCropBboxSchema.optional(),
8143
+ embedding: zod.z.string().optional(),
8144
+ label: zod.z.string().optional(),
8145
+ alignedCropJpeg: zod.z.string().optional()
8146
+ });
8147
+ /**
8099
8148
  * Per-camera tunable ranges + defaults. Single source of truth used
8100
8149
  * by both the Zod data schema (validation + default fallback) and
8101
8150
  * the device settings UI (slider min/max/step). Touch one place and
@@ -8523,7 +8572,42 @@ var pipelineRunnerCapability = {
8523
8572
  /** All per-camera metrics in one round-trip. */
8524
8573
  getAllCameraMetrics: require_sleep.method(zod.z.void(), zod.z.array(CameraMetricsWithDeviceIdSchema).readonly()),
8525
8574
  /** List the deviceIds currently attached to this runner. */
8526
- getLocalCameras: require_sleep.method(zod.z.void(), zod.z.array(zod.z.number()).readonly())
8575
+ getLocalCameras: require_sleep.method(zod.z.void(), zod.z.array(zod.z.number()).readonly()),
8576
+ /**
8577
+ * Best-effort NATIVE-resolution crop of a retention-ring frame. Given the
8578
+ * `FrameHandle` that rode an inference-result event and a normalized `bbox`,
8579
+ * the runner asks the decode worker still holding that frame's NATIVE
8580
+ * surface to GPU/CPU-crop ONLY the ROI at native res and download just the
8581
+ * crop. Returns `null` on a miss (handle not registered, or the worker's
8582
+ * tiny native-retention ring already evicted the frame) — the caller falls
8583
+ * back to a detection-frame crop. Routed to the frame's owning node by
8584
+ * `handle.nodeId`; NEVER ships a full native frame.
8585
+ */
8586
+ getNativeCrop: require_sleep.method(zod.z.object({
8587
+ handle: require_sleep.FrameHandleSchema,
8588
+ bbox: NativeCropBboxSchema,
8589
+ maxWidth: zod.z.number().int().positive().optional()
8590
+ }), NativeCropResultSchema.nullable()),
8591
+ /**
8592
+ * Two-plane design: run the DETAIL subtree (crop children —
8593
+ * embedding, classifier, refiner steps whose `inputClasses ≠ null`)
8594
+ * for a single tracked detection. The per-frame plane (`runPipeline`
8595
+ * with `plane: 'frame'`) skips crop children entirely; a track-level
8596
+ * caller invokes this per-track, on its own cadence, instead of on
8597
+ * every frame. Takes either a `frameHandle` (shm lease/session —
8598
+ * preferred, zero-copy) or a `cropJpeg` fallback when the lease/
8599
+ * session backing the frame is already gone. `steps` narrows which
8600
+ * configured children to run (default: all configured children for
8601
+ * `parent.className`). Returns `null` when neither frame source is
8602
+ * resolvable (handle evicted and no cropJpeg fallback supplied).
8603
+ */
8604
+ runDetailSubtree: require_sleep.method(zod.z.object({
8605
+ deviceId: zod.z.number(),
8606
+ frameHandle: require_sleep.FrameHandleSchema.optional(),
8607
+ cropJpeg: zod.z.string().optional(),
8608
+ parent: DetailParentSchema,
8609
+ steps: zod.z.array(zod.z.string()).optional()
8610
+ }), zod.z.object({ details: zod.z.array(DetailResultSchema) }).nullable(), { kind: "mutation" })
8527
8611
  }
8528
8612
  };
8529
8613
  //#endregion
@@ -12615,7 +12699,8 @@ function createSystemProxy(api) {
12615
12699
  getLocalLoad: (input) => dispatch("pipelineRunner", "getLocalLoad", "query", input),
12616
12700
  getLocalMetrics: (input) => dispatch("pipelineRunner", "getLocalMetrics", "query", input),
12617
12701
  getAllCameraMetrics: (input) => dispatch("pipelineRunner", "getAllCameraMetrics", "query", input),
12618
- getLocalCameras: (input) => dispatch("pipelineRunner", "getLocalCameras", "query", input)
12702
+ getLocalCameras: (input) => dispatch("pipelineRunner", "getLocalCameras", "query", input),
12703
+ getNativeCrop: (input) => dispatch("pipelineRunner", "getNativeCrop", "query", input)
12619
12704
  },
12620
12705
  plateGallery: {
12621
12706
  getPlateMedia: (input) => dispatch("plateGallery", "getPlateMedia", "query", input),
@@ -17431,7 +17516,17 @@ var TrackSchema = zod.z.object({
17431
17516
  /** Cumulative normalized distance travelled (0..1 units = full frame width). */
17432
17517
  totalDistance: zod.z.number(),
17433
17518
  state: TrackStateSchema,
17434
- active: zod.z.boolean()
17519
+ active: zod.z.boolean(),
17520
+ /** Deterministic key-event importance score in [0,1] (server-computed at
17521
+ * track expiry, recomputed on late label). Absent on legacy rows written
17522
+ * before scoring shipped — consumers degrade to absence / compute-on-read. */
17523
+ importance: zod.z.number().optional(),
17524
+ /** Id of the track's highest-confidence ObjectEvent (its representative
17525
+ * "best" frame). Absent when the track produced no object events. */
17526
+ bestEventId: zod.z.string().optional(),
17527
+ /** Tag of the importance sub-signal that dominated the score
17528
+ * (identity|dwell|proximity|class|confidence|travel|zone). */
17529
+ importanceReason: zod.z.string().optional()
17435
17530
  });
17436
17531
  var BaseEventFields = {
17437
17532
  id: zod.z.string(),
@@ -17496,8 +17591,18 @@ var ObjectEventSchema = zod.z.object({
17496
17591
  frameHeight: zod.z.number().optional(),
17497
17592
  /** MediaStore key for the crop attached to this event (if any). */
17498
17593
  mediaKey: zod.z.string().optional(),
17594
+ /** Design B: MediaStore key of the track's native-resolution key frame (the
17595
+ * best-detection full frame). Resolve via the event-media data-plane
17596
+ * (`/addon/<addonId>/event-media/<keyFrameMediaKey>`) for a detail view that
17597
+ * draws `bbox` over the native frame. Absent on legacy rows / non-decoded
17598
+ * sources — consumers fall back to `mediaKey` (the tight crop). */
17599
+ keyFrameMediaKey: zod.z.string().optional(),
17499
17600
  /** Populated by B5 (recording playback URL for this event). */
17500
- mediaUrl: zod.z.string().optional()
17601
+ mediaUrl: zod.z.string().optional(),
17602
+ /** The parent track's key-event importance [0,1], propagated to every object
17603
+ * event of the track (so an event row can be sorted by importance without a
17604
+ * track join). Absent on legacy rows / before the track was scored. */
17605
+ importance: zod.z.number().optional()
17501
17606
  });
17502
17607
  var AudioEventSchema = zod.z.object({
17503
17608
  ...BaseEventFields,
@@ -17521,7 +17626,8 @@ var MediaFileKindEnum = zod.z.enum([
17521
17626
  "fullFrame",
17522
17627
  "fullFrameBoxed",
17523
17628
  "faceCrop",
17524
- "plateCrop"
17629
+ "plateCrop",
17630
+ "keyFrame"
17525
17631
  ]);
17526
17632
  var MediaFileSchema = zod.z.object({
17527
17633
  key: zod.z.string(),
@@ -17542,6 +17648,32 @@ var DeviceEventQueryInput = zod.z.object({
17542
17648
  projection: zod.z.enum(["full", "slim"]).optional()
17543
17649
  });
17544
17650
  var ObjectEventQueryInput = DeviceEventQueryInput.extend({ classFilter: zod.z.string().optional() });
17651
+ var KeyEventQueryInput = zod.z.object({
17652
+ deviceId: zod.z.number(),
17653
+ /** Window lower bound (track firstSeen ≥ since). */
17654
+ since: zod.z.number(),
17655
+ /** Window upper bound (track firstSeen ≤ until). */
17656
+ until: zod.z.number(),
17657
+ limit: zod.z.number().int().min(1).max(200).default(50),
17658
+ /** Drop tracks scoring below this importance. */
17659
+ minImportance: zod.z.number().min(0).max(1).optional(),
17660
+ /** Restrict to a single class (e.g. 'person'). */
17661
+ classFilter: zod.z.string().optional()
17662
+ });
17663
+ var KeyEventSchema = zod.z.object({
17664
+ /** The representative event id (the track's best ObjectEvent, else its trackId). */
17665
+ id: zod.z.string(),
17666
+ trackId: zod.z.string(),
17667
+ /** Track start time (firstSeen). */
17668
+ timestamp: zod.z.number(),
17669
+ className: zod.z.string(),
17670
+ label: zod.z.string().optional(),
17671
+ importance: zod.z.number(),
17672
+ /** Highest-confidence ObjectEvent id for the track (empty when none). */
17673
+ bestEventId: zod.z.string(),
17674
+ /** Track lifetime in ms (lastSeen - firstSeen). */
17675
+ windowMs: zod.z.number().optional()
17676
+ });
17545
17677
  var TrackedDetectionSchema = zod.z.object({
17546
17678
  trackId: zod.z.string(),
17547
17679
  className: zod.z.string(),
@@ -17590,6 +17722,15 @@ var pipelineAnalyticsCapability = {
17590
17722
  getMotionEvents: require_sleep.method(DeviceEventQueryInput, zod.z.array(MotionEventSchema).readonly()),
17591
17723
  getObjectEvents: require_sleep.method(ObjectEventQueryInput, zod.z.array(ObjectEventSchema).readonly()),
17592
17724
  getAudioEvents: require_sleep.method(DeviceEventQueryInput, zod.z.array(AudioEventSchema).readonly()),
17725
+ /**
17726
+ * Importance-ranked highlights for a device+window. Queries completed
17727
+ * tracks by (deviceId, firstSeen ∈ [since,until]), scores each (or reuses
17728
+ * the persisted score), filters by minImportance/classFilter, orders by
17729
+ * importance desc, and returns up to `limit` compact key events mapped to
17730
+ * each track's best event. Legacy tracks lacking a persisted score are
17731
+ * scored on-read (no write). Degrades to `[]` on error.
17732
+ */
17733
+ getKeyEvents: require_sleep.method(KeyEventQueryInput, zod.z.array(KeyEventSchema).readonly()),
17593
17734
  /** Server-side bucketed event counts for the 24-hour timeline.
17594
17735
  * Returns one entry per non-empty bucket; empty buckets are omitted. */
17595
17736
  getEventDensity: require_sleep.method(zod.z.object({
@@ -20493,7 +20634,17 @@ var FaceInfoSchema = zod.z.object({
20493
20634
  recognizedIdentityId: zod.z.string().optional(),
20494
20635
  identityName: zod.z.string().optional(),
20495
20636
  assigned: zod.z.boolean(),
20496
- base64: zod.z.string().optional()
20637
+ base64: zod.z.string().optional(),
20638
+ /** Design B: the face bbox (pixel space) on the key frame — lets a detail
20639
+ * view draw the box over the native `keyFrameMediaKey` frame. Absent on
20640
+ * legacy rows written before design B. */
20641
+ faceBbox: BoundingBoxSchema.optional(),
20642
+ /** Design B: MediaStore key of the track's native-resolution key frame.
20643
+ * Fetch the native JPEG via the event-media data-plane
20644
+ * (`/addon/<addonId>/event-media/<keyFrameMediaKey>`). Absent when the
20645
+ * track produced no key frame (e.g. native/onboard source) — the UI falls
20646
+ * back to the inline `base64` face crop. */
20647
+ keyFrameMediaKey: zod.z.string().optional()
20497
20648
  });
20498
20649
  var FaceFilterEnum = zod.z.enum([
20499
20650
  "unassigned",
@@ -26378,6 +26529,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
26378
26529
  addonId: null,
26379
26530
  access: "view"
26380
26531
  },
26532
+ "pipelineAnalytics.getKeyEvents": {
26533
+ capName: "pipeline-analytics",
26534
+ capScope: "device",
26535
+ addonId: null,
26536
+ access: "view"
26537
+ },
26381
26538
  "pipelineAnalytics.getMotionEvents": {
26382
26539
  capName: "pipeline-analytics",
26383
26540
  capScope: "device",
@@ -26906,12 +27063,24 @@ var METHOD_ACCESS_MAP = Object.freeze({
26906
27063
  addonId: null,
26907
27064
  access: "view"
26908
27065
  },
27066
+ "pipelineRunner.getNativeCrop": {
27067
+ capName: "pipeline-runner",
27068
+ capScope: "system",
27069
+ addonId: null,
27070
+ access: "view"
27071
+ },
26909
27072
  "pipelineRunner.reportMotion": {
26910
27073
  capName: "pipeline-runner",
26911
27074
  capScope: "system",
26912
27075
  addonId: null,
26913
27076
  access: "create"
26914
27077
  },
27078
+ "pipelineRunner.runDetailSubtree": {
27079
+ capName: "pipeline-runner",
27080
+ capScope: "system",
27081
+ addonId: null,
27082
+ access: "create"
27083
+ },
26915
27084
  "plateGallery.correctPlateText": {
26916
27085
  capName: "plate-gallery",
26917
27086
  capScope: "system",
@@ -29273,6 +29442,7 @@ exports.IntegrationWithStateSchema = IntegrationWithStateSchema;
29273
29442
  exports.IntercomAbilitySchema = IntercomAbilitySchema;
29274
29443
  exports.IntercomStatusSchema = IntercomStatusSchema;
29275
29444
  exports.KNOWN_CAP_NAMES = KNOWN_CAP_NAMES;
29445
+ exports.KeyEventSchema = KeyEventSchema;
29276
29446
  exports.LabelDefinitionSchema = LabelDefinitionSchema;
29277
29447
  exports.LawnMowerActivitySchema = LawnMowerActivitySchema;
29278
29448
  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-b4Jf2n33.mjs";
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-Baang_XW.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
@@ -7879,7 +7879,15 @@ var pipelineExecutorCapability = {
7879
7879
  image: z.instanceof(Uint8Array).optional(),
7880
7880
  referenceImage: z.string().optional(),
7881
7881
  deviceId: z.number().optional(),
7882
- sessionId: z.string().optional()
7882
+ sessionId: z.string().optional(),
7883
+ /**
7884
+ * Execution plane. 'full' (default) runs the whole tree — benchmark,
7885
+ * reference-image, and detail-subtree calls. 'frame' is the live
7886
+ * per-frame dispatch: ONLY root-plane steps run; crop children
7887
+ * (inputClasses ≠ null) are skipped and served per-track via
7888
+ * pipelineRunner.runDetailSubtree (two-plane design).
7889
+ */
7890
+ plane: z.enum(["full", "frame"]).optional()
7883
7891
  }), PipelineRunResultBridge, { kind: "mutation" }),
7884
7892
  /**
7885
7893
  * Batched run — N raw frames packed into one cap call. The provider
@@ -8095,6 +8103,47 @@ var zonesCapability = {
8095
8103
  //#endregion
8096
8104
  //#region src/capabilities/pipeline-runner.cap.ts
8097
8105
  /**
8106
+ * A bounding box in NORMALIZED [0,1] frame coordinates for `getNativeCrop`. The
8107
+ * decode worker resolves it against the RETAINED native frame's real pixel dims,
8108
+ * so the caller supplies only the detection-res bbox divided by the detection
8109
+ * dims — no native resolution to plumb.
8110
+ */
8111
+ var NativeCropBboxSchema = z.object({
8112
+ x: z.number(),
8113
+ y: z.number(),
8114
+ w: z.number(),
8115
+ h: z.number()
8116
+ });
8117
+ /** Result of a best-effort native-resolution crop (`getNativeCrop`). */
8118
+ var NativeCropResultSchema = z.object({
8119
+ /** Packed rgb (24-bit) pixels of the crop. */
8120
+ bytes: z.instanceof(Uint8Array),
8121
+ width: z.number().int().positive(),
8122
+ height: z.number().int().positive()
8123
+ });
8124
+ /** Parent detection context passed to `runDetailSubtree` — the crop's
8125
+ * originating detection, in FRAME-space coordinates. Reuses
8126
+ * `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
8127
+ * the coordinates are frame-space rather than getNativeCrop's
8128
+ * normalized [0,1] convention). */
8129
+ var DetailParentSchema = z.object({
8130
+ bbox: NativeCropBboxSchema,
8131
+ className: z.string()
8132
+ });
8133
+ /** One child-step result from `runDetailSubtree` — an embedding, label,
8134
+ * or refined detection produced by running the crop-subtree on a
8135
+ * single tracked detection. */
8136
+ var DetailResultSchema = z.object({
8137
+ stepId: z.string(),
8138
+ className: z.string(),
8139
+ score: z.number(),
8140
+ /** FRAME-space bbox (already mapped back from crop space). */
8141
+ bbox: NativeCropBboxSchema.optional(),
8142
+ embedding: z.string().optional(),
8143
+ label: z.string().optional(),
8144
+ alignedCropJpeg: z.string().optional()
8145
+ });
8146
+ /**
8098
8147
  * Per-camera tunable ranges + defaults. Single source of truth used
8099
8148
  * by both the Zod data schema (validation + default fallback) and
8100
8149
  * the device settings UI (slider min/max/step). Touch one place and
@@ -8522,7 +8571,42 @@ var pipelineRunnerCapability = {
8522
8571
  /** All per-camera metrics in one round-trip. */
8523
8572
  getAllCameraMetrics: method(z.void(), z.array(CameraMetricsWithDeviceIdSchema).readonly()),
8524
8573
  /** List the deviceIds currently attached to this runner. */
8525
- getLocalCameras: method(z.void(), z.array(z.number()).readonly())
8574
+ getLocalCameras: method(z.void(), z.array(z.number()).readonly()),
8575
+ /**
8576
+ * Best-effort NATIVE-resolution crop of a retention-ring frame. Given the
8577
+ * `FrameHandle` that rode an inference-result event and a normalized `bbox`,
8578
+ * the runner asks the decode worker still holding that frame's NATIVE
8579
+ * surface to GPU/CPU-crop ONLY the ROI at native res and download just the
8580
+ * crop. Returns `null` on a miss (handle not registered, or the worker's
8581
+ * tiny native-retention ring already evicted the frame) — the caller falls
8582
+ * back to a detection-frame crop. Routed to the frame's owning node by
8583
+ * `handle.nodeId`; NEVER ships a full native frame.
8584
+ */
8585
+ getNativeCrop: method(z.object({
8586
+ handle: FrameHandleSchema,
8587
+ bbox: NativeCropBboxSchema,
8588
+ maxWidth: z.number().int().positive().optional()
8589
+ }), NativeCropResultSchema.nullable()),
8590
+ /**
8591
+ * Two-plane design: run the DETAIL subtree (crop children —
8592
+ * embedding, classifier, refiner steps whose `inputClasses ≠ null`)
8593
+ * for a single tracked detection. The per-frame plane (`runPipeline`
8594
+ * with `plane: 'frame'`) skips crop children entirely; a track-level
8595
+ * caller invokes this per-track, on its own cadence, instead of on
8596
+ * every frame. Takes either a `frameHandle` (shm lease/session —
8597
+ * preferred, zero-copy) or a `cropJpeg` fallback when the lease/
8598
+ * session backing the frame is already gone. `steps` narrows which
8599
+ * configured children to run (default: all configured children for
8600
+ * `parent.className`). Returns `null` when neither frame source is
8601
+ * resolvable (handle evicted and no cropJpeg fallback supplied).
8602
+ */
8603
+ runDetailSubtree: method(z.object({
8604
+ deviceId: z.number(),
8605
+ frameHandle: FrameHandleSchema.optional(),
8606
+ cropJpeg: z.string().optional(),
8607
+ parent: DetailParentSchema,
8608
+ steps: z.array(z.string()).optional()
8609
+ }), z.object({ details: z.array(DetailResultSchema) }).nullable(), { kind: "mutation" })
8526
8610
  }
8527
8611
  };
8528
8612
  //#endregion
@@ -12614,7 +12698,8 @@ function createSystemProxy(api) {
12614
12698
  getLocalLoad: (input) => dispatch("pipelineRunner", "getLocalLoad", "query", input),
12615
12699
  getLocalMetrics: (input) => dispatch("pipelineRunner", "getLocalMetrics", "query", input),
12616
12700
  getAllCameraMetrics: (input) => dispatch("pipelineRunner", "getAllCameraMetrics", "query", input),
12617
- getLocalCameras: (input) => dispatch("pipelineRunner", "getLocalCameras", "query", input)
12701
+ getLocalCameras: (input) => dispatch("pipelineRunner", "getLocalCameras", "query", input),
12702
+ getNativeCrop: (input) => dispatch("pipelineRunner", "getNativeCrop", "query", input)
12618
12703
  },
12619
12704
  plateGallery: {
12620
12705
  getPlateMedia: (input) => dispatch("plateGallery", "getPlateMedia", "query", input),
@@ -17430,7 +17515,17 @@ var TrackSchema = z.object({
17430
17515
  /** Cumulative normalized distance travelled (0..1 units = full frame width). */
17431
17516
  totalDistance: z.number(),
17432
17517
  state: TrackStateSchema,
17433
- active: z.boolean()
17518
+ active: z.boolean(),
17519
+ /** Deterministic key-event importance score in [0,1] (server-computed at
17520
+ * track expiry, recomputed on late label). Absent on legacy rows written
17521
+ * before scoring shipped — consumers degrade to absence / compute-on-read. */
17522
+ importance: z.number().optional(),
17523
+ /** Id of the track's highest-confidence ObjectEvent (its representative
17524
+ * "best" frame). Absent when the track produced no object events. */
17525
+ bestEventId: z.string().optional(),
17526
+ /** Tag of the importance sub-signal that dominated the score
17527
+ * (identity|dwell|proximity|class|confidence|travel|zone). */
17528
+ importanceReason: z.string().optional()
17434
17529
  });
17435
17530
  var BaseEventFields = {
17436
17531
  id: z.string(),
@@ -17495,8 +17590,18 @@ var ObjectEventSchema = z.object({
17495
17590
  frameHeight: z.number().optional(),
17496
17591
  /** MediaStore key for the crop attached to this event (if any). */
17497
17592
  mediaKey: z.string().optional(),
17593
+ /** Design B: MediaStore key of the track's native-resolution key frame (the
17594
+ * best-detection full frame). Resolve via the event-media data-plane
17595
+ * (`/addon/<addonId>/event-media/<keyFrameMediaKey>`) for a detail view that
17596
+ * draws `bbox` over the native frame. Absent on legacy rows / non-decoded
17597
+ * sources — consumers fall back to `mediaKey` (the tight crop). */
17598
+ keyFrameMediaKey: z.string().optional(),
17498
17599
  /** Populated by B5 (recording playback URL for this event). */
17499
- mediaUrl: z.string().optional()
17600
+ mediaUrl: z.string().optional(),
17601
+ /** The parent track's key-event importance [0,1], propagated to every object
17602
+ * event of the track (so an event row can be sorted by importance without a
17603
+ * track join). Absent on legacy rows / before the track was scored. */
17604
+ importance: z.number().optional()
17500
17605
  });
17501
17606
  var AudioEventSchema = z.object({
17502
17607
  ...BaseEventFields,
@@ -17520,7 +17625,8 @@ var MediaFileKindEnum = z.enum([
17520
17625
  "fullFrame",
17521
17626
  "fullFrameBoxed",
17522
17627
  "faceCrop",
17523
- "plateCrop"
17628
+ "plateCrop",
17629
+ "keyFrame"
17524
17630
  ]);
17525
17631
  var MediaFileSchema = z.object({
17526
17632
  key: z.string(),
@@ -17541,6 +17647,32 @@ var DeviceEventQueryInput = z.object({
17541
17647
  projection: z.enum(["full", "slim"]).optional()
17542
17648
  });
17543
17649
  var ObjectEventQueryInput = DeviceEventQueryInput.extend({ classFilter: z.string().optional() });
17650
+ var KeyEventQueryInput = z.object({
17651
+ deviceId: z.number(),
17652
+ /** Window lower bound (track firstSeen ≥ since). */
17653
+ since: z.number(),
17654
+ /** Window upper bound (track firstSeen ≤ until). */
17655
+ until: z.number(),
17656
+ limit: z.number().int().min(1).max(200).default(50),
17657
+ /** Drop tracks scoring below this importance. */
17658
+ minImportance: z.number().min(0).max(1).optional(),
17659
+ /** Restrict to a single class (e.g. 'person'). */
17660
+ classFilter: z.string().optional()
17661
+ });
17662
+ var KeyEventSchema = z.object({
17663
+ /** The representative event id (the track's best ObjectEvent, else its trackId). */
17664
+ id: z.string(),
17665
+ trackId: z.string(),
17666
+ /** Track start time (firstSeen). */
17667
+ timestamp: z.number(),
17668
+ className: z.string(),
17669
+ label: z.string().optional(),
17670
+ importance: z.number(),
17671
+ /** Highest-confidence ObjectEvent id for the track (empty when none). */
17672
+ bestEventId: z.string(),
17673
+ /** Track lifetime in ms (lastSeen - firstSeen). */
17674
+ windowMs: z.number().optional()
17675
+ });
17544
17676
  var TrackedDetectionSchema = z.object({
17545
17677
  trackId: z.string(),
17546
17678
  className: z.string(),
@@ -17589,6 +17721,15 @@ var pipelineAnalyticsCapability = {
17589
17721
  getMotionEvents: method(DeviceEventQueryInput, z.array(MotionEventSchema).readonly()),
17590
17722
  getObjectEvents: method(ObjectEventQueryInput, z.array(ObjectEventSchema).readonly()),
17591
17723
  getAudioEvents: method(DeviceEventQueryInput, z.array(AudioEventSchema).readonly()),
17724
+ /**
17725
+ * Importance-ranked highlights for a device+window. Queries completed
17726
+ * tracks by (deviceId, firstSeen ∈ [since,until]), scores each (or reuses
17727
+ * the persisted score), filters by minImportance/classFilter, orders by
17728
+ * importance desc, and returns up to `limit` compact key events mapped to
17729
+ * each track's best event. Legacy tracks lacking a persisted score are
17730
+ * scored on-read (no write). Degrades to `[]` on error.
17731
+ */
17732
+ getKeyEvents: method(KeyEventQueryInput, z.array(KeyEventSchema).readonly()),
17592
17733
  /** Server-side bucketed event counts for the 24-hour timeline.
17593
17734
  * Returns one entry per non-empty bucket; empty buckets are omitted. */
17594
17735
  getEventDensity: method(z.object({
@@ -20492,7 +20633,17 @@ var FaceInfoSchema = z.object({
20492
20633
  recognizedIdentityId: z.string().optional(),
20493
20634
  identityName: z.string().optional(),
20494
20635
  assigned: z.boolean(),
20495
- base64: z.string().optional()
20636
+ base64: z.string().optional(),
20637
+ /** Design B: the face bbox (pixel space) on the key frame — lets a detail
20638
+ * view draw the box over the native `keyFrameMediaKey` frame. Absent on
20639
+ * legacy rows written before design B. */
20640
+ faceBbox: BoundingBoxSchema.optional(),
20641
+ /** Design B: MediaStore key of the track's native-resolution key frame.
20642
+ * Fetch the native JPEG via the event-media data-plane
20643
+ * (`/addon/<addonId>/event-media/<keyFrameMediaKey>`). Absent when the
20644
+ * track produced no key frame (e.g. native/onboard source) — the UI falls
20645
+ * back to the inline `base64` face crop. */
20646
+ keyFrameMediaKey: z.string().optional()
20496
20647
  });
20497
20648
  var FaceFilterEnum = z.enum([
20498
20649
  "unassigned",
@@ -26377,6 +26528,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
26377
26528
  addonId: null,
26378
26529
  access: "view"
26379
26530
  },
26531
+ "pipelineAnalytics.getKeyEvents": {
26532
+ capName: "pipeline-analytics",
26533
+ capScope: "device",
26534
+ addonId: null,
26535
+ access: "view"
26536
+ },
26380
26537
  "pipelineAnalytics.getMotionEvents": {
26381
26538
  capName: "pipeline-analytics",
26382
26539
  capScope: "device",
@@ -26905,12 +27062,24 @@ var METHOD_ACCESS_MAP = Object.freeze({
26905
27062
  addonId: null,
26906
27063
  access: "view"
26907
27064
  },
27065
+ "pipelineRunner.getNativeCrop": {
27066
+ capName: "pipeline-runner",
27067
+ capScope: "system",
27068
+ addonId: null,
27069
+ access: "view"
27070
+ },
26908
27071
  "pipelineRunner.reportMotion": {
26909
27072
  capName: "pipeline-runner",
26910
27073
  capScope: "system",
26911
27074
  addonId: null,
26912
27075
  access: "create"
26913
27076
  },
27077
+ "pipelineRunner.runDetailSubtree": {
27078
+ capName: "pipeline-runner",
27079
+ capScope: "system",
27080
+ addonId: null,
27081
+ access: "create"
27082
+ },
26914
27083
  "plateGallery.correctPlateText": {
26915
27084
  capName: "plate-gallery",
26916
27085
  capScope: "system",
@@ -29014,4 +29183,4 @@ function scoreRuntimes(hw) {
29014
29183
  };
29015
29184
  }
29016
29185
  //#endregion
29017
- 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 };
29186
+ 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 };