@camstack/addon-pipeline 1.2.75 → 1.2.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{addon-utils-a_36HH_N.js → addon-utils-CTpQfjSR.js} +1 -1
- package/dist/audio-analyzer/index.js +2 -2
- package/dist/audio-analyzer/index.mjs +1 -1
- package/dist/detection-pipeline/index.js +4 -4
- package/dist/detection-pipeline/index.mjs +2 -2
- package/dist/{dist-6ZJCV0jY.js → dist-CZLjObZZ.js} +97 -3
- package/dist/{dist-T_8jMw7d.mjs → dist-zksfWnEA.mjs} +97 -3
- package/dist/{event-loop-stall-monitor-XeGmL4xr.mjs → event-loop-stall-monitor-BuZA3loB.mjs} +1 -1
- package/dist/{event-loop-stall-monitor-Cjof8vA1.js → event-loop-stall-monitor-CcBQAI28.js} +1 -1
- package/dist/{lazy-sharp-DvwPafeP.js → lazy-sharp-SWR_D1Um.js} +1 -1
- package/dist/motion-wasm/index.js +2 -2
- package/dist/motion-wasm/index.mjs +1 -1
- package/dist/pipeline-runner/index.js +278 -15
- package/dist/pipeline-runner/index.mjs +277 -14
- package/dist/recorder/index.js +2 -2
- package/dist/recorder/index.mjs +1 -1
- package/dist/session-decode/decode-worker-child.js +2 -2
- package/dist/session-decode/decode-worker-child.mjs +1 -1
- package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-H2OTmgR6.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-Dd6XOtVn.mjs} +1 -1
- package/dist/stream-broker/{hostInit-4XDN_Nt0.mjs → hostInit-COc_Q_xX.mjs} +1 -1
- package/dist/stream-broker/index.js +1 -1
- package/dist/stream-broker/index.mjs +1 -1
- package/dist/stream-broker/remoteEntry.js +1 -1
- package/dist/{worker-protocol-B0cbTXyw.js → worker-protocol-DAQ1iZFK.js} +1 -1
- package/dist/{worker-protocol-SqED7Y9i.mjs → worker-protocol-DyX_HbaJ.mjs} +1 -1
- package/package.json +1 -1
|
@@ -2,9 +2,9 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_dist = require("../dist-
|
|
5
|
+
const require_dist = require("../dist-CZLjObZZ.js");
|
|
6
6
|
const require_node_topology_platform = require("../node-topology-platform-CFZ7F4xW.js");
|
|
7
|
-
const require_addon_utils = require("../addon-utils-
|
|
7
|
+
const require_addon_utils = require("../addon-utils-CTpQfjSR.js");
|
|
8
8
|
let node_path = require("node:path");
|
|
9
9
|
node_path = require_dist.__toESM(node_path);
|
|
10
10
|
let node_fs = require("node:fs");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __require } from "../chunk-DnnnRqeS.mjs";
|
|
2
|
-
import { B as mapAudioLabelToMacro, E as audioAnalyzerCapability, T as audioAnalysisCapability, ft as hydrateSchema, m as HF_BASE_URL, n as AUDIO_BACKEND_CHOICES, o as DEFAULT_AUDIO_ANALYZER_CONFIG, st as BaseAddon, tt as errMsg } from "../dist-
|
|
2
|
+
import { B as mapAudioLabelToMacro, E as audioAnalyzerCapability, T as audioAnalysisCapability, ft as hydrateSchema, m as HF_BASE_URL, n as AUDIO_BACKEND_CHOICES, o as DEFAULT_AUDIO_ANALYZER_CONFIG, st as BaseAddon, tt as errMsg } from "../dist-zksfWnEA.mjs";
|
|
3
3
|
import { t as pickNodePlatformArch } from "../node-topology-platform-BkR_k6WT.mjs";
|
|
4
4
|
import { i as downloadFile } from "../addon-utils-A2S9D7pu.mjs";
|
|
5
5
|
import * as path$1 from "node:path";
|
|
@@ -2,11 +2,11 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_dist = require("../dist-
|
|
6
|
-
const require_event_loop_stall_monitor = require("../event-loop-stall-monitor-
|
|
7
|
-
const require_lazy_sharp = require("../lazy-sharp-
|
|
5
|
+
const require_dist = require("../dist-CZLjObZZ.js");
|
|
6
|
+
const require_event_loop_stall_monitor = require("../event-loop-stall-monitor-CcBQAI28.js");
|
|
7
|
+
const require_lazy_sharp = require("../lazy-sharp-SWR_D1Um.js");
|
|
8
8
|
const require_node_topology_platform = require("../node-topology-platform-CFZ7F4xW.js");
|
|
9
|
-
const require_addon_utils = require("../addon-utils-
|
|
9
|
+
const require_addon_utils = require("../addon-utils-CTpQfjSR.js");
|
|
10
10
|
let sharp = require("sharp");
|
|
11
11
|
sharp = require_dist.__toESM(sharp);
|
|
12
12
|
let node_child_process = require("node:child_process");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __require } from "../chunk-DnnnRqeS.mjs";
|
|
2
|
-
import { $ as supportedRuntimes$1, A as defaultDeviceFor$1, At as string, C as YAMNET_TO_MACRO, G as pipelineExecutorCapability, L as enumerateInferenceDevices, Mt as EventCategory, Ot as object, P as detectionPipelineCapability, R as evaluateZoneRules, St as array, X as runtimeDevices$1, _t as parseJsonUnknown, bt as sleep, dt as createEvent, ft as hydrateSchema, gt as nodePin, jt as union, st as BaseAddon, t as APPLE_SA_TO_MACRO, tt as errMsg, u as DEVICE_BACKEND_TO_FORMAT } from "../dist-
|
|
3
|
-
import { a as getDefaultModelForFormat, c as getStepDefinition, i as ALL_STEPS, l as resolveModelForFormat, n as startEventLoopStallMonitor, o as getDefaultModelForFormatFromDef, r as ALL_PIPELINE_STEPS, s as getStep } from "../event-loop-stall-monitor-
|
|
2
|
+
import { $ as supportedRuntimes$1, A as defaultDeviceFor$1, At as string, C as YAMNET_TO_MACRO, G as pipelineExecutorCapability, L as enumerateInferenceDevices, Mt as EventCategory, Ot as object, P as detectionPipelineCapability, R as evaluateZoneRules, St as array, X as runtimeDevices$1, _t as parseJsonUnknown, bt as sleep, dt as createEvent, ft as hydrateSchema, gt as nodePin, jt as union, st as BaseAddon, t as APPLE_SA_TO_MACRO, tt as errMsg, u as DEVICE_BACKEND_TO_FORMAT } from "../dist-zksfWnEA.mjs";
|
|
3
|
+
import { a as getDefaultModelForFormat, c as getStepDefinition, i as ALL_STEPS, l as resolveModelForFormat, n as startEventLoopStallMonitor, o as getDefaultModelForFormatFromDef, r as ALL_PIPELINE_STEPS, s as getStep } from "../event-loop-stall-monitor-BuZA3loB.mjs";
|
|
4
4
|
import { t as getSharp } from "../lazy-sharp-6oymT_yf.mjs";
|
|
5
5
|
import { t as pickNodePlatformArch } from "../node-topology-platform-BkR_k6WT.mjs";
|
|
6
6
|
import { a as ensureModel, o as isModelDownloaded, r as deleteModelFromDisk } from "../addon-utils-A2S9D7pu.mjs";
|
|
@@ -22,7 +22,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
22
22
|
}) : target, mod));
|
|
23
23
|
//#endregion
|
|
24
24
|
let node_crypto = require("node:crypto");
|
|
25
|
-
//#region ../types/dist/event-category-
|
|
25
|
+
//#region ../types/dist/event-category-Bxo5yJjt.mjs
|
|
26
26
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
27
27
|
EventCategory["SystemBoot"] = "system.boot";
|
|
28
28
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -229,6 +229,33 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
229
229
|
EventCategory["PipelineCameraAssigned"] = "pipeline.camera-assigned";
|
|
230
230
|
EventCategory["PipelineCameraUnassigned"] = "pipeline.camera-unassigned";
|
|
231
231
|
/**
|
|
232
|
+
* A node the orchestrator would otherwise place cameras on has NO usable
|
|
233
|
+
* inference device: the operator enabled one or more accelerators there and
|
|
234
|
+
* the live probe reports every one of them unavailable. Emitted once per
|
|
235
|
+
* TRANSITION into that state (never per dispatch), and the node is dropped
|
|
236
|
+
* from the placement candidate set for as long as it holds.
|
|
237
|
+
*
|
|
238
|
+
* This exists because the state was previously invisible: little-unraid
|
|
239
|
+
* absorbed 283k inference errors in a day while still being handed cameras,
|
|
240
|
+
* and nothing in the system said so.
|
|
241
|
+
*
|
|
242
|
+
* A node with no accelerators configured at all is NOT this — its devices
|
|
243
|
+
* are `disabled`, not `unavailable`, and the runner's default CPU pool
|
|
244
|
+
* serves it exactly as before.
|
|
245
|
+
*/
|
|
246
|
+
EventCategory["PipelineNodeInferenceUnavailable"] = "pipeline.node-inference-unavailable";
|
|
247
|
+
/**
|
|
248
|
+
* A camera has an OPEN detection session and has produced no detection at
|
|
249
|
+
* all for longer than the blind threshold — the camera is being decoded and
|
|
250
|
+
* inferred and is returning nothing. Emitted once per transition into blind,
|
|
251
|
+
* per camera.
|
|
252
|
+
*
|
|
253
|
+
* The failure it reports: a 1h43 detection blackout on the entrance camera
|
|
254
|
+
* that nobody noticed, because "a camera that detects nothing" and "a quiet
|
|
255
|
+
* camera" produce byte-identical silence.
|
|
256
|
+
*/
|
|
257
|
+
EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
|
|
258
|
+
/**
|
|
232
259
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
233
260
|
* (3-level settings change via `setAgentAddonDefaults` /
|
|
234
261
|
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
@@ -15821,6 +15848,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
15821
15848
|
"stream-offline",
|
|
15822
15849
|
"node-online",
|
|
15823
15850
|
"node-offline",
|
|
15851
|
+
"node-inference-unavailable",
|
|
15852
|
+
"detection-blind",
|
|
15824
15853
|
"addon-update-available",
|
|
15825
15854
|
"server-update-available",
|
|
15826
15855
|
"alarm-triggered",
|
|
@@ -16592,7 +16621,50 @@ var NcRuleInputSchema = object({
|
|
|
16592
16621
|
* tests every zone the track visited and a `crossing` condition can no longer
|
|
16593
16622
|
* be satisfied, because a closed track carries no crossing.
|
|
16594
16623
|
*/
|
|
16595
|
-
waitForEnhancement: boolean().optional()
|
|
16624
|
+
waitForEnhancement: boolean().optional(),
|
|
16625
|
+
/**
|
|
16626
|
+
* GROUP a burst of subjects into ONE notification that grows.
|
|
16627
|
+
*
|
|
16628
|
+
* Seconds of quiet after the last matching subject before the burst is
|
|
16629
|
+
* considered over. While it is open, the first subject enqueues immediately —
|
|
16630
|
+
* **exactly as today, with no added latency** — and every real growth (a new
|
|
16631
|
+
* subject, or a name confirmed on one already in it) REPLACES that
|
|
16632
|
+
* notification with an updated one naming everybody. The push carries the
|
|
16633
|
+
* group's own coalescing tag, so the phone replaces rather than stacks.
|
|
16634
|
+
*
|
|
16635
|
+
* `0` / absent = off, and off is today's behaviour byte for byte.
|
|
16636
|
+
*
|
|
16637
|
+
* ### Why an idle cutoff and not a window
|
|
16638
|
+
*
|
|
16639
|
+
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
16640
|
+
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
16641
|
+
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
16642
|
+
* 30 is Frigate's shipped value for the same decision.
|
|
16643
|
+
*
|
|
16644
|
+
* ### What it replaces
|
|
16645
|
+
*
|
|
16646
|
+
* The blind cooldown, which collapses a burst by DISCARDING it. Measured on
|
|
16647
|
+
* device 615 / *Persona su Uscio* over six days: 116 qualifying tracks → 74
|
|
16648
|
+
* notifications, **44 (37.9%) suppressed outright**, 23 of them overlapping a
|
|
16649
|
+
* track that did fire and 7 carrying a confirmed identity nobody heard about.
|
|
16650
|
+
* A group collapses the same volume by MERGING, so the cooldown becomes a
|
|
16651
|
+
* budget over GROUPS — which is what it always meant — and a growth is never
|
|
16652
|
+
* throttled by the window its own first member spent.
|
|
16653
|
+
*
|
|
16654
|
+
* ### Interaction with {@link waitForEnhancement}
|
|
16655
|
+
*
|
|
16656
|
+
* They compose, and the order matters. `waitForEnhancement` defers the rule to
|
|
16657
|
+
* TRACK CLOSE, so with both set the group is opened by the first member to
|
|
16658
|
+
* CLOSE — already carrying its name — and grows as later members close. That
|
|
16659
|
+
* is later, and complete. With grouping alone the group opens on the first
|
|
16660
|
+
* object event and picks up names as they are confirmed, through the growth
|
|
16661
|
+
* path. Neither combination fires twice for one subject.
|
|
16662
|
+
*
|
|
16663
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
16664
|
+
* on the addon cap path, so absent must keep meaning what it meant before this
|
|
16665
|
+
* field existed.
|
|
16666
|
+
*/
|
|
16667
|
+
groupIdleSec: number().int().min(0).max(600).optional()
|
|
16596
16668
|
});
|
|
16597
16669
|
/**
|
|
16598
16670
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
|
@@ -17518,7 +17590,7 @@ var TrackEnvelopeSchema = object({
|
|
|
17518
17590
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
17519
17591
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
17520
17592
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
17521
|
-
* zonesVisited, bestEventId, envelope, hasFace) and returns `positions` /
|
|
17593
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
17522
17594
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
17523
17595
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
17524
17596
|
* (`getObjectEvents` et al.).
|
|
@@ -17805,6 +17877,28 @@ var TrackSchema = object({
|
|
|
17805
17877
|
* `=== true` and render nothing otherwise, never infer "no face".
|
|
17806
17878
|
*/
|
|
17807
17879
|
hasFace: boolean().optional(),
|
|
17880
|
+
/**
|
|
17881
|
+
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
17882
|
+
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
17883
|
+
* so the passage is tracked once and as a VEHICLE.
|
|
17884
|
+
*
|
|
17885
|
+
* It exists because the fold's record was dishonest. D34 and the code both
|
|
17886
|
+
* said "the person is not lost — it is reported so both entities stay on the
|
|
17887
|
+
* record"; in fact the pair went into a per-processor RAM field behind an
|
|
17888
|
+
* accessor nobody called, and every durable surface said `vehicle`, full
|
|
17889
|
+
* stop. This is the composition note that makes the row true.
|
|
17890
|
+
*
|
|
17891
|
+
* A COMPOSITION, never a class and never a label. "This vehicle contains a
|
|
17892
|
+
* person" is not an answer to "what is this" — both label tiers would refuse
|
|
17893
|
+
* a macro token anyway (D89), and correctly. Nothing here changes what the
|
|
17894
|
+
* subject IS: a cyclist stays one vehicle track, occupancy still counts one,
|
|
17895
|
+
* and a `person` rule still does not fire for someone cycling past.
|
|
17896
|
+
*
|
|
17897
|
+
* **Absent ≠ false**, exactly like {@link hasFace}: every row written before
|
|
17898
|
+
* the column, and every hub that predates the field, omits it. Test
|
|
17899
|
+
* `=== true` and render nothing otherwise — never infer "no rider".
|
|
17900
|
+
*/
|
|
17901
|
+
hasRider: boolean().optional(),
|
|
17808
17902
|
...TrackFlagFields,
|
|
17809
17903
|
...TrackRetrainFields
|
|
17810
17904
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createHash } from "node:crypto";
|
|
2
|
-
//#region ../types/dist/event-category-
|
|
2
|
+
//#region ../types/dist/event-category-Bxo5yJjt.mjs
|
|
3
3
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4
4
|
EventCategory["SystemBoot"] = "system.boot";
|
|
5
5
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -206,6 +206,33 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
206
206
|
EventCategory["PipelineCameraAssigned"] = "pipeline.camera-assigned";
|
|
207
207
|
EventCategory["PipelineCameraUnassigned"] = "pipeline.camera-unassigned";
|
|
208
208
|
/**
|
|
209
|
+
* A node the orchestrator would otherwise place cameras on has NO usable
|
|
210
|
+
* inference device: the operator enabled one or more accelerators there and
|
|
211
|
+
* the live probe reports every one of them unavailable. Emitted once per
|
|
212
|
+
* TRANSITION into that state (never per dispatch), and the node is dropped
|
|
213
|
+
* from the placement candidate set for as long as it holds.
|
|
214
|
+
*
|
|
215
|
+
* This exists because the state was previously invisible: little-unraid
|
|
216
|
+
* absorbed 283k inference errors in a day while still being handed cameras,
|
|
217
|
+
* and nothing in the system said so.
|
|
218
|
+
*
|
|
219
|
+
* A node with no accelerators configured at all is NOT this — its devices
|
|
220
|
+
* are `disabled`, not `unavailable`, and the runner's default CPU pool
|
|
221
|
+
* serves it exactly as before.
|
|
222
|
+
*/
|
|
223
|
+
EventCategory["PipelineNodeInferenceUnavailable"] = "pipeline.node-inference-unavailable";
|
|
224
|
+
/**
|
|
225
|
+
* A camera has an OPEN detection session and has produced no detection at
|
|
226
|
+
* all for longer than the blind threshold — the camera is being decoded and
|
|
227
|
+
* inferred and is returning nothing. Emitted once per transition into blind,
|
|
228
|
+
* per camera.
|
|
229
|
+
*
|
|
230
|
+
* The failure it reports: a 1h43 detection blackout on the entrance camera
|
|
231
|
+
* that nobody noticed, because "a camera that detects nothing" and "a quiet
|
|
232
|
+
* camera" produce byte-identical silence.
|
|
233
|
+
*/
|
|
234
|
+
EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
|
|
235
|
+
/**
|
|
209
236
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
210
237
|
* (3-level settings change via `setAgentAddonDefaults` /
|
|
211
238
|
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
@@ -15798,6 +15825,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
15798
15825
|
"stream-offline",
|
|
15799
15826
|
"node-online",
|
|
15800
15827
|
"node-offline",
|
|
15828
|
+
"node-inference-unavailable",
|
|
15829
|
+
"detection-blind",
|
|
15801
15830
|
"addon-update-available",
|
|
15802
15831
|
"server-update-available",
|
|
15803
15832
|
"alarm-triggered",
|
|
@@ -16569,7 +16598,50 @@ var NcRuleInputSchema = object({
|
|
|
16569
16598
|
* tests every zone the track visited and a `crossing` condition can no longer
|
|
16570
16599
|
* be satisfied, because a closed track carries no crossing.
|
|
16571
16600
|
*/
|
|
16572
|
-
waitForEnhancement: boolean().optional()
|
|
16601
|
+
waitForEnhancement: boolean().optional(),
|
|
16602
|
+
/**
|
|
16603
|
+
* GROUP a burst of subjects into ONE notification that grows.
|
|
16604
|
+
*
|
|
16605
|
+
* Seconds of quiet after the last matching subject before the burst is
|
|
16606
|
+
* considered over. While it is open, the first subject enqueues immediately —
|
|
16607
|
+
* **exactly as today, with no added latency** — and every real growth (a new
|
|
16608
|
+
* subject, or a name confirmed on one already in it) REPLACES that
|
|
16609
|
+
* notification with an updated one naming everybody. The push carries the
|
|
16610
|
+
* group's own coalescing tag, so the phone replaces rather than stacks.
|
|
16611
|
+
*
|
|
16612
|
+
* `0` / absent = off, and off is today's behaviour byte for byte.
|
|
16613
|
+
*
|
|
16614
|
+
* ### Why an idle cutoff and not a window
|
|
16615
|
+
*
|
|
16616
|
+
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
16617
|
+
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
16618
|
+
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
16619
|
+
* 30 is Frigate's shipped value for the same decision.
|
|
16620
|
+
*
|
|
16621
|
+
* ### What it replaces
|
|
16622
|
+
*
|
|
16623
|
+
* The blind cooldown, which collapses a burst by DISCARDING it. Measured on
|
|
16624
|
+
* device 615 / *Persona su Uscio* over six days: 116 qualifying tracks → 74
|
|
16625
|
+
* notifications, **44 (37.9%) suppressed outright**, 23 of them overlapping a
|
|
16626
|
+
* track that did fire and 7 carrying a confirmed identity nobody heard about.
|
|
16627
|
+
* A group collapses the same volume by MERGING, so the cooldown becomes a
|
|
16628
|
+
* budget over GROUPS — which is what it always meant — and a growth is never
|
|
16629
|
+
* throttled by the window its own first member spent.
|
|
16630
|
+
*
|
|
16631
|
+
* ### Interaction with {@link waitForEnhancement}
|
|
16632
|
+
*
|
|
16633
|
+
* They compose, and the order matters. `waitForEnhancement` defers the rule to
|
|
16634
|
+
* TRACK CLOSE, so with both set the group is opened by the first member to
|
|
16635
|
+
* CLOSE — already carrying its name — and grows as later members close. That
|
|
16636
|
+
* is later, and complete. With grouping alone the group opens on the first
|
|
16637
|
+
* object event and picks up names as they are confirmed, through the growth
|
|
16638
|
+
* path. Neither combination fires twice for one subject.
|
|
16639
|
+
*
|
|
16640
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
16641
|
+
* on the addon cap path, so absent must keep meaning what it meant before this
|
|
16642
|
+
* field existed.
|
|
16643
|
+
*/
|
|
16644
|
+
groupIdleSec: number().int().min(0).max(600).optional()
|
|
16573
16645
|
});
|
|
16574
16646
|
/**
|
|
16575
16647
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
|
@@ -17495,7 +17567,7 @@ var TrackEnvelopeSchema = object({
|
|
|
17495
17567
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
17496
17568
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
17497
17569
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
17498
|
-
* zonesVisited, bestEventId, envelope, hasFace) and returns `positions` /
|
|
17570
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
17499
17571
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
17500
17572
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
17501
17573
|
* (`getObjectEvents` et al.).
|
|
@@ -17782,6 +17854,28 @@ var TrackSchema = object({
|
|
|
17782
17854
|
* `=== true` and render nothing otherwise, never infer "no face".
|
|
17783
17855
|
*/
|
|
17784
17856
|
hasFace: boolean().optional(),
|
|
17857
|
+
/**
|
|
17858
|
+
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
17859
|
+
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
17860
|
+
* so the passage is tracked once and as a VEHICLE.
|
|
17861
|
+
*
|
|
17862
|
+
* It exists because the fold's record was dishonest. D34 and the code both
|
|
17863
|
+
* said "the person is not lost — it is reported so both entities stay on the
|
|
17864
|
+
* record"; in fact the pair went into a per-processor RAM field behind an
|
|
17865
|
+
* accessor nobody called, and every durable surface said `vehicle`, full
|
|
17866
|
+
* stop. This is the composition note that makes the row true.
|
|
17867
|
+
*
|
|
17868
|
+
* A COMPOSITION, never a class and never a label. "This vehicle contains a
|
|
17869
|
+
* person" is not an answer to "what is this" — both label tiers would refuse
|
|
17870
|
+
* a macro token anyway (D89), and correctly. Nothing here changes what the
|
|
17871
|
+
* subject IS: a cyclist stays one vehicle track, occupancy still counts one,
|
|
17872
|
+
* and a `person` rule still does not fire for someone cycling past.
|
|
17873
|
+
*
|
|
17874
|
+
* **Absent ≠ false**, exactly like {@link hasFace}: every row written before
|
|
17875
|
+
* the column, and every hub that predates the field, omits it. Test
|
|
17876
|
+
* `=== true` and render nothing otherwise — never infer "no rider".
|
|
17877
|
+
*/
|
|
17878
|
+
hasRider: boolean().optional(),
|
|
17785
17879
|
...TrackFlagFields,
|
|
17786
17880
|
...TrackRetrainFields
|
|
17787
17881
|
});
|
package/dist/{event-loop-stall-monitor-XeGmL4xr.mjs → event-loop-stall-monitor-BuZA3loB.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as COCO_TO_MACRO, i as COCO_80_LABELS, r as AUDIO_MACRO_LABELS, z as hfModelUrl } from "./dist-
|
|
1
|
+
import { a as COCO_TO_MACRO, i as COCO_80_LABELS, r as AUDIO_MACRO_LABELS, z as hfModelUrl } from "./dist-zksfWnEA.mjs";
|
|
2
2
|
import { PerformanceObserver } from "node:perf_hooks";
|
|
3
3
|
//#region src/detection-pipeline/registry/model-catalogs.ts
|
|
4
4
|
var HF_REPO = "camstack/camstack-models";
|
|
@@ -2,8 +2,8 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_dist = require("../dist-
|
|
6
|
-
const require_lazy_sharp = require("../lazy-sharp-
|
|
5
|
+
const require_dist = require("../dist-CZLjObZZ.js");
|
|
6
|
+
const require_lazy_sharp = require("../lazy-sharp-SWR_D1Um.js");
|
|
7
7
|
let node_path = require("node:path");
|
|
8
8
|
let node_fs = require("node:fs");
|
|
9
9
|
//#region src/motion-wasm/wasm-motion-detector.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as motionDetectionCapability, R as evaluateZoneRules, ft as hydrateSchema, st as BaseAddon, ut as DeviceType } from "../dist-
|
|
1
|
+
import { H as motionDetectionCapability, R as evaluateZoneRules, ft as hydrateSchema, st as BaseAddon, ut as DeviceType } from "../dist-zksfWnEA.mjs";
|
|
2
2
|
import { t as getSharp } from "../lazy-sharp-6oymT_yf.mjs";
|
|
3
3
|
import { join } from "node:path";
|
|
4
4
|
import { readFileSync } from "node:fs";
|