@camstack/addon-pipeline-orchestrator 1.2.119 → 1.2.121

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.
@@ -3,7 +3,7 @@ import "./dist-CYZr2fwk.mjs";
3
3
  var e = {
4
4
  "@camstack/sdk": {
5
5
  name: "@camstack/sdk",
6
- version: "1.2.42",
6
+ version: "1.2.44",
7
7
  scope: ["default"],
8
8
  loaded: !1,
9
9
  from: "addon_pipeline_orchestrator_widgets",
@@ -18,7 +18,7 @@ var e = {
18
18
  },
19
19
  "@camstack/types": {
20
20
  name: "@camstack/types",
21
- version: "1.2.120",
21
+ version: "1.2.122",
22
22
  scope: ["default"],
23
23
  loaded: !1,
24
24
  from: "addon_pipeline_orchestrator_widgets",
@@ -33,7 +33,7 @@ var e = {
33
33
  },
34
34
  "@camstack/ui-library": {
35
35
  name: "@camstack/ui-library",
36
- version: "1.2.83",
36
+ version: "1.2.85",
37
37
  scope: ["default"],
38
38
  loaded: !1,
39
39
  from: "addon_pipeline_orchestrator_widgets",
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.2.120",
39
+ version: "1.2.122",
40
40
  scope: "default",
41
41
  shareConfig: {
42
42
  singleton: !0,
@@ -45,7 +45,7 @@ async function r() {
45
45
  }
46
46
  },
47
47
  "@camstack/sdk": {
48
- version: "1.2.42",
48
+ version: "1.2.44",
49
49
  scope: "default",
50
50
  shareConfig: {
51
51
  singleton: !0,
@@ -99,7 +99,7 @@ async function r() {
99
99
  }
100
100
  },
101
101
  "@camstack/ui-library": {
102
- version: "1.2.83",
102
+ version: "1.2.85",
103
103
  scope: "default",
104
104
  shareConfig: {
105
105
  singleton: !0,
package/dist/index.js CHANGED
@@ -14573,6 +14573,50 @@ var NodeProcessSchema = object({
14573
14573
  /** Wall-clock uptime (seconds). Parsed from `ps etime`. */
14574
14574
  uptimeSec: number()
14575
14575
  });
14576
+ /**
14577
+ * One retained container-memory reading.
14578
+ *
14579
+ * `atMs` is the timestamp of the PROCESS snapshot taken in the same tick, not
14580
+ * a second clock: that is what makes "processes sum to X, container says Y"
14581
+ * subtractable per point rather than an eyeballed comparison of two series
14582
+ * sampled at different instants.
14583
+ *
14584
+ * A reduced window keeps the sample with the LARGEST `currentBytes` in each
14585
+ * bucket, WHOLE. Taking a per-field maximum would synthesise a row whose parts
14586
+ * never coexisted, and a mean would smear away the peak this exists to find.
14587
+ */
14588
+ var ContainerMemoryPointSchema = object({
14589
+ /** Which hierarchy answered, so a reading is never ambiguous. */
14590
+ source: _enum(["cgroup-v2", "cgroup-v1"]),
14591
+ /** `memory.current` (v2) / `memory.usage_in_bytes` (v1). Always known. */
14592
+ currentBytes: number(),
14593
+ /** The cgroup's ceiling. `null` = NO LIMIT — never a sentinel, never zero. */
14594
+ limitBytes: number().nullable(),
14595
+ /** Anonymous pages: the closest thing to "what the processes allocated". */
14596
+ anonBytes: number().nullable(),
14597
+ /** Page cache. Charged to the cgroup, owned by no process. */
14598
+ fileBytes: number().nullable(),
14599
+ /**
14600
+ * Shared memory — and the field that explained the largest single surprise.
14601
+ * The i915 driver backs GPU buffers with shmem, so an inference pool or a
14602
+ * hardware-decode session holding DRM objects is charged HERE and appears
14603
+ * nowhere in a `ps` scan.
14604
+ */
14605
+ shmemBytes: number().nullable(),
14606
+ /** Kernel slab charged to this cgroup. `null` on v1, which never publishes it. */
14607
+ slabBytes: number().nullable(),
14608
+ /**
14609
+ * Shrinkable i915 GEM object bytes, from debugfs.
14610
+ *
14611
+ * **Host-wide across every DRM client, NOT cgroup-scoped.** It is not a
14612
+ * component of `currentBytes` and must not be subtracted from it; it says
14613
+ * what put the shmem there, where `shmemBytes` only says how much.
14614
+ *
14615
+ * `null` wherever debugfs is not mounted — which is inside every camstack
14616
+ * container today — and on any node with no Intel GPU.
14617
+ */
14618
+ gpuShmemBytes: number().nullable()
14619
+ }).extend({ atMs: number() });
14576
14620
  var DumpHeapSnapshotInputSchema = object({
14577
14621
  /** The addon whose runner should dump a heap snapshot. */
14578
14622
  addonId: string() });
@@ -14636,6 +14680,21 @@ var NodeLoadSeriesSchema = object({
14636
14680
  /** One entry per function seen in the window, heaviest-first. */
14637
14681
  series: array(LoadFunctionSeriesSchema).readonly(),
14638
14682
  /**
14683
+ * The CONTAINER's memory over the same window, oldest-first.
14684
+ *
14685
+ * Sits next to `series` rather than in a method of its own because the whole
14686
+ * question is a subtraction: the per-process rows in `series` sum to one
14687
+ * number and this one is another, and an operator who has to issue two calls
14688
+ * to compare them will compare two different instants. Same reader, same
14689
+ * `sinceMs`, same `bucketMs`, same timestamps.
14690
+ *
14691
+ * **EMPTY means ABSENT, never zero.** A node with no cgroup — a developer
14692
+ * Mac, a bare-metal host, a container with the hierarchy hidden — reports no
14693
+ * points at all. A zero here would be indistinguishable from a healthy
14694
+ * container and is precisely the lie this field exists to avoid.
14695
+ */
14696
+ containerMemory: array(ContainerMemoryPointSchema).readonly(),
14697
+ /**
14639
14698
  * Width of one returned bucket, in ms. Equals the sampling cadence when no
14640
14699
  * reduction was needed — so a caller can always say what one point covers
14641
14700
  * without having to know whether it was reduced.
@@ -27270,10 +27329,10 @@ DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceI
27270
27329
  * recording config. NOTE on events (source of truth, R5/C3): this cap carries
27271
27330
  * NO event surface — `getPlaybackManifest` returns playlist URLs only. Timeline
27272
27331
  * events (motion/object/audio) come from `pipelineAnalytics` (durable SQLite
27273
- * rows); the recorder's internal EventMap markers are ephemeral in-RAM
27274
- * annotations that are not exposed here and must not be treated as an event
27275
- * feed. Event<->footage joins are by time, padded with the shared `EVENT_PAD_MS`
27276
- * (`interfaces/recording-config.ts`).
27332
+ * rows) and are the ONLY event surface the recorder has none. The in-RAM
27333
+ * playback markers it used to build were deleted on 2026-08-29 because nothing
27334
+ * ever read them. Event<->footage joins are by time, padded with the shared
27335
+ * `EVENT_PAD_MS` (`interfaces/recording-config.ts`).
27277
27336
  */
27278
27337
  var RecordingStatusSchema = object({
27279
27338
  deviceId: number(),
package/dist/index.mjs CHANGED
@@ -14545,6 +14545,50 @@ var NodeProcessSchema = object({
14545
14545
  /** Wall-clock uptime (seconds). Parsed from `ps etime`. */
14546
14546
  uptimeSec: number()
14547
14547
  });
14548
+ /**
14549
+ * One retained container-memory reading.
14550
+ *
14551
+ * `atMs` is the timestamp of the PROCESS snapshot taken in the same tick, not
14552
+ * a second clock: that is what makes "processes sum to X, container says Y"
14553
+ * subtractable per point rather than an eyeballed comparison of two series
14554
+ * sampled at different instants.
14555
+ *
14556
+ * A reduced window keeps the sample with the LARGEST `currentBytes` in each
14557
+ * bucket, WHOLE. Taking a per-field maximum would synthesise a row whose parts
14558
+ * never coexisted, and a mean would smear away the peak this exists to find.
14559
+ */
14560
+ var ContainerMemoryPointSchema = object({
14561
+ /** Which hierarchy answered, so a reading is never ambiguous. */
14562
+ source: _enum(["cgroup-v2", "cgroup-v1"]),
14563
+ /** `memory.current` (v2) / `memory.usage_in_bytes` (v1). Always known. */
14564
+ currentBytes: number(),
14565
+ /** The cgroup's ceiling. `null` = NO LIMIT — never a sentinel, never zero. */
14566
+ limitBytes: number().nullable(),
14567
+ /** Anonymous pages: the closest thing to "what the processes allocated". */
14568
+ anonBytes: number().nullable(),
14569
+ /** Page cache. Charged to the cgroup, owned by no process. */
14570
+ fileBytes: number().nullable(),
14571
+ /**
14572
+ * Shared memory — and the field that explained the largest single surprise.
14573
+ * The i915 driver backs GPU buffers with shmem, so an inference pool or a
14574
+ * hardware-decode session holding DRM objects is charged HERE and appears
14575
+ * nowhere in a `ps` scan.
14576
+ */
14577
+ shmemBytes: number().nullable(),
14578
+ /** Kernel slab charged to this cgroup. `null` on v1, which never publishes it. */
14579
+ slabBytes: number().nullable(),
14580
+ /**
14581
+ * Shrinkable i915 GEM object bytes, from debugfs.
14582
+ *
14583
+ * **Host-wide across every DRM client, NOT cgroup-scoped.** It is not a
14584
+ * component of `currentBytes` and must not be subtracted from it; it says
14585
+ * what put the shmem there, where `shmemBytes` only says how much.
14586
+ *
14587
+ * `null` wherever debugfs is not mounted — which is inside every camstack
14588
+ * container today — and on any node with no Intel GPU.
14589
+ */
14590
+ gpuShmemBytes: number().nullable()
14591
+ }).extend({ atMs: number() });
14548
14592
  var DumpHeapSnapshotInputSchema = object({
14549
14593
  /** The addon whose runner should dump a heap snapshot. */
14550
14594
  addonId: string() });
@@ -14608,6 +14652,21 @@ var NodeLoadSeriesSchema = object({
14608
14652
  /** One entry per function seen in the window, heaviest-first. */
14609
14653
  series: array(LoadFunctionSeriesSchema).readonly(),
14610
14654
  /**
14655
+ * The CONTAINER's memory over the same window, oldest-first.
14656
+ *
14657
+ * Sits next to `series` rather than in a method of its own because the whole
14658
+ * question is a subtraction: the per-process rows in `series` sum to one
14659
+ * number and this one is another, and an operator who has to issue two calls
14660
+ * to compare them will compare two different instants. Same reader, same
14661
+ * `sinceMs`, same `bucketMs`, same timestamps.
14662
+ *
14663
+ * **EMPTY means ABSENT, never zero.** A node with no cgroup — a developer
14664
+ * Mac, a bare-metal host, a container with the hierarchy hidden — reports no
14665
+ * points at all. A zero here would be indistinguishable from a healthy
14666
+ * container and is precisely the lie this field exists to avoid.
14667
+ */
14668
+ containerMemory: array(ContainerMemoryPointSchema).readonly(),
14669
+ /**
14611
14670
  * Width of one returned bucket, in ms. Equals the sampling cadence when no
14612
14671
  * reduction was needed — so a caller can always say what one point covers
14613
14672
  * without having to know whether it was reduced.
@@ -27242,10 +27301,10 @@ DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceI
27242
27301
  * recording config. NOTE on events (source of truth, R5/C3): this cap carries
27243
27302
  * NO event surface — `getPlaybackManifest` returns playlist URLs only. Timeline
27244
27303
  * events (motion/object/audio) come from `pipelineAnalytics` (durable SQLite
27245
- * rows); the recorder's internal EventMap markers are ephemeral in-RAM
27246
- * annotations that are not exposed here and must not be treated as an event
27247
- * feed. Event<->footage joins are by time, padded with the shared `EVENT_PAD_MS`
27248
- * (`interfaces/recording-config.ts`).
27304
+ * rows) and are the ONLY event surface the recorder has none. The in-RAM
27305
+ * playback markers it used to build were deleted on 2026-08-29 because nothing
27306
+ * ever read them. Event<->footage joins are by time, padded with the shared
27307
+ * `EVENT_PAD_MS` (`interfaces/recording-config.ts`).
27249
27308
  */
27250
27309
  var RecordingStatusSchema = object({
27251
27310
  deviceId: number(),
@@ -30,7 +30,7 @@ async function d(e) {
30
30
  }
31
31
  }
32
32
  async function f() {
33
- return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-ClbmXd_h.mjs")).catch((e) => {
33
+ return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-DobCQa-H.mjs")).catch((e) => {
34
34
  throw l = void 0, e;
35
35
  }), l;
36
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-pipeline-orchestrator",
3
- "version": "1.2.119",
3
+ "version": "1.2.121",
4
4
  "description": "Hub-side camera-to-agent load balancer — tracks runner capacity and dispatches attachCamera calls to the optimal pipeline-runner instance",
5
5
  "keywords": [
6
6
  "camstack",