@camstack/addon-pipeline 1.2.142 → 1.2.144

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.
Files changed (33) hide show
  1. package/dist/audio-analyzer/index.js +2 -2
  2. package/dist/audio-analyzer/index.mjs +2 -2
  3. package/dist/detection-pipeline/index.js +5 -5
  4. package/dist/detection-pipeline/index.mjs +4 -4
  5. package/dist/{dist-3bEUjzHN.js → dist-Dpy1KP1q.js} +63 -29
  6. package/dist/{dist-B25xMJDp.mjs → dist-uX-YDOrc.mjs} +64 -24
  7. package/dist/{event-loop-stall-monitor-CrWg3jrh.mjs → event-loop-stall-monitor-6YKQeg7_.mjs} +1 -1
  8. package/dist/{event-loop-stall-monitor-BQeD-JuB.js → event-loop-stall-monitor-D947d97M.js} +1 -1
  9. package/dist/{lazy-sharp-buaVXzJ6.js → lazy-sharp-zDl97I3e.js} +1 -1
  10. package/dist/motion-wasm/index.js +2 -2
  11. package/dist/motion-wasm/index.mjs +1 -1
  12. package/dist/{node-CFEV-qgx.mjs → node-DuMWMV01.mjs} +1 -1
  13. package/dist/{node-Cn9gEOs4.js → node-v9ZAGK2b.js} +1 -1
  14. package/dist/pipeline-runner/index.js +5 -5
  15. package/dist/pipeline-runner/index.mjs +4 -4
  16. package/dist/{process-memory-B4SGuNSB.mjs → process-memory-CNISjywZ.mjs} +1 -1
  17. package/dist/{process-memory-D7R-j96w.js → process-memory-ClAfQ1Nl.js} +1 -1
  18. package/dist/recorder/index.js +337 -72
  19. package/dist/recorder/index.mjs +337 -72
  20. package/dist/{segment-demux-js-J1AdcHSK.js → segment-demux-js-Bpedn-T8.js} +1 -1
  21. package/dist/{segment-demux-js-CwNYlHRC.mjs → segment-demux-js-CCMG51zw.mjs} +1 -1
  22. package/dist/session-decode/decode-worker-child.js +2 -2
  23. package/dist/session-decode/decode-worker-child.mjs +1 -1
  24. package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-O4QuB94V.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-MRLUZgkR.mjs} +3 -3
  25. package/dist/stream-broker/demux-worker-child.js +1 -1
  26. package/dist/stream-broker/demux-worker-child.mjs +1 -1
  27. package/dist/stream-broker/{hostInit-DXcoBCs4.mjs → hostInit-w0ytBmjx.mjs} +3 -3
  28. package/dist/stream-broker/index.js +3 -3
  29. package/dist/stream-broker/index.mjs +3 -3
  30. package/dist/stream-broker/remoteEntry.js +1 -1
  31. package/dist/{worker-protocol-DYOG2ris.mjs → worker-protocol-Cd-G92Qt.mjs} +1 -1
  32. package/dist/{worker-protocol-CxvZ6FP4.js → worker-protocol-Cn5x8dbW.js} +1 -1
  33. package/package.json +1 -1
@@ -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-3bEUjzHN.js");
6
- const require_process_memory = require("../process-memory-D7R-j96w.js");
5
+ const require_dist = require("../dist-Dpy1KP1q.js");
6
+ const require_process_memory = require("../process-memory-ClAfQ1Nl.js");
7
7
  let node_fs = require("node:fs");
8
8
  node_fs = require_dist.__toESM(node_fs);
9
9
  let node_path = require("node:path");
@@ -1,6 +1,6 @@
1
1
  import { n as __require } from "../chunk-DnnnRqeS.mjs";
2
- import { C as PoolMemoryWatchdog, Lt as hydrateSchema, M as audioAnalyzerCapability, Mt as BaseAddon, Tt as errMsg, j as audioAnalysisCapability, n as AUDIO_BACKEND_CHOICES, rt as mapAudioLabelToMacro, s as DEFAULT_AUDIO_ANALYZER_CONFIG, vt as resolvePoolMemoryPolicy, y as HF_BASE_URL } from "../dist-B25xMJDp.mjs";
3
- import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-B4SGuNSB.mjs";
2
+ import { A as audioAnalysisCapability, It as hydrateSchema, S as PoolMemoryWatchdog, _t as resolvePoolMemoryPolicy, j as audioAnalyzerCapability, jt as BaseAddon, n as AUDIO_BACKEND_CHOICES, nt as mapAudioLabelToMacro, s as DEFAULT_AUDIO_ANALYZER_CONFIG, v as HF_BASE_URL, wt as errMsg } from "../dist-uX-YDOrc.mjs";
3
+ import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-CNISjywZ.mjs";
4
4
  import * as fs from "node:fs";
5
5
  import * as path$1 from "node:path";
6
6
  import { downloadFile } from "@camstack/system/addon-utils";
