@camstack/addon-osd-manager 0.1.12 → 0.1.13
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-Cq0OFaxs.mjs → MotionZonesSettings-CwMz9Cx0.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-C0jj3SDp.mjs → PrivacyMaskSettings-DaxlBEoI.mjs} +4 -4
- package/dist/{SceneMonitorEditor-B25bY2v0.mjs → SceneMonitorEditor-C69fXNMq.mjs} +3 -3
- package/dist/_stub.js +10 -10
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-0Jo9Kjed.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-CYRdVNMR.mjs} +4 -4
- package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Z3m57UWf.mjs +26 -0
- package/dist/{hostInit-DjgQlNKz.mjs → hostInit-CUGZHtXF.mjs} +3 -3
- package/dist/index.js +214 -29
- package/dist/index.mjs +214 -29
- package/dist/{player-overlays-Dfe_rxmA.mjs → player-overlays-Dl1BSYhX.mjs} +1 -1
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-CWwNAY3j.mjs → responsive-DrUElvJ3.mjs} +1 -1
- package/dist/{square-ax5XLFv8.mjs → square-BO58drTM.mjs} +1 -1
- package/dist/{trash-2-CWfC2FLD.mjs → trash-2-B6gDXaAA.mjs} +1 -1
- package/dist/{use-device-snapshot-Z9dNOZFk.mjs → use-device-snapshot-BJnFhzhr.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-picNYVN2.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-BGiUcvXY.mjs} +1 -1
- package/package.json +1 -1
- package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-rUObp2Qg.mjs +0 -26
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
//#region ../types/dist/event-category-
|
|
5
|
+
//#region ../types/dist/event-category-XfKNtfCc.mjs
|
|
6
6
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
7
7
|
EventCategory["SystemBoot"] = "system.boot";
|
|
8
8
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -19,9 +19,10 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
19
19
|
EventCategory["SystemRestartCompleted"] = "system.restart-completed";
|
|
20
20
|
/**
|
|
21
21
|
* A newer addon or server-root package version was found by the
|
|
22
|
-
* authoritative registry check. Emitted once
|
|
23
|
-
* `(
|
|
24
|
-
*
|
|
22
|
+
* authoritative registry check. Emitted once when any observed
|
|
23
|
+
* `latestVersion` changes (or a package/node first appears behind);
|
|
24
|
+
* the payload carries the full currently-available list. Repeated
|
|
25
|
+
* polling of the same latests is silent.
|
|
25
26
|
*/
|
|
26
27
|
EventCategory["UpdateAvailable"] = "update.available";
|
|
27
28
|
/**
|
|
@@ -40,6 +41,22 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
40
41
|
EventCategory["AddonInstalled"] = "addon.installed";
|
|
41
42
|
EventCategory["AddonUninstalled"] = "addon.uninstalled";
|
|
42
43
|
EventCategory["AddonCrashed"] = "addon.crashed";
|
|
44
|
+
/**
|
|
45
|
+
* A RUNNER the D6 crash circuit-breaker gave up on — terminal.
|
|
46
|
+
*
|
|
47
|
+
* `AddonCrashed` is the routine, self-healing fact ("it crashed; it is being
|
|
48
|
+
* respawned"); this is the one that never resolves itself. Emitted exactly
|
|
49
|
+
* once per trip, by `process-service.ts`, carrying the node, the runner, the
|
|
50
|
+
* addons it hosted and the crash count that tripped the breaker.
|
|
51
|
+
*
|
|
52
|
+
* It exists because a runner marked terminally `failed` used to be SILENT:
|
|
53
|
+
* on 2026-08-18 the `recorder` runner died of three unhandled ffmpeg spawn
|
|
54
|
+
* errors, the breaker stopped respawning it (correctly), `/health` kept
|
|
55
|
+
* returning 200, and fleet-wide recording was gone for 3h15 before the
|
|
56
|
+
* operator's phone told him. The Notification Center's system-event intake
|
|
57
|
+
* consumes this category and maps it to the `addon-crash-loop` kind.
|
|
58
|
+
*/
|
|
59
|
+
EventCategory["AddonRunnerFailed"] = "addon.runner-failed";
|
|
43
60
|
EventCategory["AddonError"] = "addon.error";
|
|
44
61
|
EventCategory["AddonPageReady"] = "addon.page-ready";
|
|
45
62
|
EventCategory["AddonWidgetReady"] = "addon.widget-ready";
|
|
@@ -7623,6 +7640,10 @@ var RecordingBandSchema = object({
|
|
|
7623
7640
|
preBufferSec: number().min(0).optional(),
|
|
7624
7641
|
postBufferSec: number().min(0).optional()
|
|
7625
7642
|
});
|
|
7643
|
+
({
|
|
7644
|
+
preBufferSec: 10,
|
|
7645
|
+
postBufferSec: 30
|
|
7646
|
+
}).postBufferSec * 1e3;
|
|
7626
7647
|
/**
|
|
7627
7648
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
7628
7649
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|
|
@@ -7670,6 +7691,12 @@ var RecordingConfigSchema = object({
|
|
|
7670
7691
|
/** DERIVED summary of `bands`, stamped by the recorder on every save.
|
|
7671
7692
|
* Authoring it has no effect — see {@link RecordingStorageModeSchema}. */
|
|
7672
7693
|
mode: RecordingStorageModeSchema.optional(),
|
|
7694
|
+
/**
|
|
7695
|
+
* Which assigned broker slots to record. Absent / empty = {@link
|
|
7696
|
+
* DEFAULT_RECORDING_PROFILES} (`high`+`low`) intersected with the
|
|
7697
|
+
* camera's currently assigned slots — never `mid` unless the operator
|
|
7698
|
+
* picks it, and never a slot the broker has not assigned.
|
|
7699
|
+
*/
|
|
7673
7700
|
profiles: array(CamProfileSchema).optional(),
|
|
7674
7701
|
segmentSeconds: number().int().positive().optional(),
|
|
7675
7702
|
/**
|
|
@@ -7750,7 +7777,11 @@ var RelocateFootageInputSchema = object({
|
|
|
7750
7777
|
profiles: array(string()).optional(),
|
|
7751
7778
|
/** Copy throttle in MB/s (default 40) — the drain is a background chore,
|
|
7752
7779
|
* never allowed to starve live writers. */
|
|
7753
|
-
throttleMbps: number().min(1).max(1e3).optional()
|
|
7780
|
+
throttleMbps: number().min(1).max(1e3).optional(),
|
|
7781
|
+
/** Move only segments whose startMs is >= this. Absent = the whole source
|
|
7782
|
+
* pile. Used when a full drain is too expensive and the operator only
|
|
7783
|
+
* wants the recent window on the new disk. */
|
|
7784
|
+
sinceMs: number().int().optional()
|
|
7754
7785
|
});
|
|
7755
7786
|
/** Internal, lease-scoped participant operation. It is intentionally separate
|
|
7756
7787
|
* from persistent recording settings: a migration never changes
|
|
@@ -16093,6 +16124,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
16093
16124
|
"node-offline",
|
|
16094
16125
|
"node-inference-unavailable",
|
|
16095
16126
|
"detection-blind",
|
|
16127
|
+
"addon-crash-loop",
|
|
16096
16128
|
"addon-update-available",
|
|
16097
16129
|
"server-update-available",
|
|
16098
16130
|
"alarm-triggered",
|
|
@@ -16100,6 +16132,9 @@ var NcSystemEventKindSchema = _enum([
|
|
|
16100
16132
|
"alarm-disarmed",
|
|
16101
16133
|
"alarm-arming",
|
|
16102
16134
|
"alarm-arm-refused",
|
|
16135
|
+
"addon-updated",
|
|
16136
|
+
"server-updated",
|
|
16137
|
+
"export-completed",
|
|
16103
16138
|
"camera-online",
|
|
16104
16139
|
"camera-offline",
|
|
16105
16140
|
"camera-disabled",
|
|
@@ -17179,6 +17214,10 @@ var NC_CONDITION_CATALOG = [
|
|
|
17179
17214
|
value: "detection-blind",
|
|
17180
17215
|
label: "Camera detecting nothing"
|
|
17181
17216
|
},
|
|
17217
|
+
{
|
|
17218
|
+
value: "addon-crash-loop",
|
|
17219
|
+
label: "Addon stopped after repeated crashes"
|
|
17220
|
+
},
|
|
17182
17221
|
{
|
|
17183
17222
|
value: "addon-update-available",
|
|
17184
17223
|
label: "Addon update available"
|
|
@@ -17187,6 +17226,18 @@ var NC_CONDITION_CATALOG = [
|
|
|
17187
17226
|
value: "server-update-available",
|
|
17188
17227
|
label: "Server update available"
|
|
17189
17228
|
},
|
|
17229
|
+
{
|
|
17230
|
+
value: "addon-updated",
|
|
17231
|
+
label: "Addons updated"
|
|
17232
|
+
},
|
|
17233
|
+
{
|
|
17234
|
+
value: "server-updated",
|
|
17235
|
+
label: "Server updated"
|
|
17236
|
+
},
|
|
17237
|
+
{
|
|
17238
|
+
value: "export-completed",
|
|
17239
|
+
label: "Export completed"
|
|
17240
|
+
},
|
|
17190
17241
|
{
|
|
17191
17242
|
value: "alarm-arming",
|
|
17192
17243
|
label: "Alarm arming (exit delay)"
|
|
@@ -18528,13 +18579,19 @@ var RetrainStatusSchema = _enum([
|
|
|
18528
18579
|
* "never marked" from "already trained" must read `retrainStatus`.
|
|
18529
18580
|
*
|
|
18530
18581
|
* `debug` does NOT pin; it is attention, not durability.
|
|
18582
|
+
*
|
|
18583
|
+
* `favourited` IS a BOOLEAN pin (durability bit), not a retrain lifecycle.
|
|
18584
|
+
* A favourited track is skipped by retention the same way `staging` is, but
|
|
18585
|
+
* it does not enter `none|staging|trained` and has no staging budget.
|
|
18531
18586
|
*/
|
|
18532
18587
|
var TrackFlagFields = {
|
|
18533
18588
|
/** Operator marked this track as training material — i.e. `retrainStatus` is
|
|
18534
18589
|
* `'staging'`. */
|
|
18535
18590
|
markForTrain: boolean().optional(),
|
|
18536
18591
|
/** Operator marked this track for diagnostic attention. */
|
|
18537
|
-
debug: boolean().optional()
|
|
18592
|
+
debug: boolean().optional(),
|
|
18593
|
+
/** Operator favourited this track. Pins it against pruning. */
|
|
18594
|
+
favourited: boolean().optional()
|
|
18538
18595
|
};
|
|
18539
18596
|
/**
|
|
18540
18597
|
* The lifecycle field itself, on the READ surfaces only (`Track`, `KeyEvent`).
|
|
@@ -18559,6 +18616,7 @@ var TrackFlagsSchema = object({
|
|
|
18559
18616
|
trackId: string(),
|
|
18560
18617
|
markForTrain: boolean(),
|
|
18561
18618
|
debug: boolean(),
|
|
18619
|
+
favourited: boolean(),
|
|
18562
18620
|
/** The lifecycle state the boolean was derived from. Required here (unlike on
|
|
18563
18621
|
* a track row) because this shape is only ever produced by the write body,
|
|
18564
18622
|
* which always knows it — and a surface that has just written needs to render
|
|
@@ -19191,6 +19249,12 @@ var TrackCascadeCountsSchema = object({
|
|
|
19191
19249
|
/** Per-track CLIP search vectors removed (best-effort). */
|
|
19192
19250
|
embeddings: number().int()
|
|
19193
19251
|
});
|
|
19252
|
+
/** Disk-wins reconcile: media rows whose blobs are gone, then empty tracks. */
|
|
19253
|
+
var DiskReconcileCountsSchema = object({
|
|
19254
|
+
mediaDropped: number().int(),
|
|
19255
|
+
tracks: number().int(),
|
|
19256
|
+
events: number().int()
|
|
19257
|
+
});
|
|
19194
19258
|
/** Event-store footprint for one camera. */
|
|
19195
19259
|
var EventStoreDeviceFootprintSchema = object({
|
|
19196
19260
|
deviceId: number(),
|
|
@@ -19476,6 +19540,17 @@ var pipelineAnalyticsCapability = {
|
|
|
19476
19540
|
auth: "admin"
|
|
19477
19541
|
}),
|
|
19478
19542
|
/**
|
|
19543
|
+
* Disk-wins reconcile for one camera. Drops media index rows whose blobs
|
|
19544
|
+
* are gone, then cascades tracks (including favourited and staging) that
|
|
19545
|
+
* have no remaining files. Enrolled identity/vehicle/scene media is never
|
|
19546
|
+
* probed. Trackless motion/audio events with no remaining file are dropped,
|
|
19547
|
+
* including snapshot-less rows.
|
|
19548
|
+
*/
|
|
19549
|
+
reconcileFromDisk: method(object({ deviceId: number() }), DiskReconcileCountsSchema, {
|
|
19550
|
+
kind: "mutation",
|
|
19551
|
+
auth: "admin"
|
|
19552
|
+
}),
|
|
19553
|
+
/**
|
|
19479
19554
|
* Delete whole tracks (object events) by id for the given device,
|
|
19480
19555
|
* cascading their media in lockstep. Returns the number of tracks
|
|
19481
19556
|
* actually deleted plus the ids that could not be removed.
|
|
@@ -19494,7 +19569,7 @@ var pipelineAnalyticsCapability = {
|
|
|
19494
19569
|
auth: "admin"
|
|
19495
19570
|
}),
|
|
19496
19571
|
/**
|
|
19497
|
-
* Set the per-track operator flags (`markForTrain`, `debug`) on ONE track.
|
|
19572
|
+
* Set the per-track operator flags (`markForTrain`, `debug`, `favourited`) on ONE track.
|
|
19498
19573
|
* The patch is PARTIAL — an omitted key is left untouched — because the
|
|
19499
19574
|
* three surfaces that write it (admin Events grid, viewer track detail,
|
|
19500
19575
|
* viewer cluster detail) each own one toggle and must not clobber the other.
|
|
@@ -21604,6 +21679,24 @@ var CameraStatusDegradationSchema = object({
|
|
|
21604
21679
|
*
|
|
21605
21680
|
* See spec: `docs/superpowers/specs/2026-06-24-camera-status-aggregator-cap.md`
|
|
21606
21681
|
*/
|
|
21682
|
+
var DiskReconcileJobSchema = object({
|
|
21683
|
+
state: _enum([
|
|
21684
|
+
"idle",
|
|
21685
|
+
"running",
|
|
21686
|
+
"done",
|
|
21687
|
+
"error"
|
|
21688
|
+
]),
|
|
21689
|
+
total: number().int().nonnegative(),
|
|
21690
|
+
completed: number().int().nonnegative(),
|
|
21691
|
+
currentDeviceId: number().int().nullable(),
|
|
21692
|
+
failed: array(number().int()).readonly(),
|
|
21693
|
+
mediaDropped: number().int().nonnegative(),
|
|
21694
|
+
tracks: number().int().nonnegative(),
|
|
21695
|
+
events: number().int().nonnegative(),
|
|
21696
|
+
startedAtMs: number().int().nullable(),
|
|
21697
|
+
finishedAtMs: number().int().nullable(),
|
|
21698
|
+
error: string().nullable()
|
|
21699
|
+
});
|
|
21607
21700
|
var CameraStatusSchema = object({
|
|
21608
21701
|
deviceId: number(),
|
|
21609
21702
|
assignment: CameraAssignmentStatusSchema,
|
|
@@ -22140,6 +22233,18 @@ var pipelineOrchestratorCapability = {
|
|
|
22140
22233
|
* rail without issuing N parallel browser round-trips.
|
|
22141
22234
|
*/
|
|
22142
22235
|
getCameraStatuses: method(object({ deviceIds: array(number()).optional() }), array(CameraStatusSchema).readonly()),
|
|
22236
|
+
/**
|
|
22237
|
+
* Disk-wins fleet reconcile after a recordings wipe. Starts the walk in
|
|
22238
|
+
* the addon process and returns immediately with the job snapshot — the
|
|
22239
|
+
* work outlives the tRPC/UDS 60s timeout. Poll `getReconcileFromDiskStatus`.
|
|
22240
|
+
* Admin-only. Idempotent while a job is already running.
|
|
22241
|
+
*/
|
|
22242
|
+
reconcileFromDisk: method(_void(), DiskReconcileJobSchema, {
|
|
22243
|
+
kind: "mutation",
|
|
22244
|
+
auth: "admin"
|
|
22245
|
+
}),
|
|
22246
|
+
/** Snapshot of the in-flight or last disk-wins fleet reconcile. */
|
|
22247
|
+
getReconcileFromDiskStatus: method(_void(), DiskReconcileJobSchema, { auth: "admin" }),
|
|
22143
22248
|
/** List every template the operator has saved. */
|
|
22144
22249
|
listTemplates: method(_void(), array(PipelineTemplateSchema).readonly()),
|
|
22145
22250
|
/** Create a new named preset from a given CameraPipelineConfig. */
|
|
@@ -23588,20 +23693,6 @@ var vectorStoreCapability = {
|
|
|
23588
23693
|
stats: method(VectorStatsInputSchema, VectorStatsResultSchema)
|
|
23589
23694
|
}
|
|
23590
23695
|
};
|
|
23591
|
-
/**
|
|
23592
|
-
* `videoclips` — the unified, navigable-clip surface for a camera.
|
|
23593
|
-
*
|
|
23594
|
-
* A device-scoped WRAPPER cap (like `pipeline-analytics`): exactly one active
|
|
23595
|
-
* provider per device, substitutable. The DEFAULT provider (registered by
|
|
23596
|
-
* `addon-post-analysis`, `defaultActive: true`) composes the analytics event
|
|
23597
|
-
* log (markers + thumbnails) with the recorder's `getPlaybackManifest` — a clip
|
|
23598
|
-
* is a time-WINDOW over existing footage, never a separate file. A camera that
|
|
23599
|
-
* exposes NATIVE onboard clips (Reolink/Hikvision NVR) can later substitute the
|
|
23600
|
-
* wrapper provider for its device and serve its own clip catalog + URLs.
|
|
23601
|
-
*
|
|
23602
|
-
* A `Clip` is purely time-based (subtree-blind): playback resolves segments by
|
|
23603
|
-
* temporal overlap, so the API never decides `continuous` vs `events`.
|
|
23604
|
-
*/
|
|
23605
23696
|
var ClipSchema = object({
|
|
23606
23697
|
/** Opaque, provider-namespaced id. The default provider encodes the time
|
|
23607
23698
|
* window so `getClipPlayback` is self-contained (no event re-query). */
|
|
@@ -23618,8 +23709,57 @@ var ClipSchema = object({
|
|
|
23618
23709
|
startMs: number(),
|
|
23619
23710
|
endMs: number()
|
|
23620
23711
|
}),
|
|
23621
|
-
/**
|
|
23622
|
-
thumbnail
|
|
23712
|
+
/**
|
|
23713
|
+
* Lazy thumbnail URL, never inlined.
|
|
23714
|
+
*
|
|
23715
|
+
* Recording-derived clips (events-mode keep-window, and the prepared
|
|
23716
|
+
* continuous event+fragment visit) MUST use the snapshot of the **main
|
|
23717
|
+
* event of the interval** — `getEventMedia({ eventId, kind: 'snapshot' })`
|
|
23718
|
+
* of the event that owns `kind` (object > motion > audio). Do not extract
|
|
23719
|
+
* a keyframe from the recorded segments. Other providers (onboard, HKSV)
|
|
23720
|
+
* mint their own stills.
|
|
23721
|
+
*
|
|
23722
|
+
* **VOUCHED, never fabricated.** A provider emits this only for an event it
|
|
23723
|
+
* has CONFIRMED owns at least one media row (its own, or its owning track's).
|
|
23724
|
+
* Absent is meaningful — "this visit has no event still" — never "we did not
|
|
23725
|
+
* look". Stamping it from a URL template made 35% of one camera's clips point
|
|
23726
|
+
* at a 404 (device 3836, 2026-08-17: 64 of 179 clips dead, 63 of them motion).
|
|
23727
|
+
* A read that FAILS drops the claim; it never invents it.
|
|
23728
|
+
*/
|
|
23729
|
+
thumbnail: string().optional(),
|
|
23730
|
+
/**
|
|
23731
|
+
* An instant INSIDE this visit's footage, hole-safe, where a recorded still
|
|
23732
|
+
* can be decoded. Present whenever the visit came from recorded availability;
|
|
23733
|
+
* absent on a per-event padded window (there is no footage to promise).
|
|
23734
|
+
*
|
|
23735
|
+
* This is not a thumbnail and not a second byte path: it is the argument to
|
|
23736
|
+
* the recorder's existing still route. The surface — never the provider —
|
|
23737
|
+
* decides whether to use it. It is the midpoint of the visit's LONGEST
|
|
23738
|
+
* contiguous range, not of the visit: a visit spans its holes by
|
|
23739
|
+
* construction, so a naive midpoint lands in dead air.
|
|
23740
|
+
*/
|
|
23741
|
+
stillAtMs: number().optional(),
|
|
23742
|
+
/**
|
|
23743
|
+
* Analytics event ids that overlap this visit — a BOUNDED sample, newest
|
|
23744
|
+
* first within kind (object → motion → audio), capped at
|
|
23745
|
+
* {@link MAX_CLIP_EVENT_IDS}. Empty on footage-only clips.
|
|
23746
|
+
*
|
|
23747
|
+
* Bounded because it is not a payload the surface pages through: one visit on
|
|
23748
|
+
* device 615 carried 2 345 ids, and `eventIds` was 99% of a 153 KB
|
|
23749
|
+
* camera-day. Read {@link eventCount} for the true total.
|
|
23750
|
+
*/
|
|
23751
|
+
eventIds: array(string()).optional(),
|
|
23752
|
+
/** How many analytics events actually overlap this visit. Differs from
|
|
23753
|
+
* `eventIds.length` exactly when the sample was capped — so a truncated
|
|
23754
|
+
* list is never mistaken for a quiet visit. */
|
|
23755
|
+
eventCount: number().int().nonnegative().optional(),
|
|
23756
|
+
/** Intra-visit footage holes (GOP rolls, discarded segments) still shorter
|
|
23757
|
+
* than `VISIT_MERGE_GAP_MS`. Playback concatenates around them; the timeline
|
|
23758
|
+
* bar keeps showing them via `recording.getAvailability`. */
|
|
23759
|
+
holes: array(object({
|
|
23760
|
+
startMs: number(),
|
|
23761
|
+
endMs: number()
|
|
23762
|
+
})).optional()
|
|
23623
23763
|
});
|
|
23624
23764
|
var ClipPlaybackSchema = object({
|
|
23625
23765
|
/** HLS master URL through the hub data-plane (Range + token in path). */
|
|
@@ -24249,7 +24389,14 @@ var SearchResultSchema = object({
|
|
|
24249
24389
|
});
|
|
24250
24390
|
var AutoUpdateSettingsSchema = object({
|
|
24251
24391
|
channel: ChannelSchema,
|
|
24252
|
-
intervalSeconds: number()
|
|
24392
|
+
intervalSeconds: number(),
|
|
24393
|
+
/**
|
|
24394
|
+
* Cadence of the "an update exists" POLLER, in seconds. Independent of
|
|
24395
|
+
* `channel`: the poller runs while auto-apply is `off`, because being told
|
|
24396
|
+
* about a publish and installing it are different decisions. Clamped
|
|
24397
|
+
* server-side to 900 s … 604800 s; defaults to 21600 s (6 h).
|
|
24398
|
+
*/
|
|
24399
|
+
updateCheckIntervalSeconds: number()
|
|
24253
24400
|
});
|
|
24254
24401
|
var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
24255
24402
|
var RestartAddonResultSchema = unknown();
|
|
@@ -24518,7 +24665,9 @@ var addonsCapability = {
|
|
|
24518
24665
|
getAutoUpdateSettings: method(_void(), AutoUpdateSettingsSchema, { auth: "admin" }),
|
|
24519
24666
|
setAutoUpdateSettings: method(object({
|
|
24520
24667
|
channel: ChannelSchema,
|
|
24521
|
-
intervalSeconds: number().min(300).max(86400).optional()
|
|
24668
|
+
intervalSeconds: number().min(300).max(86400).optional(),
|
|
24669
|
+
/** Availability-poll cadence; see AutoUpdateSettingsSchema. */
|
|
24670
|
+
updateCheckIntervalSeconds: number().min(900).max(604800).optional()
|
|
24522
24671
|
}), unknown(), {
|
|
24523
24672
|
kind: "mutation",
|
|
24524
24673
|
auth: "admin"
|
|
@@ -30824,7 +30973,9 @@ var ExportOptionsSchema = object({
|
|
|
30824
30973
|
includeAudio: boolean(),
|
|
30825
30974
|
maxLifeMs: number().int().positive(),
|
|
30826
30975
|
deleteAfterDownload: boolean(),
|
|
30827
|
-
title: string().max(200).optional()
|
|
30976
|
+
title: string().max(200).optional(),
|
|
30977
|
+
/** Notification-output target ids to ping when this export becomes ready. */
|
|
30978
|
+
notifyTargetIds: array(string().min(1)).max(20).optional()
|
|
30828
30979
|
}).superRefine((v, ctx) => {
|
|
30829
30980
|
if (v.speed !== void 0 && v.timelapse !== void 0) ctx.addIssue({
|
|
30830
30981
|
code: ZodIssueCode.custom,
|
|
@@ -30886,14 +31037,23 @@ var recordingExportCapability = {
|
|
|
30886
31037
|
scope: "system",
|
|
30887
31038
|
mode: "singleton",
|
|
30888
31039
|
methods: {
|
|
30889
|
-
/** Queue a render of `[fromMs,toMs)` for `deviceId`/`
|
|
30890
|
-
*
|
|
31040
|
+
/** Queue a render of `[fromMs,toMs)` for `deviceId`/`profiles` (legacy
|
|
31041
|
+
* singular `profile` still accepted). Fails fast when no footage covers
|
|
31042
|
+
* the range. One job per profile; returns the first queued record. */
|
|
30891
31043
|
createExport: method(object({
|
|
30892
31044
|
deviceId: number(),
|
|
30893
|
-
|
|
31045
|
+
/** @deprecated Prefer `profiles`. Kept so timelapse/notifiers keep working. */
|
|
31046
|
+
profile: string().optional(),
|
|
31047
|
+
profiles: array(string()).min(1).optional(),
|
|
30894
31048
|
fromMs: number(),
|
|
30895
31049
|
toMs: number(),
|
|
30896
31050
|
options: ExportOptionsSchema
|
|
31051
|
+
}).superRefine((v, ctx) => {
|
|
31052
|
+
if ((v.profiles !== void 0 && v.profiles.length > 0 ? v.profiles : v.profile !== void 0 ? [v.profile] : []).length < 1) ctx.addIssue({
|
|
31053
|
+
code: ZodIssueCode.custom,
|
|
31054
|
+
message: "pass profiles[] (min 1) or legacy profile",
|
|
31055
|
+
path: ["profiles"]
|
|
31056
|
+
});
|
|
30897
31057
|
}), ExportRecordSchema, {
|
|
30898
31058
|
kind: "mutation",
|
|
30899
31059
|
auth: "protected"
|
|
@@ -36451,6 +36611,12 @@ Object.freeze({
|
|
|
36451
36611
|
addonId: null,
|
|
36452
36612
|
access: "create"
|
|
36453
36613
|
},
|
|
36614
|
+
"pipelineAnalytics.reconcileFromDisk": {
|
|
36615
|
+
capName: "pipeline-analytics",
|
|
36616
|
+
capScope: "device",
|
|
36617
|
+
addonId: null,
|
|
36618
|
+
access: "create"
|
|
36619
|
+
},
|
|
36454
36620
|
"pipelineAnalytics.refreshStorageLocationsForMigration": {
|
|
36455
36621
|
capName: "pipeline-analytics",
|
|
36456
36622
|
capScope: "device",
|
|
@@ -36853,6 +37019,12 @@ Object.freeze({
|
|
|
36853
37019
|
addonId: null,
|
|
36854
37020
|
access: "view"
|
|
36855
37021
|
},
|
|
37022
|
+
"pipelineOrchestrator.getReconcileFromDiskStatus": {
|
|
37023
|
+
capName: "pipeline-orchestrator",
|
|
37024
|
+
capScope: "system",
|
|
37025
|
+
addonId: null,
|
|
37026
|
+
access: "view"
|
|
37027
|
+
},
|
|
36856
37028
|
"pipelineOrchestrator.listAgentSettings": {
|
|
36857
37029
|
capName: "pipeline-orchestrator",
|
|
36858
37030
|
capScope: "system",
|
|
@@ -36877,6 +37049,12 @@ Object.freeze({
|
|
|
36877
37049
|
addonId: null,
|
|
36878
37050
|
access: "create"
|
|
36879
37051
|
},
|
|
37052
|
+
"pipelineOrchestrator.reconcileFromDisk": {
|
|
37053
|
+
capName: "pipeline-orchestrator",
|
|
37054
|
+
capScope: "system",
|
|
37055
|
+
addonId: null,
|
|
37056
|
+
access: "create"
|
|
37057
|
+
},
|
|
36880
37058
|
"pipelineOrchestrator.removeAgentSettings": {
|
|
36881
37059
|
capName: "pipeline-orchestrator",
|
|
36882
37060
|
capScope: "system",
|
|
@@ -39868,6 +40046,11 @@ Object.freeze({
|
|
|
39868
40046
|
form: "single",
|
|
39869
40047
|
optional: true
|
|
39870
40048
|
}],
|
|
40049
|
+
"pipelineAnalytics.reconcileFromDisk": [{
|
|
40050
|
+
name: "deviceId",
|
|
40051
|
+
form: "single",
|
|
40052
|
+
optional: false
|
|
40053
|
+
}],
|
|
39871
40054
|
"pipelineAnalytics.restageRetrainTrack": [{
|
|
39872
40055
|
name: "deviceId",
|
|
39873
40056
|
form: "single",
|
|
@@ -40993,6 +41176,8 @@ DEFAULT_NATIVE_LEASE_SETTINGS.budgetMb;
|
|
|
40993
41176
|
DEFAULT_NATIVE_LEASE_SETTINGS.activityMs;
|
|
40994
41177
|
DEFAULT_NATIVE_LEASE_SETTINGS.tileBudgetMb;
|
|
40995
41178
|
DEFAULT_NATIVE_LEASE_SETTINGS.admission;
|
|
41179
|
+
var MB = 1024 * 1024;
|
|
41180
|
+
1024 * MB, 3072 * MB;
|
|
40996
41181
|
//#endregion
|
|
40997
41182
|
//#region src/bindings-store.ts
|
|
40998
41183
|
/**
|