@camstack/addon-provider-amcrest 0.2.92 → 0.2.95

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
@@ -6,7 +6,7 @@ let node_crypto = require("node:crypto");
6
6
  let node_http = require("node:http");
7
7
  let node_https = require("node:https");
8
8
  let node_os = require("node:os");
9
- //#region ../types/dist/event-category-CnLqLOKs.mjs
9
+ //#region ../types/dist/event-category-DAXzJeTX.mjs
10
10
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
11
11
  EventCategory["SystemBoot"] = "system.boot";
12
12
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -598,7 +598,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
598
598
  * issue. Payload `PipelineAnalyticsPlateGalleryChangedPayload`.
599
599
  */
600
600
  EventCategory["PipelineAnalyticsPlateGalleryChanged"] = "pipeline-analytics.plate-gallery-changed";
601
- EventCategory["FrigateLiveEvent"] = "frigate.live-event";
602
601
  EventCategory["CameraStreamsProfileSlotsChanged"] = "camera-streams.onProfileSlotsChanged";
603
602
  /**
604
603
  * Stream-broker health watchdog. Per-broker (deviceId/profile) emission.
@@ -12620,7 +12619,7 @@ DeviceType.Camera;
12620
12619
  var SourceInfoSchema = object({
12621
12620
  /** Live dispatch key — mutable when the source system allows rename. */
12622
12621
  id: string(),
12623
- /** Source system tag — e.g. 'homeassistant' | 'reolink' | 'frigate'. */
12622
+ /** Source system tag — e.g. 'homeassistant' | 'reolink' | 'onvif'. */
12624
12623
  system: string(),
12625
12624
  /** Immutable upstream identifier when available (HA `unique_id`, … ).
12626
12625
  * Used to detect rename when `id` changes. */
@@ -12633,7 +12632,7 @@ var SourceInfoSchema = object({
12633
12632
  /**
12634
12633
  * Build the synthetic SourceInfo every existing provider falls back to
12635
12634
  * when no upstream value has been persisted. Keeps non-migrated providers
12636
- * (Reolink / Hikvision / ONVIF / Frigate / RTSP) functional without code
12635
+ * (Reolink / Hikvision / ONVIF / RTSP) functional without code
12637
12636
  * changes — `id` reuses the CamStack stableId, `system` reuses the addon
12638
12637
  * id. Real upstream identity replaces this once a provider migrates and
12639
12638
  * calls `updateSourceInfo()` with concrete values.
@@ -13295,7 +13294,7 @@ var deviceProviderCapability = {
13295
13294
  * - `device-management.router.ts` (deleted in Phase 2)
13296
13295
  * - `device-ops.router.ts` (compat layer — deleted; device-provider ops absorbed here)
13297
13296
  *
13298
- * All device provider addons (rtsp, onvif, frigate, …) are hub-local: they may
13297
+ * All device provider addons (rtsp, onvif, …) are hub-local: they may
13299
13298
  * fork into separate processes but never run on remote cluster agents. Therefore:
13300
13299
  * - No nodeId routing needed — this is a pure hub singleton.
13301
13300
  * - The hub's DeviceRegistry is the single source of truth for all live devices.
@@ -17343,7 +17342,7 @@ var NcRuleInputSchema = object({
17343
17342
  * The measured seven-person arrival on device 590 spans 110 s with every
17344
17343
  * internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
17345
17344
  * idle cutoff holds it as one and ends it when the arrival actually ends.
17346
- * 30 is Frigate's shipped value for the same decision.
17345
+ * 30 s is a widely shipped value for the same decision.
17347
17346
  *
17348
17347
  * ### What it replaces
17349
17348
  *
@@ -19425,6 +19424,13 @@ var ZoneCrossingSchema = object({
19425
19424
  /** Zone display name at crossing time (falls back to the id). */
19426
19425
  zoneName: string().optional()
19427
19426
  });
19427
+ /** One zone a box was stamped with, and how much of the BOX fell inside it. */
19428
+ var ZoneOverlapSchema = object({
19429
+ zoneId: string(),
19430
+ zoneName: string().optional(),
19431
+ /** Percentage of the BOX area inside the zone, 0–100. */
19432
+ overlapPct: number()
19433
+ });
19428
19434
  var ObjectEventSchema = object({
19429
19435
  ...BaseEventFields,
19430
19436
  kind: literal("object"),
@@ -19449,6 +19455,35 @@ var ObjectEventSchema = object({
19449
19455
  bbox: BoundingBoxSchema.optional(),
19450
19456
  /** Heavy JSON — omitted in slim projection. */
19451
19457
  zones: array(string()).readonly().optional(),
19458
+ /**
19459
+ * How far inside each stamped zone the box actually was, as a percentage of
19460
+ * the BOX area.
19461
+ *
19462
+ * Membership alone cannot express "at least a third of it inside", which is
19463
+ * the bar an operator argues with — and the number already existed: the
19464
+ * engine computed it, the pipeline logged it, and then discarded it. It
19465
+ * matters most on the events that carry no track, where a rule has nothing
19466
+ * else to judge by.
19467
+ */
19468
+ zoneOverlaps: array(ZoneOverlapSchema).readonly().optional(),
19469
+ /**
19470
+ * Present when this event describes a detection the TRACKER refused, so it
19471
+ * has no track and never will.
19472
+ *
19473
+ * A zone-scoped immediate rule asks "is there an animal in the flowerbed
19474
+ * NOW?"; tracking answers a different question ("is this the same subject as
19475
+ * before?") whose confirmation threshold presumes continuity. On 2026-09-09 a
19476
+ * dog at 0.7729, 100% inside a watched zone, was refused three times in six
19477
+ * seconds with three different candidate ids — seven analysed frames in the
19478
+ * window, the subject in a handful of them, metres apart — and produced no
19479
+ * event at all.
19480
+ *
19481
+ * It is NAMED rather than merely implied by a missing `trackId`: an event
19482
+ * with no track and no reason is indistinguishable from a track whose media
19483
+ * went missing, and a consumer that asks this one for a best shot or a
19484
+ * history is asking for something that never existed.
19485
+ */
19486
+ spawnRefused: string().optional(),
19452
19487
  /** Omitted in slim projection. */
19453
19488
  state: TrackStateSchema.optional(),
19454
19489
  /**
@@ -19875,7 +19910,17 @@ var EventDensityBucketSchema = object({
19875
19910
  bucketStart: number(),
19876
19911
  motion: number().int(),
19877
19912
  object: number().int(),
19878
- audio: number().int()
19913
+ audio: number().int(),
19914
+ /**
19915
+ * Energy-weighted mean dBFS of the audio events in this bucket — the LEVEL,
19916
+ * as opposed to `audio`, which is their COUNT (D431).
19917
+ *
19918
+ * ABSENT when the bucket holds no audio event. Absence means "nothing was
19919
+ * measured", which is not the same claim as silence, and a lane that cannot
19920
+ * tell them apart paints a quiet hour at full scale — which is exactly what
19921
+ * the count-on-a-level-meter did.
19922
+ */
19923
+ audioDbfs: number().optional()
19879
19924
  });
19880
19925
  /**
19881
19926
  * One camera's row in a `getEventDensityBatch` answer.
@@ -20522,6 +20567,60 @@ var NativeCropResultSchema = object({
20522
20567
  */
20523
20568
  tier: _enum(["native", "ram-fullframe"]).optional()
20524
20569
  });