@@ -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-3bEUjzHN.js");
6
- const require_node = require("../node-Cn9gEOs4.js");
7
- const require_event_loop_stall_monitor = require("../event-loop-stall-monitor-BQeD-JuB.js");
8
- const require_lazy_sharp = require("../lazy-sharp-buaVXzJ6.js");
9
- const require_process_memory = require("../process-memory-D7R-j96w.js");
5
+ const require_dist = require("../dist-Dpy1KP1q.js");
6
+ const require_node = require("../node-v9ZAGK2b.js");
7
+ const require_event_loop_stall_monitor = require("../event-loop-stall-monitor-D947d97M.js");
8
+ const require_lazy_sharp = require("../lazy-sharp-zDl97I3e.js");
9
+ const require_process_memory = require("../process-memory-ClAfQ1Nl.js");
10
10
  let node_fs = require("node:fs");
11
11
  node_fs = require_dist.__toESM(node_fs);
12
12
  let node_path = require("node:path");
@@ -1,9 +1,9 @@
1
1
  import { n as __require } from "../chunk-DnnnRqeS.mjs";
2
- import { $ as inferModelProvider, $t as object, B as defaultDeviceFor$1, C as PoolMemoryWatchdog, Ct as supportedRuntimes$1, G as detectionPipelineCapability, Gt as sleep, Ht as parseJsonUnknown, It as createEvent, J as enumerateInferenceDevices, Lt as hydrateSchema, Mt as BaseAddon, Tt as errMsg, Vt as nodePin, X as evaluateZoneRules, bt as runtimeDevices$1, c as DEFAULT_CLUSTER_STEP_MODELS, ct as pickClusterStepModels, ft as pipelineExecutorCapability, gt as resolveClusterStepModelId, k as YAMNET_TO_MACRO, l as DEFAULT_CLUSTER_STEP_SETTINGS, lt as pickClusterStepSettings, m as DEVICE_BACKEND_TO_FORMAT, nn as union, ot as overlayClusterStepSettings, qt as array, rn as EventCategory, t as APPLE_SA_TO_MACRO, tn as string, tt as loadContributionCapability, vt as resolvePoolMemoryPolicy } from "../dist-B25xMJDp.mjs";
3
- import { a as readProcessCost } from "../node-CFEV-qgx.mjs";
4
- import { a as ALL_PIPELINE_STEPS, c as getDefaultModelForFormatFromDef, d as resolveModelForFormat, f as landmarkPrecisionVerdict, l as getStep, n as startEventLoopStallMonitor, o as ALL_STEPS, r as localFrameRegistry, s as getDefaultModelForFormat, u as getStepDefinition } from "../event-loop-stall-monitor-CrWg3jrh.mjs";
2
+ import { Bt as nodePin, Ft as createEvent, It as hydrateSchema, Kt as array, O as YAMNET_TO_MACRO, Q as inferModelProvider, Qt as object, S as PoolMemoryWatchdog, St as supportedRuntimes$1, Vt as parseJsonUnknown, W as detectionPipelineCapability, Wt as sleep, Y as evaluateZoneRules, _t as resolvePoolMemoryPolicy, at as overlayClusterStepSettings, c as DEFAULT_CLUSTER_STEP_MODELS, ct as pickClusterStepSettings, dt as pipelineExecutorCapability, en as string, et as loadContributionCapability, ht as resolveClusterStepModelId, jt as BaseAddon, l as DEFAULT_CLUSTER_STEP_SETTINGS, m as DEVICE_BACKEND_TO_FORMAT, nn as EventCategory, q as enumerateInferenceDevices, st as pickClusterStepModels, t as APPLE_SA_TO_MACRO, tn as union, wt as errMsg, yt as runtimeDevices$1, z as defaultDeviceFor$1 } from "../dist-uX-YDOrc.mjs";
3
+ import { a as readProcessCost } from "../node-DuMWMV01.mjs";
4
+ import { a as ALL_PIPELINE_STEPS, c as getDefaultModelForFormatFromDef, d as resolveModelForFormat, f as landmarkPrecisionVerdict, l as getStep, n as startEventLoopStallMonitor, o as ALL_STEPS, r as localFrameRegistry, s as getDefaultModelForFormat, u as getStepDefinition } from "../event-loop-stall-monitor-6YKQeg7_.mjs";
5
5
  import { t as getSharp } from "../lazy-sharp-DXsqwpph.mjs";
6
- import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-B4SGuNSB.mjs";
6
+ import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-CNISjywZ.mjs";
7
7
  import * as fs from "node:fs";
8
8
  import * as path$1 from "node:path";
9
9
  import { spawn } from "node:child_process";
@@ -9071,25 +9071,6 @@ var DetectionCatalogClassMapSchema = object({
9071
9071
  preserveOriginal: boolean()
9072
9072
  });
