@camstack/types 1.1.45 → 1.1.47

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.mjs CHANGED
@@ -1,4 +1,6 @@
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-_sv7WKkq.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 DisposerChain, 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, y as ChargingStatus, yt as resolveHydratedFieldValue, z as CAM_PROFILE_ORDER } from "./sleep-CK899CTS.mjs";
2
+ import { t as EventCategory } from "./event-category-H4AVePnn.mjs";
3
+ import { EventSourceType } from "./enums.mjs";
2
4
  import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
3
5
  import { z } from "zod";
4
6
  //#region src/health/wiring-health.ts
@@ -1478,16 +1480,6 @@ var DEFAULT_RETENTION = {
1478
1480
  snapshotsDays: 14
1479
1481
  };
1480
1482
  //#endregion
1481
- //#region src/enums/event-source-type.ts
1482
- var EventSourceType = /* @__PURE__ */ function(EventSourceType) {
1483
- EventSourceType["Addon"] = "addon";
1484
- EventSourceType["Core"] = "core";
1485
- EventSourceType["Device"] = "device";
1486
- EventSourceType["Provider"] = "provider";
1487
- EventSourceType["System"] = "system";
1488
- return EventSourceType;
1489
- }({});
1490
- //#endregion
1491
1483
  //#region src/constants.ts
1492
1484
  var HF_REPO = "camstack/camstack-models";
1493
1485
  var HF_BASE_URL = `https://huggingface.co/${HF_REPO}/resolve/main`;
