@camstack/addon-model-studio 1.1.25 → 1.1.27
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-_-XEVHEZ.mjs → MotionZonesSettings-BKvy_Y9L.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-DhUyAvCl.mjs → PrivacyMaskSettings-Bh729EPQ.mjs} +4 -4
- package/dist/{SceneMonitorEditor-C4wYmwFS.mjs → SceneMonitorEditor-d-dzWJMK.mjs} +3 -3
- package/dist/_stub.js +10 -10
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-CMBJM9nN.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-dOm16gK9.mjs} +4 -4
- package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Wv95v7yy.mjs +26 -0
- package/dist/{hostInit-BRJspflx.mjs → hostInit-kesCVIrS.mjs} +3 -3
- package/dist/model-studio.addon.js +186 -28
- package/dist/model-studio.addon.mjs +186 -28
- package/dist/{player-overlays-BSAsJHSV.mjs → player-overlays-BkpSPnPY.mjs} +1 -1
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-C8Kdh2lc.mjs → responsive-DZrThU-M.mjs} +1 -1
- package/dist/{square-oVzM4XlH.mjs → square-DDX-uUMZ.mjs} +1 -1
- package/dist/{trash-2-CaY5pr7F.mjs → trash-2-DzEFmBBj.mjs} +1 -1
- package/dist/{use-device-snapshot-_XUfjX-Y.mjs → use-device-snapshot-Cp50R_N-.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-D9QY9xmK.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-wZwwGde8.mjs} +1 -1
- package/package.json +1 -1
- package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BORoB5aU.mjs +0 -26
|
@@ -90,7 +90,7 @@ async function downloadFile(url, destPath, onProgress) {
|
|
|
90
90
|
(0, node_util.promisify)(node_zlib.brotliCompress);
|
|
91
91
|
(0, node_util.promisify)(node_zlib.gzip);
|
|
92
92
|
//#endregion
|
|
93
|
-
//#region ../types/dist/event-category-
|
|
93
|
+
//#region ../types/dist/event-category-XfKNtfCc.mjs
|
|
94
94
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
95
95
|
EventCategory["SystemBoot"] = "system.boot";
|
|
96
96
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -107,9 +107,10 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
107
107
|
EventCategory["SystemRestartCompleted"] = "system.restart-completed";
|
|
108
108
|
/**
|
|
109
109
|
* A newer addon or server-root package version was found by the
|
|
110
|
-
* authoritative registry check. Emitted once
|
|
111
|
-
* `(
|
|
112
|
-
*
|
|
110
|
+
* authoritative registry check. Emitted once when any observed
|
|
111
|
+
* `latestVersion` changes (or a package/node first appears behind);
|
|
112
|
+
* the payload carries the full currently-available list. Repeated
|
|
113
|
+
* polling of the same latests is silent.
|
|
113
114
|
*/
|
|
114
115
|
EventCategory["UpdateAvailable"] = "update.available";
|
|
115
116
|
/**
|
|
@@ -128,6 +129,22 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
128
129
|
EventCategory["AddonInstalled"] = "addon.installed";
|
|
129
130
|
EventCategory["AddonUninstalled"] = "addon.uninstalled";
|
|
130
131
|
EventCategory["AddonCrashed"] = "addon.crashed";
|
|
132
|
+
/**
|
|
133
|
+
* A RUNNER the D6 crash circuit-breaker gave up on — terminal.
|
|
134
|
+
*
|
|
135
|
+
* `AddonCrashed` is the routine, self-healing fact ("it crashed; it is being
|
|
136
|
+
* respawned"); this is the one that never resolves itself. Emitted exactly
|
|
137
|
+
* once per trip, by `process-service.ts`, carrying the node, the runner, the
|
|
138
|
+
* addons it hosted and the crash count that tripped the breaker.
|
|
139
|
+
*
|
|
140
|
+
* It exists because a runner marked terminally `failed` used to be SILENT:
|
|
141
|
+
* on 2026-08-18 the `recorder` runner died of three unhandled ffmpeg spawn
|
|
142
|
+
* errors, the breaker stopped respawning it (correctly), `/health` kept
|
|
143
|
+
* returning 200, and fleet-wide recording was gone for 3h15 before the
|
|
144
|
+
* operator's phone told him. The Notification Center's system-event intake
|
|
145
|
+
* consumes this category and maps it to the `addon-crash-loop` kind.
|
|
146
|
+
*/
|
|
147
|
+
EventCategory["AddonRunnerFailed"] = "addon.runner-failed";
|
|
131
148
|
EventCategory["AddonError"] = "addon.error";
|
|
132
149
|
EventCategory["AddonPageReady"] = "addon.page-ready";
|
|
133
150
|
EventCategory["AddonWidgetReady"] = "addon.widget-ready";
|
|
@@ -7682,6 +7699,10 @@ var RecordingBandSchema = object({
|
|
|
7682
7699
|
preBufferSec: number().min(0).optional(),
|
|
7683
7700
|
postBufferSec: number().min(0).optional()
|
|
7684
7701
|
});
|
|
7702
|
+
({
|
|
7703
|
+
preBufferSec: 10,
|
|
7704
|
+
postBufferSec: 30
|
|
7705
|
+
}).postBufferSec * 1e3;
|
|
7685
7706
|
/**
|
|
7686
7707
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
7687
7708
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|
|
@@ -7729,6 +7750,12 @@ var RecordingConfigSchema = object({
|
|
|
7729
7750
|
/** DERIVED summary of `bands`, stamped by the recorder on every save.
|
|
7730
7751
|
* Authoring it has no effect — see {@link RecordingStorageModeSchema}. */
|
|
7731
7752
|
mode: RecordingStorageModeSchema.optional(),
|
|
7753
|
+
/**
|
|
7754
|
+
* Which assigned broker slots to record. Absent / empty = {@link
|
|
7755
|
+
* DEFAULT_RECORDING_PROFILES} (`high`+`low`) intersected with the
|
|
7756
|
+
* camera's currently assigned slots — never `mid` unless the operator
|
|
7757
|
+
* picks it, and never a slot the broker has not assigned.
|
|
7758
|
+
*/
|
|
7732
7759
|
profiles: array(CamProfileSchema).optional(),
|
|
7733
7760
|
segmentSeconds: number().int().positive().optional(),
|
|
7734
7761
|
/**
|
|
@@ -7809,7 +7836,11 @@ var RelocateFootageInputSchema = object({
|
|
|
7809
7836
|
profiles: array(string()).optional(),
|
|
7810
7837
|
/** Copy throttle in MB/s (default 40) — the drain is a background chore,
|
|
7811
7838
|
* never allowed to starve live writers. */
|
|
7812
|
-
throttleMbps: number().min(1).max(1e3).optional()
|
|
7839
|
+
throttleMbps: number().min(1).max(1e3).optional(),
|
|
7840
|
+
/** Move only segments whose startMs is >= this. Absent = the whole source
|
|
7841
|
+
* pile. Used when a full drain is too expensive and the operator only
|
|
7842
|
+
* wants the recent window on the new disk. */
|
|
7843
|
+
sinceMs: number().int().optional()
|
|
7813
7844
|
});
|
|
7814
7845
|
/** Internal, lease-scoped participant operation. It is intentionally separate
|
|
7815
7846
|
* from persistent recording settings: a migration never changes
|
|
@@ -14413,6 +14444,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
14413
14444
|
"node-offline",
|
|
14414
14445
|
"node-inference-unavailable",
|
|
14415
14446
|
"detection-blind",
|
|
14447
|
+
"addon-crash-loop",
|
|
14416
14448
|
"addon-update-available",
|
|
14417
14449
|
"server-update-available",
|
|
14418
14450
|
"alarm-triggered",
|
|
@@ -14420,6 +14452,9 @@ var NcSystemEventKindSchema = _enum([
|
|
|
14420
14452
|
"alarm-disarmed",
|
|
14421
14453
|
"alarm-arming",
|
|
14422
14454
|
"alarm-arm-refused",
|
|
14455
|
+
"addon-updated",
|
|
14456
|
+
"server-updated",
|
|
14457
|
+
"export-completed",
|
|
14423
14458
|
"camera-online",
|
|
14424
14459
|
"camera-offline",
|
|
14425
14460
|
"camera-disabled",
|
|
@@ -16313,13 +16348,19 @@ var RetrainStatusSchema = _enum([
|
|
|
16313
16348
|
* "never marked" from "already trained" must read `retrainStatus`.
|
|
16314
16349
|
*
|
|
16315
16350
|
* `debug` does NOT pin; it is attention, not durability.
|
|
16351
|
+
*
|
|
16352
|
+
* `favourited` IS a BOOLEAN pin (durability bit), not a retrain lifecycle.
|
|
16353
|
+
* A favourited track is skipped by retention the same way `staging` is, but
|
|
16354
|
+
* it does not enter `none|staging|trained` and has no staging budget.
|
|
16316
16355
|
*/
|
|
16317
16356
|
var TrackFlagFields = {
|
|
16318
16357
|
/** Operator marked this track as training material — i.e. `retrainStatus` is
|
|
16319
16358
|
* `'staging'`. */
|
|
16320
16359
|
markForTrain: boolean().optional(),
|
|
16321
16360
|
/** Operator marked this track for diagnostic attention. */
|
|
16322
|
-
debug: boolean().optional()
|
|
16361
|
+
debug: boolean().optional(),
|
|
16362
|
+
/** Operator favourited this track. Pins it against pruning. */
|
|
16363
|
+
favourited: boolean().optional()
|
|
16323
16364
|
};
|
|
16324
16365
|
/**
|
|
16325
16366
|
* The lifecycle field itself, on the READ surfaces only (`Track`, `KeyEvent`).
|
|
@@ -16344,6 +16385,7 @@ var TrackFlagsSchema = object({
|
|
|
16344
16385
|
trackId: string(),
|
|
16345
16386
|
markForTrain: boolean(),
|
|
16346
16387
|
debug: boolean(),
|
|
16388
|
+
favourited: boolean(),
|
|
16347
16389
|
/** The lifecycle state the boolean was derived from. Required here (unlike on
|
|
16348
16390
|
* a track row) because this shape is only ever produced by the write body,
|
|
16349
16391
|
* which always knows it — and a surface that has just written needs to render
|
|
@@ -16976,6 +17018,12 @@ var TrackCascadeCountsSchema = object({
|
|
|
16976
17018
|
/** Per-track CLIP search vectors removed (best-effort). */
|
|
16977
17019
|
embeddings: number().int()
|
|
16978
17020
|
});
|
|
17021
|
+
/** Disk-wins reconcile: media rows whose blobs are gone, then empty tracks. */
|
|
17022
|
+
var DiskReconcileCountsSchema = object({
|
|
17023
|
+
mediaDropped: number().int(),
|
|
17024
|
+
tracks: number().int(),
|
|
17025
|
+
events: number().int()
|
|
17026
|
+
});
|
|
16979
17027
|
/** Event-store footprint for one camera. */
|
|
16980
17028
|
var EventStoreDeviceFootprintSchema = object({
|
|
16981
17029
|
deviceId: number(),
|
|
@@ -17152,6 +17200,9 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
17152
17200
|
}), method(object({ deviceId: number() }), TrackCascadeCountsSchema, {
|
|
17153
17201
|
kind: "mutation",
|
|
17154
17202
|
auth: "admin"
|
|
17203
|
+
}), method(object({ deviceId: number() }), DiskReconcileCountsSchema, {
|
|
17204
|
+
kind: "mutation",
|
|
17205
|
+
auth: "admin"
|
|
17155
17206
|
}), method(object({
|
|
17156
17207
|
deviceId: number(),
|
|
17157
17208
|
trackIds: array(string()).min(1)
|
|
@@ -18662,6 +18713,24 @@ var CameraStatusDegradationSchema = object({
|
|
|
18662
18713
|
*
|
|
18663
18714
|
* See spec: `docs/superpowers/specs/2026-06-24-camera-status-aggregator-cap.md`
|
|
18664
18715
|
*/
|
|
18716
|
+
var DiskReconcileJobSchema = object({
|
|
18717
|
+
state: _enum([
|
|
18718
|
+
"idle",
|
|
18719
|
+
"running",
|
|
18720
|
+
"done",
|
|
18721
|
+
"error"
|
|
18722
|
+
]),
|
|
18723
|
+
total: number().int().nonnegative(),
|
|
18724
|
+
completed: number().int().nonnegative(),
|
|
18725
|
+
currentDeviceId: number().int().nullable(),
|
|
18726
|
+
failed: array(number().int()).readonly(),
|
|
18727
|
+
mediaDropped: number().int().nonnegative(),
|
|
18728
|
+
tracks: number().int().nonnegative(),
|
|
18729
|
+
events: number().int().nonnegative(),
|
|
18730
|
+
startedAtMs: number().int().nullable(),
|
|
18731
|
+
finishedAtMs: number().int().nullable(),
|
|
18732
|
+
error: string().nullable()
|
|
18733
|
+
});
|
|
18665
18734
|
var CameraStatusSchema = object({
|
|
18666
18735
|
deviceId: number(),
|
|
18667
18736
|
assignment: CameraAssignmentStatusSchema,
|
|
@@ -18893,7 +18962,10 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
|
|
|
18893
18962
|
}), CameraSwitchGroupSchema, {
|
|
18894
18963
|
kind: "mutation",
|
|
18895
18964
|
auth: "admin"
|
|
18896
|
-
}), method(object({ deviceId: number() }), CameraStatusSchema), method(object({ deviceIds: array(number()).optional() }), array(CameraStatusSchema).readonly()), method(_void(),
|
|
18965
|
+
}), method(object({ deviceId: number() }), CameraStatusSchema), method(object({ deviceIds: array(number()).optional() }), array(CameraStatusSchema).readonly()), method(_void(), DiskReconcileJobSchema, {
|
|
18966
|
+
kind: "mutation",
|
|
18967
|
+
auth: "admin"
|
|
18968
|
+
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" }), method(_void(), array(PipelineTemplateSchema).readonly()), method(object({
|
|
18897
18969
|
name: string(),
|
|
18898
18970
|
description: string().optional(),
|
|
18899
18971
|
config: CameraPipelineConfigSchema
|
|
@@ -19298,7 +19370,14 @@ targets: array(object({
|
|
|
19298
19370
|
"sleeping",
|
|
19299
19371
|
"unreachable",
|
|
19300
19372
|
"waking"
|
|
19301
|
-
]).nullable()
|
|
19373
|
+
]).nullable(),
|
|
19374
|
+
/** A battery camera (whatever its current state). An AWAKE battery
|
|
19375
|
+
* camera is deliberately NOT recaptured on the poll cadence — every
|
|
19376
|
+
* capture is a camera hit that would keep it out of sleep — so its
|
|
19377
|
+
* cached frame legitimately ages past the currency ceiling while
|
|
19378
|
+
* nothing is streaming. A surface must keep painting it (a fresh
|
|
19379
|
+
* frame is captured at each wake), not blank to "unavailable". */
|
|
19380
|
+
battery: boolean()
|
|
19302
19381
|
})));
|
|
19303
19382
|
/**
|
|
19304
19383
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
@@ -19959,20 +20038,6 @@ var VectorStatsResultSchema = object({
|
|
|
19959
20038
|
exact: boolean()
|
|
19960
20039
|
});
|
|
19961
20040
|
method(VectorDeclareIndexInputSchema, _void(), { kind: "mutation" }), method(VectorUpsertInputSchema, VectorUpsertResultSchema, { kind: "mutation" }), method(VectorQueryInputSchema, VectorQueryResultSchema), method(VectorGetInputSchema, VectorGetResultSchema), method(VectorDeleteInputSchema, VectorDeleteResultSchema, { kind: "mutation" }), method(VectorDeleteByFilterInputSchema, VectorDeleteResultSchema, { kind: "mutation" }), method(VectorStatsInputSchema, VectorStatsResultSchema);
|
|
19962
|
-
/**
|
|
19963
|
-
* `videoclips` — the unified, navigable-clip surface for a camera.
|
|
19964
|
-
*
|
|
19965
|
-
* A device-scoped WRAPPER cap (like `pipeline-analytics`): exactly one active
|
|
19966
|
-
* provider per device, substitutable. The DEFAULT provider (registered by
|
|
19967
|
-
* `addon-post-analysis`, `defaultActive: true`) composes the analytics event
|
|
19968
|
-
* log (markers + thumbnails) with the recorder's `getPlaybackManifest` — a clip
|
|
19969
|
-
* is a time-WINDOW over existing footage, never a separate file. A camera that
|
|
19970
|
-
* exposes NATIVE onboard clips (Reolink/Hikvision NVR) can later substitute the
|
|
19971
|
-
* wrapper provider for its device and serve its own clip catalog + URLs.
|
|
19972
|
-
*
|
|
19973
|
-
* A `Clip` is purely time-based (subtree-blind): playback resolves segments by
|
|
19974
|
-
* temporal overlap, so the API never decides `continuous` vs `events`.
|
|
19975
|
-
*/
|
|
19976
20041
|
var ClipSchema = object({
|
|
19977
20042
|
/** Opaque, provider-namespaced id. The default provider encodes the time
|
|
19978
20043
|
* window so `getClipPlayback` is self-contained (no event re-query). */
|
|
@@ -19989,8 +20054,57 @@ var ClipSchema = object({
|
|
|
19989
20054
|
startMs: number(),
|
|
19990
20055
|
endMs: number()
|
|
19991
20056
|
}),
|
|
19992
|
-
/**
|
|
19993
|
-
thumbnail
|
|
20057
|
+
/**
|
|
20058
|
+
* Lazy thumbnail URL, never inlined.
|
|
20059
|
+
*
|
|
20060
|
+
* Recording-derived clips (events-mode keep-window, and the prepared
|
|
20061
|
+
* continuous event+fragment visit) MUST use the snapshot of the **main
|
|
20062
|
+
* event of the interval** — `getEventMedia({ eventId, kind: 'snapshot' })`
|
|
20063
|
+
* of the event that owns `kind` (object > motion > audio). Do not extract
|
|
20064
|
+
* a keyframe from the recorded segments. Other providers (onboard, HKSV)
|
|
20065
|
+
* mint their own stills.
|
|
20066
|
+
*
|
|
20067
|
+
* **VOUCHED, never fabricated.** A provider emits this only for an event it
|
|
20068
|
+
* has CONFIRMED owns at least one media row (its own, or its owning track's).
|
|
20069
|
+
* Absent is meaningful — "this visit has no event still" — never "we did not
|
|
20070
|
+
* look". Stamping it from a URL template made 35% of one camera's clips point
|
|
20071
|
+
* at a 404 (device 3836, 2026-08-17: 64 of 179 clips dead, 63 of them motion).
|
|
20072
|
+
* A read that FAILS drops the claim; it never invents it.
|
|
20073
|
+
*/
|
|
20074
|
+
thumbnail: string().optional(),
|
|
20075
|
+
/**
|
|
20076
|
+
* An instant INSIDE this visit's footage, hole-safe, where a recorded still
|
|
20077
|
+
* can be decoded. Present whenever the visit came from recorded availability;
|
|
20078
|
+
* absent on a per-event padded window (there is no footage to promise).
|
|
20079
|
+
*
|
|
20080
|
+
* This is not a thumbnail and not a second byte path: it is the argument to
|
|
20081
|
+
* the recorder's existing still route. The surface — never the provider —
|
|
20082
|
+
* decides whether to use it. It is the midpoint of the visit's LONGEST
|
|
20083
|
+
* contiguous range, not of the visit: a visit spans its holes by
|
|
20084
|
+
* construction, so a naive midpoint lands in dead air.
|
|
20085
|
+
*/
|
|
20086
|
+
stillAtMs: number().optional(),
|
|
20087
|
+
/**
|
|
20088
|
+
* Analytics event ids that overlap this visit — a BOUNDED sample, newest
|
|
20089
|
+
* first within kind (object → motion → audio), capped at
|
|
20090
|
+
* {@link MAX_CLIP_EVENT_IDS}. Empty on footage-only clips.
|
|
20091
|
+
*
|
|
20092
|
+
* Bounded because it is not a payload the surface pages through: one visit on
|
|
20093
|
+
* device 615 carried 2 345 ids, and `eventIds` was 99% of a 153 KB
|
|
20094
|
+
* camera-day. Read {@link eventCount} for the true total.
|
|
20095
|
+
*/
|
|
20096
|
+
eventIds: array(string()).optional(),
|
|
20097
|
+
/** How many analytics events actually overlap this visit. Differs from
|
|
20098
|
+
* `eventIds.length` exactly when the sample was capped — so a truncated
|
|
20099
|
+
* list is never mistaken for a quiet visit. */
|
|
20100
|
+
eventCount: number().int().nonnegative().optional(),
|
|
20101
|
+
/** Intra-visit footage holes (GOP rolls, discarded segments) still shorter
|
|
20102
|
+
* than `VISIT_MERGE_GAP_MS`. Playback concatenates around them; the timeline
|
|
20103
|
+
* bar keeps showing them via `recording.getAvailability`. */
|
|
20104
|
+
holes: array(object({
|
|
20105
|
+
startMs: number(),
|
|
20106
|
+
endMs: number()
|
|
20107
|
+
})).optional()
|
|
19994
20108
|
});
|
|
19995
20109
|
var ClipPlaybackSchema = object({
|
|
19996
20110
|
/** HLS master URL through the hub data-plane (Range + token in path). */
|
|
@@ -20454,7 +20568,14 @@ var SearchResultSchema = object({
|
|
|
20454
20568
|
});
|
|
20455
20569
|
var AutoUpdateSettingsSchema = object({
|
|
20456
20570
|
channel: ChannelSchema,
|
|
20457
|
-
intervalSeconds: number()
|
|
20571
|
+
intervalSeconds: number(),
|
|
20572
|
+
/**
|
|
20573
|
+
* Cadence of the "an update exists" POLLER, in seconds. Independent of
|
|
20574
|
+
* `channel`: the poller runs while auto-apply is `off`, because being told
|
|
20575
|
+
* about a publish and installing it are different decisions. Clamped
|
|
20576
|
+
* server-side to 900 s … 604800 s; defaults to 21600 s (6 h).
|
|
20577
|
+
*/
|
|
20578
|
+
updateCheckIntervalSeconds: number()
|
|
20458
20579
|
});
|
|
20459
20580
|
var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
20460
20581
|
var RestartAddonResultSchema = unknown();
|
|
@@ -20595,7 +20716,9 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
20595
20716
|
auth: "admin"
|
|
20596
20717
|
}), method(_void(), AutoUpdateSettingsSchema, { auth: "admin" }), method(object({
|
|
20597
20718
|
channel: ChannelSchema,
|
|
20598
|
-
intervalSeconds: number().min(300).max(86400).optional()
|
|
20719
|
+
intervalSeconds: number().min(300).max(86400).optional(),
|
|
20720
|
+
/** Availability-poll cadence; see AutoUpdateSettingsSchema. */
|
|
20721
|
+
updateCheckIntervalSeconds: number().min(900).max(604800).optional()
|
|
20599
20722
|
}), unknown(), {
|
|
20600
20723
|
kind: "mutation",
|
|
20601
20724
|
auth: "admin"
|
|
@@ -24588,7 +24711,9 @@ var ExportOptionsSchema = object({
|
|
|
24588
24711
|
includeAudio: boolean(),
|
|
24589
24712
|
maxLifeMs: number().int().positive(),
|
|
24590
24713
|
deleteAfterDownload: boolean(),
|
|
24591
|
-
title: string().max(200).optional()
|
|
24714
|
+
title: string().max(200).optional(),
|
|
24715
|
+
/** Notification-output target ids to ping when this export becomes ready. */
|
|
24716
|
+
notifyTargetIds: array(string().min(1)).max(20).optional()
|
|
24592
24717
|
}).superRefine((v, ctx) => {
|
|
24593
24718
|
if (v.speed !== void 0 && v.timelapse !== void 0) ctx.addIssue({
|
|
24594
24719
|
code: ZodIssueCode.custom,
|
|
@@ -24647,10 +24772,18 @@ var ExportBytesSchema = object({
|
|
|
24647
24772
|
});
|
|
24648
24773
|
method(object({
|
|
24649
24774
|
deviceId: number(),
|
|
24650
|
-
|
|
24775
|
+
/** @deprecated Prefer `profiles`. Kept so timelapse/notifiers keep working. */
|
|
24776
|
+
profile: string().optional(),
|
|
24777
|
+
profiles: array(string()).min(1).optional(),
|
|
24651
24778
|
fromMs: number(),
|
|
24652
24779
|
toMs: number(),
|
|
24653
24780
|
options: ExportOptionsSchema
|
|
24781
|
+
}).superRefine((v, ctx) => {
|
|
24782
|
+
if ((v.profiles !== void 0 && v.profiles.length > 0 ? v.profiles : v.profile !== void 0 ? [v.profile] : []).length < 1) ctx.addIssue({
|
|
24783
|
+
code: ZodIssueCode.custom,
|
|
24784
|
+
message: "pass profiles[] (min 1) or legacy profile",
|
|
24785
|
+
path: ["profiles"]
|
|
24786
|
+
});
|
|
24654
24787
|
}), ExportRecordSchema, {
|
|
24655
24788
|
kind: "mutation",
|
|
24656
24789
|
auth: "protected"
|
|
@@ -29250,6 +29383,12 @@ Object.freeze({
|
|
|
29250
29383
|
addonId: null,
|
|
29251
29384
|
access: "create"
|
|
29252
29385
|
},
|
|
29386
|
+
"pipelineAnalytics.reconcileFromDisk": {
|
|
29387
|
+
capName: "pipeline-analytics",
|
|
29388
|
+
capScope: "device",
|
|
29389
|
+
addonId: null,
|
|
29390
|
+
access: "create"
|
|
29391
|
+
},
|
|
29253
29392
|
"pipelineAnalytics.refreshStorageLocationsForMigration": {
|
|
29254
29393
|
capName: "pipeline-analytics",
|
|
29255
29394
|
capScope: "device",
|
|
@@ -29652,6 +29791,12 @@ Object.freeze({
|
|
|
29652
29791
|
addonId: null,
|
|
29653
29792
|
access: "view"
|
|
29654
29793
|
},
|
|
29794
|
+
"pipelineOrchestrator.getReconcileFromDiskStatus": {
|
|
29795
|
+
capName: "pipeline-orchestrator",
|
|
29796
|
+
capScope: "system",
|
|
29797
|
+
addonId: null,
|
|
29798
|
+
access: "view"
|
|
29799
|
+
},
|
|
29655
29800
|
"pipelineOrchestrator.listAgentSettings": {
|
|
29656
29801
|
capName: "pipeline-orchestrator",
|
|
29657
29802
|
capScope: "system",
|
|
@@ -29676,6 +29821,12 @@ Object.freeze({
|
|
|
29676
29821
|
addonId: null,
|
|
29677
29822
|
access: "create"
|
|
29678
29823
|
},
|
|
29824
|
+
"pipelineOrchestrator.reconcileFromDisk": {
|
|
29825
|
+
capName: "pipeline-orchestrator",
|
|
29826
|
+
capScope: "system",
|
|
29827
|
+
addonId: null,
|
|
29828
|
+
access: "create"
|
|
29829
|
+
},
|
|
29679
29830
|
"pipelineOrchestrator.removeAgentSettings": {
|
|
29680
29831
|
capName: "pipeline-orchestrator",
|
|
29681
29832
|
capScope: "system",
|
|
@@ -32667,6 +32818,11 @@ Object.freeze({
|
|
|
32667
32818
|
form: "single",
|
|
32668
32819
|
optional: true
|
|
32669
32820
|
}],
|
|
32821
|
+
"pipelineAnalytics.reconcileFromDisk": [{
|
|
32822
|
+
name: "deviceId",
|
|
32823
|
+
form: "single",
|
|
32824
|
+
optional: false
|
|
32825
|
+
}],
|
|
32670
32826
|
"pipelineAnalytics.restageRetrainTrack": [{
|
|
32671
32827
|
name: "deviceId",
|
|
32672
32828
|
form: "single",
|
|
@@ -33732,6 +33888,8 @@ DEFAULT_NATIVE_LEASE_SETTINGS.budgetMb;
|
|
|
33732
33888
|
DEFAULT_NATIVE_LEASE_SETTINGS.activityMs;
|
|
33733
33889
|
DEFAULT_NATIVE_LEASE_SETTINGS.tileBudgetMb;
|
|
33734
33890
|
DEFAULT_NATIVE_LEASE_SETTINGS.admission;
|
|
33891
|
+
var MB = 1024 * 1024;
|
|
33892
|
+
1024 * MB, 3072 * MB;
|
|
33735
33893
|
//#endregion
|
|
33736
33894
|
//#region src/convert-orchestrator.ts
|
|
33737
33895
|
function supports(hw, targets) {
|