@camstack/addon-osd-manager 0.1.154 → 0.1.155

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/_stub.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./virtualExposes-BgZ5Cn7S.mjs";
2
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-BLAGk27g.mjs";
2
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-BUQgSy9b.mjs";
3
3
  import { _ as e, c as t, d as n, h as r, i, l as a, m as o, p as s, r as c, t as l, u, y as d } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react__loadShare__.js-Bs1t18EM.mjs";
4
4
  import { i as f, o as p, r as m, s as h } from "./responsive-BPw6Y2I0.mjs";
5
5
  import { d as g, l as _, u as v } from "./scene-monitor-copy-DNkKk6vF.mjs";
@@ -1,4 +1,4 @@
1
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-BLAGk27g.mjs";
1
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-BUQgSy9b.mjs";
2
2
  //#region \0virtual:mf-localSharedImportMap:__mfe_internal__addon_osd_manager_page
3
3
  var e = {
4
4
  "@camstack/sdk": {
@@ -18,7 +18,7 @@ var e = {
18
18
  },
19
19
  "@camstack/types": {
20
20
  name: "@camstack/types",
21
- version: "1.2.285",
21
+ version: "1.2.287",
22
22
  scope: ["default"],
23
23
  loaded: !1,
24
24
  from: "addon_osd_manager_page",
@@ -33,7 +33,7 @@ var e = {
33
33
  },
34
34
  "@camstack/ui-library": {
35
35
  name: "@camstack/ui-library",
36
- version: "1.2.220",
36
+ version: "1.2.221",
37
37
  scope: ["default"],
38
38
  loaded: !1,
39
39
  from: "addon_osd_manager_page",
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.2.285",
39
+ version: "1.2.287",
40
40
  scope: "default",
41
41
  shareConfig: {
42
42
  singleton: !0,
@@ -81,7 +81,7 @@ async function r() {
81
81
  }
82
82
  },
83
83
  "@camstack/ui-library": {
84
- version: "1.2.220",
84
+ version: "1.2.221",
85
85
  scope: "default",
86
86
  shareConfig: {
87
87
  singleton: !0,
package/dist/index.js CHANGED
@@ -7523,7 +7523,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
7523
7523
  return DeviceRole;
7524
7524
  }({});
7525
7525
  //#endregion
7526
- //#region ../types/dist/composition-43aqsZQj.mjs
7526
+ //#region ../types/dist/composition-D7ULvLdD.mjs
7527
7527
  /**
7528
7528
  * The ffmpeg build every CamStack node downloads, per platform and arch.
7529
7529
  *
@@ -7577,20 +7577,20 @@ function portable(target) {
7577
7577
  }
7578
7578
  portable("linux64"), portable("linuxarm64"), portable("macarm64"), portable("mac64");
7579
7579
  /**
7580
- * LA tabella "quale booleano di questo tipo di device conta come ALTO", e il
7581
- * valutatore puro del suo FRONTE.
7580
+ * THE table "which boolean of this device type counts as HIGH", and the
7581
+ * pure evaluator of its EDGE.
7582
7582
  *
7583
- * UNA tabella per tutti quelli che chiedono "questo device è ALTO?": il
7584
- * trigger `RecordingTriggers.sensorDeviceIds` del recorder, i marker dei
7585
- * sensori della post-analysis, il bridge camera-sensors dell'orchestratore e
7586
- * le sorgenti di un campanello composto (`doorbellFeatureSources`, D671).
7587
- * Una seconda copia divergerebbe alla prima cap aggiunta, e il sintomo — "il
7588
- * sensore fa suonare il campanello ma non registra" — è esattamente D62.
7583
+ * ONE table for everyone who asks "is this device HIGH?": the
7584
+ * recorder's `RecordingTriggers.sensorDeviceIds` trigger, the post-analysis
7585
+ * sensor markers, the orchestrator's camera-sensors bridge and
7586
+ * the sources of a composite doorbell (`doorbellFeatureSources`, D671).
7587
+ * A second copy would diverge at the first cap added, and the symptom — "the
7588
+ * sensor rings the doorbell but does not record" — is exactly D62.
7589
7589
  *
7590
- * ⚠ NON è `DEVICE_STATE_READERS` (`catalogs/device-state-vocabulary.ts`), e le
7591
- * due non vanno unificate: quella risponde a "qual è la PAROLA di stato per una
7592
- * regola" (e include `presence`, `cover`, `alarm-panel`), questa a "qual è il
7593
- * booleano il cui FRONTE conta". Vocabolari deliberatamente diversi.
7590
+ * ⚠ NOT `DEVICE_STATE_READERS` (`catalogs/device-state-vocabulary.ts`), and the
7591
+ * two must not be unified: that one answers "what is the state WORD for a
7592
+ * rule" (and includes `presence`, `cover`, `alarm-panel`), this one "which
7593
+ * boolean's EDGE counts". Deliberately different vocabularies.
7594
7594
  */
7595
7595
  /**
7596
7596
  * Known binary / switch source caps → the boolean slice field whose
@@ -9197,22 +9197,22 @@ var CLASS_MAP_MACRO_TARGETS = [
9197
9197
  "package"
9198
9198
  ];
9199
9199
  /**
9200
- * Le macro classi di PRIMO LIVELLO: quelle che un object detector emette e che
9201
- * un operatore può selezionare.
9200
+ * The FIRST-LEVEL macro classes: those an object detector emits and that
9201
+ * an operator can select.
9202
9202
  *
9203
- * Sono le tre offerte dallo step `object-detection`
9203
+ * They are the three offered by the `object-detection` step
9204
9204
  * (`addon-pipeline/src/detection-pipeline/registry/step-definitions.ts`,
9205
- * `enabledMacroClasses`). `package` sta in {@link CLASS_MAP_MACRO_TARGETS} e in
9206
- * `MACRO_LABELS` — è una macro vera — ma NON qui: appartiene allo step
9207
- * `package-detection`, la cui abilitazione è guidata dalle zone, e offrire la
9208
- * stessa parola due volte ha già fatto accendere a un operatore il proxy COCO
9205
+ * `enabledMacroClasses`). `package` is in {@link CLASS_MAP_MACRO_TARGETS} and in
9206
+ * `MACRO_LABELS` — it is a true macro — but NOT here: it belongs to the step
9207
+ * `package-detection`, whose enablement is driven by zones, and offering the
9208
+ * same word twice has already made an operator turn on the COCO proxy
9209
9209
  * (suitcase/backpack/handbag) lasciando spento il detector dedicato.
9210
9210
  *
9211
- * UNA lista. Prima di oggi le stesse tre erano scritte a mano nell'offerta
9212
- * dello step e una seconda volta come union `FirstLevelMacro`
9213
- * (`types/detection.ts`); una terza copia per il trigger di registrazione
9214
- * (`RecordingTriggers.objectClasses`) avrebbe reso invisibile la divergenza
9215
- * successiva.
9211
+ * ONE list. Before today the same three were hand-written in the step's offer
9212
+ * and a second time as the union `FirstLevelMacro`
9213
+ * (`types/detection.ts`); a third copy for the recording trigger
9214
+ * (`RecordingTriggers.objectClasses`) would have made the later divergence
9215
+ * invisible.
9216
9216
  */
9217
9217
  var FIRST_LEVEL_MACRO_CLASSES = [
9218
9218
  "person",
@@ -9277,17 +9277,17 @@ var RecordingStorageModeSchema = _enum([
9277
9277
  "on-device-decision"
9278
9278
  ]);
9279
9279
  /**
9280
- * Le macro classi che possono aprire una finestra di registrazione — le stesse
9281
- * tre offerte dallo step `object-detection`, da UNA lista
9280
+ * The macro classes that can open a recording window — the same
9281
+ * three offered by the `object-detection` step, from ONE list
9282
9282
  * ({@link FIRST_LEVEL_MACRO_CLASSES}).
9283
9283
  */
9284
9284
  var RecordingObjectTriggerClassSchema = _enum(FIRST_LEVEL_MACRO_CLASSES);
9285
9285
  /**
9286
- * True quando `values` non ripete un elemento.
9286
+ * True when `values` does not repeat an element.
9287
9287
  *
9288
- * Un duplicato non è innocuo: ogni voce di `objectClasses` / `sensorDeviceIds`
9289
- * diventa una SORGENTE in `bandTriggerSources`, e la stessa sorgente due volte
9290
- * conterebbe due volte le sue finestre in `segmentMissedByMs`.
9288
+ * A duplicate is not harmless: every entry of `objectClasses` / `sensorDeviceIds`
9289
+ * becomes a SOURCE in `bandTriggerSources`, and the same source twice
9290
+ * would count its windows twice in `segmentMissedByMs`.
9291
9291
  */
9292
9292
  var noDuplicates = (values) => new Set(values).size === values.length;
9293
9293
  /** Which detectors trigger an `events`-mode band. */
@@ -9295,34 +9295,34 @@ var RecordingTriggersSchema = object({
9295
9295
  motion: boolean().optional(),
9296
9296
  audioThresholdDbfs: number().optional(),
9297
9297
  /**
9298
- * Le macro classi la cui detection apre una finestra. ASSENTE = la sorgente
9299
- * non è ascoltata; un array VUOTO è rifiutato, perché "banda events, trigger
9300
- * object acceso, nessuna classe" è la stessa forma "abilitata e non registra
9301
- * nulla, per sempre" contro cui è scritto `eventsBandCanEverDemand`.
9298
+ * The macro classes whose detection opens a window. ABSENT = the source
9299
+ * is not listened to; an EMPTY array is rejected, because "events band, object
9300
+ * trigger on, no class" is the same shape "enabled and records
9301
+ * nothing, forever" that `eventsBandCanEverDemand` is written against.
9302
9302
  *
9303
- * Il segnale letto è GIÀ FILTRATO: solo detection `source: 'pipeline'`, cioè
9304
- * quelle che hanno attraversato `enabledMacroClasses`, i
9305
- * `minConfidence<Macro>` e il full-frame guard. L'AI a bordo camera
9306
- * (`source: 'onboard'`) non attraversa nessuno di quei gate e NON apre
9307
- * finestre — vedi `recorder/object-trigger.ts`.
9303
+ * The signal read is ALREADY FILTERED: only `source: 'pipeline'` detections, i.e.
9304
+ * those that went through `enabledMacroClasses`, the
9305
+ * `minConfidence<Macro>` and the full-frame guard. The camera's onboard AI
9306
+ * (`source: 'onboard'`) goes through none of those gates and does NOT open
9307
+ * windows — see `recorder/object-trigger.ts`.
9308
9308
  */
9309
9309
  objectClasses: array(RecordingObjectTriggerClassSchema).min(1).refine(noDuplicates, { message: "objectClasses must not repeat a class" }).optional(),
9310
9310
  /**
9311
- * I device LINKED il cui FRONTE ALTO apre una finestra. Assente = la sorgente
9312
- * non è ascoltata; un array vuoto è rifiutato per la stessa ragione di
9311
+ * The LINKED devices whose RISING EDGE opens a window. Absent = the source
9312
+ * is not listened to; an empty array is rejected for the same reason as
9313
9313
  * `objectClasses`.
9314
9314
  *
9315
- * Sono id di device SORGENTE, non camere: la banda li nomina, quindi il
9316
- * percorso caldo (`DeviceStateChanged`, a ritmo di bus su tutta la flotta)
9317
- * non fa RPC. L'OFFERTA da cui l'operatore li sceglie è un'altra domanda, e
9318
- * si risolve con `deviceManager.getLinkedDevices` + `getBindingsBatch` per
9319
- * device (D12) — mai un elenco globale di cap.
9315
+ * These are SOURCE device ids, not cameras: the band names them, so the
9316
+ * hot path (`DeviceStateChanged`, at bus rate across the whole fleet)
9317
+ * does no RPC. The OFFER from which the operator picks them is another question, and
9318
+ * is resolved with `deviceManager.getLinkedDevices` + `getBindingsBatch` per
9319
+ * device (D12) — never a global list of caps.
9320
9320
  *
9321
- * Cosa vuol dire "alto" dipende dal TIPO di device e non è deciso qui:
9322
- * `SOURCE_CAP_ACTIVE_FIELD` (`catalogs/sensor-active-state.ts`) è LA tabella,
9323
- * la stessa del campanello composto (D671). Ed è il FRONTE, non
9324
- * il livello: un contatto trovato già aperto al riavvio del runner non fa
9325
- * registrare.
9321
+ * What "high" means depends on the device TYPE and is not decided here:
9322
+ * `SOURCE_CAP_ACTIVE_FIELD` (`catalogs/sensor-active-state.ts`) is THE table,
9323
+ * the same one as the composite doorbell (D671). And it is the EDGE, not
9324
+ * the level: a contact found already open at runner restart does not
9325
+ * record.
9326
9326
  */
9327
9327
  sensorDeviceIds: array(number().int().positive()).min(1).max(16).refine(noDuplicates, { message: "sensorDeviceIds must not repeat a device" }).optional()
9328
9328
  });
@@ -10399,7 +10399,7 @@ var DecoderSessionConfigSchema = object({
10399
10399
  * - **VALUE** — at which level, for which scope, until when. That stays ONE
10400
10400
  * thing: the logging settings document on the `system` cap. Two authorities
10401
10401
  * over the values is the exact defect
10402
- * `docs/design/plans/2026-08-26-logging-per-componente.md` was written to
10402
+ * `docs/design/plans/2026-08-26-per-component-logging.md` was written to
10403
10403
  * remove; re-introducing it from the cure side would be grotesque.
10404
10404
  *
10405
10405
  * Nothing in this file reads a clock, an env var or a store. The registry is
@@ -15030,7 +15030,7 @@ var dataStoreProviderCapability = {
15030
15030
  *
15031
15031
  * ⚠ An earlier version of this comment blamed Zod stripping, and that
15032
15032
  * was wrong — corrected 2026-08-26 after the hop map
15033
- * (`docs/design/2026-08-26-mappa-hop-argomenti.md`) traced the path.
15033
+ * (`docs/design/2026-08-26-topic-hop-map.md`) traced the path.
15034
15034
  * There is **no Zod parse at all** between the door and the engine: the
15035
15035
  * dispatcher forwards the payload verbatim and UDS carries it whole. A
15036
15036
  * field declared here reaches `SqliteSettingsBackend` either way.
@@ -15992,7 +15992,17 @@ var SiteZoneSchema = object({
15992
15992
  var ProviderStatusSchema = object({
15993
15993
  connected: boolean(),
15994
15994
  deviceCount: number(),
15995
- error: string().optional()
15995
+ error: string().optional(),
15996
+ /**
15997
+ * `'orchestrator'`: this provider writes NO camera's `motion` runtime slice
15998
+ * — the orchestrator is its only writer (D696). Set by `BaseDeviceProvider`,
15999
+ * which every provider bundles, so only a provider BUILT from D696-amended
16000
+ * code says it. ABSENT means an older provider that may still write it (raw
16001
+ * VMD writes, a boot seed), and the orchestrator's provider gate keeps that
16002
+ * provider's cameras unwritten (`camera-sensors/motion-slice-provider-gate.ts`)
16003
+ * — the provider twin of the runner's `getLocalLoad().motionSliceWriter`.
16004
+ */
16005
+ motionSliceWriter: literal("orchestrator").optional()
15996
16006
  });
15997
16007
  object({
15998
16008
  externalId: string(),
@@ -17183,7 +17193,7 @@ var deviceManagerCapability = {
17183
17193
  * sources could be switched off without switching off the rest (D556, then
17184
17194
  * D555's re-key by source). The operator removed the whole idea the same
17185
17195
  * day: *"tutti i providers funzionano sempre, non serve
17186
- * disattivarli/attivarli … loro vivono lì"* (D557 amended, third). A
17196
+ * disattivarli/attivarli … loro vivono lì"* [all the providers always work, there is no need to deactivate/activate them … they live there] (D557 amended, third). A
17187
17197
  * collection cap's providers are a DERIVED set — every addon that provides
17188
17198
  * the cap for this device type, computed on every read and persisted
17189
17199
  * nowhere — so there is nothing here to activate, and a verb that accepted
@@ -18021,7 +18031,7 @@ var embeddingEncoderCapability = {
18021
18031
  * per-device window, `KeyFrameCaptureLog`, `bumpCropMetric`. Every one of them
18022
18032
  * ends in a log line, and a log line is the thing the operator asked to stop
18023
18033
  * needing: *"possiamo armare questi errori intanto? Così al prossimo giro
18024
- * ricontrolliamo tutti questi punti"*. Reading them meant grepping Loki and
18034
+ * ricontrolliamo tutti questi punti"* [can we instrument these errors in the meantime? That way next round we recheck all these points]. Reading them meant grepping Loki and
18025
18035
  * hand-correlating timestamps, which is how a 22% thumbnail gap and a 3-hour
18026
18036
  * media blackout were both diagnosed. The counters stay; this is where they can
18027
18037
  * be READ.
@@ -24774,14 +24784,14 @@ var TrackSchema = object({
24774
24784
  * `derive-returned-null tile=standin`,
24775
24785
  * `native-tile tile=native no-key-frame-at-close`, …) written at close and
24776
24786
  * CLEARED by the late-keyFrame upgrade when a native tile lands after all.
24777
- * The operator-facing answer to "perché manca l'immagine?" on a track whose
24787
+ * The operator-facing answer to "perché manca l'immagine?" [why is the image missing?] on a track whose
24778
24788
  * tile is a face/plate stand-in, a raster crop, or an icon.
24779
24789
  *
24780
24790
  * **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
24781
24791
  * the TILE ranked below native, so a track whose thumbnail landed natively
24782
24792
  * while its key frame missed carried no reason at all — three of the four
24783
24793
  * `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
24784
- * that shape, and their "niente ultimo" had no cause anywhere on the row.
24794
+ * that shape, and their "niente ultimo" [no last frame] had no cause anywhere on the row.
24785
24795
  * The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
24786
24796
  * lastFrame copy source`), so its absence is now on this line whatever the
24787
24797
  * tile ended up being.
@@ -24868,7 +24878,7 @@ var MotionEventSchema = object({
24868
24878
  /**
24869
24879
  * Ms offsets from `timestamp` (the episode's own first rising edge, so the
24870
24880
  * first entry is always `0`) of every genuine off→on transition the
24871
- * episode saw — "ogni evento on si deve salvare" (D475). NOT one entry per
24881
+ * episode saw — "ogni evento on si deve salvare" [every ON event must be saved] (D475). NOT one entry per
24872
24882
  * push: a firmware source that keepalives at ~1 Hz for the whole burst
24873
24883
  * (Reolink, Hikvision) produces exactly one edge; a source that reports an
24874
24884
  * explicit `false` mid-episode and then resumes before the quiet window
@@ -32076,7 +32086,7 @@ var ClipPlaybackSchema = object({
32076
32086
  * **One authorised yes is one wake.** `next-natural` — take the clip the next
32077
32087
  * time the camera is awake for its own reasons — is deliberately not a member:
32078
32088
  * it was proposed, it is free on the battery, and the operator declined it on
32079
- * 2026-09-20 (*"Quando un export viene richiesto si sveglia la camera."*,
32089
+ * 2026-09-20 (*"Quando un export viene richiesto si sveglia la camera."* [When an export is requested the camera wakes up],
32080
32090
  * D558 "Considered and not taken").
32081
32091
  */
32082
32092
  var ClipWakeSchema = _enum(["authorised"]);
@@ -32321,7 +32331,7 @@ var videoclipsCapability = {
32321
32331
  * **It is a SECTION of the Recording tab, at the end of it — not a tab of
32322
32332
  * its own.** It shipped as a `clips` top-tab and the operator rejected the
32323
32333
  * placement: *"utilizzerei la stessa tab recordings, lì abbiamo già tutto il
32324
- * necessario, una nuova sezione alla fine per le clips"*. The Recording tab
32334
+ * necessario, una nuova sezione alla fine per le clips"* [I would use the same recordings tab, there we already have everything necessary, a new section at the end for the clips]. The Recording tab
32325
32335
  * already holds the recorder's panel, the schedule bands and the unified
32326
32336
  * retention policy; footage the camera itself holds is the same question,
32327
32337
  * asked of a different store. `order: 100` puts it after all of them with
@@ -32382,7 +32392,7 @@ var videoclipsCapability = {
32382
32392
  * It replaced `sources?: string[]`, a VIEW filter over source ids that
32383
32393
  * assumed the answer was a fan-out over everything a camera has. The
32384
32394
  * operator settled otherwise on 2026-09-20 — *"l'utilizzatore è uno
32385
- * solo"* — so the list is asked of one provider at a time and there is
32395
+ * solo"* [there is only one user] — so the list is asked of one provider at a time and there is
32386
32396
  * nothing to filter out of it.
32387
32397
  */
32388
32398
  provider: string().min(1)
@@ -41523,7 +41533,7 @@ var ReadGopBytesResultSchema = object({
41523
41533
  /**
41524
41534
  * A time WINDOW of one finalized segment, cut by byte range — the multi-GOP
41525
41535
  * twin of {@link ReadGopBytesResultSchema}'s single instant. Built for the
41526
- * replay clip's `recording` source (`docs/design/plans/2026-08-26-replay-clip-su-pipeline.md`):
41536
+ * replay clip's `recording` source (`docs/design/plans/2026-08-26-clip-replay-on-pipeline.md`):
41527
41537
  * a replay needs several seconds of native pixels, not one frame.
41528
41538
  *
41529
41539
  * `ok.data` is standalone-demuxable, same as a GOP read. `ok.reachesRequestedEnd`
@@ -44131,7 +44141,7 @@ var systemCapability = {
44131
44141
  *
44132
44142
  * This is the surface the operator asked for on 2026-08-28 (*"possiamo
44133
44143
  * armare questi errori intanto? Così al prossimo giro ricontrolliamo tutti
44134
- * questi punti"*). Before it, four live failure modes could only be counted
44144
+ * questi punti"* [can we instrument these errors in the meantime? That way next round we recheck all these points]). Before it, four live failure modes could only be counted
44135
44145
  * by grepping Loki and hand-correlating timestamps, which is exactly how a
44136
44146
  * 22% thumbnail gap and a 3-hour media blackout were diagnosed — twice.
44137
44147
  *
@@ -56868,7 +56878,7 @@ var PreviewTextField = string().max(200);
56868
56878
  * Whether the notification's preview is a STILL or a short animation.
56869
56879
  *
56870
56880
  * The operator's ask, verbatim: *"inviato come gif o video (come per le altre
56871
- * rule)"* — the other rules already offer an animated preview, and a ten-hour
56881
+ * rule)"* [sent as a gif or video (as for the other rules)] — the other rules already offer an animated preview, and a ten-hour
56872
56882
  * night reads better as three seconds of motion than as one frame of it. Both
56873
56883
  * modes get the SAME treatment (blurred frame, large centred title); `'gif'`
56874
56884
  * simply applies it to a dozen frames sampled across the render and assembles
package/dist/index.mjs CHANGED
@@ -7519,7 +7519,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
7519
7519
  return DeviceRole;
7520
7520
  }({});
7521
7521
  //#endregion
7522
- //#region ../types/dist/composition-43aqsZQj.mjs
7522
+ //#region ../types/dist/composition-D7ULvLdD.mjs
7523
7523
  /**
7524
7524
  * The ffmpeg build every CamStack node downloads, per platform and arch.
7525
7525
  *
@@ -7573,20 +7573,20 @@ function portable(target) {
7573
7573
  }
7574
7574
  portable("linux64"), portable("linuxarm64"), portable("macarm64"), portable("mac64");
7575
7575
  /**
7576
- * LA tabella "quale booleano di questo tipo di device conta come ALTO", e il
7577
- * valutatore puro del suo FRONTE.
7576
+ * THE table "which boolean of this device type counts as HIGH", and the
7577
+ * pure evaluator of its EDGE.
7578
7578
  *
7579
- * UNA tabella per tutti quelli che chiedono "questo device è ALTO?": il
7580
- * trigger `RecordingTriggers.sensorDeviceIds` del recorder, i marker dei
7581
- * sensori della post-analysis, il bridge camera-sensors dell'orchestratore e
7582
- * le sorgenti di un campanello composto (`doorbellFeatureSources`, D671).
7583
- * Una seconda copia divergerebbe alla prima cap aggiunta, e il sintomo — "il
7584
- * sensore fa suonare il campanello ma non registra" — è esattamente D62.
7579
+ * ONE table for everyone who asks "is this device HIGH?": the
7580
+ * recorder's `RecordingTriggers.sensorDeviceIds` trigger, the post-analysis
7581
+ * sensor markers, the orchestrator's camera-sensors bridge and
7582
+ * the sources of a composite doorbell (`doorbellFeatureSources`, D671).
7583
+ * A second copy would diverge at the first cap added, and the symptom — "the
7584
+ * sensor rings the doorbell but does not record" — is exactly D62.
7585
7585
  *
7586
- * ⚠ NON è `DEVICE_STATE_READERS` (`catalogs/device-state-vocabulary.ts`), e le
7587
- * due non vanno unificate: quella risponde a "qual è la PAROLA di stato per una
7588
- * regola" (e include `presence`, `cover`, `alarm-panel`), questa a "qual è il
7589
- * booleano il cui FRONTE conta". Vocabolari deliberatamente diversi.
7586
+ * ⚠ NOT `DEVICE_STATE_READERS` (`catalogs/device-state-vocabulary.ts`), and the
7587
+ * two must not be unified: that one answers "what is the state WORD for a
7588
+ * rule" (and includes `presence`, `cover`, `alarm-panel`), this one "which
7589
+ * boolean's EDGE counts". Deliberately different vocabularies.
7590
7590
  */
7591
7591
  /**
7592
7592
  * Known binary / switch source caps → the boolean slice field whose
@@ -9193,22 +9193,22 @@ var CLASS_MAP_MACRO_TARGETS = [
9193
9193
  "package"
9194
9194
  ];
9195
9195
  /**
9196
- * Le macro classi di PRIMO LIVELLO: quelle che un object detector emette e che
9197
- * un operatore può selezionare.
9196
+ * The FIRST-LEVEL macro classes: those an object detector emits and that
9197
+ * an operator can select.
9198
9198
  *
9199
- * Sono le tre offerte dallo step `object-detection`
9199
+ * They are the three offered by the `object-detection` step
9200
9200
  * (`addon-pipeline/src/detection-pipeline/registry/step-definitions.ts`,
9201
- * `enabledMacroClasses`). `package` sta in {@link CLASS_MAP_MACRO_TARGETS} e in
9202
- * `MACRO_LABELS` — è una macro vera — ma NON qui: appartiene allo step
9203
- * `package-detection`, la cui abilitazione è guidata dalle zone, e offrire la
9204
- * stessa parola due volte ha già fatto accendere a un operatore il proxy COCO
9201
+ * `enabledMacroClasses`). `package` is in {@link CLASS_MAP_MACRO_TARGETS} and in
9202
+ * `MACRO_LABELS` — it is a true macro — but NOT here: it belongs to the step
9203
+ * `package-detection`, whose enablement is driven by zones, and offering the
9204
+ * same word twice has already made an operator turn on the COCO proxy
9205
9205
  * (suitcase/backpack/handbag) lasciando spento il detector dedicato.
9206
9206
  *
9207
- * UNA lista. Prima di oggi le stesse tre erano scritte a mano nell'offerta
9208
- * dello step e una seconda volta come union `FirstLevelMacro`
9209
- * (`types/detection.ts`); una terza copia per il trigger di registrazione
9210
- * (`RecordingTriggers.objectClasses`) avrebbe reso invisibile la divergenza
9211
- * successiva.
9207
+ * ONE list. Before today the same three were hand-written in the step's offer
9208
+ * and a second time as the union `FirstLevelMacro`
9209
+ * (`types/detection.ts`); a third copy for the recording trigger
9210
+ * (`RecordingTriggers.objectClasses`) would have made the later divergence
9211
+ * invisible.
9212
9212
  */
9213
9213
  var FIRST_LEVEL_MACRO_CLASSES = [
9214
9214
  "person",
@@ -9273,17 +9273,17 @@ var RecordingStorageModeSchema = _enum([
9273
9273
  "on-device-decision"
9274
9274
  ]);
9275
9275
  /**
9276
- * Le macro classi che possono aprire una finestra di registrazione — le stesse
9277
- * tre offerte dallo step `object-detection`, da UNA lista
9276
+ * The macro classes that can open a recording window — the same
9277
+ * three offered by the `object-detection` step, from ONE list
9278
9278
  * ({@link FIRST_LEVEL_MACRO_CLASSES}).
9279
9279
  */
9280
9280
  var RecordingObjectTriggerClassSchema = _enum(FIRST_LEVEL_MACRO_CLASSES);
9281
9281
  /**
9282
- * True quando `values` non ripete un elemento.
9282
+ * True when `values` does not repeat an element.
9283
9283
  *
9284
- * Un duplicato non è innocuo: ogni voce di `objectClasses` / `sensorDeviceIds`
9285
- * diventa una SORGENTE in `bandTriggerSources`, e la stessa sorgente due volte
9286
- * conterebbe due volte le sue finestre in `segmentMissedByMs`.
9284
+ * A duplicate is not harmless: every entry of `objectClasses` / `sensorDeviceIds`
9285
+ * becomes a SOURCE in `bandTriggerSources`, and the same source twice
9286
+ * would count its windows twice in `segmentMissedByMs`.
9287
9287
  */
9288
9288
  var noDuplicates = (values) => new Set(values).size === values.length;
9289
9289
  /** Which detectors trigger an `events`-mode band. */
@@ -9291,34 +9291,34 @@ var RecordingTriggersSchema = object({
9291
9291
  motion: boolean().optional(),
9292
9292
  audioThresholdDbfs: number().optional(),
9293
9293
  /**
9294
- * Le macro classi la cui detection apre una finestra. ASSENTE = la sorgente
9295
- * non è ascoltata; un array VUOTO è rifiutato, perché "banda events, trigger
9296
- * object acceso, nessuna classe" è la stessa forma "abilitata e non registra
9297
- * nulla, per sempre" contro cui è scritto `eventsBandCanEverDemand`.
9294
+ * The macro classes whose detection opens a window. ABSENT = the source
9295
+ * is not listened to; an EMPTY array is rejected, because "events band, object
9296
+ * trigger on, no class" is the same shape "enabled and records
9297
+ * nothing, forever" that `eventsBandCanEverDemand` is written against.
9298
9298
  *
9299
- * Il segnale letto è GIÀ FILTRATO: solo detection `source: 'pipeline'`, cioè
9300
- * quelle che hanno attraversato `enabledMacroClasses`, i
9301
- * `minConfidence<Macro>` e il full-frame guard. L'AI a bordo camera
9302
- * (`source: 'onboard'`) non attraversa nessuno di quei gate e NON apre
9303
- * finestre — vedi `recorder/object-trigger.ts`.
9299
+ * The signal read is ALREADY FILTERED: only `source: 'pipeline'` detections, i.e.
9300
+ * those that went through `enabledMacroClasses`, the
9301
+ * `minConfidence<Macro>` and the full-frame guard. The camera's onboard AI
9302
+ * (`source: 'onboard'`) goes through none of those gates and does NOT open
9303
+ * windows — see `recorder/object-trigger.ts`.
9304
9304
  */
9305
9305
  objectClasses: array(RecordingObjectTriggerClassSchema).min(1).refine(noDuplicates, { message: "objectClasses must not repeat a class" }).optional(),
9306
9306
  /**
9307
- * I device LINKED il cui FRONTE ALTO apre una finestra. Assente = la sorgente
9308
- * non è ascoltata; un array vuoto è rifiutato per la stessa ragione di
9307
+ * The LINKED devices whose RISING EDGE opens a window. Absent = the source
9308
+ * is not listened to; an empty array is rejected for the same reason as
9309
9309
  * `objectClasses`.
9310
9310
  *
9311
- * Sono id di device SORGENTE, non camere: la banda li nomina, quindi il
9312
- * percorso caldo (`DeviceStateChanged`, a ritmo di bus su tutta la flotta)
9313
- * non fa RPC. L'OFFERTA da cui l'operatore li sceglie è un'altra domanda, e
9314
- * si risolve con `deviceManager.getLinkedDevices` + `getBindingsBatch` per
9315
- * device (D12) — mai un elenco globale di cap.
9311
+ * These are SOURCE device ids, not cameras: the band names them, so the
9312
+ * hot path (`DeviceStateChanged`, at bus rate across the whole fleet)
9313
+ * does no RPC. The OFFER from which the operator picks them is another question, and
9314
+ * is resolved with `deviceManager.getLinkedDevices` + `getBindingsBatch` per
9315
+ * device (D12) — never a global list of caps.
9316
9316
  *
9317
- * Cosa vuol dire "alto" dipende dal TIPO di device e non è deciso qui:
9318
- * `SOURCE_CAP_ACTIVE_FIELD` (`catalogs/sensor-active-state.ts`) è LA tabella,
9319
- * la stessa del campanello composto (D671). Ed è il FRONTE, non
9320
- * il livello: un contatto trovato già aperto al riavvio del runner non fa
9321
- * registrare.
9317
+ * What "high" means depends on the device TYPE and is not decided here:
9318
+ * `SOURCE_CAP_ACTIVE_FIELD` (`catalogs/sensor-active-state.ts`) is THE table,
9319
+ * the same one as the composite doorbell (D671). And it is the EDGE, not
9320
+ * the level: a contact found already open at runner restart does not
9321
+ * record.
9322
9322
  */
9323
9323
  sensorDeviceIds: array(number().int().positive()).min(1).max(16).refine(noDuplicates, { message: "sensorDeviceIds must not repeat a device" }).optional()
9324
9324
  });
@@ -10395,7 +10395,7 @@ var DecoderSessionConfigSchema = object({
10395
10395
  * - **VALUE** — at which level, for which scope, until when. That stays ONE
10396
10396
  * thing: the logging settings document on the `system` cap. Two authorities
10397
10397
  * over the values is the exact defect
10398
- * `docs/design/plans/2026-08-26-logging-per-componente.md` was written to
10398
+ * `docs/design/plans/2026-08-26-per-component-logging.md` was written to
10399
10399
  * remove; re-introducing it from the cure side would be grotesque.
10400
10400
  *
10401
10401
  * Nothing in this file reads a clock, an env var or a store. The registry is
@@ -15026,7 +15026,7 @@ var dataStoreProviderCapability = {
15026
15026
  *
15027
15027
  * ⚠ An earlier version of this comment blamed Zod stripping, and that
15028
15028
  * was wrong — corrected 2026-08-26 after the hop map
15029
- * (`docs/design/2026-08-26-mappa-hop-argomenti.md`) traced the path.
15029
+ * (`docs/design/2026-08-26-topic-hop-map.md`) traced the path.
15030
15030
  * There is **no Zod parse at all** between the door and the engine: the
15031
15031
  * dispatcher forwards the payload verbatim and UDS carries it whole. A
15032
15032
  * field declared here reaches `SqliteSettingsBackend` either way.
@@ -15988,7 +15988,17 @@ var SiteZoneSchema = object({
15988
15988
  var ProviderStatusSchema = object({
15989
15989
  connected: boolean(),
15990
15990
  deviceCount: number(),
15991
- error: string().optional()
15991
+ error: string().optional(),
15992
+ /**
15993
+ * `'orchestrator'`: this provider writes NO camera's `motion` runtime slice
15994
+ * — the orchestrator is its only writer (D696). Set by `BaseDeviceProvider`,
15995
+ * which every provider bundles, so only a provider BUILT from D696-amended
15996
+ * code says it. ABSENT means an older provider that may still write it (raw
15997
+ * VMD writes, a boot seed), and the orchestrator's provider gate keeps that
15998
+ * provider's cameras unwritten (`camera-sensors/motion-slice-provider-gate.ts`)
15999
+ * — the provider twin of the runner's `getLocalLoad().motionSliceWriter`.
16000
+ */
16001
+ motionSliceWriter: literal("orchestrator").optional()
15992
16002
  });
15993
16003
  object({
15994
16004
  externalId: string(),
@@ -17179,7 +17189,7 @@ var deviceManagerCapability = {
17179
17189
  * sources could be switched off without switching off the rest (D556, then
17180
17190
  * D555's re-key by source). The operator removed the whole idea the same
17181
17191
  * day: *"tutti i providers funzionano sempre, non serve
17182
- * disattivarli/attivarli … loro vivono lì"* (D557 amended, third). A
17192
+ * disattivarli/attivarli … loro vivono lì"* [all the providers always work, there is no need to deactivate/activate them … they live there] (D557 amended, third). A
17183
17193
  * collection cap's providers are a DERIVED set — every addon that provides
17184
17194
  * the cap for this device type, computed on every read and persisted
17185
17195
  * nowhere — so there is nothing here to activate, and a verb that accepted
@@ -18017,7 +18027,7 @@ var embeddingEncoderCapability = {
18017
18027
  * per-device window, `KeyFrameCaptureLog`, `bumpCropMetric`. Every one of them
18018
18028
  * ends in a log line, and a log line is the thing the operator asked to stop
18019
18029
  * needing: *"possiamo armare questi errori intanto? Così al prossimo giro
18020
- * ricontrolliamo tutti questi punti"*. Reading them meant grepping Loki and
18030
+ * ricontrolliamo tutti questi punti"* [can we instrument these errors in the meantime? That way next round we recheck all these points]. Reading them meant grepping Loki and
18021
18031
  * hand-correlating timestamps, which is how a 22% thumbnail gap and a 3-hour
18022
18032
  * media blackout were both diagnosed. The counters stay; this is where they can
18023
18033
  * be READ.
@@ -24770,14 +24780,14 @@ var TrackSchema = object({
24770
24780
  * `derive-returned-null tile=standin`,
24771
24781
  * `native-tile tile=native no-key-frame-at-close`, …) written at close and
24772
24782
  * CLEARED by the late-keyFrame upgrade when a native tile lands after all.
24773
- * The operator-facing answer to "perché manca l'immagine?" on a track whose
24783
+ * The operator-facing answer to "perché manca l'immagine?" [why is the image missing?] on a track whose
24774
24784
  * tile is a face/plate stand-in, a raster crop, or an icon.
24775
24785
  *
24776
24786
  * **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
24777
24787
  * the TILE ranked below native, so a track whose thumbnail landed natively
24778
24788
  * while its key frame missed carried no reason at all — three of the four
24779
24789
  * `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
24780
- * that shape, and their "niente ultimo" had no cause anywhere on the row.
24790
+ * that shape, and their "niente ultimo" [no last frame] had no cause anywhere on the row.
24781
24791
  * The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
24782
24792
  * lastFrame copy source`), so its absence is now on this line whatever the
24783
24793
  * tile ended up being.
@@ -24864,7 +24874,7 @@ var MotionEventSchema = object({
24864
24874
  /**
24865
24875
  * Ms offsets from `timestamp` (the episode's own first rising edge, so the
24866
24876
  * first entry is always `0`) of every genuine off→on transition the
24867
- * episode saw — "ogni evento on si deve salvare" (D475). NOT one entry per
24877
+ * episode saw — "ogni evento on si deve salvare" [every ON event must be saved] (D475). NOT one entry per
24868
24878
  * push: a firmware source that keepalives at ~1 Hz for the whole burst
24869
24879
  * (Reolink, Hikvision) produces exactly one edge; a source that reports an
24870
24880
  * explicit `false` mid-episode and then resumes before the quiet window
@@ -32072,7 +32082,7 @@ var ClipPlaybackSchema = object({
32072
32082
  * **One authorised yes is one wake.** `next-natural` — take the clip the next
32073
32083
  * time the camera is awake for its own reasons — is deliberately not a member:
32074
32084
  * it was proposed, it is free on the battery, and the operator declined it on
32075
- * 2026-09-20 (*"Quando un export viene richiesto si sveglia la camera."*,
32085
+ * 2026-09-20 (*"Quando un export viene richiesto si sveglia la camera."* [When an export is requested the camera wakes up],
32076
32086
  * D558 "Considered and not taken").
32077
32087
  */
32078
32088
  var ClipWakeSchema = _enum(["authorised"]);
@@ -32317,7 +32327,7 @@ var videoclipsCapability = {
32317
32327
  * **It is a SECTION of the Recording tab, at the end of it — not a tab of
32318
32328
  * its own.** It shipped as a `clips` top-tab and the operator rejected the
32319
32329
  * placement: *"utilizzerei la stessa tab recordings, lì abbiamo già tutto il
32320
- * necessario, una nuova sezione alla fine per le clips"*. The Recording tab
32330
+ * necessario, una nuova sezione alla fine per le clips"* [I would use the same recordings tab, there we already have everything necessary, a new section at the end for the clips]. The Recording tab
32321
32331
  * already holds the recorder's panel, the schedule bands and the unified
32322
32332
  * retention policy; footage the camera itself holds is the same question,
32323
32333
  * asked of a different store. `order: 100` puts it after all of them with
@@ -32378,7 +32388,7 @@ var videoclipsCapability = {
32378
32388
  * It replaced `sources?: string[]`, a VIEW filter over source ids that
32379
32389
  * assumed the answer was a fan-out over everything a camera has. The
32380
32390
  * operator settled otherwise on 2026-09-20 — *"l'utilizzatore è uno
32381
- * solo"* — so the list is asked of one provider at a time and there is
32391
+ * solo"* [there is only one user] — so the list is asked of one provider at a time and there is
32382
32392
  * nothing to filter out of it.
32383
32393
  */
32384
32394
  provider: string().min(1)
@@ -41519,7 +41529,7 @@ var ReadGopBytesResultSchema = object({
41519
41529
  /**
41520
41530
  * A time WINDOW of one finalized segment, cut by byte range — the multi-GOP
41521
41531
  * twin of {@link ReadGopBytesResultSchema}'s single instant. Built for the
41522
- * replay clip's `recording` source (`docs/design/plans/2026-08-26-replay-clip-su-pipeline.md`):
41532
+ * replay clip's `recording` source (`docs/design/plans/2026-08-26-clip-replay-on-pipeline.md`):
41523
41533
  * a replay needs several seconds of native pixels, not one frame.
41524
41534
  *
41525
41535
  * `ok.data` is standalone-demuxable, same as a GOP read. `ok.reachesRequestedEnd`
@@ -44127,7 +44137,7 @@ var systemCapability = {
44127
44137
  *
44128
44138
  * This is the surface the operator asked for on 2026-08-28 (*"possiamo
44129
44139
  * armare questi errori intanto? Così al prossimo giro ricontrolliamo tutti
44130
- * questi punti"*). Before it, four live failure modes could only be counted
44140
+ * questi punti"* [can we instrument these errors in the meantime? That way next round we recheck all these points]). Before it, four live failure modes could only be counted
44131
44141
  * by grepping Loki and hand-correlating timestamps, which is exactly how a
44132
44142
  * 22% thumbnail gap and a 3-hour media blackout were diagnosed — twice.
44133
44143
  *
@@ -56864,7 +56874,7 @@ var PreviewTextField = string().max(200);
56864
56874
  * Whether the notification's preview is a STILL or a short animation.
56865
56875
  *
56866
56876
  * The operator's ask, verbatim: *"inviato come gif o video (come per le altre
56867
- * rule)"* — the other rules already offer an animated preview, and a ten-hour
56877
+ * rule)"* [sent as a gif or video (as for the other rules)] — the other rules already offer an animated preview, and a ten-hour
56868
56878
  * night reads better as three seconds of motion than as one frame of it. Both
56869
56879
  * modes get the SAME treatment (blurred frame, large centred title); `'gif'`
56870
56880
  * simply applies it to a dozen frames sampled across the render and assembles
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-BLAGk27g.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-BUQgSy9b.mjs";
2
2
  export { t as get, e as init };
@@ -2753,7 +2753,7 @@ async function rr(e) {
2753
2753
  }
2754
2754
  }
2755
2755
  async function ir() {
2756
- return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-Cj3lK2is.mjs")).catch((e) => {
2756
+ return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-B3v0K7b1.mjs")).catch((e) => {
2757
2757
  throw tr = void 0, e;
2758
2758
  }), tr;
2759
2759
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-osd-manager",
3
- "version": "0.1.154",
3
+ "version": "0.1.155",
4
4
  "description": "Binds camera on-screen-display slots to live state and recognitions",
5
5
  "keywords": [
6
6
  "camstack",