@camstack/addon-import-alexa 0.2.82 → 0.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/addon.js +96 -7
- package/dist/addon.mjs +96 -7
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -18989,11 +18989,30 @@ var SensorEventSchema = object({
|
|
|
18989
18989
|
value: record(string(), unknown()).nullable(),
|
|
18990
18990
|
timestamp: number()
|
|
18991
18991
|
});
|
|
18992
|
+
/**
|
|
18993
|
+
* One stored sighting on a track's trajectory.
|
|
18994
|
+
*
|
|
18995
|
+
* The array these live in is returned in TIME order (D399) — it is APPENDED in
|
|
18996
|
+
* arrival order, and the two detector passes interleave, so a consumer must not
|
|
18997
|
+
* assume the two are the same on a row written by an older build.
|
|
18998
|
+
*/
|
|
18992
18999
|
var TrackPositionSchema = object({
|
|
18993
19000
|
x: number(),
|
|
18994
19001
|
y: number(),
|
|
18995
19002
|
timestamp: number(),
|
|
18996
|
-
bbox: BoundingBoxSchema
|
|
19003
|
+
bbox: BoundingBoxSchema,
|
|
19004
|
+
/**
|
|
19005
|
+
* Which detector pass measured this box (D399): `frame` is the full-frame
|
|
19006
|
+
* pass on the analysis raster, `recovery` is the native-resolution
|
|
19007
|
+
* small-subject second pass (D377/D378). Both write into one array, and until
|
|
19008
|
+
* this field existed the only way to tell them apart was that full-frame boxes
|
|
19009
|
+
* are exact multiples of 1.2 while recovery boxes are full-precision floats.
|
|
19010
|
+
* Absent on rows written before D399.
|
|
19011
|
+
*/
|
|
19012
|
+
source: _enum(["frame", "recovery"]).optional(),
|
|
19013
|
+
/** Detection score of this box, so a position can be weighed and not only
|
|
19014
|
+
* plotted. Absent on rows written before D399. */
|
|
19015
|
+
score: number().optional()
|
|
18997
19016
|
});
|
|
18998
19017
|
var TrackSnapshotSchema = object({
|
|
18999
19018
|
timestamp: number(),
|
|
@@ -19393,14 +19412,25 @@ var TrackSchema = object({
|
|
|
19393
19412
|
*/
|
|
19394
19413
|
hasRider: boolean().optional(),
|
|
19395
19414
|
/**
|
|
19396
|
-
* WHY this track ended without a NATIVE best-shot
|
|
19397
|
-
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)
|
|
19415
|
+
* WHY this track ended without a NATIVE best-shot FRAME
|
|
19416
|
+
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
|
|
19417
|
+
* widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
|
|
19398
19418
|
* a composed token line (`no-key-frame capture=keyframe:native-missx4`,
|
|
19399
|
-
* `derive-returned-null tile=standin`,
|
|
19400
|
-
*
|
|
19401
|
-
*
|
|
19419
|
+
* `derive-returned-null tile=standin`,
|
|
19420
|
+
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
19421
|
+
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
19422
|
+
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
19402
19423
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
19403
19424
|
*
|
|
19425
|
+
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
19426
|
+
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
19427
|
+
* while its key frame missed carried no reason at all — three of the four
|
|
19428
|
+
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
19429
|
+
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
19430
|
+
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
19431
|
+
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
19432
|
+
* tile ended up being.
|
|
19433
|
+
*
|
|
19404
19434
|
* **Absent ≠ "missed silently"**: a row written before the column, a hub
|
|
19405
19435
|
* that predates the field, and every track whose tile landed native all
|
|
19406
19436
|
* omit it. Render nothing when absent.
|
|
@@ -25481,6 +25511,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
25481
25511
|
deviceId: number().int().optional(),
|
|
25482
25512
|
base64: string().optional()
|
|
25483
25513
|
});
|
|
25514
|
+
/**
|
|
25515
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
25516
|
+
*
|
|
25517
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
25518
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
25519
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
25520
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
25521
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
25522
|
+
* where every other cross-identity pair sits under 0.50.
|
|
25523
|
+
*/
|
|
25524
|
+
var IdentitySampleAuditRowSchema = object({
|
|
25525
|
+
sampleId: string(),
|
|
25526
|
+
enrolledAt: number().int(),
|
|
25527
|
+
deviceId: number().int().optional(),
|
|
25528
|
+
source: _enum(["detected", "photo"]),
|
|
25529
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
25530
|
+
mediaKey: string().optional(),
|
|
25531
|
+
/**
|
|
25532
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
25533
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
25534
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
25535
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
25536
|
+
*/
|
|
25537
|
+
comparable: boolean(),
|
|
25538
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
25539
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
25540
|
+
selfMean: number().nullable(),
|
|
25541
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
25542
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
25543
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
25544
|
+
bestForeign: object({
|
|
25545
|
+
identityId: string(),
|
|
25546
|
+
name: string(),
|
|
25547
|
+
score: number()
|
|
25548
|
+
}).optional(),
|
|
25549
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
25550
|
+
suspicion: number()
|
|
25551
|
+
});
|
|
25552
|
+
var IdentitySampleAuditSchema = object({
|
|
25553
|
+
identityId: string(),
|
|
25554
|
+
name: string(),
|
|
25555
|
+
/** The cluster face model every comparison was made in. */
|
|
25556
|
+
modelId: string(),
|
|
25557
|
+
totalSamples: number().int(),
|
|
25558
|
+
comparableSamples: number().int(),
|
|
25559
|
+
flagged: number().int(),
|
|
25560
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
25561
|
+
* only its current result. */
|
|
25562
|
+
flagThreshold: number(),
|
|
25563
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
25564
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
25565
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
25566
|
+
});
|
|
25484
25567
|
var FaceInfoSchema = object({
|
|
25485
25568
|
faceId: string(),
|
|
25486
25569
|
deviceId: number().int(),
|
|
@@ -25632,7 +25715,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
25632
25715
|
}), method(object({ id: string() }), _void(), {
|
|
25633
25716
|
kind: "mutation",
|
|
25634
25717
|
auth: "admin"
|
|
25635
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
25718
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
25636
25719
|
identityId: string(),
|
|
25637
25720
|
sampleId: string()
|
|
25638
25721
|
}), _void(), {
|
|
@@ -36125,6 +36208,12 @@ Object.freeze({
|
|
|
36125
36208
|
addonId: null,
|
|
36126
36209
|
access: "create"
|
|
36127
36210
|
},
|
|
36211
|
+
"faceGallery.auditIdentitySamples": {
|
|
36212
|
+
capName: "face-gallery",
|
|
36213
|
+
capScope: "system",
|
|
36214
|
+
addonId: null,
|
|
36215
|
+
access: "view"
|
|
36216
|
+
},
|
|
36128
36217
|
"faceGallery.createIdentity": {
|
|
36129
36218
|
capName: "face-gallery",
|
|
36130
36219
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -18989,11 +18989,30 @@ var SensorEventSchema = object({
|
|
|
18989
18989
|
value: record(string(), unknown()).nullable(),
|
|
18990
18990
|
timestamp: number()
|
|
18991
18991
|
});
|
|
18992
|
+
/**
|
|
18993
|
+
* One stored sighting on a track's trajectory.
|
|
18994
|
+
*
|
|
18995
|
+
* The array these live in is returned in TIME order (D399) — it is APPENDED in
|
|
18996
|
+
* arrival order, and the two detector passes interleave, so a consumer must not
|
|
18997
|
+
* assume the two are the same on a row written by an older build.
|
|
18998
|
+
*/
|
|
18992
18999
|
var TrackPositionSchema = object({
|
|
18993
19000
|
x: number(),
|
|
18994
19001
|
y: number(),
|
|
18995
19002
|
timestamp: number(),
|
|
18996
|
-
bbox: BoundingBoxSchema
|
|
19003
|
+
bbox: BoundingBoxSchema,
|
|
19004
|
+
/**
|
|
19005
|
+
* Which detector pass measured this box (D399): `frame` is the full-frame
|
|
19006
|
+
* pass on the analysis raster, `recovery` is the native-resolution
|
|
19007
|
+
* small-subject second pass (D377/D378). Both write into one array, and until
|
|
19008
|
+
* this field existed the only way to tell them apart was that full-frame boxes
|
|
19009
|
+
* are exact multiples of 1.2 while recovery boxes are full-precision floats.
|
|
19010
|
+
* Absent on rows written before D399.
|
|
19011
|
+
*/
|
|
19012
|
+
source: _enum(["frame", "recovery"]).optional(),
|
|
19013
|
+
/** Detection score of this box, so a position can be weighed and not only
|
|
19014
|
+
* plotted. Absent on rows written before D399. */
|
|
19015
|
+
score: number().optional()
|
|
18997
19016
|
});
|
|
18998
19017
|
var TrackSnapshotSchema = object({
|
|
18999
19018
|
timestamp: number(),
|
|
@@ -19393,14 +19412,25 @@ var TrackSchema = object({
|
|
|
19393
19412
|
*/
|
|
19394
19413
|
hasRider: boolean().optional(),
|
|
19395
19414
|
/**
|
|
19396
|
-
* WHY this track ended without a NATIVE best-shot
|
|
19397
|
-
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)
|
|
19415
|
+
* WHY this track ended without a NATIVE best-shot FRAME
|
|
19416
|
+
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
|
|
19417
|
+
* widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
|
|
19398
19418
|
* a composed token line (`no-key-frame capture=keyframe:native-missx4`,
|
|
19399
|
-
* `derive-returned-null tile=standin`,
|
|
19400
|
-
*
|
|
19401
|
-
*
|
|
19419
|
+
* `derive-returned-null tile=standin`,
|
|
19420
|
+
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
19421
|
+
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
19422
|
+
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
19402
19423
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
19403
19424
|
*
|
|
19425
|
+
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
19426
|
+
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
19427
|
+
* while its key frame missed carried no reason at all — three of the four
|
|
19428
|
+
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
19429
|
+
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
19430
|
+
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
19431
|
+
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
19432
|
+
* tile ended up being.
|
|
19433
|
+
*
|
|
19404
19434
|
* **Absent ≠ "missed silently"**: a row written before the column, a hub
|
|
19405
19435
|
* that predates the field, and every track whose tile landed native all
|
|
19406
19436
|
* omit it. Render nothing when absent.
|
|
@@ -25481,6 +25511,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
25481
25511
|
deviceId: number().int().optional(),
|
|
25482
25512
|
base64: string().optional()
|
|
25483
25513
|
});
|
|
25514
|
+
/**
|
|
25515
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
25516
|
+
*
|
|
25517
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
25518
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
25519
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
25520
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
25521
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
25522
|
+
* where every other cross-identity pair sits under 0.50.
|
|
25523
|
+
*/
|
|
25524
|
+
var IdentitySampleAuditRowSchema = object({
|
|
25525
|
+
sampleId: string(),
|
|
25526
|
+
enrolledAt: number().int(),
|
|
25527
|
+
deviceId: number().int().optional(),
|
|
25528
|
+
source: _enum(["detected", "photo"]),
|
|
25529
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
25530
|
+
mediaKey: string().optional(),
|
|
25531
|
+
/**
|
|
25532
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
25533
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
25534
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
25535
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
25536
|
+
*/
|
|
25537
|
+
comparable: boolean(),
|
|
25538
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
25539
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
25540
|
+
selfMean: number().nullable(),
|
|
25541
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
25542
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
25543
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
25544
|
+
bestForeign: object({
|
|
25545
|
+
identityId: string(),
|
|
25546
|
+
name: string(),
|
|
25547
|
+
score: number()
|
|
25548
|
+
}).optional(),
|
|
25549
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
25550
|
+
suspicion: number()
|
|
25551
|
+
});
|
|
25552
|
+
var IdentitySampleAuditSchema = object({
|
|
25553
|
+
identityId: string(),
|
|
25554
|
+
name: string(),
|
|
25555
|
+
/** The cluster face model every comparison was made in. */
|
|
25556
|
+
modelId: string(),
|
|
25557
|
+
totalSamples: number().int(),
|
|
25558
|
+
comparableSamples: number().int(),
|
|
25559
|
+
flagged: number().int(),
|
|
25560
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
25561
|
+
* only its current result. */
|
|
25562
|
+
flagThreshold: number(),
|
|
25563
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
25564
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
25565
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
25566
|
+
});
|
|
25484
25567
|
var FaceInfoSchema = object({
|
|
25485
25568
|
faceId: string(),
|
|
25486
25569
|
deviceId: number().int(),
|
|
@@ -25632,7 +25715,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
25632
25715
|
}), method(object({ id: string() }), _void(), {
|
|
25633
25716
|
kind: "mutation",
|
|
25634
25717
|
auth: "admin"
|
|
25635
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
25718
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
25636
25719
|
identityId: string(),
|
|
25637
25720
|
sampleId: string()
|
|
25638
25721
|
}), _void(), {
|
|
@@ -36125,6 +36208,12 @@ Object.freeze({
|
|
|
36125
36208
|
addonId: null,
|
|
36126
36209
|
access: "create"
|
|
36127
36210
|
},
|
|
36211
|
+
"faceGallery.auditIdentitySamples": {
|
|
36212
|
+
capName: "face-gallery",
|
|
36213
|
+
capScope: "system",
|
|
36214
|
+
addonId: null,
|
|
36215
|
+
access: "view"
|
|
36216
|
+
},
|
|
36128
36217
|
"faceGallery.createIdentity": {
|
|
36129
36218
|
capName: "face-gallery",
|
|
36130
36219
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-import-alexa",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.84",
|
|
4
4
|
"description": "Alexa device-import provider for CamStack — imports the smart-home devices in a user's Alexa account via the unofficial alexa-remote2 cookie/token client (the inverse of the Alexa exporter)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|