@camstack/addon-osd-manager 0.1.99 → 0.1.100

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 (19) hide show
  1. package/dist/{MotionZonesSettings-BSQaXYXm.mjs → MotionZonesSettings-BmqapaTP.mjs} +2 -2
  2. package/dist/{PrivacyMaskSettings-BsOmMQ3G.mjs → PrivacyMaskSettings-C_ENwx9Q.mjs} +4 -4
  3. package/dist/{SceneMonitorEditor-tekjBVAD.mjs → SceneMonitorEditor-G-kQWq6o.mjs} +3 -3
  4. package/dist/_stub.js +11 -11
  5. package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-ZjOQCsZZ.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-CDVsNfKC.mjs} +4 -4
  6. package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Dc2jiuWZ.mjs +26 -0
  7. package/dist/addon-osd-manager.css +1 -1
  8. package/dist/{hostInit-B8PUHWlr.mjs → hostInit-Bttvb5u6.mjs} +3 -3
  9. package/dist/index.js +362 -11
  10. package/dist/index.mjs +362 -11
  11. package/dist/{player-overlays-CU2Q1FOt.mjs → player-overlays-BXcJYuYX.mjs} +1 -1
  12. package/dist/remoteEntry.js +1 -1
  13. package/dist/{responsive-CREvujgj.mjs → responsive-DmRkhonW.mjs} +1 -1
  14. package/dist/{square-D4G_-ewV.mjs → square-LLImpVvg.mjs} +1 -1
  15. package/dist/{trash-2-UEtRGymk.mjs → trash-2-DnVYkte0.mjs} +1 -1
  16. package/dist/{use-device-snapshot-DiWS-JDe.mjs → use-device-snapshot-B3WRvUHI.mjs} +1 -1
  17. package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-m9QQayT8.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-DJ2oo3wz.mjs} +1 -1
  18. package/package.json +2 -2
  19. package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BR1kX9U-.mjs +0 -26
