@camstack/addon-smtp-nodemailer 1.2.13 → 1.2.14
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 +67 -26
- package/dist/smtp.addon.mjs +67 -26
- package/package.json +1 -1
package/dist/smtp.addon.js
CHANGED
|
@@ -23617,13 +23617,24 @@ method(object({
|
|
|
23617
23617
|
/** Playback-speed multiplier for the render (1 = realtime). */
|
|
23618
23618
|
var ExportSpeedSchema = number().min(.25).max(32);
|
|
23619
23619
|
/**
|
|
23620
|
-
* One dense interval, in SECONDS FROM THE EXPORT'S OWN `fromMs`.
|
|
23620
|
+
* One dense interval, in WALL-CLOCK SECONDS FROM THE EXPORT'S OWN `fromMs`.
|
|
23621
23621
|
*
|
|
23622
|
-
*
|
|
23623
|
-
*
|
|
23624
|
-
*
|
|
23625
|
-
*
|
|
23626
|
-
*
|
|
23622
|
+
* **Wall clock, not ffmpeg's `t`** — and the recorder translates. A caller
|
|
23623
|
+
* derives these bounds from things that happened at a TIME (a track's
|
|
23624
|
+
* `firstSeen`), while `t` runs over the source playlist: the concatenation of
|
|
23625
|
+
* every segment present for the range, with each recording GAP removed. The
|
|
23626
|
+
* two agree only on a window that recorded without one interruption, and only
|
|
23627
|
+
* the render side knows the segments, so the translation lives there
|
|
23628
|
+
* (`export-dense-map.ts`, addon-pipeline).
|
|
23629
|
+
*
|
|
23630
|
+
* It was not always so. These seconds were fed to `between(t,…)` verbatim, and
|
|
23631
|
+
* on a 10 h window holding 29,393 s of footage every range landed late by the
|
|
23632
|
+
* gap accumulated before it — up to 6,607 s, well past EOF. Nothing matched,
|
|
23633
|
+
* the video was a uniform timelapse, and the log line reported the five ranges
|
|
23634
|
+
* that had been ASKED for (2026-08-13, export `57d14363`, camera 615).
|
|
23635
|
+
*
|
|
23636
|
+
* Relative and not absolute epoch, because an absolute epoch would make every
|
|
23637
|
+
* call site responsible for the same subtraction.
|
|
23627
23638
|
*/
|
|
23628
23639
|
var ExportDenseRangeSchema = object({
|
|
23629
23640
|
fromSec: number().nonnegative(),
|
|
@@ -30753,25 +30764,32 @@ object({
|
|
|
30753
30764
|
var NativeLeaseAdmissionSchema = _enum(["all", "inferred"]);
|
|
30754
30765
|
object({
|
|
30755
30766
|
/**
|
|
30756
|
-
* How
|
|
30767
|
+
* How many delivered frames the worker HOLDS at once, waiting for each one's
|
|
30768
|
+
* detection result.
|
|
30757
30769
|
*
|
|
30758
|
-
*
|
|
30759
|
-
*
|
|
30760
|
-
*
|
|
30761
|
-
*
|
|
30762
|
-
*
|
|
30770
|
+
* This replaced a TTL on 2026-08-13, and the replacement is the whole point:
|
|
30771
|
+
* a time window was never related to the event the pixels were waiting for.
|
|
30772
|
+
* A held frame now lives from delivery until the runner has its `FrameResult`
|
|
30773
|
+
* — at which moment the runner cuts the subject tiles it actually wanted and
|
|
30774
|
+
* releases the frame. The bound exists only so a runner that stops answering
|
|
30775
|
+
* cannot pin RAM: above it the OLDEST held frame is dropped and counted.
|
|
30776
|
+
*
|
|
30777
|
+
* Sizing: the steady state is `inferenceLatency × deliveredFps`, measured at
|
|
30778
|
+
* 40-160 ms × ≤25 fps = 1-4 frames. The default leaves headroom for a hiccup
|
|
30779
|
+
* without ever approaching the old resident set (43 frames × 24.9 MB at 4K).
|
|
30780
|
+
* Raising it does not buy hit rate — it buys tolerance for a slow runner, and
|
|
30781
|
+
* `holdOverflow` on the metrics line is what says you need it.
|
|
30763
30782
|
*/
|
|
30764
|
-
|
|
30783
|
+
holdFrames: number().int().min(1).max(64),
|
|
30765
30784
|
/**
|
|
30766
30785
|
* Hard per-decode-worker RAM ceiling for retained native frames, in MB.
|
|
30767
30786
|
*
|
|
30768
|
-
*
|
|
30769
|
-
*
|
|
30770
|
-
*
|
|
30771
|
-
*
|
|
30772
|
-
*
|
|
30773
|
-
*
|
|
30774
|
-
* rather than giving RAM back — lower this knob if RAM is what you wanted.
|
|
30787
|
+
* Since 2026-08-13 this is a SAFETY ceiling and nothing else: `holdFrames`
|
|
30788
|
+
* is what decides how much is held, and the ceiling is the number above which
|
|
30789
|
+
* something is wrong. Before that it was the effective cap — at 1024 MB with
|
|
30790
|
+
* a 2 800 ms TTL a 4K camera sat pinned at `leaseMb:1020, leaseFrames:43`
|
|
30791
|
+
* with the TTL expiring nothing, which is exactly the confusion the hold
|
|
30792
|
+
* removes. `leaseMb` / `leaseFrames` still say what is resident.
|
|
30775
30793
|
* `0` DISABLES the lease entirely and falls the worker back to the tiny
|
|
30776
30794
|
* leak-prone GPU surface ring (~85% crop miss; that is what the lease exists
|
|
30777
30795
|
* to replace).
|
|
@@ -30797,22 +30815,45 @@ object({
|
|
|
30797
30815
|
* there is the signal that some caller names frames outside the inference set
|
|
30798
30816
|
* and that this must go back to `all`.
|
|
30799
30817
|
*/
|
|
30800
|
-
admission: NativeLeaseAdmissionSchema
|
|
30818
|
+
admission: NativeLeaseAdmissionSchema,
|
|
30819
|
+
/**
|
|
30820
|
+
* RAM ceiling per decode worker, in MB, for the SUBJECT TILES — the
|
|
30821
|
+
* compressed native crops the worker cuts at the moment a frame's detection
|
|
30822
|
+
* result arrives, and keeps long after the frame itself is freed.
|
|
30823
|
+
*
|
|
30824
|
+
* This is the knob that replaced the old retention window, and it buys about
|
|
30825
|
+
* three orders of magnitude more of it: a tile is one subject at native
|
|
30826
|
+
* resolution, JPEG-encoded (~60-120 KB on a 4K person), against ~24.9 MB for
|
|
30827
|
+
* the frame it was cut from. A frame on which nothing was detected costs
|
|
30828
|
+
* nothing at all, which is the real change — the old lease paid per FRAME and
|
|
30829
|
+
* was interrogated per SUBJECT.
|
|
30830
|
+
*
|
|
30831
|
+
* `0` DISABLES tiles, leaving only the hold window and the ≤640 RAM
|
|
30832
|
+
* fallback — i.e. the pre-2026-08-13 miss profile. Set it there only to
|
|
30833
|
+
* reproduce that.
|
|
30834
|
+
*/
|
|
30835
|
+
tileBudgetMb: number().int().min(0).max(1024)
|
|
30801
30836
|
});
|
|
30802
30837
|
/**
|
|
30803
|
-
* The values in force when the operator has set nothing
|
|
30804
|
-
*
|
|
30805
|
-
*
|
|
30838
|
+
* The values in force when the operator has set nothing.
|
|
30839
|
+
*
|
|
30840
|
+
* `budgetMb` stays at 1024 on the day the hold landed, deliberately: it stopped
|
|
30841
|
+
* being the retention window and became the OOM ceiling, and lowering a ceiling
|
|
30842
|
+
* in the same change that redefines it would make a regression and a retune
|
|
30843
|
+
* indistinguishable. Cut it once `tileHits` / `holdOverflow` have been read on
|
|
30844
|
+
* live traffic.
|
|
30806
30845
|
*/
|
|
30807
30846
|
var DEFAULT_NATIVE_LEASE_SETTINGS = {
|
|
30808
|
-
|
|
30847
|
+
holdFrames: 8,
|
|
30809
30848
|
budgetMb: 1024,
|
|
30810
30849
|
activityMs: 15e3,
|
|
30850
|
+
tileBudgetMb: 64,
|
|
30811
30851
|
admission: "inferred"
|
|
30812
30852
|
};
|
|
30813
|
-
DEFAULT_NATIVE_LEASE_SETTINGS.
|
|
30853
|
+
DEFAULT_NATIVE_LEASE_SETTINGS.holdFrames;
|
|
30814
30854
|
DEFAULT_NATIVE_LEASE_SETTINGS.budgetMb;
|
|
30815
30855
|
DEFAULT_NATIVE_LEASE_SETTINGS.activityMs;
|
|
30856
|
+
DEFAULT_NATIVE_LEASE_SETTINGS.tileBudgetMb;
|
|
30816
30857
|
DEFAULT_NATIVE_LEASE_SETTINGS.admission;
|
|
30817
30858
|
//#endregion
|
|
30818
30859
|
//#region ../../node_modules/nodemailer/lib/punycode/index.js
|
package/dist/smtp.addon.mjs
CHANGED
|
@@ -23615,13 +23615,24 @@ method(object({
|
|
|
23615
23615
|
/** Playback-speed multiplier for the render (1 = realtime). */
|
|
23616
23616
|
var ExportSpeedSchema = number().min(.25).max(32);
|
|
23617
23617
|
/**
|
|
23618
|
-
* One dense interval, in SECONDS FROM THE EXPORT'S OWN `fromMs`.
|
|
23618
|
+
* One dense interval, in WALL-CLOCK SECONDS FROM THE EXPORT'S OWN `fromMs`.
|
|
23619
23619
|
*
|
|
23620
|
-
*
|
|
23621
|
-
*
|
|
23622
|
-
*
|
|
23623
|
-
*
|
|
23624
|
-
*
|
|
23620
|
+
* **Wall clock, not ffmpeg's `t`** — and the recorder translates. A caller
|
|
23621
|
+
* derives these bounds from things that happened at a TIME (a track's
|
|
23622
|
+
* `firstSeen`), while `t` runs over the source playlist: the concatenation of
|
|
23623
|
+
* every segment present for the range, with each recording GAP removed. The
|
|
23624
|
+
* two agree only on a window that recorded without one interruption, and only
|
|
23625
|
+
* the render side knows the segments, so the translation lives there
|
|
23626
|
+
* (`export-dense-map.ts`, addon-pipeline).
|
|
23627
|
+
*
|
|
23628
|
+
* It was not always so. These seconds were fed to `between(t,…)` verbatim, and
|
|
23629
|
+
* on a 10 h window holding 29,393 s of footage every range landed late by the
|
|
23630
|
+
* gap accumulated before it — up to 6,607 s, well past EOF. Nothing matched,
|
|
23631
|
+
* the video was a uniform timelapse, and the log line reported the five ranges
|
|
23632
|
+
* that had been ASKED for (2026-08-13, export `57d14363`, camera 615).
|
|
23633
|
+
*
|
|
23634
|
+
* Relative and not absolute epoch, because an absolute epoch would make every
|
|
23635
|
+
* call site responsible for the same subtraction.
|
|
23625
23636
|
*/
|
|
23626
23637
|
var ExportDenseRangeSchema = object({
|
|
23627
23638
|
fromSec: number().nonnegative(),
|
|
@@ -30751,25 +30762,32 @@ object({
|
|
|
30751
30762
|
var NativeLeaseAdmissionSchema = _enum(["all", "inferred"]);
|
|
30752
30763
|
object({
|
|
30753
30764
|
/**
|
|
30754
|
-
* How
|
|
30765
|
+
* How many delivered frames the worker HOLDS at once, waiting for each one's
|
|
30766
|
+
* detection result.
|
|
30755
30767
|
*
|
|
30756
|
-
*
|
|
30757
|
-
*
|
|
30758
|
-
*
|
|
30759
|
-
*
|
|
30760
|
-
*
|
|
30768
|
+
* This replaced a TTL on 2026-08-13, and the replacement is the whole point:
|
|
30769
|
+
* a time window was never related to the event the pixels were waiting for.
|
|
30770
|
+
* A held frame now lives from delivery until the runner has its `FrameResult`
|
|
30771
|
+
* — at which moment the runner cuts the subject tiles it actually wanted and
|
|
30772
|
+
* releases the frame. The bound exists only so a runner that stops answering
|
|
30773
|
+
* cannot pin RAM: above it the OLDEST held frame is dropped and counted.
|
|
30774
|
+
*
|
|
30775
|
+
* Sizing: the steady state is `inferenceLatency × deliveredFps`, measured at
|
|
30776
|
+
* 40-160 ms × ≤25 fps = 1-4 frames. The default leaves headroom for a hiccup
|
|
30777
|
+
* without ever approaching the old resident set (43 frames × 24.9 MB at 4K).
|
|
30778
|
+
* Raising it does not buy hit rate — it buys tolerance for a slow runner, and
|
|
30779
|
+
* `holdOverflow` on the metrics line is what says you need it.
|
|
30761
30780
|
*/
|
|
30762
|
-
|
|
30781
|
+
holdFrames: number().int().min(1).max(64),
|
|
30763
30782
|
/**
|
|
30764
30783
|
* Hard per-decode-worker RAM ceiling for retained native frames, in MB.
|
|
30765
30784
|
*
|
|
30766
|
-
*
|
|
30767
|
-
*
|
|
30768
|
-
*
|
|
30769
|
-
*
|
|
30770
|
-
*
|
|
30771
|
-
*
|
|
30772
|
-
* rather than giving RAM back — lower this knob if RAM is what you wanted.
|
|
30785
|
+
* Since 2026-08-13 this is a SAFETY ceiling and nothing else: `holdFrames`
|
|
30786
|
+
* is what decides how much is held, and the ceiling is the number above which
|
|
30787
|
+
* something is wrong. Before that it was the effective cap — at 1024 MB with
|
|
30788
|
+
* a 2 800 ms TTL a 4K camera sat pinned at `leaseMb:1020, leaseFrames:43`
|
|
30789
|
+
* with the TTL expiring nothing, which is exactly the confusion the hold
|
|
30790
|
+
* removes. `leaseMb` / `leaseFrames` still say what is resident.
|
|
30773
30791
|
* `0` DISABLES the lease entirely and falls the worker back to the tiny
|
|
30774
30792
|
* leak-prone GPU surface ring (~85% crop miss; that is what the lease exists
|
|
30775
30793
|
* to replace).
|
|
@@ -30795,22 +30813,45 @@ object({
|
|
|
30795
30813
|
* there is the signal that some caller names frames outside the inference set
|
|
30796
30814
|
* and that this must go back to `all`.
|
|
30797
30815
|
*/
|
|
30798
|
-
admission: NativeLeaseAdmissionSchema
|
|
30816
|
+
admission: NativeLeaseAdmissionSchema,
|
|
30817
|
+
/**
|
|
30818
|
+
* RAM ceiling per decode worker, in MB, for the SUBJECT TILES — the
|
|
30819
|
+
* compressed native crops the worker cuts at the moment a frame's detection
|
|
30820
|
+
* result arrives, and keeps long after the frame itself is freed.
|
|
30821
|
+
*
|
|
30822
|
+
* This is the knob that replaced the old retention window, and it buys about
|
|
30823
|
+
* three orders of magnitude more of it: a tile is one subject at native
|
|
30824
|
+
* resolution, JPEG-encoded (~60-120 KB on a 4K person), against ~24.9 MB for
|
|
30825
|
+
* the frame it was cut from. A frame on which nothing was detected costs
|
|
30826
|
+
* nothing at all, which is the real change — the old lease paid per FRAME and
|
|
30827
|
+
* was interrogated per SUBJECT.
|
|
30828
|
+
*
|
|
30829
|
+
* `0` DISABLES tiles, leaving only the hold window and the ≤640 RAM
|
|
30830
|
+
* fallback — i.e. the pre-2026-08-13 miss profile. Set it there only to
|
|
30831
|
+
* reproduce that.
|
|
30832
|
+
*/
|
|
30833
|
+
tileBudgetMb: number().int().min(0).max(1024)
|
|
30799
30834
|
});
|
|
30800
30835
|
/**
|
|
30801
|
-
* The values in force when the operator has set nothing
|
|
30802
|
-
*
|
|
30803
|
-
*
|
|
30836
|
+
* The values in force when the operator has set nothing.
|
|
30837
|
+
*
|
|
30838
|
+
* `budgetMb` stays at 1024 on the day the hold landed, deliberately: it stopped
|
|
30839
|
+
* being the retention window and became the OOM ceiling, and lowering a ceiling
|
|
30840
|
+
* in the same change that redefines it would make a regression and a retune
|
|
30841
|
+
* indistinguishable. Cut it once `tileHits` / `holdOverflow` have been read on
|
|
30842
|
+
* live traffic.
|
|
30804
30843
|
*/
|
|
30805
30844
|
var DEFAULT_NATIVE_LEASE_SETTINGS = {
|
|
30806
|
-
|
|
30845
|
+
holdFrames: 8,
|
|
30807
30846
|
budgetMb: 1024,
|
|
30808
30847
|
activityMs: 15e3,
|
|
30848
|
+
tileBudgetMb: 64,
|
|
30809
30849
|
admission: "inferred"
|
|
30810
30850
|
};
|
|
30811
|
-
DEFAULT_NATIVE_LEASE_SETTINGS.
|
|
30851
|
+
DEFAULT_NATIVE_LEASE_SETTINGS.holdFrames;
|
|
30812
30852
|
DEFAULT_NATIVE_LEASE_SETTINGS.budgetMb;
|
|
30813
30853
|
DEFAULT_NATIVE_LEASE_SETTINGS.activityMs;
|
|
30854
|
+
DEFAULT_NATIVE_LEASE_SETTINGS.tileBudgetMb;
|
|
30814
30855
|
DEFAULT_NATIVE_LEASE_SETTINGS.admission;
|
|
30815
30856
|
//#endregion
|
|
30816
30857
|
//#region ../../node_modules/nodemailer/lib/punycode/index.js
|
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.14",
|
|
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",
|