@camstack/addon-osd-manager 0.1.87 → 0.1.90
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/{MotionZonesSettings-CTeumHLO.mjs → MotionZonesSettings-CpZBRWm5.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-fdjNIqKO.mjs → PrivacyMaskSettings-Tl9QmM7H.mjs} +4 -4
- package/dist/{SceneMonitorEditor-B2J48DBP.mjs → SceneMonitorEditor-BVeDOkRJ.mjs} +3 -3
- package/dist/_stub.js +11 -11
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-C6TKqht-.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-mVEk22g7.mjs} +4 -4
- package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_sdk__loadShare__.js-B_4MkXHU.mjs +25 -0
- package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-mCB-uuJD.mjs +26 -0
- package/dist/addon-osd-manager.css +1 -1
- package/dist/{hostInit-B-ZY3KOE.mjs → hostInit-Dy2SVBdp.mjs} +3 -3
- package/dist/index.js +278 -20
- package/dist/index.mjs +278 -20
- package/dist/{player-overlays-NTelJ6s9.mjs → player-overlays-DlFy1Vd1.mjs} +1 -1
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-su-j7vCi.mjs → responsive-Bu9A8Rdp.mjs} +1 -1
- package/dist/{square-C6ZCvrTe.mjs → square-e8perRQ-.mjs} +1 -1
- package/dist/{trash-2-Co_YN77y.mjs → trash-2-C2VSW2kV.mjs} +1 -1
- package/dist/{use-device-snapshot-BAK2bXGM.mjs → use-device-snapshot-BO5IPkxL.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-i9Bjc5m5.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-B8bHCFNK.mjs} +1 -1
- package/package.json +1 -1
- package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_sdk__loadShare__.js-plrwWXXt.mjs +0 -25
- package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-uewjKOcg.mjs +0 -26
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../types/dist/event-category-
|
|
1
|
+
//#region ../types/dist/event-category-DAXzJeTX.mjs
|
|
2
2
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
3
3
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4
4
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -590,7 +590,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
590
590
|
* issue. Payload `PipelineAnalyticsPlateGalleryChangedPayload`.
|
|
591
591
|
*/
|
|
592
592
|
EventCategory["PipelineAnalyticsPlateGalleryChanged"] = "pipeline-analytics.plate-gallery-changed";
|
|
593
|
-
EventCategory["FrigateLiveEvent"] = "frigate.live-event";
|
|
594
593
|
EventCategory["CameraStreamsProfileSlotsChanged"] = "camera-streams.onProfileSlotsChanged";
|
|
595
594
|
/**
|
|
596
595
|
* Stream-broker health watchdog. Per-broker (deviceId/profile) emission.
|
|
@@ -13713,7 +13712,7 @@ var detectionPipelineCapability = {
|
|
|
13713
13712
|
var SourceInfoSchema = object({
|
|
13714
13713
|
/** Live dispatch key — mutable when the source system allows rename. */
|
|
13715
13714
|
id: string(),
|
|
13716
|
-
/** Source system tag — e.g. 'homeassistant' | 'reolink' | '
|
|
13715
|
+
/** Source system tag — e.g. 'homeassistant' | 'reolink' | 'onvif'. */
|
|
13717
13716
|
system: string(),
|
|
13718
13717
|
/** Immutable upstream identifier when available (HA `unique_id`, … ).
|
|
13719
13718
|
* Used to detect rename when `id` changes. */
|
|
@@ -14370,7 +14369,7 @@ var deviceProviderCapability = {
|
|
|
14370
14369
|
* - `device-management.router.ts` (deleted in Phase 2)
|
|
14371
14370
|
* - `device-ops.router.ts` (compat layer — deleted; device-provider ops absorbed here)
|
|
14372
14371
|
*
|
|
14373
|
-
* All device provider addons (rtsp, onvif,
|
|
14372
|
+
* All device provider addons (rtsp, onvif, …) are hub-local: they may
|
|
14374
14373
|
* fork into separate processes but never run on remote cluster agents. Therefore:
|
|
14375
14374
|
* - No nodeId routing needed — this is a pure hub singleton.
|
|
14376
14375
|
* - The hub's DeviceRegistry is the single source of truth for all live devices.
|
|
@@ -19288,7 +19287,7 @@ var NcRuleInputSchema = object({
|
|
|
19288
19287
|
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
19289
19288
|
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
19290
19289
|
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
19291
|
-
* 30 is
|
|
19290
|
+
* 30 s is a widely shipped value for the same decision.
|
|
19292
19291
|
*
|
|
19293
19292
|
* ### What it replaces
|
|
19294
19293
|
*
|
|
@@ -22129,6 +22128,13 @@ var ZoneCrossingSchema = object({
|
|
|
22129
22128
|
/** Zone display name at crossing time (falls back to the id). */
|
|
22130
22129
|
zoneName: string().optional()
|
|
22131
22130
|
});
|
|
22131
|
+
/** One zone a box was stamped with, and how much of the BOX fell inside it. */
|
|
22132
|
+
var ZoneOverlapSchema = object({
|
|
22133
|
+
zoneId: string(),
|
|
22134
|
+
zoneName: string().optional(),
|
|
22135
|
+
/** Percentage of the BOX area inside the zone, 0–100. */
|
|
22136
|
+
overlapPct: number()
|
|
22137
|
+
});
|
|
22132
22138
|
var ObjectEventSchema = object({
|
|
22133
22139
|
...BaseEventFields,
|
|
22134
22140
|
kind: literal("object"),
|
|
@@ -22153,6 +22159,35 @@ var ObjectEventSchema = object({
|
|
|
22153
22159
|
bbox: BoundingBoxSchema.optional(),
|
|
22154
22160
|
/** Heavy JSON — omitted in slim projection. */
|
|
22155
22161
|
zones: array(string()).readonly().optional(),
|
|
22162
|
+
/**
|
|
22163
|
+
* How far inside each stamped zone the box actually was, as a percentage of
|
|
22164
|
+
* the BOX area.
|
|
22165
|
+
*
|
|
22166
|
+
* Membership alone cannot express "at least a third of it inside", which is
|
|
22167
|
+
* the bar an operator argues with — and the number already existed: the
|
|
22168
|
+
* engine computed it, the pipeline logged it, and then discarded it. It
|
|
22169
|
+
* matters most on the events that carry no track, where a rule has nothing
|
|
22170
|
+
* else to judge by.
|
|
22171
|
+
*/
|
|
22172
|
+
zoneOverlaps: array(ZoneOverlapSchema).readonly().optional(),
|
|
22173
|
+
/**
|
|
22174
|
+
* Present when this event describes a detection the TRACKER refused, so it
|
|
22175
|
+
* has no track and never will.
|
|
22176
|
+
*
|
|
22177
|
+
* A zone-scoped immediate rule asks "is there an animal in the flowerbed
|
|
22178
|
+
* NOW?"; tracking answers a different question ("is this the same subject as
|
|
22179
|
+
* before?") whose confirmation threshold presumes continuity. On 2026-09-09 a
|
|
22180
|
+
* dog at 0.7729, 100% inside a watched zone, was refused three times in six
|
|
22181
|
+
* seconds with three different candidate ids — seven analysed frames in the
|
|
22182
|
+
* window, the subject in a handful of them, metres apart — and produced no
|
|
22183
|
+
* event at all.
|
|
22184
|
+
*
|
|
22185
|
+
* It is NAMED rather than merely implied by a missing `trackId`: an event
|
|
22186
|
+
* with no track and no reason is indistinguishable from a track whose media
|
|
22187
|
+
* went missing, and a consumer that asks this one for a best shot or a
|
|
22188
|
+
* history is asking for something that never existed.
|
|
22189
|
+
*/
|
|
22190
|
+
spawnRefused: string().optional(),
|
|
22156
22191
|
/** Omitted in slim projection. */
|
|
22157
22192
|
state: TrackStateSchema.optional(),
|
|
22158
22193
|
/**
|
|
@@ -22579,7 +22614,17 @@ var EventDensityBucketSchema = object({
|
|
|
22579
22614
|
bucketStart: number(),
|
|
22580
22615
|
motion: number().int(),
|
|
22581
22616
|
object: number().int(),
|
|
22582
|
-
audio: number().int()
|
|
22617
|
+
audio: number().int(),
|
|
22618
|
+
/**
|
|
22619
|
+
* Energy-weighted mean dBFS of the audio events in this bucket — the LEVEL,
|
|
22620
|
+
* as opposed to `audio`, which is their COUNT (D431).
|
|
22621
|
+
*
|
|
22622
|
+
* ABSENT when the bucket holds no audio event. Absence means "nothing was
|
|
22623
|
+
* measured", which is not the same claim as silence, and a lane that cannot
|
|
22624
|
+
* tell them apart paints a quiet hour at full scale — which is exactly what
|
|
22625
|
+
* the count-on-a-level-meter did.
|
|
22626
|
+
*/
|
|
22627
|
+
audioDbfs: number().optional()
|
|
22583
22628
|
});
|
|
22584
22629
|
/**
|
|
22585
22630
|
* One camera's row in a `getEventDensityBatch` answer.
|
|
@@ -23821,6 +23866,60 @@ var NativeCropResultSchema = object({
|
|
|
23821
23866
|
*/
|
|
23822
23867
|
tier: _enum(["native", "ram-fullframe"]).optional()
|
|
23823
23868
|
});
|
|
23869
|
+
/**
|
|
23870
|
+
* What a PARKED frame is for — the `kind` half of the `(deviceId, trackId,
|
|
23871
|
+
* kind)` key ([D422](../../../docs/decisions/adr-0422-a-relevant-frame-is-parked-when-it-becomes-relevant.md)).
|
|
23872
|
+
*
|
|
23873
|
+
* - `keyFrame` — the track's clean best FULL frame at native width (capped by
|
|
23874
|
+
* the caller's `maxWidth`). What `keyFrame` + `keyFrameSmall` are written
|
|
23875
|
+
* from, and what the detail plane's full-frame rung cuts from.
|
|
23876
|
+
* - `thumbnail` — the best-shot subject slab: the caller's 16:9 central-square
|
|
23877
|
+
* window, cut by the runner at uncapped native resolution.
|
|
23878
|
+
*
|
|
23879
|
+
* The runner never interprets `trackId`; it is an opaque key the hub owns.
|
|
23880
|
+
*/
|
|
23881
|
+
var ParkedFrameKindSchema = _enum(["keyFrame", "thumbnail"]);
|
|
23882
|
+
/**
|
|
23883
|
+
* Why a park did NOT happen. Every one is logged on the runner with
|
|
23884
|
+
* `tags: { deviceId }` and the handle's measured age, because a handle already
|
|
23885
|
+
* gone at park time IS the defect the 150–500 ms window exists to prevent —
|
|
23886
|
+
* never a reason to retry in a loop.
|
|
23887
|
+
*
|
|
23888
|
+
* - `handle-gone` — the native surface no longer resolves this handle (never
|
|
23889
|
+
* registered, past the lease bound, or the worker released it). `detail`
|
|
23890
|
+
* carries the runner's own miss reason.
|
|
23891
|
+
* - `encode-failed` — pixels resolved and the JPEG encode threw.
|
|
23892
|
+
*/
|
|
23893
|
+
var ParkRefusalSchema = _enum(["handle-gone", "encode-failed"]);
|
|
23894
|
+
/** Answer to `parkTrackFrame` — a discriminated union, so "not parked" always names why. */
|
|
23895
|
+
var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
23896
|
+
parked: literal(true),
|
|
23897
|
+
/** The node holding the parcel — what a later retrieval must be pinned to. */
|
|
23898
|
+
nodeId: string(),
|
|
23899
|
+
width: number().int().positive(),
|
|
23900
|
+
height: number().int().positive(),
|
|
23901
|
+
/** JPEG bytes the parcel costs on the node. */
|
|
23902
|
+
bytes: number().int().nonnegative(),
|
|
23903
|
+
/** Whether this park replaced a parcel already held for the key. */
|
|
23904
|
+
replaced: boolean()
|
|
23905
|
+
}), object({
|
|
23906
|
+
parked: literal(false),
|
|
23907
|
+
nodeId: string(),
|
|
23908
|
+
reason: ParkRefusalSchema,
|
|
23909
|
+
/** Age of the handle at the park, on the runner's clock; null if unknown. */
|
|
23910
|
+
handleAgeMs: number().nullable(),
|
|
23911
|
+
detail: string().optional()
|
|
23912
|
+
})]);
|
|
23913
|
+
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
23914
|
+
var ParkedTrackFrameSchema = object({
|
|
23915
|
+
jpeg: string(),
|
|
23916
|
+
width: number().int().positive(),
|
|
23917
|
+
height: number().int().positive(),
|
|
23918
|
+
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
23919
|
+
timestamp: number(),
|
|
23920
|
+
/** When the node stored it (the node's clock). */
|
|
23921
|
+
parkedAt: number()
|
|
23922
|
+
});
|
|
23824
23923
|
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
23825
23924
|
* originating detection, in FRAME-space coordinates. Reuses
|
|
23826
23925
|
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
@@ -24210,7 +24309,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
24210
24309
|
* - `analyzer`: ML/frame-diff motion detection (motion-wasm or other
|
|
24211
24310
|
* analyzer providers) running on decoded frames in this runner.
|
|
24212
24311
|
* - `onboard`: camera-native motion pushes (Reolink Baichuan, ONVIF
|
|
24213
|
-
* analytics
|
|
24312
|
+
* analytics). The provider emits ProviderMotion
|
|
24214
24313
|
* events; the orchestrator forwards to `reportMotion`.
|
|
24215
24314
|
*/
|
|
24216
24315
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
@@ -24592,7 +24691,60 @@ var pipelineRunnerCapability = {
|
|
|
24592
24691
|
className: string(),
|
|
24593
24692
|
/** Camera the pixels came from. Diagnostics + log tags ONLY — never routing. */
|
|
24594
24693
|
sourceDeviceId: number()
|
|
24595
|
-
}), RunStatelessStepResultSchema, { kind: "mutation" })
|
|
24694
|
+
}), RunStatelessStepResultSchema, { kind: "mutation" }),
|
|
24695
|
+
/**
|
|
24696
|
+
* PARK a frame for a track at the instant it is judged to matter
|
|
24697
|
+
* ([D422](../../../docs/decisions/adr-0422-a-relevant-frame-is-parked-when-it-becomes-relevant.md)).
|
|
24698
|
+
*
|
|
24699
|
+
* The hub's `BestDetectionTracker` — the single "best per track" policy —
|
|
24700
|
+
* concludes a frame is a track's best and calls this on the node that
|
|
24701
|
+
* owns `handle` (`nodePin(handle.nodeId)`), while the handle is young. The
|
|
24702
|
+
* runner cuts `bbox` from the native surface it already holds (a full
|
|
24703
|
+
* frame for `keyFrame`, the caller's subject window for `thumbnail`),
|
|
24704
|
+
* encodes ONE JPEG, and keeps it under `(deviceId, trackId, kind)`. Every
|
|
24705
|
+
* later consumer retrieves by that key (`getParkedTrackFrame`) — a lookup
|
|
24706
|
+
* that cannot miss on age. D52 holds: the rectangle is cut by the runner,
|
|
24707
|
+
* never a pre-cut tile the caller decided. D9/D18 hold: one compressed
|
|
24708
|
+
* encode at a decision point, never a stream.
|
|
24709
|
+
*
|
|
24710
|
+
* Idempotent per `(trackId, kind)`: a later park replaces (the ranking is
|
|
24711
|
+
* the hub's; this adds no second opinion), an out-of-order older instant
|
|
24712
|
+
* is ignored. Bounded per device and per node on the runner
|
|
24713
|
+
* (`parked-frame-store.ts`), oldest-first eviction, never a refusal for
|
|
24714
|
+
* space. A refusal names its reason and is logged on the runner with the
|
|
24715
|
+
* handle's measured age — it is never retried into a loop.
|
|
24716
|
+
*/
|
|
24717
|
+
parkTrackFrame: method(object({
|
|
24718
|
+
deviceId: number(),
|
|
24719
|
+
/** Opaque to the runner — the hub's track id. */
|
|
24720
|
+
trackId: string(),
|
|
24721
|
+
kind: ParkedFrameKindSchema,
|
|
24722
|
+
handle: FrameHandleSchema,
|
|
24723
|
+
/** Normalized [0,1] window to cut. `{0,0,1,1}` for a full frame. */
|
|
24724
|
+
bbox: NativeCropBboxSchema,
|
|
24725
|
+
/** Width cap for a full-frame park (the `keyFrame` native cap). */
|
|
24726
|
+
maxWidth: number().int().positive().optional(),
|
|
24727
|
+
/** The frame instant (caller's clock) — orders parks for one key. */
|
|
24728
|
+
timestamp: number()
|
|
24729
|
+
}), ParkTrackFrameResultSchema, { kind: "mutation" }),
|
|
24730
|
+
/**
|
|
24731
|
+
* Retrieve a parked parcel by `(deviceId, trackId, kind)`. Pinned to the
|
|
24732
|
+
* node that answered the park (`ParkTrackFrameResult.nodeId`). `null` means
|
|
24733
|
+
* nothing was parked under that key on this node — never "too old".
|
|
24734
|
+
*/
|
|
24735
|
+
getParkedTrackFrame: method(object({
|
|
24736
|
+
deviceId: number(),
|
|
24737
|
+
trackId: string(),
|
|
24738
|
+
kind: ParkedFrameKindSchema
|
|
24739
|
+
}), ParkedTrackFrameSchema.nullable()),
|
|
24740
|
+
/**
|
|
24741
|
+
* Drop every parcel of a track — the hub closed it. Idempotent. A track
|
|
24742
|
+
* whose release is lost ages out on the runner under a hard ceiling.
|
|
24743
|
+
*/
|
|
24744
|
+
releaseParkedTrackFrames: method(object({
|
|
24745
|
+
deviceId: number(),
|
|
24746
|
+
trackId: string()
|
|
24747
|
+
}), object({ released: number().int().nonnegative() }), { kind: "mutation" })
|
|
24596
24748
|
}
|
|
24597
24749
|
};
|
|
24598
24750
|
var CameraPipelineConfigSchema = object({
|
|
@@ -28832,8 +28984,8 @@ onStatusChanged: { data: object({
|
|
|
28832
28984
|
/**
|
|
28833
28985
|
* Runtime-state slice — every provider that registers this cap
|
|
28834
28986
|
* stores the same shape under `device.runtimeState[battery]`.
|
|
28835
|
-
* Cross-provider uniformity: a Reolink Argus, a
|
|
28836
|
-
*
|
|
28987
|
+
* Cross-provider uniformity: a Reolink Argus, a sensor proxy,
|
|
28988
|
+
* an ONVIF battery cam all read/write the same keys.
|
|
28837
28989
|
* Consumers (BatteryBadge, snapshot wrapper sleep gate) read once
|
|
28838
28990
|
* via `device.runtimeState.getCapState('battery')` regardless of
|
|
28839
28991
|
* the underlying driver.
|
|
@@ -28983,7 +29135,7 @@ var buttonCapability = {
|
|
|
28983
29135
|
*
|
|
28984
29136
|
* Implementations:
|
|
28985
29137
|
* - Each camera-providing addon registers this cap natively per
|
|
28986
|
-
* device (Reolink, Hikvision, RTSP,
|
|
29138
|
+
* device (Reolink, Hikvision, RTSP, ONVIF self).
|
|
28987
29139
|
* - Returns a snapshot from the persisted device config blob — no
|
|
28988
29140
|
* extra round-trip to the camera, no probing.
|
|
28989
29141
|
* - The cap is admin-only (`auth: 'admin'`) — credentials must not
|
|
@@ -31156,7 +31308,7 @@ var AvailableIntegrationTypeSchema = object({
|
|
|
31156
31308
|
* Which integration-marker cap the addon declared, so the wizard can
|
|
31157
31309
|
* branch on CAP — never on addon name. `device-adoption` integrations
|
|
31158
31310
|
* (Home Assistant, …) route through the broker step (Approach A);
|
|
31159
|
-
* `device-provider` integrations (Reolink/
|
|
31311
|
+
* `device-provider` integrations (Reolink/ONVIF) keep the
|
|
31160
31312
|
* legacy config → discovery flow.
|
|
31161
31313
|
*/
|
|
31162
31314
|
kind: _enum(["device-adoption", "device-provider"]),
|
|
@@ -34977,7 +35129,23 @@ var RecordingRangeSchema = object({
|
|
|
34977
35129
|
});
|
|
34978
35130
|
var RecordingAvailabilitySchema = object({
|
|
34979
35131
|
deviceId: number(),
|
|
34980
|
-
ranges: array(RecordingRangeSchema)
|
|
35132
|
+
ranges: array(RecordingRangeSchema),
|
|
35133
|
+
/**
|
|
35134
|
+
* Every profile this camera has footage in — not only the one `ranges`
|
|
35135
|
+
* describes (D433).
|
|
35136
|
+
*
|
|
35137
|
+
* `ranges` answers for ONE profile by design: the timeline is a single bar,
|
|
35138
|
+
* and enumerating all of them triples the directory reads for a bar that
|
|
35139
|
+
* would look identical. But the answer used to say nothing about that, so a
|
|
35140
|
+
* caller asking "what can I export?" read the single preferred profile as
|
|
35141
|
+
* the only one that exists — on this deployment every camera records `high`
|
|
35142
|
+
* AND `low`, the low tree holding 14 GB for camera 615 alone, and the export
|
|
35143
|
+
* UI could not see it.
|
|
35144
|
+
*
|
|
35145
|
+
* Cheap: it is the same shallow directory read the profile CHOICE already
|
|
35146
|
+
* makes. Ask for a specific profile's ranges with the `profile` input.
|
|
35147
|
+
*/
|
|
35148
|
+
profilesWithFootage: array(string())
|
|
34981
35149
|
});
|
|
34982
35150
|
var RecordingDaysSchema = object({
|
|
34983
35151
|
deviceId: number(),
|
|
@@ -35003,7 +35171,11 @@ var RecordingDaysSchema = object({
|
|
|
35003
35171
|
var RecordingAvailabilityForDeviceSchema = object({
|
|
35004
35172
|
deviceId: number(),
|
|
35005
35173
|
read: _enum(["read", "unreadable"]),
|
|
35006
|
-
ranges: array(RecordingRangeSchema).readonly()
|
|
35174
|
+
ranges: array(RecordingRangeSchema).readonly(),
|
|
35175
|
+
/** Same field, same meaning, as the singular answer (D433). A row that
|
|
35176
|
+
* dropped it would tell a grid caller the archive holds one profile.
|
|
35177
|
+
* Empty on an `'unreadable'` row: nobody looked. */
|
|
35178
|
+
profilesWithFootage: array(string()).readonly()
|
|
35007
35179
|
});
|
|
35008
35180
|
/**
|
|
35009
35181
|
* One camera's row in a `getDaysWithRecordingsBatch` answer. Same rule as
|
|
@@ -35033,13 +35205,31 @@ var RecordingManifestSchema = object({
|
|
|
35033
35205
|
*/
|
|
35034
35206
|
playbackEndpoints: array(string())
|
|
35035
35207
|
});
|
|
35036
|
-
/**
|
|
35037
|
-
*
|
|
35208
|
+
/**
|
|
35209
|
+
* Recording storage usage for one camera — what the ARCHIVE holds for it,
|
|
35210
|
+
* across every profile and every resolvable location on this node.
|
|
35211
|
+
*
|
|
35212
|
+
* ## Archive vs residency, which is the whole point of this shape (D418)
|
|
35213
|
+
*
|
|
35214
|
+
* `usedBytes` / `oldestMs` / `segments` are the durable hour ledger's numbers:
|
|
35215
|
+
* the same quantity `RecordingLocationUsage.usedBytes` reports for the volume
|
|
35216
|
+
* this camera writes to, so the two can be added up and compared.
|
|
35217
|
+
*
|
|
35218
|
+
* They were not always. Until D418 this row came from the recorder's in-RAM
|
|
35219
|
+
* `RecordingIndex`, which since D287 holds only the live tail plus the hours
|
|
35220
|
+
* somebody hydrated — so a hub with 1.9 TB and 3.3 days of footage reported
|
|
35221
|
+
* 60.5 GB and "oldest: three hours ago" on the same page as the volume row
|
|
35222
|
+
* that said otherwise, and two people read it as retention eating recent
|
|
35223
|
+
* footage. Residency is still reported, under `residentBytes` /
|
|
35224
|
+
* `residentOldestMs`, which answer a different question and say so.
|
|
35225
|
+
*/
|
|
35038
35226
|
var RecordingDeviceUsageSchema = object({
|
|
35039
35227
|
deviceId: number(),
|
|
35228
|
+
/** Bytes the ARCHIVE holds for this camera on this node's resolvable
|
|
35229
|
+
* recordings locations. */
|
|
35040
35230
|
usedBytes: number(),
|
|
35041
35231
|
/**
|
|
35042
|
-
* Start of this camera's OLDEST
|
|
35232
|
+
* Start of this camera's OLDEST ARCHIVED segment, across every profile and
|
|
35043
35233
|
* location — the "Oldest footage" column in Recordings → Storage, and the
|
|
35044
35234
|
* only honest answer to "is retention actually holding?" per camera.
|
|
35045
35235
|
*
|
|
@@ -35049,7 +35239,24 @@ var RecordingDeviceUsageSchema = object({
|
|
|
35049
35239
|
* (types) and the addon ship on different trains, and the addon is usually
|
|
35050
35240
|
* the later of the two.
|
|
35051
35241
|
*/
|
|
35052
|
-
oldestMs: number().nullable().optional()
|
|
35242
|
+
oldestMs: number().nullable().optional(),
|
|
35243
|
+
/** Segments the archive holds for this camera — the "M" beside `usedBytes`.
|
|
35244
|
+
* OPTIONAL for the same train-skew reason as `oldestMs`. */
|
|
35245
|
+
segments: number().optional(),
|
|
35246
|
+
/**
|
|
35247
|
+
* RESIDENCY, not the archive: bytes the recorder process currently holds in
|
|
35248
|
+
* its RAM index — the live tail plus the hours a reader hydrated.
|
|
35249
|
+
*
|
|
35250
|
+
* It answers "what can be served without touching the disk", never "how much
|
|
35251
|
+
* footage this camera has". A UI that renders it must label it as such, and
|
|
35252
|
+
* must never total it as storage. OPTIONAL: a recorder predating D418 omits
|
|
35253
|
+
* it, and so does a node whose ledger could not answer.
|
|
35254
|
+
*/
|
|
35255
|
+
residentBytes: number().optional(),
|
|
35256
|
+
/** The residency counterpart of `oldestMs` — the oldest segment currently in
|
|
35257
|
+
* RAM, which on a healthy recorder is minutes ago and means nothing about
|
|
35258
|
+
* retention. `null` = nothing resident. */
|
|
35259
|
+
residentOldestMs: number().nullable().optional()
|
|
35053
35260
|
});
|
|
35054
35261
|
/** Recording storage usage + capacity for one storage location. */
|
|
35055
35262
|
var RecordingLocationUsageSchema = object({
|
|
@@ -35087,6 +35294,17 @@ var RecordingStorageUsageSchema = object({
|
|
|
35087
35294
|
totalUsedBytes: number(),
|
|
35088
35295
|
devices: array(RecordingDeviceUsageSchema),
|
|
35089
35296
|
/**
|
|
35297
|
+
* WHERE `devices[]` came from, so an empty table is never mistaken for empty
|
|
35298
|
+
* disks (D418).
|
|
35299
|
+
*
|
|
35300
|
+
* `archive` = the durable hour ledger answered. `unavailable` = this node
|
|
35301
|
+
* declared no ledger and the recorder REFUSED rather than answering the
|
|
35302
|
+
* question with the resident index (D295 rule 3) — the rows are UNKNOWN, not
|
|
35303
|
+
* zero, and a UI must say so. OPTIONAL: a recorder predating D418 omits it,
|
|
35304
|
+
* and its rows are residency.
|
|
35305
|
+
*/
|
|
35306
|
+
devicesRead: _enum(["archive", "unavailable"]).optional(),
|
|
35307
|
+
/**
|
|
35090
35308
|
* Per-physical-volume capacity. OPTIONAL, and consumers must render the rest
|
|
35091
35309
|
* of the payload without it: the hub serves this method through a BAKED
|
|
35092
35310
|
* router, so a hub whose framework train predates a change to this array
|
|
@@ -35257,7 +35475,14 @@ var recordingCapability = {
|
|
|
35257
35475
|
getAvailability: method(object({
|
|
35258
35476
|
deviceId: number(),
|
|
35259
35477
|
fromMs: number(),
|
|
35260
|
-
toMs: number()
|
|
35478
|
+
toMs: number(),
|
|
35479
|
+
/**
|
|
35480
|
+
* Answer for THIS profile instead of the preferred one (D433). Absent
|
|
35481
|
+
* keeps the timeline's behaviour — one bar, one profile, one set of
|
|
35482
|
+
* reads. `profilesWithFootage` on the answer says what may be asked
|
|
35483
|
+
* for.
|
|
35484
|
+
*/
|
|
35485
|
+
profile: string().optional()
|
|
35261
35486
|
}), RecordingAvailabilitySchema, {
|
|
35262
35487
|
kind: "query",
|
|
35263
35488
|
auth: "protected"
|
|
@@ -42744,6 +42969,24 @@ Object.freeze({
|
|
|
42744
42969
|
addonId: null,
|
|
42745
42970
|
access: "view"
|
|
42746
42971
|
},
|
|
42972
|
+
"pipelineRunner.getParkedTrackFrame": {
|
|
42973
|
+
capName: "pipeline-runner",
|
|
42974
|
+
capScope: "system",
|
|
42975
|
+
addonId: null,
|
|
42976
|
+
access: "view"
|
|
42977
|
+
},
|
|
42978
|
+
"pipelineRunner.parkTrackFrame": {
|
|
42979
|
+
capName: "pipeline-runner",
|
|
42980
|
+
capScope: "system",
|
|
42981
|
+
addonId: null,
|
|
42982
|
+
access: "create"
|
|
42983
|
+
},
|
|
42984
|
+
"pipelineRunner.releaseParkedTrackFrames": {
|
|
42985
|
+
capName: "pipeline-runner",
|
|
42986
|
+
capScope: "system",
|
|
42987
|
+
addonId: null,
|
|
42988
|
+
access: "create"
|
|
42989
|
+
},
|
|
42747
42990
|
"pipelineRunner.reportMotion": {
|
|
42748
42991
|
capName: "pipeline-runner",
|
|
42749
42992
|
capScope: "system",
|
|
@@ -46021,6 +46264,21 @@ Object.freeze({
|
|
|
46021
46264
|
form: "single",
|
|
46022
46265
|
optional: false
|
|
46023
46266
|
}],
|
|
46267
|
+
"pipelineRunner.getParkedTrackFrame": [{
|
|
46268
|
+
name: "deviceId",
|
|
46269
|
+
form: "single",
|
|
46270
|
+
optional: false
|
|
46271
|
+
}],
|
|
46272
|
+
"pipelineRunner.parkTrackFrame": [{
|
|
46273
|
+
name: "deviceId",
|
|
46274
|
+
form: "single",
|
|
46275
|
+
optional: false
|
|
46276
|
+
}],
|
|
46277
|
+
"pipelineRunner.releaseParkedTrackFrames": [{
|
|
46278
|
+
name: "deviceId",
|
|
46279
|
+
form: "single",
|
|
46280
|
+
optional: false
|
|
46281
|
+
}],
|
|
46024
46282
|
"pipelineRunner.reportMotion": [{
|
|
46025
46283
|
name: "deviceId",
|
|
46026
46284
|
form: "single",
|
|
@@ -46772,7 +47030,7 @@ var PreviewTextField = string().max(200);
|
|
|
46772
47030
|
* Whether the notification's preview is a STILL or a short animation.
|
|
46773
47031
|
*
|
|
46774
47032
|
* The operator's ask, verbatim: *"inviato come gif o video (come per le altre
|
|
46775
|
-
* rule)"* —
|
|
47033
|
+
* rule)"* — the other rules already offer an animated preview, and a ten-hour
|
|
46776
47034
|
* night reads better as three seconds of motion than as one frame of it. Both
|
|
46777
47035
|
* modes get the SAME treatment (blurred frame, large centred title); `'gif'`
|
|
46778
47036
|
* simply applies it to a dozen frames sampled across the render and assembles
|
|
@@ -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-
|
|
2
|
+
import { o as i, s as a } from "./responsive-Bu9A8Rdp.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",
|
package/dist/remoteEntry.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-
|
|
1
|
+
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-B8bHCFNK.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-
|
|
3
|
+
import { n as u } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-mCB-uuJD.mjs";
|
|
4
4
|
//#region ../ui-library/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,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-
|
|
2
|
+
import { s as i } from "./responsive-Bu9A8Rdp.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-
|
|
2756
|
+
return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-mVEk22g7.mjs")).catch((e) => {
|
|
2757
2757
|
throw tr = void 0, e;
|
|
2758
2758
|
}), tr;
|
|
2759
2759
|
}
|
package/package.json
CHANGED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
//#region \0virtual:mf:__mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_sdk__loadShare__.js
|
|
2
|
-
var e = "__mf_init__virtual:mf:__mfe_internal__addon_osd_manager_page__mf_v__runtimeInit__mf_v__.js__", t = globalThis[e];
|
|
3
|
-
if (!t) {
|
|
4
|
-
let n, r, i = new Promise((e, t) => {
|
|
5
|
-
n = e, r = t;
|
|
6
|
-
});
|
|
7
|
-
t = globalThis[e] = {
|
|
8
|
-
initPromise: i,
|
|
9
|
-
initResolve: n,
|
|
10
|
-
initReject: r
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
var n = t.initPromise, r = "__mf_module_cache__";
|
|
14
|
-
globalThis[r] ||= {
|
|
15
|
-
share: {},
|
|
16
|
-
remote: {}
|
|
17
|
-
}, globalThis[r].share ||= {}, globalThis[r].remote ||= {};
|
|
18
|
-
var i = globalThis[r], a = (e) => {
|
|
19
|
-
e.DEFAULT_ENABLED_CLASSES, e.DetectionClass, e.ELIGIBLE_HA_DOMAINS, e.ELIGIBLE_HA_DOMAINS_SET, e.ELIGIBLE_SCRYPTED_DEVICE_TYPES, e.ELIGIBLE_SCRYPTED_DEVICE_TYPES_SET, e.FEATURE_MATRIX, e.HA_DOMAIN_TYPE_MAP, e.RAW_TO_CANONICAL, e.SCRYPTED_TYPE_TO_CANONICAL, e.System, e.TIMELINE_PRESET_ALL, e.TIMELINE_PRESET_CRITICAL, e.TIMELINE_PRESET_IMPORTANT, e.animalClasses, e.audioClasses, e.audioLabelClasses, e.createSystem, e.defaultDetectionClasses, e.detectionClassesDefaultMap, e.doorbellClasses, e.faceClasses, e.getBackendRequiredFeatures, e.getCanonicalDeviceType, e.getClassesForTimelinePreset, e.getParentClass, e.getParentDetectionClass, e.getSourceFeatures, e.isAnimalClassname, e.isAudioClassname, e.isDoorbellClassname, e.isFaceClassname, e.isFeatureAvailable, e.isLabelDetection, e.isMotionClassname, e.isPackageClassname, e.isPersonClassname, e.isPlateClassname, e.isSensorLabelClassname, e.isVehicleClassname, e.licensePlateClasses, e.motionClasses, e.packageClasses, e.personClasses, e.raceFastestEndpoint, e.sensorLabelClasses, e.vehicleClasses, e.default;
|
|
20
|
-
}, o = i.share["default:@camstack/sdk"];
|
|
21
|
-
o === void 0 ? n.then(() => {
|
|
22
|
-
if (o = i.share["default:@camstack/sdk"], o === void 0) throw Error("[Module Federation] Shared module @camstack/sdk was imported before federation bootstrap finished.");
|
|
23
|
-
a(o);
|
|
24
|
-
}) : a(o);
|
|
25
|
-
//#endregion
|