package/dist/index.mjs CHANGED
@@ -5359,7 +5359,7 @@ var ZodIssueCode = {
5359
5359
  var ZodFirstPartyTypeKind;
5360
5360
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5361
5361
  //#endregion
5362
- //#region ../types/dist/sleep-DEuj7E3j.mjs
5362
+ //#region ../types/dist/sleep-BDR76Ykr.mjs
5363
5363
  /**
5364
5364
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5365
5365
  * window to float samples (D455).
@@ -12079,6 +12079,21 @@ var streamSignalsCapability = {
12079
12079
  mode: "singleton",
12080
12080
  deviceTypes: Object.values(DeviceType),
12081
12081
  runtimeState: StreamSignalsStatusSchema,
12082
+ /**
12083
+ * Runtime-state durability: **session** — mirrored in RAM, never written.
12084
+ *
12085
+ * The slice holds what the DEVICE says it can emit. That is a probed fact,
12086
+ * not an operator choice: the provider re-declares it on every registration,
12087
+ * so losing it loses nothing and persisting it would freeze an answer the
12088
+ * camera is entitled to change. Measured the same day on the sibling case —
12089
+ * `native-object-detection.supportedClasses` was persisted, and a firmware
12090
+ * class the camera really detected stayed missing for the life of the row
12091
+ * because the fix could not reach it.
12092
+ *
12093
+ * See `RuntimeStateDurability`. Enforced by
12094
+ * `scripts/check-runtime-state-durability.ts`.
12095
+ */
12096
+ durability: "session",
12082
12097
  methods: {
12083
12098
  /**
12084
12099
  * What this device can emit. Empty is a valid and common answer — most
@@ -20663,6 +20678,48 @@ var NcAlarmConfigSchema = object({
20663
20678
  settings: NcAlarmSettingsSchema,
20664
20679
  coverage: array(NcAlarmModeCoverageSchema)
20665
20680
  });
20681
+ /**
20682
+ * ONE rule's demand on ONE camera's clip ring.
20683
+ *
20684
+ * A rule, not a camera: the broker takes the MAX over the asks that reach a
20685
+ * camera, so the answer stays a faithful description of the rules and the
20686
+ * bounding (the byte budget, the broker's own ceiling) stays where the cost
20687
+ * lives. A camera that appears in no ask is being told **nothing** — which is
20688
+ * a different thing from never having been told, and only the envelope
20689
+ * (`rulesLoaded`) can tell those apart.
20690
+ */
20691
+ var NcClipRetentionAskSchema = object({
20692
+ /**
20693
+ * The camera this ask is about. **Absent = every camera**, which is what a
20694
+ * rule with no `conditions.devices` means: it can fire anywhere, so it is
20695
+ * asking everywhere.
20696
+ */
20697
+ deviceId: number().int().nonnegative().optional(),
20698
+ /** Seconds of history the rule needs held for it. Never zero — a rule that
20699
+ * needs nothing produces no ask at all. */
20700
+ seconds: number().min(0).max(60),
20701
+ /** The profile the rule cuts from, when it named one. Absent = the cheapest
20702
+ * assigned, which is what the cut defaults to. */
20703
+ profile: CamProfileSchema.optional(),
20704
+ /** Who is asking — so a retention the operator did not expect names a rule. */
20705
+ ruleId: string(),
20706
+ ruleName: string(),
20707
+ /** Why this many seconds: the rule's own window, or the occupancy ceiling. */
20708
+ reason: _enum(["window", "occupancy"])
20709
+ });
20710
+ /**
20711
+ * The whole answer, with the one bit that keeps absence from reading as zero.
20712
+ *
20713
+ * `rulesLoaded` is false until the rule ledger has completed a load at least
20714
+ * once. A centre that is up but has not read its rules yet answers with an
20715
+ * empty ask list that means nothing at all — applying it would drop every
20716
+ * camera's ring to zero for the first events after a restart, which is the
20717
+ * footage this mechanism exists to keep.
20718
+ */
20719
+ var NcClipRetentionPlanSchema = object({
20720
+ rulesLoaded: boolean(),
20721
+ asks: array(NcClipRetentionAskSchema).readonly()
20722
+ });
20666
20723
  var notificationRulesCapability = {
20667
20724
  name: "notification-rules",
20668
20725
  scope: "system",
@@ -20695,6 +20752,23 @@ var notificationRulesCapability = {
20695
20752
  auth: "admin"
20696
20753
  }),
20697
20754
  /**
20755
+ * WHAT THE RULES ACTUALLY ASK the stream broker to retain, per camera.
20756
+ *
20757
+ * The notification centre owns the rules, so it is the only thing that can
20758
+ * say how much history a camera's notifications will ever reach back for.
20759
+ * Before this the broker guessed — a flat minute on every camera — and
20760
+ * learned the PROFILE reactively, after the first clip had already been cut
20761
+ * from the wrong one. This is the same ask stated once, in front.
20762
+ *
20763
+ * A QUERY, pulled by each node's broker, not a push: brokers are per node
20764
+ * (a camera's ring lives wherever its stream is ingested) while this cap is
20765
+ * a singleton, so a push would have to enumerate the cluster. The pull also
20766
+ * makes the failure mode right — a broker that cannot reach the centre
20767
+ * keeps the plan it has, and a plan that has never arrived is UNKNOWN
20768
+ * rather than empty (D49: a read that fails changes nothing).
20769
+ */
20770
+ getClipRetentionAsks: method(object({}), NcClipRetentionPlanSchema, { auth: "admin" }),
20771
+ /**
20698
20772
  * PERMANENT per-camera mute — the notifications half of the per-camera
20699
20773
  * function switch group ([D61](../../../../docs/decisions/adr-0067.md)).
20700
20774
  *
@@ -23573,6 +23647,33 @@ var RunReplayFrameProcessorResultSchema = object({ tracks: array(object({
23573
23647
  * solid is this track", cheaper than re-deriving it from a trajectory. */
23574
23648
  framesMatched: number().int()
23575
23649
  })).readonly() });