9073
9073
  /**
9074
- * THE canonical event-clip pad: the time window a single-timestamp analytics
9075
- * event expands to when joined with footage (clip window = `[timestamp - preMs,
9076
- * timestamp + postMs]`). Matches the admin-ui clip window (−5s/+10s).
9077
- *
9078
- * Every consumer derives from this ONE constant so event↔footage boundaries
9079
- * agree everywhere (C1):
9080
- * - the `videoclips` default provider (addon-post-analysis) pads its clip
9081
- * windows with it;
9082
- * - the recorder's ephemeral in-RAM `EventMap` markers (addon-pipeline) pad
9083
- * their `startMs/endMs` with it.
9084
- *
9085
- * NOTE: this is a UI/JOIN convention, NOT the `events`-band keep/discard gate —
9086
- * that uses the per-device `preBufferSec`/`postBufferSec` config.
9087
- */
9088
- var EVENT_PAD_MS = {
9089
- preMs: 5e3,
9090
- postMs: 1e4
9091
- };
9092
- /**
9093
9074
  * Numeric day-of-week: 0 = Sunday … 6 = Saturday (matches `Date.getDay`).
9094
9075
  * Named `RecordingWeekday` to avoid collision with the string-union
9095
9076
  * `Weekday` exported from `interfaces/timezones.ts`.
@@ -15607,6 +15588,50 @@ var NodeProcessSchema = object({
15607
15588
  /** Wall-clock uptime (seconds). Parsed from `ps etime`. */
15608
15589
  uptimeSec: number()
15609
15590
  });
15591
+ /**
15592
+ * One retained container-memory reading.
15593
+ *
15594
+ * `atMs` is the timestamp of the PROCESS snapshot taken in the same tick, not
15595
+ * a second clock: that is what makes "processes sum to X, container says Y"
15596
+ * subtractable per point rather than an eyeballed comparison of two series
15597
+ * sampled at different instants.
15598
+ *
15599
+ * A reduced window keeps the sample with the LARGEST `currentBytes` in each
15600
+ * bucket, WHOLE. Taking a per-field maximum would synthesise a row whose parts
15601
+ * never coexisted, and a mean would smear away the peak this exists to find.
15602
+ */
15603
+ var ContainerMemoryPointSchema = object({
15604
+ /** Which hierarchy answered, so a reading is never ambiguous. */
15605
+ source: _enum(["cgroup-v2", "cgroup-v1"]),
15606
+ /** `memory.current` (v2) / `memory.usage_in_bytes` (v1). Always known. */
15607
+ currentBytes: number(),
15608
+ /** The cgroup's ceiling. `null` = NO LIMIT — never a sentinel, never zero. */
15609
+ limitBytes: number().nullable(),
15610
+ /** Anonymous pages: the closest thing to "what the processes allocated". */
15611
+ anonBytes: number().nullable(),
15612
+ /** Page cache. Charged to the cgroup, owned by no process. */
15613
+ fileBytes: number().nullable(),
15614
+ /**
15615
+ * Shared memory — and the field that explained the largest single surprise.
15616
+ * The i915 driver backs GPU buffers with shmem, so an inference pool or a
15617
+ * hardware-decode session holding DRM objects is charged HERE and appears
15618
+ * nowhere in a `ps` scan.
15619
+ */
15620
+ shmemBytes: number().nullable(),
15621
+ /** Kernel slab charged to this cgroup. `null` on v1, which never publishes it. */
15622
+ slabBytes: number().nullable(),
15623
+ /**
15624
+ * Shrinkable i915 GEM object bytes, from debugfs.
15625
+ *
15626
+ * **Host-wide across every DRM client, NOT cgroup-scoped.** It is not a
15627
+ * component of `currentBytes` and must not be subtracted from it; it says
15628
+ * what put the shmem there, where `shmemBytes` only says how much.
15629
+ *
15630
+ * `null` wherever debugfs is not mounted — which is inside every camstack
15631
+ * container today — and on any node with no Intel GPU.
15632
+ */
15633
+ gpuShmemBytes: number().nullable()
15634
+ }).extend({ atMs: number() });
15610
15635
  var DumpHeapSnapshotInputSchema = object({
15611
15636
  /** The addon whose runner should dump a heap snapshot. */
15612
15637
  addonId: string() });