20570
+ /**
20571
+ * What a PARKED frame is for — the `kind` half of the `(deviceId, trackId,
20572
+ * kind)` key ([D422](../../../docs/decisions/adr-0422-a-relevant-frame-is-parked-when-it-becomes-relevant.md)).
20573
+ *
20574
+ * - `keyFrame` — the track's clean best FULL frame at native width (capped by
20575
+ * the caller's `maxWidth`). What `keyFrame` + `keyFrameSmall` are written
20576
+ * from, and what the detail plane's full-frame rung cuts from.
20577
+ * - `thumbnail` — the best-shot subject slab: the caller's 16:9 central-square
20578
+ * window, cut by the runner at uncapped native resolution.
20579
+ *
20580
+ * The runner never interprets `trackId`; it is an opaque key the hub owns.
20581
+ */
20582
+ var ParkedFrameKindSchema = _enum(["keyFrame", "thumbnail"]);
20583
+ /**
20584
+ * Why a park did NOT happen. Every one is logged on the runner with
20585
+ * `tags: { deviceId }` and the handle's measured age, because a handle already
20586
+ * gone at park time IS the defect the 150–500 ms window exists to prevent —
20587
+ * never a reason to retry in a loop.
20588
+ *
20589
+ * - `handle-gone` — the native surface no longer resolves this handle (never
20590
+ * registered, past the lease bound, or the worker released it). `detail`
20591
+ * carries the runner's own miss reason.
20592
+ * - `encode-failed` — pixels resolved and the JPEG encode threw.
20593
+ */
20594
+ var ParkRefusalSchema = _enum(["handle-gone", "encode-failed"]);
20595
+ /** Answer to `parkTrackFrame` — a discriminated union, so "not parked" always names why. */
20596
+ var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
20597
+ parked: literal(true),
20598
+ /** The node holding the parcel — what a later retrieval must be pinned to. */
20599
+ nodeId: string(),
20600
+ width: number().int().positive(),
20601
+ height: number().int().positive(),
20602
+ /** JPEG bytes the parcel costs on the node. */
20603
+ bytes: number().int().nonnegative(),
20604
+ /** Whether this park replaced a parcel already held for the key. */
20605
+ replaced: boolean()
20606
+ }), object({
20607
+ parked: literal(false),
20608
+ nodeId: string(),
20609
+ reason: ParkRefusalSchema,
20610
+ /** Age of the handle at the park, on the runner's clock; null if unknown. */
20611
+ handleAgeMs: number().nullable(),
20612
+ detail: string().optional()
20613
+ })]);
20614
+ /** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
20615
+ var ParkedTrackFrameSchema = object({
20616
+ jpeg: string(),
20617
+ width: number().int().positive(),
20618
+ height: number().int().positive(),
20619
+ /** The frame instant the parcel shows (the caller's clock, echoed back). */
20620
+ timestamp: number(),
20621
+ /** When the node stored it (the node's clock). */
20622
+ parkedAt: number()
20623
+ });
20525
20624
  /** Parent detection context passed to `runDetailSubtree` — the crop's
20526
20625
  * originating detection, in FRAME-space coordinates. Reuses
20527
20626
  * `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
@@ -20911,7 +21010,7 @@ var RunnerCameraConfigSchema = object({
20911
21010
  * - `analyzer`: ML/frame-diff motion detection (motion-wasm or other
20912
21011
  * analyzer providers) running on decoded frames in this runner.
20913
21012
  * - `onboard`: camera-native motion pushes (Reolink Baichuan, ONVIF
20914
- * analytics, Frigate motion). The provider emits ProviderMotion
21013
+ * analytics). The provider emits ProviderMotion
20915
21014
  * events; the orchestrator forwards to `reportMotion`.
20916
21015
  */
20917
21016
  motionSources: MotionSourcesSchema.default(["analyzer"]),
@@ -21153,7 +21252,26 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
21153
21252
  className: string(),
21154
21253
  /** Camera the pixels came from. Diagnostics + log tags ONLY — never routing. */
21155
21254
  sourceDeviceId: number()
