@camstack/addon-model-studio 1.1.53 → 1.1.56

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/_stub.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./virtualExposes-CWSi4E_g.mjs";
2
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-Ckw-iokV.mjs";
2
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-B5tqrtqi.mjs";
3
3
  import { _ as e, c as t, d as n, h as r, i, l as a, m as o, p as s, r as c, t as l, u, y as d } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DJDHChgO.mjs";
4
4
  import { a as f, i as p, o as m, r as h, s as g } from "./responsive-C3yBoqZG.mjs";
5
5
  import { c as _, l as v, u as y } from "./use-device-snapshot-DkFs-9vc.mjs";
@@ -1,9 +1,9 @@
1
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-Ckw-iokV.mjs";
1
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-B5tqrtqi.mjs";
2
2
  //#region \0virtual:mf-localSharedImportMap:__mfe_internal__addon_model_studio_page
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_model_studio_page",
@@ -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_model_studio_page",
@@ -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_model_studio_page",
@@ -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,
@@ -81,7 +81,7 @@ async function r() {
81
81
  }
82
82
  },
83
83
  "@camstack/ui-library": {
84
- version: "1.2.83",
84
+ version: "1.2.85",
85
85
  scope: "default",
86
86
  shareConfig: {
87
87
  singleton: !0,
@@ -14241,6 +14241,50 @@ var NodeProcessSchema = object({
14241
14241
  /** Wall-clock uptime (seconds). Parsed from `ps etime`. */
14242
14242
  uptimeSec: number()
14243
14243
  });
14244
+ /**
14245
+ * One retained container-memory reading.
14246
+ *
14247
+ * `atMs` is the timestamp of the PROCESS snapshot taken in the same tick, not
14248
+ * a second clock: that is what makes "processes sum to X, container says Y"
14249
+ * subtractable per point rather than an eyeballed comparison of two series
14250
+ * sampled at different instants.
14251
+ *
14252
+ * A reduced window keeps the sample with the LARGEST `currentBytes` in each
14253
+ * bucket, WHOLE. Taking a per-field maximum would synthesise a row whose parts
14254
+ * never coexisted, and a mean would smear away the peak this exists to find.
14255
+ */
14256
+ var ContainerMemoryPointSchema = object({
14257
+ /** Which hierarchy answered, so a reading is never ambiguous. */
14258
+ source: _enum(["cgroup-v2", "cgroup-v1"]),
14259
+ /** `memory.current` (v2) / `memory.usage_in_bytes` (v1). Always known. */
14260
+ currentBytes: number(),
14261
+ /** The cgroup's ceiling. `null` = NO LIMIT — never a sentinel, never zero. */
14262
+ limitBytes: number().nullable(),
14263
+ /** Anonymous pages: the closest thing to "what the processes allocated". */
14264
+ anonBytes: number().nullable(),
14265
+ /** Page cache. Charged to the cgroup, owned by no process. */
14266
+ fileBytes: number().nullable(),
14267
+ /**
14268
+ * Shared memory — and the field that explained the largest single surprise.
14269
+ * The i915 driver backs GPU buffers with shmem, so an inference pool or a
14270
+ * hardware-decode session holding DRM objects is charged HERE and appears
14271
+ * nowhere in a `ps` scan.
14272
+ */
14273
+ shmemBytes: number().nullable(),
14274
+ /** Kernel slab charged to this cgroup. `null` on v1, which never publishes it. */
14275
+ slabBytes: number().nullable(),
14276
+ /**
14277
+ * Shrinkable i915 GEM object bytes, from debugfs.
14278
+ *
14279
+ * **Host-wide across every DRM client, NOT cgroup-scoped.** It is not a
14280
+ * component of `currentBytes` and must not be subtracted from it; it says
14281
+ * what put the shmem there, where `shmemBytes` only says how much.
14282
+ *
14283
+ * `null` wherever debugfs is not mounted — which is inside every camstack
14284
+ * container today — and on any node with no Intel GPU.
14285
+ */
14286
+ gpuShmemBytes: number().nullable()
14287
+ }).extend({ atMs: number() });
14244
14288
  var DumpHeapSnapshotInputSchema = object({
14245
14289
  /** The addon whose runner should dump a heap snapshot. */
14246
14290
  addonId: string() });
@@ -14304,6 +14348,21 @@ var NodeLoadSeriesSchema = object({
14304
14348
  /** One entry per function seen in the window, heaviest-first. */
14305
14349
  series: array(LoadFunctionSeriesSchema).readonly(),
14306
14350
  /**
14351
+ * The CONTAINER's memory over the same window, oldest-first.
14352
+ *
14353
+ * Sits next to `series` rather than in a method of its own because the whole
14354
+ * question is a subtraction: the per-process rows in `series` sum to one
14355
+ * number and this one is another, and an operator who has to issue two calls
14356
+ * to compare them will compare two different instants. Same reader, same
14357
+ * `sinceMs`, same `bucketMs`, same timestamps.
14358
+ *
14359
+ * **EMPTY means ABSENT, never zero.** A node with no cgroup — a developer
14360
+ * Mac, a bare-metal host, a container with the hierarchy hidden — reports no
14361
+ * points at all. A zero here would be indistinguishable from a healthy
14362
+ * container and is precisely the lie this field exists to avoid.
14363
+ */
14364
+ containerMemory: array(ContainerMemoryPointSchema).readonly(),
14365
+ /**
14307
14366
  * Width of one returned bucket, in ms. Equals the sampling cadence when no
14308
14367
  * reduction was needed — so a caller can always say what one point covers
14309
14368
  * without having to know whether it was reduced.
@@ -26239,10 +26298,10 @@ DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceI
26239
26298
  * recording config. NOTE on events (source of truth, R5/C3): this cap carries
26240
26299
  * NO event surface — `getPlaybackManifest` returns playlist URLs only. Timeline
26241
26300
  * events (motion/object/audio) come from `pipelineAnalytics` (durable SQLite
26242
- * rows); the recorder's internal EventMap markers are ephemeral in-RAM
26243
- * annotations that are not exposed here and must not be treated as an event
26244
- * feed. Event<->footage joins are by time, padded with the shared `EVENT_PAD_MS`
26245
- * (`interfaces/recording-config.ts`).
26301
+ * rows) and are the ONLY event surface the recorder has none. The in-RAM
26302
+ * playback markers it used to build were deleted on 2026-08-29 because nothing
26303
+ * ever read them. Event<->footage joins are by time, padded with the shared
26304
+ * `EVENT_PAD_MS` (`interfaces/recording-config.ts`).
26246
26305
  */
26247
26306
  var RecordingStatusSchema = object({
26248
26307
  deviceId: number(),
@@ -14220,6 +14220,50 @@ var NodeProcessSchema = object({
14220
14220
  /** Wall-clock uptime (seconds). Parsed from `ps etime`. */
14221
14221
  uptimeSec: number()
14222
14222
  });
14223
+ /**
14224
+ * One retained container-memory reading.
14225
+ *
14226
+ * `atMs` is the timestamp of the PROCESS snapshot taken in the same tick, not
14227
+ * a second clock: that is what makes "processes sum to X, container says Y"
14228
+ * subtractable per point rather than an eyeballed comparison of two series
14229
+ * sampled at different instants.
14230
+ *
14231
+ * A reduced window keeps the sample with the LARGEST `currentBytes` in each
14232
+ * bucket, WHOLE. Taking a per-field maximum would synthesise a row whose parts
14233
+ * never coexisted, and a mean would smear away the peak this exists to find.
14234
+ */
14235
+ var ContainerMemoryPointSchema = object({
14236
+ /** Which hierarchy answered, so a reading is never ambiguous. */
14237
+ source: _enum(["cgroup-v2", "cgroup-v1"]),
14238
+ /** `memory.current` (v2) / `memory.usage_in_bytes` (v1). Always known. */
14239
+ currentBytes: number(),
14240
+ /** The cgroup's ceiling. `null` = NO LIMIT — never a sentinel, never zero. */
14241
+ limitBytes: number().nullable(),
14242
+ /** Anonymous pages: the closest thing to "what the processes allocated". */
14243
+ anonBytes: number().nullable(),
14244
+ /** Page cache. Charged to the cgroup, owned by no process. */
14245
+ fileBytes: number().nullable(),
14246
+ /**
14247
+ * Shared memory — and the field that explained the largest single surprise.
14248
+ * The i915 driver backs GPU buffers with shmem, so an inference pool or a
14249
+ * hardware-decode session holding DRM objects is charged HERE and appears
14250
+ * nowhere in a `ps` scan.
14251
+ */
14252
+ shmemBytes: number().nullable(),
14253
+ /** Kernel slab charged to this cgroup. `null` on v1, which never publishes it. */
14254
+ slabBytes: number().nullable(),
14255
+ /**
14256
+ * Shrinkable i915 GEM object bytes, from debugfs.
14257
+ *
14258
+ * **Host-wide across every DRM client, NOT cgroup-scoped.** It is not a
14259
+ * component of `currentBytes` and must not be subtracted from it; it says
14260
+ * what put the shmem there, where `shmemBytes` only says how much.
14261
+ *
14262
+ * `null` wherever debugfs is not mounted — which is inside every camstack
14263
+ * container today — and on any node with no Intel GPU.
14264
+ */
14265
+ gpuShmemBytes: number().nullable()
14266
+ }).extend({ atMs: number() });
14223
14267
  var DumpHeapSnapshotInputSchema = object({
14224
14268
  /** The addon whose runner should dump a heap snapshot. */
14225
14269
  addonId: string() });
@@ -14283,6 +14327,21 @@ var NodeLoadSeriesSchema = object({
14283
14327
  /** One entry per function seen in the window, heaviest-first. */
14284
14328
  series: array(LoadFunctionSeriesSchema).readonly(),
14285
14329
  /**
14330
+ * The CONTAINER's memory over the same window, oldest-first.
14331
+ *
14332
+ * Sits next to `series` rather than in a method of its own because the whole
14333
+ * question is a subtraction: the per-process rows in `series` sum to one
14334
+ * number and this one is another, and an operator who has to issue two calls
14335
+ * to compare them will compare two different instants. Same reader, same
14336
+ * `sinceMs`, same `bucketMs`, same timestamps.
14337
+ *
14338
+ * **EMPTY means ABSENT, never zero.** A node with no cgroup — a developer
14339
+ * Mac, a bare-metal host, a container with the hierarchy hidden — reports no
14340
+ * points at all. A zero here would be indistinguishable from a healthy
14341
+ * container and is precisely the lie this field exists to avoid.
14342
+ */
14343
+ containerMemory: array(ContainerMemoryPointSchema).readonly(),
14344
+ /**
14286
14345
  * Width of one returned bucket, in ms. Equals the sampling cadence when no
14287
14346
  * reduction was needed — so a caller can always say what one point covers
14288
14347
  * without having to know whether it was reduced.
@@ -26218,10 +26277,10 @@ DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceI
26218
26277
  * recording config. NOTE on events (source of truth, R5/C3): this cap carries
26219
26278
  * NO event surface — `getPlaybackManifest` returns playlist URLs only. Timeline
26220
26279
  * events (motion/object/audio) come from `pipelineAnalytics` (durable SQLite
26221
- * rows); the recorder's internal EventMap markers are ephemeral in-RAM
26222
- * annotations that are not exposed here and must not be treated as an event
26223
- * feed. Event<->footage joins are by time, padded with the shared `EVENT_PAD_MS`
26224
- * (`interfaces/recording-config.ts`).
26280
+ * rows) and are the ONLY event surface the recorder has none. The in-RAM
26281
+ * playback markers it used to build were deleted on 2026-08-29 because nothing
26282
+ * ever read them. Event<->footage joins are by time, padded with the shared
26283
+ * `EVENT_PAD_MS` (`interfaces/recording-config.ts`).
26225
26284
  */
26226
26285
  var RecordingStatusSchema = object({
26227
26286
  deviceId: number(),
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-Ckw-iokV.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-B5tqrtqi.mjs";
2
2
  export { t as get, e as init };
@@ -2753,7 +2753,7 @@ async function rr(e) {
2753
2753
  }
2754
2754
  }
2755
2755
  async function ir() {
2756
- return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-DrOZLd7Y.mjs")).catch((e) => {
2756
+ return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-yhgMw6tC.mjs")).catch((e) => {
2757
2757
  throw tr = void 0, e;
2758
2758
  }), tr;
2759
2759
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-model-studio",
3
- "version": "1.1.53",
3
+ "version": "1.1.56",
4
4
  "description": "Custom detection model registry, conversion & distribution for CamStack",
5
5
  "keywords": [
6
6
  "camstack",