@camstack/addon-smtp-nodemailer 1.2.82 → 1.2.84
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 +96 -7
- package/dist/smtp.addon.mjs +96 -7
- package/package.json +1 -1
package/dist/smtp.addon.js
CHANGED
|
@@ -18399,11 +18399,30 @@ var SensorEventSchema = object({
|
|
|
18399
18399
|
value: record(string(), unknown()).nullable(),
|
|
18400
18400
|
timestamp: number()
|
|
18401
18401
|
});
|
|
18402
|
+
/**
|
|
18403
|
+
* One stored sighting on a track's trajectory.
|
|
18404
|
+
*
|
|
18405
|
+
* The array these live in is returned in TIME order (D399) — it is APPENDED in
|
|
18406
|
+
* arrival order, and the two detector passes interleave, so a consumer must not
|
|
18407
|
+
* assume the two are the same on a row written by an older build.
|
|
18408
|
+
*/
|
|
18402
18409
|
var TrackPositionSchema = object({
|
|
18403
18410
|
x: number(),
|
|
18404
18411
|
y: number(),
|
|
18405
18412
|
timestamp: number(),
|
|
18406
|
-
bbox: BoundingBoxSchema
|
|
18413
|
+
bbox: BoundingBoxSchema,
|
|
18414
|
+
/**
|
|
18415
|
+
* Which detector pass measured this box (D399): `frame` is the full-frame
|
|
18416
|
+
* pass on the analysis raster, `recovery` is the native-resolution
|
|
18417
|
+
* small-subject second pass (D377/D378). Both write into one array, and until
|
|
18418
|
+
* this field existed the only way to tell them apart was that full-frame boxes
|
|
18419
|
+
* are exact multiples of 1.2 while recovery boxes are full-precision floats.
|
|
18420
|
+
* Absent on rows written before D399.
|
|
18421
|
+
*/
|
|
18422
|
+
source: _enum(["frame", "recovery"]).optional(),
|
|
18423
|
+
/** Detection score of this box, so a position can be weighed and not only
|
|
18424
|
+
* plotted. Absent on rows written before D399. */
|
|
18425
|
+
score: number().optional()
|
|
18407
18426
|
});
|
|
18408
18427
|
var TrackSnapshotSchema = object({
|
|
18409
18428
|
timestamp: number(),
|
|
@@ -18803,14 +18822,25 @@ var TrackSchema = object({
|
|
|
18803
18822
|
*/
|
|
18804
18823
|
hasRider: boolean().optional(),
|
|
18805
18824
|
/**
|
|
18806
|
-
* WHY this track ended without a NATIVE best-shot
|
|
18807
|
-
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)
|
|
18825
|
+
* WHY this track ended without a NATIVE best-shot FRAME
|
|
18826
|
+
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
|
|
18827
|
+
* widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
|
|
18808
18828
|
* a composed token line (`no-key-frame capture=keyframe:native-missx4`,
|
|
18809
|
-
* `derive-returned-null tile=standin`,
|
|
18810
|
-
*
|
|
18811
|
-
*
|
|
18829
|
+
* `derive-returned-null tile=standin`,
|
|
18830
|
+
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
18831
|
+
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
18832
|
+
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
18812
18833
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
18813
18834
|
*
|
|
18835
|
+
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
18836
|
+
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
18837
|
+
* while its key frame missed carried no reason at all — three of the four
|
|
18838
|
+
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
18839
|
+
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
18840
|
+
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
18841
|
+
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
18842
|
+
* tile ended up being.
|
|
18843
|
+
*
|
|
18814
18844
|
* **Absent ≠ "missed silently"**: a row written before the column, a hub
|
|
18815
18845
|
* that predates the field, and every track whose tile landed native all
|
|
18816
18846
|
* omit it. Render nothing when absent.
|
|
@@ -24157,6 +24187,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
24157
24187
|
deviceId: number().int().optional(),
|
|
24158
24188
|
base64: string().optional()
|
|
24159
24189
|
});
|
|
24190
|
+
/**
|
|
24191
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
24192
|
+
*
|
|
24193
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
24194
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
24195
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
24196
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
24197
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
24198
|
+
* where every other cross-identity pair sits under 0.50.
|
|
24199
|
+
*/
|
|
24200
|
+
var IdentitySampleAuditRowSchema = object({
|
|
24201
|
+
sampleId: string(),
|
|
24202
|
+
enrolledAt: number().int(),
|
|
24203
|
+
deviceId: number().int().optional(),
|
|
24204
|
+
source: _enum(["detected", "photo"]),
|
|
24205
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
24206
|
+
mediaKey: string().optional(),
|
|
24207
|
+
/**
|
|
24208
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
24209
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
24210
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
24211
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
24212
|
+
*/
|
|
24213
|
+
comparable: boolean(),
|
|
24214
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
24215
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
24216
|
+
selfMean: number().nullable(),
|
|
24217
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
24218
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
24219
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
24220
|
+
bestForeign: object({
|
|
24221
|
+
identityId: string(),
|
|
24222
|
+
name: string(),
|
|
24223
|
+
score: number()
|
|
24224
|
+
}).optional(),
|
|
24225
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
24226
|
+
suspicion: number()
|
|
24227
|
+
});
|
|
24228
|
+
var IdentitySampleAuditSchema = object({
|
|
24229
|
+
identityId: string(),
|
|
24230
|
+
name: string(),
|
|
24231
|
+
/** The cluster face model every comparison was made in. */
|
|
24232
|
+
modelId: string(),
|
|
24233
|
+
totalSamples: number().int(),
|
|
24234
|
+
comparableSamples: number().int(),
|
|
24235
|
+
flagged: number().int(),
|
|
24236
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
24237
|
+
* only its current result. */
|
|
24238
|
+
flagThreshold: number(),
|
|
24239
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
24240
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
24241
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
24242
|
+
});
|
|
24160
24243
|
var FaceInfoSchema = object({
|
|
24161
24244
|
faceId: string(),
|
|
24162
24245
|
deviceId: number().int(),
|
|
@@ -24308,7 +24391,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
24308
24391
|
}), method(object({ id: string() }), _void(), {
|
|
24309
24392
|
kind: "mutation",
|
|
24310
24393
|
auth: "admin"
|
|
24311
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
24394
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
24312
24395
|
identityId: string(),
|
|
24313
24396
|
sampleId: string()
|
|
24314
24397
|
}), _void(), {
|
|
@@ -31535,6 +31618,12 @@ Object.freeze({
|
|
|
31535
31618
|
addonId: null,
|
|
31536
31619
|
access: "create"
|
|
31537
31620
|
},
|
|
31621
|
+
"faceGallery.auditIdentitySamples": {
|
|
31622
|
+
capName: "face-gallery",
|
|
31623
|
+
capScope: "system",
|
|
31624
|
+
addonId: null,
|
|
31625
|
+
access: "view"
|
|
31626
|
+
},
|
|
31538
31627
|
"faceGallery.createIdentity": {
|
|
31539
31628
|
capName: "face-gallery",
|
|
31540
31629
|
capScope: "system",
|
package/dist/smtp.addon.mjs
CHANGED
|
@@ -18397,11 +18397,30 @@ var SensorEventSchema = object({
|
|
|
18397
18397
|
value: record(string(), unknown()).nullable(),
|
|
18398
18398
|
timestamp: number()
|
|
18399
18399
|
});
|
|
18400
|
+
/**
|
|
18401
|
+
* One stored sighting on a track's trajectory.
|
|
18402
|
+
*
|
|
18403
|
+
* The array these live in is returned in TIME order (D399) — it is APPENDED in
|
|
18404
|
+
* arrival order, and the two detector passes interleave, so a consumer must not
|
|
18405
|
+
* assume the two are the same on a row written by an older build.
|
|
18406
|
+
*/
|
|
18400
18407
|
var TrackPositionSchema = object({
|
|
18401
18408
|
x: number(),
|
|
18402
18409
|
y: number(),
|
|
18403
18410
|
timestamp: number(),
|
|
18404
|
-
bbox: BoundingBoxSchema
|
|
18411
|
+
bbox: BoundingBoxSchema,
|
|
18412
|
+
/**
|
|
18413
|
+
* Which detector pass measured this box (D399): `frame` is the full-frame
|
|
18414
|
+
* pass on the analysis raster, `recovery` is the native-resolution
|
|
18415
|
+
* small-subject second pass (D377/D378). Both write into one array, and until
|
|
18416
|
+
* this field existed the only way to tell them apart was that full-frame boxes
|
|
18417
|
+
* are exact multiples of 1.2 while recovery boxes are full-precision floats.
|
|
18418
|
+
* Absent on rows written before D399.
|
|
18419
|
+
*/
|
|
18420
|
+
source: _enum(["frame", "recovery"]).optional(),
|
|
18421
|
+
/** Detection score of this box, so a position can be weighed and not only
|
|
18422
|
+
* plotted. Absent on rows written before D399. */
|
|
18423
|
+
score: number().optional()
|
|
18405
18424
|
});
|
|
18406
18425
|
var TrackSnapshotSchema = object({
|
|
18407
18426
|
timestamp: number(),
|
|
@@ -18801,14 +18820,25 @@ var TrackSchema = object({
|
|
|
18801
18820
|
*/
|
|
18802
18821
|
hasRider: boolean().optional(),
|
|
18803
18822
|
/**
|
|
18804
|
-
* WHY this track ended without a NATIVE best-shot
|
|
18805
|
-
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)
|
|
18823
|
+
* WHY this track ended without a NATIVE best-shot FRAME
|
|
18824
|
+
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
|
|
18825
|
+
* widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
|
|
18806
18826
|
* a composed token line (`no-key-frame capture=keyframe:native-missx4`,
|
|
18807
|
-
* `derive-returned-null tile=standin`,
|
|
18808
|
-
*
|
|
18809
|
-
*
|
|
18827
|
+
* `derive-returned-null tile=standin`,
|
|
18828
|
+
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
18829
|
+
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
18830
|
+
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
18810
18831
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
18811
18832
|
*
|
|
18833
|
+
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
18834
|
+
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
18835
|
+
* while its key frame missed carried no reason at all — three of the four
|
|
18836
|
+
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
18837
|
+
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
18838
|
+
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
18839
|
+
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
18840
|
+
* tile ended up being.
|
|
18841
|
+
*
|
|
18812
18842
|
* **Absent ≠ "missed silently"**: a row written before the column, a hub
|
|
18813
18843
|
* that predates the field, and every track whose tile landed native all
|
|
18814
18844
|
* omit it. Render nothing when absent.
|
|
@@ -24155,6 +24185,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
24155
24185
|
deviceId: number().int().optional(),
|
|
24156
24186
|
base64: string().optional()
|
|
24157
24187
|
});
|
|
24188
|
+
/**
|
|
24189
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
24190
|
+
*
|
|
24191
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
24192
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
24193
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
24194
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
24195
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
24196
|
+
* where every other cross-identity pair sits under 0.50.
|
|
24197
|
+
*/
|
|
24198
|
+
var IdentitySampleAuditRowSchema = object({
|
|
24199
|
+
sampleId: string(),
|
|
24200
|
+
enrolledAt: number().int(),
|
|
24201
|
+
deviceId: number().int().optional(),
|
|
24202
|
+
source: _enum(["detected", "photo"]),
|
|
24203
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
24204
|
+
mediaKey: string().optional(),
|
|
24205
|
+
/**
|
|
24206
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
24207
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
24208
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
24209
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
24210
|
+
*/
|
|
24211
|
+
comparable: boolean(),
|
|
24212
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
24213
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
24214
|
+
selfMean: number().nullable(),
|
|
24215
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
24216
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
24217
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
24218
|
+
bestForeign: object({
|
|
24219
|
+
identityId: string(),
|
|
24220
|
+
name: string(),
|
|
24221
|
+
score: number()
|
|
24222
|
+
}).optional(),
|
|
24223
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
24224
|
+
suspicion: number()
|
|
24225
|
+
});
|
|
24226
|
+
var IdentitySampleAuditSchema = object({
|
|
24227
|
+
identityId: string(),
|
|
24228
|
+
name: string(),
|
|
24229
|
+
/** The cluster face model every comparison was made in. */
|
|
24230
|
+
modelId: string(),
|
|
24231
|
+
totalSamples: number().int(),
|
|
24232
|
+
comparableSamples: number().int(),
|
|
24233
|
+
flagged: number().int(),
|
|
24234
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
24235
|
+
* only its current result. */
|
|
24236
|
+
flagThreshold: number(),
|
|
24237
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
24238
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
24239
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
24240
|
+
});
|
|
24158
24241
|
var FaceInfoSchema = object({
|
|
24159
24242
|
faceId: string(),
|
|
24160
24243
|
deviceId: number().int(),
|
|
@@ -24306,7 +24389,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
24306
24389
|
}), method(object({ id: string() }), _void(), {
|
|
24307
24390
|
kind: "mutation",
|
|
24308
24391
|
auth: "admin"
|
|
24309
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
24392
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
24310
24393
|
identityId: string(),
|
|
24311
24394
|
sampleId: string()
|
|
24312
24395
|
}), _void(), {
|
|
@@ -31533,6 +31616,12 @@ Object.freeze({
|
|
|
31533
31616
|
addonId: null,
|
|
31534
31617
|
access: "create"
|
|
31535
31618
|
},
|
|
31619
|
+
"faceGallery.auditIdentitySamples": {
|
|
31620
|
+
capName: "face-gallery",
|
|
31621
|
+
capScope: "system",
|
|
31622
|
+
addonId: null,
|
|
31623
|
+
access: "view"
|
|
31624
|
+
},
|
|
31536
31625
|
"faceGallery.createIdentity": {
|
|
31537
31626
|
capName: "face-gallery",
|
|
31538
31627
|
capScope: "system",
|
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.84",
|
|
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",
|