@camstack/addon-auth 1.2.42 → 1.2.44

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.
@@ -13791,6 +13791,50 @@ var NodeProcessSchema = object({
13791
13791
  /** Wall-clock uptime (seconds). Parsed from `ps etime`. */
13792
13792
  uptimeSec: number()
13793
13793
  });
13794
+ /**
13795
+ * One retained container-memory reading.
13796
+ *
13797
+ * `atMs` is the timestamp of the PROCESS snapshot taken in the same tick, not
13798
+ * a second clock: that is what makes "processes sum to X, container says Y"
13799
+ * subtractable per point rather than an eyeballed comparison of two series
13800
+ * sampled at different instants.
13801
+ *
13802
+ * A reduced window keeps the sample with the LARGEST `currentBytes` in each
13803
+ * bucket, WHOLE. Taking a per-field maximum would synthesise a row whose parts
13804
+ * never coexisted, and a mean would smear away the peak this exists to find.
13805
+ */
13806
+ var ContainerMemoryPointSchema = object({
13807
+ /** Which hierarchy answered, so a reading is never ambiguous. */
13808
+ source: _enum(["cgroup-v2", "cgroup-v1"]),
13809
+ /** `memory.current` (v2) / `memory.usage_in_bytes` (v1). Always known. */
13810
+ currentBytes: number(),
13811
+ /** The cgroup's ceiling. `null` = NO LIMIT — never a sentinel, never zero. */
13812
+ limitBytes: number().nullable(),
13813
+ /** Anonymous pages: the closest thing to "what the processes allocated". */
13814
+ anonBytes: number().nullable(),
13815
+ /** Page cache. Charged to the cgroup, owned by no process. */
13816
+ fileBytes: number().nullable(),
13817
+ /**
13818
+ * Shared memory — and the field that explained the largest single surprise.
13819
+ * The i915 driver backs GPU buffers with shmem, so an inference pool or a
13820
+ * hardware-decode session holding DRM objects is charged HERE and appears
13821
+ * nowhere in a `ps` scan.
13822
+ */
13823
+ shmemBytes: number().nullable(),
13824
+ /** Kernel slab charged to this cgroup. `null` on v1, which never publishes it. */
13825
+ slabBytes: number().nullable(),
13826
+ /**
13827
+ * Shrinkable i915 GEM object bytes, from debugfs.
13828
+ *
13829
+ * **Host-wide across every DRM client, NOT cgroup-scoped.** It is not a
13830
+ * component of `currentBytes` and must not be subtracted from it; it says
13831
+ * what put the shmem there, where `shmemBytes` only says how much.
13832
+ *
13833
+ * `null` wherever debugfs is not mounted — which is inside every camstack
13834
+ * container today — and on any node with no Intel GPU.
13835
+ */
13836
+ gpuShmemBytes: number().nullable()
13837
+ }).extend({ atMs: number() });
13794
13838
  var DumpHeapSnapshotInputSchema = object({
13795
13839
  /** The addon whose runner should dump a heap snapshot. */
13796
13840
  addonId: string() });
