@camstack/addon-post-analysis 1.2.73 → 1.2.75
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/{dist-_D0jdUh4.mjs → dist-BA7ThdEJ.mjs} +245 -9
- package/dist/{dist-DDv-TKUR.js → dist-DseTbokb.js} +274 -8
- 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-Cbess8m-.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-YItCXmVN.mjs} +3 -3
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-BgpX7t50.mjs +26 -0
- package/dist/pipeline-analytics/{hostInit-D4P0Tmio.mjs → hostInit-DRCS32f_.mjs} +3 -3
- package/dist/pipeline-analytics/index.js +4346 -992
- package/dist/pipeline-analytics/index.mjs +4342 -988
- package/dist/pipeline-analytics/remoteEntry.js +1 -1
- package/package.json +4 -1
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-DE456p1Q.mjs +0 -26
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../types/dist/event-category-
|
|
1
|
+
//#region ../types/dist/event-category-Bxo5yJjt.mjs
|
|
2
2
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
3
3
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4
4
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -205,6 +205,33 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
205
205
|
EventCategory["PipelineCameraAssigned"] = "pipeline.camera-assigned";
|
|
206
206
|
EventCategory["PipelineCameraUnassigned"] = "pipeline.camera-unassigned";
|
|
207
207
|
/**
|
|
208
|
+
* A node the orchestrator would otherwise place cameras on has NO usable
|
|
209
|
+
* inference device: the operator enabled one or more accelerators there and
|
|
210
|
+
* the live probe reports every one of them unavailable. Emitted once per
|
|
211
|
+
* TRANSITION into that state (never per dispatch), and the node is dropped
|
|
212
|
+
* from the placement candidate set for as long as it holds.
|
|
213
|
+
*
|
|
214
|
+
* This exists because the state was previously invisible: little-unraid
|
|
215
|
+
* absorbed 283k inference errors in a day while still being handed cameras,
|
|
216
|
+
* and nothing in the system said so.
|
|
217
|
+
*
|
|
218
|
+
* A node with no accelerators configured at all is NOT this — its devices
|
|
219
|
+
* are `disabled`, not `unavailable`, and the runner's default CPU pool
|
|
220
|
+
* serves it exactly as before.
|
|
221
|
+
*/
|
|
222
|
+
EventCategory["PipelineNodeInferenceUnavailable"] = "pipeline.node-inference-unavailable";
|
|
223
|
+
/**
|
|
224
|
+
* A camera has an OPEN detection session and has produced no detection at
|
|
225
|
+
* all for longer than the blind threshold — the camera is being decoded and
|
|
226
|
+
* inferred and is returning nothing. Emitted once per transition into blind,
|
|
227
|
+
* per camera.
|
|
228
|
+
*
|
|
229
|
+
* The failure it reports: a 1h43 detection blackout on the entrance camera
|
|
230
|
+
* that nobody noticed, because "a camera that detects nothing" and "a quiet
|
|
231
|
+
* camera" produce byte-identical silence.
|
|
232
|
+
*/
|
|
233
|
+
EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
|
|
234
|
+
/**
|
|
208
235
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
209
236
|
* (3-level settings change via `setAgentAddonDefaults` /
|
|
210
237
|
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
@@ -5369,6 +5396,12 @@ Object.fromEntries([
|
|
|
5369
5396
|
icon: "shapes",
|
|
5370
5397
|
order: 38
|
|
5371
5398
|
},
|
|
5399
|
+
{
|
|
5400
|
+
id: "scenes",
|
|
5401
|
+
label: "Scenes",
|
|
5402
|
+
icon: "scan-eye",
|
|
5403
|
+
order: 36
|
|
5404
|
+
},
|
|
5372
5405
|
{
|
|
5373
5406
|
id: "analytics",
|
|
5374
5407
|
label: "Analytics",
|
|
@@ -14549,6 +14582,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
14549
14582
|
"stream-offline",
|
|
14550
14583
|
"node-online",
|
|
14551
14584
|
"node-offline",
|
|
14585
|
+
"node-inference-unavailable",
|
|
14586
|
+
"detection-blind",
|
|
14552
14587
|
"addon-update-available",
|
|
14553
14588
|
"server-update-available",
|
|
14554
14589
|
"alarm-triggered",
|
|
@@ -15356,7 +15391,50 @@ var NcRuleInputSchema = object({
|
|
|
15356
15391
|
* tests every zone the track visited and a `crossing` condition can no longer
|
|
15357
15392
|
* be satisfied, because a closed track carries no crossing.
|
|
15358
15393
|
*/
|
|
15359
|
-
waitForEnhancement: boolean().optional()
|
|
15394
|
+
waitForEnhancement: boolean().optional(),
|
|
15395
|
+
/**
|
|
15396
|
+
* GROUP a burst of subjects into ONE notification that grows.
|
|
15397
|
+
*
|
|
15398
|
+
* Seconds of quiet after the last matching subject before the burst is
|
|
15399
|
+
* considered over. While it is open, the first subject enqueues immediately —
|
|
15400
|
+
* **exactly as today, with no added latency** — and every real growth (a new
|
|
15401
|
+
* subject, or a name confirmed on one already in it) REPLACES that
|
|
15402
|
+
* notification with an updated one naming everybody. The push carries the
|
|
15403
|
+
* group's own coalescing tag, so the phone replaces rather than stacks.
|
|
15404
|
+
*
|
|
15405
|
+
* `0` / absent = off, and off is today's behaviour byte for byte.
|
|
15406
|
+
*
|
|
15407
|
+
* ### Why an idle cutoff and not a window
|
|
15408
|
+
*
|
|
15409
|
+
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
15410
|
+
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
15411
|
+
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
15412
|
+
* 30 is Frigate's shipped value for the same decision.
|
|
15413
|
+
*
|
|
15414
|
+
* ### What it replaces
|
|
15415
|
+
*
|
|
15416
|
+
* The blind cooldown, which collapses a burst by DISCARDING it. Measured on
|
|
15417
|
+
* device 615 / *Persona su Uscio* over six days: 116 qualifying tracks → 74
|
|
15418
|
+
* notifications, **44 (37.9%) suppressed outright**, 23 of them overlapping a
|
|
15419
|
+
* track that did fire and 7 carrying a confirmed identity nobody heard about.
|
|
15420
|
+
* A group collapses the same volume by MERGING, so the cooldown becomes a
|
|
15421
|
+
* budget over GROUPS — which is what it always meant — and a growth is never
|
|
15422
|
+
* throttled by the window its own first member spent.
|
|
15423
|
+
*
|
|
15424
|
+
* ### Interaction with {@link waitForEnhancement}
|
|
15425
|
+
*
|
|
15426
|
+
* They compose, and the order matters. `waitForEnhancement` defers the rule to
|
|
15427
|
+
* TRACK CLOSE, so with both set the group is opened by the first member to
|
|
15428
|
+
* CLOSE — already carrying its name — and grows as later members close. That
|
|
15429
|
+
* is later, and complete. With grouping alone the group opens on the first
|
|
15430
|
+
* object event and picks up names as they are confirmed, through the growth
|
|
15431
|
+
* path. Neither combination fires twice for one subject.
|
|
15432
|
+
*
|
|
15433
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15434
|
+
* on the addon cap path, so absent must keep meaning what it meant before this
|
|
15435
|
+
* field existed.
|
|
15436
|
+
*/
|
|
15437
|
+
groupIdleSec: number().int().min(0).max(600).optional()
|
|
15360
15438
|
});
|
|
15361
15439
|
/**
|
|
15362
15440
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
|
@@ -15543,6 +15621,14 @@ var NC_CONDITION_CATALOG = [
|
|
|
15543
15621
|
value: "node-offline",
|
|
15544
15622
|
label: "Node offline"
|
|
15545
15623
|
},
|
|
15624
|
+
{
|
|
15625
|
+
value: "node-inference-unavailable",
|
|
15626
|
+
label: "Node has no usable inference device"
|
|
15627
|
+
},
|
|
15628
|
+
{
|
|
15629
|
+
value: "detection-blind",
|
|
15630
|
+
label: "Camera detecting nothing"
|
|
15631
|
+
},
|
|
15546
15632
|
{
|
|
15547
15633
|
value: "addon-update-available",
|
|
15548
15634
|
label: "Addon update available"
|
|
@@ -16789,7 +16875,7 @@ var TrackEnvelopeSchema = object({
|
|
|
16789
16875
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
16790
16876
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
16791
16877
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
16792
|
-
* zonesVisited, bestEventId, envelope, hasFace) and returns `positions` /
|
|
16878
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
16793
16879
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
16794
16880
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
16795
16881
|
* (`getObjectEvents` et al.).
|
|
@@ -17076,6 +17162,28 @@ var TrackSchema = object({
|
|
|
17076
17162
|
* `=== true` and render nothing otherwise, never infer "no face".
|
|
17077
17163
|
*/
|
|
17078
17164
|
hasFace: boolean().optional(),
|
|
17165
|
+
/**
|
|
17166
|
+
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
17167
|
+
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
17168
|
+
* so the passage is tracked once and as a VEHICLE.
|
|
17169
|
+
*
|
|
17170
|
+
* It exists because the fold's record was dishonest. D34 and the code both
|
|
17171
|
+
* said "the person is not lost — it is reported so both entities stay on the
|
|
17172
|
+
* record"; in fact the pair went into a per-processor RAM field behind an
|
|
17173
|
+
* accessor nobody called, and every durable surface said `vehicle`, full
|
|
17174
|
+
* stop. This is the composition note that makes the row true.
|
|
17175
|
+
*
|
|
17176
|
+
* A COMPOSITION, never a class and never a label. "This vehicle contains a
|
|
17177
|
+
* person" is not an answer to "what is this" — both label tiers would refuse
|
|
17178
|
+
* a macro token anyway (D89), and correctly. Nothing here changes what the
|
|
17179
|
+
* subject IS: a cyclist stays one vehicle track, occupancy still counts one,
|
|
17180
|
+
* and a `person` rule still does not fire for someone cycling past.
|
|
17181
|
+
*
|
|
17182
|
+
* **Absent ≠ false**, exactly like {@link hasFace}: every row written before
|
|
17183
|
+
* the column, and every hub that predates the field, omits it. Test
|
|
17184
|
+
* `=== true` and render nothing otherwise — never infer "no rider".
|
|
17185
|
+
*/
|
|
17186
|
+
hasRider: boolean().optional(),
|
|
17079
17187
|
...TrackFlagFields,
|
|
17080
17188
|
...TrackRetrainFields
|
|
17081
17189
|
});
|
|
@@ -27371,9 +27479,38 @@ method(object({
|
|
|
27371
27479
|
* settings-contribution methods. `status.kind:'push'` — the engine pushes on
|
|
27372
27480
|
* every hysteresis flip / availability change; consumers never poll.
|
|
27373
27481
|
*/
|
|
27374
|
-
/** Extensible condition tag. Seeded 'day' | '
|
|
27375
|
-
*
|
|
27482
|
+
/** Extensible condition tag. Seeded 'day' | 'ir' (the two variants the operator
|
|
27483
|
+
* captures) plus 'night' | 'dawn' | 'dusk' from the resolver's sun-times band.
|
|
27484
|
+
* Open by design so more can be added without a wire break.
|
|
27485
|
+
*
|
|
27486
|
+
* Matching does NOT fall back across conditions: cross-condition cosines are
|
|
27487
|
+
* not comparable, so "I have never seen this scene in this light" is reported
|
|
27488
|
+
* as `unknown`, never guessed. A day reference scored against an IR frame
|
|
27489
|
+
* collapses the cosine and would latch a false alarm every single night. */
|
|
27376
27490
|
var SceneConditionSchema = string();
|
|
27491
|
+
/** Reserved, engine-owned state id standing for "the region no longer looks
|
|
27492
|
+
* like ANY captured reference". Never authored by an operator, never stored in
|
|
27493
|
+
* `states[]` — it is the synthetic candidate that makes divergence a
|
|
27494
|
+
* first-class hysteresis input rather than a bare `return`. */
|
|
27495
|
+
var SCENE_DIVERGED = "__diverged__";
|
|
27496
|
+
/** `matched` = the baseline is what we see; `diverged` = it demonstrably is not;
|
|
27497
|
+
* `unknown` = we cannot judge (no reference for this condition, encoder model
|
|
27498
|
+
* changed, view shifted, no snapshot). `unknown` is a real value, not a null,
|
|
27499
|
+
* and never counts toward hysteresis in either direction. */
|
|
27500
|
+
var SceneVerdictSchema = _enum([
|
|
27501
|
+
"matched",
|
|
27502
|
+
"diverged",
|
|
27503
|
+
"unknown"
|
|
27504
|
+
]);
|
|
27505
|
+
/** Why a scene cannot judge. Named, because this feature's failure mode is
|
|
27506
|
+
* silence that reads as "nothing has happened". */
|
|
27507
|
+
var SceneUnavailableSchema = _enum([
|
|
27508
|
+
"no-reference-for-condition",
|
|
27509
|
+
"view-shifted",
|
|
27510
|
+
"no-vision-profile",
|
|
27511
|
+
"encoder-model-changed",
|
|
27512
|
+
"no-snapshot"
|
|
27513
|
+
]);
|
|
27377
27514
|
/** One captured reference — condition-tagged, model-version-gated. `embedding`
|
|
27378
27515
|
* is `number[]` (Float32Array does NOT survive MsgPack/UDS). */
|
|
27379
27516
|
var SceneReferenceSchema = object({
|
|
@@ -27381,7 +27518,14 @@ var SceneReferenceSchema = object({
|
|
|
27381
27518
|
modelId: string(),
|
|
27382
27519
|
condition: SceneConditionSchema,
|
|
27383
27520
|
capturedAt: number(),
|
|
27384
|
-
thumbnailMediaId: string().optional()
|
|
27521
|
+
thumbnailMediaId: string().optional(),
|
|
27522
|
+
/** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
|
|
27523
|
+
* anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
|
|
27524
|
+
* normalized rect frame a different piece of world, and the scene would
|
|
27525
|
+
* diverge forever with a perfectly plausible cosine. Checked LAZILY, only
|
|
27526
|
+
* when hysteresis is about to flip — one extra encode per candidate
|
|
27527
|
+
* transition, not per poll. */
|
|
27528
|
+
anchorEmbedding: array(number()).optional()
|
|
27385
27529
|
});
|
|
27386
27530
|
var SceneMonitorStateSchema = object({
|
|
27387
27531
|
id: string(),
|
|
@@ -27403,6 +27547,26 @@ var SceneCheckSchema = discriminatedUnion("mode", [object({
|
|
|
27403
27547
|
profileId: string().optional(),
|
|
27404
27548
|
hysteresisCount: number().int().positive()
|
|
27405
27549
|
})]);
|
|
27550
|
+
var SCENE_DEFAULT_ANCHOR_THRESHOLD = .85;
|
|
27551
|
+
var SCENE_CONFIRM_DEFAULT_TIMEOUT_MS = 8e3;
|
|
27552
|
+
/**
|
|
27553
|
+
* Vision-model adjudication of a candidate flip. Field names deliberately
|
|
27554
|
+
* mirror `NcConfirmSchema` so an operator meets one vocabulary, not two.
|
|
27555
|
+
*
|
|
27556
|
+
* `onTimeout` defaults to **'hold'**, the OPPOSITE of `NcConfirmGate`'s
|
|
27557
|
+
* fail-open: a notification suppressed is the worse error there, but a vision
|
|
27558
|
+
* model that timed out has not told us the bin is gone, and a latch is a
|
|
27559
|
+
* stateful claim that costs the operator a trip to reset.
|
|
27560
|
+
*/
|
|
27561
|
+
var SceneConfirmSchema = object({
|
|
27562
|
+
enabled: boolean().default(false),
|
|
27563
|
+
prompt: string().min(1).max(1e3),
|
|
27564
|
+
profileId: string().optional(),
|
|
27565
|
+
timeoutMs: number().int().min(1e3).max(2e4).default(SCENE_CONFIRM_DEFAULT_TIMEOUT_MS),
|
|
27566
|
+
maxImagePx: number().int().min(64).max(2048).default(448),
|
|
27567
|
+
/** What a timeout / unavailable model means for the PENDING flip. */
|
|
27568
|
+
onTimeout: _enum(["flip", "hold"]).default("hold")
|
|
27569
|
+
});
|
|
27406
27570
|
var SceneMonitorSchema = object({
|
|
27407
27571
|
id: string(),
|
|
27408
27572
|
label: string(),
|
|
@@ -27421,7 +27585,41 @@ var SceneMonitorSchema = object({
|
|
|
27421
27585
|
lastConfidence: number().nullable(),
|
|
27422
27586
|
currentCondition: SceneConditionSchema.nullable(),
|
|
27423
27587
|
availability: _enum(["ok", "unavailable"]),
|
|
27424
|
-
unavailableReason: string().nullable()
|
|
27588
|
+
unavailableReason: string().nullable(),
|
|
27589
|
+
/** Which state is "the initial screen". `null` until the first capture. */
|
|
27590
|
+
baselineStateId: string().nullable(),
|
|
27591
|
+
/** Which boolean drives notification rules and any export. */
|
|
27592
|
+
emit: _enum(["latched", "live"]).default("latched"),
|
|
27593
|
+
/** Live: does the region match the baseline RIGHT NOW. */
|
|
27594
|
+
verdict: SceneVerdictSchema,
|
|
27595
|
+
/** Has it been `diverged` at least once since `armedAt` — the operator's boolean. */
|
|
27596
|
+
latched: boolean(),
|
|
27597
|
+
/** Last reset (or creation). */
|
|
27598
|
+
armedAt: number(),
|
|
27599
|
+
divergedAt: number().nullable(),
|
|
27600
|
+
restoredAt: number().nullable(),
|
|
27601
|
+
/** A check is only COUNTED when the device has been quiet this long. Motion
|
|
27602
|
+
* during the window DISCARDS the observation — a car pulling up in front of
|
|
27603
|
+
* the bin must not be able to spend hysteresis credit. */
|
|
27604
|
+
quietSeconds: number().int().min(0).max(3600).default(60),
|
|
27605
|
+
/** An observation only advances the pending count when it is at least this
|
|
27606
|
+
* far from the previously counted one, so N agreeing checks span real time
|
|
27607
|
+
* rather than N adjacent polls inside one occlusion. */
|
|
27608
|
+
minObservationSpacingSec: number().int().min(0).max(3600).default(120),
|
|
27609
|
+
/** Vision-model adjudication of a candidate flip. Similarity primary only. */
|
|
27610
|
+
confirm: SceneConfirmSchema.optional(),
|
|
27611
|
+
/** Whole-frame anchor cosine below which a flip is REFUSED as `view-shifted`. */
|
|
27612
|
+
anchorThreshold: number().min(0).max(1).default(SCENE_DEFAULT_ANCHOR_THRESHOLD),
|
|
27613
|
+
/** Clear the latch on its own when the scene matches again? Default false —
|
|
27614
|
+
* `restoredAt` and the `scene-restored` edge are recorded regardless, so an
|
|
27615
|
+
* automation can react to the bin coming back without the operator's own
|
|
27616
|
+
* alarm silently clearing itself. */
|
|
27617
|
+
autoRestore: boolean().default(false),
|
|
27618
|
+
/** Named cause when `verdict === 'unknown'`. */
|
|
27619
|
+
unavailable: SceneUnavailableSchema.nullable(),
|
|
27620
|
+
/** Conditions that have at least one comparable reference — the coverage line
|
|
27621
|
+
* ("day ✓ · ir ✓ · dusk ✗") that turns a silent fallback into a visible fact. */
|
|
27622
|
+
coveredConditions: array(SceneConditionSchema)
|
|
27425
27623
|
});
|
|
27426
27624
|
var SceneMonitorStatusSchema = object({
|
|
27427
27625
|
monitors: array(SceneMonitorSchema),
|
|
@@ -27470,7 +27668,14 @@ var sceneMonitorCapability = {
|
|
|
27470
27668
|
"both"
|
|
27471
27669
|
]).optional(),
|
|
27472
27670
|
checkIntervalSec: number().optional(),
|
|
27473
|
-
check: SceneCheckSchema.optional()
|
|
27671
|
+
check: SceneCheckSchema.optional(),
|
|
27672
|
+
emit: _enum(["latched", "live"]).optional(),
|
|
27673
|
+
quietSeconds: number().int().min(0).max(3600).optional(),
|
|
27674
|
+
minObservationSpacingSec: number().int().min(0).max(3600).optional(),
|
|
27675
|
+
anchorThreshold: number().min(0).max(1).optional(),
|
|
27676
|
+
autoRestore: boolean().optional(),
|
|
27677
|
+
/** `null` clears the vision-model adjudicator. */
|
|
27678
|
+
confirm: SceneConfirmSchema.nullable().optional()
|
|
27474
27679
|
})
|
|
27475
27680
|
}), _void(), {
|
|
27476
27681
|
kind: "mutation",
|
|
@@ -27511,6 +27716,26 @@ var sceneMonitorCapability = {
|
|
|
27511
27716
|
}), _void(), {
|
|
27512
27717
|
kind: "mutation",
|
|
27513
27718
|
auth: "admin"
|
|
27719
|
+
}),
|
|
27720
|
+
/**
|
|
27721
|
+
* Clear the latch, re-arm, and — by default — RE-CAPTURE the baseline for
|
|
27722
|
+
* the CURRENT condition. The bin never goes back in exactly the same spot;
|
|
27723
|
+
* "reset" in the operator's head means *this is the new normal*, and
|
|
27724
|
+
* re-capture is what makes the feature self-healing against slow drift
|
|
27725
|
+
* instead of failing silently weeks later.
|
|
27726
|
+
*
|
|
27727
|
+
* Reachable from three surfaces on this one mutation: the scene card, a
|
|
27728
|
+
* notification button (an `onTrigger` sequence with a `kind:'cap'` step —
|
|
27729
|
+
* no new Notification-Center code at all), and tRPC for scripts.
|
|
27730
|
+
*/
|
|
27731
|
+
resetScene: method(object({
|
|
27732
|
+
deviceId: number(),
|
|
27733
|
+
monitorId: string(),
|
|
27734
|
+
/** Defaults to TRUE at the provider seam — see `SCENE_RESET_RECAPTURES`. */
|
|
27735
|
+
recapture: boolean().optional()
|
|
27736
|
+
}), _void(), {
|
|
27737
|
+
kind: "mutation",
|
|
27738
|
+
auth: "admin"
|
|
27514
27739
|
})
|
|
27515
27740
|
},
|
|
27516
27741
|
status: {
|
|
@@ -34445,6 +34670,12 @@ Object.freeze({
|
|
|
34445
34670
|
addonId: null,
|
|
34446
34671
|
access: "create"
|
|
34447
34672
|
},
|
|
34673
|
+
"sceneMonitor.resetScene": {
|
|
34674
|
+
capName: "scene-monitor",
|
|
34675
|
+
capScope: "device",
|
|
34676
|
+
addonId: null,
|
|
34677
|
+
access: "delete"
|
|
34678
|
+
},
|
|
34448
34679
|
"sceneMonitor.updateScene": {
|
|
34449
34680
|
capName: "scene-monitor",
|
|
34450
34681
|
capScope: "device",
|
|
@@ -37127,6 +37358,11 @@ Object.freeze({
|
|
|
37127
37358
|
form: "single",
|
|
37128
37359
|
optional: false
|
|
37129
37360
|
}],
|
|
37361
|
+
"sceneMonitor.resetScene": [{
|
|
37362
|
+
name: "deviceId",
|
|
37363
|
+
form: "single",
|
|
37364
|
+
optional: false
|
|
37365
|
+
}],
|
|
37130
37366
|
"sceneMonitor.updateScene": [{
|
|
37131
37367
|
name: "deviceId",
|
|
37132
37368
|
form: "single",
|
|
@@ -37961,4 +38197,4 @@ function vectorDimFromBase64(encoded) {
|
|
|
37961
38197
|
return Math.floor(Buffer.from(encoded, "base64").byteLength / 4);
|
|
37962
38198
|
}
|
|
37963
38199
|
//#endregion
|
|
37964
|
-
export {
|
|
38200
|
+
export { isScheduleActive as $, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS as A, EventCategory as At, alarmPanelCapability as B, NcSnoozeSchema as C, literal as Ct, OpsLogEntrySchema as D, record as Dt, NcTaxonomySchema as E, partialRecord as Et, TimelapseRuleInputSchema as F, customAction as G, audioMetricsCapability as H, TimelapseRulePatchSchema as I, embeddingEncoderCapability as J, defineCustomActions as K, TimelapseRuleSchema as L, SCENE_DIVERGED as M, SceneMonitorSchema as N, RECORDING_EXPORT_MAX_READ_BYTES as O, string as Ot, TIMELAPSE_DENSE_FLOOR_SEC as P, isDetectionMacroClass as Q, TrackSourceSchema as R, NcSnoozeInputSchema as S, discriminatedUnion as St, NcSystemEventKindSchema as T, object as Tt, buildEventKindDescriptor as U, assertTimelapseCadences as V, cosineSimilarity as W, faceGalleryCapability as X, encodeVectorBase64 as Y, hfModelUrl as Z, NcRuleInputSchema as _, nodePin as _t, DETECTION_PIPELINE_CAP_NAME as a, readTimelapseGeneratedAt as at, NcRuleTargetSchema as b, array as bt, EVENT_PAD_MS as c, vectorDimFromBase64 as ct, NC_ALARM_SYSTEM_EVENT_KINDS as d, errMsg as dt, kebabToCamel as et, NC_CONDITION_CATALOG as f, BaseAddon as ft, NcConditionDescriptorSchema as g, isDeviceScopedCap as gt, NC_TAXONOMY as h, hydrateSchema as ht, DETECTION_MACRO_CLASSES as i, readDeviceStateFrom as it, SCENE_DEFAULT_ANCHOR_THRESHOLD as j, RetrainStatusSchema as k, unknown as kt, LabelAttributionSchema as l, videoclipsCapability as lt, NC_SNOOZE_MAX_MINUTES as m, createEvent as mt, DEFAULT_EVENT_COLOR as n, pipelineAnalyticsCapability as nt, DeclaredDevices as o, sceneMonitorCapability as ot, NC_DEFAULT_SNOOZE_MINUTES as p, DeviceType as pt, deriveRecordingMode as q, DEFAULT_TIMELAPSE_PREVIEW_TEXT as r, plateGalleryCapability as rt, EVENT_KIND_BY_CAP as s, subKindsOf as st, BaseDevice as t, notificationRulesCapability as tt, MACRO_LABELS as u, zoneAnalyticsCapability as ut, NcRulePatchSchema as v, sleep as vt, NcSnoozeSuppressedSchema as w, number as wt, NcScheduleSchema as x, boolean as xt, NcRuleSchema as y, _enum as yt, addonWidgetsSourceCapability as z };
|