21156
- }), RunStatelessStepResultSchema, { kind: "mutation" });
21255
+ }), RunStatelessStepResultSchema, { kind: "mutation" }), method(object({
21256
+ deviceId: number(),
21257
+ /** Opaque to the runner — the hub's track id. */
21258
+ trackId: string(),
21259
+ kind: ParkedFrameKindSchema,
21260
+ handle: FrameHandleSchema,
21261
+ /** Normalized [0,1] window to cut. `{0,0,1,1}` for a full frame. */
21262
+ bbox: NativeCropBboxSchema,
21263
+ /** Width cap for a full-frame park (the `keyFrame` native cap). */
21264
+ maxWidth: number().int().positive().optional(),
21265
+ /** The frame instant (caller's clock) — orders parks for one key. */
21266
+ timestamp: number()
21267
+ }), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
21268
+ deviceId: number(),
21269
+ trackId: string(),
21270
+ kind: ParkedFrameKindSchema
21271
+ }), ParkedTrackFrameSchema.nullable()), method(object({
21272
+ deviceId: number(),
21273
+ trackId: string()
21274
+ }), object({ released: number().int().nonnegative() }), { kind: "mutation" });
21157
21275
  var CameraPipelineConfigSchema = object({
21158
21276
  engine: PipelineEngineChoiceSchema.optional(),
21159
21277
  steps: array(PipelineStepInputSchema).readonly(),
@@ -24327,8 +24445,8 @@ onStatusChanged: { data: object({
24327
24445
  /**
24328
24446
  * Runtime-state slice — every provider that registers this cap
24329
24447
  * stores the same shape under `device.runtimeState[battery]`.
24330
- * Cross-provider uniformity: a Reolink Argus, a Frigate sensor
24331
- * proxy, an ONVIF battery cam all read/write the same keys.
24448
+ * Cross-provider uniformity: a Reolink Argus, a sensor proxy,
24449
+ * an ONVIF battery cam all read/write the same keys.
24332
24450
  * Consumers (BatteryBadge, snapshot wrapper sleep gate) read once
24333
24451
  * via `device.runtimeState.getCapState('battery')` regardless of
24334
24452
  * the underlying driver.
@@ -24461,7 +24579,7 @@ DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _v
24461
24579
  *
24462
24580
  * Implementations:
24463
24581
  * - Each camera-providing addon registers this cap natively per
24464
- * device (Reolink, Hikvision, RTSP, Frigate, ONVIF self).
24582
+ * device (Reolink, Hikvision, RTSP, ONVIF self).
24465
24583
  * - Returns a snapshot from the persisted device config blob — no
24466
24584
  * extra round-trip to the camera, no probing.
24467
24585
  * - The cap is admin-only (`auth: 'admin'`) — credentials must not
@@ -26553,7 +26671,7 @@ var AvailableIntegrationTypeSchema = object({
26553
26671
  * Which integration-marker cap the addon declared, so the wizard can
26554
26672
  * branch on CAP — never on addon name. `device-adoption` integrations
26555
26673
  * (Home Assistant, …) route through the broker step (Approach A);
26556
- * `device-provider` integrations (Reolink/Frigate/ONVIF) keep the
26674
+ * `device-provider` integrations (Reolink/ONVIF) keep the
26557
26675
  * legacy config → discovery flow.
26558
26676
  */
26559
26677
  kind: _enum(["device-adoption", "device-provider"]),
@@ -30029,7 +30147,23 @@ var RecordingRangeSchema = object({
30029
30147
  });
30030
30148
  var RecordingAvailabilitySchema = object({
30031
30149
  deviceId: number(),
30032
- ranges: array(RecordingRangeSchema)
30150
+ ranges: array(RecordingRangeSchema),
30151
+ /**
30152
+ * Every profile this camera has footage in — not only the one `ranges`
30153
+ * describes (D433).
30154
+ *
30155
+ * `ranges` answers for ONE profile by design: the timeline is a single bar,
30156
+ * and enumerating all of them triples the directory reads for a bar that
30157
+ * would look identical. But the answer used to say nothing about that, so a
30158
+ * caller asking "what can I export?" read the single preferred profile as
30159
+ * the only one that exists — on this deployment every camera records `high`
30160
+ * AND `low`, the low tree holding 14 GB for camera 615 alone, and the export
30161
+ * UI could not see it.
30162
+ *
30163
+ * Cheap: it is the same shallow directory read the profile CHOICE already
30164
+ * makes. Ask for a specific profile's ranges with the `profile` input.
30165
+ */
30166
+ profilesWithFootage: array(string())
30033
30167
  });
30034
30168
  var RecordingDaysSchema = object({
30035
30169
  deviceId: number(),
@@ -30055,7 +30189,11 @@ var RecordingDaysSchema = object({
30055
30189
  var RecordingAvailabilityForDeviceSchema = object({
30056
30190
  deviceId: number(),
30057
30191
  read: _enum(["read", "unreadable"]),
30058
- ranges: array(RecordingRangeSchema).readonly()
30192
+ ranges: array(RecordingRangeSchema).readonly(),
30193
+ /** Same field, same meaning, as the singular answer (D433). A row that
30194
+ * dropped it would tell a grid caller the archive holds one profile.
30195
+ * Empty on an `'unreadable'` row: nobody looked. */
30196
+ profilesWithFootage: array(string()).readonly()
30059
30197
  });
30060
30198
  /**
30061
30199
  * One camera's row in a `getDaysWithRecordingsBatch` answer. Same rule as
@@ -30085,13 +30223,31 @@ var RecordingManifestSchema = object({
30085
30223
  */
30086
30224
  playbackEndpoints: array(string())
30087
30225
  });
30088
- /** Recording storage usage for one camera (bytes on disk across all its
30089
- * profiles/subtrees/locations on this node). */
30226
+ /**
30227
+ * Recording storage usage for one camera — what the ARCHIVE holds for it,
30228
+ * across every profile and every resolvable location on this node.
30229
+ *
30230
+ * ## Archive vs residency, which is the whole point of this shape (D418)
30231
+ *
30232
+ * `usedBytes` / `oldestMs` / `segments` are the durable hour ledger's numbers:
30233
+ * the same quantity `RecordingLocationUsage.usedBytes` reports for the volume
30234
+ * this camera writes to, so the two can be added up and compared.
30235
+ *
30236
+ * They were not always. Until D418 this row came from the recorder's in-RAM
30237
+ * `RecordingIndex`, which since D287 holds only the live tail plus the hours
30238
+ * somebody hydrated — so a hub with 1.9 TB and 3.3 days of footage reported
30239
+ * 60.5 GB and "oldest: three hours ago" on the same page as the volume row
30240
+ * that said otherwise, and two people read it as retention eating recent
30241
+ * footage. Residency is still reported, under `residentBytes` /
30242
+ * `residentOldestMs`, which answer a different question and say so.
30243
+ */
30090
30244
  var RecordingDeviceUsageSchema = object({
30091
30245
  deviceId: number(),
30246
+ /** Bytes the ARCHIVE holds for this camera on this node's resolvable
30247
+ * recordings locations. */
30092
30248
  usedBytes: number(),
30093
30249
  /**
30094
- * Start of this camera's OLDEST indexed segment, across every profile and
30250
+ * Start of this camera's OLDEST ARCHIVED segment, across every profile and
30095
30251
  * location — the "Oldest footage" column in Recordings → Storage, and the
30096
30252
  * only honest answer to "is retention actually holding?" per camera.
30097
30253
  *
@@ -30101,7 +30257,24 @@ var RecordingDeviceUsageSchema = object({
30101
30257
  * (types) and the addon ship on different trains, and the addon is usually
30102
30258
  * the later of the two.
30103
30259
  */
30104
- oldestMs: number().nullable().optional()
30260
+ oldestMs: number().nullable().optional(),
30261
+ /** Segments the archive holds for this camera — the "M" beside `usedBytes`.
30262
+ * OPTIONAL for the same train-skew reason as `oldestMs`. */
30263
+ segments: number().optional(),
30264
+ /**
30265
+ * RESIDENCY, not the archive: bytes the recorder process currently holds in
30266
+ * its RAM index — the live tail plus the hours a reader hydrated.
30267
+ *
30268
+ * It answers "what can be served without touching the disk", never "how much
30269
+ * footage this camera has". A UI that renders it must label it as such, and
30270
+ * must never total it as storage. OPTIONAL: a recorder predating D418 omits
30271
+ * it, and so does a node whose ledger could not answer.
30272
+ */
30273
+ residentBytes: number().optional(),
30274
+ /** The residency counterpart of `oldestMs` — the oldest segment currently in
30275
+ * RAM, which on a healthy recorder is minutes ago and means nothing about
30276
+ * retention. `null` = nothing resident. */
30277
+ residentOldestMs: number().nullable().optional()
30105
30278
  });
30106
30279
  /** Recording storage usage + capacity for one storage location. */
30107
30280
  var RecordingLocationUsageSchema = object({
@@ -30139,6 +30312,17 @@ var RecordingStorageUsageSchema = object({
30139
30312
  totalUsedBytes: number(),
30140
30313
  devices: array(RecordingDeviceUsageSchema),
30141
30314
  /**
30315
+ * WHERE `devices[]` came from, so an empty table is never mistaken for empty
30316
+ * disks (D418).
30317
+ *
30318
+ * `archive` = the durable hour ledger answered. `unavailable` = this node
30319
+ * declared no ledger and the recorder REFUSED rather than answering the
30320
+ * question with the resident index (D295 rule 3) — the rows are UNKNOWN, not
30321
+ * zero, and a UI must say so. OPTIONAL: a recorder predating D418 omits it,
30322
+ * and its rows are residency.
30323
+ */
30324
+ devicesRead: _enum(["archive", "unavailable"]).optional(),
30325
+ /**
30142
30326
  * Per-physical-volume capacity. OPTIONAL, and consumers must render the rest
30143
30327
  * of the payload without it: the hub serves this method through a BAKED
30144
30328
  * router, so a hub whose framework train predates a change to this array
@@ -30299,7 +30483,14 @@ var ReadWindowBytesResultSchema = discriminatedUnion("kind", [object({
30299
30483
  method(object({
30300
30484
  deviceId: number(),
30301
30485
  fromMs: number(),
30302
- toMs: number()
30486
+ toMs: number(),
30487
+ /**
30488
+ * Answer for THIS profile instead of the preferred one (D433). Absent
30489
+ * keeps the timeline's behaviour — one bar, one profile, one set of
30490
+ * reads. `profilesWithFootage` on the answer says what may be asked
30491
+ * for.
30492
+ */
30493
+ profile: string().optional()
30303
30494
  }), RecordingAvailabilitySchema, {
30304
30495
  kind: "query",
30305
30496
  auth: "protected"
@@ -34216,7 +34407,7 @@ function toDeviceSummary(device, addonId) {
34216
34407
  };
34217
34408
  }
34218
34409
  /**
34219
- * Base class for device-provider addons (rtsp, onvif, frigate).
34410
+ * Base class for device-provider addons (rtsp, onvif).
34220
34411
  *
34221
34412
  * Provides default implementations for the common device-provider cap
34222
34413
  * methods (`start`, `stop`, `getStatus`, `getDevices`, `supportsDiscovery`,
@@ -39078,6 +39269,24 @@ Object.freeze({
39078
39269
  addonId: null,
39079
39270
  access: "view"
39080
39271
  },
39272
+ "pipelineRunner.getParkedTrackFrame": {
39273
+ capName: "pipeline-runner",
39274
+ capScope: "system",
39275
+ addonId: null,
39276
+ access: "view"
39277
+ },
39278
+ "pipelineRunner.parkTrackFrame": {
39279
+ capName: "pipeline-runner",
39280
+ capScope: "system",
39281
+ addonId: null,
39282
+ access: "create"
39283
+ },
39284
+ "pipelineRunner.releaseParkedTrackFrames": {
39285
+ capName: "pipeline-runner",
39286
+ capScope: "system",
39287
+ addonId: null,
39288
+ access: "create"
39289
+ },
39081
39290
  "pipelineRunner.reportMotion": {
39082
39291
  capName: "pipeline-runner",
39083
39292
  capScope: "system",
@@ -42355,6 +42564,21 @@ Object.freeze({
42355
42564
  form: "single",
42356
42565
  optional: false
42357
42566
  }],
42567
+ "pipelineRunner.getParkedTrackFrame": [{
42568
+ name: "deviceId",
42569
+ form: "single",
42570
+ optional: false
42571
+ }],
42572
+ "pipelineRunner.parkTrackFrame": [{
42573
+ name: "deviceId",
42574
+ form: "single",
42575
+ optional: false
42576
+ }],
42577
+ "pipelineRunner.releaseParkedTrackFrames": [{
42578
+ name: "deviceId",
42579
+ form: "single",
42580
+ optional: false
42581
+ }],
42358
42582
  "pipelineRunner.reportMotion": [{
42359
42583
  name: "deviceId",
42360
42584
  form: "single",
@@ -43046,7 +43270,7 @@ var PreviewTextField = string().max(200);
43046
43270
  * Whether the notification's preview is a STILL or a short animation.
43047
43271
  *
43048
43272
  * The operator's ask, verbatim: *"inviato come gif o video (come per le altre
43049
- * rule)"* — his Scrypted advanced-notifier has a `gifRule`, and a ten-hour
43273
+ * rule)"* — the other rules already offer an animated preview, and a ten-hour
43050
43274
  * night reads better as three seconds of motion than as one frame of it. Both
43051
43275
  * modes get the SAME treatment (blurred frame, large centred title); `'gif'`
43052
43276
  * simply applies it to a dozen frames sampled across the render and assembles
package/dist/addon.mjs CHANGED
@@ -7,7 +7,7 @@ import { networkInterfaces } from "node:os";
7
7
  var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
8
8
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
9
9
  //#endregion
10
- //#region ../types/dist/event-category-CnLqLOKs.mjs
10
+ //#region ../types/dist/event-category-DAXzJeTX.mjs
11
11
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
12
12
  EventCategory["SystemBoot"] = "system.boot";
13
13
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -599,7 +599,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
599
599
  * issue. Payload `PipelineAnalyticsPlateGalleryChangedPayload`.
600
600
  */
601
601
  EventCategory["PipelineAnalyticsPlateGalleryChanged"] = "pipeline-analytics.plate-gallery-changed";
602
- EventCategory["FrigateLiveEvent"] = "frigate.live-event";
603
602
  EventCategory["CameraStreamsProfileSlotsChanged"] = "camera-streams.onProfileSlotsChanged";
604
603
  /**
605
604
  * Stream-broker health watchdog. Per-broker (deviceId/profile) emission.
@@ -12621,7 +12620,7 @@ DeviceType.Camera;
12621
12620
  var SourceInfoSchema = object({
12622
12621
  /** Live dispatch key — mutable when the source system allows rename. */
12623
12622
  id: string(),
12624
- /** Source system tag — e.g. 'homeassistant' | 'reolink' | 'frigate'. */
12623
+ /** Source system tag — e.g. 'homeassistant' | 'reolink' | 'onvif'. */
12625
12624
  system: string(),
12626
12625
  /** Immutable upstream identifier when available (HA `unique_id`, … ).
12627
12626
  * Used to detect rename when `id` changes. */
@@ -12634,7 +12633,7 @@ var SourceInfoSchema = object({
12634
12633
  /**
12635
12634
  * Build the synthetic SourceInfo every existing provider falls back to
12636
12635
  * when no upstream value has been persisted. Keeps non-migrated providers
12637
- * (Reolink / Hikvision / ONVIF / Frigate / RTSP) functional without code
12636
+ * (Reolink / Hikvision / ONVIF / RTSP) functional without code
12638
12637
  * changes — `id` reuses the CamStack stableId, `system` reuses the addon
12639
12638
  * id. Real upstream identity replaces this once a provider migrates and
12640
12639
  * calls `updateSourceInfo()` with concrete values.
@@ -13296,7 +13295,7 @@ var deviceProviderCapability = {
13296
13295
  * - `device-management.router.ts` (deleted in Phase 2)
13297
13296
  * - `device-ops.router.ts` (compat layer — deleted; device-provider ops absorbed here)
13298
13297
  *
13299
- * All device provider addons (rtsp, onvif, frigate, …) are hub-local: they may
13298
+ * All device provider addons (rtsp, onvif, …) are hub-local: they may
13300
13299
  * fork into separate processes but never run on remote cluster agents. Therefore:
13301
13300
  * - No nodeId routing needed — this is a pure hub singleton.
13302
13301
  * - The hub's DeviceRegistry is the single source of truth for all live devices.
@@ -17344,7 +17343,7 @@ var NcRuleInputSchema = object({
17344
17343
  * The measured seven-person arrival on device 590 spans 110 s with every
17345
17344
  * internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
17346
17345
  * idle cutoff holds it as one and ends it when the arrival actually ends.
17347
- * 30 is Frigate's shipped value for the same decision.
17346
+ * 30 s is a widely shipped value for the same decision.
17348
17347
  *
17349
17348
  * ### What it replaces
17350
17349
  *
@@ -19426,6 +19425,13 @@ var ZoneCrossingSchema = object({
19426
19425
  /** Zone display name at crossing time (falls back to the id). */
19427
19426
  zoneName: string().optional()
19428
19427
  });
19428
+ /** One zone a box was stamped with, and how much of the BOX fell inside it. */
19429
+ var ZoneOverlapSchema = object({
19430
+ zoneId: string(),
19431
+ zoneName: string().optional(),
19432
+ /** Percentage of the BOX area inside the zone, 0–100. */
19433
+ overlapPct: number()
19434
+ });
19429
19435
  var ObjectEventSchema = object({
19430
19436
  ...BaseEventFields,
19431
19437
  kind: literal("object"),
@@ -19450,6 +19456,35 @@ var ObjectEventSchema = object({
19450
19456
  bbox: BoundingBoxSchema.optional(),
19451
19457
  /** Heavy JSON — omitted in slim projection. */
19452
19458
  zones: array(string()).readonly().optional(),
19459
+ /**
19460
+ * How far inside each stamped zone the box actually was, as a percentage of
19461
+ * the BOX area.
19462
+ *
19463
+ * Membership alone cannot express "at least a third of it inside", which is
19464
+ * the bar an operator argues with — and the number already existed: the
19465
+ * engine computed it, the pipeline logged it, and then discarded it. It
19466
+ * matters most on the events that carry no track, where a rule has nothing
19467
+ * else to judge by.
19468
+ */
19469
+ zoneOverlaps: array(ZoneOverlapSchema).readonly().optional(),
19470
+ /**
19471
+ * Present when this event describes a detection the TRACKER refused, so it
19472
+ * has no track and never will.
19473
+ *
19474
+ * A zone-scoped immediate rule asks "is there an animal in the flowerbed
19475
+ * NOW?"; tracking answers a different question ("is this the same subject as
19476
+ * before?") whose confirmation threshold presumes continuity. On 2026-09-09 a
19477
+ * dog at 0.7729, 100% inside a watched zone, was refused three times in six
19478
+ * seconds with three different candidate ids — seven analysed frames in the
19479
+ * window, the subject in a handful of them, metres apart — and produced no
19480
+ * event at all.
19481
+ *
19482
+ * It is NAMED rather than merely implied by a missing `trackId`: an event
19483
+ * with no track and no reason is indistinguishable from a track whose media
19484
+ * went missing, and a consumer that asks this one for a best shot or a
19485
+ * history is asking for something that never existed.
19486
+ */
19487
+ spawnRefused: string().optional(),
19453
19488
  /** Omitted in slim projection. */
19454
19489
  state: TrackStateSchema.optional(),
19455
19490
  /**
@@ -19876,7 +19911,17 @@ var EventDensityBucketSchema = object({
19876
19911
  bucketStart: number(),
19877
19912
  motion: number().int(),
19878
19913
  object: number().int(),
19879
- audio: number().int()
19914
+ audio: number().int(),
19915
+ /**
19916
+ * Energy-weighted mean dBFS of the audio events in this bucket — the LEVEL,
19917
+ * as opposed to `audio`, which is their COUNT (D431).
19918
+ *
19919
+ * ABSENT when the bucket holds no audio event. Absence means "nothing was
19920
+ * measured", which is not the same claim as silence, and a lane that cannot
19921
+ * tell them apart paints a quiet hour at full scale — which is exactly what
19922
+ * the count-on-a-level-meter did.
19923
+ */
19924
+ audioDbfs: number().optional()
19880
19925
  });
19881
19926
  /**
19882
19927
  * One camera's row in a `getEventDensityBatch` answer.
@@ -20523,6 +20568,60 @@ var NativeCropResultSchema = object({
20523
20568
  */
20524
20569
  tier: _enum(["native", "ram-fullframe"]).optional()
20525
20570
  });
20571
+ /**
20572
+ * What a PARKED frame is for — the `kind` half of the `(deviceId, trackId,
20573
+ * kind)` key ([D422](../../../docs/decisions/adr-0422-a-relevant-frame-is-parked-when-it-becomes-relevant.md)).
20574
+ *
20575
+ * - `keyFrame` — the track's clean best FULL frame at native width (capped by
20576
+ * the caller's `maxWidth`). What `keyFrame` + `keyFrameSmall` are written
20577
+ * from, and what the detail plane's full-frame rung cuts from.
20578
+ * - `thumbnail` — the best-shot subject slab: the caller's 16:9 central-square
20579
+ * window, cut by the runner at uncapped native resolution.
20580
+ *
20581
+ * The runner never interprets `trackId`; it is an opaque key the hub owns.
20582
+ */
20583
+ var ParkedFrameKindSchema = _enum(["keyFrame", "thumbnail"]);
20584
+ /**
20585
+ * Why a park did NOT happen. Every one is logged on the runner with
20586
+ * `tags: { deviceId }` and the handle's measured age, because a handle already
20587
+ * gone at park time IS the defect the 150–500 ms window exists to prevent —
20588
+ * never a reason to retry in a loop.
20589
+ *
20590
+ * - `handle-gone` — the native surface no longer resolves this handle (never
20591
+ * registered, past the lease bound, or the worker released it). `detail`
20592
+ * carries the runner's own miss reason.
20593
+ * - `encode-failed` — pixels resolved and the JPEG encode threw.
20594
+ */
20595
+ var ParkRefusalSchema = _enum(["handle-gone", "encode-failed"]);
20596
+ /** Answer to `parkTrackFrame` — a discriminated union, so "not parked" always names why. */
20597
+ var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
20598
+ parked: literal(true),
20599
+ /** The node holding the parcel — what a later retrieval must be pinned to. */
20600
+ nodeId: string(),
20601
+ width: number().int().positive(),
20602
+ height: number().int().positive(),
20603
+ /** JPEG bytes the parcel costs on the node. */
20604
+ bytes: number().int().nonnegative(),
20605
+ /** Whether this park replaced a parcel already held for the key. */
20606
+ replaced: boolean()
20607
+ }), object({
20608
+ parked: literal(false),
20609
+ nodeId: string(),
20610
+ reason: ParkRefusalSchema,
20611
+ /** Age of the handle at the park, on the runner's clock; null if unknown. */
20612
+ handleAgeMs: number().nullable(),
20613
+ detail: string().optional()
20614
+ })]);
20615
+ /** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
20616
+ var ParkedTrackFrameSchema = object({
20617
+ jpeg: string(),
20618
+ width: number().int().positive(),
20619
+ height: number().int().positive(),
20620
+ /** The frame instant the parcel shows (the caller's clock, echoed back). */
20621
+ timestamp: number(),
20622
+ /** When the node stored it (the node's clock). */
20623
+ parkedAt: number()
20624
+ });
20526
20625
  /** Parent detection context passed to `runDetailSubtree` — the crop's
20527
20626
  * originating detection, in FRAME-space coordinates. Reuses
20528
20627
  * `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
@@ -20912,7 +21011,7 @@ var RunnerCameraConfigSchema = object({
20912
21011
  * - `analyzer`: ML/frame-diff motion detection (motion-wasm or other
20913
21012
  * analyzer providers) running on decoded frames in this runner.
20914
21013
  * - `onboard`: camera-native motion pushes (Reolink Baichuan, ONVIF
20915
- * analytics, Frigate motion). The provider emits ProviderMotion
21014
+ * analytics). The provider emits ProviderMotion
20916
21015
  * events; the orchestrator forwards to `reportMotion`.
20917
21016
  */
20918
21017
  motionSources: MotionSourcesSchema.default(["analyzer"]),
@@ -21154,7 +21253,26 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
21154
21253
  className: string(),
21155
21254
  /** Camera the pixels came from. Diagnostics + log tags ONLY — never routing. */
21156
21255
  sourceDeviceId: number()
21157
- }), RunStatelessStepResultSchema, { kind: "mutation" });
21256
+ }), RunStatelessStepResultSchema, { kind: "mutation" }), method(object({
21257
+ deviceId: number(),
21258
+ /** Opaque to the runner — the hub's track id. */
21259
+ trackId: string(),
21260
+ kind: ParkedFrameKindSchema,
21261
+ handle: FrameHandleSchema,
21262
+ /** Normalized [0,1] window to cut. `{0,0,1,1}` for a full frame. */
21263
+ bbox: NativeCropBboxSchema,
21264
+ /** Width cap for a full-frame park (the `keyFrame` native cap). */
21265
+ maxWidth: number().int().positive().optional(),
21266
+ /** The frame instant (caller's clock) — orders parks for one key. */
21267
+ timestamp: number()
21268
+ }), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
21269
+ deviceId: number(),
21270
+ trackId: string(),
21271
+ kind: ParkedFrameKindSchema
21272
+ }), ParkedTrackFrameSchema.nullable()), method(object({
21273
+ deviceId: number(),
21274
+ trackId: string()
21275
+ }), object({ released: number().int().nonnegative() }), { kind: "mutation" });
21158
21276
  var CameraPipelineConfigSchema = object({
21159
21277
  engine: PipelineEngineChoiceSchema.optional(),
21160
21278
  steps: array(PipelineStepInputSchema).readonly(),
@@ -24328,8 +24446,8 @@ onStatusChanged: { data: object({
24328
24446
  /**
24329
24447
  * Runtime-state slice — every provider that registers this cap
24330
24448
  * stores the same shape under `device.runtimeState[battery]`.
24331
- * Cross-provider uniformity: a Reolink Argus, a Frigate sensor
24332
- * proxy, an ONVIF battery cam all read/write the same keys.
24449
+ * Cross-provider uniformity: a Reolink Argus, a sensor proxy,
24450
+ * an ONVIF battery cam all read/write the same keys.
24333
24451
  * Consumers (BatteryBadge, snapshot wrapper sleep gate) read once
24334
24452
  * via `device.runtimeState.getCapState('battery')` regardless of
24335
24453
  * the underlying driver.
@@ -24462,7 +24580,7 @@ DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _v
24462
24580
  *
24463
24581
  * Implementations:
24464
24582
  * - Each camera-providing addon registers this cap natively per
24465
- * device (Reolink, Hikvision, RTSP, Frigate, ONVIF self).
24583
+ * device (Reolink, Hikvision, RTSP, ONVIF self).
24466
24584
  * - Returns a snapshot from the persisted device config blob — no
24467
24585
  * extra round-trip to the camera, no probing.
24468
24586
  * - The cap is admin-only (`auth: 'admin'`) — credentials must not
@@ -26554,7 +26672,7 @@ var AvailableIntegrationTypeSchema = object({
26554
26672
  * Which integration-marker cap the addon declared, so the wizard can
26555
26673
  * branch on CAP — never on addon name. `device-adoption` integrations
26556
26674
  * (Home Assistant, …) route through the broker step (Approach A);
26557
- * `device-provider` integrations (Reolink/Frigate/ONVIF) keep the
26675
+ * `device-provider` integrations (Reolink/ONVIF) keep the
26558
26676
  * legacy config → discovery flow.
26559
26677
  */
26560
26678
  kind: _enum(["device-adoption", "device-provider"]),
@@ -30030,7 +30148,23 @@ var RecordingRangeSchema = object({
30030
30148
  });
30031
30149
  var RecordingAvailabilitySchema = object({
30032
30150
  deviceId: number(),
30033
- ranges: array(RecordingRangeSchema)
30151
+ ranges: array(RecordingRangeSchema),
30152
+ /**
30153
+ * Every profile this camera has footage in — not only the one `ranges`
30154
+ * describes (D433).
30155
+ *
30156
+ * `ranges` answers for ONE profile by design: the timeline is a single bar,
30157
+ * and enumerating all of them triples the directory reads for a bar that
30158
+ * would look identical. But the answer used to say nothing about that, so a
30159
+ * caller asking "what can I export?" read the single preferred profile as
30160
+ * the only one that exists — on this deployment every camera records `high`
30161
+ * AND `low`, the low tree holding 14 GB for camera 615 alone, and the export
30162
+ * UI could not see it.
30163
+ *
30164
+ * Cheap: it is the same shallow directory read the profile CHOICE already
30165
+ * makes. Ask for a specific profile's ranges with the `profile` input.
30166
+ */
30167
+ profilesWithFootage: array(string())
30034
30168
  });
30035
30169
  var RecordingDaysSchema = object({
30036
30170
  deviceId: number(),
@@ -30056,7 +30190,11 @@ var RecordingDaysSchema = object({
30056
30190
  var RecordingAvailabilityForDeviceSchema = object({
30057
30191
  deviceId: number(),
30058
30192
  read: _enum(["read", "unreadable"]),
30059
- ranges: array(RecordingRangeSchema).readonly()
30193
+ ranges: array(RecordingRangeSchema).readonly(),
30194
+ /** Same field, same meaning, as the singular answer (D433). A row that
30195
+ * dropped it would tell a grid caller the archive holds one profile.
30196
+ * Empty on an `'unreadable'` row: nobody looked. */
30197
+ profilesWithFootage: array(string()).readonly()
30060
30198
  });
30061
30199
  /**
30062
30200
  * One camera's row in a `getDaysWithRecordingsBatch` answer. Same rule as
@@ -30086,13 +30224,31 @@ var RecordingManifestSchema = object({
30086
30224
  */
30087
30225
  playbackEndpoints: array(string())
30088
30226
  });
30089
- /** Recording storage usage for one camera (bytes on disk across all its
30090
- * profiles/subtrees/locations on this node). */
30227
+ /**
30228
+ * Recording storage usage for one camera — what the ARCHIVE holds for it,
30229
+ * across every profile and every resolvable location on this node.
30230
+ *
30231
+ * ## Archive vs residency, which is the whole point of this shape (D418)
30232
+ *
30233
+ * `usedBytes` / `oldestMs` / `segments` are the durable hour ledger's numbers:
30234
+ * the same quantity `RecordingLocationUsage.usedBytes` reports for the volume
30235
+ * this camera writes to, so the two can be added up and compared.
30236
+ *
30237
+ * They were not always. Until D418 this row came from the recorder's in-RAM
30238
+ * `RecordingIndex`, which since D287 holds only the live tail plus the hours
30239
+ * somebody hydrated — so a hub with 1.9 TB and 3.3 days of footage reported
30240
+ * 60.5 GB and "oldest: three hours ago" on the same page as the volume row
30241
+ * that said otherwise, and two people read it as retention eating recent
30242
+ * footage. Residency is still reported, under `residentBytes` /
30243
+ * `residentOldestMs`, which answer a different question and say so.
30244
+ */
30091
30245
  var RecordingDeviceUsageSchema = object({
30092
30246
  deviceId: number(),
30247
+ /** Bytes the ARCHIVE holds for this camera on this node's resolvable
30248
+ * recordings locations. */
30093
30249
  usedBytes: number(),
30094
30250
  /**
30095
- * Start of this camera's OLDEST indexed segment, across every profile and
30251
+ * Start of this camera's OLDEST ARCHIVED segment, across every profile and
30096
30252
  * location — the "Oldest footage" column in Recordings → Storage, and the
30097
30253
  * only honest answer to "is retention actually holding?" per camera.
30098
30254
  *
@@ -30102,7 +30258,24 @@ var RecordingDeviceUsageSchema = object({
30102
30258
  * (types) and the addon ship on different trains, and the addon is usually
30103
30259
  * the later of the two.
30104
30260
  */
30105
- oldestMs: number().nullable().optional()
30261
+ oldestMs: number().nullable().optional(),
30262
+ /** Segments the archive holds for this camera — the "M" beside `usedBytes`.
30263
+ * OPTIONAL for the same train-skew reason as `oldestMs`. */
30264
+ segments: number().optional(),
30265
+ /**
30266
+ * RESIDENCY, not the archive: bytes the recorder process currently holds in
30267
+ * its RAM index — the live tail plus the hours a reader hydrated.
30268
+ *
30269
+ * It answers "what can be served without touching the disk", never "how much
30270
+ * footage this camera has". A UI that renders it must label it as such, and
30271
+ * must never total it as storage. OPTIONAL: a recorder predating D418 omits
30272
+ * it, and so does a node whose ledger could not answer.
30273
+ */
30274
+ residentBytes: number().optional(),
30275
+ /** The residency counterpart of `oldestMs` — the oldest segment currently in
30276
+ * RAM, which on a healthy recorder is minutes ago and means nothing about
30277
+ * retention. `null` = nothing resident. */
30278
+ residentOldestMs: number().nullable().optional()
30106
30279
  });
30107
30280
  /** Recording storage usage + capacity for one storage location. */
30108
30281
  var RecordingLocationUsageSchema = object({
@@ -30140,6 +30313,17 @@ var RecordingStorageUsageSchema = object({
30140
30313
  totalUsedBytes: number(),
30141
30314
  devices: array(RecordingDeviceUsageSchema),
30142
30315
  /**
30316
+ * WHERE `devices[]` came from, so an empty table is never mistaken for empty
30317
+ * disks (D418).
30318
+ *
30319
+ * `archive` = the durable hour ledger answered. `unavailable` = this node
30320
+ * declared no ledger and the recorder REFUSED rather than answering the
30321
+ * question with the resident index (D295 rule 3) — the rows are UNKNOWN, not
30322
+ * zero, and a UI must say so. OPTIONAL: a recorder predating D418 omits it,
30323
+ * and its rows are residency.
30324
+ */
30325
+ devicesRead: _enum(["archive", "unavailable"]).optional(),
30326
+ /**
30143
30327
  * Per-physical-volume capacity. OPTIONAL, and consumers must render the rest
30144
30328
  * of the payload without it: the hub serves this method through a BAKED
30145
30329
  * router, so a hub whose framework train predates a change to this array
@@ -30300,7 +30484,14 @@ var ReadWindowBytesResultSchema = discriminatedUnion("kind", [object({
30300
30484
  method(object({
30301
30485
  deviceId: number(),
30302
30486
  fromMs: number(),
30303
- toMs: number()
30487
+ toMs: number(),
30488
+ /**
30489
+ * Answer for THIS profile instead of the preferred one (D433). Absent
30490
+ * keeps the timeline's behaviour — one bar, one profile, one set of
30491
+ * reads. `profilesWithFootage` on the answer says what may be asked
30492
+ * for.
30493
+ */
30494
+ profile: string().optional()
30304
30495
  }), RecordingAvailabilitySchema, {
30305
30496
  kind: "query",
30306
30497
  auth: "protected"
@@ -34217,7 +34408,7 @@ function toDeviceSummary(device, addonId) {
34217
34408
  };
34218
34409
  }
34219
34410
  /**
34220
- * Base class for device-provider addons (rtsp, onvif, frigate).
34411
+ * Base class for device-provider addons (rtsp, onvif).
34221
34412
  *
34222
34413
  * Provides default implementations for the common device-provider cap
34223
34414
  * methods (`start`, `stop`, `getStatus`, `getDevices`, `supportsDiscovery`,
@@ -39079,6 +39270,24 @@ Object.freeze({
39079
39270
  addonId: null,
39080
39271
  access: "view"
39081
39272
  },
39273
+ "pipelineRunner.getParkedTrackFrame": {
39274
+ capName: "pipeline-runner",
39275
+ capScope: "system",
39276
+ addonId: null,
39277
+ access: "view"
39278
+ },
39279
+ "pipelineRunner.parkTrackFrame": {
39280
+ capName: "pipeline-runner",
39281
+ capScope: "system",
39282
+ addonId: null,
39283
+ access: "create"
39284
+ },
39285
+ "pipelineRunner.releaseParkedTrackFrames": {
39286
+ capName: "pipeline-runner",
39287
+ capScope: "system",
39288
+ addonId: null,
39289
+ access: "create"
39290
+ },
39082
39291
  "pipelineRunner.reportMotion": {
39083
39292
  capName: "pipeline-runner",
39084
39293
  capScope: "system",
@@ -42356,6 +42565,21 @@ Object.freeze({
42356
42565
  form: "single",
42357
42566
  optional: false
42358
42567
  }],
42568
+ "pipelineRunner.getParkedTrackFrame": [{
42569
+ name: "deviceId",
42570
+ form: "single",
42571
+ optional: false
42572
+ }],
42573
+ "pipelineRunner.parkTrackFrame": [{
42574
+ name: "deviceId",
42575
+ form: "single",
42576
+ optional: false
42577
+ }],
42578
+ "pipelineRunner.releaseParkedTrackFrames": [{
42579
+ name: "deviceId",
42580
+ form: "single",
42581
+ optional: false
42582
+ }],
42359
42583
  "pipelineRunner.reportMotion": [{
42360
42584
  name: "deviceId",
42361
42585
  form: "single",
@@ -43047,7 +43271,7 @@ var PreviewTextField = string().max(200);
43047
43271
  * Whether the notification's preview is a STILL or a short animation.
43048
43272
  *
43049
43273
  * The operator's ask, verbatim: *"inviato come gif o video (come per le altre
43050
- * rule)"* — his Scrypted advanced-notifier has a `gifRule`, and a ten-hour
43274
+ * rule)"* — the other rules already offer an animated preview, and a ten-hour
43051
43275
  * night reads better as three seconds of motion than as one frame of it. Both
43052
43276
  * modes get the SAME treatment (blurred frame, large centred title); `'gif'`
43053
43277
  * 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-amcrest",
3
- "version": "0.2.92",
3
+ "version": "0.2.95",
4
4
  "description": "Amcrest/Dahua camera device provider addon for CamStack — Dahua CGI over HTTP(S) with digest auth (snapshot, RTSP catalog, PTZ, image/day-night config)",
5
5
  "keywords": [
6
6
  "camstack",