@@ -13854,6 +13898,21 @@ var NodeLoadSeriesSchema = object({
13854
13898
  /** One entry per function seen in the window, heaviest-first. */
13855
13899
  series: array(LoadFunctionSeriesSchema).readonly(),
13856
13900
  /**
13901
+ * The CONTAINER's memory over the same window, oldest-first.
13902
+ *
13903
+ * Sits next to `series` rather than in a method of its own because the whole
13904
+ * question is a subtraction: the per-process rows in `series` sum to one
13905
+ * number and this one is another, and an operator who has to issue two calls
13906
+ * to compare them will compare two different instants. Same reader, same
13907
+ * `sinceMs`, same `bucketMs`, same timestamps.
13908
+ *
13909
+ * **EMPTY means ABSENT, never zero.** A node with no cgroup — a developer
13910
+ * Mac, a bare-metal host, a container with the hierarchy hidden — reports no
13911
+ * points at all. A zero here would be indistinguishable from a healthy
13912
+ * container and is precisely the lie this field exists to avoid.
13913
+ */
13914
+ containerMemory: array(ContainerMemoryPointSchema).readonly(),
13915
+ /**
13857
13916
  * Width of one returned bucket, in ms. Equals the sampling cadence when no
13858
13917
  * reduction was needed — so a caller can always say what one point covers
13859
13918
  * without having to know whether it was reduced.
@@ -25818,10 +25877,10 @@ DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceI
25818
25877
  * recording config. NOTE on events (source of truth, R5/C3): this cap carries
25819
25878
  * NO event surface — `getPlaybackManifest` returns playlist URLs only. Timeline
25820
25879
  * events (motion/object/audio) come from `pipelineAnalytics` (durable SQLite
25821
- * rows); the recorder's internal EventMap markers are ephemeral in-RAM
25822
- * annotations that are not exposed here and must not be treated as an event
25823
- * feed. Event<->footage joins are by time, padded with the shared `EVENT_PAD_MS`
25824
- * (`interfaces/recording-config.ts`).
25880
+ * rows) and are the ONLY event surface the recorder has none. The in-RAM
25881
+ * playback markers it used to build were deleted on 2026-08-29 because nothing
25882
+ * ever read them. Event<->footage joins are by time, padded with the shared
25883
+ * `EVENT_PAD_MS` (`interfaces/recording-config.ts`).
25825
25884
  */
25826
25885
  var RecordingStatusSchema = object({
25827
25886
  deviceId: number(),
@@ -13791,6 +13791,50 @@ var NodeProcessSchema = object({
13791
13791
  /** Wall-clock uptime (seconds). Parsed from `ps etime`. */
13792
13792
  uptimeSec: number()
13793
13793
  });
13794
+ /**
13795
+ * One retained container-memory reading.
13796
+ *
13797
+ * `atMs` is the timestamp of the PROCESS snapshot taken in the same tick, not
13798
+ * a second clock: that is what makes "processes sum to X, container says Y"
13799
+ * subtractable per point rather than an eyeballed comparison of two series
13800
+ * sampled at different instants.
13801
+ *
13802
+ * A reduced window keeps the sample with the LARGEST `currentBytes` in each
13803
+ * bucket, WHOLE. Taking a per-field maximum would synthesise a row whose parts
13804
+ * never coexisted, and a mean would smear away the peak this exists to find.
13805
+ */
13806
+ var ContainerMemoryPointSchema = object({
13807
+ /** Which hierarchy answered, so a reading is never ambiguous. */
13808
+ source: _enum(["cgroup-v2", "cgroup-v1"]),
13809
+ /** `memory.current` (v2) / `memory.usage_in_bytes` (v1). Always known. */
13810
+ currentBytes: number(),
13811
+ /** The cgroup's ceiling. `null` = NO LIMIT — never a sentinel, never zero. */
13812
+ limitBytes: number().nullable(),
13813
+ /** Anonymous pages: the closest thing to "what the processes allocated". */
13814
+ anonBytes: number().nullable(),
13815
+ /** Page cache. Charged to the cgroup, owned by no process. */
13816
+ fileBytes: number().nullable(),
13817
+ /**
13818
+ * Shared memory — and the field that explained the largest single surprise.
13819
+ * The i915 driver backs GPU buffers with shmem, so an inference pool or a
13820
+ * hardware-decode session holding DRM objects is charged HERE and appears
13821
+ * nowhere in a `ps` scan.
13822
+ */
13823
+ shmemBytes: number().nullable(),
13824
+ /** Kernel slab charged to this cgroup. `null` on v1, which never publishes it. */
13825
+ slabBytes: number().nullable(),
13826
+ /**
13827
+ * Shrinkable i915 GEM object bytes, from debugfs.
13828
+ *
13829
+ * **Host-wide across every DRM client, NOT cgroup-scoped.** It is not a
13830
+ * component of `currentBytes` and must not be subtracted from it; it says
13831
+ * what put the shmem there, where `shmemBytes` only says how much.
13832
+ *
13833
+ * `null` wherever debugfs is not mounted — which is inside every camstack
13834
+ * container today — and on any node with no Intel GPU.
13835
+ */
13836
+ gpuShmemBytes: number().nullable()
13837
+ }).extend({ atMs: number() });
13794
13838
  var DumpHeapSnapshotInputSchema = object({
13795
13839
  /** The addon whose runner should dump a heap snapshot. */
13796
13840
  addonId: string() });
@@ -13854,6 +13898,21 @@ var NodeLoadSeriesSchema = object({
13854
13898
  /** One entry per function seen in the window, heaviest-first. */
13855
13899
  series: array(LoadFunctionSeriesSchema).readonly(),
13856
13900
  /**
13901
+ * The CONTAINER's memory over the same window, oldest-first.
13902
+ *
13903
+ * Sits next to `series` rather than in a method of its own because the whole
13904
+ * question is a subtraction: the per-process rows in `series` sum to one
13905
+ * number and this one is another, and an operator who has to issue two calls
13906
+ * to compare them will compare two different instants. Same reader, same
13907
+ * `sinceMs`, same `bucketMs`, same timestamps.
13908
+ *
13909
+ * **EMPTY means ABSENT, never zero.** A node with no cgroup — a developer
13910
+ * Mac, a bare-metal host, a container with the hierarchy hidden — reports no
13911
+ * points at all. A zero here would be indistinguishable from a healthy
13912
+ * container and is precisely the lie this field exists to avoid.
13913
+ */
13914
+ containerMemory: array(ContainerMemoryPointSchema).readonly(),
13915
+ /**
13857
13916
  * Width of one returned bucket, in ms. Equals the sampling cadence when no
13858
13917
  * reduction was needed — so a caller can always say what one point covers
13859
13918
  * without having to know whether it was reduced.
@@ -25818,10 +25877,10 @@ DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceI
25818
25877
  * recording config. NOTE on events (source of truth, R5/C3): this cap carries
25819
25878
  * NO event surface — `getPlaybackManifest` returns playlist URLs only. Timeline
25820
25879
  * events (motion/object/audio) come from `pipelineAnalytics` (durable SQLite
25821
- * rows); the recorder's internal EventMap markers are ephemeral in-RAM
25822
- * annotations that are not exposed here and must not be treated as an event
25823
- * feed. Event<->footage joins are by time, padded with the shared `EVENT_PAD_MS`
25824
- * (`interfaces/recording-config.ts`).
25880
+ * rows) and are the ONLY event surface the recorder has none. The in-RAM
25881
+ * playback markers it used to build were deleted on 2026-08-29 because nothing
25882
+ * ever read them. Event<->footage joins are by time, padded with the shared
25883
+ * `EVENT_PAD_MS` (`interfaces/recording-config.ts`).
25825
25884
  */
25826
25885
  var RecordingStatusSchema = object({
25827
25886
  deviceId: number(),
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  require("../chunk-Cek0wNdY.js");
6
- const require_dist = require("../dist-DEvRG3v4.js");
6
+ const require_dist = require("../dist-CVuqT-Jl.js");
7
7
  //#region src/magic-link/auth-magic-link.addon.ts
8
8
  /**
9
9
  * Magic-link authentication addon.
@@ -1,4 +1,4 @@
1
- import { a as loginMethodCapability, c as BaseAddon, i as buildAddonRouteProvider, r as authProviderCapability, s as errMsg, t as addonRoutesCapability } from "../dist-DzacN10S.mjs";
1
+ import { a as loginMethodCapability, c as BaseAddon, i as buildAddonRouteProvider, r as authProviderCapability, s as errMsg, t as addonRoutesCapability } from "../dist-VxjFo-4x.mjs";
2
2
  //#region src/magic-link/auth-magic-link.addon.ts
3
3
  /**
4
4
  * Magic-link authentication addon.
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../chunk-Cek0wNdY.js");
6
- const require_dist = require("../dist-DEvRG3v4.js");
6
+ const require_dist = require("../dist-CVuqT-Jl.js");
7
7
  let node_crypto = require("node:crypto");
8
8
  node_crypto = require_chunk.__toESM(node_crypto);
9
9
  //#region node_modules/jose/dist/webapi/lib/buffer_utils.js
@@ -1,4 +1,4 @@
1
- import { a as loginMethodCapability, c as BaseAddon, i as buildAddonRouteProvider, r as authProviderCapability, s as errMsg, t as addonRoutesCapability } from "../dist-DzacN10S.mjs";
1
+ import { a as loginMethodCapability, c as BaseAddon, i as buildAddonRouteProvider, r as authProviderCapability, s as errMsg, t as addonRoutesCapability } from "../dist-VxjFo-4x.mjs";
2
2
  import * as crypto$1 from "node:crypto";
3
3
  //#region node_modules/jose/dist/webapi/lib/buffer_utils.js
4
4
  var encoder = new TextEncoder();
@@ -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_auth_webauthn_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_auth_webauthn_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_auth_webauthn_widgets",
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../chunk-Cek0wNdY.js");
6
- const require_dist = require("../dist-DEvRG3v4.js");
6
+ const require_dist = require("../dist-CVuqT-Jl.js");
7
7
  let stream = require("stream");
8
8
  stream = require_chunk.__toESM(stream, 1);
9
9
  let http = require("http");
@@ -1,4 +1,4 @@
1
- import { a as loginMethodCapability, c as BaseAddon, d as number, f as object, l as array, n as addonWidgetsSourceCapability, o as userPasskeysCapability, p as string, u as boolean } from "../dist-DzacN10S.mjs";
1
+ import { a as loginMethodCapability, c as BaseAddon, d as number, f as object, l as array, n as addonWidgetsSourceCapability, o as userPasskeysCapability, p as string, u as boolean } from "../dist-VxjFo-4x.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import Stream from "stream";
4
4
  import http from "http";
@@ -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,
@@ -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_auth_webauthn_widgets-B5PfU2l_.mjs")).catch((e) => {
33
+ return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_auth_webauthn_widgets-Cr-oUr7j.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-auth",
3
- "version": "1.2.42",
3
+ "version": "1.2.44",
4
4
  "description": "Authentication bundle — magic-link, OIDC, and WebAuthn/passkey. Multi-entry npm package shipping 3 addons under a single bundle; each addon keeps its own id, capabilities, and runner.",
5
5
  "keywords": [
6
6
  "camstack",