@camstack/addon-smtp-nodemailer 1.2.38 → 1.2.41
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/smtp.addon.js +69 -10
- package/dist/smtp.addon.mjs +69 -10
- package/package.json +1 -1
package/dist/smtp.addon.js
CHANGED
|
@@ -13639,6 +13639,50 @@ var NodeProcessSchema = object({
|
|
|
13639
13639
|
/** Wall-clock uptime (seconds). Parsed from `ps etime`. */
|
|
13640
13640
|
uptimeSec: number()
|
|
13641
13641
|
});
|
|
13642
|
+
/**
|
|
13643
|
+
* One retained container-memory reading.
|
|
13644
|
+
*
|
|
13645
|
+
* `atMs` is the timestamp of the PROCESS snapshot taken in the same tick, not
|
|
13646
|
+
* a second clock: that is what makes "processes sum to X, container says Y"
|
|
13647
|
+
* subtractable per point rather than an eyeballed comparison of two series
|
|
13648
|
+
* sampled at different instants.
|
|
13649
|
+
*
|
|
13650
|
+
* A reduced window keeps the sample with the LARGEST `currentBytes` in each
|
|
13651
|
+
* bucket, WHOLE. Taking a per-field maximum would synthesise a row whose parts
|
|
13652
|
+
* never coexisted, and a mean would smear away the peak this exists to find.
|
|
13653
|
+
*/
|
|
13654
|
+
var ContainerMemoryPointSchema = object({
|
|
13655
|
+
/** Which hierarchy answered, so a reading is never ambiguous. */
|
|
13656
|
+
source: _enum(["cgroup-v2", "cgroup-v1"]),
|
|
13657
|
+
/** `memory.current` (v2) / `memory.usage_in_bytes` (v1). Always known. */
|
|
13658
|
+
currentBytes: number(),
|
|
13659
|
+
/** The cgroup's ceiling. `null` = NO LIMIT — never a sentinel, never zero. */
|
|
13660
|
+
limitBytes: number().nullable(),
|
|
13661
|
+
/** Anonymous pages: the closest thing to "what the processes allocated". */
|
|
13662
|
+
anonBytes: number().nullable(),
|
|
13663
|
+
/** Page cache. Charged to the cgroup, owned by no process. */
|
|
13664
|
+
fileBytes: number().nullable(),
|
|
13665
|
+
/**
|
|
13666
|
+
* Shared memory — and the field that explained the largest single surprise.
|
|
13667
|
+
* The i915 driver backs GPU buffers with shmem, so an inference pool or a
|
|
13668
|
+
* hardware-decode session holding DRM objects is charged HERE and appears
|
|
13669
|
+
* nowhere in a `ps` scan.
|
|
13670
|
+
*/
|
|
13671
|
+
shmemBytes: number().nullable(),
|
|
13672
|
+
/** Kernel slab charged to this cgroup. `null` on v1, which never publishes it. */
|
|
13673
|
+
slabBytes: number().nullable(),
|
|
13674
|
+
/**
|
|
13675
|
+
* Shrinkable i915 GEM object bytes, from debugfs.
|
|
13676
|
+
*
|
|
13677
|
+
* **Host-wide across every DRM client, NOT cgroup-scoped.** It is not a
|
|
13678
|
+
* component of `currentBytes` and must not be subtracted from it; it says
|
|
13679
|
+
* what put the shmem there, where `shmemBytes` only says how much.
|
|
13680
|
+
*
|
|
13681
|
+
* `null` wherever debugfs is not mounted — which is inside every camstack
|
|
13682
|
+
* container today — and on any node with no Intel GPU.
|
|
13683
|
+
*/
|
|
13684
|
+
gpuShmemBytes: number().nullable()
|
|
13685
|
+
}).extend({ atMs: number() });
|
|
13642
13686
|
var DumpHeapSnapshotInputSchema = object({
|
|
13643
13687
|
/** The addon whose runner should dump a heap snapshot. */
|
|
13644
13688
|
addonId: string() });
|
|
@@ -13702,6 +13746,21 @@ var NodeLoadSeriesSchema = object({
|
|
|
13702
13746
|
/** One entry per function seen in the window, heaviest-first. */
|
|
13703
13747
|
series: array(LoadFunctionSeriesSchema).readonly(),
|
|
13704
13748
|
/**
|
|
13749
|
+
* The CONTAINER's memory over the same window, oldest-first.
|
|
13750
|
+
*
|
|
13751
|
+
* Sits next to `series` rather than in a method of its own because the whole
|
|
13752
|
+
* question is a subtraction: the per-process rows in `series` sum to one
|
|
13753
|
+
* number and this one is another, and an operator who has to issue two calls
|
|
13754
|
+
* to compare them will compare two different instants. Same reader, same
|
|
13755
|
+
* `sinceMs`, same `bucketMs`, same timestamps.
|
|
13756
|
+
*
|
|
13757
|
+
* **EMPTY means ABSENT, never zero.** A node with no cgroup — a developer
|
|
13758
|
+
* Mac, a bare-metal host, a container with the hierarchy hidden — reports no
|
|
13759
|
+
* points at all. A zero here would be indistinguishable from a healthy
|
|
13760
|
+
* container and is precisely the lie this field exists to avoid.
|
|
13761
|
+
*/
|
|
13762
|
+
containerMemory: array(ContainerMemoryPointSchema).readonly(),
|
|
13763
|
+
/**
|
|
13705
13764
|
* Width of one returned bucket, in ms. Equals the sampling cadence when no
|
|
13706
13765
|
* reduction was needed — so a caller can always say what one point covers
|
|
13707
13766
|
* without having to know whether it was reduced.
|
|
@@ -23593,23 +23652,23 @@ DeviceType.Camera, method(object({ deviceId: number() }), object({
|
|
|
23593
23652
|
sdpOffer: string()
|
|
23594
23653
|
}), {
|
|
23595
23654
|
kind: "mutation",
|
|
23596
|
-
auth: "
|
|
23655
|
+
auth: "protected"
|
|
23597
23656
|
}), method(object({
|
|
23598
23657
|
deviceId: number(),
|
|
23599
23658
|
sessionId: string(),
|
|
23600
23659
|
sdpAnswer: string()
|
|
23601
23660
|
}), _void(), {
|
|
23602
23661
|
kind: "mutation",
|
|
23603
|
-
auth: "
|
|
23662
|
+
auth: "protected"
|
|
23604
23663
|
}), method(object({
|
|
23605
23664
|
deviceId: number(),
|
|
23606
23665
|
sessionId: string()
|
|
23607
23666
|
}), _void(), {
|
|
23608
23667
|
kind: "mutation",
|
|
23609
|
-
auth: "
|
|
23668
|
+
auth: "protected"
|
|
23610
23669
|
}), method(object({ deviceId: number() }), object({ sessionId: string() }), {
|
|
23611
23670
|
kind: "mutation",
|
|
23612
|
-
auth: "
|
|
23671
|
+
auth: "protected"
|
|
23613
23672
|
}), method(object({
|
|
23614
23673
|
deviceId: number(),
|
|
23615
23674
|
/** Audio bytes for ONE frame, base64-encoded so the payload
|
|
@@ -23628,10 +23687,10 @@ DeviceType.Camera, method(object({ deviceId: number() }), object({
|
|
|
23628
23687
|
sequenceNumber: number().int()
|
|
23629
23688
|
}), object({ accepted: boolean() }), {
|
|
23630
23689
|
kind: "mutation",
|
|
23631
|
-
auth: "
|
|
23690
|
+
auth: "protected"
|
|
23632
23691
|
}), method(object({ deviceId: number() }), _void(), {
|
|
23633
23692
|
kind: "mutation",
|
|
23634
|
-
auth: "
|
|
23693
|
+
auth: "protected"
|
|
23635
23694
|
}), object({
|
|
23636
23695
|
deviceId: number(),
|
|
23637
23696
|
status: IntercomStatusSchema
|
|
@@ -25644,10 +25703,10 @@ DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceI
|
|
|
25644
25703
|
* recording config. NOTE on events (source of truth, R5/C3): this cap carries
|
|
25645
25704
|
* NO event surface — `getPlaybackManifest` returns playlist URLs only. Timeline
|
|
25646
25705
|
* events (motion/object/audio) come from `pipelineAnalytics` (durable SQLite
|
|
25647
|
-
* rows)
|
|
25648
|
-
*
|
|
25649
|
-
*
|
|
25650
|
-
* (`interfaces/recording-config.ts`).
|
|
25706
|
+
* rows) and are the ONLY event surface — the recorder has none. The in-RAM
|
|
25707
|
+
* playback markers it used to build were deleted on 2026-08-29 because nothing
|
|
25708
|
+
* ever read them. Event<->footage joins are by time, padded with the shared
|
|
25709
|
+
* `EVENT_PAD_MS` (`interfaces/recording-config.ts`).
|
|
25651
25710
|
*/
|
|
25652
25711
|
var RecordingStatusSchema = object({
|
|
25653
25712
|
deviceId: number(),
|
package/dist/smtp.addon.mjs
CHANGED
|
@@ -13637,6 +13637,50 @@ var NodeProcessSchema = object({
|
|
|
13637
13637
|
/** Wall-clock uptime (seconds). Parsed from `ps etime`. */
|
|
13638
13638
|
uptimeSec: number()
|
|
13639
13639
|
});
|
|
13640
|
+
/**
|
|
13641
|
+
* One retained container-memory reading.
|
|
13642
|
+
*
|
|
13643
|
+
* `atMs` is the timestamp of the PROCESS snapshot taken in the same tick, not
|
|
13644
|
+
* a second clock: that is what makes "processes sum to X, container says Y"
|
|
13645
|
+
* subtractable per point rather than an eyeballed comparison of two series
|
|
13646
|
+
* sampled at different instants.
|
|
13647
|
+
*
|
|
13648
|
+
* A reduced window keeps the sample with the LARGEST `currentBytes` in each
|
|
13649
|
+
* bucket, WHOLE. Taking a per-field maximum would synthesise a row whose parts
|
|
13650
|
+
* never coexisted, and a mean would smear away the peak this exists to find.
|
|
13651
|
+
*/
|
|
13652
|
+
var ContainerMemoryPointSchema = object({
|
|
13653
|
+
/** Which hierarchy answered, so a reading is never ambiguous. */
|
|
13654
|
+
source: _enum(["cgroup-v2", "cgroup-v1"]),
|
|
13655
|
+
/** `memory.current` (v2) / `memory.usage_in_bytes` (v1). Always known. */
|
|
13656
|
+
currentBytes: number(),
|
|
13657
|
+
/** The cgroup's ceiling. `null` = NO LIMIT — never a sentinel, never zero. */
|
|
13658
|
+
limitBytes: number().nullable(),
|
|
13659
|
+
/** Anonymous pages: the closest thing to "what the processes allocated". */
|
|
13660
|
+
anonBytes: number().nullable(),
|
|
13661
|
+
/** Page cache. Charged to the cgroup, owned by no process. */
|
|
13662
|
+
fileBytes: number().nullable(),
|
|
13663
|
+
/**
|
|
13664
|
+
* Shared memory — and the field that explained the largest single surprise.
|
|
13665
|
+
* The i915 driver backs GPU buffers with shmem, so an inference pool or a
|
|
13666
|
+
* hardware-decode session holding DRM objects is charged HERE and appears
|
|
13667
|
+
* nowhere in a `ps` scan.
|
|
13668
|
+
*/
|
|
13669
|
+
shmemBytes: number().nullable(),
|
|
13670
|
+
/** Kernel slab charged to this cgroup. `null` on v1, which never publishes it. */
|
|
13671
|
+
slabBytes: number().nullable(),
|
|
13672
|
+
/**
|
|
13673
|
+
* Shrinkable i915 GEM object bytes, from debugfs.
|
|
13674
|
+
*
|
|
13675
|
+
* **Host-wide across every DRM client, NOT cgroup-scoped.** It is not a
|
|
13676
|
+
* component of `currentBytes` and must not be subtracted from it; it says
|
|
13677
|
+
* what put the shmem there, where `shmemBytes` only says how much.
|
|
13678
|
+
*
|
|
13679
|
+
* `null` wherever debugfs is not mounted — which is inside every camstack
|
|
13680
|
+
* container today — and on any node with no Intel GPU.
|
|
13681
|
+
*/
|
|
13682
|
+
gpuShmemBytes: number().nullable()
|
|
13683
|
+
}).extend({ atMs: number() });
|
|
13640
13684
|
var DumpHeapSnapshotInputSchema = object({
|
|
13641
13685
|
/** The addon whose runner should dump a heap snapshot. */
|
|
13642
13686
|
addonId: string() });
|
|
@@ -13700,6 +13744,21 @@ var NodeLoadSeriesSchema = object({
|
|
|
13700
13744
|
/** One entry per function seen in the window, heaviest-first. */
|
|
13701
13745
|
series: array(LoadFunctionSeriesSchema).readonly(),
|
|
13702
13746
|
/**
|
|
13747
|
+
* The CONTAINER's memory over the same window, oldest-first.
|
|
13748
|
+
*
|
|
13749
|
+
* Sits next to `series` rather than in a method of its own because the whole
|
|
13750
|
+
* question is a subtraction: the per-process rows in `series` sum to one
|
|
13751
|
+
* number and this one is another, and an operator who has to issue two calls
|
|
13752
|
+
* to compare them will compare two different instants. Same reader, same
|
|
13753
|
+
* `sinceMs`, same `bucketMs`, same timestamps.
|
|
13754
|
+
*
|
|
13755
|
+
* **EMPTY means ABSENT, never zero.** A node with no cgroup — a developer
|
|
13756
|
+
* Mac, a bare-metal host, a container with the hierarchy hidden — reports no
|
|
13757
|
+
* points at all. A zero here would be indistinguishable from a healthy
|
|
13758
|
+
* container and is precisely the lie this field exists to avoid.
|
|
13759
|
+
*/
|
|
13760
|
+
containerMemory: array(ContainerMemoryPointSchema).readonly(),
|
|
13761
|
+
/**
|
|
13703
13762
|
* Width of one returned bucket, in ms. Equals the sampling cadence when no
|
|
13704
13763
|
* reduction was needed — so a caller can always say what one point covers
|
|
13705
13764
|
* without having to know whether it was reduced.
|
|
@@ -23591,23 +23650,23 @@ DeviceType.Camera, method(object({ deviceId: number() }), object({
|
|
|
23591
23650
|
sdpOffer: string()
|
|
23592
23651
|
}), {
|
|
23593
23652
|
kind: "mutation",
|
|
23594
|
-
auth: "
|
|
23653
|
+
auth: "protected"
|
|
23595
23654
|
}), method(object({
|
|
23596
23655
|
deviceId: number(),
|
|
23597
23656
|
sessionId: string(),
|
|
23598
23657
|
sdpAnswer: string()
|
|
23599
23658
|
}), _void(), {
|
|
23600
23659
|
kind: "mutation",
|
|
23601
|
-
auth: "
|
|
23660
|
+
auth: "protected"
|
|
23602
23661
|
}), method(object({
|
|
23603
23662
|
deviceId: number(),
|
|
23604
23663
|
sessionId: string()
|
|
23605
23664
|
}), _void(), {
|
|
23606
23665
|
kind: "mutation",
|
|
23607
|
-
auth: "
|
|
23666
|
+
auth: "protected"
|
|
23608
23667
|
}), method(object({ deviceId: number() }), object({ sessionId: string() }), {
|
|
23609
23668
|
kind: "mutation",
|
|
23610
|
-
auth: "
|
|
23669
|
+
auth: "protected"
|
|
23611
23670
|
}), method(object({
|
|
23612
23671
|
deviceId: number(),
|
|
23613
23672
|
/** Audio bytes for ONE frame, base64-encoded so the payload
|
|
@@ -23626,10 +23685,10 @@ DeviceType.Camera, method(object({ deviceId: number() }), object({
|
|
|
23626
23685
|
sequenceNumber: number().int()
|
|
23627
23686
|
}), object({ accepted: boolean() }), {
|
|
23628
23687
|
kind: "mutation",
|
|
23629
|
-
auth: "
|
|
23688
|
+
auth: "protected"
|
|
23630
23689
|
}), method(object({ deviceId: number() }), _void(), {
|
|
23631
23690
|
kind: "mutation",
|
|
23632
|
-
auth: "
|
|
23691
|
+
auth: "protected"
|
|
23633
23692
|
}), object({
|
|
23634
23693
|
deviceId: number(),
|
|
23635
23694
|
status: IntercomStatusSchema
|
|
@@ -25642,10 +25701,10 @@ DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceI
|
|
|
25642
25701
|
* recording config. NOTE on events (source of truth, R5/C3): this cap carries
|
|
25643
25702
|
* NO event surface — `getPlaybackManifest` returns playlist URLs only. Timeline
|
|
25644
25703
|
* events (motion/object/audio) come from `pipelineAnalytics` (durable SQLite
|
|
25645
|
-
* rows)
|
|
25646
|
-
*
|
|
25647
|
-
*
|
|
25648
|
-
* (`interfaces/recording-config.ts`).
|
|
25704
|
+
* rows) and are the ONLY event surface — the recorder has none. The in-RAM
|
|
25705
|
+
* playback markers it used to build were deleted on 2026-08-29 because nothing
|
|
25706
|
+
* ever read them. Event<->footage joins are by time, padded with the shared
|
|
25707
|
+
* `EVENT_PAD_MS` (`interfaces/recording-config.ts`).
|
|
25649
25708
|
*/
|
|
25650
25709
|
var RecordingStatusSchema = object({
|
|
25651
25710
|
deviceId: number(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-smtp-nodemailer",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.41",
|
|
4
4
|
"description": "SMTP email provider addon for CamStack — wraps `nodemailer` and registers a `smtp-provider` cap collection entry. Used by magic-link login + notifier addons.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|