@camstack/addon-provider-tuya 0.2.90 → 0.2.93

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.
Files changed (3) hide show
  1. package/dist/addon.js +246 -22
  2. package/dist/addon.mjs +246 -22
  3. package/package.json +1 -1
package/dist/addon.js CHANGED
@@ -819,7 +819,7 @@ async function discoverDevices(options = {}, binder = createDgramBinder()) {
819
819
  return [...byId.values()];
820
820
  }
821
821
  //#endregion
822
- //#region ../types/dist/event-category-CnLqLOKs.mjs
822
+ //#region ../types/dist/event-category-DAXzJeTX.mjs
823
823
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
824
824
  EventCategory["SystemBoot"] = "system.boot";
825
825
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -1411,7 +1411,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
1411
1411
  * issue. Payload `PipelineAnalyticsPlateGalleryChangedPayload`.
1412
1412
  */
1413
1413
  EventCategory["PipelineAnalyticsPlateGalleryChanged"] = "pipeline-analytics.plate-gallery-changed";
1414
- EventCategory["FrigateLiveEvent"] = "frigate.live-event";
1415
1414
  EventCategory["CameraStreamsProfileSlotsChanged"] = "camera-streams.onProfileSlotsChanged";
1416
1415
  /**
1417
1416
  * Stream-broker health watchdog. Per-broker (deviceId/profile) emission.
@@ -13445,7 +13444,7 @@ DeviceType.Camera;
13445
13444
  var SourceInfoSchema = object({
13446
13445
  /** Live dispatch key — mutable when the source system allows rename. */
13447
13446
  id: string(),
13448
- /** Source system tag — e.g. 'homeassistant' | 'reolink' | 'frigate'. */
13447
+ /** Source system tag — e.g. 'homeassistant' | 'reolink' | 'onvif'. */
13449
13448
  system: string(),
13450
13449
  /** Immutable upstream identifier when available (HA `unique_id`, … ).
13451
13450
  * Used to detect rename when `id` changes. */
@@ -13458,7 +13457,7 @@ var SourceInfoSchema = object({
13458
13457
  /**
13459
13458
  * Build the synthetic SourceInfo every existing provider falls back to
13460
13459
  * when no upstream value has been persisted. Keeps non-migrated providers
13461
- * (Reolink / Hikvision / ONVIF / Frigate / RTSP) functional without code
13460
+ * (Reolink / Hikvision / ONVIF / RTSP) functional without code
13462
13461
  * changes — `id` reuses the CamStack stableId, `system` reuses the addon
13463
13462
  * id. Real upstream identity replaces this once a provider migrates and
13464
13463
  * calls `updateSourceInfo()` with concrete values.
@@ -14137,7 +14136,7 @@ var deviceProviderCapability = {
14137
14136
  * - `device-management.router.ts` (deleted in Phase 2)
14138
14137
  * - `device-ops.router.ts` (compat layer — deleted; device-provider ops absorbed here)
14139
14138
  *
14140
- * All device provider addons (rtsp, onvif, frigate, …) are hub-local: they may
14139
+ * All device provider addons (rtsp, onvif, …) are hub-local: they may
14141
14140
  * fork into separate processes but never run on remote cluster agents. Therefore:
14142
14141
  * - No nodeId routing needed — this is a pure hub singleton.
14143
14142
  * - The hub's DeviceRegistry is the single source of truth for all live devices.
@@ -18185,7 +18184,7 @@ var NcRuleInputSchema = object({
18185
18184
  * The measured seven-person arrival on device 590 spans 110 s with every
18186
18185
  * internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
18187
18186
  * idle cutoff holds it as one and ends it when the arrival actually ends.
18188
- * 30 is Frigate's shipped value for the same decision.
18187
+ * 30 s is a widely shipped value for the same decision.
18189
18188
  *
18190
18189
  * ### What it replaces
18191
18190
  *
@@ -20267,6 +20266,13 @@ var ZoneCrossingSchema = object({
20267
20266
  /** Zone display name at crossing time (falls back to the id). */
20268
20267
  zoneName: string().optional()
20269
20268
  });
20269
+ /** One zone a box was stamped with, and how much of the BOX fell inside it. */
20270
+ var ZoneOverlapSchema = object({
20271
+ zoneId: string(),
20272
+ zoneName: string().optional(),
20273
+ /** Percentage of the BOX area inside the zone, 0–100. */
20274
+ overlapPct: number()
20275
+ });
20270
20276
  var ObjectEventSchema = object({
20271
20277
  ...BaseEventFields,
20272
20278
  kind: literal("object"),
@@ -20291,6 +20297,35 @@ var ObjectEventSchema = object({
20291
20297
  bbox: BoundingBoxSchema.optional(),
20292
20298
  /** Heavy JSON — omitted in slim projection. */
20293
20299
  zones: array(string()).readonly().optional(),
20300
+ /**
20301
+ * How far inside each stamped zone the box actually was, as a percentage of
20302
+ * the BOX area.
20303
+ *
20304
+ * Membership alone cannot express "at least a third of it inside", which is
20305
+ * the bar an operator argues with — and the number already existed: the
20306
+ * engine computed it, the pipeline logged it, and then discarded it. It
20307
+ * matters most on the events that carry no track, where a rule has nothing
20308
+ * else to judge by.
20309
+ */
20310
+ zoneOverlaps: array(ZoneOverlapSchema).readonly().optional(),
20311
+ /**
20312
+ * Present when this event describes a detection the TRACKER refused, so it
20313
+ * has no track and never will.
20314
+ *
20315
+ * A zone-scoped immediate rule asks "is there an animal in the flowerbed
20316
+ * NOW?"; tracking answers a different question ("is this the same subject as
20317
+ * before?") whose confirmation threshold presumes continuity. On 2026-09-09 a
20318
+ * dog at 0.7729, 100% inside a watched zone, was refused three times in six
20319
+ * seconds with three different candidate ids — seven analysed frames in the
20320
+ * window, the subject in a handful of them, metres apart — and produced no
20321
+ * event at all.
20322
+ *
20323
+ * It is NAMED rather than merely implied by a missing `trackId`: an event
20324
+ * with no track and no reason is indistinguishable from a track whose media
20325
+ * went missing, and a consumer that asks this one for a best shot or a
20326
+ * history is asking for something that never existed.
20327
+ */
20328
+ spawnRefused: string().optional(),
20294
20329
  /** Omitted in slim projection. */
20295
20330
  state: TrackStateSchema.optional(),
20296
20331
  /**
@@ -20717,7 +20752,17 @@ var EventDensityBucketSchema = object({
20717
20752
  bucketStart: number(),
20718
20753
  motion: number().int(),
20719
20754
  object: number().int(),
20720
- audio: number().int()
20755
+ audio: number().int(),
20756
+ /**
20757
+ * Energy-weighted mean dBFS of the audio events in this bucket — the LEVEL,
20758
+ * as opposed to `audio`, which is their COUNT (D431).
20759
+ *
20760
+ * ABSENT when the bucket holds no audio event. Absence means "nothing was
20761
+ * measured", which is not the same claim as silence, and a lane that cannot
20762
+ * tell them apart paints a quiet hour at full scale — which is exactly what
20763
+ * the count-on-a-level-meter did.
20764
+ */
20765
+ audioDbfs: number().optional()
20721
20766
  });
20722
20767
  /**
20723
20768
  * One camera's row in a `getEventDensityBatch` answer.
@@ -21364,6 +21409,60 @@ var NativeCropResultSchema = object({
21364
21409
  */
21365
21410
  tier: _enum(["native", "ram-fullframe"]).optional()
21366
21411
  });
