@camstack/addon-admin-ui 1.2.56 → 1.2.58
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/assets/{AddLocationWizard-BgdCyD7D.js → AddLocationWizard-Cmdtjb0W.js} +1 -1
- package/dist/assets/{AddonCollectionPage-IZ71UYdi.js → AddonCollectionPage-y8thZKiD.js} +1 -1
- package/dist/assets/{Addons-BODZY98R.js → Addons-B9wNlAOy.js} +1 -1
- package/dist/assets/{AdminTabs-9pdvGC0E.js → AdminTabs-SuhxFl_f.js} +1 -1
- package/dist/assets/{AiProfiles-CYv_48By.js → AiProfiles-XHdOJhGT.js} +1 -1
- package/dist/assets/{BrokerForm-DknfsDkC.js → BrokerForm-BhfOMuh3.js} +1 -1
- package/dist/assets/{Build-7zZ_QIat.js → Build-CZbt5dnz.js} +1 -1
- package/dist/assets/{Capabilities-BrDurq9a.js → Capabilities-DW_cF8pr.js} +1 -1
- package/dist/assets/{CapabilityBadges-Dq0x1SQy.js → CapabilityBadges-CLqqoyhl.js} +1 -1
- package/dist/assets/{Cluster-DymRlwXc.js → Cluster-wbUSa2Re.js} +1 -1
- package/dist/assets/{Data-CTNMGwyb.js → Data-DanAozV1.js} +1 -1
- package/dist/assets/{DetectionIntelligence-B0CUCz6w.js → DetectionIntelligence-CTmhHAmP.js} +1 -1
- package/dist/assets/{DeviceAggregateSection-BISQC980.js → DeviceAggregateSection-CkqESYNX.js} +1 -1
- package/dist/assets/{DeviceDetail-Yk7uUwCI.js → DeviceDetail-Ddl_t3v8.js} +1 -1
- package/dist/assets/{Devices-C4g_KNtB.js → Devices-m7dylGih.js} +1 -1
- package/dist/assets/{EmbedPlayerPage-boogtEf8.js → EmbedPlayerPage-mrUvuhmS.js} +1 -1
- package/dist/assets/{Events-Y5QPtBKG.js → Events-CabU88J8.js} +1 -1
- package/dist/assets/{FormBuilder-BV9fc84S.js → FormBuilder-DaUdmatu.js} +1 -1
- package/dist/assets/{Identity-BqmVqHMF.js → Identity-Ds8l4JNd.js} +1 -1
- package/dist/assets/{IntegrationDetail-DZXPi-Lf.js → IntegrationDetail-DjUM9SnA.js} +1 -1
- package/dist/assets/{Integrations-CU5ZhkJj.js → Integrations-C6MckNDg.js} +1 -1
- package/dist/assets/{Integrations-ZwJIc7NY.js → Integrations-CVUNXry0.js} +1 -1
- package/dist/assets/{Logs-F8U93-cn.js → Logs-DU2VOlmq.js} +1 -1
- package/dist/assets/{MotionZonesSettings-gX4cCPfn.js → MotionZonesSettings-DVkvgKnc.js} +1 -1
- package/dist/assets/{MyAccess-CuMuMEeV.js → MyAccess-BhlABS_W.js} +1 -1
- package/dist/assets/{Network-gQsve9wJ.js → Network-D0gir4s-.js} +1 -1
- package/dist/assets/{NodeAddonsSettingsPanel-CtjiH2xf.js → NodeAddonsSettingsPanel-CtO75ohk.js} +1 -1
- package/dist/assets/{NodeInferenceDevices-BdPeTiJ_.js → NodeInferenceDevices-qUEYtq1P.js} +1 -1
- package/dist/assets/Notifications-CwdeYxsw.js +1 -0
- package/dist/assets/{Pipeline-jPNE3P18.js → Pipeline-vgsETpZ3.js} +1 -1
- package/dist/assets/{Plates-CCPyJYJm.js → Plates-B5Uqs4w7.js} +1 -1
- package/dist/assets/{PrivacyMaskSettings-DH-QfnMs.js → PrivacyMaskSettings-fIxue0-D.js} +1 -1
- package/dist/assets/{ProviderIcon-Dc6hRpnV.js → ProviderIcon-X2_0sDU9.js} +1 -1
- package/dist/assets/{Recordings-OtJrggBr.js → Recordings-BPztmXFS.js} +1 -1
- package/dist/assets/{ScanNetworkModal-C9vK82G3.js → ScanNetworkModal-ByoxTvyg.js} +1 -1
- package/dist/assets/{Settings-PszC9VjY.js → Settings-Be5E8nSp.js} +1 -1
- package/dist/assets/{Showroom-DfEL10OQ.js → Showroom-7m0amlh4.js} +1 -1
- package/dist/assets/{Terminal-C4D5xTzJ.js → Terminal-BkKFvIvp.js} +1 -1
- package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host--vNL9iqx.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-DbudtQGC.js} +1 -1
- package/dist/assets/{bell-ring-DAzEnetp.js → bell-ring-CUDpUeWG.js} +1 -1
- package/dist/assets/{boxes-D8vsQ4m6.js → boxes-pkqHQIKP.js} +1 -1
- package/dist/assets/{build-cluster-graph-bM2Wi5JG.js → build-cluster-graph-BWM8pGFr.js} +1 -1
- package/dist/assets/circle-check-big-CobJ2qp-.js +1 -0
- package/dist/assets/{circle-x-BTOBHSi0.js → circle-x-R5CNfb24.js} +1 -1
- package/dist/assets/clock-CUnxvjbi.js +1 -0
- package/dist/assets/{copy-YEsXfR2c.js → copy-DQHP39o_.js} +1 -1
- package/dist/assets/{debounced-invalidate-vcDg_AGF.js → debounced-invalidate-BWBc5uaY.js} +1 -1
- package/dist/assets/dist-Bh4pP3Lk.js +345 -0
- package/dist/assets/{dist-D4q0IXSf.js → dist-DqwPCDLL.js} +1 -1
- package/dist/assets/{download-DPZBSvSF.js → download-D8qqR37g.js} +1 -1
- package/dist/assets/{face-bbox-BvRIhrF0.js → face-bbox-GlN6DJbE.js} +1 -1
- package/dist/assets/{hard-drive-BC5CbCKH.js → hard-drive-DDGRH4_v.js} +1 -1
- package/dist/assets/{hostInit-BDwt10vd.js → hostInit-BYA5grd_.js} +1 -1
- package/dist/assets/index-BhFZLP1H.css +2 -0
- package/dist/assets/{index-BRus6yhH.js → index-kOLbwjEX.js} +3 -3
- package/dist/assets/{key-round-Dv5ISevH.js → key-round-DBnD5hXc.js} +1 -1
- package/dist/assets/{mf-entry-bootstrap-0-3a76ad4f.js → mf-entry-bootstrap-0-834af401.js} +2 -2
- package/dist/assets/{pencil-CRnnYNQr.js → pencil-hCEUn1IA.js} +1 -1
- package/dist/assets/play-N-aCIv2P.js +1 -0
- package/dist/assets/{player-overlays-H5rD3ZP3.js → player-overlays-BfDIfiH7.js} +1 -1
- package/dist/assets/plus-BwBDSSUm.js +1 -0
- package/dist/assets/power-BftD_p5X.js +1 -0
- package/dist/assets/{radio-joud_jl0.js → radio-CPfefoam.js} +1 -1
- package/dist/assets/{refresh-cw-BrszmQnu.js → refresh-cw-C2McgRco.js} +1 -1
- package/dist/assets/remoteEntry-DFgCYg0q.js +1 -0
- package/dist/assets/rotate-ccw-xAFA8eXV.js +1 -0
- package/dist/assets/rotate-cw-9bzblRxY.js +1 -0
- package/dist/assets/search-B4tuDAaK.js +1 -0
- package/dist/assets/{send-MV4P49UU.js → send-D_iwM8fS.js} +1 -1
- package/dist/assets/{server-DSSy7iqj.js → server-CsRBtCL_.js} +1 -1
- package/dist/assets/square-9Bf62Szc.js +1 -0
- package/dist/assets/{square-check-big-BiVVfoEV.js → square-check-big-BjxSMbRP.js} +1 -1
- package/dist/assets/{src-C7N6jNfY.js → src-BbMtrcN-.js} +5 -5
- package/dist/assets/src-BtBhNsTu.js +345 -0
- package/dist/assets/{undo-2-C2jrwl3p.js → undo-2-CZfJ2e4-.js} +1 -1
- package/dist/assets/{upload-pHikqua7.js → upload-B5vgLYAF.js} +1 -1
- package/dist/assets/{useEventInvalidation-Dr34qZD_.js → useEventInvalidation-Dx_csywq.js} +1 -1
- package/dist/assets/{video-BNfwA0TH.js → video-BjqUkGjh.js} +1 -1
- package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-CFcrXG4b.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-6SojcGBS.js} +2 -2
- package/dist/assets/{wifi-CVzWJFLt.js → wifi-Nvsx1sGJ.js} +1 -1
- package/dist/assets/{zap-TDDmHG5Y.js → zap-CnaB8TAK.js} +1 -1
- package/dist/index.html +6 -6
- package/dist/server/addon.js +190 -14
- package/package.json +1 -1
- package/dist/assets/Notifications-B0x-JrHu.js +0 -1
- package/dist/assets/circle-check-big-DWqIjWA6.js +0 -1
- package/dist/assets/clock-7U8O9cc1.js +0 -1
- package/dist/assets/dist-CawjP_cp.js +0 -345
- package/dist/assets/index-BA6zN6NY.css +0 -2
- package/dist/assets/play-DabTcxF5.js +0 -1
- package/dist/assets/plus-BPR3RV2f.js +0 -1
- package/dist/assets/power-aUBsbHal.js +0 -1
- package/dist/assets/remoteEntry--hQyrrg5.js +0 -1
- package/dist/assets/rotate-ccw-DQRvg7Up.js +0 -1
- package/dist/assets/rotate-cw-CID-wZxB.js +0 -1
- package/dist/assets/search-DSNJgdxB.js +0 -1
- package/dist/assets/square-Ca2hlTWF.js +0 -1
- package/dist/assets/src-C5APVTn-.js +0 -345
package/dist/server/addon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
2
|
import { fileURLToPath } from "node:url";
|
|
3
|
-
//#region ../types/dist/event-category-
|
|
3
|
+
//#region ../types/dist/event-category-Bxo5yJjt.mjs
|
|
4
4
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
5
5
|
EventCategory["SystemBoot"] = "system.boot";
|
|
6
6
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -207,6 +207,33 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
207
207
|
EventCategory["PipelineCameraAssigned"] = "pipeline.camera-assigned";
|
|
208
208
|
EventCategory["PipelineCameraUnassigned"] = "pipeline.camera-unassigned";
|
|
209
209
|
/**
|
|
210
|
+
* A node the orchestrator would otherwise place cameras on has NO usable
|
|
211
|
+
* inference device: the operator enabled one or more accelerators there and
|
|
212
|
+
* the live probe reports every one of them unavailable. Emitted once per
|
|
213
|
+
* TRANSITION into that state (never per dispatch), and the node is dropped
|
|
214
|
+
* from the placement candidate set for as long as it holds.
|
|
215
|
+
*
|
|
216
|
+
* This exists because the state was previously invisible: little-unraid
|
|
217
|
+
* absorbed 283k inference errors in a day while still being handed cameras,
|
|
218
|
+
* and nothing in the system said so.
|
|
219
|
+
*
|
|
220
|
+
* A node with no accelerators configured at all is NOT this — its devices
|
|
221
|
+
* are `disabled`, not `unavailable`, and the runner's default CPU pool
|
|
222
|
+
* serves it exactly as before.
|
|
223
|
+
*/
|
|
224
|
+
EventCategory["PipelineNodeInferenceUnavailable"] = "pipeline.node-inference-unavailable";
|
|
225
|
+
/**
|
|
226
|
+
* A camera has an OPEN detection session and has produced no detection at
|
|
227
|
+
* all for longer than the blind threshold — the camera is being decoded and
|
|
228
|
+
* inferred and is returning nothing. Emitted once per transition into blind,
|
|
229
|
+
* per camera.
|
|
230
|
+
*
|
|
231
|
+
* The failure it reports: a 1h43 detection blackout on the entrance camera
|
|
232
|
+
* that nobody noticed, because "a camera that detects nothing" and "a quiet
|
|
233
|
+
* camera" produce byte-identical silence.
|
|
234
|
+
*/
|
|
235
|
+
EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
|
|
236
|
+
/**
|
|
210
237
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
211
238
|
* (3-level settings change via `setAgentAddonDefaults` /
|
|
212
239
|
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
@@ -13995,6 +14022,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
13995
14022
|
"stream-offline",
|
|
13996
14023
|
"node-online",
|
|
13997
14024
|
"node-offline",
|
|
14025
|
+
"node-inference-unavailable",
|
|
14026
|
+
"detection-blind",
|
|
13998
14027
|
"addon-update-available",
|
|
13999
14028
|
"server-update-available",
|
|
14000
14029
|
"alarm-triggered",
|
|
@@ -14056,7 +14085,16 @@ var NcScheduleSchema = object({
|
|
|
14056
14085
|
});
|
|
14057
14086
|
/** Fuzzy plate matcher — OCR noise makes exact match useless (spec row 12/13). */
|
|
14058
14087
|
var NcPlateMatcherSchema = object({
|
|
14059
|
-
|
|
14088
|
+
/**
|
|
14089
|
+
* Plate texts (or gallery vehicle names) to match. EMPTY = **any plate the
|
|
14090
|
+
* pipeline could read** — the plate half of "no selection = no narrowing",
|
|
14091
|
+
* and the switch that says this rule is about vehicles that were IDENTIFIED
|
|
14092
|
+
* rather than merely seen. A subject carrying no plate still fails.
|
|
14093
|
+
*
|
|
14094
|
+
* The `.min(1)` this used to carry made that state unauthorable; nothing has
|
|
14095
|
+
* ever persisted an empty list, so widening it cannot change an existing rule.
|
|
14096
|
+
*/
|
|
14097
|
+
values: array(string().min(1)),
|
|
14060
14098
|
/** Max Levenshtein distance after normalization (uppercase alphanumeric). */
|
|
14061
14099
|
maxDistance: number().int().min(0).max(3).default(1)
|
|
14062
14100
|
});
|
|
@@ -14295,18 +14333,47 @@ var NcConditionsSchema = object({
|
|
|
14295
14333
|
*/
|
|
14296
14334
|
labelEquals: array(string().min(1)).optional(),
|
|
14297
14335
|
/**
|
|
14298
|
-
*
|
|
14299
|
-
*
|
|
14300
|
-
*
|
|
14336
|
+
* KNOWN FACES — the rule's identity scope, and the switch that says the rule
|
|
14337
|
+
* is about recognised people at all.
|
|
14338
|
+
*
|
|
14339
|
+
* Three states, and the empty one is the point:
|
|
14340
|
+
*
|
|
14341
|
+
* | value | meaning |
|
|
14342
|
+
* | --- | --- |
|
|
14343
|
+
* | absent | the rule does not care who it is; an unrecognised person matches |
|
|
14344
|
+
* | `[]` | **only known faces** — any identity in the gallery, nobody in particular |
|
|
14345
|
+
* | a list | only these identities |
|
|
14346
|
+
*
|
|
14347
|
+
* `[]` is the repo-wide "no selection = no narrowing" reading (an absent
|
|
14348
|
+
* `devices` list is every device), applied one level down: the operator has
|
|
14349
|
+
* turned the face scope ON and narrowed it to nothing, which is every known
|
|
14350
|
+
* face. No second field states the same thing — a switch that can disagree
|
|
14351
|
+
* with the list under it is worse than no switch (D62).
|
|
14352
|
+
*
|
|
14353
|
+
* MEMBERS ARE FACE-GALLERY `Identity.id`s (uuid), not display names. A name is
|
|
14354
|
+
* renameable, and a rule authored on "Gianluca" went silently dark the moment
|
|
14355
|
+
* the operator fixed the spelling. The id reaches the record on
|
|
14356
|
+
* `LabelAttribution.identityId`; the name is what the editor shows and what
|
|
14357
|
+
* `{{label}}` renders.
|
|
14358
|
+
*
|
|
14359
|
+
* Rules written before this carry NAMES, and are resolved to ids lazily at
|
|
14360
|
+
* load (`NcRuleStore.load`) against the live gallery — a name nothing answers
|
|
14361
|
+
* for is left as it stands and reported, never dropped. The engine also
|
|
14362
|
+
* accepts a display-name hit as a compatibility leg, so a rule whose
|
|
14363
|
+
* migration could not resolve keeps matching exactly what it matched before.
|
|
14301
14364
|
*/
|
|
14302
14365
|
identities: array(string().min(1)).optional(),
|
|
14303
|
-
/**
|
|
14366
|
+
/**
|
|
14367
|
+
* KNOWN PLATES / VEHICLES — the plate mirror of {@link identities}, including
|
|
14368
|
+
* the empty-list reading: `values: []` is "any plate the OCR could read",
|
|
14369
|
+
* a non-empty list is those plates (fuzzily). See {@link NcPlateMatcherSchema}.
|
|
14370
|
+
*/
|
|
14304
14371
|
plates: NcPlateMatcherSchema.optional(),
|
|
14305
14372
|
/**
|
|
14306
|
-
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics
|
|
14307
|
-
*
|
|
14308
|
-
* identity
|
|
14309
|
-
*
|
|
14373
|
+
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics, and
|
|
14374
|
+
* the same id members and the same lazy name→id migration. A record with NO
|
|
14375
|
+
* identity passes (nothing to exclude), unlike the include variant which
|
|
14376
|
+
* fails on an unrecognised subject. An EMPTY list excludes nobody.
|
|
14310
14377
|
*/
|
|
14311
14378
|
identitiesExclude: array(string().min(1)).optional(),
|
|
14312
14379
|
/**
|
|
@@ -14698,7 +14765,80 @@ var NcRuleInputSchema = object({
|
|
|
14698
14765
|
* a rule that predates the gate must keep delivering byte-for-byte as it
|
|
14699
14766
|
* did, and absent is the only way to say that without a migration.
|
|
14700
14767
|
*/
|
|
14701
|
-
confirm: NcConfirmSchema.optional()
|
|
14768
|
+
confirm: NcConfirmSchema.optional(),
|
|
14769
|
+
/**
|
|
14770
|
+
* WAIT for face/plate recognition before saying anything.
|
|
14771
|
+
*
|
|
14772
|
+
* A notification's TEXT is frozen at enqueue and its media is re-resolved at
|
|
14773
|
+
* send; the identity is neither. A face is confirmed after `confirmFrames`
|
|
14774
|
+
* agreeing observations — p50 **11.4 s** after the track was first seen,
|
|
14775
|
+
* measured on this hub — and an `immediate` rule enqueues on the first object
|
|
14776
|
+
* event, seconds before that. So "Gianluca è arrivato" is unsayable on the
|
|
14777
|
+
* immediate path, and no amount of media re-resolution fixes a sentence.
|
|
14778
|
+
*
|
|
14779
|
+
* Only two honest answers exist, and this flag picks between them. It has
|
|
14780
|
+
* effect ONLY on a rule that declares a recognition scope
|
|
14781
|
+
* ({@link NcConditions.identities} or {@link NcConditions.plates}) — on any
|
|
14782
|
+
* other rule there is nothing to wait for and the flag is inert.
|
|
14783
|
+
*
|
|
14784
|
+
* | value | what happens |
|
|
14785
|
+
* | --- | --- |
|
|
14786
|
+
* | `true` | the rule stops firing on the object event and fires at TRACK CLOSE instead, once, with the name — later, and complete |
|
|
14787
|
+
* | absent / `false` | it fires at once WITHOUT the name, and if recognition lands before the track closes a SECOND, "…is Gianluca" notification follows (one per track, per rule, per target) |
|
|
14788
|
+
*
|
|
14789
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
14790
|
+
* on the addon cap path, and absent has to keep meaning exactly what every
|
|
14791
|
+
* rule authored before this field meant.
|
|
14792
|
+
*
|
|
14793
|
+
* The cost of `true` is stated here because the editor states it too: a rule
|
|
14794
|
+
* that waits also inherits track-close SEMANTICS — its `zones` condition
|
|
14795
|
+
* tests every zone the track visited and a `crossing` condition can no longer
|
|
14796
|
+
* be satisfied, because a closed track carries no crossing.
|
|
14797
|
+
*/
|
|
14798
|
+
waitForEnhancement: boolean().optional(),
|
|
14799
|
+
/**
|
|
14800
|
+
* GROUP a burst of subjects into ONE notification that grows.
|
|
14801
|
+
*
|
|
14802
|
+
* Seconds of quiet after the last matching subject before the burst is
|
|
14803
|
+
* considered over. While it is open, the first subject enqueues immediately —
|
|
14804
|
+
* **exactly as today, with no added latency** — and every real growth (a new
|
|
14805
|
+
* subject, or a name confirmed on one already in it) REPLACES that
|
|
14806
|
+
* notification with an updated one naming everybody. The push carries the
|
|
14807
|
+
* group's own coalescing tag, so the phone replaces rather than stacks.
|
|
14808
|
+
*
|
|
14809
|
+
* `0` / absent = off, and off is today's behaviour byte for byte.
|
|
14810
|
+
*
|
|
14811
|
+
* ### Why an idle cutoff and not a window
|
|
14812
|
+
*
|
|
14813
|
+
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
14814
|
+
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
14815
|
+
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
14816
|
+
* 30 is Frigate's shipped value for the same decision.
|
|
14817
|
+
*
|
|
14818
|
+
* ### What it replaces
|
|
14819
|
+
*
|
|
14820
|
+
* The blind cooldown, which collapses a burst by DISCARDING it. Measured on
|
|
14821
|
+
* device 615 / *Persona su Uscio* over six days: 116 qualifying tracks → 74
|
|
14822
|
+
* notifications, **44 (37.9%) suppressed outright**, 23 of them overlapping a
|
|
14823
|
+
* track that did fire and 7 carrying a confirmed identity nobody heard about.
|
|
14824
|
+
* A group collapses the same volume by MERGING, so the cooldown becomes a
|
|
14825
|
+
* budget over GROUPS — which is what it always meant — and a growth is never
|
|
14826
|
+
* throttled by the window its own first member spent.
|
|
14827
|
+
*
|
|
14828
|
+
* ### Interaction with {@link waitForEnhancement}
|
|
14829
|
+
*
|
|
14830
|
+
* They compose, and the order matters. `waitForEnhancement` defers the rule to
|
|
14831
|
+
* TRACK CLOSE, so with both set the group is opened by the first member to
|
|
14832
|
+
* CLOSE — already carrying its name — and grows as later members close. That
|
|
14833
|
+
* is later, and complete. With grouping alone the group opens on the first
|
|
14834
|
+
* object event and picks up names as they are confirmed, through the growth
|
|
14835
|
+
* path. Neither combination fires twice for one subject.
|
|
14836
|
+
*
|
|
14837
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
14838
|
+
* on the addon cap path, so absent must keep meaning what it meant before this
|
|
14839
|
+
* field existed.
|
|
14840
|
+
*/
|
|
14841
|
+
groupIdleSec: number().int().min(0).max(600).optional()
|
|
14702
14842
|
});
|
|
14703
14843
|
/**
|
|
14704
14844
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
|
@@ -15624,7 +15764,7 @@ var TrackEnvelopeSchema = object({
|
|
|
15624
15764
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
15625
15765
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
15626
15766
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
15627
|
-
* zonesVisited, bestEventId, envelope, hasFace) and returns `positions` /
|
|
15767
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
15628
15768
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
15629
15769
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
15630
15770
|
* (`getObjectEvents` et al.).
|
|
@@ -15760,7 +15900,21 @@ union([literal(1), literal(2)]);
|
|
|
15760
15900
|
var LabelAttributionSchema = object({
|
|
15761
15901
|
stepId: string(),
|
|
15762
15902
|
modelId: string().optional(),
|
|
15763
|
-
decidedAt: number()
|
|
15903
|
+
decidedAt: number(),
|
|
15904
|
+
/**
|
|
15905
|
+
* The GALLERY id behind a recognised tier-2 label — a face-gallery
|
|
15906
|
+
* `Identity.id` or a plate-gallery `Vehicle.id` (both `randomUUID`).
|
|
15907
|
+
*
|
|
15908
|
+
* The text alone is a DISPLAY NAME, and a display name is renameable: a
|
|
15909
|
+
* notification rule authored on "Gianluca" stopped matching the moment the
|
|
15910
|
+
* operator fixed the spelling in the gallery, and nothing said so. The id is
|
|
15911
|
+
* the thing that does not move, so it is what a rule matches on
|
|
15912
|
+
* (`NcConditions.identities`) and the text is what a human is shown.
|
|
15913
|
+
*
|
|
15914
|
+
* Absent when the label names no gallery row — a plate the OCR read but no
|
|
15915
|
+
* vehicle claims, a sub-class, a species, any tier-1 value.
|
|
15916
|
+
*/
|
|
15917
|
+
identityId: string().optional()
|
|
15764
15918
|
});
|
|
15765
15919
|
/**
|
|
15766
15920
|
* The TIERED label model (roadmap 4g), spread into `TrackSchema` and
|
|
@@ -15897,6 +16051,28 @@ var TrackSchema = object({
|
|
|
15897
16051
|
* `=== true` and render nothing otherwise, never infer "no face".
|
|
15898
16052
|
*/
|
|
15899
16053
|
hasFace: boolean().optional(),
|
|
16054
|
+
/**
|
|
16055
|
+
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
16056
|
+
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
16057
|
+
* so the passage is tracked once and as a VEHICLE.
|
|
16058
|
+
*
|
|
16059
|
+
* It exists because the fold's record was dishonest. D34 and the code both
|
|
16060
|
+
* said "the person is not lost — it is reported so both entities stay on the
|
|
16061
|
+
* record"; in fact the pair went into a per-processor RAM field behind an
|
|
16062
|
+
* accessor nobody called, and every durable surface said `vehicle`, full
|
|
16063
|
+
* stop. This is the composition note that makes the row true.
|
|
16064
|
+
*
|
|
16065
|
+
* A COMPOSITION, never a class and never a label. "This vehicle contains a
|
|
16066
|
+
* person" is not an answer to "what is this" — both label tiers would refuse
|
|
16067
|
+
* a macro token anyway (D89), and correctly. Nothing here changes what the
|
|
16068
|
+
* subject IS: a cyclist stays one vehicle track, occupancy still counts one,
|
|
16069
|
+
* and a `person` rule still does not fire for someone cycling past.
|
|
16070
|
+
*
|
|
16071
|
+
* **Absent ≠ false**, exactly like {@link hasFace}: every row written before
|
|
16072
|
+
* the column, and every hub that predates the field, omits it. Test
|
|
16073
|
+
* `=== true` and render nothing otherwise — never infer "no rider".
|
|
16074
|
+
*/
|
|
16075
|
+
hasRider: boolean().optional(),
|
|
15900
16076
|
...TrackFlagFields,
|
|
15901
16077
|
...TrackRetrainFields
|
|
15902
16078
|
});
|
|
@@ -32721,7 +32897,7 @@ var AdminUIAddon = class extends BaseAddon {
|
|
|
32721
32897
|
capability: adminUiCapability,
|
|
32722
32898
|
provider: {
|
|
32723
32899
|
getStaticDir: async () => ({ staticDir: resolveAdminUiDistDir() }),
|
|
32724
|
-
getVersion: async () => ({ version: "1.2.
|
|
32900
|
+
getVersion: async () => ({ version: "1.2.58" })
|
|
32725
32901
|
}
|
|
32726
32902
|
}];
|
|
32727
32903
|
}
|