@camstack/addon-model-studio 1.1.189 → 1.1.190
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/_stub.js +1 -1
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-DRuIjSMF.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-Cf8IawB4.mjs} +3 -3
- package/dist/{hostInit-CWX7SB3f.mjs → hostInit-BEL-_Qgx.mjs} +2 -2
- package/dist/model-studio.addon.js +73 -63
- package/dist/model-studio.addon.mjs +73 -63
- package/dist/remoteEntry.js +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-DM0hkCAJ.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-CCqbjc06.mjs} +1 -1
- package/package.json +1 -1
package/dist/_stub.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./virtualExposes-CWSi4E_g.mjs";
|
|
2
|
-
import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-
|
|
2
|
+
import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-CCqbjc06.mjs";
|
|
3
3
|
import { _ as e, c as t, d as n, h as r, i, l as a, m as o, p as s, r as c, t as l, u, y as d } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DJDHChgO.mjs";
|
|
4
4
|
import { a as f, i as p, o as m, r as h, s as g } from "./responsive-BoGo5jZn.mjs";
|
|
5
5
|
import { d as _, l as v, u as y } from "./scene-monitor-copy-0evm2MrA.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-
|
|
1
|
+
import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-CCqbjc06.mjs";
|
|
2
2
|
//#region \0virtual:mf-localSharedImportMap:__mfe_internal__addon_model_studio_page
|
|
3
3
|
var e = {
|
|
4
4
|
"@camstack/sdk": {
|
|
@@ -18,7 +18,7 @@ var e = {
|
|
|
18
18
|
},
|
|
19
19
|
"@camstack/types": {
|
|
20
20
|
name: "@camstack/types",
|
|
21
|
-
version: "1.2.
|
|
21
|
+
version: "1.2.287",
|
|
22
22
|
scope: ["default"],
|
|
23
23
|
loaded: !1,
|
|
24
24
|
from: "addon_model_studio_page",
|
|
@@ -33,7 +33,7 @@ var e = {
|
|
|
33
33
|
},
|
|
34
34
|
"@camstack/ui-library": {
|
|
35
35
|
name: "@camstack/ui-library",
|
|
36
|
-
version: "1.2.
|
|
36
|
+
version: "1.2.221",
|
|
37
37
|
scope: ["default"],
|
|
38
38
|
loaded: !1,
|
|
39
39
|
from: "addon_model_studio_page",
|
|
@@ -36,7 +36,7 @@ async function r() {
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"@camstack/types": {
|
|
39
|
-
version: "1.2.
|
|
39
|
+
version: "1.2.287",
|
|
40
40
|
scope: "default",
|
|
41
41
|
shareConfig: {
|
|
42
42
|
singleton: !0,
|
|
@@ -81,7 +81,7 @@ async function r() {
|
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
"@camstack/ui-library": {
|
|
84
|
-
version: "1.2.
|
|
84
|
+
version: "1.2.221",
|
|
85
85
|
scope: "default",
|
|
86
86
|
shareConfig: {
|
|
87
87
|
singleton: !0,
|
|
@@ -8060,7 +8060,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
8060
8060
|
return DeviceRole;
|
|
8061
8061
|
}({});
|
|
8062
8062
|
//#endregion
|
|
8063
|
-
//#region ../types/dist/composition-
|
|
8063
|
+
//#region ../types/dist/composition-D7ULvLdD.mjs
|
|
8064
8064
|
/**
|
|
8065
8065
|
* The ffmpeg build every CamStack node downloads, per platform and arch.
|
|
8066
8066
|
*
|
|
@@ -8114,20 +8114,20 @@ function portable(target) {
|
|
|
8114
8114
|
}
|
|
8115
8115
|
portable("linux64"), portable("linuxarm64"), portable("macarm64"), portable("mac64");
|
|
8116
8116
|
/**
|
|
8117
|
-
*
|
|
8118
|
-
*
|
|
8117
|
+
* THE table "which boolean of this device type counts as HIGH", and the
|
|
8118
|
+
* pure evaluator of its EDGE.
|
|
8119
8119
|
*
|
|
8120
|
-
*
|
|
8121
|
-
*
|
|
8122
|
-
*
|
|
8123
|
-
*
|
|
8124
|
-
*
|
|
8125
|
-
*
|
|
8120
|
+
* ONE table for everyone who asks "is this device HIGH?": the
|
|
8121
|
+
* recorder's `RecordingTriggers.sensorDeviceIds` trigger, the post-analysis
|
|
8122
|
+
* sensor markers, the orchestrator's camera-sensors bridge and
|
|
8123
|
+
* the sources of a composite doorbell (`doorbellFeatureSources`, D671).
|
|
8124
|
+
* A second copy would diverge at the first cap added, and the symptom — "the
|
|
8125
|
+
* sensor rings the doorbell but does not record" — is exactly D62.
|
|
8126
8126
|
*
|
|
8127
|
-
* ⚠
|
|
8128
|
-
*
|
|
8129
|
-
*
|
|
8130
|
-
*
|
|
8127
|
+
* ⚠ NOT `DEVICE_STATE_READERS` (`catalogs/device-state-vocabulary.ts`), and the
|
|
8128
|
+
* two must not be unified: that one answers "what is the state WORD for a
|
|
8129
|
+
* rule" (and includes `presence`, `cover`, `alarm-panel`), this one "which
|
|
8130
|
+
* boolean's EDGE counts". Deliberately different vocabularies.
|
|
8131
8131
|
*/
|
|
8132
8132
|
/**
|
|
8133
8133
|
* Known binary / switch source caps → the boolean slice field whose
|
|
@@ -9734,22 +9734,22 @@ var CLASS_MAP_MACRO_TARGETS = [
|
|
|
9734
9734
|
"package"
|
|
9735
9735
|
];
|
|
9736
9736
|
/**
|
|
9737
|
-
*
|
|
9738
|
-
*
|
|
9737
|
+
* The FIRST-LEVEL macro classes: those an object detector emits and that
|
|
9738
|
+
* an operator can select.
|
|
9739
9739
|
*
|
|
9740
|
-
*
|
|
9740
|
+
* They are the three offered by the `object-detection` step
|
|
9741
9741
|
* (`addon-pipeline/src/detection-pipeline/registry/step-definitions.ts`,
|
|
9742
|
-
* `enabledMacroClasses`). `package`
|
|
9743
|
-
* `MACRO_LABELS` —
|
|
9744
|
-
* `package-detection`,
|
|
9745
|
-
*
|
|
9742
|
+
* `enabledMacroClasses`). `package` is in {@link CLASS_MAP_MACRO_TARGETS} and in
|
|
9743
|
+
* `MACRO_LABELS` — it is a true macro — but NOT here: it belongs to the step
|
|
9744
|
+
* `package-detection`, whose enablement is driven by zones, and offering the
|
|
9745
|
+
* same word twice has already made an operator turn on the COCO proxy
|
|
9746
9746
|
* (suitcase/backpack/handbag) lasciando spento il detector dedicato.
|
|
9747
9747
|
*
|
|
9748
|
-
*
|
|
9749
|
-
*
|
|
9750
|
-
* (`types/detection.ts`);
|
|
9751
|
-
* (`RecordingTriggers.objectClasses`)
|
|
9752
|
-
*
|
|
9748
|
+
* ONE list. Before today the same three were hand-written in the step's offer
|
|
9749
|
+
* and a second time as the union `FirstLevelMacro`
|
|
9750
|
+
* (`types/detection.ts`); a third copy for the recording trigger
|
|
9751
|
+
* (`RecordingTriggers.objectClasses`) would have made the later divergence
|
|
9752
|
+
* invisible.
|
|
9753
9753
|
*/
|
|
9754
9754
|
var FIRST_LEVEL_MACRO_CLASSES = [
|
|
9755
9755
|
"person",
|
|
@@ -9814,17 +9814,17 @@ var RecordingStorageModeSchema = _enum([
|
|
|
9814
9814
|
"on-device-decision"
|
|
9815
9815
|
]);
|
|
9816
9816
|
/**
|
|
9817
|
-
*
|
|
9818
|
-
*
|
|
9817
|
+
* The macro classes that can open a recording window — the same
|
|
9818
|
+
* three offered by the `object-detection` step, from ONE list
|
|
9819
9819
|
* ({@link FIRST_LEVEL_MACRO_CLASSES}).
|
|
9820
9820
|
*/
|
|
9821
9821
|
var RecordingObjectTriggerClassSchema = _enum(FIRST_LEVEL_MACRO_CLASSES);
|
|
9822
9822
|
/**
|
|
9823
|
-
* True
|
|
9823
|
+
* True when `values` does not repeat an element.
|
|
9824
9824
|
*
|
|
9825
|
-
*
|
|
9826
|
-
*
|
|
9827
|
-
*
|
|
9825
|
+
* A duplicate is not harmless: every entry of `objectClasses` / `sensorDeviceIds`
|
|
9826
|
+
* becomes a SOURCE in `bandTriggerSources`, and the same source twice
|
|
9827
|
+
* would count its windows twice in `segmentMissedByMs`.
|
|
9828
9828
|
*/
|
|
9829
9829
|
var noDuplicates = (values) => new Set(values).size === values.length;
|
|
9830
9830
|
/** Which detectors trigger an `events`-mode band. */
|
|
@@ -9832,34 +9832,34 @@ var RecordingTriggersSchema = object({
|
|
|
9832
9832
|
motion: boolean().optional(),
|
|
9833
9833
|
audioThresholdDbfs: number().optional(),
|
|
9834
9834
|
/**
|
|
9835
|
-
*
|
|
9836
|
-
*
|
|
9837
|
-
*
|
|
9838
|
-
*
|
|
9835
|
+
* The macro classes whose detection opens a window. ABSENT = the source
|
|
9836
|
+
* is not listened to; an EMPTY array is rejected, because "events band, object
|
|
9837
|
+
* trigger on, no class" is the same shape "enabled and records
|
|
9838
|
+
* nothing, forever" that `eventsBandCanEverDemand` is written against.
|
|
9839
9839
|
*
|
|
9840
|
-
*
|
|
9841
|
-
*
|
|
9842
|
-
* `minConfidence<Macro>`
|
|
9843
|
-
* (`source: 'onboard'`)
|
|
9844
|
-
*
|
|
9840
|
+
* The signal read is ALREADY FILTERED: only `source: 'pipeline'` detections, i.e.
|
|
9841
|
+
* those that went through `enabledMacroClasses`, the
|
|
9842
|
+
* `minConfidence<Macro>` and the full-frame guard. The camera's onboard AI
|
|
9843
|
+
* (`source: 'onboard'`) goes through none of those gates and does NOT open
|
|
9844
|
+
* windows — see `recorder/object-trigger.ts`.
|
|
9845
9845
|
*/
|
|
9846
9846
|
objectClasses: array(RecordingObjectTriggerClassSchema).min(1).refine(noDuplicates, { message: "objectClasses must not repeat a class" }).optional(),
|
|
9847
9847
|
/**
|
|
9848
|
-
*
|
|
9849
|
-
*
|
|
9848
|
+
* The LINKED devices whose RISING EDGE opens a window. Absent = the source
|
|
9849
|
+
* is not listened to; an empty array is rejected for the same reason as
|
|
9850
9850
|
* `objectClasses`.
|
|
9851
9851
|
*
|
|
9852
|
-
*
|
|
9853
|
-
*
|
|
9854
|
-
*
|
|
9855
|
-
*
|
|
9856
|
-
* device (D12) —
|
|
9852
|
+
* These are SOURCE device ids, not cameras: the band names them, so the
|
|
9853
|
+
* hot path (`DeviceStateChanged`, at bus rate across the whole fleet)
|
|
9854
|
+
* does no RPC. The OFFER from which the operator picks them is another question, and
|
|
9855
|
+
* is resolved with `deviceManager.getLinkedDevices` + `getBindingsBatch` per
|
|
9856
|
+
* device (D12) — never a global list of caps.
|
|
9857
9857
|
*
|
|
9858
|
-
*
|
|
9859
|
-
* `SOURCE_CAP_ACTIVE_FIELD` (`catalogs/sensor-active-state.ts`)
|
|
9860
|
-
*
|
|
9861
|
-
*
|
|
9862
|
-
*
|
|
9858
|
+
* What "high" means depends on the device TYPE and is not decided here:
|
|
9859
|
+
* `SOURCE_CAP_ACTIVE_FIELD` (`catalogs/sensor-active-state.ts`) is THE table,
|
|
9860
|
+
* the same one as the composite doorbell (D671). And it is the EDGE, not
|
|
9861
|
+
* the level: a contact found already open at runner restart does not
|
|
9862
|
+
* record.
|
|
9863
9863
|
*/
|
|
9864
9864
|
sensorDeviceIds: array(number().int().positive()).min(1).max(16).refine(noDuplicates, { message: "sensorDeviceIds must not repeat a device" }).optional()
|
|
9865
9865
|
});
|
|
@@ -10936,7 +10936,7 @@ var DecoderSessionConfigSchema = object({
|
|
|
10936
10936
|
* - **VALUE** — at which level, for which scope, until when. That stays ONE
|
|
10937
10937
|
* thing: the logging settings document on the `system` cap. Two authorities
|
|
10938
10938
|
* over the values is the exact defect
|
|
10939
|
-
* `docs/design/plans/2026-08-26-
|
|
10939
|
+
* `docs/design/plans/2026-08-26-per-component-logging.md` was written to
|
|
10940
10940
|
* remove; re-introducing it from the cure side would be grotesque.
|
|
10941
10941
|
*
|
|
10942
10942
|
* Nothing in this file reads a clock, an env var or a store. The registry is
|
|
@@ -14423,7 +14423,7 @@ method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
|
|
|
14423
14423
|
*
|
|
14424
14424
|
* ⚠ An earlier version of this comment blamed Zod stripping, and that
|
|
14425
14425
|
* was wrong — corrected 2026-08-26 after the hop map
|
|
14426
|
-
* (`docs/design/2026-08-26-
|
|
14426
|
+
* (`docs/design/2026-08-26-topic-hop-map.md`) traced the path.
|
|
14427
14427
|
* There is **no Zod parse at all** between the door and the engine: the
|
|
14428
14428
|
* dispatcher forwards the payload verbatim and UDS carries it whole. A
|
|
14429
14429
|
* field declared here reaches `SqliteSettingsBackend` either way.
|
|
@@ -15179,7 +15179,17 @@ var SiteZoneSchema = object({
|
|
|
15179
15179
|
var ProviderStatusSchema = object({
|
|
15180
15180
|
connected: boolean(),
|
|
15181
15181
|
deviceCount: number(),
|
|
15182
|
-
error: string().optional()
|
|
15182
|
+
error: string().optional(),
|
|
15183
|
+
/**
|
|
15184
|
+
* `'orchestrator'`: this provider writes NO camera's `motion` runtime slice
|
|
15185
|
+
* — the orchestrator is its only writer (D696). Set by `BaseDeviceProvider`,
|
|
15186
|
+
* which every provider bundles, so only a provider BUILT from D696-amended
|
|
15187
|
+
* code says it. ABSENT means an older provider that may still write it (raw
|
|
15188
|
+
* VMD writes, a boot seed), and the orchestrator's provider gate keeps that
|
|
15189
|
+
* provider's cameras unwritten (`camera-sensors/motion-slice-provider-gate.ts`)
|
|
15190
|
+
* — the provider twin of the runner's `getLocalLoad().motionSliceWriter`.
|
|
15191
|
+
*/
|
|
15192
|
+
motionSliceWriter: literal("orchestrator").optional()
|
|
15183
15193
|
});
|
|
15184
15194
|
object({
|
|
15185
15195
|
externalId: string(),
|
|
@@ -16315,7 +16325,7 @@ method(object({
|
|
|
16315
16325
|
* per-device window, `KeyFrameCaptureLog`, `bumpCropMetric`. Every one of them
|
|
16316
16326
|
* ends in a log line, and a log line is the thing the operator asked to stop
|
|
16317
16327
|
* needing: *"possiamo armare questi errori intanto? Così al prossimo giro
|
|
16318
|
-
* ricontrolliamo tutti questi punti"
|
|
16328
|
+
* ricontrolliamo tutti questi punti"* [can we instrument these errors in the meantime? That way next round we recheck all these points]. Reading them meant grepping Loki and
|
|
16319
16329
|
* hand-correlating timestamps, which is how a 22% thumbnail gap and a 3-hour
|
|
16320
16330
|
* media blackout were both diagnosed. The counters stay; this is where they can
|
|
16321
16331
|
* be READ.
|
|
@@ -21990,14 +22000,14 @@ var TrackSchema = object({
|
|
|
21990
22000
|
* `derive-returned-null tile=standin`,
|
|
21991
22001
|
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
21992
22002
|
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
21993
|
-
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
22003
|
+
* The operator-facing answer to "perché manca l'immagine?" [why is the image missing?] on a track whose
|
|
21994
22004
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
21995
22005
|
*
|
|
21996
22006
|
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
21997
22007
|
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
21998
22008
|
* while its key frame missed carried no reason at all — three of the four
|
|
21999
22009
|
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
22000
|
-
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
22010
|
+
* that shape, and their "niente ultimo" [no last frame] had no cause anywhere on the row.
|
|
22001
22011
|
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
22002
22012
|
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
22003
22013
|
* tile ended up being.
|
|
@@ -22084,7 +22094,7 @@ var MotionEventSchema = object({
|
|
|
22084
22094
|
/**
|
|
22085
22095
|
* Ms offsets from `timestamp` (the episode's own first rising edge, so the
|
|
22086
22096
|
* first entry is always `0`) of every genuine off→on transition the
|
|
22087
|
-
* episode saw — "ogni evento on si deve salvare" (D475). NOT one entry per
|
|
22097
|
+
* episode saw — "ogni evento on si deve salvare" [every ON event must be saved] (D475). NOT one entry per
|
|
22088
22098
|
* push: a firmware source that keepalives at ~1 Hz for the whole burst
|
|
22089
22099
|
* (Reolink, Hikvision) produces exactly one edge; a source that reports an
|
|
22090
22100
|
* explicit `false` mid-episode and then resumes before the quiet window
|
|
@@ -27320,7 +27330,7 @@ var ClipPlaybackSchema = object({
|
|
|
27320
27330
|
* **One authorised yes is one wake.** `next-natural` — take the clip the next
|
|
27321
27331
|
* time the camera is awake for its own reasons — is deliberately not a member:
|
|
27322
27332
|
* it was proposed, it is free on the battery, and the operator declined it on
|
|
27323
|
-
* 2026-09-20 (*"Quando un export viene richiesto si sveglia la camera."
|
|
27333
|
+
* 2026-09-20 (*"Quando un export viene richiesto si sveglia la camera."* [When an export is requested the camera wakes up],
|
|
27324
27334
|
* D558 "Considered and not taken").
|
|
27325
27335
|
*/
|
|
27326
27336
|
var ClipWakeSchema = _enum(["authorised"]);
|
|
@@ -27581,7 +27591,7 @@ DeviceType.Camera, method(object({
|
|
|
27581
27591
|
* It replaced `sources?: string[]`, a VIEW filter over source ids that
|
|
27582
27592
|
* assumed the answer was a fan-out over everything a camera has. The
|
|
27583
27593
|
* operator settled otherwise on 2026-09-20 — *"l'utilizzatore è uno
|
|
27584
|
-
* solo"* — so the list is asked of one provider at a time and there is
|
|
27594
|
+
* solo"* [there is only one user] — so the list is asked of one provider at a time and there is
|
|
27585
27595
|
* nothing to filter out of it.
|
|
27586
27596
|
*/
|
|
27587
27597
|
provider: string().min(1)
|
|
@@ -33699,7 +33709,7 @@ var ReadGopBytesResultSchema = object({
|
|
|
33699
33709
|
/**
|
|
33700
33710
|
* A time WINDOW of one finalized segment, cut by byte range — the multi-GOP
|
|
33701
33711
|
* twin of {@link ReadGopBytesResultSchema}'s single instant. Built for the
|
|
33702
|
-
* replay clip's `recording` source (`docs/design/plans/2026-08-26-replay-
|
|
33712
|
+
* replay clip's `recording` source (`docs/design/plans/2026-08-26-clip-replay-on-pipeline.md`):
|
|
33703
33713
|
* a replay needs several seconds of native pixels, not one frame.
|
|
33704
33714
|
*
|
|
33705
33715
|
* `ok.data` is standalone-demuxable, same as a GOP read. `ok.reachesRequestedEnd`
|
|
@@ -47584,7 +47594,7 @@ var PreviewTextField = string().max(200);
|
|
|
47584
47594
|
* Whether the notification's preview is a STILL or a short animation.
|
|
47585
47595
|
*
|
|
47586
47596
|
* The operator's ask, verbatim: *"inviato come gif o video (come per le altre
|
|
47587
|
-
* rule)"* — the other rules already offer an animated preview, and a ten-hour
|
|
47597
|
+
* rule)"* [sent as a gif or video (as for the other rules)] — the other rules already offer an animated preview, and a ten-hour
|
|
47588
47598
|
* night reads better as three seconds of motion than as one frame of it. Both
|
|
47589
47599
|
* modes get the SAME treatment (blurred frame, large centred title); `'gif'`
|
|
47590
47600
|
* simply applies it to a dozen frames sampled across the render and assembles
|
|
@@ -8039,7 +8039,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
8039
8039
|
return DeviceRole;
|
|
8040
8040
|
}({});
|
|
8041
8041
|
//#endregion
|
|
8042
|
-
//#region ../types/dist/composition-
|
|
8042
|
+
//#region ../types/dist/composition-D7ULvLdD.mjs
|
|
8043
8043
|
/**
|
|
8044
8044
|
* The ffmpeg build every CamStack node downloads, per platform and arch.
|
|
8045
8045
|
*
|
|
@@ -8093,20 +8093,20 @@ function portable(target) {
|
|
|
8093
8093
|
}
|
|
8094
8094
|
portable("linux64"), portable("linuxarm64"), portable("macarm64"), portable("mac64");
|
|
8095
8095
|
/**
|
|
8096
|
-
*
|
|
8097
|
-
*
|
|
8096
|
+
* THE table "which boolean of this device type counts as HIGH", and the
|
|
8097
|
+
* pure evaluator of its EDGE.
|
|
8098
8098
|
*
|
|
8099
|
-
*
|
|
8100
|
-
*
|
|
8101
|
-
*
|
|
8102
|
-
*
|
|
8103
|
-
*
|
|
8104
|
-
*
|
|
8099
|
+
* ONE table for everyone who asks "is this device HIGH?": the
|
|
8100
|
+
* recorder's `RecordingTriggers.sensorDeviceIds` trigger, the post-analysis
|
|
8101
|
+
* sensor markers, the orchestrator's camera-sensors bridge and
|
|
8102
|
+
* the sources of a composite doorbell (`doorbellFeatureSources`, D671).
|
|
8103
|
+
* A second copy would diverge at the first cap added, and the symptom — "the
|
|
8104
|
+
* sensor rings the doorbell but does not record" — is exactly D62.
|
|
8105
8105
|
*
|
|
8106
|
-
* ⚠
|
|
8107
|
-
*
|
|
8108
|
-
*
|
|
8109
|
-
*
|
|
8106
|
+
* ⚠ NOT `DEVICE_STATE_READERS` (`catalogs/device-state-vocabulary.ts`), and the
|
|
8107
|
+
* two must not be unified: that one answers "what is the state WORD for a
|
|
8108
|
+
* rule" (and includes `presence`, `cover`, `alarm-panel`), this one "which
|
|
8109
|
+
* boolean's EDGE counts". Deliberately different vocabularies.
|
|
8110
8110
|
*/
|
|
8111
8111
|
/**
|
|
8112
8112
|
* Known binary / switch source caps → the boolean slice field whose
|
|
@@ -9713,22 +9713,22 @@ var CLASS_MAP_MACRO_TARGETS = [
|
|
|
9713
9713
|
"package"
|
|
9714
9714
|
];
|
|
9715
9715
|
/**
|
|
9716
|
-
*
|
|
9717
|
-
*
|
|
9716
|
+
* The FIRST-LEVEL macro classes: those an object detector emits and that
|
|
9717
|
+
* an operator can select.
|
|
9718
9718
|
*
|
|
9719
|
-
*
|
|
9719
|
+
* They are the three offered by the `object-detection` step
|
|
9720
9720
|
* (`addon-pipeline/src/detection-pipeline/registry/step-definitions.ts`,
|
|
9721
|
-
* `enabledMacroClasses`). `package`
|
|
9722
|
-
* `MACRO_LABELS` —
|
|
9723
|
-
* `package-detection`,
|
|
9724
|
-
*
|
|
9721
|
+
* `enabledMacroClasses`). `package` is in {@link CLASS_MAP_MACRO_TARGETS} and in
|
|
9722
|
+
* `MACRO_LABELS` — it is a true macro — but NOT here: it belongs to the step
|
|
9723
|
+
* `package-detection`, whose enablement is driven by zones, and offering the
|
|
9724
|
+
* same word twice has already made an operator turn on the COCO proxy
|
|
9725
9725
|
* (suitcase/backpack/handbag) lasciando spento il detector dedicato.
|
|
9726
9726
|
*
|
|
9727
|
-
*
|
|
9728
|
-
*
|
|
9729
|
-
* (`types/detection.ts`);
|
|
9730
|
-
* (`RecordingTriggers.objectClasses`)
|
|
9731
|
-
*
|
|
9727
|
+
* ONE list. Before today the same three were hand-written in the step's offer
|
|
9728
|
+
* and a second time as the union `FirstLevelMacro`
|
|
9729
|
+
* (`types/detection.ts`); a third copy for the recording trigger
|
|
9730
|
+
* (`RecordingTriggers.objectClasses`) would have made the later divergence
|
|
9731
|
+
* invisible.
|
|
9732
9732
|
*/
|
|
9733
9733
|
var FIRST_LEVEL_MACRO_CLASSES = [
|
|
9734
9734
|
"person",
|
|
@@ -9793,17 +9793,17 @@ var RecordingStorageModeSchema = _enum([
|
|
|
9793
9793
|
"on-device-decision"
|
|
9794
9794
|
]);
|
|
9795
9795
|
/**
|
|
9796
|
-
*
|
|
9797
|
-
*
|
|
9796
|
+
* The macro classes that can open a recording window — the same
|
|
9797
|
+
* three offered by the `object-detection` step, from ONE list
|
|
9798
9798
|
* ({@link FIRST_LEVEL_MACRO_CLASSES}).
|
|
9799
9799
|
*/
|
|
9800
9800
|
var RecordingObjectTriggerClassSchema = _enum(FIRST_LEVEL_MACRO_CLASSES);
|
|
9801
9801
|
/**
|
|
9802
|
-
* True
|
|
9802
|
+
* True when `values` does not repeat an element.
|
|
9803
9803
|
*
|
|
9804
|
-
*
|
|
9805
|
-
*
|
|
9806
|
-
*
|
|
9804
|
+
* A duplicate is not harmless: every entry of `objectClasses` / `sensorDeviceIds`
|
|
9805
|
+
* becomes a SOURCE in `bandTriggerSources`, and the same source twice
|
|
9806
|
+
* would count its windows twice in `segmentMissedByMs`.
|
|
9807
9807
|
*/
|
|
9808
9808
|
var noDuplicates = (values) => new Set(values).size === values.length;
|
|
9809
9809
|
/** Which detectors trigger an `events`-mode band. */
|
|
@@ -9811,34 +9811,34 @@ var RecordingTriggersSchema = object({
|
|
|
9811
9811
|
motion: boolean().optional(),
|
|
9812
9812
|
audioThresholdDbfs: number().optional(),
|
|
9813
9813
|
/**
|
|
9814
|
-
*
|
|
9815
|
-
*
|
|
9816
|
-
*
|
|
9817
|
-
*
|
|
9814
|
+
* The macro classes whose detection opens a window. ABSENT = the source
|
|
9815
|
+
* is not listened to; an EMPTY array is rejected, because "events band, object
|
|
9816
|
+
* trigger on, no class" is the same shape "enabled and records
|
|
9817
|
+
* nothing, forever" that `eventsBandCanEverDemand` is written against.
|
|
9818
9818
|
*
|
|
9819
|
-
*
|
|
9820
|
-
*
|
|
9821
|
-
* `minConfidence<Macro>`
|
|
9822
|
-
* (`source: 'onboard'`)
|
|
9823
|
-
*
|
|
9819
|
+
* The signal read is ALREADY FILTERED: only `source: 'pipeline'` detections, i.e.
|
|
9820
|
+
* those that went through `enabledMacroClasses`, the
|
|
9821
|
+
* `minConfidence<Macro>` and the full-frame guard. The camera's onboard AI
|
|
9822
|
+
* (`source: 'onboard'`) goes through none of those gates and does NOT open
|
|
9823
|
+
* windows — see `recorder/object-trigger.ts`.
|
|
9824
9824
|
*/
|
|
9825
9825
|
objectClasses: array(RecordingObjectTriggerClassSchema).min(1).refine(noDuplicates, { message: "objectClasses must not repeat a class" }).optional(),
|
|
9826
9826
|
/**
|
|
9827
|
-
*
|
|
9828
|
-
*
|
|
9827
|
+
* The LINKED devices whose RISING EDGE opens a window. Absent = the source
|
|
9828
|
+
* is not listened to; an empty array is rejected for the same reason as
|
|
9829
9829
|
* `objectClasses`.
|
|
9830
9830
|
*
|
|
9831
|
-
*
|
|
9832
|
-
*
|
|
9833
|
-
*
|
|
9834
|
-
*
|
|
9835
|
-
* device (D12) —
|
|
9831
|
+
* These are SOURCE device ids, not cameras: the band names them, so the
|
|
9832
|
+
* hot path (`DeviceStateChanged`, at bus rate across the whole fleet)
|
|
9833
|
+
* does no RPC. The OFFER from which the operator picks them is another question, and
|
|
9834
|
+
* is resolved with `deviceManager.getLinkedDevices` + `getBindingsBatch` per
|
|
9835
|
+
* device (D12) — never a global list of caps.
|
|
9836
9836
|
*
|
|
9837
|
-
*
|
|
9838
|
-
* `SOURCE_CAP_ACTIVE_FIELD` (`catalogs/sensor-active-state.ts`)
|
|
9839
|
-
*
|
|
9840
|
-
*
|
|
9841
|
-
*
|
|
9837
|
+
* What "high" means depends on the device TYPE and is not decided here:
|
|
9838
|
+
* `SOURCE_CAP_ACTIVE_FIELD` (`catalogs/sensor-active-state.ts`) is THE table,
|
|
9839
|
+
* the same one as the composite doorbell (D671). And it is the EDGE, not
|
|
9840
|
+
* the level: a contact found already open at runner restart does not
|
|
9841
|
+
* record.
|
|
9842
9842
|
*/
|
|
9843
9843
|
sensorDeviceIds: array(number().int().positive()).min(1).max(16).refine(noDuplicates, { message: "sensorDeviceIds must not repeat a device" }).optional()
|
|
9844
9844
|
});
|
|
@@ -10915,7 +10915,7 @@ var DecoderSessionConfigSchema = object({
|
|
|
10915
10915
|
* - **VALUE** — at which level, for which scope, until when. That stays ONE
|
|
10916
10916
|
* thing: the logging settings document on the `system` cap. Two authorities
|
|
10917
10917
|
* over the values is the exact defect
|
|
10918
|
-
* `docs/design/plans/2026-08-26-
|
|
10918
|
+
* `docs/design/plans/2026-08-26-per-component-logging.md` was written to
|
|
10919
10919
|
* remove; re-introducing it from the cure side would be grotesque.
|
|
10920
10920
|
*
|
|
10921
10921
|
* Nothing in this file reads a clock, an env var or a store. The registry is
|
|
@@ -14402,7 +14402,7 @@ method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
|
|
|
14402
14402
|
*
|
|
14403
14403
|
* ⚠ An earlier version of this comment blamed Zod stripping, and that
|
|
14404
14404
|
* was wrong — corrected 2026-08-26 after the hop map
|
|
14405
|
-
* (`docs/design/2026-08-26-
|
|
14405
|
+
* (`docs/design/2026-08-26-topic-hop-map.md`) traced the path.
|
|
14406
14406
|
* There is **no Zod parse at all** between the door and the engine: the
|
|
14407
14407
|
* dispatcher forwards the payload verbatim and UDS carries it whole. A
|
|
14408
14408
|
* field declared here reaches `SqliteSettingsBackend` either way.
|
|
@@ -15158,7 +15158,17 @@ var SiteZoneSchema = object({
|
|
|
15158
15158
|
var ProviderStatusSchema = object({
|
|
15159
15159
|
connected: boolean(),
|
|
15160
15160
|
deviceCount: number(),
|
|
15161
|
-
error: string().optional()
|
|
15161
|
+
error: string().optional(),
|
|
15162
|
+
/**
|
|
15163
|
+
* `'orchestrator'`: this provider writes NO camera's `motion` runtime slice
|
|
15164
|
+
* — the orchestrator is its only writer (D696). Set by `BaseDeviceProvider`,
|
|
15165
|
+
* which every provider bundles, so only a provider BUILT from D696-amended
|
|
15166
|
+
* code says it. ABSENT means an older provider that may still write it (raw
|
|
15167
|
+
* VMD writes, a boot seed), and the orchestrator's provider gate keeps that
|
|
15168
|
+
* provider's cameras unwritten (`camera-sensors/motion-slice-provider-gate.ts`)
|
|
15169
|
+
* — the provider twin of the runner's `getLocalLoad().motionSliceWriter`.
|
|
15170
|
+
*/
|
|
15171
|
+
motionSliceWriter: literal("orchestrator").optional()
|
|
15162
15172
|
});
|
|
15163
15173
|
object({
|
|
15164
15174
|
externalId: string(),
|
|
@@ -16294,7 +16304,7 @@ method(object({
|
|
|
16294
16304
|
* per-device window, `KeyFrameCaptureLog`, `bumpCropMetric`. Every one of them
|
|
16295
16305
|
* ends in a log line, and a log line is the thing the operator asked to stop
|
|
16296
16306
|
* needing: *"possiamo armare questi errori intanto? Così al prossimo giro
|
|
16297
|
-
* ricontrolliamo tutti questi punti"
|
|
16307
|
+
* ricontrolliamo tutti questi punti"* [can we instrument these errors in the meantime? That way next round we recheck all these points]. Reading them meant grepping Loki and
|
|
16298
16308
|
* hand-correlating timestamps, which is how a 22% thumbnail gap and a 3-hour
|
|
16299
16309
|
* media blackout were both diagnosed. The counters stay; this is where they can
|
|
16300
16310
|
* be READ.
|
|
@@ -21969,14 +21979,14 @@ var TrackSchema = object({
|
|
|
21969
21979
|
* `derive-returned-null tile=standin`,
|
|
21970
21980
|
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
21971
21981
|
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
21972
|
-
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
21982
|
+
* The operator-facing answer to "perché manca l'immagine?" [why is the image missing?] on a track whose
|
|
21973
21983
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
21974
21984
|
*
|
|
21975
21985
|
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
21976
21986
|
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
21977
21987
|
* while its key frame missed carried no reason at all — three of the four
|
|
21978
21988
|
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
21979
|
-
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
21989
|
+
* that shape, and their "niente ultimo" [no last frame] had no cause anywhere on the row.
|
|
21980
21990
|
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
21981
21991
|
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
21982
21992
|
* tile ended up being.
|
|
@@ -22063,7 +22073,7 @@ var MotionEventSchema = object({
|
|
|
22063
22073
|
/**
|
|
22064
22074
|
* Ms offsets from `timestamp` (the episode's own first rising edge, so the
|
|
22065
22075
|
* first entry is always `0`) of every genuine off→on transition the
|
|
22066
|
-
* episode saw — "ogni evento on si deve salvare" (D475). NOT one entry per
|
|
22076
|
+
* episode saw — "ogni evento on si deve salvare" [every ON event must be saved] (D475). NOT one entry per
|
|
22067
22077
|
* push: a firmware source that keepalives at ~1 Hz for the whole burst
|
|
22068
22078
|
* (Reolink, Hikvision) produces exactly one edge; a source that reports an
|
|
22069
22079
|
* explicit `false` mid-episode and then resumes before the quiet window
|
|
@@ -27299,7 +27309,7 @@ var ClipPlaybackSchema = object({
|
|
|
27299
27309
|
* **One authorised yes is one wake.** `next-natural` — take the clip the next
|
|
27300
27310
|
* time the camera is awake for its own reasons — is deliberately not a member:
|
|
27301
27311
|
* it was proposed, it is free on the battery, and the operator declined it on
|
|
27302
|
-
* 2026-09-20 (*"Quando un export viene richiesto si sveglia la camera."
|
|
27312
|
+
* 2026-09-20 (*"Quando un export viene richiesto si sveglia la camera."* [When an export is requested the camera wakes up],
|
|
27303
27313
|
* D558 "Considered and not taken").
|
|
27304
27314
|
*/
|
|
27305
27315
|
var ClipWakeSchema = _enum(["authorised"]);
|
|
@@ -27560,7 +27570,7 @@ DeviceType.Camera, method(object({
|
|
|
27560
27570
|
* It replaced `sources?: string[]`, a VIEW filter over source ids that
|
|
27561
27571
|
* assumed the answer was a fan-out over everything a camera has. The
|
|
27562
27572
|
* operator settled otherwise on 2026-09-20 — *"l'utilizzatore è uno
|
|
27563
|
-
* solo"* — so the list is asked of one provider at a time and there is
|
|
27573
|
+
* solo"* [there is only one user] — so the list is asked of one provider at a time and there is
|
|
27564
27574
|
* nothing to filter out of it.
|
|
27565
27575
|
*/
|
|
27566
27576
|
provider: string().min(1)
|
|
@@ -33678,7 +33688,7 @@ var ReadGopBytesResultSchema = object({
|
|
|
33678
33688
|
/**
|
|
33679
33689
|
* A time WINDOW of one finalized segment, cut by byte range — the multi-GOP
|
|
33680
33690
|
* twin of {@link ReadGopBytesResultSchema}'s single instant. Built for the
|
|
33681
|
-
* replay clip's `recording` source (`docs/design/plans/2026-08-26-replay-
|
|
33691
|
+
* replay clip's `recording` source (`docs/design/plans/2026-08-26-clip-replay-on-pipeline.md`):
|
|
33682
33692
|
* a replay needs several seconds of native pixels, not one frame.
|
|
33683
33693
|
*
|
|
33684
33694
|
* `ok.data` is standalone-demuxable, same as a GOP read. `ok.reachesRequestedEnd`
|
|
@@ -47563,7 +47573,7 @@ var PreviewTextField = string().max(200);
|
|
|
47563
47573
|
* Whether the notification's preview is a STILL or a short animation.
|
|
47564
47574
|
*
|
|
47565
47575
|
* The operator's ask, verbatim: *"inviato come gif o video (come per le altre
|
|
47566
|
-
* rule)"* — the other rules already offer an animated preview, and a ten-hour
|
|
47576
|
+
* rule)"* [sent as a gif or video (as for the other rules)] — the other rules already offer an animated preview, and a ten-hour
|
|
47567
47577
|
* night reads better as three seconds of motion than as one frame of it. Both
|
|
47568
47578
|
* modes get the SAME treatment (blurred frame, large centred title); `'gif'`
|
|
47569
47579
|
* simply applies it to a dozen frames sampled across the render and assembles
|
package/dist/remoteEntry.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-
|
|
1
|
+
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-CCqbjc06.mjs";
|
|
2
2
|
export { t as get, e as init };
|
|
@@ -2753,7 +2753,7 @@ async function rr(e) {
|
|
|
2753
2753
|
}
|
|
2754
2754
|
}
|
|
2755
2755
|
async function ir() {
|
|
2756
|
-
return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-
|
|
2756
|
+
return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-Cf8IawB4.mjs")).catch((e) => {
|
|
2757
2757
|
throw tr = void 0, e;
|
|
2758
2758
|
}), tr;
|
|
2759
2759
|
}
|