21412
+ /**
21413
+ * What a PARKED frame is for — the `kind` half of the `(deviceId, trackId,
21414
+ * kind)` key ([D422](../../../docs/decisions/adr-0422-a-relevant-frame-is-parked-when-it-becomes-relevant.md)).
21415
+ *
21416
+ * - `keyFrame` — the track's clean best FULL frame at native width (capped by
21417
+ * the caller's `maxWidth`). What `keyFrame` + `keyFrameSmall` are written
21418
+ * from, and what the detail plane's full-frame rung cuts from.
21419
+ * - `thumbnail` — the best-shot subject slab: the caller's 16:9 central-square
21420
+ * window, cut by the runner at uncapped native resolution.
21421
+ *
21422
+ * The runner never interprets `trackId`; it is an opaque key the hub owns.
21423
+ */
21424
+ var ParkedFrameKindSchema = _enum(["keyFrame", "thumbnail"]);
21425
+ /**
21426
+ * Why a park did NOT happen. Every one is logged on the runner with
21427
+ * `tags: { deviceId }` and the handle's measured age, because a handle already
21428
+ * gone at park time IS the defect the 150–500 ms window exists to prevent —
21429
+ * never a reason to retry in a loop.
21430
+ *
21431
+ * - `handle-gone` — the native surface no longer resolves this handle (never
21432
+ * registered, past the lease bound, or the worker released it). `detail`
21433
+ * carries the runner's own miss reason.
21434
+ * - `encode-failed` — pixels resolved and the JPEG encode threw.
21435
+ */
21436
+ var ParkRefusalSchema = _enum(["handle-gone", "encode-failed"]);
21437
+ /** Answer to `parkTrackFrame` — a discriminated union, so "not parked" always names why. */
21438
+ var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
21439
+ parked: literal(true),
21440
+ /** The node holding the parcel — what a later retrieval must be pinned to. */
21441
+ nodeId: string(),
21442
+ width: number().int().positive(),
21443
+ height: number().int().positive(),
21444
+ /** JPEG bytes the parcel costs on the node. */
21445
+ bytes: number().int().nonnegative(),
21446
+ /** Whether this park replaced a parcel already held for the key. */
21447
+ replaced: boolean()
21448
+ }), object({
21449
+ parked: literal(false),
21450
+ nodeId: string(),
21451
+ reason: ParkRefusalSchema,
21452
+ /** Age of the handle at the park, on the runner's clock; null if unknown. */
21453
+ handleAgeMs: number().nullable(),
21454
+ detail: string().optional()
21455
+ })]);
21456
+ /** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
21457
+ var ParkedTrackFrameSchema = object({
21458
+ jpeg: string(),
21459
+ width: number().int().positive(),
21460
+ height: number().int().positive(),
21461
+ /** The frame instant the parcel shows (the caller's clock, echoed back). */
21462
+ timestamp: number(),
21463
+ /** When the node stored it (the node's clock). */
21464
+ parkedAt: number()
21465
+ });
21367
21466
  /** Parent detection context passed to `runDetailSubtree` — the crop's
21368
21467
  * originating detection, in FRAME-space coordinates. Reuses
21369
21468
  * `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
@@ -21753,7 +21852,7 @@ var RunnerCameraConfigSchema = object({
21753
21852
  * - `analyzer`: ML/frame-diff motion detection (motion-wasm or other
21754
21853
  * analyzer providers) running on decoded frames in this runner.
21755
21854
  * - `onboard`: camera-native motion pushes (Reolink Baichuan, ONVIF
21756
- * analytics, Frigate motion). The provider emits ProviderMotion
21855
+ * analytics). The provider emits ProviderMotion
21757
21856
  * events; the orchestrator forwards to `reportMotion`.
21758
21857
  */
21759
21858
  motionSources: MotionSourcesSchema.default(["analyzer"]),
@@ -21995,7 +22094,26 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
21995
22094
  className: string(),
21996
22095
  /** Camera the pixels came from. Diagnostics + log tags ONLY — never routing. */
21997
22096
  sourceDeviceId: number()
