@camstack/addon-post-analysis 1.2.308 → 1.2.310
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/{clip-model-registry-FGOIz3PZ.mjs → clip-model-registry-BROqj9pS.mjs} +258 -187
- package/dist/{clip-model-registry-BqrTKyUe.js → clip-model-registry-xYrJkXdS.js} +263 -186
- package/dist/embedding-encoder/index.js +1 -1
- package/dist/embedding-encoder/index.mjs +1 -1
- package/dist/pipeline-analytics/_stub.js +1 -1
- package/dist/pipeline-analytics/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-61DKRi3y.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-KF5Fk8sD.mjs} +3 -3
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DytyGNZ-.mjs +26 -0
- package/dist/pipeline-analytics/{hostInit-BeNsqz7j.mjs → hostInit-B3xcTHUM.mjs} +3 -3
- package/dist/pipeline-analytics/index.js +741 -152
- package/dist/pipeline-analytics/index.mjs +741 -152
- package/dist/pipeline-analytics/remoteEntry.js +1 -1
- package/package.json +2 -2
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-C-9GoNIB.mjs +0 -26
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createHash } from "node:crypto";
|
|
2
|
-
//#region ../types/dist/event-category-
|
|
2
|
+
//#region ../types/dist/event-category-BGmz_oxW.mjs
|
|
3
3
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4
4
|
EventCategory["SystemBoot"] = "system.boot";
|
|
5
5
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -532,6 +532,15 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
532
532
|
*/
|
|
533
533
|
EventCategory["PipelineAudioInferenceResult"] = "pipeline.audio-inference-result";
|
|
534
534
|
EventCategory["DetectionPhaseTransition"] = "detection.phase-transition";
|
|
535
|
+
/**
|
|
536
|
+
* A camera provider's RAW onboard motion push (D673): the `MotionOnMotionChanged`
|
|
537
|
+
* data shape without `triggeredBy`, built by `providerMotionEvent`. Its one
|
|
538
|
+
* consumer is the orchestrator's camera-sensors bridge, which re-emits the
|
|
539
|
+
* camera's EFFECTIVE onboard motion as `MotionOnMotionChanged` (a pass-through
|
|
540
|
+
* for a camera with no attached sensor). Providers must not emit
|
|
541
|
+
* `MotionOnMotionChanged` themselves; `scripts/check-onboard-motion-emitters.ts`
|
|
542
|
+
* keeps it so (camera-grid is a named, deferred exception).
|
|
543
|
+
*/
|
|
535
544
|
EventCategory["ProviderMotion"] = "provider.motion";
|
|
536
545
|
EventCategory["ProviderDetection"] = "provider.detection";
|
|
537
546
|
EventCategory["EnrichmentEmbeddingStored"] = "enrichment.embedding.stored";
|
|
@@ -5378,7 +5387,7 @@ var ZodIssueCode = {
|
|
|
5378
5387
|
var ZodFirstPartyTypeKind;
|
|
5379
5388
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5380
5389
|
//#endregion
|
|
5381
|
-
//#region ../types/dist/sleep-
|
|
5390
|
+
//#region ../types/dist/sleep-CDCONfkt.mjs
|
|
5382
5391
|
/**
|
|
5383
5392
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5384
5393
|
* window to float samples (D455).
|
|
@@ -7637,7 +7646,7 @@ function errMsg(err) {
|
|
|
7637
7646
|
return String(err);
|
|
7638
7647
|
}
|
|
7639
7648
|
//#endregion
|
|
7640
|
-
//#region ../types/dist/composition-
|
|
7649
|
+
//#region ../types/dist/composition-43aqsZQj.mjs
|
|
7641
7650
|
/**
|
|
7642
7651
|
* Deterministic SHA-256 hash of an arbitrary serialisable value. The
|
|
7643
7652
|
* canonical form sorts object keys alphabetically at every depth so two
|
|
@@ -7725,13 +7734,12 @@ portable("linux64"), portable("linuxarm64"), portable("macarm64"), portable("mac
|
|
|
7725
7734
|
* LA tabella "quale booleano di questo tipo di device conta come ALTO", e il
|
|
7726
7735
|
* valutatore puro del suo FRONTE.
|
|
7727
7736
|
*
|
|
7728
|
-
*
|
|
7729
|
-
*
|
|
7730
|
-
*
|
|
7731
|
-
*
|
|
7732
|
-
*
|
|
7733
|
-
* fa suonare il campanello ma non registra" — è esattamente D62.
|
|
7734
|
-
* SPOSTA qui e il doorbell la ri-esporta.
|
|
7737
|
+
* UNA tabella per tutti quelli che chiedono "questo device è ALTO?": il
|
|
7738
|
+
* trigger `RecordingTriggers.sensorDeviceIds` del recorder, i marker dei
|
|
7739
|
+
* sensori della post-analysis, il bridge camera-sensors dell'orchestratore e
|
|
7740
|
+
* le sorgenti di un campanello composto (`doorbellFeatureSources`, D671).
|
|
7741
|
+
* Una seconda copia divergerebbe alla prima cap aggiunta, e il sintomo — "il
|
|
7742
|
+
* sensore fa suonare il campanello ma non registra" — è esattamente D62.
|
|
7735
7743
|
*
|
|
7736
7744
|
* ⚠ NON è `DEVICE_STATE_READERS` (`catalogs/device-state-vocabulary.ts`), e le
|
|
7737
7745
|
* due non vanno unificate: quella risponde a "qual è la PAROLA di stato per una
|
|
@@ -7781,8 +7789,6 @@ var SOURCE_CAP_CHANGED_AT_FIELD = {
|
|
|
7781
7789
|
vibration: "lastChangedAt",
|
|
7782
7790
|
tamper: "lastChangedAt"
|
|
7783
7791
|
};
|
|
7784
|
-
/** Cap names whose presence in a device's bindings qualify it as a source. */
|
|
7785
|
-
var SOURCE_CAPS = Object.keys(SOURCE_CAP_ACTIVE_FIELD);
|
|
7786
7792
|
/** True when a cap is a recognised binary/switch source. */
|
|
7787
7793
|
function isSourceCap(capName) {
|
|
7788
7794
|
return Object.prototype.hasOwnProperty.call(SOURCE_CAP_ACTIVE_FIELD, capName);
|
|
@@ -9863,7 +9869,7 @@ var RecordingTriggersSchema = object({
|
|
|
9863
9869
|
*
|
|
9864
9870
|
* Cosa vuol dire "alto" dipende dal TIPO di device e non è deciso qui:
|
|
9865
9871
|
* `SOURCE_CAP_ACTIVE_FIELD` (`catalogs/sensor-active-state.ts`) è LA tabella,
|
|
9866
|
-
* la stessa
|
|
9872
|
+
* la stessa del campanello composto (D671). Ed è il FRONTE, non
|
|
9867
9873
|
* il livello: un contatto trovato già aperto al riavvio del runner non fa
|
|
9868
9874
|
* registrare.
|
|
9869
9875
|
*/
|
|
@@ -16423,109 +16429,10 @@ method(object({
|
|
|
16423
16429
|
deviceIds: array(number()).readonly(),
|
|
16424
16430
|
caps: array(string()).readonly().optional()
|
|
16425
16431
|
}), record(string(), record(string(), unknown().nullable())));
|
|
16426
|
-
|
|
16427
|
-
|
|
16428
|
-
* name (same pattern as `snapshot`):
|
|
16429
|
-
*
|
|
16430
|
-
* - **Native** providers: registered per-device by device-driver
|
|
16431
|
-
* addons via `ctx.registerNativeCap` — either on a
|
|
16432
|
-
* `DeviceType.Button` accessory with `role: DeviceRole.Doorbell`,
|
|
16433
|
-
* or directly on the camera (Reolink registers at camera level).
|
|
16434
|
-
* Emits an `onPressed` event every time the firmware pushes a
|
|
16435
|
-
* ring; status tracks the last press and a pressCount since start
|
|
16436
|
-
* (diagnostic).
|
|
16437
|
-
*
|
|
16438
|
-
* - **Wrapper** provider: the `virtual-doorbell` system builtin
|
|
16439
|
-
* (`@camstack/system/builtins/doorbell`). Turns ANY binary-ish
|
|
16440
|
-
* device (contact / switch / event-emitter …) into a doorbell for
|
|
16441
|
-
* a camera. `defaultActive: false` — the operator explicitly binds
|
|
16442
|
-
* it per camera in the device-bindings UI, then picks the source
|
|
16443
|
-
* device + trigger in the per-device settings.
|
|
16444
|
-
*
|
|
16445
|
-
* The DeviceEventPropagator re-emits `onPressed` on the camera parent
|
|
16446
|
-
* — subscribers listening at the camera level receive ring events
|
|
16447
|
-
* with `via[]` populated. No code on the parent needed.
|
|
16448
|
-
*/
|
|
16449
|
-
var DoorbellStatusSchema = object({
|
|
16450
|
-
/** Ms epoch of the last press. null = never observed since this provider started. */
|
|
16451
|
-
lastPressedAt: number().nullable(),
|
|
16452
|
-
/** Counter since provider start. Resets on reboot. Useful for metrics/debug. */
|
|
16453
|
-
pressCountSinceStart: number()
|
|
16454
|
-
});
|
|
16455
|
-
var DoorbellPressEventSchema = object({
|
|
16456
|
-
deviceId: number(),
|
|
16457
|
-
timestamp: number()
|
|
16458
|
-
});
|
|
16459
|
-
/**
|
|
16460
|
-
* The `doorbell-source` extension slot's editable value (D648): the camera's
|
|
16461
|
-
* virtual-doorbell trigger devices, exactly what the wrapper's
|
|
16462
|
-
* `doorbellSources` persists (as `{ deviceId }` records).
|
|
16463
|
-
*/
|
|
16464
|
-
var DoorbellSourceSlotValueSchema = object({ deviceIds: array(number().int().positive()) });
|
|
16465
|
-
/**
|
|
16466
|
-
* The `doorbell-source` slot — which devices ring this camera's VIRTUAL
|
|
16467
|
-
* doorbell, owned by the `virtual-doorbell` wrapper over its
|
|
16468
|
-
* `doorbellSources` store (D648). A source rings when one of its
|
|
16469
|
-
* `SOURCE_CAPS` rises. Whether the wrapper is bound to the camera at all is a
|
|
16470
|
-
* different authority (`deviceManager.setWrapperActive`, D62) — the slot
|
|
16471
|
-
* reports it, it never writes it.
|
|
16472
|
-
*/
|
|
16473
|
-
var DOORBELL_SOURCE_SLOT = {
|
|
16474
|
-
id: "doorbell-source",
|
|
16475
|
-
label: "Doorbell trigger devices",
|
|
16476
|
-
description: "Any of these becoming active rings this camera's virtual doorbell: a binary sensor when it goes active, a switch when it turns on.",
|
|
16477
|
-
shape: "association",
|
|
16478
|
-
hostDeviceTypes: [DeviceType.Camera],
|
|
16479
|
-
sourceCaps: SOURCE_CAPS,
|
|
16480
|
-
cardinality: "many",
|
|
16481
|
-
value: DoorbellSourceSlotValueSchema
|
|
16482
|
-
};
|
|
16483
|
-
var doorbellCapability = {
|
|
16484
|
-
name: "doorbell",
|
|
16485
|
-
scope: "device",
|
|
16486
|
-
deviceNative: true,
|
|
16487
|
-
mode: "singleton",
|
|
16488
|
-
kind: "wrapper",
|
|
16489
|
-
defaultActive: false,
|
|
16490
|
-
deviceTypes: [DeviceType.Button, DeviceType.Camera],
|
|
16491
|
-
extensionSlots: [DOORBELL_SOURCE_SLOT],
|
|
16492
|
-
methods: {},
|
|
16493
|
-
events: {
|
|
16494
|
-
/**
|
|
16495
|
-
* Fires once per physical press. Reolink delivers via Baichuan
|
|
16496
|
-
* push (`ReolinkSimpleEvent.type === 'doorbell'`). There is no
|
|
16497
|
-
* release/duration — it's a pulse.
|
|
16498
|
-
*/
|
|
16499
|
-
onPressed: {
|
|
16500
|
-
data: DoorbellPressEventSchema,
|
|
16501
|
-
fromState: {
|
|
16502
|
-
field: "lastPressedAt",
|
|
16503
|
-
on: "advance"
|
|
16504
|
-
}
|
|
16505
|
-
} },
|
|
16506
|
-
status: {
|
|
16507
|
-
schema: DoorbellStatusSchema,
|
|
16508
|
-
kind: "push"
|
|
16509
|
-
},
|
|
16510
|
-
/**
|
|
16511
|
-
* Runtime-state slice — last press timestamp + lifetime press count.
|
|
16512
|
-
* Mirrored by the kernel and readable via
|
|
16513
|
-
* `device.state.doorbell.value`. UIs can show "last ring 5m ago"
|
|
16514
|
-
* without subscribing.
|
|
16515
|
-
*/
|
|
16516
|
-
runtimeState: DoorbellStatusSchema,
|
|
16517
|
-
/**
|
|
16518
|
-
* Runtime-state durability: **restored** — a monotonic accumulator: the slice IS the record. `lastPressedAt` is content here, not a clock, so it is deliberately NOT volatile.
|
|
16519
|
-
*
|
|
16520
|
-
* See `RuntimeStateDurability`. Enforced by
|
|
16521
|
-
* `scripts/check-runtime-state-durability.ts`.
|
|
16522
|
-
*/
|
|
16523
|
-
durability: "restored"
|
|
16524
|
-
};
|
|
16525
|
-
var ExtensionSlotIdSchema = _enum(["doorbell-source", "linked-devices"]);
|
|
16526
|
-
DeviceType.Camera, DeviceType.Camera;
|
|
16432
|
+
var ExtensionSlotIdSchema = _enum(["linked-devices"]);
|
|
16433
|
+
DeviceType.Camera;
|
|
16527
16434
|
/** A slot's editable value, discriminated on `slot`. */
|
|
16528
|
-
var ExtensionSlotValueSchema = discriminatedUnion("slot", [
|
|
16435
|
+
var ExtensionSlotValueSchema = discriminatedUnion("slot", [LinkedDevicesSlotValueSchema.extend({ slot: literal("linked-devices") })]);
|
|
16529
16436
|
DeviceType.Camera;
|
|
16530
16437
|
var ExtensionSourceAvailabilitySchema = discriminatedUnion("state", [object({ state: literal("ok") }), object({
|
|
16531
16438
|
state: literal("unreachable"),
|
|
@@ -16562,10 +16469,11 @@ var ExtensionSlotSourceSchema = object({
|
|
|
16562
16469
|
});
|
|
16563
16470
|
/**
|
|
16564
16471
|
* A DIFFERENT authority that gates whether the slot's sources do anything —
|
|
16565
|
-
* reported read-only, named, never written through this contract (D62).
|
|
16566
|
-
*
|
|
16567
|
-
*
|
|
16568
|
-
* `unknown` means the gate could
|
|
16472
|
+
* reported read-only, named, never written through this contract (D62) — e.g.
|
|
16473
|
+
* a slot whose sources act only while a wrapper is bound to the host, a
|
|
16474
|
+
* binding that belongs to `deviceManager.setWrapperActive`. No slot reports
|
|
16475
|
+
* one today (`linked-devices` answers `null`). `unknown` means the gate could
|
|
16476
|
+
* not be read; it is not "inactive" (D315).
|
|
16569
16477
|
*/
|
|
16570
16478
|
var ExtensionSlotActivationSchema = object({
|
|
16571
16479
|
state: _enum([
|
|
@@ -16581,7 +16489,7 @@ var ExtensionSlotRowSchema = discriminatedUnion("state", [object({
|
|
|
16581
16489
|
/** `<source>:<slotId>` — the routing key for `listCandidates` / `setSlot`. */
|
|
16582
16490
|
slotRef: string(),
|
|
16583
16491
|
slot: ExtensionSlotIdSchema,
|
|
16584
|
-
/** Names the store written (D62), e.g. `
|
|
16492
|
+
/** Names the store written (D62), e.g. `device-manager:_linkedDeviceIds`. */
|
|
16585
16493
|
authority: string(),
|
|
16586
16494
|
activation: ExtensionSlotActivationSchema.nullable(),
|
|
16587
16495
|
value: ExtensionSlotValueSchema,
|
|
@@ -19806,17 +19714,25 @@ var NcScheduleSchema = object({
|
|
|
19806
19714
|
*/
|
|
19807
19715
|
var NcSystemEventDeliveryModeSchema = _enum(["instant", "summary"]);
|
|
19808
19716
|
/**
|
|
19717
|
+
* How a summary window is SENT (D698): `rule` (absent) = ONE notification with
|
|
19718
|
+
* every section; `section` = one notification per section with something to
|
|
19719
|
+
* say (an unavailable section included), each titled by its section.
|
|
19720
|
+
*/
|
|
19721
|
+
var NcStateSummarySplitSchema = _enum(["rule", "section"]);
|
|
19722
|
+
/**
|
|
19809
19723
|
* `summary`: the rule sends NOTHING per event. When a window of `schedule`
|
|
19810
19724
|
* CLOSES, it sends one notification with the current state of its kinds
|
|
19811
19725
|
* (low batteries, consumables to replace, devices offline, updates
|
|
19812
|
-
* available, ...), after its own filters
|
|
19726
|
+
* available, ...), after its own filters — or, with `split: 'section'`
|
|
19727
|
+
* (D698), one notification per section. Nothing to report sends nothing.
|
|
19813
19728
|
* The schedule is the ordinary `NcSchedule` (weekly windows, IANA timezone,
|
|
19814
19729
|
* midnight crossing); the send time is each window's END. Refused on the
|
|
19815
19730
|
* `alarm` family, which stays instant (`systemEventDeliveryProblems`).
|
|
19816
19731
|
*/
|
|
19817
19732
|
var NcSystemEventDeliverySchema = discriminatedUnion("mode", [object({ mode: literal("instant") }), object({
|
|
19818
19733
|
mode: literal("summary"),
|
|
19819
|
-
schedule: NcScheduleSchema
|
|
19734
|
+
schedule: NcScheduleSchema,
|
|
19735
|
+
split: NcStateSummarySplitSchema.optional()
|
|
19820
19736
|
})]);
|
|
19821
19737
|
/** Fuzzy plate matcher — OCR noise makes exact match useless (spec row 12/13). */
|
|
19822
19738
|
var NcPlateMatcherSchema = object({
|
|
@@ -20833,11 +20749,23 @@ var NcStateSummaryPreviewSectionSchema = object({
|
|
|
20833
20749
|
reason: string().optional()
|
|
20834
20750
|
});
|
|
20835
20751
|
/**
|
|
20752
|
+
* One notification a previewed summary would send (D698): the whole summary on
|
|
20753
|
+
* a `rule` split (no `section`), one section's on a `section` split.
|
|
20754
|
+
*/
|
|
20755
|
+
var NcStateSummaryPreviewRowSchema = object({
|
|
20756
|
+
section: string().optional(),
|
|
20757
|
+
/** The section's name on a per-section row; every reported section's, joined, on a combined one. */
|
|
20758
|
+
title: string(),
|
|
20759
|
+
text: string(),
|
|
20760
|
+
count: number().int().nonnegative()
|
|
20761
|
+
});
|
|
20762
|
+
/**
|
|
20836
20763
|
* The summary a rule would send now. `empty` = nothing to report and every
|
|
20837
20764
|
* section read: such a summary is NOT sent. `dropped` counts the open states
|
|
20838
20765
|
* the rule's own filters (or a camera mute) left out, by reason.
|
|
20839
20766
|
* `excludedGroups` names the kind groups selected that have no state to report
|
|
20840
|
-
* (backups & exports).
|
|
20767
|
+
* (backups & exports). `split` and `rows` (D698) say how it would be sent —
|
|
20768
|
+
* optional, so an older hub's answer still parses.
|
|
20841
20769
|
*/
|
|
20842
20770
|
var NcStateSummaryPreviewSchema = object({
|
|
20843
20771
|
empty: boolean(),
|
|
@@ -20845,7 +20773,9 @@ var NcStateSummaryPreviewSchema = object({
|
|
|
20845
20773
|
text: string(),
|
|
20846
20774
|
sections: array(NcStateSummaryPreviewSectionSchema),
|
|
20847
20775
|
dropped: record(string(), number().int().nonnegative()),
|
|
20848
|
-
excludedGroups: array(string())
|
|
20776
|
+
excludedGroups: array(string()),
|
|
20777
|
+
split: NcStateSummarySplitSchema.optional(),
|
|
20778
|
+
rows: array(NcStateSummaryPreviewRowSchema).optional()
|
|
20849
20779
|
});
|
|
20850
20780
|
var NcTestResultSchema = object({
|
|
20851
20781
|
recordId: string(),
|
|
@@ -22591,12 +22521,26 @@ var CameraSensorRefSchema = object({
|
|
|
22591
22521
|
function cameraSensorRefKey(ref) {
|
|
22592
22522
|
return `${ref.addonId}/${ref.stableId}`;
|
|
22593
22523
|
}
|
|
22594
|
-
/**
|
|
22595
|
-
|
|
22596
|
-
|
|
22597
|
-
|
|
22598
|
-
|
|
22599
|
-
|
|
22524
|
+
/**
|
|
22525
|
+
* A sensor's mode (D673). `in-addition`: its motion is the camera's motion too.
|
|
22526
|
+
* `replace`: its motion is the camera's, and while one is READY the camera's
|
|
22527
|
+
* own motion no longer counts on its own. `confirm`: while one is READY the
|
|
22528
|
+
* camera's own motion counts only while a confirm sensor is active — with or
|
|
22529
|
+
* without a replace sensor (spec C2, the controller's ruling on Q1).
|
|
22530
|
+
*/
|
|
22531
|
+
var CameraSensorModeSchema = _enum([
|
|
22532
|
+
"in-addition",
|
|
22533
|
+
"confirm",
|
|
22534
|
+
"replace"
|
|
22535
|
+
]);
|
|
22536
|
+
/** A stored sensor with no mode — every CS-1 row — is in addition. */
|
|
22537
|
+
var DEFAULT_CAMERA_SENSOR_MODE = "in-addition";
|
|
22538
|
+
/**
|
|
22539
|
+
* A camera's attached sensors. A CS-1 row carried an envelope
|
|
22540
|
+
* `mode: 'in-addition'`: `z.object` drops it on parse, and the PARSED value is
|
|
22541
|
+
* what the write stores (D672 rule 3), so it is never written again.
|
|
22542
|
+
*/
|
|
22543
|
+
var CameraSensorsConfigSchema = object({ sensors: array(CameraSensorRefSchema.extend({ mode: CameraSensorModeSchema.default(DEFAULT_CAMERA_SENSOR_MODE) })).min(1).max(8) }).superRefine((value, ctx) => {
|
|
22600
22544
|
const seen = /* @__PURE__ */ new Set();
|
|
22601
22545
|
value.sensors.forEach((ref, index) => {
|
|
22602
22546
|
const key = cameraSensorRefKey(ref);
|
|
@@ -22608,39 +22552,41 @@ var CameraSensorsConfigSchema = object({
|
|
|
22608
22552
|
seen.add(key);
|
|
22609
22553
|
});
|
|
22610
22554
|
});
|
|
22611
|
-
|
|
22555
|
+
/** Every attachment names its mode; an older orchestrator that does not is in addition. */
|
|
22556
|
+
var AttachmentFields = {
|
|
22612
22557
|
addonId: string(),
|
|
22613
|
-
stableId: string()
|
|
22558
|
+
stableId: string(),
|
|
22559
|
+
mode: CameraSensorModeSchema.default(DEFAULT_CAMERA_SENSOR_MODE)
|
|
22614
22560
|
};
|
|
22615
22561
|
var CameraSensorAttachmentSchema = discriminatedUnion("state", [
|
|
22616
22562
|
object({
|
|
22617
|
-
...
|
|
22563
|
+
...AttachmentFields,
|
|
22618
22564
|
state: literal("ready"),
|
|
22619
22565
|
deviceId: number(),
|
|
22620
22566
|
name: string(),
|
|
22621
22567
|
caps: array(string()).readonly()
|
|
22622
22568
|
}),
|
|
22623
22569
|
object({
|
|
22624
|
-
...
|
|
22570
|
+
...AttachmentFields,
|
|
22625
22571
|
state: literal("offline"),
|
|
22626
22572
|
deviceId: number(),
|
|
22627
22573
|
name: string(),
|
|
22628
22574
|
reason: _enum(["offline", "disabled"])
|
|
22629
22575
|
}),
|
|
22630
22576
|
object({
|
|
22631
|
-
...
|
|
22577
|
+
...AttachmentFields,
|
|
22632
22578
|
state: literal("missing"),
|
|
22633
22579
|
reason: string()
|
|
22634
22580
|
}),
|
|
22635
22581
|
object({
|
|
22636
|
-
...
|
|
22582
|
+
...AttachmentFields,
|
|
22637
22583
|
state: literal("unsupported"),
|
|
22638
22584
|
deviceId: number(),
|
|
22639
22585
|
name: string(),
|
|
22640
22586
|
reason: string()
|
|
22641
22587
|
}),
|
|
22642
22588
|
object({
|
|
22643
|
-
...
|
|
22589
|
+
...AttachmentFields,
|
|
22644
22590
|
state: literal("unreadable"),
|
|
22645
22591
|
reason: string()
|
|
22646
22592
|
})
|
|
@@ -22653,17 +22599,49 @@ var CameraSensorAttachmentSchema = discriminatedUnion("state", [
|
|
|
22653
22599
|
* say.
|
|
22654
22600
|
*/
|
|
22655
22601
|
var CameraSensorsNotForwardedSchema = _enum(["onboard-not-listed", "no-active-detection"]);
|
|
22602
|
+
/** Whether the camera's OWN motion counts on its own (D673 C2), from its READY sensors (C3). */
|
|
22603
|
+
var CameraOwnMotionSchema = _enum([
|
|
22604
|
+
"always",
|
|
22605
|
+
"when-confirmed",
|
|
22606
|
+
"never"
|
|
22607
|
+
]);
|
|
22608
|
+
/** Confirm / Replace cannot suppress this camera's motion: its provider still emits it directly (D673 C13). */
|
|
22609
|
+
var CameraSensorsNotEnforcedSchema = _enum(["provider-not-split"]);
|
|
22610
|
+
/**
|
|
22611
|
+
* The camera's OWN onboard motion (D696): the raw input the bridge combines,
|
|
22612
|
+
* never the effective value. The camera's `motion` slice is the effective one,
|
|
22613
|
+
* so a view of the camera's own row reads this.
|
|
22614
|
+
* - `atMs`: when the bridge received the camera's last own edge.
|
|
22615
|
+
* - `detected`: evaluated WHEN THE STATUS IS ASKED — the last edge said `true`
|
|
22616
|
+
* AND it is younger than the window the bridge counts the camera's own motion
|
|
22617
|
+
* for (`motionCooldownMs`, floored at two sustain ticks). A camera that never
|
|
22618
|
+
* sends a clear (heartbeats only) therefore reads `false` once no push came
|
|
22619
|
+
* within the window; a status read is a snapshot, so a live view re-asks.
|
|
22620
|
+
* Absent = this orchestrator has not received the camera's own motion since it
|
|
22621
|
+
* started (unknown, never "quiet"), or an orchestrator older than D696.
|
|
22622
|
+
*/
|
|
22623
|
+
var CameraRawLevelSchema = object({
|
|
22624
|
+
detected: boolean(),
|
|
22625
|
+
atMs: number()
|
|
22626
|
+
});
|
|
22656
22627
|
var CameraSensorsStatusSchema = discriminatedUnion("state", [
|
|
22657
|
-
object({
|
|
22628
|
+
object({
|
|
22629
|
+
state: literal("not-configured"),
|
|
22630
|
+
cameraLevel: CameraRawLevelSchema.optional()
|
|
22631
|
+
}),
|
|
22658
22632
|
object({
|
|
22659
22633
|
state: literal("unreadable"),
|
|
22660
|
-
reason: string()
|
|
22634
|
+
reason: string(),
|
|
22635
|
+
cameraLevel: CameraRawLevelSchema.optional()
|
|
22661
22636
|
}),
|
|
22662
22637
|
object({
|
|
22663
22638
|
state: literal("configured"),
|
|
22664
|
-
|
|
22639
|
+
cameraLevel: CameraRawLevelSchema.optional(),
|
|
22665
22640
|
sensors: array(CameraSensorAttachmentSchema).readonly(),
|
|
22666
|
-
|
|
22641
|
+
/** Absent = an orchestrator older than CS-2: it does not say (D315). */
|
|
22642
|
+
cameraMotion: CameraOwnMotionSchema.optional(),
|
|
22643
|
+
notForwarded: CameraSensorsNotForwardedSchema.optional(),
|
|
22644
|
+
notEnforced: CameraSensorsNotEnforcedSchema.optional()
|
|
22667
22645
|
})
|
|
22668
22646
|
]);
|
|
22669
22647
|
Object.freeze({
|
|
@@ -26656,8 +26634,10 @@ var RunnerCameraConfigSchema = object({
|
|
|
26656
26634
|
* - `analyzer`: ML/frame-diff motion detection (motion-wasm or other
|
|
26657
26635
|
* analyzer providers) running on decoded frames in this runner.
|
|
26658
26636
|
* - `onboard`: camera-native motion pushes (Reolink Baichuan, ONVIF
|
|
26659
|
-
* analytics). The provider emits ProviderMotion
|
|
26660
|
-
*
|
|
26637
|
+
* analytics). The provider emits its raw push as `ProviderMotion`
|
|
26638
|
+
* (D673); the orchestrator's camera-sensors bridge re-emits the camera's
|
|
26639
|
+
* effective motion as `MotionOnMotionChanged`, which is what reaches
|
|
26640
|
+
* `reportMotion`.
|
|
26661
26641
|
*/
|
|
26662
26642
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
26663
26643
|
/**
|
|
@@ -26834,7 +26814,15 @@ var RunnerLocalLoadSchema = object({
|
|
|
26834
26814
|
hasGpu: boolean(),
|
|
26835
26815
|
inferenceBackend: string().optional(),
|
|
26836
26816
|
cpuCores: number().optional()
|
|
26837
|
-
})
|
|
26817
|
+
}),
|
|
26818
|
+
/**
|
|
26819
|
+
* Who writes a camera's `motion` runtime slice (D696). `'orchestrator'`: this
|
|
26820
|
+
* runner never writes it. ABSENT = a runner older than D696, which still
|
|
26821
|
+
* writes the slice from its phase machine; the orchestrator does not write
|
|
26822
|
+
* while any runner node is absent-or-unanswered, so one slice never has two
|
|
26823
|
+
* writers.
|
|
26824
|
+
*/
|
|
26825
|
+
motionSliceWriter: literal("orchestrator").optional()
|
|
26838
26826
|
});
|
|
26839
26827
|
/**
|
|
26840
26828
|
* Aggregate runtime metrics for the runner's whole local pool. Mirrors the
|
|
@@ -32439,6 +32427,70 @@ onStatusChanged: { data: object({
|
|
|
32439
32427
|
* whether persisting is worth a SQLite commit. */
|
|
32440
32428
|
volatileStateFields: ["lastChangedAt"]
|
|
32441
32429
|
};
|
|
32430
|
+
var DoorbellStatusSchema = object({
|
|
32431
|
+
/** Ms epoch of the last press. null = never observed since this provider started. */
|
|
32432
|
+
lastPressedAt: number().nullable(),
|
|
32433
|
+
/** Counter since provider start. Resets on reboot. Useful for metrics/debug. */
|
|
32434
|
+
pressCountSinceStart: number()
|
|
32435
|
+
});
|
|
32436
|
+
var DoorbellPressEventSchema = object({
|
|
32437
|
+
deviceId: number(),
|
|
32438
|
+
timestamp: number()
|
|
32439
|
+
});
|
|
32440
|
+
/**
|
|
32441
|
+
* Doorbell button cap. Two kinds of provider serve it, and to every consumer
|
|
32442
|
+
* they are the same cap:
|
|
32443
|
+
*
|
|
32444
|
+
* - **Native** providers, registered per device by a driver addon through
|
|
32445
|
+
* `ctx.registerNativeCap` — a `DeviceType.Button` accessory with
|
|
32446
|
+
* `role: DeviceRole.Doorbell`, or the camera itself (Reolink registers at
|
|
32447
|
+
* camera level). They emit `onPressed` on every firmware ring.
|
|
32448
|
+
* - **A composed doorbell** (D670, D671): a camera's customization gives it
|
|
32449
|
+
* the cap, its `lastPressedAt` rising from the sources the operator
|
|
32450
|
+
* assigned in Customize → Doorbell, and the composer emits `onPressed`
|
|
32451
|
+
* from that field's advance (`fromState`).
|
|
32452
|
+
*
|
|
32453
|
+
* The DeviceEventPropagator re-emits `onPressed` on the camera parent.
|
|
32454
|
+
*/
|
|
32455
|
+
var doorbellCapability = {
|
|
32456
|
+
name: "doorbell",
|
|
32457
|
+
scope: "device",
|
|
32458
|
+
deviceNative: true,
|
|
32459
|
+
mode: "singleton",
|
|
32460
|
+
deviceTypes: [DeviceType.Button, DeviceType.Camera],
|
|
32461
|
+
methods: {},
|
|
32462
|
+
events: {
|
|
32463
|
+
/**
|
|
32464
|
+
* Fires once per physical press. Reolink delivers via Baichuan
|
|
32465
|
+
* push (`ReolinkSimpleEvent.type === 'doorbell'`). There is no
|
|
32466
|
+
* release/duration — it's a pulse.
|
|
32467
|
+
*/
|
|
32468
|
+
onPressed: {
|
|
32469
|
+
data: DoorbellPressEventSchema,
|
|
32470
|
+
fromState: {
|
|
32471
|
+
field: "lastPressedAt",
|
|
32472
|
+
on: "advance"
|
|
32473
|
+
}
|
|
32474
|
+
} },
|
|
32475
|
+
status: {
|
|
32476
|
+
schema: DoorbellStatusSchema,
|
|
32477
|
+
kind: "push"
|
|
32478
|
+
},
|
|
32479
|
+
/**
|
|
32480
|
+
* Runtime-state slice — last press timestamp + lifetime press count.
|
|
32481
|
+
* Mirrored by the kernel and readable via
|
|
32482
|
+
* `device.state.doorbell.value`. UIs can show "last ring 5m ago"
|
|
32483
|
+
* without subscribing.
|
|
32484
|
+
*/
|
|
32485
|
+
runtimeState: DoorbellStatusSchema,
|
|
32486
|
+
/**
|
|
32487
|
+
* Runtime-state durability: **restored** — a monotonic accumulator: the slice IS the record. `lastPressedAt` is content here, not a clock, so it is deliberately NOT volatile.
|
|
32488
|
+
*
|
|
32489
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
32490
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
32491
|
+
*/
|
|
32492
|
+
durability: "restored"
|
|
32493
|
+
};
|
|
32442
32494
|
/**
|
|
32443
32495
|
* Enum-state sensor — a string value picked from a finite option set.
|
|
32444
32496
|
* Drives HA `sensor` entries with `state_class: enum` (HVAC action
|
|
@@ -34653,11 +34705,11 @@ authKey: string().optional() }), object({
|
|
|
34653
34705
|
/**
|
|
34654
34706
|
* How long after a camera's last rising edge `pipeline-analytics` closes the
|
|
34655
34707
|
* motion EPISODE row it kept open for it (D475) — "il delay della cap", in
|
|
34656
|
-
* the operator's words. One authority for the whole system:
|
|
34657
|
-
*
|
|
34658
|
-
*
|
|
34659
|
-
* seed its internal 3 s inactivity timer here,
|
|
34660
|
-
* a different purpose), and `MotionEpisodeTracker` imports it directly rather
|
|
34708
|
+
* the operator's words. One authority for the whole system: the writer of a
|
|
34709
|
+
* `Camera` device's slice (the orchestrator, D696) writes this SAME constant
|
|
34710
|
+
* in `autoClearAfterMs` while `detected: true` (never a camera's own clock —
|
|
34711
|
+
* Hikvision used to seed its internal 3 s inactivity timer here, a different
|
|
34712
|
+
* clock for a different purpose), and `MotionEpisodeTracker` imports it directly rather
|
|
34661
34713
|
* than reading the live cap value on the hot path. A `Sensor` device (HA
|
|
34662
34714
|
* binary sensor, Homematic) gets a genuine push both ways and has no episode
|
|
34663
34715
|
* to close on a timer, so it writes `null`, never this constant.
|
|
@@ -34668,9 +34720,9 @@ var MotionStatusSchema = object({
|
|
|
34668
34720
|
/** Ms epoch of the last detected-true observation. Null if never detected. */
|
|
34669
34721
|
lastDetectedAt: number().nullable(),
|
|
34670
34722
|
/**
|
|
34671
|
-
* `MOTION_CLOSE_AFTER_MS` while `detected: true` on a `Camera` device
|
|
34672
|
-
* `null` while false and on every `Sensor`
|
|
34673
|
-
* constant's doc for the one-authority rule.
|
|
34723
|
+
* `MOTION_CLOSE_AFTER_MS` while `detected: true` on a `Camera` device (the
|
|
34724
|
+
* orchestrator writes it, D696), `null` while false and on every `Sensor`
|
|
34725
|
+
* device (D475) — see that constant's doc for the one-authority rule.
|
|
34674
34726
|
*
|
|
34675
34727
|
* ## Reading this field still arms nothing
|
|
34676
34728
|
*
|
|
@@ -34688,34 +34740,31 @@ var MotionStatusSchema = object({
|
|
|
34688
34740
|
* `addon-export-alexa/src/motion-clear-hold.ts` and
|
|
34689
34741
|
* `addon-export-hap`'s `RESET_DEBOUNCE_MS` both do.
|
|
34690
34742
|
*
|
|
34691
|
-
* ## Who writes it
|
|
34692
|
-
*
|
|
34693
|
-
* - **Cameras** — the
|
|
34694
|
-
*
|
|
34695
|
-
* `
|
|
34696
|
-
* `
|
|
34697
|
-
*
|
|
34698
|
-
*
|
|
34699
|
-
* a
|
|
34700
|
-
*
|
|
34701
|
-
*
|
|
34702
|
-
*
|
|
34703
|
-
*
|
|
34704
|
-
*
|
|
34705
|
-
*
|
|
34706
|
-
*
|
|
34707
|
-
*
|
|
34708
|
-
*
|
|
34709
|
-
* `
|
|
34710
|
-
*
|
|
34711
|
-
*
|
|
34712
|
-
*
|
|
34713
|
-
*
|
|
34714
|
-
*
|
|
34715
|
-
*
|
|
34716
|
-
* This predates D475 and is not fixed there: the fix touches every
|
|
34717
|
-
* camera provider. Recorded in D475's Consequences. Do not restore the
|
|
34718
|
-
* "sole writer" wording without also removing the other writers.
|
|
34743
|
+
* ## Who writes it (D696)
|
|
34744
|
+
*
|
|
34745
|
+
* - **Cameras** — the orchestrator, and nothing else. It writes the camera's
|
|
34746
|
+
* EFFECTIVE motion (`addon-pipeline-orchestrator`
|
|
34747
|
+
* `camera-sensors/motion-slice.ts`), alongside the effective
|
|
34748
|
+
* `MotionOnMotionChanged` it emits or receives: the camera-sensors bridge
|
|
34749
|
+
* for a split camera, an unsplit emitter's direct event, the analyzer and
|
|
34750
|
+
* device activity, as the camera's `motionSources` counts them. A source
|
|
34751
|
+
* that never sends a clear falls one window after its last `true`.
|
|
34752
|
+
* `lastDetectedAt` moves only on an effective rise. No camera provider
|
|
34753
|
+
* writes this slice (not even a boot seed), and neither does the runner's
|
|
34754
|
+
* phase machine: its phase is "a session is attached" for every on-motion
|
|
34755
|
+
* session, not motion, and it now has its own `DetectionPhaseTransition`.
|
|
34756
|
+
* A provider's `isDetected` answers from the hub's slice.
|
|
34757
|
+
* - **Sensors** (Home Assistant binary sensors, Homematic, Matter, Alexa
|
|
34758
|
+
* imports) — the provider pushes both edges itself, from the upstream
|
|
34759
|
+
* system's own state change. That is the sensor's own fact.
|
|
34760
|
+
*
|
|
34761
|
+
* `scripts/check-onboard-motion-emitters.ts` refuses any other writer of a
|
|
34762
|
+
* `motion` slice; each sensor writer is a named exemption.
|
|
34763
|
+
*
|
|
34764
|
+
* This replaces the D475 §4 rule ("the phase machine is the sole writer").
|
|
34765
|
+
* That rule was never true: Hikvision and Amcrest wrote the slice raw beside
|
|
34766
|
+
* it, every provider seeded it at boot, and every session left it
|
|
34767
|
+
* `detected: true` after its detach.
|
|
34719
34768
|
*/
|
|
34720
34769
|
autoClearAfterMs: number().nullable()
|
|
34721
34770
|
});
|
|
@@ -34787,11 +34836,12 @@ onMotionChanged: { data: MotionOnMotionChangedDataSchema } },
|
|
|
34787
34836
|
*/
|
|
34788
34837
|
runtimeState: MotionStatusSchema,
|
|
34789
34838
|
/**
|
|
34790
|
-
* Runtime-state durability: **session** —
|
|
34839
|
+
* Runtime-state durability: **session** — the writer of this slice
|
|
34791
34840
|
* writes only on an EDGE, so a restored `detected: true` would stay
|
|
34792
34841
|
* frozen until the next one instead of being corrected. The next edge
|
|
34793
|
-
* re-publishes the real state
|
|
34794
|
-
*
|
|
34842
|
+
* re-publishes the real state, and the orchestrator re-publishes every
|
|
34843
|
+
* camera when it starts writing (D696; on who writes it, see
|
|
34844
|
+
* `autoClearAfterMs` above).
|
|
34795
34845
|
*
|
|
34796
34846
|
* See `RuntimeStateDurability`. Enforced by
|
|
34797
34847
|
* `scripts/check-runtime-state-durability.ts`.
|
|
@@ -37208,8 +37258,7 @@ var ptzAutotrackCapability = {
|
|
|
37208
37258
|
deviceNative: true,
|
|
37209
37259
|
mode: "singleton",
|
|
37210
37260
|
/**
|
|
37211
|
-
* Two kinds of provider behind one name, the same shape `snapshot`
|
|
37212
|
-
* `doorbell` use:
|
|
37261
|
+
* Two kinds of provider behind one name, the same shape `snapshot` uses:
|
|
37213
37262
|
*
|
|
37214
37263
|
* - **Native**: the camera's own firmware autotrack, registered per device by
|
|
37215
37264
|
* the driver when the probe says it exists (Reolink: yes; Hikvision:
|
|
@@ -37217,7 +37266,7 @@ var ptzAutotrackCapability = {
|
|
|
37217
37266
|
* - **Wrapper**: the emulated implementation (`@camstack/system`'s `autotrack` builtin),
|
|
37218
37267
|
* which follows a subject with `ptz.move` pulses driven by the detection
|
|
37219
37268
|
* pipeline. `defaultActive: false` — the operator binds it per camera in
|
|
37220
|
-
* the bindings UI
|
|
37269
|
+
* the bindings UI.
|
|
37221
37270
|
*
|
|
37222
37271
|
* The binding chooses WHICH implementation answers; `setEnabled` stays the
|
|
37223
37272
|
* one switch for the function either way. A camera never has both driving its
|
|
@@ -53838,6 +53887,18 @@ var STATE_SUMMARY_VARS = [
|
|
|
53838
53887
|
systemEventKinds: [...SUMMARISABLE],
|
|
53839
53888
|
systemEventDeliveries: ["summary"]
|
|
53840
53889
|
},
|
|
53890
|
+
{
|
|
53891
|
+
name: "summarySection",
|
|
53892
|
+
label: "Summary: this section",
|
|
53893
|
+
description: "The section a per-section summary row is about (D698); on a summary sent as one message, every section it reports, comma-separated.",
|
|
53894
|
+
example: "Batterie scariche",
|
|
53895
|
+
group: "system",
|
|
53896
|
+
families: ["rule"],
|
|
53897
|
+
fields: [...RULE_TEXT],
|
|
53898
|
+
kinds: ["system"],
|
|
53899
|
+
systemEventKinds: [...SUMMARISABLE],
|
|
53900
|
+
systemEventDeliveries: ["summary"]
|
|
53901
|
+
},
|
|
53841
53902
|
...STATE_SUMMARY_SECTION_VARS.map((v) => ({
|
|
53842
53903
|
name: v.name,
|
|
53843
53904
|
label: v.label,
|
|
@@ -54678,6 +54739,15 @@ function systemEventSummaryScheduleOf(rule) {
|
|
|
54678
54739
|
const delivery = rule.systemEventDelivery;
|
|
54679
54740
|
return delivery?.mode === "summary" ? delivery.schedule : null;
|
|
54680
54741
|
}
|
|
54742
|
+
/**
|
|
54743
|
+
* How a summary rule's window is sent (D698): `section` = one notification per
|
|
54744
|
+
* section; absent (every rule before D698) and any non-summary rule = `rule`.
|
|
54745
|
+
* The ONE reader — the scheduler, the rule test, the preview and both editors.
|
|
54746
|
+
*/
|
|
54747
|
+
function systemEventSummarySplitOf(rule) {
|
|
54748
|
+
const delivery = rule.systemEventDelivery;
|
|
54749
|
+
return delivery?.mode === "summary" ? delivery.split ?? "rule" : "rule";
|
|
54750
|
+
}
|
|
54681
54751
|
/** Absent and `instant` are the same answer: a notification per event. */
|
|
54682
54752
|
function isSystemEventSummaryRule(rule) {
|
|
54683
54753
|
return systemEventSummaryScheduleOf(rule) !== null;
|
|
@@ -55071,6 +55141,7 @@ function readTimelapseGeneratedAt(rule, deviceId) {
|
|
|
55071
55141
|
if (map !== void 0) return map[String(deviceId)] ?? 0;
|
|
55072
55142
|
return rule.lastGeneratedAt ?? 0;
|
|
55073
55143
|
}
|
|
55144
|
+
MotionOnMotionChangedDataSchema.omit({ triggeredBy: true });
|
|
55074
55145
|
object({
|
|
55075
55146
|
/**
|
|
55076
55147
|
* Fraction of the box's own size added on EACH side before cutting.
|
|
@@ -56044,4 +56115,4 @@ function buildClipModelRegistry(entries) {
|
|
|
56044
56115
|
/** The built-in catalog's registry. */
|
|
56045
56116
|
var BUILTIN_CLIP_MODELS = buildClipModelRegistry(CLIP_IMAGE_MODELS);
|
|
56046
56117
|
//#endregion
|
|
56047
|
-
export { NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT as $, ruleDeviceCompatCapQueries as $n, TimelapseRuleInputSchema as $t, EMBEDDING_REQUIREMENTS_FAILED as A, isDetectionMacroClass as An,
|
|
56118
|
+
export { NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT as $, ruleDeviceCompatCapQueries as $n, TimelapseRuleInputSchema as $t, EMBEDDING_REQUIREMENTS_FAILED as A, isDetectionMacroClass as An, sleep as Ar, NcTemplateVarDescriptorSchema as At, ListTrackRelationsInputSchema as B, memoizePinnedFfmpeg as Bn, partialRecord as Br, SCENE_DEFAULT_ANCHOR_THRESHOLD as Bt, DEFAULT_EVENT_COLOR as C, encodeVectorBase64 as Cn, createEvent as Cr, NcSnoozeInputSchema as Ct, DeclaredDevices as D, gifDeriveSpeed as Dn, isDeviceScopedCap as Dr, NcTaxonomySchema as Dt, DETECTION_PIPELINE_CAP_NAME as E, failureContributionCapability as En, hydrateSchema as Er, NcSystemEventKindSchema as Et, EXPORT_DENSE_MAX_RANGES as F, isSystemDelivery as Fn, discriminatedUnion as Fr, RECORDING_SOURCE_CAMSTACK_ADDON as Ft, MAX_BIRTH_LATENCY_PROXY_MS as G, plateGalleryCapability as Gn, union as Gr, SCENE_DIVERGED as Gt, LockStateSchema as H, occupancyScope as Hn, strictObject as Hr, SCENE_DEFAULT_OBSERVATION_SPACING_SEC as Ht, FIRST_LEVEL_MACRO_CLASSES as I, isSystemEventSummaryRule as In, literal as Ir, RebuildObjectEmbeddingsRefusalSchema as It, MOTION_CLOSE_AFTER_MS as J, readTimelapseGeneratedAt as Jn, SetTrackPurityInputSchema as Jt, MAX_TRACK_PURITIES as K, readDeviceStateFrom as Kn, unknown as Kr, SCENE_RESET_RECAPTURES as Kt, FULL_IMAGE_BBOX as L, isVectorIndexDimConflict as Ln, looseObject as Lr, RetrainStatusSchema as Lt, EVENT_DENSITY_BATCH_MAX as M, isKnownTemplateVar as Mn, _enum as Mr, OpsLogEntrySchema as Mt, EVENT_KIND_BY_CAP as N, isMediaOwnerType as Nn, array as Nr, PoolMemoryWatchdog as Nt, DetectionSourceSchema as O, gifFromMp4Args as On, nodePin as Or, NcTemplatePreviewInputSchema as Ot, EVENT_OWNER_TYPES as P, isScheduleActive as Pn, boolean as Pr, RECORDING_EXPORT_MAX_READ_BYTES as Pt, NC_AUDIO_CONFIRM_HITS_DEFAULT as Q, ruleBelongsToAlarm as Qn, TRACK_RELATIONS_DEFAULT_LIMIT as Qt, FailureCounters as R, kebabToCamel as Rn, number as Rr, SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX as Rt, CoverStateSchema as S, embeddingRequirementsUnavailableError as Sn, CamProfileSchema as Sr, NcScheduleSchema as St, DETECTION_MACRO_CLASSES as T, faceGalleryCapability as Tn, defineCustomActions as Tr, NcSnoozeSuppressedSchema as Tt, MAX_ARCHIVED_DEBUG_NOTES as U, parseProcStatus as Un, string as Ur, SCENE_DEFAULT_QUIET_SECONDS as Ut, ListTrackRelationsResultSchema as V, notificationRulesCapability as Vn, record as Vr, SCENE_DEFAULT_CHECK_INTERVAL_SEC as Vt, MAX_BIRTH_DECISION_RECORDS as W, pipelineAnalyticsCapability as Wn, tuple as Wr, SCENE_DEFAULT_UNCOVERED_POLICY as Wt, MotionTriggeredBySchema as X, resolveLocationMode as Xn, SetTrackRelationInputSchema as Xt, MediaFileKindEnum as Y, resolveClipSearchMinScore as Yn, SetTrackPurityResultSchema as Yt, NC_ALARM_SYSTEM_EVENT_KINDS as Z, resolvePoolMemoryPolicy as Zn, TIMELAPSE_DENSE_FLOOR_SEC as Zt, BaseDevice as _, describeSystemEventFamilyProblem as _n, evaluateSensorEdge as _r, NcRuleInputSchema as _t, CLIP_EMBEDDING_STEP_ID as a, TrackSideSchema as an, subKindsOf as ar, NC_CONSUMABLE_SYSTEM_EVENT_KINDS as at, ClearTrackRelationInputSchema as b, embeddingRefusalOf as bn, errMsg as br, NcRuleTargetSchema as bt, resolveClusterModelPin as c, alarmPanelCapability as cn, systemEventFilterApplies as cr, NC_SNOOZE_MAX_MINUTES as ct, APPEARANCE_RESOLVES_AMBIGUITY_DEFAULT as d, audioModeOf as dn, templateCarriesSummary as dr, NC_TAXONOMY as dt, TimelapseRulePatchSchema as en, ruleKindOf as er, NC_CLIP_POST_ROLL_DEFAULT_SEC as et, ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT as f, buildEventKindDescriptor as fn, templateVarsFor as fr, NC_TEMPLATE_VARS as ft, BIRTH_DECISION_DEFAULT_LIMIT as g, describeSystemEventDeliveryProblem as gn, canonicalHash as gr, NcConditionsSchema as gt, ArchivedDebugNoteSchema as h, deriveRecordingMode as hn, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS as hr, NcConditionDescriptorSchema as ht, CLIP_TEXT_MODELS as i, TrackRelationSchema as in, storageOccupancyCapability as ir, NC_CONSUMABLE_LOW_PERCENT_DEFAULT as it, EMBEDDING_REQUIREMENTS_UNAVAILABLE as j, isEventOwnerType as jn, ZodObject as jr, OPS_LOG_DEFAULT_LIMIT as jt, EMBEDDING_MODEL_FAILED as k, isAudioClassName as kn, normalizeNodeId as kr, NcTemplatePreviewSchema as kt, APPEARANCE_BIN_COUNT as l, assertTimelapseCadences as ln, systemEventSummaryScheduleOf as lr, NC_SYSTEM_EVENT_KIND_GROUP_SPECS as lt, AlarmArmModeSchema as m, cosineSimilarity as mn, zoneAnalyticsCapability as mr, NcAlarmSettingsPatchSchema as mt, DEFAULT_CLIP_MODEL as n, TrackPuritySchema as nn, sensorRaisedOf as nr, NC_CLIP_RETENTION_MAX_SEC as nt, FACE_EMBEDDING_STEP_ID as o, TrackSourceSchema as on, systemEventDeliveryProblems as or, NC_DEFAULT_SNOOZE_MINUTES as ot, AUDIO_MACRO_LABELS as p, consumableLowPercentOf as pn, vectorDimFromBase64 as pr, NcAlarmConfigSchema as pt, MAX_TRACK_RELATIONS as q, readMotionTriggeredBy as qn, EventCategory as qr, SceneMonitorSchema as qt, CLIP_IMAGE_MODELS as r, TrackRelationKindSchema as rn, servedTemplateVars as rr, NC_CONDITION_CATALOG as rt, readClusterModelPinStrict as s, addonWidgetsSourceCapability as sn, systemEventFamilyProblems as sr, NC_SENSOR_TRANSITION_KINDS as st, BUILTIN_CLIP_MODELS as t, TimelapseRuleSchema as tn, sceneMonitorCapability as tr, NC_CLIP_PRE_ROLL_DEFAULT_SEC as tt, APPEARANCE_BLOCKS as u, audioMetricsCapability as un, systemEventSummarySplitOf as ur, NC_TANK_SYSTEM_EVENT_KINDS as ut, BirthDecisionRecordSchema as v, embeddingEncoderCapability as vn, isSourceCap as vr, NcRulePatchSchema as vt, DEFAULT_TIMELAPSE_PREVIEW_TEXT as w, evictionPolicyOfLocation as wn, customAction as wr, NcSnoozeSchema as wt, ClearTrackRelationResultSchema as x, embeddingRequirementsFailedError as xn, BaseAddon as xr, NcRuleUpdateInputSchema as xt, COCO_TO_MACRO as y, embeddingModelFailedError as yn, DeviceType as yr, NcRuleSchema as yt, LabelAttributionSchema as z, mayWriteToLocation as zn, object as zr, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS as zt };
|