@camstack/addon-model-studio 1.1.26 → 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-BKX1BsRC.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-C2PdR2S8.mjs → hostInit-kesCVIrS.mjs} +3 -3
- package/dist/model-studio.addon.js +178 -27
- package/dist/model-studio.addon.mjs +178 -27
- 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-Cfu4hnU5.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
|
|
@@ -19966,20 +20038,6 @@ var VectorStatsResultSchema = object({
|
|
|
19966
20038
|
exact: boolean()
|
|
19967
20039
|
});
|
|
19968
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);
|
|
19969
|
-
/**
|
|
19970
|
-
* `videoclips` — the unified, navigable-clip surface for a camera.
|
|
19971
|
-
*
|
|
19972
|
-
* A device-scoped WRAPPER cap (like `pipeline-analytics`): exactly one active
|
|
19973
|
-
* provider per device, substitutable. The DEFAULT provider (registered by
|
|
19974
|
-
* `addon-post-analysis`, `defaultActive: true`) composes the analytics event
|
|
19975
|
-
* log (markers + thumbnails) with the recorder's `getPlaybackManifest` — a clip
|
|
19976
|
-
* is a time-WINDOW over existing footage, never a separate file. A camera that
|
|
19977
|
-
* exposes NATIVE onboard clips (Reolink/Hikvision NVR) can later substitute the
|
|
19978
|
-
* wrapper provider for its device and serve its own clip catalog + URLs.
|
|
19979
|
-
*
|
|
19980
|
-
* A `Clip` is purely time-based (subtree-blind): playback resolves segments by
|
|
19981
|
-
* temporal overlap, so the API never decides `continuous` vs `events`.
|
|
19982
|
-
*/
|
|
19983
20041
|
var ClipSchema = object({
|
|
19984
20042
|
/** Opaque, provider-namespaced id. The default provider encodes the time
|
|
19985
20043
|
* window so `getClipPlayback` is self-contained (no event re-query). */
|
|
@@ -19996,8 +20054,57 @@ var ClipSchema = object({
|
|
|
19996
20054
|
startMs: number(),
|
|
19997
20055
|
endMs: number()
|
|
19998
20056
|
}),
|
|
19999
|
-
/**
|
|
20000
|
-
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()
|
|
20001
20108
|
});
|
|
20002
20109
|
var ClipPlaybackSchema = object({
|
|
20003
20110
|
/** HLS master URL through the hub data-plane (Range + token in path). */
|
|
@@ -20461,7 +20568,14 @@ var SearchResultSchema = object({
|
|
|
20461
20568
|
});
|
|
20462
20569
|
var AutoUpdateSettingsSchema = object({
|
|
20463
20570
|
channel: ChannelSchema,
|
|
20464
|
-
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()
|
|
20465
20579
|
});
|
|
20466
20580
|
var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
20467
20581
|
var RestartAddonResultSchema = unknown();
|
|
@@ -20602,7 +20716,9 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
20602
20716
|
auth: "admin"
|
|
20603
20717
|
}), method(_void(), AutoUpdateSettingsSchema, { auth: "admin" }), method(object({
|
|
20604
20718
|
channel: ChannelSchema,
|
|
20605
|
-
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()
|
|
20606
20722
|
}), unknown(), {
|
|
20607
20723
|
kind: "mutation",
|
|
20608
20724
|
auth: "admin"
|
|
@@ -24595,7 +24711,9 @@ var ExportOptionsSchema = object({
|
|
|
24595
24711
|
includeAudio: boolean(),
|
|
24596
24712
|
maxLifeMs: number().int().positive(),
|
|
24597
24713
|
deleteAfterDownload: boolean(),
|
|
24598
|
-
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()
|
|
24599
24717
|
}).superRefine((v, ctx) => {
|
|
24600
24718
|
if (v.speed !== void 0 && v.timelapse !== void 0) ctx.addIssue({
|
|
24601
24719
|
code: ZodIssueCode.custom,
|
|
@@ -24654,10 +24772,18 @@ var ExportBytesSchema = object({
|
|
|
24654
24772
|
});
|
|
24655
24773
|
method(object({
|
|
24656
24774
|
deviceId: number(),
|
|
24657
|
-
|
|
24775
|
+
/** @deprecated Prefer `profiles`. Kept so timelapse/notifiers keep working. */
|
|
24776
|
+
profile: string().optional(),
|
|
24777
|
+
profiles: array(string()).min(1).optional(),
|
|
24658
24778
|
fromMs: number(),
|
|
24659
24779
|
toMs: number(),
|
|
24660
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
|
+
});
|
|
24661
24787
|
}), ExportRecordSchema, {
|
|
24662
24788
|
kind: "mutation",
|
|
24663
24789
|
auth: "protected"
|
|
@@ -29257,6 +29383,12 @@ Object.freeze({
|
|
|
29257
29383
|
addonId: null,
|
|
29258
29384
|
access: "create"
|
|
29259
29385
|
},
|
|
29386
|
+
"pipelineAnalytics.reconcileFromDisk": {
|
|
29387
|
+
capName: "pipeline-analytics",
|
|
29388
|
+
capScope: "device",
|
|
29389
|
+
addonId: null,
|
|
29390
|
+
access: "create"
|
|
29391
|
+
},
|
|
29260
29392
|
"pipelineAnalytics.refreshStorageLocationsForMigration": {
|
|
29261
29393
|
capName: "pipeline-analytics",
|
|
29262
29394
|
capScope: "device",
|
|
@@ -29659,6 +29791,12 @@ Object.freeze({
|
|
|
29659
29791
|
addonId: null,
|
|
29660
29792
|
access: "view"
|
|
29661
29793
|
},
|
|
29794
|
+
"pipelineOrchestrator.getReconcileFromDiskStatus": {
|
|
29795
|
+
capName: "pipeline-orchestrator",
|
|
29796
|
+
capScope: "system",
|
|
29797
|
+
addonId: null,
|
|
29798
|
+
access: "view"
|
|
29799
|
+
},
|
|
29662
29800
|
"pipelineOrchestrator.listAgentSettings": {
|
|
29663
29801
|
capName: "pipeline-orchestrator",
|
|
29664
29802
|
capScope: "system",
|
|
@@ -29683,6 +29821,12 @@ Object.freeze({
|
|
|
29683
29821
|
addonId: null,
|
|
29684
29822
|
access: "create"
|
|
29685
29823
|
},
|
|
29824
|
+
"pipelineOrchestrator.reconcileFromDisk": {
|
|
29825
|
+
capName: "pipeline-orchestrator",
|
|
29826
|
+
capScope: "system",
|
|
29827
|
+
addonId: null,
|
|
29828
|
+
access: "create"
|
|
29829
|
+
},
|
|
29686
29830
|
"pipelineOrchestrator.removeAgentSettings": {
|
|
29687
29831
|
capName: "pipeline-orchestrator",
|
|
29688
29832
|
capScope: "system",
|
|
@@ -32674,6 +32818,11 @@ Object.freeze({
|
|
|
32674
32818
|
form: "single",
|
|
32675
32819
|
optional: true
|
|
32676
32820
|
}],
|
|
32821
|
+
"pipelineAnalytics.reconcileFromDisk": [{
|
|
32822
|
+
name: "deviceId",
|
|
32823
|
+
form: "single",
|
|
32824
|
+
optional: false
|
|
32825
|
+
}],
|
|
32677
32826
|
"pipelineAnalytics.restageRetrainTrack": [{
|
|
32678
32827
|
name: "deviceId",
|
|
32679
32828
|
form: "single",
|
|
@@ -33739,6 +33888,8 @@ DEFAULT_NATIVE_LEASE_SETTINGS.budgetMb;
|
|
|
33739
33888
|
DEFAULT_NATIVE_LEASE_SETTINGS.activityMs;
|
|
33740
33889
|
DEFAULT_NATIVE_LEASE_SETTINGS.tileBudgetMb;
|
|
33741
33890
|
DEFAULT_NATIVE_LEASE_SETTINGS.admission;
|
|
33891
|
+
var MB = 1024 * 1024;
|
|
33892
|
+
1024 * MB, 3072 * MB;
|
|
33742
33893
|
//#endregion
|
|
33743
33894
|
//#region src/convert-orchestrator.ts
|
|
33744
33895
|
function supports(hw, targets) {
|