@camstack/addon-post-analysis 1.2.211 → 1.2.213
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-D2rFaMex.mjs → dist-CT2SouNJ.mjs} +294 -2
- package/dist/{dist-FHSaZkf_.js → dist-DA1sJKXM.js} +311 -1
- 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-4gDJk8ED.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-CxVox7bu.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-B2Kde85q.mjs → _virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-CcE47LPf.mjs} +1 -1
- package/dist/pipeline-analytics/{hostInit-Dgzccgln.mjs → hostInit-BSVhT9bi.mjs} +3 -3
- package/dist/pipeline-analytics/index.js +745 -98
- package/dist/pipeline-analytics/index.mjs +745 -98
- package/dist/pipeline-analytics/remoteEntry.js +1 -1
- package/package.json +1 -1
|
@@ -7823,6 +7823,226 @@ var CameraSwitchGroupSchema = object({
|
|
|
7823
7823
|
*/
|
|
7824
7824
|
var DETECTION_PIPELINE_CAP_NAME = "detection-pipeline";
|
|
7825
7825
|
/**
|
|
7826
|
+
* Birth-decision ledger — one durable row per track-birth VERDICT (D409).
|
|
7827
|
+
*
|
|
7828
|
+
* ── Why this exists ────────────────────────────────────────────────────────
|
|
7829
|
+
* On 2026-09-08 the operator marked eleven tracks for review and five of them
|
|
7830
|
+
* said "traccia partita in ritardo" — the track appears to begin long after the
|
|
7831
|
+
* subject entered the scene. Two causes were proposed and NEITHER was measured:
|
|
7832
|
+
*
|
|
7833
|
+
* - the confirmation gate's deferral (`maxDeferralMs`, 2 s). This is now
|
|
7834
|
+
* DISPROVEN as a cause of a late TIMELINE: a track's `firstSeen` and its
|
|
7835
|
+
* first position are the CANDIDATE's first frame, not the confirmation's.
|
|
7836
|
+
* Verified on `d035f251` (device 3829): first position == `firstSeen`, with
|
|
7837
|
+
* confirmation 2 163 ms later.
|
|
7838
|
+
* - the detector simply not firing until the subject is well into the scene.
|
|
7839
|
+
* Unmeasured, and the reason this table exists.
|
|
7840
|
+
*
|
|
7841
|
+
* A second, real defect is also unquantified. The deferred-birth re-offer in
|
|
7842
|
+
* `index.ts` takes the track from `result.tracked` with NO `matchedThisFrame`
|
|
7843
|
+
* check, so a birth can be CONFIRMED on a frame the subject was never observed
|
|
7844
|
+
* in. D379's carried birth evidence means some of those confirmations rest on a
|
|
7845
|
+
* real observation of the birth instant anyway — and how often is exactly what
|
|
7846
|
+
* nobody knows. {@link BirthDecisionRecord.decidedOnCoastedFrame} and
|
|
7847
|
+
* {@link BirthDecisionRecord.decidedByBirthEvidence} are the two columns that
|
|
7848
|
+
* answer it together.
|
|
7849
|
+
*
|
|
7850
|
+
* ── Why a TABLE and not a log line ─────────────────────────────────────────
|
|
7851
|
+
* `logs.query` is an in-memory ring. Measured on the live hub on 2026-09-08 it
|
|
7852
|
+
* held 40 000 entries covering 38 minutes — the whole ring is under an hour of
|
|
7853
|
+
* fleet traffic. Every question this data is for ("how often, on camera 617,
|
|
7854
|
+
* over the week the operator complained about") outlives that ring by two
|
|
7855
|
+
* orders of magnitude, and a previous investigation in this repo was blocked
|
|
7856
|
+
* for precisely this reason. The gate ALREADY writes a log line per decision
|
|
7857
|
+
* (`confirmation gate: birth confirmed/suppressed/undecided`); adding a
|
|
7858
|
+
* fourteenth field to it would answer nothing a day later.
|
|
7859
|
+
*
|
|
7860
|
+
* This is a MEASUREMENT table. It changes no behaviour, gates nothing, and
|
|
7861
|
+
* nothing reads it on the frame path.
|
|
7862
|
+
*/
|
|
7863
|
+
/**
|
|
7864
|
+
* How many birth decisions the cluster keeps, across every camera.
|
|
7865
|
+
*
|
|
7866
|
+
* Sized off a MEASURED rate, not a guess. Fleet-wide on the live hub,
|
|
7867
|
+
* 2026-09-08 20:16 local, over the 38 minutes the log ring covered: 17 `track
|
|
7868
|
+
* started` + 14 `birth suppressed — track record retracted` = 31 decided
|
|
7869
|
+
* births, i.e. ~49/hour, ~1 200/day. Call a busy daytime hour five times that
|
|
7870
|
+
* and the fleet writes ~6 000 rows/day.
|
|
7871
|
+
*
|
|
7872
|
+
* 30 000 rows is therefore ~25 days at the measured rate and ~5 days at five
|
|
7873
|
+
* times it — comfortably past "a few days of traffic", which is the bar the
|
|
7874
|
+
* operator's week-long complaint sets. At ~200 bytes a row the ceiling is
|
|
7875
|
+
* ~6 MB, against a `tracks` table measured at 4.6 MB for a single 501-row page.
|
|
7876
|
+
*
|
|
7877
|
+
* A COUNT and not an age, for the same reason as the debug-note archive: the
|
|
7878
|
+
* denominator of a miss rate is only meaningful over whatever window the table
|
|
7879
|
+
* actually holds, and a quiet fleet should keep more of it, not less. Trimmed
|
|
7880
|
+
* oldest-first on append.
|
|
7881
|
+
*/
|
|
7882
|
+
var MAX_BIRTH_DECISION_RECORDS = 3e4;
|
|
7883
|
+
/**
|
|
7884
|
+
* How stale a motion onset may be and still be offered as the birth-latency
|
|
7885
|
+
* proxy. Beyond this the row records `null`, never a large number.
|
|
7886
|
+
*
|
|
7887
|
+
* 60 s is one order of magnitude above the latency being measured (the
|
|
7888
|
+
* complaint is "seconds late") and one below the duration of a busy scene's
|
|
7889
|
+
* continuous motion burst, where the onset is minutes old and says nothing
|
|
7890
|
+
* about THIS subject. See {@link BirthDecisionRecord.birthLatencyMs} for the
|
|
7891
|
+
* full error bars.
|
|
7892
|
+
*/
|
|
7893
|
+
var MAX_BIRTH_LATENCY_PROXY_MS = 6e4;
|
|
7894
|
+
/**
|
|
7895
|
+
* What the gate decided about a birth, from the CALLER's point of view.
|
|
7896
|
+
*
|
|
7897
|
+
* Deliberately not `ConfirmationVerdict`: `undecided` is not a birth decision
|
|
7898
|
+
* at all — it is a deferral, and the row is written when the deferral ENDS.
|
|
7899
|
+
* The third member is the one the gate's own type cannot express, because
|
|
7900
|
+
* exhaustion is a property of how long the caller waited.
|
|
7901
|
+
*/
|
|
7902
|
+
var BirthDecisionVerdictSchema = _enum([
|
|
7903
|
+
"confirmed",
|
|
7904
|
+
"suppressed",
|
|
7905
|
+
"exhausted-fallback"
|
|
7906
|
+
]);
|
|
7907
|
+
/** One birth decision, as it is kept. */
|
|
7908
|
+
var BirthDecisionRecordSchema = object({
|
|
7909
|
+
id: string(),
|
|
7910
|
+
/** Epoch ms the VERDICT was taken (not the birth instant — see `firstSeen`). */
|
|
7911
|
+
at: number().int(),
|
|
7912
|
+
/** The camera. Required: every question here is asked per-camera. */
|
|
7913
|
+
deviceId: number().int(),
|
|
7914
|
+
/**
|
|
7915
|
+
* The track the decision was about. PROVENANCE, not ownership — a suppressed
|
|
7916
|
+
* birth has no track at all, and a confirmed one is expected to age out long
|
|
7917
|
+
* before this row does. Named `sourceTrackId` so the retention model's
|
|
7918
|
+
* ownership derivation (`collection-classification.ts`, which keys on a
|
|
7919
|
+
* column literally called `trackId`) cannot reach it.
|
|
7920
|
+
*/
|
|
7921
|
+
sourceTrackId: string(),
|
|
7922
|
+
/** The candidate's claimed class. The miss rate is asked per class too. */
|
|
7923
|
+
className: string(),
|
|
7924
|
+
verdict: BirthDecisionVerdictSchema,
|
|
7925
|
+
/**
|
|
7926
|
+
* The gate's own `ConfirmationReason` (`confirmed`, `suppressed`,
|
|
7927
|
+
* `native-pass`, `no-crop`, `timeout`, `carried-inconclusive`, …), or `null`
|
|
7928
|
+
* when the gate is DISABLED and every birth is waved through. `null` is not
|
|
7929
|
+
* "unknown": it says the gate took no measurement because it was off, which
|
|
7930
|
+
* is a different population and must never be averaged in with the rest.
|
|
7931
|
+
*/
|
|
7932
|
+
reason: string().nullable(),
|
|
7933
|
+
/** Deferral attempts this birth used. 0 = decided on its first look. */
|
|
7934
|
+
attempts: number().int(),
|
|
7935
|
+
/** Ms from the FIRST undecided attempt to this verdict. 0 = never deferred. */
|
|
7936
|
+
deferredForMs: number().int(),
|
|
7937
|
+
/**
|
|
7938
|
+
* THE COLUMN THE RE-OFFER DEFECT IS COUNTED IN.
|
|
7939
|
+
*
|
|
7940
|
+
* `true` when the frame the verdict was taken on carried no matched
|
|
7941
|
+
* detection for this track — the tracker was coasting a frozen box and the
|
|
7942
|
+
* subject was not observed. The deferred-birth re-offer pulls the candidate
|
|
7943
|
+
* straight out of `result.tracked` without checking, so this is reachable
|
|
7944
|
+
* today; the question is the RATE, per camera, and whether refusing those
|
|
7945
|
+
* frames would have cost real tracks (cross-read against `verdict` and
|
|
7946
|
+
* `decidedByBirthEvidence`).
|
|
7947
|
+
*/
|
|
7948
|
+
decidedOnCoastedFrame: boolean(),
|
|
7949
|
+
/** Were D379 birth-instant pixels in hand when this candidate was submitted? */
|
|
7950
|
+
birthEvidenceAvailable: boolean(),
|
|
7951
|
+
/**
|
|
7952
|
+
* Did those pixels DECIDE it (`cropSource === 'carried'`)? Available and
|
|
7953
|
+
* deciding are different: the carried crop is confirm-only, so a candidate
|
|
7954
|
+
* can hold evidence, be found inconclusive on it, and be decided by a native
|
|
7955
|
+
* crop of a later instant. A coasted decision backed by carried evidence is
|
|
7956
|
+
* a real observation of the birth instant; one without it is not.
|
|
7957
|
+
*/
|
|
7958
|
+
decidedByBirthEvidence: boolean(),
|
|
7959
|
+
/** Best class-compatible crop score, or `null` when nothing compatible was
|
|
7960
|
+
* found — deliberately not 0, which would be a measurement that never was. */
|
|
7961
|
+
bestScore: number().nullable(),
|
|
7962
|
+
/** The bar this candidate actually faced (the phantom-cell hook may raise it). */
|
|
7963
|
+
appliedMinConfidence: number().nullable(),
|
|
7964
|
+
/**
|
|
7965
|
+
* The track's own `firstSeen` — the candidate's first frame, which is where
|
|
7966
|
+
* the timeline starts. `null` for a suppressed birth, which has no track.
|
|
7967
|
+
*/
|
|
7968
|
+
firstSeen: number().int().nullable(),
|
|
7969
|
+
/**
|
|
7970
|
+
* The device's most recent motion RISING EDGE at the moment of the decision,
|
|
7971
|
+
* or `null` when there is none, it is older than
|
|
7972
|
+
* {@link MAX_BIRTH_LATENCY_PROXY_MS}, or this runner never saw one.
|
|
7973
|
+
*/
|
|
7974
|
+
motionOnsetAt: number().int().nullable(),
|
|
7975
|
+
/**
|
|
7976
|
+
* `firstSeen − motionOnsetAt` — THE OPERATOR'S COMPLAINT, IN MILLISECONDS,
|
|
7977
|
+
* AND THE WEAKEST NUMBER IN THIS ROW. Read the error bars before quoting it.
|
|
7978
|
+
*
|
|
7979
|
+
* **Why motion onset and not something else.** Two other proxies were
|
|
7980
|
+
* considered and rejected:
|
|
7981
|
+
* - *the recording/pipeline session start*: for a camera on
|
|
7982
|
+
* `detectionMode: 'always'` the session opens at process start, hours
|
|
7983
|
+
* before any subject. It measures nothing.
|
|
7984
|
+
* - *the first detection on the device in this burst*: CIRCULAR. A track's
|
|
7985
|
+
* `firstSeen` IS the first detection of that object, so for the track that
|
|
7986
|
+
* OPENS a burst — the only one the operator is complaining about — the two
|
|
7987
|
+
* are the same instant and the latency is 0 by construction.
|
|
7988
|
+
* Motion onset is the only in-process signal produced by a DIFFERENT
|
|
7989
|
+
* mechanism from the object detector, so it is the only one that can precede
|
|
7990
|
+
* it. It is also already maintained per-device at frame rate on this very
|
|
7991
|
+
* node (`handleMotionAnalysis` / `handleOnboardMotion`), which is what makes
|
|
7992
|
+
* it free — and, decisively, the frame path and the motion path are gated to
|
|
7993
|
+
* the SAME designated post-processing node, so the mirror is never empty for
|
|
7994
|
+
* a camera whose births land here.
|
|
7995
|
+
*
|
|
7996
|
+
* **Error bars, all of them.**
|
|
7997
|
+
* 1. *Motion has no class.* A burst opened by rain, a headlight sweeping a
|
|
7998
|
+
* wall or a branch, and only later joined by the person, OVERSTATES the
|
|
7999
|
+
* latency without bound. Mitigated, never removed, by
|
|
8000
|
+
* {@link BirthDecisionRecord.birthIndexInBurst}: only index 0 is a
|
|
8001
|
+
* candidate for "this burst is this subject", and even then it is a
|
|
8002
|
+
* candidate, not a fact.
|
|
8003
|
+
* 2. *The sign is not guaranteed.* The analyzer needs a pixel-count and
|
|
8004
|
+
* intensity threshold. A subject entering slowly at the far edge of the
|
|
8005
|
+
* frame can clear the detector's confidence floor BEFORE it clears the
|
|
8006
|
+
* motion floor, making this negative. Negatives are stored as-is and
|
|
8007
|
+
* never clamped — clamping would fabricate the distribution's left tail,
|
|
8008
|
+
* which is the half that says the proxy is unreliable.
|
|
8009
|
+
* 3. *Onboard motion carries firmware latency of unknown, per-model offset*
|
|
8010
|
+
* (hundreds of ms), plus camera-vs-hub clock skew on top. Numbers are
|
|
8011
|
+
* therefore comparable WITHIN a camera and not across cameras of
|
|
8012
|
+
* different motion sources. The motion source is deliberately not copied
|
|
8013
|
+
* here — it belongs to the addon that owns the device (D224) and this is
|
|
8014
|
+
* a write on the frame path — so group by `deviceId`, which is how the
|
|
8015
|
+
* question is always asked anyway.
|
|
8016
|
+
* 4. *Continuous motion.* On a busy scene the burst never closes and the
|
|
8017
|
+
* onset is minutes old. Bounded by {@link MAX_BIRTH_LATENCY_PROXY_MS};
|
|
8018
|
+
* past it this is `null`.
|
|
8019
|
+
* 5. *No motion signal at all* — analyzer off, onboard-only camera not
|
|
8020
|
+
* reporting, or nothing since boot: `null`. Which is the truth about a
|
|
8021
|
+
* camera nobody has a reference instant for.
|
|
8022
|
+
*
|
|
8023
|
+
* So this is a per-camera DISTRIBUTION over index-0 births, and it is honest
|
|
8024
|
+
* as such. It is not a per-track fact and must never be shown as one.
|
|
8025
|
+
*/
|
|
8026
|
+
birthLatencyMs: number().int().nullable(),
|
|
8027
|
+
/**
|
|
8028
|
+
* How many births this device has already decided since that motion onset.
|
|
8029
|
+
* 0 = the first, i.e. the only index at which the burst plausibly belongs to
|
|
8030
|
+
* this subject. `null` when there is no usable onset.
|
|
8031
|
+
*/
|
|
8032
|
+
birthIndexInBurst: number().int().nullable()
|
|
8033
|
+
});
|
|
8034
|
+
/** Query input for `listBirthDecisions` — newest first, one camera or all. */
|
|
8035
|
+
var BirthDecisionQueryInputSchema = object({
|
|
8036
|
+
/** Restrict to a single camera; omit for every row. */
|
|
8037
|
+
deviceId: number().int().optional(),
|
|
8038
|
+
/** Only decisions at or after this epoch ms. */
|
|
8039
|
+
since: number().int().optional(),
|
|
8040
|
+
/** Restrict to one verdict — the miss rate is read one population at a time. */
|
|
8041
|
+
verdict: BirthDecisionVerdictSchema.optional(),
|
|
8042
|
+
/** Max rows returned, newest-first. */
|
|
8043
|
+
limit: number().int().min(1).max(5e3).optional()
|
|
8044
|
+
});
|
|
8045
|
+
/**
|
|
7826
8046
|
* Debug-note archive — the durable corpus of what operators asked to be
|
|
7827
8047
|
* checked, and the ONE thing about a debug note that outlives its track.
|
|
7828
8048
|
*
|
|
@@ -21462,6 +21682,26 @@ var pipelineAnalyticsCapability = {
|
|
|
21462
21682
|
*/
|
|
21463
21683
|
listArchivedDebugNotes: method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }),
|
|
21464
21684
|
/**
|
|
21685
|
+
* Birth decisions — one row per resolved confirmation-gate verdict (D409).
|
|
21686
|
+
*
|
|
21687
|
+
* The READ half of a measurement, and only that: it gates nothing and no
|
|
21688
|
+
* runtime path consults it. It exists because the two questions the
|
|
21689
|
+
* operator's "traccia partita in ritardo" marks raised are both multi-day
|
|
21690
|
+
* and `logs.query` holds under an hour of fleet traffic —
|
|
21691
|
+
* • how often is a birth DECIDED on a frame the subject was not observed
|
|
21692
|
+
* in (`decidedOnCoastedFrame`), and did D379's carried pixels make it a
|
|
21693
|
+
* real observation anyway (`decidedByBirthEvidence`);
|
|
21694
|
+
* • how long after the camera's motion onset does a track's `firstSeen`
|
|
21695
|
+
* land (`birthLatencyMs` — read its error bars in
|
|
21696
|
+
* `BirthDecisionRecordSchema` before quoting it).
|
|
21697
|
+
*
|
|
21698
|
+
* Newest-first, capped by `limit` (default
|
|
21699
|
+
* {@link BIRTH_DECISION_DEFAULT_LIMIT}), optionally scoped to one camera,
|
|
21700
|
+
* one verdict, or a `since`. The table is bounded by row count, not age —
|
|
21701
|
+
* see {@link MAX_BIRTH_DECISION_RECORDS}.
|
|
21702
|
+
*/
|
|
21703
|
+
listBirthDecisions: method(BirthDecisionQueryInputSchema, array(BirthDecisionRecordSchema).readonly(), { kind: "query" }),
|
|
21704
|
+
/**
|
|
21465
21705
|
* Durable event-store footprint for the management UI: event rows
|
|
21466
21706
|
* (motion + object + audio) counted per camera + total, plus the
|
|
21467
21707
|
* event-owned media bytes on disk per camera + total. Stat/count-based,
|
|
@@ -22243,6 +22483,22 @@ var occupancyRecheckFramesField = {
|
|
|
22243
22483
|
step: 1
|
|
22244
22484
|
};
|
|
22245
22485
|
/**
|
|
22486
|
+
* Frames one PRE-ROLL catch-up burst may send to inference at session open.
|
|
22487
|
+
*
|
|
22488
|
+
* The default of 12 over a ~4 s retained window is one frame per ~333 ms of
|
|
22489
|
+
* footage, and costs ~480 ms of ONE inference permit at the 40 ms/frame this
|
|
22490
|
+
* fleet measures — one-shot, and only ever taken while a permit would still be
|
|
22491
|
+
* spare for live. `0` turns the burst off entirely (the history is still
|
|
22492
|
+
* decoded, because that is how the dial reaches a decodable GOP, and is then
|
|
22493
|
+
* discarded — the pre-D411 behaviour).
|
|
22494
|
+
*/
|
|
22495
|
+
var preRollInferenceFramesField = {
|
|
22496
|
+
min: 0,
|
|
22497
|
+
max: 30,
|
|
22498
|
+
default: 12,
|
|
22499
|
+
step: 1
|
|
22500
|
+
};
|
|
22501
|
+
/**
|
|
22246
22502
|
* Source enum for motion signals fed to the runner. Extensible — add
|
|
22247
22503
|
* new variants here when new motion-trigger paths are wired in
|
|
22248
22504
|
* (`wasm-cross-camera`, `event-bus-relay`, etc.). The runner uses
|
|
@@ -22483,6 +22739,31 @@ var RunnerCameraConfigSchema = object({
|
|
|
22483
22739
|
* to every occupancy rule until something moved in front of it. The churn is
|
|
22484
22740
|
* now paid on the interval instead — see `occupancyRecheckSecField`.
|
|
22485
22741
|
*/
|
|
22742
|
+
/**
|
|
22743
|
+
* Infer the session's PRE-ROLL — the retained history the restreamer replays
|
|
22744
|
+
* at session open — instead of decoding it and throwing it away.
|
|
22745
|
+
*
|
|
22746
|
+
* DEFAULT `true`, and the default is the argument. This is not a new
|
|
22747
|
+
* capability being offered cautiously: the pre-roll is ALREADY requested,
|
|
22748
|
+
* already served, already decoded and already paid for on every on-motion
|
|
22749
|
+
* detection session that asks for history. What shipped was a last-moment
|
|
22750
|
+
* discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
|
|
22751
|
+
* arriving inside a few hundred ms of wall clock looks to it like one frame's
|
|
22752
|
+
* worth. Device 617, 2026-09-08: a re-run of the SAME model over the stored
|
|
22753
|
+
* recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
|
|
22754
|
+
* 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
|
|
22755
|
+
* was decoded, and was freed.
|
|
22756
|
+
*
|
|
22757
|
+
* Shipping that as opt-in would ship the bug: an operator cannot discover a
|
|
22758
|
+
* setting whose absence looks exactly like a camera that noticed the cyclist
|
|
22759
|
+
* late. What makes ON safe is not a switch but the BOUND —
|
|
22760
|
+
* `preRollInferenceFrames`, a wall-clock ceiling, and a lane that never takes
|
|
22761
|
+
* the last inference permit — so the switch exists for the camera where the
|
|
22762
|
+
* history is worthless (a doorbell whose subject is always already at the
|
|
22763
|
+
* door), not as a hedge against the feature.
|
|
22764
|
+
*/
|
|
22765
|
+
preRollInferenceEnabled: boolean().default(true),
|
|
22766
|
+
preRollInferenceFrames: number().min(preRollInferenceFramesField.min).max(preRollInferenceFramesField.max).default(preRollInferenceFramesField.default),
|
|
22486
22767
|
occupancyRecheckEnabled: boolean().default(true),
|
|
22487
22768
|
occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
|
|
22488
22769
|
occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
|
|
@@ -22511,7 +22792,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
22511
22792
|
*/
|
|
22512
22793
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
22513
22794
|
});
|
|
22514
|
-
motionFpsField.min, motionFpsField.max, motionFpsField.step, motionFpsField.default, detectionFpsField.min, detectionFpsField.max, detectionFpsField.step, detectionFpsField.default, motionCooldownMsField.min, motionCooldownMsField.max, motionCooldownMsField.step, motionCooldownMsField.default, maxSessionHoldMsField.min, maxSessionHoldMsField.max, maxSessionHoldMsField.step, maxSessionHoldMsField.default, audioMotionWindowMsField.min, audioMotionWindowMsField.max, audioMotionWindowMsField.step, audioMotionWindowMsField.default, occupancyRecheckSecField.min, occupancyRecheckSecField.max, occupancyRecheckSecField.step, occupancyRecheckSecField.default, occupancyRecheckFramesField.min, occupancyRecheckFramesField.max, occupancyRecheckFramesField.step, occupancyRecheckFramesField.default;
|
|
22795
|
+
motionFpsField.min, motionFpsField.max, motionFpsField.step, motionFpsField.default, detectionFpsField.min, detectionFpsField.max, detectionFpsField.step, detectionFpsField.default, motionCooldownMsField.min, motionCooldownMsField.max, motionCooldownMsField.step, motionCooldownMsField.default, maxSessionHoldMsField.min, maxSessionHoldMsField.max, maxSessionHoldMsField.step, maxSessionHoldMsField.default, audioMotionWindowMsField.min, audioMotionWindowMsField.max, audioMotionWindowMsField.step, audioMotionWindowMsField.default, preRollInferenceFramesField.min, preRollInferenceFramesField.max, preRollInferenceFramesField.step, preRollInferenceFramesField.default, occupancyRecheckSecField.min, occupancyRecheckSecField.max, occupancyRecheckSecField.step, occupancyRecheckSecField.default, occupancyRecheckFramesField.min, occupancyRecheckFramesField.max, occupancyRecheckFramesField.step, occupancyRecheckFramesField.default;
|
|
22515
22796
|
/**
|
|
22516
22797
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
22517
22798
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
|
@@ -39139,6 +39420,12 @@ Object.freeze({
|
|
|
39139
39420
|
addonId: null,
|
|
39140
39421
|
access: "view"
|
|
39141
39422
|
},
|
|
39423
|
+
"pipelineAnalytics.listBirthDecisions": {
|
|
39424
|
+
capName: "pipeline-analytics",
|
|
39425
|
+
capScope: "device",
|
|
39426
|
+
addonId: null,
|
|
39427
|
+
access: "view"
|
|
39428
|
+
},
|
|
39142
39429
|
"pipelineAnalytics.listEventKinds": {
|
|
39143
39430
|
capName: "pipeline-analytics",
|
|
39144
39431
|
capScope: "device",
|
|
@@ -42931,6 +43218,11 @@ Object.freeze({
|
|
|
42931
43218
|
form: "single",
|
|
42932
43219
|
optional: true
|
|
42933
43220
|
}],
|
|
43221
|
+
"pipelineAnalytics.listBirthDecisions": [{
|
|
43222
|
+
name: "deviceId",
|
|
43223
|
+
form: "single",
|
|
43224
|
+
optional: true
|
|
43225
|
+
}],
|
|
42934
43226
|
"pipelineAnalytics.listEventKinds": [{
|
|
42935
43227
|
name: "deviceId",
|
|
42936
43228
|
form: "single",
|
|
@@ -44857,4 +45149,4 @@ function vectorDimFromBase64(encoded) {
|
|
|
44857
45149
|
return Math.floor(Buffer.from(encoded, "base64").byteLength / 4);
|
|
44858
45150
|
}
|
|
44859
45151
|
//#endregion
|
|
44860
|
-
export {
|
|
45152
|
+
export { VISIT_MERGE_GAP_MS as $, object as $t, NcRulePatchSchema as A, resolvePoolMemoryPolicy as At, PoolMemoryWatchdog as B, CamProfileSchema as Bt, NC_ALARM_SYSTEM_EVENT_KINDS as C, parseProcStatus as Ct, NC_TAXONOMY as D, readDeviceStateFrom as Dt, NC_SNOOZE_MAX_MINUTES as E, plateGalleryCapability as Et, NcSnoozeSchema as F, vectorDimFromBase64 as Ft, SCENE_DEFAULT_UNCOVERED_POLICY as G, nodePin as Gt, RetrainStatusSchema as H, createEvent as Ht, NcSnoozeSuppressedSchema as I, videoclipsCapability as It, TIMELAPSE_DENSE_FLOOR_SEC as J, array as Jt, SCENE_DIVERGED as K, sleep as Kt, NcSystemEventKindSchema as L, zoneAnalyticsCapability as Lt, NcRuleTargetSchema as M, storageOccupancyCapability as Mt, NcScheduleSchema as N, subKindsOf as Nt, NcConditionDescriptorSchema as O, readTimelapseGeneratedAt as Ot, NcSnoozeInputSchema as P, systemEventFilterApplies as Pt, TrackSourceSchema as Q, number as Qt, NcTaxonomySchema as R, errMsg as Rt, MediaFileKindEnum as S, notificationRulesCapability as St, NC_DEFAULT_SNOOZE_MINUTES as T, pipelineAnalyticsCapability as Tt, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS as U, hydrateSchema as Ut, RECORDING_EXPORT_MAX_READ_BYTES as V, DeviceType as Vt, SCENE_DEFAULT_ANCHOR_THRESHOLD as W, isDeviceScopedCap as Wt, TimelapseRulePatchSchema as X, discriminatedUnion as Xt, TimelapseRuleInputSchema as Y, boolean as Yt, TimelapseRuleSchema as Z, literal as Zt, LabelAttributionSchema as _, isDetectionMacroClass as _t, CLUSTER_MODEL_SCOPED_STEPS as a, buildEventKindDescriptor as at, MAX_BIRTH_DECISION_RECORDS as b, kebabToCamel as bt, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS as c, defineCustomActions as ct, DETECTION_PIPELINE_CAP_NAME as d, encodeVectorBase64 as dt, partialRecord as en, addonWidgetsSourceCapability as et, DeclaredDevices as f, evaluateSensorEdge as ft, FailureCounters as g, hfModelUrl as gt, FULL_IMAGE_BBOX as h, failureContributionCapability as ht, BirthDecisionRecordSchema as i, EventCategory as in, audioModeOf as it, NcRuleSchema as j, sceneMonitorCapability as jt, NcRuleInputSchema as k, resolveLocationMode as kt, DEFAULT_TIMELAPSE_PREVIEW_TEXT as l, deriveRecordingMode as lt, EVENT_PAD_MS as m, faceGalleryCapability as mt, ArchivedDebugNoteSchema as n, string as nn, assertTimelapseCadences as nt, COCO_TO_MACRO as o, cosineSimilarity as ot, EVENT_KIND_BY_CAP as p, evictionPolicyOfLocation as pt, SceneMonitorSchema as q, _enum as qt, BaseDevice as r, unknown as rn, audioMetricsCapability as rt, DEFAULT_EVENT_COLOR as s, customAction as st, AUDIO_MACRO_LABELS as t, record as tn, alarmPanelCapability as tt, DETECTION_MACRO_CLASSES as u, embeddingEncoderCapability as ut, MACRO_LABELS as v, isScheduleActive as vt, NC_CONDITION_CATALOG as w, pickClusterStepModels as wt, MAX_BIRTH_LATENCY_PROXY_MS as x, mayWriteToLocation as xt, MAX_ARCHIVED_DEBUG_NOTES as y, isSourceCap as yt, OpsLogEntrySchema as z, BaseAddon as zt };
|