@camstack/addon-model-studio 1.1.117 → 1.1.120
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-ONStonmD.mjs → MotionZonesSettings-C1B7ek0q.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-JjT72U5m.mjs → PrivacyMaskSettings-D5Bn4NKK.mjs} +4 -4
- package/dist/{SceneMonitorEditor-Bda9WHrf.mjs → SceneMonitorEditor-BhIufhCl.mjs} +3 -3
- package/dist/_stub.js +12 -11
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-Cltoio54.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-CytTL5IK.mjs} +4 -4
- package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_sdk__loadShare__.js-CISC_XrP.mjs +25 -0
- package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-B4jedMw4.mjs +26 -0
- package/dist/addon-model-studio.css +1 -1
- package/dist/{hostInit-BPHuEeIT.mjs → hostInit-DmJ1ex4P.mjs} +3 -3
- package/dist/model-studio.addon.js +242 -18
- package/dist/model-studio.addon.mjs +242 -18
- package/dist/{player-overlays-DdeySlRR.mjs → player-overlays-0xs1Erjz.mjs} +1 -1
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-CbWjxAoZ.mjs → responsive-DPVjfYqA.mjs} +1 -1
- package/dist/{square-COPzuHgN.mjs → square-Bd-ghxRh.mjs} +1 -1
- package/dist/{trash-2-CL_ANR0b.mjs → trash-2-BVelhdRT.mjs} +1 -1
- package/dist/{use-device-snapshot-TQqx6JFy.mjs → use-device-snapshot-Bw55QpDD.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BUgegvHa.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-CCYZrGrz.mjs} +1 -1
- package/package.json +1 -1
- package/python/__pycache__/convert.cpython-314.pyc +0 -0
- package/python/__pycache__/convert_lib.cpython-312.pyc +0 -0
- package/python/__pycache__/convert_lib.cpython-314.pyc +0 -0
- package/python/__tests__/__pycache__/test_convert_lib.cpython-314.pyc +0 -0
- package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_sdk__loadShare__.js-ZNPquRb4.mjs +0 -25
- package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-nsY-xdN2.mjs +0 -26
|
@@ -523,7 +523,7 @@ async function importScryptedCatalogModel(input, deps) {
|
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
525
|
//#endregion
|
|
526
|
-
//#region ../types/dist/event-category-
|
|
526
|
+
//#region ../types/dist/event-category-DAXzJeTX.mjs
|
|
527
527
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
528
528
|
EventCategory["SystemBoot"] = "system.boot";
|
|
529
529
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -1115,7 +1115,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
1115
1115
|
* issue. Payload `PipelineAnalyticsPlateGalleryChangedPayload`.
|
|
1116
1116
|
*/
|
|
1117
1117
|
EventCategory["PipelineAnalyticsPlateGalleryChanged"] = "pipeline-analytics.plate-gallery-changed";
|
|
1118
|
-
EventCategory["FrigateLiveEvent"] = "frigate.live-event";
|
|
1119
1118
|
EventCategory["CameraStreamsProfileSlotsChanged"] = "camera-streams.onProfileSlotsChanged";
|
|
1120
1119
|
/**
|
|
1121
1120
|
* Stream-broker health watchdog. Per-broker (deviceId/profile) emission.
|
|
@@ -13146,7 +13145,7 @@ DeviceType.Camera;
|
|
|
13146
13145
|
var SourceInfoSchema = object({
|
|
13147
13146
|
/** Live dispatch key — mutable when the source system allows rename. */
|
|
13148
13147
|
id: string(),
|
|
13149
|
-
/** Source system tag — e.g. 'homeassistant' | 'reolink' | '
|
|
13148
|
+
/** Source system tag — e.g. 'homeassistant' | 'reolink' | 'onvif'. */
|
|
13150
13149
|
system: string(),
|
|
13151
13150
|
/** Immutable upstream identifier when available (HA `unique_id`, … ).
|
|
13152
13151
|
* Used to detect rename when `id` changes. */
|
|
@@ -13633,7 +13632,7 @@ method(_void(), _void(), { kind: "mutation" }), method(_void(), _void(), { kind:
|
|
|
13633
13632
|
* - `device-management.router.ts` (deleted in Phase 2)
|
|
13634
13633
|
* - `device-ops.router.ts` (compat layer — deleted; device-provider ops absorbed here)
|
|
13635
13634
|
*
|
|
13636
|
-
* All device provider addons (rtsp, onvif,
|
|
13635
|
+
* All device provider addons (rtsp, onvif, …) are hub-local: they may
|
|
13637
13636
|
* fork into separate processes but never run on remote cluster agents. Therefore:
|
|
13638
13637
|
* - No nodeId routing needed — this is a pure hub singleton.
|
|
13639
13638
|
* - The hub's DeviceRegistry is the single source of truth for all live devices.
|
|
@@ -17649,7 +17648,7 @@ var NcRuleInputSchema = object({
|
|
|
17649
17648
|
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
17650
17649
|
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
17651
17650
|
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
17652
|
-
* 30 is
|
|
17651
|
+
* 30 s is a widely shipped value for the same decision.
|
|
17653
17652
|
*
|
|
17654
17653
|
* ### What it replaces
|
|
17655
17654
|
*
|
|
@@ -19691,6 +19690,13 @@ var ZoneCrossingSchema = object({
|
|
|
19691
19690
|
/** Zone display name at crossing time (falls back to the id). */
|
|
19692
19691
|
zoneName: string().optional()
|
|
19693
19692
|
});
|
|
19693
|
+
/** One zone a box was stamped with, and how much of the BOX fell inside it. */
|
|
19694
|
+
var ZoneOverlapSchema = object({
|
|
19695
|
+
zoneId: string(),
|
|
19696
|
+
zoneName: string().optional(),
|
|
19697
|
+
/** Percentage of the BOX area inside the zone, 0–100. */
|
|
19698
|
+
overlapPct: number()
|
|
19699
|
+
});
|
|
19694
19700
|
var ObjectEventSchema = object({
|
|
19695
19701
|
...BaseEventFields,
|
|
19696
19702
|
kind: literal("object"),
|
|
@@ -19715,6 +19721,35 @@ var ObjectEventSchema = object({
|
|
|
19715
19721
|
bbox: BoundingBoxSchema.optional(),
|
|
19716
19722
|
/** Heavy JSON — omitted in slim projection. */
|
|
19717
19723
|
zones: array(string()).readonly().optional(),
|
|
19724
|
+
/**
|
|
19725
|
+
* How far inside each stamped zone the box actually was, as a percentage of
|
|
19726
|
+
* the BOX area.
|
|
19727
|
+
*
|
|
19728
|
+
* Membership alone cannot express "at least a third of it inside", which is
|
|
19729
|
+
* the bar an operator argues with — and the number already existed: the
|
|
19730
|
+
* engine computed it, the pipeline logged it, and then discarded it. It
|
|
19731
|
+
* matters most on the events that carry no track, where a rule has nothing
|
|
19732
|
+
* else to judge by.
|
|
19733
|
+
*/
|
|
19734
|
+
zoneOverlaps: array(ZoneOverlapSchema).readonly().optional(),
|
|
19735
|
+
/**
|
|
19736
|
+
* Present when this event describes a detection the TRACKER refused, so it
|
|
19737
|
+
* has no track and never will.
|
|
19738
|
+
*
|
|
19739
|
+
* A zone-scoped immediate rule asks "is there an animal in the flowerbed
|
|
19740
|
+
* NOW?"; tracking answers a different question ("is this the same subject as
|
|
19741
|
+
* before?") whose confirmation threshold presumes continuity. On 2026-09-09 a
|
|
19742
|
+
* dog at 0.7729, 100% inside a watched zone, was refused three times in six
|
|
19743
|
+
* seconds with three different candidate ids — seven analysed frames in the
|
|
19744
|
+
* window, the subject in a handful of them, metres apart — and produced no
|
|
19745
|
+
* event at all.
|
|
19746
|
+
*
|
|
19747
|
+
* It is NAMED rather than merely implied by a missing `trackId`: an event
|
|
19748
|
+
* with no track and no reason is indistinguishable from a track whose media
|
|
19749
|
+
* went missing, and a consumer that asks this one for a best shot or a
|
|
19750
|
+
* history is asking for something that never existed.
|
|
19751
|
+
*/
|
|
19752
|
+
spawnRefused: string().optional(),
|
|
19718
19753
|
/** Omitted in slim projection. */
|
|
19719
19754
|
state: TrackStateSchema.optional(),
|
|
19720
19755
|
/**
|
|
@@ -20141,7 +20176,17 @@ var EventDensityBucketSchema = object({
|
|
|
20141
20176
|
bucketStart: number(),
|
|
20142
20177
|
motion: number().int(),
|
|
20143
20178
|
object: number().int(),
|
|
20144
|
-
audio: number().int()
|
|
20179
|
+
audio: number().int(),
|
|
20180
|
+
/**
|
|
20181
|
+
* Energy-weighted mean dBFS of the audio events in this bucket — the LEVEL,
|
|
20182
|
+
* as opposed to `audio`, which is their COUNT (D431).
|
|
20183
|
+
*
|
|
20184
|
+
* ABSENT when the bucket holds no audio event. Absence means "nothing was
|
|
20185
|
+
* measured", which is not the same claim as silence, and a lane that cannot
|
|
20186
|
+
* tell them apart paints a quiet hour at full scale — which is exactly what
|
|
20187
|
+
* the count-on-a-level-meter did.
|
|
20188
|
+
*/
|
|
20189
|
+
audioDbfs: number().optional()
|
|
20145
20190
|
});
|
|
20146
20191
|
/**
|
|
20147
20192
|
* One camera's row in a `getEventDensityBatch` answer.
|
|
@@ -20788,6 +20833,60 @@ var NativeCropResultSchema = object({
|
|
|
20788
20833
|
*/
|
|
20789
20834
|
tier: _enum(["native", "ram-fullframe"]).optional()
|
|
20790
20835
|
});
|
|
20836
|
+
/**
|
|
20837
|
+
* What a PARKED frame is for — the `kind` half of the `(deviceId, trackId,
|
|
20838
|
+
* kind)` key ([D422](../../../docs/decisions/adr-0422-a-relevant-frame-is-parked-when-it-becomes-relevant.md)).
|
|
20839
|
+
*
|
|
20840
|
+
* - `keyFrame` — the track's clean best FULL frame at native width (capped by
|
|
20841
|
+
* the caller's `maxWidth`). What `keyFrame` + `keyFrameSmall` are written
|
|
20842
|
+
* from, and what the detail plane's full-frame rung cuts from.
|
|
20843
|
+
* - `thumbnail` — the best-shot subject slab: the caller's 16:9 central-square
|
|
20844
|
+
* window, cut by the runner at uncapped native resolution.
|
|
20845
|
+
*
|
|
20846
|
+
* The runner never interprets `trackId`; it is an opaque key the hub owns.
|
|
20847
|
+
*/
|
|
20848
|
+
var ParkedFrameKindSchema = _enum(["keyFrame", "thumbnail"]);
|
|
20849
|
+
/**
|
|
20850
|
+
* Why a park did NOT happen. Every one is logged on the runner with
|
|
20851
|
+
* `tags: { deviceId }` and the handle's measured age, because a handle already
|
|
20852
|
+
* gone at park time IS the defect the 150–500 ms window exists to prevent —
|
|
20853
|
+
* never a reason to retry in a loop.
|
|
20854
|
+
*
|
|
20855
|
+
* - `handle-gone` — the native surface no longer resolves this handle (never
|
|
20856
|
+
* registered, past the lease bound, or the worker released it). `detail`
|
|
20857
|
+
* carries the runner's own miss reason.
|
|
20858
|
+
* - `encode-failed` — pixels resolved and the JPEG encode threw.
|
|
20859
|
+
*/
|
|
20860
|
+
var ParkRefusalSchema = _enum(["handle-gone", "encode-failed"]);
|
|
20861
|
+
/** Answer to `parkTrackFrame` — a discriminated union, so "not parked" always names why. */
|
|
20862
|
+
var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
20863
|
+
parked: literal(true),
|
|
20864
|
+
/** The node holding the parcel — what a later retrieval must be pinned to. */
|
|
20865
|
+
nodeId: string(),
|
|
20866
|
+
width: number().int().positive(),
|
|
20867
|
+
height: number().int().positive(),
|
|
20868
|
+
/** JPEG bytes the parcel costs on the node. */
|
|
20869
|
+
bytes: number().int().nonnegative(),
|
|
20870
|
+
/** Whether this park replaced a parcel already held for the key. */
|
|
20871
|
+
replaced: boolean()
|
|
20872
|
+
}), object({
|
|
20873
|
+
parked: literal(false),
|
|
20874
|
+
nodeId: string(),
|
|
20875
|
+
reason: ParkRefusalSchema,
|
|
20876
|
+
/** Age of the handle at the park, on the runner's clock; null if unknown. */
|
|
20877
|
+
handleAgeMs: number().nullable(),
|
|
20878
|
+
detail: string().optional()
|
|
20879
|
+
})]);
|
|
20880
|
+
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
20881
|
+
var ParkedTrackFrameSchema = object({
|
|
20882
|
+
jpeg: string(),
|
|
20883
|
+
width: number().int().positive(),
|
|
20884
|
+
height: number().int().positive(),
|
|
20885
|
+
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
20886
|
+
timestamp: number(),
|
|
20887
|
+
/** When the node stored it (the node's clock). */
|
|
20888
|
+
parkedAt: number()
|
|
20889
|
+
});
|
|
20791
20890
|
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
20792
20891
|
* originating detection, in FRAME-space coordinates. Reuses
|
|
20793
20892
|
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
@@ -21177,7 +21276,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
21177
21276
|
* - `analyzer`: ML/frame-diff motion detection (motion-wasm or other
|
|
21178
21277
|
* analyzer providers) running on decoded frames in this runner.
|
|
21179
21278
|
* - `onboard`: camera-native motion pushes (Reolink Baichuan, ONVIF
|
|
21180
|
-
* analytics
|
|
21279
|
+
* analytics). The provider emits ProviderMotion
|
|
21181
21280
|
* events; the orchestrator forwards to `reportMotion`.
|
|
21182
21281
|
*/
|
|
21183
21282
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
@@ -21419,7 +21518,26 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21419
21518
|
className: string(),
|
|
21420
21519
|
/** Camera the pixels came from. Diagnostics + log tags ONLY — never routing. */
|
|
21421
21520
|
sourceDeviceId: number()
|
|
21422
|
-
}), RunStatelessStepResultSchema, { kind: "mutation" })
|
|
21521
|
+
}), RunStatelessStepResultSchema, { kind: "mutation" }), method(object({
|
|
21522
|
+
deviceId: number(),
|
|
21523
|
+
/** Opaque to the runner — the hub's track id. */
|
|
21524
|
+
trackId: string(),
|
|
21525
|
+
kind: ParkedFrameKindSchema,
|
|
21526
|
+
handle: FrameHandleSchema,
|
|
21527
|
+
/** Normalized [0,1] window to cut. `{0,0,1,1}` for a full frame. */
|
|
21528
|
+
bbox: NativeCropBboxSchema,
|
|
21529
|
+
/** Width cap for a full-frame park (the `keyFrame` native cap). */
|
|
21530
|
+
maxWidth: number().int().positive().optional(),
|
|
21531
|
+
/** The frame instant (caller's clock) — orders parks for one key. */
|
|
21532
|
+
timestamp: number()
|
|
21533
|
+
}), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
|
|
21534
|
+
deviceId: number(),
|
|
21535
|
+
trackId: string(),
|
|
21536
|
+
kind: ParkedFrameKindSchema
|
|
21537
|
+
}), ParkedTrackFrameSchema.nullable()), method(object({
|
|
21538
|
+
deviceId: number(),
|
|
21539
|
+
trackId: string()
|
|
21540
|
+
}), object({ released: number().int().nonnegative() }), { kind: "mutation" });
|
|
21423
21541
|
var CameraPipelineConfigSchema = object({
|
|
21424
21542
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
21425
21543
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -24348,7 +24466,7 @@ DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _v
|
|
|
24348
24466
|
*
|
|
24349
24467
|
* Implementations:
|
|
24350
24468
|
* - Each camera-providing addon registers this cap natively per
|
|
24351
|
-
* device (Reolink, Hikvision, RTSP,
|
|
24469
|
+
* device (Reolink, Hikvision, RTSP, ONVIF self).
|
|
24352
24470
|
* - Returns a snapshot from the persisted device config blob — no
|
|
24353
24471
|
* extra round-trip to the camera, no probing.
|
|
24354
24472
|
* - The cap is admin-only (`auth: 'admin'`) — credentials must not
|
|
@@ -25734,7 +25852,7 @@ var AvailableIntegrationTypeSchema = object({
|
|
|
25734
25852
|
* Which integration-marker cap the addon declared, so the wizard can
|
|
25735
25853
|
* branch on CAP — never on addon name. `device-adoption` integrations
|
|
25736
25854
|
* (Home Assistant, …) route through the broker step (Approach A);
|
|
25737
|
-
* `device-provider` integrations (Reolink/
|
|
25855
|
+
* `device-provider` integrations (Reolink/ONVIF) keep the
|
|
25738
25856
|
* legacy config → discovery flow.
|
|
25739
25857
|
*/
|
|
25740
25858
|
kind: _enum(["device-adoption", "device-provider"]),
|
|
@@ -28235,7 +28353,23 @@ var RecordingRangeSchema = object({
|
|
|
28235
28353
|
});
|
|
28236
28354
|
var RecordingAvailabilitySchema = object({
|
|
28237
28355
|
deviceId: number(),
|
|
28238
|
-
ranges: array(RecordingRangeSchema)
|
|
28356
|
+
ranges: array(RecordingRangeSchema),
|
|
28357
|
+
/**
|
|
28358
|
+
* Every profile this camera has footage in — not only the one `ranges`
|
|
28359
|
+
* describes (D433).
|
|
28360
|
+
*
|
|
28361
|
+
* `ranges` answers for ONE profile by design: the timeline is a single bar,
|
|
28362
|
+
* and enumerating all of them triples the directory reads for a bar that
|
|
28363
|
+
* would look identical. But the answer used to say nothing about that, so a
|
|
28364
|
+
* caller asking "what can I export?" read the single preferred profile as
|
|
28365
|
+
* the only one that exists — on this deployment every camera records `high`
|
|
28366
|
+
* AND `low`, the low tree holding 14 GB for camera 615 alone, and the export
|
|
28367
|
+
* UI could not see it.
|
|
28368
|
+
*
|
|
28369
|
+
* Cheap: it is the same shallow directory read the profile CHOICE already
|
|
28370
|
+
* makes. Ask for a specific profile's ranges with the `profile` input.
|
|
28371
|
+
*/
|
|
28372
|
+
profilesWithFootage: array(string())
|
|
28239
28373
|
});
|
|
28240
28374
|
var RecordingDaysSchema = object({
|
|
28241
28375
|
deviceId: number(),
|
|
@@ -28261,7 +28395,11 @@ var RecordingDaysSchema = object({
|
|
|
28261
28395
|
var RecordingAvailabilityForDeviceSchema = object({
|
|
28262
28396
|
deviceId: number(),
|
|
28263
28397
|
read: _enum(["read", "unreadable"]),
|
|
28264
|
-
ranges: array(RecordingRangeSchema).readonly()
|
|
28398
|
+
ranges: array(RecordingRangeSchema).readonly(),
|
|
28399
|
+
/** Same field, same meaning, as the singular answer (D433). A row that
|
|
28400
|
+
* dropped it would tell a grid caller the archive holds one profile.
|
|
28401
|
+
* Empty on an `'unreadable'` row: nobody looked. */
|
|
28402
|
+
profilesWithFootage: array(string()).readonly()
|
|
28265
28403
|
});
|
|
28266
28404
|
/**
|
|
28267
28405
|
* One camera's row in a `getDaysWithRecordingsBatch` answer. Same rule as
|
|
@@ -28291,13 +28429,31 @@ var RecordingManifestSchema = object({
|
|
|
28291
28429
|
*/
|
|
28292
28430
|
playbackEndpoints: array(string())
|
|
28293
28431
|
});
|
|
28294
|
-
/**
|
|
28295
|
-
*
|
|
28432
|
+
/**
|
|
28433
|
+
* Recording storage usage for one camera — what the ARCHIVE holds for it,
|
|
28434
|
+
* across every profile and every resolvable location on this node.
|
|
28435
|
+
*
|
|
28436
|
+
* ## Archive vs residency, which is the whole point of this shape (D418)
|
|
28437
|
+
*
|
|
28438
|
+
* `usedBytes` / `oldestMs` / `segments` are the durable hour ledger's numbers:
|
|
28439
|
+
* the same quantity `RecordingLocationUsage.usedBytes` reports for the volume
|
|
28440
|
+
* this camera writes to, so the two can be added up and compared.
|
|
28441
|
+
*
|
|
28442
|
+
* They were not always. Until D418 this row came from the recorder's in-RAM
|
|
28443
|
+
* `RecordingIndex`, which since D287 holds only the live tail plus the hours
|
|
28444
|
+
* somebody hydrated — so a hub with 1.9 TB and 3.3 days of footage reported
|
|
28445
|
+
* 60.5 GB and "oldest: three hours ago" on the same page as the volume row
|
|
28446
|
+
* that said otherwise, and two people read it as retention eating recent
|
|
28447
|
+
* footage. Residency is still reported, under `residentBytes` /
|
|
28448
|
+
* `residentOldestMs`, which answer a different question and say so.
|
|
28449
|
+
*/
|
|
28296
28450
|
var RecordingDeviceUsageSchema = object({
|
|
28297
28451
|
deviceId: number(),
|
|
28452
|
+
/** Bytes the ARCHIVE holds for this camera on this node's resolvable
|
|
28453
|
+
* recordings locations. */
|
|
28298
28454
|
usedBytes: number(),
|
|
28299
28455
|
/**
|
|
28300
|
-
* Start of this camera's OLDEST
|
|
28456
|
+
* Start of this camera's OLDEST ARCHIVED segment, across every profile and
|
|
28301
28457
|
* location — the "Oldest footage" column in Recordings → Storage, and the
|
|
28302
28458
|
* only honest answer to "is retention actually holding?" per camera.
|
|
28303
28459
|
*
|
|
@@ -28307,7 +28463,24 @@ var RecordingDeviceUsageSchema = object({
|
|
|
28307
28463
|
* (types) and the addon ship on different trains, and the addon is usually
|
|
28308
28464
|
* the later of the two.
|
|
28309
28465
|
*/
|
|
28310
|
-
oldestMs: number().nullable().optional()
|
|
28466
|
+
oldestMs: number().nullable().optional(),
|
|
28467
|
+
/** Segments the archive holds for this camera — the "M" beside `usedBytes`.
|
|
28468
|
+
* OPTIONAL for the same train-skew reason as `oldestMs`. */
|
|
28469
|
+
segments: number().optional(),
|
|
28470
|
+
/**
|
|
28471
|
+
* RESIDENCY, not the archive: bytes the recorder process currently holds in
|
|
28472
|
+
* its RAM index — the live tail plus the hours a reader hydrated.
|
|
28473
|
+
*
|
|
28474
|
+
* It answers "what can be served without touching the disk", never "how much
|
|
28475
|
+
* footage this camera has". A UI that renders it must label it as such, and
|
|
28476
|
+
* must never total it as storage. OPTIONAL: a recorder predating D418 omits
|
|
28477
|
+
* it, and so does a node whose ledger could not answer.
|
|
28478
|
+
*/
|
|
28479
|
+
residentBytes: number().optional(),
|
|
28480
|
+
/** The residency counterpart of `oldestMs` — the oldest segment currently in
|
|
28481
|
+
* RAM, which on a healthy recorder is minutes ago and means nothing about
|
|
28482
|
+
* retention. `null` = nothing resident. */
|
|
28483
|
+
residentOldestMs: number().nullable().optional()
|
|
28311
28484
|
});
|
|
28312
28485
|
/** Recording storage usage + capacity for one storage location. */
|
|
28313
28486
|
var RecordingLocationUsageSchema = object({
|
|
@@ -28345,6 +28518,17 @@ var RecordingStorageUsageSchema = object({
|
|
|
28345
28518
|
totalUsedBytes: number(),
|
|
28346
28519
|
devices: array(RecordingDeviceUsageSchema),
|
|
28347
28520
|
/**
|
|
28521
|
+
* WHERE `devices[]` came from, so an empty table is never mistaken for empty
|
|
28522
|
+
* disks (D418).
|
|
28523
|
+
*
|
|
28524
|
+
* `archive` = the durable hour ledger answered. `unavailable` = this node
|
|
28525
|
+
* declared no ledger and the recorder REFUSED rather than answering the
|
|
28526
|
+
* question with the resident index (D295 rule 3) — the rows are UNKNOWN, not
|
|
28527
|
+
* zero, and a UI must say so. OPTIONAL: a recorder predating D418 omits it,
|
|
28528
|
+
* and its rows are residency.
|
|
28529
|
+
*/
|
|
28530
|
+
devicesRead: _enum(["archive", "unavailable"]).optional(),
|
|
28531
|
+
/**
|
|
28348
28532
|
* Per-physical-volume capacity. OPTIONAL, and consumers must render the rest
|
|
28349
28533
|
* of the payload without it: the hub serves this method through a BAKED
|
|
28350
28534
|
* router, so a hub whose framework train predates a change to this array
|
|
@@ -28505,7 +28689,14 @@ var ReadWindowBytesResultSchema = discriminatedUnion("kind", [object({
|
|
|
28505
28689
|
method(object({
|
|
28506
28690
|
deviceId: number(),
|
|
28507
28691
|
fromMs: number(),
|
|
28508
|
-
toMs: number()
|
|
28692
|
+
toMs: number(),
|
|
28693
|
+
/**
|
|
28694
|
+
* Answer for THIS profile instead of the preferred one (D433). Absent
|
|
28695
|
+
* keeps the timeline's behaviour — one bar, one profile, one set of
|
|
28696
|
+
* reads. `profilesWithFootage` on the answer says what may be asked
|
|
28697
|
+
* for.
|
|
28698
|
+
*/
|
|
28699
|
+
profile: string().optional()
|
|
28509
28700
|
}), RecordingAvailabilitySchema, {
|
|
28510
28701
|
kind: "query",
|
|
28511
28702
|
auth: "protected"
|
|
@@ -34732,6 +34923,24 @@ Object.freeze({
|
|
|
34732
34923
|
addonId: null,
|
|
34733
34924
|
access: "view"
|
|
34734
34925
|
},
|
|
34926
|
+
"pipelineRunner.getParkedTrackFrame": {
|
|
34927
|
+
capName: "pipeline-runner",
|
|
34928
|
+
capScope: "system",
|
|
34929
|
+
addonId: null,
|
|
34930
|
+
access: "view"
|
|
34931
|
+
},
|
|
34932
|
+
"pipelineRunner.parkTrackFrame": {
|
|
34933
|
+
capName: "pipeline-runner",
|
|
34934
|
+
capScope: "system",
|
|
34935
|
+
addonId: null,
|
|
34936
|
+
access: "create"
|
|
34937
|
+
},
|
|
34938
|
+
"pipelineRunner.releaseParkedTrackFrames": {
|
|
34939
|
+
capName: "pipeline-runner",
|
|
34940
|
+
capScope: "system",
|
|
34941
|
+
addonId: null,
|
|
34942
|
+
access: "create"
|
|
34943
|
+
},
|
|
34735
34944
|
"pipelineRunner.reportMotion": {
|
|
34736
34945
|
capName: "pipeline-runner",
|
|
34737
34946
|
capScope: "system",
|
|
@@ -38009,6 +38218,21 @@ Object.freeze({
|
|
|
38009
38218
|
form: "single",
|
|
38010
38219
|
optional: false
|
|
38011
38220
|
}],
|
|
38221
|
+
"pipelineRunner.getParkedTrackFrame": [{
|
|
38222
|
+
name: "deviceId",
|
|
38223
|
+
form: "single",
|
|
38224
|
+
optional: false
|
|
38225
|
+
}],
|
|
38226
|
+
"pipelineRunner.parkTrackFrame": [{
|
|
38227
|
+
name: "deviceId",
|
|
38228
|
+
form: "single",
|
|
38229
|
+
optional: false
|
|
38230
|
+
}],
|
|
38231
|
+
"pipelineRunner.releaseParkedTrackFrames": [{
|
|
38232
|
+
name: "deviceId",
|
|
38233
|
+
form: "single",
|
|
38234
|
+
optional: false
|
|
38235
|
+
}],
|
|
38012
38236
|
"pipelineRunner.reportMotion": [{
|
|
38013
38237
|
name: "deviceId",
|
|
38014
38238
|
form: "single",
|
|
@@ -38700,7 +38924,7 @@ var PreviewTextField = string().max(200);
|
|
|
38700
38924
|
* Whether the notification's preview is a STILL or a short animation.
|
|
38701
38925
|
*
|
|
38702
38926
|
* The operator's ask, verbatim: *"inviato come gif o video (come per le altre
|
|
38703
|
-
* rule)"* —
|
|
38927
|
+
* rule)"* — the other rules already offer an animated preview, and a ten-hour
|
|
38704
38928
|
* night reads better as three seconds of motion than as one frame of it. Both
|
|
38705
38929
|
* modes get the SAME treatment (blurred frame, large centred title); `'gif'`
|
|
38706
38930
|
* simply applies it to a dozen frames sampled across the render and assembles
|