@@ -15670,6 +15695,21 @@ var NodeLoadSeriesSchema = object({
15670
15695
  /** One entry per function seen in the window, heaviest-first. */
15671
15696
  series: array(LoadFunctionSeriesSchema).readonly(),
15672
15697
  /**
15698
+ * The CONTAINER's memory over the same window, oldest-first.
15699
+ *
15700
+ * Sits next to `series` rather than in a method of its own because the whole
15701
+ * question is a subtraction: the per-process rows in `series` sum to one
15702
+ * number and this one is another, and an operator who has to issue two calls
15703
+ * to compare them will compare two different instants. Same reader, same
15704
+ * `sinceMs`, same `bucketMs`, same timestamps.
15705
+ *
15706
+ * **EMPTY means ABSENT, never zero.** A node with no cgroup — a developer
15707
+ * Mac, a bare-metal host, a container with the hierarchy hidden — reports no
15708
+ * points at all. A zero here would be indistinguishable from a healthy
15709
+ * container and is precisely the lie this field exists to avoid.
15710
+ */
15711
+ containerMemory: array(ContainerMemoryPointSchema).readonly(),
15712
+ /**
15673
15713
  * Width of one returned bucket, in ms. Equals the sampling cadence when no
15674
15714
  * reduction was needed — so a caller can always say what one point covers
15675
15715
  * without having to know whether it was reduced.
@@ -28437,10 +28477,10 @@ DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceI
28437
28477
  * recording config. NOTE on events (source of truth, R5/C3): this cap carries
28438
28478
  * NO event surface — `getPlaybackManifest` returns playlist URLs only. Timeline
28439
28479
  * events (motion/object/audio) come from `pipelineAnalytics` (durable SQLite
28440
- * rows); the recorder's internal EventMap markers are ephemeral in-RAM
28441
- * annotations that are not exposed here and must not be treated as an event
28442
- * feed. Event<->footage joins are by time, padded with the shared `EVENT_PAD_MS`
28443
- * (`interfaces/recording-config.ts`).
28480
+ * rows) and are the ONLY event surface the recorder has none. The in-RAM
28481
+ * playback markers it used to build were deleted on 2026-08-29 because nothing
28482
+ * ever read them. Event<->footage joins are by time, padded with the shared
28483
+ * `EVENT_PAD_MS` (`interfaces/recording-config.ts`).
28444
28484
  */
28445
28485
  var RecordingStatusSchema = object({
28446
28486
  deviceId: number(),
@@ -40280,12 +40320,6 @@ Object.defineProperty(exports, "DeviceType", {
40280
40320
  return DeviceType;
40281
40321
  }
40282
40322
  });
40283
- Object.defineProperty(exports, "EVENT_PAD_MS", {
40284
- enumerable: true,
40285
- get: function() {
40286
- return EVENT_PAD_MS;
40287
- }
40288
- });
40289
40323
  Object.defineProperty(exports, "EncodeProfileSchema", {
40290
40324
  enumerable: true,
40291
40325
  get: function() {
@@ -9048,25 +9048,6 @@ var DetectionCatalogClassMapSchema = object({
9048
9048
  preserveOriginal: boolean()
9049
9049
  });
9050
9050
  /**
9051
- * THE canonical event-clip pad: the time window a single-timestamp analytics
9052
- * event expands to when joined with footage (clip window = `[timestamp - preMs,
9053
- * timestamp + postMs]`). Matches the admin-ui clip window (−5s/+10s).
9054
- *
9055
- * Every consumer derives from this ONE constant so event↔footage boundaries
9056
- * agree everywhere (C1):
9057
- * - the `videoclips` default provider (addon-post-analysis) pads its clip
9058
- * windows with it;
9059
- * - the recorder's ephemeral in-RAM `EventMap` markers (addon-pipeline) pad
9060
- * their `startMs/endMs` with it.
9061
- *
9062
- * NOTE: this is a UI/JOIN convention, NOT the `events`-band keep/discard gate —
9063
- * that uses the per-device `preBufferSec`/`postBufferSec` config.
9064
- */
9065
- var EVENT_PAD_MS = {
9066
- preMs: 5e3,
9067
- postMs: 1e4
9068
- };
9069
- /**
9070
9051
  * Numeric day-of-week: 0 = Sunday … 6 = Saturday (matches `Date.getDay`).
9071
9052
  * Named `RecordingWeekday` to avoid collision with the string-union
9072
9053
  * `Weekday` exported from `interfaces/timezones.ts`.
@@ -15584,6 +15565,50 @@ var NodeProcessSchema = object({
15584
15565
  /** Wall-clock uptime (seconds). Parsed from `ps etime`. */
15585
15566
  uptimeSec: number()
15586
15567
  });
15568
+ /**
15569
+ * One retained container-memory reading.
15570
+ *
15571
+ * `atMs` is the timestamp of the PROCESS snapshot taken in the same tick, not
15572
+ * a second clock: that is what makes "processes sum to X, container says Y"
15573
+ * subtractable per point rather than an eyeballed comparison of two series
15574
+ * sampled at different instants.
15575
+ *
15576
+ * A reduced window keeps the sample with the LARGEST `currentBytes` in each
15577
+ * bucket, WHOLE. Taking a per-field maximum would synthesise a row whose parts
15578
+ * never coexisted, and a mean would smear away the peak this exists to find.
15579
+ */
15580
+ var ContainerMemoryPointSchema = object({
15581
+ /** Which hierarchy answered, so a reading is never ambiguous. */
15582
+ source: _enum(["cgroup-v2", "cgroup-v1"]),
15583
+ /** `memory.current` (v2) / `memory.usage_in_bytes` (v1). Always known. */
15584
+ currentBytes: number(),
15585
+ /** The cgroup's ceiling. `null` = NO LIMIT — never a sentinel, never zero. */
15586
+ limitBytes: number().nullable(),
15587
+ /** Anonymous pages: the closest thing to "what the processes allocated". */
15588
+ anonBytes: number().nullable(),
15589
+ /** Page cache. Charged to the cgroup, owned by no process. */
15590
+ fileBytes: number().nullable(),
15591
+ /**
15592
+ * Shared memory — and the field that explained the largest single surprise.
15593
+ * The i915 driver backs GPU buffers with shmem, so an inference pool or a
15594
+ * hardware-decode session holding DRM objects is charged HERE and appears
15595
+ * nowhere in a `ps` scan.
15596
+ */
15597
+ shmemBytes: number().nullable(),
15598
+ /** Kernel slab charged to this cgroup. `null` on v1, which never publishes it. */
15599
+ slabBytes: number().nullable(),
15600
+ /**
15601
+ * Shrinkable i915 GEM object bytes, from debugfs.
15602
+ *
15603
+ * **Host-wide across every DRM client, NOT cgroup-scoped.** It is not a
15604
+ * component of `currentBytes` and must not be subtracted from it; it says
15605
+ * what put the shmem there, where `shmemBytes` only says how much.
15606
+ *
15607
+ * `null` wherever debugfs is not mounted — which is inside every camstack
15608
+ * container today — and on any node with no Intel GPU.
15609
+ */
15610
+ gpuShmemBytes: number().nullable()
15611
+ }).extend({ atMs: number() });
15587
15612
  var DumpHeapSnapshotInputSchema = object({
15588
15613
  /** The addon whose runner should dump a heap snapshot. */
15589
15614
  addonId: string() });
@@ -15647,6 +15672,21 @@ var NodeLoadSeriesSchema = object({
15647
15672
  /** One entry per function seen in the window, heaviest-first. */
15648
15673
  series: array(LoadFunctionSeriesSchema).readonly(),
15649
15674
  /**
15675
+ * The CONTAINER's memory over the same window, oldest-first.
15676
+ *
15677
+ * Sits next to `series` rather than in a method of its own because the whole
15678
+ * question is a subtraction: the per-process rows in `series` sum to one
15679
+ * number and this one is another, and an operator who has to issue two calls
15680
+ * to compare them will compare two different instants. Same reader, same
15681
+ * `sinceMs`, same `bucketMs`, same timestamps.
15682
+ *
15683
+ * **EMPTY means ABSENT, never zero.** A node with no cgroup — a developer
15684
+ * Mac, a bare-metal host, a container with the hierarchy hidden — reports no
15685
+ * points at all. A zero here would be indistinguishable from a healthy
15686
+ * container and is precisely the lie this field exists to avoid.
15687
+ */
15688
+ containerMemory: array(ContainerMemoryPointSchema).readonly(),
15689
+ /**
15650
15690
  * Width of one returned bucket, in ms. Equals the sampling cadence when no
15651
15691
  * reduction was needed — so a caller can always say what one point covers
15652
15692
  * without having to know whether it was reduced.
@@ -28414,10 +28454,10 @@ DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceI
28414
28454
  * recording config. NOTE on events (source of truth, R5/C3): this cap carries
28415
28455
  * NO event surface — `getPlaybackManifest` returns playlist URLs only. Timeline
28416
28456
  * events (motion/object/audio) come from `pipelineAnalytics` (durable SQLite
28417
- * rows); the recorder's internal EventMap markers are ephemeral in-RAM
28418
- * annotations that are not exposed here and must not be treated as an event
28419
- * feed. Event<->footage joins are by time, padded with the shared `EVENT_PAD_MS`
28420
- * (`interfaces/recording-config.ts`).
28457
+ * rows) and are the ONLY event surface the recorder has none. The in-RAM
28458
+ * playback markers it used to build were deleted on 2026-08-29 because nothing
28459
+ * ever read them. Event<->footage joins are by time, padded with the shared
28460
+ * `EVENT_PAD_MS` (`interfaces/recording-config.ts`).
28421
28461
  */
28422
28462
  var RecordingStatusSchema = object({
28423
28463
  deviceId: number(),
@@ -40137,4 +40177,4 @@ function enumerateInferenceDevices(hw) {
40137
40177
  return out;
40138
40178
  }
40139
40179
  //#endregion
40140
- export { inferModelProvider as $, object as $t, addonWidgetsSourceCapability as A, isSoftwareDecode as At, defaultDeviceFor as B, makeSourceBrokerId as Bt, PoolMemoryWatchdog as C, supportedRuntimes as Ct, RecordingConfigSchema as D, Fmp4BoxSplitter as Dt, RECORDING_EXPORT_MAX_READ_BYTES as E, AUDIO_PRESETS as Et, cameraStreamsCapability as F, DeviceType as Ft, detectionPipelineCapability as G, sleep as Gt, deriveBatteryPresence as H, parseJsonUnknown as Ht, createHwAccelCache as I, createEvent as It, enumerateInferenceDevices as J, boolean as Jt, egressTranscodeSharingKey as K, _enum as Kt, createLogChannelsProvider as L, hydrateSchema as Lt, audioAnalyzerCapability as M, BaseAddon as Mt, audioKindId as N, CAM_PROFILE_ORDER as Nt, RingBuffer as O, buildFfmpegArgs as Ot, batteryCapability as P, DeviceFeature as Pt, hfModelUrl as Q, number as Qt, customAction as R, isEvent as Rt, OpsLogEntrySchema as S, streamBrokerCapability as St, RATE_CONTROL_TIGHT as T, errMsg as Tt, deriveDetailCropRect as U, parseProfileBrokerId as Ut, defineCustomActions as V, nodePin as Vt, deriveRecordingMode as W, selectAssignedProfileSlots as Wt, evaluateZoneRules as X, lazy as Xt, evaluateSensorEdge as Y, discriminatedUnion as Yt, failureContributionCapability as Z, literal as Zt, ExportRecordSchema as _, resolveEgressDecodeHwAccel as _t, COCO_80_LABELS as a, motionDetectionCapability as at, NativeLeaseAdmissionSchema as b, runtimeDevices as bt, DEFAULT_CLUSTER_STEP_MODELS as c, pickClusterStepModels as ct, DEFAULT_EVENTS_BAND_BUFFER_SEC as d, pickNativeLeaseOverride as dt, record as en, isFirstLevelMacroClass as et, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS as f, pipelineExecutorCapability as ft, EncodeProfileSchema as g, resolveClusterStepModelId as gt, EVENT_PAD_MS as h, recordingExportCapability as ht, BatteryStatusSchema as i, maskUrlCredentials as it, audioAnalysisCapability as j, BOOT_RECOVERY_BACKOFF_MS as jt, YAMNET_TO_MACRO as k, invocationFromEncodeProfile as kt, DEFAULT_CLUSTER_STEP_SETTINGS as l, pickClusterStepSettings as lt, DEVICE_BACKEND_TO_FORMAT as m, recordingCapability as mt, AUDIO_BACKEND_CHOICES as n, union as nn, logChannelsCapability as nt, COCO_TO_MACRO as o, overlayClusterStepSettings as ot, DEFAULT_NATIVE_LEASE_SETTINGS as p, pipelineRunnerCapability as pt, egressTransportFromRequest as q, array as qt, AUDIO_MACRO_LABELS as r, EventCategory as rn, mapAudioLabelToMacro as rt, DEFAULT_AUDIO_ANALYZER_CONFIG as s, parseProcStatus as st, APPLE_SA_TO_MACRO as t, string as tn, loadContributionCapability as tt, DEFAULT_DETAIL_CROP_CONVENTION as u, pickDetailCropConvention as ut, FailureCounters as v, resolvePoolMemoryPolicy as vt, RATE_CONTROL_RELAXED as w, webrtcSessionCapability as wt, NativeLeaseSettingsSchema as x, storageEvictableCapability as xt, HF_BASE_URL as y, resolveRecordingProfiles as yt, declareLogChannel as z, makeProfileBrokerId as zt };
40180
+ export { isFirstLevelMacroClass as $, record as $t, audioAnalysisCapability as A, BOOT_RECOVERY_BACKOFF_MS as At, defineCustomActions as B, nodePin as Bt, RATE_CONTROL_RELAXED as C, webrtcSessionCapability as Ct, RingBuffer as D, buildFfmpegArgs as Dt, RecordingConfigSchema as E, Fmp4BoxSplitter as Et, createHwAccelCache as F, createEvent as Ft, egressTranscodeSharingKey as G, _enum as Gt, deriveDetailCropRect as H, parseProfileBrokerId as Ht, createLogChannelsProvider as I, hydrateSchema as It, evaluateSensorEdge as J, discriminatedUnion as Jt, egressTransportFromRequest as K, array as Kt, customAction as L, isEvent as Lt, audioKindId as M, CAM_PROFILE_ORDER as Mt, batteryCapability as N, DeviceFeature as Nt, YAMNET_TO_MACRO as O, invocationFromEncodeProfile as Ot, cameraStreamsCapability as P, DeviceType as Pt, inferModelProvider as Q, object as Qt, declareLogChannel as R, makeProfileBrokerId as Rt, PoolMemoryWatchdog as S, supportedRuntimes as St, RECORDING_EXPORT_MAX_READ_BYTES as T, AUDIO_PRESETS as Tt, deriveRecordingMode as U, selectAssignedProfileSlots as Ut, deriveBatteryPresence as V, parseJsonUnknown as Vt, detectionPipelineCapability as W, sleep as Wt, failureContributionCapability as X, literal as Xt, evaluateZoneRules as Y, lazy as Yt, hfModelUrl as Z, number as Zt, FailureCounters as _, resolvePoolMemoryPolicy as _t, COCO_80_LABELS as a, overlayClusterStepSettings as at, NativeLeaseSettingsSchema as b, storageEvictableCapability as bt, DEFAULT_CLUSTER_STEP_MODELS as c, pickClusterStepSettings as ct, DEFAULT_EVENTS_BAND_BUFFER_SEC as d, pipelineExecutorCapability as dt, string as en, loadContributionCapability as et, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS as f, pipelineRunnerCapability as ft, ExportRecordSchema as g, resolveEgressDecodeHwAccel as gt, EncodeProfileSchema as h, resolveClusterStepModelId as ht, BatteryStatusSchema as i, motionDetectionCapability as it, audioAnalyzerCapability as j, BaseAddon as jt, addonWidgetsSourceCapability as k, isSoftwareDecode as kt, DEFAULT_CLUSTER_STEP_SETTINGS as l, pickDetailCropConvention as lt, DEVICE_BACKEND_TO_FORMAT as m, recordingExportCapability as mt, AUDIO_BACKEND_CHOICES as n, EventCategory as nn, mapAudioLabelToMacro as nt, COCO_TO_MACRO as o, parseProcStatus as ot, DEFAULT_NATIVE_LEASE_SETTINGS as p, recordingCapability as pt, enumerateInferenceDevices as q, boolean as qt, AUDIO_MACRO_LABELS as r, maskUrlCredentials as rt, DEFAULT_AUDIO_ANALYZER_CONFIG as s, pickClusterStepModels as st, APPLE_SA_TO_MACRO as t, union as tn, logChannelsCapability as tt, DEFAULT_DETAIL_CROP_CONVENTION as u, pickNativeLeaseOverride as ut, HF_BASE_URL as v, resolveRecordingProfiles as vt, RATE_CONTROL_TIGHT as w, errMsg as wt, OpsLogEntrySchema as x, streamBrokerCapability as xt, NativeLeaseAdmissionSchema as y, runtimeDevices as yt, defaultDeviceFor as z, makeSourceBrokerId as zt };
@@ -1,4 +1,4 @@
1
- import { N as audioKindId, Q as hfModelUrl, a as COCO_80_LABELS, o as COCO_TO_MACRO, r as AUDIO_MACRO_LABELS } from "./dist-B25xMJDp.mjs";
1
+ import { M as audioKindId, Z as hfModelUrl, a as COCO_80_LABELS, o as COCO_TO_MACRO, r as AUDIO_MACRO_LABELS } from "./dist-uX-YDOrc.mjs";
2
2
  import { randomUUID } from "node:crypto";
3
3
  import { PerformanceObserver } from "node:perf_hooks";
4
4
  //#region src/detection-pipeline/registry/model-catalogs.ts
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-3bEUjzHN.js");
1
+ const require_dist = require("./dist-Dpy1KP1q.js");
2
2
  let node_crypto = require("node:crypto");
3
3
  let node_perf_hooks = require("node:perf_hooks");
4
4
  //#region src/detection-pipeline/registry/model-catalogs.ts
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-3bEUjzHN.js");
1
+ const require_dist = require("./dist-Dpy1KP1q.js");
2
2
  let node_path = require("node:path");
3
3
  node_path = require_dist.__toESM(node_path);
4
4
  let node_url = require("node:url");
@@ -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-3bEUjzHN.js");
6
- const require_lazy_sharp = require("../lazy-sharp-buaVXzJ6.js");
5
+ const require_dist = require("../dist-Dpy1KP1q.js");
6
+ const require_lazy_sharp = require("../lazy-sharp-zDl97I3e.js");
7
7
  let node_fs = require("node:fs");
8
8
  let node_path = require("node:path");
9
9
  //#region src/motion-wasm/wasm-motion-detector.ts
@@ -1,4 +1,4 @@
1
- import { Ft as DeviceType, Lt as hydrateSchema, Mt as BaseAddon, X as evaluateZoneRules, at as motionDetectionCapability } from "../dist-B25xMJDp.mjs";
1
+ import { It as hydrateSchema, Pt as DeviceType, Y as evaluateZoneRules, it as motionDetectionCapability, jt as BaseAddon } from "../dist-uX-YDOrc.mjs";
2
2
  import { t as getSharp } from "../lazy-sharp-DXsqwpph.mjs";
3
3
  import { readFileSync } from "node:fs";
4
4
  import { join } from "node:path";
@@ -1,4 +1,4 @@
1
- import { At as isSoftwareDecode, Dt as Fmp4BoxSplitter, Ot as buildFfmpegArgs, Tt as errMsg } from "./dist-B25xMJDp.mjs";
1
+ import { Dt as buildFfmpegArgs, Et as Fmp4BoxSplitter, kt as isSoftwareDecode, wt as errMsg } from "./dist-uX-YDOrc.mjs";
2
2
  import { randomUUID } from "node:crypto";
3
3
  import "node:fs";
4
4
  import "node:path";
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-3bEUjzHN.js");
1
+ const require_dist = require("./dist-Dpy1KP1q.js");
2
2
  let node_crypto = require("node:crypto");
3
3
  let node_fs = require("node:fs");
4
4
  node_fs = require_dist.__toESM(node_fs, 1);
@@ -2,12 +2,12 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_dist = require("../dist-3bEUjzHN.js");
6
- const require_node = require("../node-Cn9gEOs4.js");
7
- const require_event_loop_stall_monitor = require("../event-loop-stall-monitor-BQeD-JuB.js");
8
- const require_worker_protocol = require("../worker-protocol-CxvZ6FP4.js");
5
+ const require_dist = require("../dist-Dpy1KP1q.js");
6
+ const require_node = require("../node-v9ZAGK2b.js");
7
+ const require_event_loop_stall_monitor = require("../event-loop-stall-monitor-D947d97M.js");
8
+ const require_worker_protocol = require("../worker-protocol-Cn5x8dbW.js");
9
9
  const require_hub_hostname = require("../hub-hostname-DAJXlOgV.js");
10
- const require_lazy_sharp = require("../lazy-sharp-buaVXzJ6.js");
10
+ const require_lazy_sharp = require("../lazy-sharp-zDl97I3e.js");
11
11
  const require_restream_intent = require("../restream-intent-Cv9x3jmu.js");
12
12
  const require_remote_restream = require("../remote-restream-CO36Sr30.js");
13
13
  let node_child_process = require("node:child_process");
@@ -1,7 +1,7 @@
1
- import { $t as object, It as createEvent, Jt as boolean, Kt as _enum, Mt as BaseAddon, Qt as number, R as customAction, Tt as errMsg, U as deriveDetailCropRect, V as defineCustomActions, Vt as nodePin, Xt as lazy, Z as failureContributionCapability, Zt as literal, dt as pickNativeLeaseOverride, m as DEVICE_BACKEND_TO_FORMAT, p as DEFAULT_NATIVE_LEASE_SETTINGS, pt as pipelineRunnerCapability, qt as array, rn as EventCategory, tn as string, tt as loadContributionCapability, u as DEFAULT_DETAIL_CROP_CONVENTION, ut as pickDetailCropConvention, v as FailureCounters } from "../dist-B25xMJDp.mjs";
2
- import { i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-CFEV-qgx.mjs";
3
- import { i as resolveFrameViewGeometry, r as localFrameRegistry, t as attributeStall, u as getStepDefinition } from "../event-loop-stall-monitor-CrWg3jrh.mjs";
4
- import { a as nativeLeaseSettingEnv, t as isWorkerReply } from "../worker-protocol-DYOG2ris.mjs";
1
+ import { B as defineCustomActions, Bt as nodePin, Ft as createEvent, Gt as _enum, H as deriveDetailCropRect, Kt as array, L as customAction, Qt as object, X as failureContributionCapability, Xt as literal, Yt as lazy, Zt as number, _ as FailureCounters, en as string, et as loadContributionCapability, ft as pipelineRunnerCapability, jt as BaseAddon, lt as pickDetailCropConvention, m as DEVICE_BACKEND_TO_FORMAT, nn as EventCategory, p as DEFAULT_NATIVE_LEASE_SETTINGS, qt as boolean, u as DEFAULT_DETAIL_CROP_CONVENTION, ut as pickNativeLeaseOverride, wt as errMsg } from "../dist-uX-YDOrc.mjs";
2
+ import { i as NO_COST_CLAIM, t as ChildCostRegistry } from "../node-DuMWMV01.mjs";
3
+ import { i as resolveFrameViewGeometry, r as localFrameRegistry, t as attributeStall, u as getStepDefinition } from "../event-loop-stall-monitor-6YKQeg7_.mjs";
4
+ import { a as nativeLeaseSettingEnv, t as isWorkerReply } from "../worker-protocol-Cd-G92Qt.mjs";
5
5
  import { t as resolveHubHostname } from "../hub-hostname-cCknRYKj.mjs";
6
6
  import { t as getSharp } from "../lazy-sharp-DXsqwpph.mjs";
7
7
  import { n as withDetectionIntent } from "../restream-intent-B4BXZra7.mjs";
@@ -1,4 +1,4 @@
1
- import { st as parseProcStatus } from "./dist-B25xMJDp.mjs";
1
+ import { ot as parseProcStatus } from "./dist-uX-YDOrc.mjs";
2
2
  import * as fs from "node:fs";
3
3
  import { execFile } from "node:child_process";
4
4
  //#region src/shared/node-topology-platform.ts
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-3bEUjzHN.js");
1
+ const require_dist = require("./dist-Dpy1KP1q.js");
2
2
  let node_fs = require("node:fs");
3
3
  node_fs = require_dist.__toESM(node_fs);
4
4
  let node_child_process = require("node:child_process");