21998
- }), RunStatelessStepResultSchema, { kind: "mutation" });
22097
+ }), RunStatelessStepResultSchema, { kind: "mutation" }), method(object({
22098
+ deviceId: number(),
22099
+ /** Opaque to the runner — the hub's track id. */
22100
+ trackId: string(),
22101
+ kind: ParkedFrameKindSchema,
22102
+ handle: FrameHandleSchema,
22103
+ /** Normalized [0,1] window to cut. `{0,0,1,1}` for a full frame. */
22104
+ bbox: NativeCropBboxSchema,
22105
+ /** Width cap for a full-frame park (the `keyFrame` native cap). */
22106
+ maxWidth: number().int().positive().optional(),
22107
+ /** The frame instant (caller's clock) — orders parks for one key. */
22108
+ timestamp: number()
22109
+ }), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
22110
+ deviceId: number(),
22111
+ trackId: string(),
22112
+ kind: ParkedFrameKindSchema
22113
+ }), ParkedTrackFrameSchema.nullable()), method(object({
22114
+ deviceId: number(),
22115
+ trackId: string()
22116
+ }), object({ released: number().int().nonnegative() }), { kind: "mutation" });
21999
22117
  var CameraPipelineConfigSchema = object({
22000
22118
  engine: PipelineEngineChoiceSchema.optional(),
22001
22119
  steps: array(PipelineStepInputSchema).readonly(),
@@ -25065,8 +25183,8 @@ onStatusChanged: { data: object({
25065
25183
  /**
25066
25184
  * Runtime-state slice — every provider that registers this cap
25067
25185
  * stores the same shape under `device.runtimeState[battery]`.
25068
- * Cross-provider uniformity: a Reolink Argus, a Frigate sensor
25069
- * proxy, an ONVIF battery cam all read/write the same keys.
25186
+ * Cross-provider uniformity: a Reolink Argus, a sensor proxy,
25187
+ * an ONVIF battery cam all read/write the same keys.
25070
25188
  * Consumers (BatteryBadge, snapshot wrapper sleep gate) read once
25071
25189
  * via `device.runtimeState.getCapState('battery')` regardless of
25072
25190
  * the underlying driver.
@@ -25199,7 +25317,7 @@ DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _v
25199
25317
  *
25200
25318
  * Implementations:
25201
25319
  * - Each camera-providing addon registers this cap natively per
25202
- * device (Reolink, Hikvision, RTSP, Frigate, ONVIF self).
25320
+ * device (Reolink, Hikvision, RTSP, ONVIF self).
25203
25321
  * - Returns a snapshot from the persisted device config blob — no
25204
25322
  * extra round-trip to the camera, no probing.
25205
25323
  * - The cap is admin-only (`auth: 'admin'`) — credentials must not
@@ -27299,7 +27417,7 @@ var AvailableIntegrationTypeSchema = object({
27299
27417
  * Which integration-marker cap the addon declared, so the wizard can
27300
27418
  * branch on CAP — never on addon name. `device-adoption` integrations
27301
27419
  * (Home Assistant, …) route through the broker step (Approach A);
27302
- * `device-provider` integrations (Reolink/Frigate/ONVIF) keep the
27420
+ * `device-provider` integrations (Reolink/ONVIF) keep the
27303
27421
  * legacy config → discovery flow.
27304
27422
  */
27305
27423
  kind: _enum(["device-adoption", "device-provider"]),
@@ -30667,7 +30785,23 @@ var RecordingRangeSchema = object({
30667
30785
  });
30668
30786
  var RecordingAvailabilitySchema = object({
30669
30787
  deviceId: number(),
30670
- ranges: array(RecordingRangeSchema)
30788
+ ranges: array(RecordingRangeSchema),
30789
+ /**
30790
+ * Every profile this camera has footage in — not only the one `ranges`
30791
+ * describes (D433).
30792
+ *
30793
+ * `ranges` answers for ONE profile by design: the timeline is a single bar,
30794
+ * and enumerating all of them triples the directory reads for a bar that
30795
+ * would look identical. But the answer used to say nothing about that, so a
30796
+ * caller asking "what can I export?" read the single preferred profile as
30797
+ * the only one that exists — on this deployment every camera records `high`
30798
+ * AND `low`, the low tree holding 14 GB for camera 615 alone, and the export
30799
+ * UI could not see it.
30800
+ *
30801
+ * Cheap: it is the same shallow directory read the profile CHOICE already
30802
+ * makes. Ask for a specific profile's ranges with the `profile` input.
30803
+ */
30804
+ profilesWithFootage: array(string())
30671
30805
  });
30672
30806
  var RecordingDaysSchema = object({
30673
30807
  deviceId: number(),
@@ -30693,7 +30827,11 @@ var RecordingDaysSchema = object({
30693
30827
  var RecordingAvailabilityForDeviceSchema = object({
30694
30828
  deviceId: number(),
30695
30829
  read: _enum(["read", "unreadable"]),
30696
- ranges: array(RecordingRangeSchema).readonly()
30830
+ ranges: array(RecordingRangeSchema).readonly(),
30831
+ /** Same field, same meaning, as the singular answer (D433). A row that
30832
+ * dropped it would tell a grid caller the archive holds one profile.
30833
+ * Empty on an `'unreadable'` row: nobody looked. */
30834
+ profilesWithFootage: array(string()).readonly()
30697
30835
  });
30698
30836
  /**
30699
30837
  * One camera's row in a `getDaysWithRecordingsBatch` answer. Same rule as
@@ -30723,13 +30861,31 @@ var RecordingManifestSchema = object({
30723
30861
  */
30724
30862
  playbackEndpoints: array(string())
30725
30863
  });
30726
- /** Recording storage usage for one camera (bytes on disk across all its
30727
- * profiles/subtrees/locations on this node). */
30864
+ /**
30865
+ * Recording storage usage for one camera — what the ARCHIVE holds for it,
30866
+ * across every profile and every resolvable location on this node.
30867
+ *
30868
+ * ## Archive vs residency, which is the whole point of this shape (D418)
30869
+ *
30870
+ * `usedBytes` / `oldestMs` / `segments` are the durable hour ledger's numbers:
30871
+ * the same quantity `RecordingLocationUsage.usedBytes` reports for the volume
30872
+ * this camera writes to, so the two can be added up and compared.
30873
+ *
30874
+ * They were not always. Until D418 this row came from the recorder's in-RAM
30875
+ * `RecordingIndex`, which since D287 holds only the live tail plus the hours
30876
+ * somebody hydrated — so a hub with 1.9 TB and 3.3 days of footage reported
30877
+ * 60.5 GB and "oldest: three hours ago" on the same page as the volume row
30878
+ * that said otherwise, and two people read it as retention eating recent
30879
+ * footage. Residency is still reported, under `residentBytes` /
30880
+ * `residentOldestMs`, which answer a different question and say so.
30881
+ */
30728
30882
  var RecordingDeviceUsageSchema = object({
30729
30883
  deviceId: number(),
30884
+ /** Bytes the ARCHIVE holds for this camera on this node's resolvable
30885
+ * recordings locations. */
30730
30886
  usedBytes: number(),
30731
30887
  /**
30732
- * Start of this camera's OLDEST indexed segment, across every profile and
30888
+ * Start of this camera's OLDEST ARCHIVED segment, across every profile and
30733
30889
  * location — the "Oldest footage" column in Recordings → Storage, and the
30734
30890
  * only honest answer to "is retention actually holding?" per camera.
30735
30891
  *
@@ -30739,7 +30895,24 @@ var RecordingDeviceUsageSchema = object({
30739
30895
  * (types) and the addon ship on different trains, and the addon is usually
30740
30896
  * the later of the two.
30741
30897
  */
30742
- oldestMs: number().nullable().optional()
30898
+ oldestMs: number().nullable().optional(),
30899
+ /** Segments the archive holds for this camera — the "M" beside `usedBytes`.
30900
+ * OPTIONAL for the same train-skew reason as `oldestMs`. */
30901
+ segments: number().optional(),
30902
+ /**
30903
+ * RESIDENCY, not the archive: bytes the recorder process currently holds in
30904
+ * its RAM index — the live tail plus the hours a reader hydrated.
30905
+ *
30906
+ * It answers "what can be served without touching the disk", never "how much
30907
+ * footage this camera has". A UI that renders it must label it as such, and
30908
+ * must never total it as storage. OPTIONAL: a recorder predating D418 omits
30909
+ * it, and so does a node whose ledger could not answer.
30910
+ */
30911
+ residentBytes: number().optional(),
30912
+ /** The residency counterpart of `oldestMs` — the oldest segment currently in
30913
+ * RAM, which on a healthy recorder is minutes ago and means nothing about
30914
+ * retention. `null` = nothing resident. */
30915
+ residentOldestMs: number().nullable().optional()
30743
30916
  });
30744
30917
  /** Recording storage usage + capacity for one storage location. */
30745
30918
  var RecordingLocationUsageSchema = object({
@@ -30777,6 +30950,17 @@ var RecordingStorageUsageSchema = object({
30777
30950
  totalUsedBytes: number(),
30778
30951
  devices: array(RecordingDeviceUsageSchema),
30779
30952
  /**
30953
+ * WHERE `devices[]` came from, so an empty table is never mistaken for empty
30954
+ * disks (D418).
30955
+ *
30956
+ * `archive` = the durable hour ledger answered. `unavailable` = this node
30957
+ * declared no ledger and the recorder REFUSED rather than answering the
30958
+ * question with the resident index (D295 rule 3) — the rows are UNKNOWN, not
30959
+ * zero, and a UI must say so. OPTIONAL: a recorder predating D418 omits it,
30960
+ * and its rows are residency.
30961
+ */
30962
+ devicesRead: _enum(["archive", "unavailable"]).optional(),
30963
+ /**
30780
30964
  * Per-physical-volume capacity. OPTIONAL, and consumers must render the rest
30781
30965
  * of the payload without it: the hub serves this method through a BAKED
30782
30966
  * router, so a hub whose framework train predates a change to this array
@@ -30937,7 +31121,14 @@ var ReadWindowBytesResultSchema = discriminatedUnion("kind", [object({
30937
31121
  method(object({
30938
31122
  deviceId: number(),
30939
31123
  fromMs: number(),
30940
- toMs: number()
31124
+ toMs: number(),
31125
+ /**
31126
+ * Answer for THIS profile instead of the preferred one (D433). Absent
31127
+ * keeps the timeline's behaviour — one bar, one profile, one set of
31128
+ * reads. `profilesWithFootage` on the answer says what may be asked
31129
+ * for.
31130
+ */
31131
+ profile: string().optional()
30941
31132
  }), RecordingAvailabilitySchema, {
30942
31133
  kind: "query",
30943
31134
  auth: "protected"
@@ -34656,7 +34847,7 @@ function toDeviceSummary(device, addonId) {
34656
34847
  };
34657
34848
  }
34658
34849
  /**
34659
- * Base class for device-provider addons (rtsp, onvif, frigate).
34850
+ * Base class for device-provider addons (rtsp, onvif).
34660
34851
  *
34661
34852
  * Provides default implementations for the common device-provider cap
34662
34853
  * methods (`start`, `stop`, `getStatus`, `getDevices`, `supportsDiscovery`,
@@ -39312,6 +39503,24 @@ Object.freeze({
39312
39503
  addonId: null,
39313
39504
  access: "view"
39314
39505
  },
39506
+ "pipelineRunner.getParkedTrackFrame": {
39507
+ capName: "pipeline-runner",
39508
+ capScope: "system",
39509
+ addonId: null,
39510
+ access: "view"
39511
+ },
39512
+ "pipelineRunner.parkTrackFrame": {
39513
+ capName: "pipeline-runner",
39514
+ capScope: "system",
39515
+ addonId: null,
39516
+ access: "create"
39517
+ },
39518
+ "pipelineRunner.releaseParkedTrackFrames": {
39519
+ capName: "pipeline-runner",
39520
+ capScope: "system",
39521
+ addonId: null,
39522
+ access: "create"
39523
+ },
39315
39524
  "pipelineRunner.reportMotion": {
39316
39525
  capName: "pipeline-runner",
39317
39526
  capScope: "system",
@@ -42589,6 +42798,21 @@ Object.freeze({
42589
42798
  form: "single",
42590
42799
  optional: false
42591
42800
  }],
42801
+ "pipelineRunner.getParkedTrackFrame": [{
42802
+ name: "deviceId",
42803
+ form: "single",
42804
+ optional: false
42805
+ }],
42806
+ "pipelineRunner.parkTrackFrame": [{
42807
+ name: "deviceId",
42808
+ form: "single",
42809
+ optional: false
42810
+ }],
42811
+ "pipelineRunner.releaseParkedTrackFrames": [{
42812
+ name: "deviceId",
42813
+ form: "single",
42814
+ optional: false
42815
+ }],
42592
42816
  "pipelineRunner.reportMotion": [{
42593
42817
  name: "deviceId",
42594
42818
  form: "single",
@@ -43280,7 +43504,7 @@ var PreviewTextField = string().max(200);
43280
43504
  * Whether the notification's preview is a STILL or a short animation.
43281
43505
  *
43282
43506
  * The operator's ask, verbatim: *"inviato come gif o video (come per le altre
43283
- * rule)"* — his Scrypted advanced-notifier has a `gifRule`, and a ten-hour
43507
+ * rule)"* — the other rules already offer an animated preview, and a ten-hour
43284
43508
  * night reads better as three seconds of motion than as one frame of it. Both
43285
43509
  * modes get the SAME treatment (blurred frame, large centred title); `'gif'`
43286
43510
  * simply applies it to a dozen frames sampled across the render and assembles
package/dist/addon.mjs CHANGED
@@ -818,7 +818,7 @@ async function discoverDevices(options = {}, binder = createDgramBinder()) {
818
818
  return [...byId.values()];
819
819
  }
820
820
  //#endregion
821
- //#region ../types/dist/event-category-CnLqLOKs.mjs
821
+ //#region ../types/dist/event-category-DAXzJeTX.mjs
822
822
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
823
823
  EventCategory["SystemBoot"] = "system.boot";
824
824
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -1410,7 +1410,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
1410
1410
  * issue. Payload `PipelineAnalyticsPlateGalleryChangedPayload`.
1411
1411
  */
1412
1412
  EventCategory["PipelineAnalyticsPlateGalleryChanged"] = "pipeline-analytics.plate-gallery-changed";
1413
- EventCategory["FrigateLiveEvent"] = "frigate.live-event";
1414
1413
  EventCategory["CameraStreamsProfileSlotsChanged"] = "camera-streams.onProfileSlotsChanged";
1415
1414
  /**
1416
1415
  * Stream-broker health watchdog. Per-broker (deviceId/profile) emission.
@@ -13444,7 +13443,7 @@ DeviceType.Camera;
13444
13443
  var SourceInfoSchema = object({
13445
13444
  /** Live dispatch key — mutable when the source system allows rename. */
13446
13445
  id: string(),
13447
- /** Source system tag — e.g. 'homeassistant' | 'reolink' | 'frigate'. */
13446
+ /** Source system tag — e.g. 'homeassistant' | 'reolink' | 'onvif'. */
13448
13447
  system: string(),
13449
13448
  /** Immutable upstream identifier when available (HA `unique_id`, … ).
13450
13449
  * Used to detect rename when `id` changes. */
@@ -13457,7 +13456,7 @@ var SourceInfoSchema = object({
13457
13456
  /**
13458
13457
  * Build the synthetic SourceInfo every existing provider falls back to
13459
13458
  * when no upstream value has been persisted. Keeps non-migrated providers
13460
- * (Reolink / Hikvision / ONVIF / Frigate / RTSP) functional without code
13459
+ * (Reolink / Hikvision / ONVIF / RTSP) functional without code
13461
13460
  * changes — `id` reuses the CamStack stableId, `system` reuses the addon
13462
13461
  * id. Real upstream identity replaces this once a provider migrates and
13463
13462
  * calls `updateSourceInfo()` with concrete values.
@@ -14136,7 +14135,7 @@ var deviceProviderCapability = {
14136
14135
  * - `device-management.router.ts` (deleted in Phase 2)
14137
14136
  * - `device-ops.router.ts` (compat layer — deleted; device-provider ops absorbed here)
14138
14137
  *
14139
- * All device provider addons (rtsp, onvif, frigate, …) are hub-local: they may
14138
+ * All device provider addons (rtsp, onvif, …) are hub-local: they may
14140
14139
  * fork into separate processes but never run on remote cluster agents. Therefore:
14141
14140
  * - No nodeId routing needed — this is a pure hub singleton.
14142
14141
  * - The hub's DeviceRegistry is the single source of truth for all live devices.
@@ -18184,7 +18183,7 @@ var NcRuleInputSchema = object({
18184
18183
  * The measured seven-person arrival on device 590 spans 110 s with every
18185
18184
  * internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
18186
18185
  * idle cutoff holds it as one and ends it when the arrival actually ends.
18187
- * 30 is Frigate's shipped value for the same decision.
18186
+ * 30 s is a widely shipped value for the same decision.
18188
18187
  *
18189
18188
  * ### What it replaces
18190
18189
  *
@@ -20266,6 +20265,13 @@ var ZoneCrossingSchema = object({
20266
20265
  /** Zone display name at crossing time (falls back to the id). */
20267
20266
  zoneName: string().optional()
20268
20267
  });
20268
+ /** One zone a box was stamped with, and how much of the BOX fell inside it. */
20269
+ var ZoneOverlapSchema = object({
20270
+ zoneId: string(),
20271
+ zoneName: string().optional(),
20272
+ /** Percentage of the BOX area inside the zone, 0–100. */
20273
+ overlapPct: number()
20274
+ });
20269
20275
  var ObjectEventSchema = object({
20270
20276
  ...BaseEventFields,
20271
20277
  kind: literal("object"),
@@ -20290,6 +20296,35 @@ var ObjectEventSchema = object({
20290
20296
  bbox: BoundingBoxSchema.optional(),
20291
20297
  /** Heavy JSON — omitted in slim projection. */
20292
20298
  zones: array(string()).readonly().optional(),
20299
+ /**
20300
+ * How far inside each stamped zone the box actually was, as a percentage of
20301
+ * the BOX area.
20302
+ *
20303
+ * Membership alone cannot express "at least a third of it inside", which is
20304
+ * the bar an operator argues with — and the number already existed: the
20305
+ * engine computed it, the pipeline logged it, and then discarded it. It
20306
+ * matters most on the events that carry no track, where a rule has nothing
20307
+ * else to judge by.
20308
+ */
20309
+ zoneOverlaps: array(ZoneOverlapSchema).readonly().optional(),
20310
+ /**
20311
+ * Present when this event describes a detection the TRACKER refused, so it
20312
+ * has no track and never will.
20313
+ *
20314
+ * A zone-scoped immediate rule asks "is there an animal in the flowerbed
20315
+ * NOW?"; tracking answers a different question ("is this the same subject as
20316
+ * before?") whose confirmation threshold presumes continuity. On 2026-09-09 a
20317
+ * dog at 0.7729, 100% inside a watched zone, was refused three times in six
20318
+ * seconds with three different candidate ids — seven analysed frames in the
20319
+ * window, the subject in a handful of them, metres apart — and produced no
20320
+ * event at all.
20321
+ *
20322
+ * It is NAMED rather than merely implied by a missing `trackId`: an event
20323
+ * with no track and no reason is indistinguishable from a track whose media
20324
+ * went missing, and a consumer that asks this one for a best shot or a
20325
+ * history is asking for something that never existed.
20326
+ */
20327
+ spawnRefused: string().optional(),
20293
20328
  /** Omitted in slim projection. */
20294
20329
  state: TrackStateSchema.optional(),
20295
20330
  /**
@@ -20716,7 +20751,17 @@ var EventDensityBucketSchema = object({
20716
20751
  bucketStart: number(),
20717
20752
  motion: number().int(),
20718
20753
  object: number().int(),
20719
- audio: number().int()
20754
+ audio: number().int(),
20755
+ /**
20756
+ * Energy-weighted mean dBFS of the audio events in this bucket — the LEVEL,
20757
+ * as opposed to `audio`, which is their COUNT (D431).
20758
+ *
20759
+ * ABSENT when the bucket holds no audio event. Absence means "nothing was
20760
+ * measured", which is not the same claim as silence, and a lane that cannot
20761
+ * tell them apart paints a quiet hour at full scale — which is exactly what
20762
+ * the count-on-a-level-meter did.
20763
+ */
20764
+ audioDbfs: number().optional()
20720
20765
  });
20721
20766
  /**
20722
20767
  * One camera's row in a `getEventDensityBatch` answer.
@@ -21363,6 +21408,60 @@ var NativeCropResultSchema = object({
21363
21408
  */
21364
21409
  tier: _enum(["native", "ram-fullframe"]).optional()
21365
21410
  });
21411
+ /**
21412
+ * What a PARKED frame is for — the `kind` half of the `(deviceId, trackId,
21413
+ * kind)` key ([D422](../../../docs/decisions/adr-0422-a-relevant-frame-is-parked-when-it-becomes-relevant.md)).
21414
+ *
21415
+ * - `keyFrame` — the track's clean best FULL frame at native width (capped by
21416
+ * the caller's `maxWidth`). What `keyFrame` + `keyFrameSmall` are written
21417
+ * from, and what the detail plane's full-frame rung cuts from.
21418
+ * - `thumbnail` — the best-shot subject slab: the caller's 16:9 central-square
21419
+ * window, cut by the runner at uncapped native resolution.
21420
+ *
21421
+ * The runner never interprets `trackId`; it is an opaque key the hub owns.
21422
+ */
21423
+ var ParkedFrameKindSchema = _enum(["keyFrame", "thumbnail"]);
21424
+ /**
21425
+ * Why a park did NOT happen. Every one is logged on the runner with
21426
+ * `tags: { deviceId }` and the handle's measured age, because a handle already
21427
+ * gone at park time IS the defect the 150–500 ms window exists to prevent —
21428
+ * never a reason to retry in a loop.
21429
+ *
21430
+ * - `handle-gone` — the native surface no longer resolves this handle (never
21431
+ * registered, past the lease bound, or the worker released it). `detail`
21432
+ * carries the runner's own miss reason.
21433
+ * - `encode-failed` — pixels resolved and the JPEG encode threw.
21434
+ */
21435
+ var ParkRefusalSchema = _enum(["handle-gone", "encode-failed"]);
21436
+ /** Answer to `parkTrackFrame` — a discriminated union, so "not parked" always names why. */
21437
+ var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
21438
+ parked: literal(true),
21439
+ /** The node holding the parcel — what a later retrieval must be pinned to. */
21440
+ nodeId: string(),
21441
+ width: number().int().positive(),
21442
+ height: number().int().positive(),
21443
+ /** JPEG bytes the parcel costs on the node. */
21444
+ bytes: number().int().nonnegative(),
21445
+ /** Whether this park replaced a parcel already held for the key. */
21446
+ replaced: boolean()
21447
+ }), object({
21448
+ parked: literal(false),
21449
+ nodeId: string(),
21450
+ reason: ParkRefusalSchema,
21451
+ /** Age of the handle at the park, on the runner's clock; null if unknown. */
21452
+ handleAgeMs: number().nullable(),
21453
+ detail: string().optional()
21454
+ })]);
21455
+ /** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
21456
+ var ParkedTrackFrameSchema = object({
21457
+ jpeg: string(),
21458
+ width: number().int().positive(),
21459
+ height: number().int().positive(),
21460
+ /** The frame instant the parcel shows (the caller's clock, echoed back). */
21461
+ timestamp: number(),
21462
+ /** When the node stored it (the node's clock). */
21463
+ parkedAt: number()
21464
+ });
21366
21465
  /** Parent detection context passed to `runDetailSubtree` — the crop's
21367
21466
  * originating detection, in FRAME-space coordinates. Reuses
21368
21467
  * `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
@@ -21752,7 +21851,7 @@ var RunnerCameraConfigSchema = object({
21752
21851
  * - `analyzer`: ML/frame-diff motion detection (motion-wasm or other
21753
21852
  * analyzer providers) running on decoded frames in this runner.
21754
21853
  * - `onboard`: camera-native motion pushes (Reolink Baichuan, ONVIF
21755
- * analytics, Frigate motion). The provider emits ProviderMotion
21854
+ * analytics). The provider emits ProviderMotion
21756
21855
  * events; the orchestrator forwards to `reportMotion`.
21757
21856
  */
21758
21857
  motionSources: MotionSourcesSchema.default(["analyzer"]),
@@ -21994,7 +22093,26 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
21994
22093
  className: string(),
21995
22094
  /** Camera the pixels came from. Diagnostics + log tags ONLY — never routing. */
21996
22095
  sourceDeviceId: number()
21997
- }), RunStatelessStepResultSchema, { kind: "mutation" });
22096
+ }), RunStatelessStepResultSchema, { kind: "mutation" }), method(object({
22097
+ deviceId: number(),
22098
+ /** Opaque to the runner — the hub's track id. */
22099
+ trackId: string(),
22100
+ kind: ParkedFrameKindSchema,
22101
+ handle: FrameHandleSchema,
22102
+ /** Normalized [0,1] window to cut. `{0,0,1,1}` for a full frame. */
22103
+ bbox: NativeCropBboxSchema,
22104
+ /** Width cap for a full-frame park (the `keyFrame` native cap). */
22105
+ maxWidth: number().int().positive().optional(),
22106
+ /** The frame instant (caller's clock) — orders parks for one key. */
22107
+ timestamp: number()
22108
+ }), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
22109
+ deviceId: number(),
22110
+ trackId: string(),
22111
+ kind: ParkedFrameKindSchema
22112
+ }), ParkedTrackFrameSchema.nullable()), method(object({
22113
+ deviceId: number(),
22114
+ trackId: string()
22115
+ }), object({ released: number().int().nonnegative() }), { kind: "mutation" });
21998
22116
  var CameraPipelineConfigSchema = object({
21999
22117
  engine: PipelineEngineChoiceSchema.optional(),
22000
22118
  steps: array(PipelineStepInputSchema).readonly(),
@@ -25064,8 +25182,8 @@ onStatusChanged: { data: object({
25064
25182
  /**
25065
25183
  * Runtime-state slice — every provider that registers this cap
25066
25184
  * stores the same shape under `device.runtimeState[battery]`.
25067
- * Cross-provider uniformity: a Reolink Argus, a Frigate sensor
25068
- * proxy, an ONVIF battery cam all read/write the same keys.
25185
+ * Cross-provider uniformity: a Reolink Argus, a sensor proxy,
25186
+ * an ONVIF battery cam all read/write the same keys.
25069
25187
  * Consumers (BatteryBadge, snapshot wrapper sleep gate) read once
25070
25188
  * via `device.runtimeState.getCapState('battery')` regardless of
25071
25189
  * the underlying driver.
@@ -25198,7 +25316,7 @@ DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _v
25198
25316
  *
25199
25317
  * Implementations:
25200
25318
  * - Each camera-providing addon registers this cap natively per
25201
- * device (Reolink, Hikvision, RTSP, Frigate, ONVIF self).
25319
+ * device (Reolink, Hikvision, RTSP, ONVIF self).
25202
25320
  * - Returns a snapshot from the persisted device config blob — no
25203
25321
  * extra round-trip to the camera, no probing.
25204
25322
  * - The cap is admin-only (`auth: 'admin'`) — credentials must not
@@ -27298,7 +27416,7 @@ var AvailableIntegrationTypeSchema = object({
27298
27416
  * Which integration-marker cap the addon declared, so the wizard can
27299
27417
  * branch on CAP — never on addon name. `device-adoption` integrations
27300
27418
  * (Home Assistant, …) route through the broker step (Approach A);
27301
- * `device-provider` integrations (Reolink/Frigate/ONVIF) keep the
27419
+ * `device-provider` integrations (Reolink/ONVIF) keep the
27302
27420
  * legacy config → discovery flow.
27303
27421
  */
27304
27422
  kind: _enum(["device-adoption", "device-provider"]),
@@ -30666,7 +30784,23 @@ var RecordingRangeSchema = object({
30666
30784
  });
30667
30785
  var RecordingAvailabilitySchema = object({
30668
30786
  deviceId: number(),
30669
- ranges: array(RecordingRangeSchema)
30787
+ ranges: array(RecordingRangeSchema),
30788
+ /**
30789
+ * Every profile this camera has footage in — not only the one `ranges`
30790
+ * describes (D433).
30791
+ *
30792
+ * `ranges` answers for ONE profile by design: the timeline is a single bar,
30793
+ * and enumerating all of them triples the directory reads for a bar that
30794
+ * would look identical. But the answer used to say nothing about that, so a
30795
+ * caller asking "what can I export?" read the single preferred profile as
30796
+ * the only one that exists — on this deployment every camera records `high`
30797
+ * AND `low`, the low tree holding 14 GB for camera 615 alone, and the export
30798
+ * UI could not see it.
30799
+ *
30800
+ * Cheap: it is the same shallow directory read the profile CHOICE already
30801
+ * makes. Ask for a specific profile's ranges with the `profile` input.
30802
+ */
30803
+ profilesWithFootage: array(string())
30670
30804
  });
30671
30805
  var RecordingDaysSchema = object({
30672
30806
  deviceId: number(),
@@ -30692,7 +30826,11 @@ var RecordingDaysSchema = object({
30692
30826
  var RecordingAvailabilityForDeviceSchema = object({
30693
30827
  deviceId: number(),
30694
30828
  read: _enum(["read", "unreadable"]),
30695
- ranges: array(RecordingRangeSchema).readonly()
30829
+ ranges: array(RecordingRangeSchema).readonly(),
30830
+ /** Same field, same meaning, as the singular answer (D433). A row that
30831
+ * dropped it would tell a grid caller the archive holds one profile.
30832
+ * Empty on an `'unreadable'` row: nobody looked. */
30833
+ profilesWithFootage: array(string()).readonly()
30696
30834
  });
30697
30835
  /**
30698
30836
  * One camera's row in a `getDaysWithRecordingsBatch` answer. Same rule as
@@ -30722,13 +30860,31 @@ var RecordingManifestSchema = object({
30722
30860
  */
30723
30861
  playbackEndpoints: array(string())
30724
30862
  });
30725
- /** Recording storage usage for one camera (bytes on disk across all its
30726
- * profiles/subtrees/locations on this node). */
30863
+ /**
30864
+ * Recording storage usage for one camera — what the ARCHIVE holds for it,
30865
+ * across every profile and every resolvable location on this node.
30866
+ *
30867
+ * ## Archive vs residency, which is the whole point of this shape (D418)
30868
+ *
30869
+ * `usedBytes` / `oldestMs` / `segments` are the durable hour ledger's numbers:
30870
+ * the same quantity `RecordingLocationUsage.usedBytes` reports for the volume
30871
+ * this camera writes to, so the two can be added up and compared.
30872
+ *
30873
+ * They were not always. Until D418 this row came from the recorder's in-RAM
30874
+ * `RecordingIndex`, which since D287 holds only the live tail plus the hours
30875
+ * somebody hydrated — so a hub with 1.9 TB and 3.3 days of footage reported
30876
+ * 60.5 GB and "oldest: three hours ago" on the same page as the volume row
30877
+ * that said otherwise, and two people read it as retention eating recent
30878
+ * footage. Residency is still reported, under `residentBytes` /
30879
+ * `residentOldestMs`, which answer a different question and say so.
30880
+ */
30727
30881
  var RecordingDeviceUsageSchema = object({
30728
30882
  deviceId: number(),
30883
+ /** Bytes the ARCHIVE holds for this camera on this node's resolvable
30884
+ * recordings locations. */
30729
30885
  usedBytes: number(),
30730
30886
  /**
30731
- * Start of this camera's OLDEST indexed segment, across every profile and
30887
+ * Start of this camera's OLDEST ARCHIVED segment, across every profile and
30732
30888
  * location — the "Oldest footage" column in Recordings → Storage, and the
30733
30889
  * only honest answer to "is retention actually holding?" per camera.
30734
30890
  *
@@ -30738,7 +30894,24 @@ var RecordingDeviceUsageSchema = object({
30738
30894
  * (types) and the addon ship on different trains, and the addon is usually
30739
30895
  * the later of the two.
30740
30896
  */
30741
- oldestMs: number().nullable().optional()
30897
+ oldestMs: number().nullable().optional(),
30898
+ /** Segments the archive holds for this camera — the "M" beside `usedBytes`.
30899
+ * OPTIONAL for the same train-skew reason as `oldestMs`. */
30900
+ segments: number().optional(),
30901
+ /**
30902
+ * RESIDENCY, not the archive: bytes the recorder process currently holds in
30903
+ * its RAM index — the live tail plus the hours a reader hydrated.
30904
+ *
30905
+ * It answers "what can be served without touching the disk", never "how much
30906
+ * footage this camera has". A UI that renders it must label it as such, and
30907
+ * must never total it as storage. OPTIONAL: a recorder predating D418 omits
30908
+ * it, and so does a node whose ledger could not answer.
30909
+ */
30910
+ residentBytes: number().optional(),
30911
+ /** The residency counterpart of `oldestMs` — the oldest segment currently in
30912
+ * RAM, which on a healthy recorder is minutes ago and means nothing about
30913
+ * retention. `null` = nothing resident. */
30914
+ residentOldestMs: number().nullable().optional()
30742
30915
  });
30743
30916
  /** Recording storage usage + capacity for one storage location. */
30744
30917
  var RecordingLocationUsageSchema = object({
@@ -30776,6 +30949,17 @@ var RecordingStorageUsageSchema = object({
30776
30949
  totalUsedBytes: number(),
30777
30950
  devices: array(RecordingDeviceUsageSchema),
30778
30951
  /**
30952
+ * WHERE `devices[]` came from, so an empty table is never mistaken for empty
30953
+ * disks (D418).
30954
+ *
30955
+ * `archive` = the durable hour ledger answered. `unavailable` = this node
30956
+ * declared no ledger and the recorder REFUSED rather than answering the
30957
+ * question with the resident index (D295 rule 3) — the rows are UNKNOWN, not
30958
+ * zero, and a UI must say so. OPTIONAL: a recorder predating D418 omits it,
30959
+ * and its rows are residency.
30960
+ */
30961
+ devicesRead: _enum(["archive", "unavailable"]).optional(),
30962
+ /**
30779
30963
  * Per-physical-volume capacity. OPTIONAL, and consumers must render the rest
30780
30964
  * of the payload without it: the hub serves this method through a BAKED
30781
30965
  * router, so a hub whose framework train predates a change to this array
@@ -30936,7 +31120,14 @@ var ReadWindowBytesResultSchema = discriminatedUnion("kind", [object({
30936
31120
  method(object({
30937
31121
  deviceId: number(),
30938
31122
  fromMs: number(),
30939
- toMs: number()
31123
+ toMs: number(),
31124
+ /**
31125
+ * Answer for THIS profile instead of the preferred one (D433). Absent
31126
+ * keeps the timeline's behaviour — one bar, one profile, one set of
31127
+ * reads. `profilesWithFootage` on the answer says what may be asked
31128
+ * for.
31129
+ */
31130
+ profile: string().optional()
30940
31131
  }), RecordingAvailabilitySchema, {
30941
31132
  kind: "query",
30942
31133
  auth: "protected"
@@ -34655,7 +34846,7 @@ function toDeviceSummary(device, addonId) {
34655
34846
  };
34656
34847
  }
34657
34848
  /**
34658
- * Base class for device-provider addons (rtsp, onvif, frigate).
34849
+ * Base class for device-provider addons (rtsp, onvif).
34659
34850
  *
34660
34851
  * Provides default implementations for the common device-provider cap
34661
34852
  * methods (`start`, `stop`, `getStatus`, `getDevices`, `supportsDiscovery`,
@@ -39311,6 +39502,24 @@ Object.freeze({
39311
39502
  addonId: null,
39312
39503
  access: "view"
39313
39504
  },
39505
+ "pipelineRunner.getParkedTrackFrame": {
39506
+ capName: "pipeline-runner",
39507
+ capScope: "system",
39508
+ addonId: null,
39509
+ access: "view"
39510
+ },
39511
+ "pipelineRunner.parkTrackFrame": {
39512
+ capName: "pipeline-runner",
39513
+ capScope: "system",
39514
+ addonId: null,
39515
+ access: "create"
39516
+ },
39517
+ "pipelineRunner.releaseParkedTrackFrames": {
39518
+ capName: "pipeline-runner",
39519
+ capScope: "system",
39520
+ addonId: null,
39521
+ access: "create"
39522
+ },
39314
39523
  "pipelineRunner.reportMotion": {
39315
39524
  capName: "pipeline-runner",
39316
39525
  capScope: "system",
@@ -42588,6 +42797,21 @@ Object.freeze({
42588
42797
  form: "single",
42589
42798
  optional: false
42590
42799
  }],
42800
+ "pipelineRunner.getParkedTrackFrame": [{
42801
+ name: "deviceId",
42802
+ form: "single",
42803
+ optional: false
42804
+ }],
42805
+ "pipelineRunner.parkTrackFrame": [{
42806
+ name: "deviceId",
42807
+ form: "single",
42808
+ optional: false
42809
+ }],
42810
+ "pipelineRunner.releaseParkedTrackFrames": [{
42811
+ name: "deviceId",
42812
+ form: "single",
42813
+ optional: false
42814
+ }],
42591
42815
  "pipelineRunner.reportMotion": [{
42592
42816
  name: "deviceId",
42593
42817
  form: "single",
@@ -43279,7 +43503,7 @@ var PreviewTextField = string().max(200);
43279
43503
  * Whether the notification's preview is a STILL or a short animation.
43280
43504
  *
43281
43505
  * The operator's ask, verbatim: *"inviato come gif o video (come per le altre
43282
- * rule)"* — his Scrypted advanced-notifier has a `gifRule`, and a ten-hour
43506
+ * rule)"* — the other rules already offer an animated preview, and a ten-hour
43283
43507
  * night reads better as three seconds of motion than as one frame of it. Both
43284
43508
  * modes get the SAME treatment (blurred frame, large centred title); `'gif'`
43285
43509
  * simply applies it to a dozen frames sampled across the render and assembles
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-tuya",
3
- "version": "0.2.90",
3
+ "version": "0.2.93",
4
4
  "description": "Tuya / Smart Life device-provider addon for CamStack — account-onboarded (Tuya IoT cloud fetch of device localKeys) + LOCAL DP control via the @apocaliss92/nodetuya encrypted-LAN client, exposing switch / water-heater-family kettle entities",
5
5
  "keywords": [
6
6
  "camstack",