@@ -6494,10 +6486,23 @@ var deviceDiscoveryCapability = {
6494
6486
  //#endregion
6495
6487
  //#region src/capabilities/doorbell.cap.ts
6496
6488
  /**
6497
- * Doorbell button cap. Installed on a `DeviceType.Button` accessory
6498
- * with `role: DeviceRole.Doorbell`. Emits an `onPressed` event every
6499
- * time the firmware pushes a ring; status tracks the last press and
6500
- * a pressCount since start (diagnostic).
6489
+ * Doorbell button cap. Two kinds of providers coexist behind this cap
6490
+ * name (same pattern as `snapshot`):
6491
+ *
6492
+ * - **Native** providers: registered per-device by device-driver
6493
+ * addons via `ctx.registerNativeCap` — either on a
6494
+ * `DeviceType.Button` accessory with `role: DeviceRole.Doorbell`,
6495
+ * or directly on the camera (Reolink registers at camera level).
6496
+ * Emits an `onPressed` event every time the firmware pushes a
6497
+ * ring; status tracks the last press and a pressCount since start
6498
+ * (diagnostic).
6499
+ *
6500
+ * - **Wrapper** provider: the `virtual-doorbell` system builtin
6501
+ * (`@camstack/system/builtins/doorbell`). Turns ANY binary-ish
6502
+ * device (contact / switch / event-emitter …) into a doorbell for
6503
+ * a camera. `defaultActive: false` — the operator explicitly binds
6504
+ * it per camera in the device-bindings UI, then picks the source
6505
+ * device + trigger in the per-device settings.
6501
6506
  *
6502
6507
  * The DeviceEventPropagator re-emits `onPressed` on the camera parent
6503
6508
  * — subscribers listening at the camera level receive ring events
@@ -6518,7 +6523,10 @@ var doorbellCapability = {
6518
6523
  scope: "device",
6519
6524
  deviceNative: true,
6520
6525
  mode: "singleton",
6521
- deviceTypes: [DeviceType.Button],
6526
+ kind: "wrapper",
6527
+ defaultActive: false,
6528
+ deviceTypes: [DeviceType.Button, DeviceType.Camera],
6529
+ exposesDeviceSettings: true,
6522
6530
  methods: {},
6523
6531
  events: {
6524
6532
  /**
@@ -16065,6 +16073,14 @@ var ConfigEntrySchema = z.object({
16065
16073
  value: z.unknown(),
16066
16074
  description: z.string().optional()
16067
16075
  });
16076
+ var DeviceLinkModeSchema = z.enum(["auto", "manual"]);
16077
+ /** One resolved linked device — the compact projection consumers need. */
16078
+ var LinkedDeviceSchema = z.object({
16079
+ deviceId: z.number(),
16080
+ name: z.string(),
16081
+ location: z.string().nullable(),
16082
+ features: z.array(z.string())
16083
+ });
16068
16084
  var SavedDeviceRowSchema = z.object({
16069
16085
  /** Numeric id reserved at allocateDeviceId time. */
16070
16086
  id: z.number(),
@@ -16172,6 +16188,7 @@ var deviceManagerCapability = {
16172
16188
  name: "device-manager",
16173
16189
  scope: "system",
16174
16190
  mode: "singleton",
16191
+ exposesDeviceSettings: true,
16175
16192
  methods: {
16176
16193
  /** Reserve (or re-resolve) a progressive numeric id for `(addonId, stableId)`.
16177
16194
  * Idempotent: returns the existing id if one is already persisted for the
@@ -16422,6 +16439,19 @@ var deviceManagerCapability = {
16422
16439
  getDevice: method(z.object({ deviceId: z.number() }), DeviceInfoSchema.nullable()),
16423
16440
  /** List children of a parent device (by parent numeric id). */
16424
16441
  getChildren: method(z.object({ parentDeviceId: z.number() }), z.array(DeviceInfoSchema)),
16442
+ /**
16443
+ * Resolve the devices LINKED to a camera — the single policy authority
16444
+ * both consumers call (viewer devices panel + pipeline-analytics event
16445
+ * kinds/ingest). Device-tree children are ALWAYS included; mode 'auto'
16446
+ * (default) adds every device sharing the camera's non-null `location`,
16447
+ * mode 'manual' adds the persisted manual list instead. Excludes the
16448
+ * camera itself; deduped. Configuration is standard per-device settings
16449
+ * (see the module docblock) — there are no bespoke link mutations.
16450
+ */
16451
+ getLinkedDevices: method(z.object({ deviceId: z.number() }), z.object({
16452
+ mode: DeviceLinkModeSchema,
16453
+ devices: z.array(LinkedDeviceSchema)
16454
+ })),
16425
16455
  /** Get stream sources for a camera device. */
16426
16456
  getStreamSources: method(z.object({ deviceId: z.number() }), z.array(StreamSourceEntrySchema)),
16427
16457
  /** Get config entries (key + value + description) for a device. */
@@ -18186,6 +18216,61 @@ var EventKindSchema = z.enum([
18186
18216
  "object",
18187
18217
  "audio"
18188
18218
  ]);
18219
+ /**
18220
+ * Spatial filter for `listTracks` — the rect + polygon variants of the shared
18221
+ * MaskShape vocabulary (see `mask-shape.ts`). Coordinates are NORMALIZED 0..1
18222
+ * of the camera frame (top-left origin), matching the drawing-plane editor.
18223
+ */
18224
+ var TrackZoneFilterSchema = z.discriminatedUnion("kind", [MaskRectShapeSchema, MaskPolygonShapeSchema]);
18225
+ /** Closed icon vocabulary so clients render a known glyph per kind. */
18226
+ var EventKindIconSchema = z.enum([
18227
+ "motion",
18228
+ "audio",
18229
+ "person",
18230
+ "vehicle",
18231
+ "animal",
18232
+ "door",
18233
+ "pir",
18234
+ "smoke",
18235
+ "water",
18236
+ "button",
18237
+ "generic"
18238
+ ]);
18239
+ var EventKindCategorySchema = z.enum([
18240
+ "motion",
18241
+ "audio",
18242
+ "detection",
18243
+ "sensor",
18244
+ "custom"
18245
+ ]);
18246
+ var EventKindDescriptorSchema = z.object({
18247
+ /** Stable kind id (e.g. 'motion', 'person', 'contact'). */
18248
+ kind: z.string(),
18249
+ label: z.string(),
18250
+ /** Hex color for timeline/legend rendering. */
18251
+ color: z.string(),
18252
+ icon: EventKindIconSchema,
18253
+ category: EventKindCategorySchema,
18254
+ /** Which cap + device contributes this kind. For built-ins the camera
18255
+ * itself; for sensor kinds the LINKED source device. */
18256
+ source: z.object({
18257
+ capName: z.string(),
18258
+ deviceId: z.number()
18259
+ })
18260
+ });
18261
+ var SensorEventSchema = z.object({
18262
+ id: z.string(),
18263
+ /** The CAMERA the event is attributed to (a sensor linked to N cameras
18264
+ * yields N rows, one per camera). */
18265
+ deviceId: z.number(),
18266
+ /** The linked sensor device whose state changed. */
18267
+ sourceDeviceId: z.number(),
18268
+ /** Event kind id — matches an `EventKindDescriptor.kind`. */
18269
+ kind: z.string(),
18270
+ /** Snapshot of the sensor cap's runtime-state slice at the change. */
18271
+ value: z.record(z.string(), z.unknown()).nullable(),
18272
+ timestamp: z.number()
18273
+ });
18189
18274
  var TrackPositionSchema = z.object({
18190
18275
  x: z.number(),
18191
18276
  y: z.number(),
@@ -18199,6 +18284,30 @@ var TrackSnapshotSchema = z.object({
18199
18284
  mediaKey: z.string()
18200
18285
  });
18201
18286
  /**
18287
+ * Normalized 0..1 trajectory envelope (min/max over every position bbox,
18288
+ * divided by the track's detection-frame dims), computed at persist time.
18289
+ * Absent when the frame dims were unknown when the track was persisted
18290
+ * (legacy rows / dims-less sources) and on active (in-RAM) tracks.
18291
+ */
18292
+ var TrackEnvelopeSchema = z.object({
18293
+ minX: z.number(),
18294
+ minY: z.number(),
18295
+ maxX: z.number(),
18296
+ maxY: z.number()
18297
+ });
18298
+ /**
18299
+ * Row projection for track list queries. `full` (default) returns the
18300
+ * complete Track including the frame-rate `positions[]` history and the
18301
+ * `snapshots[]` references — megabytes across a page of tracks. `slim`
18302
+ * keeps every scalar the list surfaces actually render (ids, class(es),
18303
+ * label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
18304
+ * zonesVisited, bestEventId, envelope) and returns `positions` /
18305
+ * `snapshots` as EMPTY arrays — detail views re-fetch the full row via
18306
+ * `getTrack`. Mirrors the event-store `projection` convention
18307
+ * (`getObjectEvents` et al.).
18308
+ */
18309
+ var TrackProjectionSchema = z.enum(["full", "slim"]);
18310
+ /**
18202
18311
  * One audio-classification label heard on the track's camera while the
18203
18312
  * track was alive, aggregated per label. An "episode" is one persisted
18204
18313
  * audio event (the confident-classification path: score ≥ the device's
@@ -18249,7 +18358,11 @@ var TrackSchema = z.object({
18249
18358
  /** Audio-classification labels heard on the camera during the track's
18250
18359
  * life (score ≥ device `classificationMinScore`), aggregated per label.
18251
18360
  * Absent on legacy rows / tracks with no confident audio. */
18252
- audioLabels: z.array(TrackAudioLabelSchema).readonly().optional()
18361
+ audioLabels: z.array(TrackAudioLabelSchema).readonly().optional(),
18362
+ /** Normalized 0..1 trajectory envelope (see {@link TrackEnvelopeSchema}).
18363
+ * Populated from the persisted envelope columns on historical reads;
18364
+ * absent on legacy rows, dims-less tracks and active (in-RAM) tracks. */
18365
+ envelope: TrackEnvelopeSchema.optional()
18253
18366
  });
18254
18367
  var BaseEventFields = {
18255
18368
  id: z.string(),
@@ -18359,11 +18472,13 @@ var MediaFileSchema = z.object({
18359
18472
  sizeBytes: z.number(),
18360
18473
  timestamp: z.number()
18361
18474
  });
18475
+ var DEFAULT_EVENT_QUERY_LIMIT = 1e3;
18476
+ var MAX_EVENT_QUERY_LIMIT = 5e3;
18362
18477
  var DeviceEventQueryInput = z.object({
18363
18478
  deviceId: z.number(),
18364
18479
  since: z.number().optional(),
18365
18480
  until: z.number().optional(),
18366
- limit: z.number().int().min(1).max(5e3).default(1e3),
18481
+ limit: z.number().int().min(1).max(MAX_EVENT_QUERY_LIMIT).default(DEFAULT_EVENT_QUERY_LIMIT),
18367
18482
  /** `slim` drops heavy JSON fields (regions/bbox/zones) and carries an
18368
18483
  * optional `mediaUrl` (populated by B5). `full` (default) keeps today's
18369
18484
  * exact behaviour. Callers may omit this field — the store defaults to
@@ -18371,6 +18486,27 @@ var DeviceEventQueryInput = z.object({
18371
18486
  projection: z.enum(["full", "slim"]).optional()
18372
18487
  });
18373
18488
  var ObjectEventQueryInput = DeviceEventQueryInput.extend({ classFilter: z.string().optional() });
18489
+ var RecentTracksQueryInput = z.object({
18490
+ /** Devices to merge. An empty array yields `{ tracks: [], nextCursor: null }`. */
18491
+ deviceIds: z.array(z.number()),
18492
+ /** Window lower bound on `lastSeen` (inclusive). */
18493
+ since: z.number().optional(),
18494
+ /** Window upper bound on `lastSeen` (inclusive). */
18495
+ until: z.number().optional(),
18496
+ /** Page size. Default 200, max 1000. */
18497
+ limit: z.number().int().min(1).max(1e3).default(200),
18498
+ /** Opaque continuation cursor from a previous page's `nextCursor`.
18499
+ * Encodes the (lastSeen, trackId) sort position — treat as opaque. */
18500
+ cursor: z.string().optional(),
18501
+ /** See {@link TrackProjectionSchema}. Default `full`. */
18502
+ projection: TrackProjectionSchema.optional()
18503
+ });
18504
+ var RecentTracksPageSchema = z.object({
18505
+ /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
18506
+ tracks: z.array(TrackSchema).readonly(),
18507
+ /** Cursor for the next page, or null when this page is the last. */
18508
+ nextCursor: z.string().nullable()
18509
+ });
18374
18510
  var KeyEventQueryInput = z.object({
18375
18511
  deviceId: z.number(),
18376
18512
  /** Window lower bound (track firstSeen ≥ since). */
@@ -18467,8 +18603,27 @@ var pipelineAnalyticsCapability = {
18467
18603
  deviceId: z.number(),
18468
18604
  since: z.number().optional(),
18469
18605
  until: z.number().optional(),
18470
- limit: z.number().optional()
18606
+ limit: z.number().optional(),
18607
+ /** Spatial filter — only tracks whose trajectory intersects the zone
18608
+ * (normalized 0..1 rect or polygon). SQL-prefiltered on the persisted
18609
+ * envelope columns, then precisely tested per position. Tracks with
18610
+ * an unknown envelope (no frame dims at persist time) always match. */
18611
+ zone: TrackZoneFilterSchema.optional(),
18612
+ /** See {@link TrackProjectionSchema}. Default `full` (backward
18613
+ * compatible — omitting the field keeps today's exact behaviour). */
18614
+ projection: TrackProjectionSchema.optional()
18471
18615
  }), z.array(TrackSchema).readonly()),
18616
+ /**
18617
+ * Batched cluster-wide track listing — ONE call for the events page /
18618
+ * reel first paint instead of a per-camera `listTracks` fan-out. Merges
18619
+ * the persisted completed tracks of every requested device, sorted by
18620
+ * `lastSeen` DESC with a stable (lastSeen, trackId) cursor. Per-device
18621
+ * indexed pages (`idx_tracks_device_lastSeen`) are k-way merged
18622
+ * provider-side; `projection: 'slim'` drops the heavy `positions[]` /
18623
+ * `snapshots[]` JSON (returned as empty arrays). Active in-RAM tracks
18624
+ * are not included (same contract as `listTracks`).
18625
+ */
18626
+ listRecentTracks: method(RecentTracksQueryInput, RecentTracksPageSchema),
18472
18627
  clearTracks: method(z.object({ deviceId: z.number() }), z.void(), {
18473
18628
  kind: "mutation",
18474
18629
  auth: "admin"
@@ -18477,6 +18632,26 @@ var pipelineAnalyticsCapability = {
18477
18632
  getObjectEvents: method(ObjectEventQueryInput, z.array(ObjectEventSchema).readonly()),
18478
18633
  getAudioEvents: method(DeviceEventQueryInput, z.array(AudioEventSchema).readonly()),
18479
18634
  /**
18635
+ * Every event kind the device can produce: built-ins (motion + audio),
18636
+ * detection classes actually observed for the device (from the track
18637
+ * history), and sensor kinds contributed by LINKED devices (resolved via
18638
+ * `device-manager.getLinkedDevices`, mapped through `EVENT_KIND_BY_CAP`).
18639
+ */
18640
+ listEventKinds: method(z.object({ deviceId: z.number() }), z.array(EventKindDescriptorSchema).readonly()),
18641
+ /**
18642
+ * Sensor-event history for a camera: state changes of LINKED sensor
18643
+ * devices, attributed to the camera at ingest time (one row per linked
18644
+ * camera). Mirrors `getAudioEvents` query semantics; `kinds` narrows to
18645
+ * a kind subset.
18646
+ */
18647
+ getSensorEvents: method(z.object({
18648
+ deviceId: z.number(),
18649
+ since: z.number().optional(),
18650
+ until: z.number().optional(),
18651
+ kinds: z.array(z.string()).optional(),
18652
+ limit: z.number().int().min(1).max(MAX_EVENT_QUERY_LIMIT).default(DEFAULT_EVENT_QUERY_LIMIT)
18653
+ }), z.array(SensorEventSchema).readonly()),
18654
+ /**
18480
18655
  * Importance-ranked highlights for a device+window. Queries completed
18481
18656
  * tracks by (deviceId, firstSeen ∈ [since,until]), scores each (or reuses
18482
18657
  * the persisted score), filters by minImportance/classFilter, orders by
@@ -18622,6 +18797,56 @@ var pipelineAnalyticsCapability = {
18622
18797
  }
18623
18798
  };
18624
18799
  //#endregion
18800
+ //#region src/capabilities/sensor-event-kinds.ts
18801
+ /**
18802
+ * Sensor cap name → static event-kind descriptor. A linked device
18803
+ * contributes one entry per bound cap present in this map.
18804
+ */
18805
+ var EVENT_KIND_BY_CAP = {
18806
+ contact: {
18807
+ kind: "contact",
18808
+ label: "Contact",
18809
+ color: "#f59e0b",
18810
+ icon: "door",
18811
+ category: "sensor"
18812
+ },
18813
+ flood: {
18814
+ kind: "flood",
18815
+ label: "Water leak",
18816
+ color: "#3b82f6",
18817
+ icon: "water",
18818
+ category: "sensor"
18819
+ },
18820
+ gas: {
18821
+ kind: "gas",
18822
+ label: "Gas",
18823
+ color: "#ef4444",
18824
+ icon: "smoke",
18825
+ category: "sensor"
18826
+ },
18827
+ "carbon-monoxide": {
18828
+ kind: "carbon-monoxide",
18829
+ label: "Carbon monoxide",
18830
+ color: "#dc2626",
18831
+ icon: "smoke",
18832
+ category: "sensor"
18833
+ },
18834
+ "enum-sensor": {
18835
+ kind: "enum-sensor",
18836
+ label: "Sensor state",
18837
+ color: "#8b5cf6",
18838
+ icon: "generic",
18839
+ category: "sensor"
18840
+ },
18841
+ "event-emitter": {
18842
+ kind: "device-event",
18843
+ label: "Device event",
18844
+ color: "#10b981",
18845
+ icon: "button",
18846
+ category: "sensor"
18847
+ }
18848
+ };
18849
+ //#endregion
18625
18850
  //#region src/capabilities/pipeline-orchestrator.cap.ts
18626
18851
  var CameraPipelineConfigSchema = z.object({
18627
18852
  engine: PipelineEngineChoiceSchema.optional(),
@@ -20524,7 +20749,15 @@ var webrtcSessionCapability = {
20524
20749
  */
20525
20750
  disableIpv6: z.boolean().optional(),
20526
20751
  /** Subscriber attribution. See `createSession` for the contract. */
20527
- consumerAttribution: BrokerConsumerAttributionSchema.optional()
20752
+ consumerAttribution: BrokerConsumerAttributionSchema.optional(),
20753
+ /**
20754
+ * Client-side stream hints (viewport, downlink) — same contract as
20755
+ * `createSession.hints`. Client-offer viewers (the RN viewer's
20756
+ * `WebrtcLiveSession`) negotiate via `handleOffer`, so without this
20757
+ * field their hints were silently stripped by the schema and the
20758
+ * adaptive ladder started blind on the client's display size.
20759
+ */
20760
+ hints: webrtcClientHintsSchema.optional()
20528
20761
  }), z.object({
20529
20762
  sessionId: z.string(),
20530
20763
  sdpAnswer: z.string()
@@ -23147,7 +23380,12 @@ var RecordingStorageUsageSchema = z.object({
23147
23380
  /**
23148
23381
  * Result of locating footage at a wall-clock instant for one device/profile.
23149
23382
  * `segment` carries the covering segment's window; `gap` reports the forward
23150
- * nearest covered edge (`null` past the end of footage / when none exists).
23383
+ * nearest covered edge (`null` past the end of footage / when none exists)
23384
+ * and the backward covered edge `prevEndMs` (exclusive end of the nearest
23385
+ * footage behind the epoch; `null` when none — optional so older providers
23386
+ * that omit it stay valid). `prevEndMs` lets a backward frame-step hop the
23387
+ * small inter-segment cracks (durMs under-covers the span to the next
23388
+ * startMs by ~11-17 ms) instead of no-opping at a segment head.
23151
23389
  */
23152
23390
  var LocateSegmentResultSchema = z.discriminatedUnion("kind", [z.object({
23153
23391
  kind: z.literal("segment"),
@@ -23156,7 +23394,8 @@ var LocateSegmentResultSchema = z.discriminatedUnion("kind", [z.object({
23156
23394
  bytes: z.number()
23157
23395
  }), z.object({
23158
23396
  kind: z.literal("gap"),
23159
- nearestEdgeMs: z.number().nullable()
23397
+ nearestEdgeMs: z.number().nullable(),
23398
+ prevEndMs: z.number().nullable().optional()
23160
23399
  })]);
23161
23400
  /** Raw bytes of one finalized footage segment (read off disk on the recording node). */
23162
23401
  var ReadSegmentBytesResultSchema = z.object({ data: z.instanceof(Uint8Array) });
@@ -26072,6 +26311,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
26072
26311
  addonId: null,
26073
26312
  access: "view"
26074
26313
  },
26314
+ "deviceManager.getLinkedDevices": {
26315
+ capName: "device-manager",
26316
+ capScope: "system",
26317
+ addonId: null,
26318
+ access: "view"
26319
+ },
26075
26320
  "deviceManager.getRoleDisplayDefaults": {
26076
26321
  capName: "device-manager",
26077
26322
  capScope: "system",
@@ -27626,6 +27871,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
27626
27871
  addonId: null,
27627
27872
  access: "view"
27628
27873
  },
27874
+ "pipelineAnalytics.getSensorEvents": {
27875
+ capName: "pipeline-analytics",
27876
+ capScope: "device",
27877
+ addonId: null,
27878
+ access: "view"
27879
+ },
27629
27880
  "pipelineAnalytics.getTrack": {
27630
27881
  capName: "pipeline-analytics",
27631
27882
  capScope: "device",
@@ -27638,6 +27889,18 @@ var METHOD_ACCESS_MAP = Object.freeze({
27638
27889
  addonId: null,
27639
27890
  access: "view"
27640
27891
  },
27892
+ "pipelineAnalytics.listEventKinds": {
27893
+ capName: "pipeline-analytics",
27894
+ capScope: "device",
27895
+ addonId: null,
27896
+ access: "view"
27897
+ },
27898
+ "pipelineAnalytics.listRecentTracks": {
27899
+ capName: "pipeline-analytics",
27900
+ capScope: "device",
27901
+ addonId: null,
27902
+ access: "view"
27903
+ },
27641
27904
  "pipelineAnalytics.listTracks": {
27642
27905
  capName: "pipeline-analytics",
27643
27906
  capScope: "device",
@@ -30396,4 +30659,4 @@ function scoreRuntimes(hw) {
30396
30659
  };
30397
30660
  }
30398
30661
  //#endregion
30399
- 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, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmUsageRollupSchema, LlmUsageSchema, 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, ManagedModelCatalogEntrySchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, 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, PasskeyLoginMethodSchema, 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, SceneCheckSchema, SceneConditionSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, 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, StationaryObjectSchema, 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, TrackCascadeCountsSchema, 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, extractNestedAddonId, 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, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isEvent, isObjectInput, isVoidInput, jobKindSchema, kebabToCamel, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, 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, objectInputDeclaresAddonId, 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, sceneMonitorCapability, 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 };
30662
+ 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, DeviceLinkModeSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENT_KIND_BY_CAP, 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, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, 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, LinkedDeviceSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmUsageRollupSchema, LlmUsageSchema, 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, ManagedModelCatalogEntrySchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, 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, PasskeyLoginMethodSchema, 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, RecentTracksPageSchema, RecentTracksQueryInput, 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, SceneCheckSchema, SceneConditionSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, 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, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackProjectionSchema, TrackSchema, TrackStateSchema, TrackZoneFilterSchema, 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, extractNestedAddonId, 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, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isEvent, isObjectInput, isVoidInput, jobKindSchema, kebabToCamel, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, 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, objectInputDeclaresAddonId, 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, sceneMonitorCapability, 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 };
@@ -694,6 +694,22 @@ export interface EventCatalog {
694
694
  deletedCount?: number;
695
695
  freedMB?: number;
696
696
  };
697
+ /**
698
+ * A runner-sampled scrub thumbnail off the already-decoded detection frame
699
+ * (~1 JPEG / 5 s / camera; zero extra decode). The recorder (single
700
+ * designated node) subscribes, accumulates a 5-minute window into ONE sprite
701
+ * sheet + index, and serves it write-once. Cross-node this rides the event
702
+ * bus (Moleculer broadcast) exactly like other telemetry — a lost thumb is a
703
+ * scrub gap the keyframe backfill fills, so RPC delivery is not required (D8).
704
+ * `jpeg` is a ~320px-wide JPEG (Uint8Array survives msgpack over UDS + Moleculer).
705
+ */
706
+ 'recording.thumb-sampled': {
707
+ readonly deviceId: number;
708
+ readonly capturedAt: number;
709
+ readonly width: number;
710
+ readonly height: number;
711
+ readonly jpeg: Uint8Array;
712
+ };
697
713
  'detection.event': {
698
714
  deviceId: number;
699
715
  detections?: unknown[];