23650
+ /**
23651
+ * The long-term series a camera produces. A closed union so a typo cannot
23652
+ * invent one, and the ONE declaration of it — the addon's `AnalyticsLtsSeries`
23653
+ * is an alias of this, not a second list.
23654
+ */
23655
+ var AnalyticsLtsSeriesSchema = _enum([
23656
+ "motion",
23657
+ "audio-dbfs",
23658
+ "battery",
23659
+ "occupancy"
23660
+ ]);
23661
+ /**
23662
+ * One closed 5-minute bucket of a long-term series.
23663
+ *
23664
+ * `samples` is how many readings the bucket folded — it is the ACTIVITY for a
23665
+ * series like `motion`, and the confidence for one like `occupancy`. A bucket
23666
+ * that exists at all was measured; a bucket that is absent was not, which is a
23667
+ * different claim from zero and the reason this is a sparse series.
23668
+ */
23669
+ var LtsBucketSchema = object({
23670
+ scope: string(),
23671
+ bucketStart: number().int(),
23672
+ samples: number().int().nonnegative(),
23673
+ sum: number(),
23674
+ min: number(),
23675
+ max: number()
23676
+ });
23576
23677
  var pipelineAnalyticsCapability = {
23577
23678
  name: "pipeline-analytics",
23578
23679
  scope: "device",
@@ -23716,6 +23817,30 @@ var pipelineAnalyticsCapability = {
23716
23817
  getKeyEventsBatch: method(KeyEventBatchQueryInput, array(KeyEventsForDeviceSchema).readonly()),
23717
23818
  /** Server-side bucketed event counts for the 24-hour timeline.
23718
23819
  * Returns one entry per non-empty bucket; empty buckets are omitted. */
23820
+ /**
23821
+ * Read one camera's long-term series — 5-minute buckets, kept for a year.
23822
+ *
23823
+ * This is the history surface for every chart that used to be served from a
23824
+ * RAM ring: the ring dies with the process, cannot answer about last night,
23825
+ * and had a 60-minute horizon, while these rows are ~60 bytes and already
23826
+ * written. `scope` is the series' own dimension — for `occupancy`, spell it
23827
+ * with {@link occupancyScope} rather than by hand, and omit it to get every
23828
+ * scope back at once (the caller then groups with
23829
+ * {@link parseOccupancyScope}).
23830
+ *
23831
+ * Bounds are inclusive on the BUCKET START, so a range that ends mid-bucket
23832
+ * still returns the bucket it lands in — the alternative is a chart whose
23833
+ * last column silently disappears for five minutes out of every five.
23834
+ */
23835
+ readLongTermSeries: method(object({
23836
+ deviceId: number(),
23837
+ series: AnalyticsLtsSeriesSchema,
23838
+ /** Omit for EVERY scope of this series in the range. */
23839
+ scope: string().optional(),
23840
+ from: number(),
23841
+ to: number(),
23842
+ limit: number().int().positive().optional()
23843
+ }), array(LtsBucketSchema).readonly()),
23719
23844
  getEventDensity: method(object({
23720
23845
  deviceId: number(),
23721
23846
  since: number(),
@@ -24857,6 +24982,14 @@ var MotionSourceEnum = _enum([
24857
24982
  */
24858
24983
  var MotionSourcesSchema = array(MotionSourceEnum);
24859
24984
  /**
24985
+ * Which root detectors a camera runs. Deliberately the SAME vocabulary
24986
+ * post-analysis already tags every detection with (`DetectionSource`) rather
24987
+ * than a second spelling of the same two ideas — the value an operator picks
24988
+ * here is the value that comes back on the track, the overlay and the debug
24989
+ * row.
24990
+ */
24991
+ var DetectionSourcesSchema = array(DetectionSourceSchema);
24992
+ /**
24860
24993
  * Input shape for `pipeline-runner.reportMotion` cap method. Exported
24861
24994
  * so cap-side consumers (the orchestrator forward, the runner addon's
24862
24995
  * cap implementation, tests) can reuse the type instead of redeclaring
@@ -25007,6 +25140,35 @@ var RunnerCameraConfigSchema = object({
25007
25140
  * events; the orchestrator forwards to `reportMotion`.
25008
25141
  */
25009
25142
  motionSources: MotionSourcesSchema.default(["analyzer"]),
25143
+ /**
25144
+ * WHICH root detector runs for this camera. The detection counterpart of
25145
+ * {@link motionSources}, same shape and same discipline: a per-camera list
25146
+ * of sources the system understands, vendor-agnostic, owned here.
25147
+ *
25148
+ * - `pipeline` — this runner's own root step on decoded pixels (`steps`).
25149
+ * - `onboard` — the CAMERA's own detector, admitted only when it is named
25150
+ * here. Its boxes reach post-analysis on the same
25151
+ * `PipelineInferenceResult` payload as the pipeline's, so an onboard-born
25152
+ * track gets the same tracker, the same overlay and the same detail
25153
+ * subtree (face / plate / embedding).
25154
+ *
25155
+ * `['onboard']` alone is the REPLACEMENT: this runner's root step does not
25156
+ * run, and that is where a camera with a usable onboard detector buys back
25157
+ * its share of the accelerator. It saves the root inference, not the decode
25158
+ * — the detail subtree still needs pixels to cut crops from.
25159
+ *
25160
+ * A camera whose onboard detections carry no geometry cannot serve as a root
25161
+ * step at all (there is nothing to track), and the cap that knows this says
25162
+ * so on `native-object-detection.getOptions().geometry`. On Reolink that is
25163
+ * every battery camera: the boxes ride a sub-stream a battery camera never
25164
+ * attaches, so such a camera stays on `['pipeline']` and its onboard AI is
25165
+ * worth exactly what it already is — a wake signal with a class.
25166
+ *
25167
+ * Defaults to `['pipeline']`, which is byte-for-byte today's behaviour: a
25168
+ * vendor never turns a detector on for the operator, and neither does a
25169
+ * default.
25170
+ */
25171
+ detectionSources: DetectionSourcesSchema.default(["pipeline"]),
25010
25172
  pipelineEnabled: boolean().default(true),
25011
25173
  /** Ordered tree of video steps. Absent → runner skips video detection. */
25012
25174
  steps: array(PipelineStepInputSchema).readonly().optional(),
@@ -25202,6 +25364,18 @@ var RunnerLocalMetricsSchema = object({
25202
25364
  * runner has zero knowledge of other agents, no global state, and never
25203
25365
  * makes assignment decisions itself.
25204
25366
  */
25367
+ /**
25368
+ * Why a runner declined to look at a camera out of band. Named rather than a
25369
+ * bare `false`: a camera asleep on battery (D173), one attached elsewhere, one
25370
+ * already mid-session and one already bursting are four different facts, and a
25371
+ * caller told only "no" cannot tell a protection from a bug.
25372
+ */
25373
+ var OccupancyBurstRefusalSchema = _enum([
25374
+ "not-attached",
25375
+ "battery-asleep",
25376
+ "not-watching",
25377
+ "already-bursting"
25378
+ ]);
25205
25379
  var pipelineRunnerCapability = {
25206
25380
  name: "pipeline-runner",
25207
25381
  scope: "system",
@@ -25238,6 +25412,50 @@ var pipelineRunnerCapability = {
25238
25412
  /** List the deviceIds currently attached to this runner. */
25239
25413
  getLocalCameras: method(_void(), array(number()).readonly()),
25240
25414
  /**
25415
+ * Look at a camera NOW, out of band, because something just happened that
25416
+ * only a fresh look can settle.
25417
+ *
25418
+ * The periodic recheck (`occupancyRecheckSec`, 300 s) exists to watch a
25419
+ * still scene. It is the wrong instrument for a QUESTION that has just been
25420
+ * asked: on device 617 a parked car's departure was observed, a departure
25421
+ * strike was armed — and then the motion session ended, the strike decayed
25422
+ * after its 30 s TTL, and the next periodic look arrived up to five minutes
25423
+ * later with nothing left to confirm. Every one of those departures was
25424
+ * settled by the entry ageing out 6 to 10 minutes of observed time later,
25425
+ * and the notification's clip showed an empty space with nothing leaving
25426
+ * it.
25427
+ *
25428
+ * Two numbers make the ask specific, and a caller that ignores them wastes
25429
+ * the burst: a confirmation must land at least
25430
+ * `DEPARTURE_CONFIRM_MIN_GAP_MS` (3 s) after the read that armed the
25431
+ * strike — before that it is the same optical event and is refused — and
25432
+ * `DEPARTURE_ABSENCE_MIN_READS` (5) consecutive unassociated frames are
25433
+ * needed, while `occupancyRecheckFrames` defaults to FOUR. A burst of four
25434
+ * can never confirm an absence; that is why two periodic looks were always
25435
+ * required.
25436
+ *
25437
+ * The runner answers whether it actually started one. A refusal is NAMED,
25438
+ * never a silent `false`: a camera that is asleep on battery (D173 — this
25439
+ * must not become a self-initiated wake), detached, mid-session or already
25440
+ * bursting are four different facts, and a caller told only "no" cannot
25441
+ * tell a protection from a bug.
25442
+ */
25443
+ requestOccupancyBurst: method(object({
25444
+ deviceId: number(),
25445
+ /** How many frames to collect. The caller sizes this against what its
25446
+ * own confirmation needs; the runner clamps it to the field's range. */
25447
+ frames: number().int().positive().optional(),
25448
+ /** Why, for the log. A burst nobody can attribute is a cost nobody can
25449
+ * defend — the periodic one at least has a timer to point at. */
25450
+ reason: string()
25451
+ }), object({
25452
+ started: boolean(),
25453
+ refusedBecause: OccupancyBurstRefusalSchema.optional()
25454
+ }), {
25455
+ auth: "admin",
25456
+ kind: "mutation"
25457
+ }),
25458
+ /**
25241
25459
  * Best-effort NATIVE-resolution crop of a retention-ring frame. Given the
25242
25460
  * `FrameHandle` that rode an inference-result event and a normalized `bbox`,
25243
25461
  * the runner asks the decode worker still holding that frame's NATIVE
@@ -33656,11 +33874,46 @@ var NativeObjectDetectionStatusSchema = object({
33656
33874
  supportedClasses: array(NativeObjectClassEnum).readonly(),
33657
33875
  /**
33658
33876
  * Whether forwarding of onboard AI detections is enabled for this device.
33659
- * Default FALSE (opt-in, cold-start) — onboard AI pushes are noisy/sparse and
33660
- * churn the tracker, so forwarding stays off until the operator enables it.
33877
+ *
33878
+ * Cold-start OFF on every camera. A vendor does not decide which detector a
33879
+ * camera runs — that is the operator's choice, and it is made where every
33880
+ * other detection choice is made. `geometry` on
33881
+ * {@link NativeObjectDetectionOptionsSchema} is how the form says what the
33882
+ * choice would buy this particular camera.
33661
33883
  */
33662
33884
  enabled: boolean()
33663
33885
  });
33886
+ /**
33887
+ * WHEN a camera's onboard detections carry geometry.
33888
+ *
33889
+ * - `boxed` — always. The provider holds a standing channel for the boxes, so
33890
+ * a detection is a trackable subject whenever the camera sees one.
33891
+ * - `while-streaming` — only while some stream of this camera is already open.
33892
+ * The boxes ride the video's own side-channel rather than a feed of their
33893
+ * own, so they cost nothing and they exist only when something is pulling.
33894
+ * On Reolink this is every BATTERY camera: a persistent second feed is real
33895
+ * radio drain, but a camera that is awake is awake precisely because
33896
+ * something is in front of it, and its stream is already being pulled.
33897
+ * - `flag-only` — never. The firmware ships the class and nothing else; the
33898
+ * pipeline needs geometry to make a subject, so such a push reaches the
33899
+ * tracker as motion and no further.
33900
+ *
33901
+ * Reported and not inferred, because the operator's question in front of the
33902
+ * picker is "what do I get", and these are three different answers (D14: the
33903
+ * derived form is only as honest as `getOptions`).
33904
+ */
33905
+ var NativeObjectGeometryEnum = _enum([
33906
+ "boxed",
33907
+ "while-streaming",
33908
+ "flag-only"
33909
+ ]);
33910
+ var NativeObjectDetectionOptionsSchema = object({
33911
+ /** Classes this firmware can detect — the same list the status reports. */
33912
+ supportedClasses: array(NativeObjectClassEnum).readonly(),
33913
+ /** What a detection from this camera carries. */
33914
+ geometry: NativeObjectGeometryEnum
33915
+ });
33916
+ var NativeObjectDetectionSettingsPatchSchema = object({ enabled: boolean().optional() });
33664
33917
  var NativeObjectDetectionRuntimeStateSchema = NativeObjectDetectionStatusSchema.extend({
33665
33918
  /** Required by createRuntimeStateBridge — epoch ms of last refresh. */
33666
33919
  lastFetchedAt: number() });
@@ -33670,13 +33923,23 @@ var nativeObjectDetectionCapability = {
33670
33923
  deviceNative: true,
33671
33924
  mode: "singleton",
33672
33925
  deviceTypes: [DeviceType.Camera],
33673
- methods: { setEnabled: method(object({
33674
- deviceId: number(),
33675
- enabled: boolean()
33676
- }), _void(), {
33677
- kind: "mutation",
33678
- auth: "admin"
33679
- }) },
33926
+ methods: {
33927
+ getOptions: method(object({ deviceId: number() }), NativeObjectDetectionOptionsSchema),
33928
+ setSettings: method(object({
33929
+ deviceId: number(),
33930
+ settings: NativeObjectDetectionSettingsPatchSchema
33931
+ }), _void(), {
33932
+ kind: "mutation",
33933
+ auth: "admin"
33934
+ }),
33935
+ setEnabled: method(object({
33936
+ deviceId: number(),
33937
+ enabled: boolean()
33938
+ }), _void(), {
33939
+ kind: "mutation",
33940
+ auth: "admin"
33941
+ })
33942
+ },
33680
33943
  events: { onDetected: { data: object({
33681
33944
  deviceId: number(),
33682
33945
  detection: NativeDetectionSchema
@@ -39138,7 +39401,28 @@ var PerScopeBreakdownSchema = object({
39138
39401
  /** Total tracked objects in this scope (frame / zone / unzoned). */
39139
39402
  totalObjects: number().int().nonnegative(),
39140
39403
  /** Per-class count. Keys are macro class names (e.g. `person`, `car`). */
39141
- byClass: record(string(), number().int().nonnegative())
39404
+ byClass: record(string(), number().int().nonnegative()),
39405
+ /**
39406
+ * Of `totalObjects`, how many are STANDING — objects the census holds,
39407
+ * present but not going anywhere (a parked car, a bin, a statue).
39408
+ *
39409
+ * The operator's question about a scene has two halves and they answer
39410
+ * different things: "what is parked here" is stable for hours and must not
39411
+ * flap, while "who is walking through" is the thing an alert is about. One
39412
+ * number could only serve one of them, and `totalObjects` served the first
39413
+ * badly — a passer-by moved it and every occupancy rule saw a change.
39414
+ *
39415
+ * `standing + transient === totalObjects`, always. The total keeps its old
39416
+ * meaning exactly, so no rule written against it changes behaviour.
39417
+ *
39418
+ * ABSENT means UNKNOWN, never zero (D393): a snapshot from a node older than
39419
+ * this field cannot say, and a reader that folds absence in as 0 reports "no
39420
+ * parked objects here" about a camera whose lot is full.
39421
+ */
39422
+ standingObjects: number().int().nonnegative().optional(),
39423
+ /** Of `totalObjects`, how many are passing through. See `standingObjects` —
39424
+ * same absence rule. */
39425
+ transientObjects: number().int().nonnegative().optional()
39142
39426
  });
39143
39427
  var ZoneScopeBreakdownSchema = PerScopeBreakdownSchema.extend({
39144
39428
  zoneId: string(),
@@ -39261,6 +39545,23 @@ var HistoryPointSchema = object({
39261
39545
  * triple covers the three spatial scopes (per-zone, frame-wide,
39262
39546
  * outside-any-zone). Crossing them with `className?` gives the full
39263
39547
  * combinatorial coverage the operator UI requested.
39548
+ *
39549
+ * ## ⚠️ The three history methods are DEPRECATED
39550
+ *
39551
+ * They are served from a 60-MINUTE in-memory ring. It dies with the process,
39552
+ * so after a restart they report nothing about a night that did happen, and any
39553
+ * window past an hour is silently clamped — a caller cannot tell a clamp from
39554
+ * an empty scene. The presets in the occupancy chart existed to hide that
39555
+ * horizon rather than to answer a question.
39556
+ *
39557
+ * Use `pipelineAnalytics.readLongTermSeries({ series: 'occupancy', scope })`
39558
+ * instead. Those rows are already written for every camera, ~60 bytes per
39559
+ * (camera, scope, 5-minute bucket), kept for a year, and survive a restart.
39560
+ * Spell the scope with `occupancyScope(zoneId?, className?)` — the same
39561
+ * function the writer uses, so the two cannot drift.
39562
+ *
39563
+ * The ring stays until these three go, and it is the only thing left reading
39564
+ * it. Do not add a fourth caller.
39264
39565
  */
39265
39566
  var zoneAnalyticsCapability = {
39266
39567
  name: "zone-analytics",
@@ -42425,12 +42726,24 @@ Object.freeze({
42425
42726
  addonId: null,
42426
42727
  access: "create"
42427
42728
  },
42729
+ "nativeObjectDetection.getOptions": {
42730
+ capName: "native-object-detection",
42731
+ capScope: "device",
42732
+ addonId: null,
42733
+ access: "view"
42734
+ },
42428
42735
  "nativeObjectDetection.setEnabled": {
42429
42736
  capName: "native-object-detection",
42430
42737
  capScope: "device",
42431
42738
  addonId: null,
42432
42739
  access: "create"
42433
42740
  },
42741
+ "nativeObjectDetection.setSettings": {
42742
+ capName: "native-object-detection",
42743
+ capScope: "device",
42744
+ addonId: null,
42745
+ access: "create"
42746
+ },
42434
42747
  "navigation.getFeatures": {
42435
42748
  capName: "navigation",
42436
42749
  capScope: "device",
@@ -42695,6 +43008,12 @@ Object.freeze({
42695
43008
  addonId: null,
42696
43009
  access: "view"
42697
43010
  },
43011
+ "notificationRules.getClipRetentionAsks": {
43012
+ capName: "notification-rules",
43013
+ capScope: "system",
43014
+ addonId: null,
43015
+ access: "view"
43016
+ },
42698
43017
  "notificationRules.getConditionCatalog": {
42699
43018
  capName: "notification-rules",
42700
43019
  capScope: "system",
@@ -43205,6 +43524,12 @@ Object.freeze({
43205
43524
  addonId: null,
43206
43525
  access: "create"
43207
43526
  },
43527
+ "pipelineAnalytics.readLongTermSeries": {
43528
+ capName: "pipeline-analytics",
43529
+ capScope: "device",
43530
+ addonId: null,
43531
+ access: "view"
43532
+ },
43208
43533
  "pipelineAnalytics.rebuildObjectEmbeddings": {
43209
43534
  capName: "pipeline-analytics",
43210
43535
  capScope: "device",
@@ -43877,6 +44202,12 @@ Object.freeze({
43877
44202
  addonId: null,
43878
44203
  access: "create"
43879
44204
  },
44205
+ "pipelineRunner.requestOccupancyBurst": {
44206
+ capName: "pipeline-runner",
44207
+ capScope: "system",
44208
+ addonId: null,
44209
+ access: "create"
44210
+ },
43880
44211
  "pipelineRunner.runDetailSubtree": {
43881
44212
  capName: "pipeline-runner",
43882
44213
  capScope: "system",
@@ -46657,11 +46988,21 @@ Object.freeze({
46657
46988
  form: "single",
46658
46989
  optional: false
46659
46990
  }],
46991
+ "nativeObjectDetection.getOptions": [{
46992
+ name: "deviceId",
46993
+ form: "single",
46994
+ optional: false
46995
+ }],
46660
46996
  "nativeObjectDetection.setEnabled": [{
46661
46997
  name: "deviceId",
46662
46998
  form: "single",
46663
46999
  optional: false
46664
47000
  }],
47001
+ "nativeObjectDetection.setSettings": [{
47002
+ name: "deviceId",
47003
+ form: "single",
47004
+ optional: false
47005
+ }],
46665
47006
  "navigation.getFeatures": [{
46666
47007
  name: "deviceId",
46667
47008
  form: "single",
@@ -47011,6 +47352,11 @@ Object.freeze({
47011
47352
  form: "single",
47012
47353
  optional: false
47013
47354
  }],
47355
+ "pipelineAnalytics.readLongTermSeries": [{
47356
+ name: "deviceId",
47357
+ form: "single",
47358
+ optional: false
47359
+ }],
47014
47360
  "pipelineAnalytics.rebuildObjectEmbeddings": [{
47015
47361
  name: "deviceId",
47016
47362
  form: "single",
@@ -47201,6 +47547,11 @@ Object.freeze({
47201
47547
  form: "single",
47202
47548
  optional: false
47203
47549
  }],
47550
+ "pipelineRunner.requestOccupancyBurst": [{
47551
+ name: "deviceId",
47552
+ form: "single",
47553
+ optional: false
47554
+ }],
47204
47555
  "pipelineRunner.runDetailSubtree": [{
47205
47556
  name: "deviceId",
47206
47557
  form: "single",
@@ -1,5 +1,5 @@
1
1
  import { h as e, l as t, u as n, y as r } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react__loadShare__.js-Bs1t18EM.mjs";
2
- import { o as i, s as a } from "./responsive-CREvujgj.mjs";
2
+ import { o as i, s as a } from "./responsive-DmRkhonW.mjs";
3
3
  import { n as o, r as s, t as c } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-DalfdIDw.mjs";
4
4
  var l = a("chevron-down", [["path", {
5
5
  d: "m6 9 6 6 6-6",
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-m9QQayT8.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-DJ2oo3wz.mjs";
2
2
  export { t as get, e as init };
@@ -1,6 +1,6 @@
1
1
  import { c as e, g as t, h as n, l as r, n as i, p as a, r as o, t as s, u as c, y as l } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react__loadShare__.js-Bs1t18EM.mjs";
2
2
  import "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-DalfdIDw.mjs";
3
- import { n as u } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BR1kX9U-.mjs";
3
+ import { n as u } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Dc2jiuWZ.mjs";
4
4
  //#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js
5
5
  l();
6
6
  var d = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), f = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), p = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), m = (e) => {
@@ -1,4 +1,4 @@
1
- import { s as e } from "./responsive-CREvujgj.mjs";
1
+ import { s as e } from "./responsive-DmRkhonW.mjs";
2
2
  var t = e("eye-off", [
3
3
  ["path", {
4
4
  d: "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",
@@ -1,4 +1,4 @@
1
- import { s as e } from "./responsive-CREvujgj.mjs";
1
+ import { s as e } from "./responsive-DmRkhonW.mjs";
2
2
  var t = e("trash-2", [
3
3
  ["path", {
4
4
  d: "M10 11v6",
@@ -1,5 +1,5 @@
1
1
  import { c as e, h as t, p as n, y as r } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react__loadShare__.js-Bs1t18EM.mjs";
2
- import { s as i } from "./responsive-CREvujgj.mjs";
2
+ import { s as i } from "./responsive-DmRkhonW.mjs";
3
3
  var a = i("camera", [["path", {
4
4
  d: "M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",
5
5
  key: "18u6gg"
@@ -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-ZjOQCsZZ.mjs")).catch((e) => {
2756
+ return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-CDVsNfKC.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.99",
3
+ "version": "0.1.100",
4
4
  "description": "Binds camera on-screen-display slots to live state and recognitions",
5
5
  "keywords": [
6
6
  "camstack",
@@ -76,7 +76,7 @@
76
76
  "dev:page": "vite -c vite.page.config.ts",
77
77
  "typecheck": "tsc --noEmit",
78
78
  "test": "vitest run",
79
- "publish": "npm publish --access public"
79
+ "publish:npm": "npm publish --access public"
80
80
  },
81
81
  "peerDependencies": {
82
82
  "@camstack/types": "*",