@camstack/addon-agent-ui 1.2.161 → 1.2.163
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/addon.js +156 -77
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -7427,7 +7427,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
7427
7427
|
return DeviceRole;
|
|
7428
7428
|
}({});
|
|
7429
7429
|
//#endregion
|
|
7430
|
-
//#region ../types/dist/composition-
|
|
7430
|
+
//#region ../types/dist/composition-D7ULvLdD.mjs
|
|
7431
7431
|
/**
|
|
7432
7432
|
* The ffmpeg build every CamStack node downloads, per platform and arch.
|
|
7433
7433
|
*
|
|
@@ -7481,20 +7481,20 @@ function portable(target) {
|
|
|
7481
7481
|
}
|
|
7482
7482
|
portable("linux64"), portable("linuxarm64"), portable("macarm64"), portable("mac64");
|
|
7483
7483
|
/**
|
|
7484
|
-
*
|
|
7485
|
-
*
|
|
7484
|
+
* THE table "which boolean of this device type counts as HIGH", and the
|
|
7485
|
+
* pure evaluator of its EDGE.
|
|
7486
7486
|
*
|
|
7487
|
-
*
|
|
7488
|
-
*
|
|
7489
|
-
*
|
|
7490
|
-
*
|
|
7491
|
-
*
|
|
7492
|
-
*
|
|
7487
|
+
* ONE table for everyone who asks "is this device HIGH?": the
|
|
7488
|
+
* recorder's `RecordingTriggers.sensorDeviceIds` trigger, the post-analysis
|
|
7489
|
+
* sensor markers, the orchestrator's camera-sensors bridge and
|
|
7490
|
+
* the sources of a composite doorbell (`doorbellFeatureSources`, D671).
|
|
7491
|
+
* A second copy would diverge at the first cap added, and the symptom — "the
|
|
7492
|
+
* sensor rings the doorbell but does not record" — is exactly D62.
|
|
7493
7493
|
*
|
|
7494
|
-
* ⚠
|
|
7495
|
-
*
|
|
7496
|
-
*
|
|
7497
|
-
*
|
|
7494
|
+
* ⚠ NOT `DEVICE_STATE_READERS` (`catalogs/device-state-vocabulary.ts`), and the
|
|
7495
|
+
* two must not be unified: that one answers "what is the state WORD for a
|
|
7496
|
+
* rule" (and includes `presence`, `cover`, `alarm-panel`), this one "which
|
|
7497
|
+
* boolean's EDGE counts". Deliberately different vocabularies.
|
|
7498
7498
|
*/
|
|
7499
7499
|
/**
|
|
7500
7500
|
* Known binary / switch source caps → the boolean slice field whose
|
|
@@ -9101,22 +9101,22 @@ var CLASS_MAP_MACRO_TARGETS = [
|
|
|
9101
9101
|
"package"
|
|
9102
9102
|
];
|
|
9103
9103
|
/**
|
|
9104
|
-
*
|
|
9105
|
-
*
|
|
9104
|
+
* The FIRST-LEVEL macro classes: those an object detector emits and that
|
|
9105
|
+
* an operator can select.
|
|
9106
9106
|
*
|
|
9107
|
-
*
|
|
9107
|
+
* They are the three offered by the `object-detection` step
|
|
9108
9108
|
* (`addon-pipeline/src/detection-pipeline/registry/step-definitions.ts`,
|
|
9109
|
-
* `enabledMacroClasses`). `package`
|
|
9110
|
-
* `MACRO_LABELS` —
|
|
9111
|
-
* `package-detection`,
|
|
9112
|
-
*
|
|
9109
|
+
* `enabledMacroClasses`). `package` is in {@link CLASS_MAP_MACRO_TARGETS} and in
|
|
9110
|
+
* `MACRO_LABELS` — it is a true macro — but NOT here: it belongs to the step
|
|
9111
|
+
* `package-detection`, whose enablement is driven by zones, and offering the
|
|
9112
|
+
* same word twice has already made an operator turn on the COCO proxy
|
|
9113
9113
|
* (suitcase/backpack/handbag) lasciando spento il detector dedicato.
|
|
9114
9114
|
*
|
|
9115
|
-
*
|
|
9116
|
-
*
|
|
9117
|
-
* (`types/detection.ts`);
|
|
9118
|
-
* (`RecordingTriggers.objectClasses`)
|
|
9119
|
-
*
|
|
9115
|
+
* ONE list. Before today the same three were hand-written in the step's offer
|
|
9116
|
+
* and a second time as the union `FirstLevelMacro`
|
|
9117
|
+
* (`types/detection.ts`); a third copy for the recording trigger
|
|
9118
|
+
* (`RecordingTriggers.objectClasses`) would have made the later divergence
|
|
9119
|
+
* invisible.
|
|
9120
9120
|
*/
|
|
9121
9121
|
var FIRST_LEVEL_MACRO_CLASSES = [
|
|
9122
9122
|
"person",
|
|
@@ -9181,17 +9181,17 @@ var RecordingStorageModeSchema = _enum([
|
|
|
9181
9181
|
"on-device-decision"
|
|
9182
9182
|
]);
|
|
9183
9183
|
/**
|
|
9184
|
-
*
|
|
9185
|
-
*
|
|
9184
|
+
* The macro classes that can open a recording window — the same
|
|
9185
|
+
* three offered by the `object-detection` step, from ONE list
|
|
9186
9186
|
* ({@link FIRST_LEVEL_MACRO_CLASSES}).
|
|
9187
9187
|
*/
|
|
9188
9188
|
var RecordingObjectTriggerClassSchema = _enum(FIRST_LEVEL_MACRO_CLASSES);
|
|
9189
9189
|
/**
|
|
9190
|
-
* True
|
|
9190
|
+
* True when `values` does not repeat an element.
|
|
9191
9191
|
*
|
|
9192
|
-
*
|
|
9193
|
-
*
|
|
9194
|
-
*
|
|
9192
|
+
* A duplicate is not harmless: every entry of `objectClasses` / `sensorDeviceIds`
|
|
9193
|
+
* becomes a SOURCE in `bandTriggerSources`, and the same source twice
|
|
9194
|
+
* would count its windows twice in `segmentMissedByMs`.
|
|
9195
9195
|
*/
|
|
9196
9196
|
var noDuplicates = (values) => new Set(values).size === values.length;
|
|
9197
9197
|
/** Which detectors trigger an `events`-mode band. */
|
|
@@ -9199,34 +9199,34 @@ var RecordingTriggersSchema = object({
|
|
|
9199
9199
|
motion: boolean().optional(),
|
|
9200
9200
|
audioThresholdDbfs: number().optional(),
|
|
9201
9201
|
/**
|
|
9202
|
-
*
|
|
9203
|
-
*
|
|
9204
|
-
*
|
|
9205
|
-
*
|
|
9202
|
+
* The macro classes whose detection opens a window. ABSENT = the source
|
|
9203
|
+
* is not listened to; an EMPTY array is rejected, because "events band, object
|
|
9204
|
+
* trigger on, no class" is the same shape "enabled and records
|
|
9205
|
+
* nothing, forever" that `eventsBandCanEverDemand` is written against.
|
|
9206
9206
|
*
|
|
9207
|
-
*
|
|
9208
|
-
*
|
|
9209
|
-
* `minConfidence<Macro>`
|
|
9210
|
-
* (`source: 'onboard'`)
|
|
9211
|
-
*
|
|
9207
|
+
* The signal read is ALREADY FILTERED: only `source: 'pipeline'` detections, i.e.
|
|
9208
|
+
* those that went through `enabledMacroClasses`, the
|
|
9209
|
+
* `minConfidence<Macro>` and the full-frame guard. The camera's onboard AI
|
|
9210
|
+
* (`source: 'onboard'`) goes through none of those gates and does NOT open
|
|
9211
|
+
* windows — see `recorder/object-trigger.ts`.
|
|
9212
9212
|
*/
|
|
9213
9213
|
objectClasses: array(RecordingObjectTriggerClassSchema).min(1).refine(noDuplicates, { message: "objectClasses must not repeat a class" }).optional(),
|
|
9214
9214
|
/**
|
|
9215
|
-
*
|
|
9216
|
-
*
|
|
9215
|
+
* The LINKED devices whose RISING EDGE opens a window. Absent = the source
|
|
9216
|
+
* is not listened to; an empty array is rejected for the same reason as
|
|
9217
9217
|
* `objectClasses`.
|
|
9218
9218
|
*
|
|
9219
|
-
*
|
|
9220
|
-
*
|
|
9221
|
-
*
|
|
9222
|
-
*
|
|
9223
|
-
* device (D12) —
|
|
9219
|
+
* These are SOURCE device ids, not cameras: the band names them, so the
|
|
9220
|
+
* hot path (`DeviceStateChanged`, at bus rate across the whole fleet)
|
|
9221
|
+
* does no RPC. The OFFER from which the operator picks them is another question, and
|
|
9222
|
+
* is resolved with `deviceManager.getLinkedDevices` + `getBindingsBatch` per
|
|
9223
|
+
* device (D12) — never a global list of caps.
|
|
9224
9224
|
*
|
|
9225
|
-
*
|
|
9226
|
-
* `SOURCE_CAP_ACTIVE_FIELD` (`catalogs/sensor-active-state.ts`)
|
|
9227
|
-
*
|
|
9228
|
-
*
|
|
9229
|
-
*
|
|
9225
|
+
* What "high" means depends on the device TYPE and is not decided here:
|
|
9226
|
+
* `SOURCE_CAP_ACTIVE_FIELD` (`catalogs/sensor-active-state.ts`) is THE table,
|
|
9227
|
+
* the same one as the composite doorbell (D671). And it is the EDGE, not
|
|
9228
|
+
* the level: a contact found already open at runner restart does not
|
|
9229
|
+
* record.
|
|
9230
9230
|
*/
|
|
9231
9231
|
sensorDeviceIds: array(number().int().positive()).min(1).max(16).refine(noDuplicates, { message: "sensorDeviceIds must not repeat a device" }).optional()
|
|
9232
9232
|
});
|
|
@@ -10303,7 +10303,7 @@ var DecoderSessionConfigSchema = object({
|
|
|
10303
10303
|
* - **VALUE** — at which level, for which scope, until when. That stays ONE
|
|
10304
10304
|
* thing: the logging settings document on the `system` cap. Two authorities
|
|
10305
10305
|
* over the values is the exact defect
|
|
10306
|
-
* `docs/design/plans/2026-08-26-
|
|
10306
|
+
* `docs/design/plans/2026-08-26-per-component-logging.md` was written to
|
|
10307
10307
|
* remove; re-introducing it from the cure side would be grotesque.
|
|
10308
10308
|
*
|
|
10309
10309
|
* Nothing in this file reads a clock, an env var or a store. The registry is
|
|
@@ -13756,7 +13756,7 @@ method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
|
|
|
13756
13756
|
*
|
|
13757
13757
|
* ⚠ An earlier version of this comment blamed Zod stripping, and that
|
|
13758
13758
|
* was wrong — corrected 2026-08-26 after the hop map
|
|
13759
|
-
* (`docs/design/2026-08-26-
|
|
13759
|
+
* (`docs/design/2026-08-26-topic-hop-map.md`) traced the path.
|
|
13760
13760
|
* There is **no Zod parse at all** between the door and the engine: the
|
|
13761
13761
|
* dispatcher forwards the payload verbatim and UDS carries it whole. A
|
|
13762
13762
|
* field declared here reaches `SqliteSettingsBackend` either way.
|
|
@@ -14512,7 +14512,17 @@ var SiteZoneSchema = object({
|
|
|
14512
14512
|
var ProviderStatusSchema = object({
|
|
14513
14513
|
connected: boolean(),
|
|
14514
14514
|
deviceCount: number(),
|
|
14515
|
-
error: string().optional()
|
|
14515
|
+
error: string().optional(),
|
|
14516
|
+
/**
|
|
14517
|
+
* `'orchestrator'`: this provider writes NO camera's `motion` runtime slice
|
|
14518
|
+
* — the orchestrator is its only writer (D696). Set by `BaseDeviceProvider`,
|
|
14519
|
+
* which every provider bundles, so only a provider BUILT from D696-amended
|
|
14520
|
+
* code says it. ABSENT means an older provider that may still write it (raw
|
|
14521
|
+
* VMD writes, a boot seed), and the orchestrator's provider gate keeps that
|
|
14522
|
+
* provider's cameras unwritten (`camera-sensors/motion-slice-provider-gate.ts`)
|
|
14523
|
+
* — the provider twin of the runner's `getLocalLoad().motionSliceWriter`.
|
|
14524
|
+
*/
|
|
14525
|
+
motionSliceWriter: literal("orchestrator").optional()
|
|
14516
14526
|
});
|
|
14517
14527
|
object({
|
|
14518
14528
|
externalId: string(),
|
|
@@ -15648,7 +15658,7 @@ method(object({
|
|
|
15648
15658
|
* per-device window, `KeyFrameCaptureLog`, `bumpCropMetric`. Every one of them
|
|
15649
15659
|
* ends in a log line, and a log line is the thing the operator asked to stop
|
|
15650
15660
|
* needing: *"possiamo armare questi errori intanto? Così al prossimo giro
|
|
15651
|
-
* ricontrolliamo tutti questi punti"
|
|
15661
|
+
* 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
|
|
15652
15662
|
* hand-correlating timestamps, which is how a 22% thumbnail gap and a 3-hour
|
|
15653
15663
|
* media blackout were both diagnosed. The counters stay; this is where they can
|
|
15654
15664
|
* be READ.
|
|
@@ -19855,6 +19865,29 @@ object({
|
|
|
19855
19865
|
firstAt: number(),
|
|
19856
19866
|
lastAt: number()
|
|
19857
19867
|
});
|
|
19868
|
+
var NC_ALARM_TRIGGERED_MAX_SEC = 3600;
|
|
19869
|
+
var NcAlarmDelaySecSchema = number().int().min(0).max(600);
|
|
19870
|
+
var NcAlarmTriggeredSecSchema = number().int().min(0).max(NC_ALARM_TRIGGERED_MAX_SEC);
|
|
19871
|
+
var uniqueModes = (entries) => new Set(entries.map((e) => e.mode)).size === entries.length;
|
|
19872
|
+
var NcAlarmModeDelaysListSchema = array(object({
|
|
19873
|
+
mode: AlarmArmModeSchema,
|
|
19874
|
+
exitDelaySec: NcAlarmDelaySecSchema.optional(),
|
|
19875
|
+
entryDelaySec: NcAlarmDelaySecSchema.optional(),
|
|
19876
|
+
triggeredDurationSec: NcAlarmTriggeredSecSchema.optional()
|
|
19877
|
+
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one entry per arm mode" });
|
|
19878
|
+
var NcAlarmModeDelaysEditListSchema = array(object({
|
|
19879
|
+
mode: AlarmArmModeSchema,
|
|
19880
|
+
exitDelaySec: NcAlarmDelaySecSchema.nullable().optional(),
|
|
19881
|
+
entryDelaySec: NcAlarmDelaySecSchema.nullable().optional(),
|
|
19882
|
+
triggeredDurationSec: NcAlarmTriggeredSecSchema.nullable().optional()
|
|
19883
|
+
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one edit per arm mode" });
|
|
19884
|
+
/** One switch of the alarm table: put ONE device on, or take it off, ONE mode's list. */
|
|
19885
|
+
var NcAlarmNonBlockingEditSchema = object({
|
|
19886
|
+
mode: AlarmArmModeSchema,
|
|
19887
|
+
deviceId: number().int().positive(),
|
|
19888
|
+
/** true = on the list (may be open, does not block); false = off the list (blocks). */
|
|
19889
|
+
nonBlocking: boolean()
|
|
19890
|
+
});
|
|
19858
19891
|
/**
|
|
19859
19892
|
* The per-mode lists, at most one per mode. Two lists for one mode have no
|
|
19860
19893
|
* meaning a reader could agree on (union? the last one?), so they are refused
|
|
@@ -19863,10 +19896,10 @@ object({
|
|
|
19863
19896
|
var NcAlarmNonBlockingListSchema = array(object({
|
|
19864
19897
|
mode: AlarmArmModeSchema,
|
|
19865
19898
|
deviceIds: array(number().int()).max(200)
|
|
19866
|
-
})).max(8).refine(
|
|
19899
|
+
})).max(8).refine(uniqueModes, { message: "nonBlocking: at most one list per arm mode" });
|
|
19867
19900
|
/**
|
|
19868
|
-
* The three durations
|
|
19869
|
-
* transitions, and which openings each mode tolerates.
|
|
19901
|
+
* The three durations — global, and per mode since D697 — the panel's state
|
|
19902
|
+
* machine runs on, who hears about its transitions, and which openings each mode tolerates.
|
|
19870
19903
|
*
|
|
19871
19904
|
* They live on the NOTIFICATION-RULES cap, not on `alarm-panel`, on purpose:
|
|
19872
19905
|
* `alarm-panel` is `deviceNative` and its other provider mirrors somebody
|
|
@@ -19876,15 +19909,15 @@ var NcAlarmNonBlockingListSchema = array(object({
|
|
|
19876
19909
|
*/
|
|
19877
19910
|
var NcAlarmSettingsSchema = object({
|
|
19878
19911
|
/** Grace period between arming and the mode taking effect. 0 = immediate. */
|
|
19879
|
-
exitDelaySec:
|
|
19912
|
+
exitDelaySec: NcAlarmDelaySecSchema,
|
|
19880
19913
|
/** Grace period between a trigger and the alarm firing. 0 = immediate. */
|
|
19881
|
-
entryDelaySec:
|
|
19914
|
+
entryDelaySec: NcAlarmDelaySecSchema,
|
|
19882
19915
|
/**
|
|
19883
19916
|
* How long `triggered` lasts before the panel re-arms itself.
|
|
19884
19917
|
* **0 = until an operator disarms it** — the behaviour before this field
|
|
19885
19918
|
* existed, and therefore what an untouched install keeps doing.
|
|
19886
19919
|
*/
|
|
19887
|
-
triggeredDurationSec:
|
|
19920
|
+
triggeredDurationSec: NcAlarmTriggeredSecSchema,
|
|
19888
19921
|
/**
|
|
19889
19922
|
* Deprecated by D630 — every transition is announced. Parsed, never read;
|
|
19890
19923
|
* remove after one release. Optional so an older admin's patch (which still
|
|
@@ -19907,17 +19940,30 @@ var NcAlarmSettingsSchema = object({
|
|
|
19907
19940
|
* per mode is meaningful. Defaulted to `[]` so a blob stored before D630
|
|
19908
19941
|
* parses as "every opening blocks" — the behaviour it was written under.
|
|
19909
19942
|
*/
|
|
19910
|
-
nonBlocking: NcAlarmNonBlockingListSchema.default([])
|
|
19943
|
+
nonBlocking: NcAlarmNonBlockingListSchema.default([]),
|
|
19944
|
+
/**
|
|
19945
|
+
* Per arm mode, the delays that mode OVERRIDES (D697). A mode with no entry, or an entry
|
|
19946
|
+
* without a field, uses the global value above — so `[]`, the default, is exactly the
|
|
19947
|
+
* behaviour of a blob stored before this field existed. Read through `resolveModeDelays`.
|
|
19948
|
+
*/
|
|
19949
|
+
modeDelays: NcAlarmModeDelaysListSchema.default([])
|
|
19911
19950
|
});
|
|
19912
19951
|
/**
|
|
19913
19952
|
* Every field optional — a tab edits one control at a time.
|
|
19914
19953
|
*
|
|
19915
|
-
* `nonBlocking`
|
|
19916
|
-
* remove an inner `.default()`, so a patch that never
|
|
19917
|
-
* parse to `
|
|
19918
|
-
* (the same trap {@link NcRulePatchSchema} documents).
|
|
19954
|
+
* `nonBlocking` and `modeDelays` are re-declared WITHOUT their defaults:
|
|
19955
|
+
* `.partial()` does not remove an inner `.default()`, so a patch that never
|
|
19956
|
+
* named the field would parse to `[]` and wipe every mode's list on an
|
|
19957
|
+
* unrelated edit (the same trap {@link NcRulePatchSchema} documents). Here
|
|
19958
|
+
* `modeDelays` means EDITS, not the stored overrides.
|
|
19919
19959
|
*/
|
|
19920
|
-
var NcAlarmSettingsPatchSchema = NcAlarmSettingsSchema.extend({
|
|
19960
|
+
var NcAlarmSettingsPatchSchema = NcAlarmSettingsSchema.extend({
|
|
19961
|
+
nonBlocking: NcAlarmNonBlockingListSchema,
|
|
19962
|
+
/** Per-mode, per-field edits — NOT the whole list (see NcAlarmModeDelaysEditSchema). */
|
|
19963
|
+
modeDelays: NcAlarmModeDelaysEditListSchema,
|
|
19964
|
+
/** ONE membership change; the panel applies it to the list it holds at its turn. */
|
|
19965
|
+
nonBlockingEdit: NcAlarmNonBlockingEditSchema
|
|
19966
|
+
}).partial().refine((p) => p.nonBlocking === void 0 || p.nonBlockingEdit === void 0, { message: "nonBlocking and nonBlockingEdit are exclusive — send the whole lists or one edit" });
|
|
19921
19967
|
/**
|
|
19922
19968
|
* What one arm mode actually arms, DERIVED from the enabled rules gated on it.
|
|
19923
19969
|
* Never authored, never stored — see `alarm-mode-coverage.ts` for why a stored
|
|
@@ -20017,6 +20063,28 @@ var NcAlarmConfigSchema = object({
|
|
|
20017
20063
|
*/
|
|
20018
20064
|
live: NcAlarmLiveSchema.optional()
|
|
20019
20065
|
});
|
|
20066
|
+
var NcAlarmSensorReadingSchema = _enum([
|
|
20067
|
+
"open",
|
|
20068
|
+
"closed",
|
|
20069
|
+
"unknown",
|
|
20070
|
+
"not-opening"
|
|
20071
|
+
]);
|
|
20072
|
+
/** One device's state as the alarm reads it — the classifier the arm check uses. */
|
|
20073
|
+
var NcAlarmSensorStateSchema = object({
|
|
20074
|
+
deviceId: number().int().positive(),
|
|
20075
|
+
reading: NcAlarmSensorReadingSchema,
|
|
20076
|
+
/** The word as read (`open`, `closed`, `unlocked`, `stopped`, …); null when unknown / not an opening. */
|
|
20077
|
+
state: string().nullable(),
|
|
20078
|
+
/** Why `unknown`: the read failed, or the slice holds no word its cap defines (a placeholder included). */
|
|
20079
|
+
unknownWhy: _enum(["read-failed", "unknown-word"]).nullable(),
|
|
20080
|
+
/** The device manager's liveness as the centre mirrors it; null = not known. */
|
|
20081
|
+
online: boolean().nullable()
|
|
20082
|
+
});
|
|
20083
|
+
var NcAlarmSensorsInputSchema = object({ deviceIds: array(number().int().positive()).max(500) });
|
|
20084
|
+
var NcAlarmSensorsSchema = object({
|
|
20085
|
+
sensors: array(NcAlarmSensorStateSchema),
|
|
20086
|
+
readAt: number().int().nonnegative()
|
|
20087
|
+
});
|
|
20020
20088
|
/**
|
|
20021
20089
|
* ONE rule's demand on ONE camera's clip ring.
|
|
20022
20090
|
*
|
|
@@ -20107,7 +20175,7 @@ method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), m
|
|
|
20107
20175
|
}), method(object({}), NcAlarmConfigSchema, { auth: "admin" }), method(object({ patch: NcAlarmSettingsPatchSchema }), NcAlarmConfigSchema, {
|
|
20108
20176
|
kind: "mutation",
|
|
20109
20177
|
auth: "admin"
|
|
20110
|
-
});
|
|
20178
|
+
}), method(NcAlarmSensorsInputSchema, NcAlarmSensorsSchema, { auth: "admin" });
|
|
20111
20179
|
/**
|
|
20112
20180
|
* Zod schemas for persisted record types.
|
|
20113
20181
|
*
|
|
@@ -21259,14 +21327,14 @@ var TrackSchema = object({
|
|
|
21259
21327
|
* `derive-returned-null tile=standin`,
|
|
21260
21328
|
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
21261
21329
|
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
21262
|
-
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
21330
|
+
* The operator-facing answer to "perché manca l'immagine?" [why is the image missing?] on a track whose
|
|
21263
21331
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
21264
21332
|
*
|
|
21265
21333
|
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
21266
21334
|
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
21267
21335
|
* while its key frame missed carried no reason at all — three of the four
|
|
21268
21336
|
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
21269
|
-
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
21337
|
+
* that shape, and their "niente ultimo" [no last frame] had no cause anywhere on the row.
|
|
21270
21338
|
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
21271
21339
|
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
21272
21340
|
* tile ended up being.
|
|
@@ -21353,7 +21421,7 @@ var MotionEventSchema = object({
|
|
|
21353
21421
|
/**
|
|
21354
21422
|
* Ms offsets from `timestamp` (the episode's own first rising edge, so the
|
|
21355
21423
|
* first entry is always `0`) of every genuine off→on transition the
|
|
21356
|
-
* episode saw — "ogni evento on si deve salvare" (D475). NOT one entry per
|
|
21424
|
+
* episode saw — "ogni evento on si deve salvare" [every ON event must be saved] (D475). NOT one entry per
|
|
21357
21425
|
* push: a firmware source that keepalives at ~1 Hz for the whole burst
|
|
21358
21426
|
* (Reolink, Hikvision) produces exactly one edge; a source that reports an
|
|
21359
21427
|
* explicit `false` mid-episode and then resumes before the quiet window
|
|
@@ -26589,7 +26657,7 @@ var ClipPlaybackSchema = object({
|
|
|
26589
26657
|
* **One authorised yes is one wake.** `next-natural` — take the clip the next
|
|
26590
26658
|
* time the camera is awake for its own reasons — is deliberately not a member:
|
|
26591
26659
|
* it was proposed, it is free on the battery, and the operator declined it on
|
|
26592
|
-
* 2026-09-20 (*"Quando un export viene richiesto si sveglia la camera."
|
|
26660
|
+
* 2026-09-20 (*"Quando un export viene richiesto si sveglia la camera."* [When an export is requested the camera wakes up],
|
|
26593
26661
|
* D558 "Considered and not taken").
|
|
26594
26662
|
*/
|
|
26595
26663
|
var ClipWakeSchema = _enum(["authorised"]);
|
|
@@ -26850,7 +26918,7 @@ DeviceType.Camera, method(object({
|
|
|
26850
26918
|
* It replaced `sources?: string[]`, a VIEW filter over source ids that
|
|
26851
26919
|
* assumed the answer was a fan-out over everything a camera has. The
|
|
26852
26920
|
* operator settled otherwise on 2026-09-20 — *"l'utilizzatore è uno
|
|
26853
|
-
* solo"* — so the list is asked of one provider at a time and there is
|
|
26921
|
+
* solo"* [there is only one user] — so the list is asked of one provider at a time and there is
|
|
26854
26922
|
* nothing to filter out of it.
|
|
26855
26923
|
*/
|
|
26856
26924
|
provider: string().min(1)
|
|
@@ -32968,7 +33036,7 @@ var ReadGopBytesResultSchema = object({
|
|
|
32968
33036
|
/**
|
|
32969
33037
|
* A time WINDOW of one finalized segment, cut by byte range — the multi-GOP
|
|
32970
33038
|
* twin of {@link ReadGopBytesResultSchema}'s single instant. Built for the
|
|
32971
|
-
* replay clip's `recording` source (`docs/design/plans/2026-08-26-replay-
|
|
33039
|
+
* replay clip's `recording` source (`docs/design/plans/2026-08-26-clip-replay-on-pipeline.md`):
|
|
32972
33040
|
* a replay needs several seconds of native pixels, not one frame.
|
|
32973
33041
|
*
|
|
32974
33042
|
* `ok.data` is standalone-demuxable, same as a GOP read. `ok.reachesRequestedEnd`
|
|
@@ -40562,6 +40630,12 @@ Object.freeze({
|
|
|
40562
40630
|
addonId: null,
|
|
40563
40631
|
access: "view"
|
|
40564
40632
|
},
|
|
40633
|
+
"notificationRules.getAlarmSensors": {
|
|
40634
|
+
capName: "notification-rules",
|
|
40635
|
+
capScope: "system",
|
|
40636
|
+
addonId: null,
|
|
40637
|
+
access: "view"
|
|
40638
|
+
},
|
|
40565
40639
|
"notificationRules.getClipRetentionAsks": {
|
|
40566
40640
|
capName: "notification-rules",
|
|
40567
40641
|
capScope: "system",
|
|
@@ -45045,6 +45119,11 @@ Object.freeze({
|
|
|
45045
45119
|
form: "single",
|
|
45046
45120
|
optional: false
|
|
45047
45121
|
}],
|
|
45122
|
+
"notificationRules.getAlarmSensors": [{
|
|
45123
|
+
name: "deviceIds",
|
|
45124
|
+
form: "array",
|
|
45125
|
+
optional: false
|
|
45126
|
+
}],
|
|
45048
45127
|
"notificationRules.setDeviceMuted": [{
|
|
45049
45128
|
name: "deviceId",
|
|
45050
45129
|
form: "single",
|
|
@@ -46842,7 +46921,7 @@ var PreviewTextField = string().max(200);
|
|
|
46842
46921
|
* Whether the notification's preview is a STILL or a short animation.
|
|
46843
46922
|
*
|
|
46844
46923
|
* The operator's ask, verbatim: *"inviato come gif o video (come per le altre
|
|
46845
|
-
* rule)"* — the other rules already offer an animated preview, and a ten-hour
|
|
46924
|
+
* rule)"* [sent as a gif or video (as for the other rules)] — the other rules already offer an animated preview, and a ten-hour
|
|
46846
46925
|
* night reads better as three seconds of motion than as one frame of it. Both
|
|
46847
46926
|
* modes get the SAME treatment (blurred frame, large centred title); `'gif'`
|
|
46848
46927
|
* simply applies it to a dozen frames sampled across the render and assembles
|
|
@@ -47184,7 +47263,7 @@ var AgentUIAddon = class extends BaseAddon {
|
|
|
47184
47263
|
capability: adminUiCapability,
|
|
47185
47264
|
provider: {
|
|
47186
47265
|
getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
|
|
47187
|
-
getVersion: async () => ({ version: "1.2.
|
|
47266
|
+
getVersion: async () => ({ version: "1.2.163" })
|
|
47188
47267
|
}
|
|
47189
47268
|
}];
|
|
47190
47269
|
}
|