@camstack/addon-export-alexa 1.2.90 → 1.2.91
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.
|
@@ -24464,6 +24464,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
24464
24464
|
deviceId: number().int().optional(),
|
|
24465
24465
|
base64: string().optional()
|
|
24466
24466
|
});
|
|
24467
|
+
/**
|
|
24468
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
24469
|
+
*
|
|
24470
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
24471
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
24472
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
24473
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
24474
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
24475
|
+
* where every other cross-identity pair sits under 0.50.
|
|
24476
|
+
*/
|
|
24477
|
+
var IdentitySampleAuditRowSchema = object({
|
|
24478
|
+
sampleId: string(),
|
|
24479
|
+
enrolledAt: number().int(),
|
|
24480
|
+
deviceId: number().int().optional(),
|
|
24481
|
+
source: _enum(["detected", "photo"]),
|
|
24482
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
24483
|
+
mediaKey: string().optional(),
|
|
24484
|
+
/**
|
|
24485
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
24486
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
24487
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
24488
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
24489
|
+
*/
|
|
24490
|
+
comparable: boolean(),
|
|
24491
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
24492
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
24493
|
+
selfMean: number().nullable(),
|
|
24494
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
24495
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
24496
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
24497
|
+
bestForeign: object({
|
|
24498
|
+
identityId: string(),
|
|
24499
|
+
name: string(),
|
|
24500
|
+
score: number()
|
|
24501
|
+
}).optional(),
|
|
24502
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
24503
|
+
suspicion: number()
|
|
24504
|
+
});
|
|
24505
|
+
var IdentitySampleAuditSchema = object({
|
|
24506
|
+
identityId: string(),
|
|
24507
|
+
name: string(),
|
|
24508
|
+
/** The cluster face model every comparison was made in. */
|
|
24509
|
+
modelId: string(),
|
|
24510
|
+
totalSamples: number().int(),
|
|
24511
|
+
comparableSamples: number().int(),
|
|
24512
|
+
flagged: number().int(),
|
|
24513
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
24514
|
+
* only its current result. */
|
|
24515
|
+
flagThreshold: number(),
|
|
24516
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
24517
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
24518
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
24519
|
+
});
|
|
24467
24520
|
var FaceInfoSchema = object({
|
|
24468
24521
|
faceId: string(),
|
|
24469
24522
|
deviceId: number().int(),
|
|
@@ -24615,7 +24668,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
24615
24668
|
}), method(object({ id: string() }), _void(), {
|
|
24616
24669
|
kind: "mutation",
|
|
24617
24670
|
auth: "admin"
|
|
24618
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
24671
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
24619
24672
|
identityId: string(),
|
|
24620
24673
|
sampleId: string()
|
|
24621
24674
|
}), _void(), {
|
|
@@ -31842,6 +31895,12 @@ Object.freeze({
|
|
|
31842
31895
|
addonId: null,
|
|
31843
31896
|
access: "create"
|
|
31844
31897
|
},
|
|
31898
|
+
"faceGallery.auditIdentitySamples": {
|
|
31899
|
+
capName: "face-gallery",
|
|
31900
|
+
capScope: "system",
|
|
31901
|
+
addonId: null,
|
|
31902
|
+
access: "view"
|
|
31903
|
+
},
|
|
31845
31904
|
"faceGallery.createIdentity": {
|
|
31846
31905
|
capName: "face-gallery",
|
|
31847
31906
|
capScope: "system",
|
|
@@ -24437,6 +24437,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
24437
24437
|
deviceId: number().int().optional(),
|
|
24438
24438
|
base64: string().optional()
|
|
24439
24439
|
});
|
|
24440
|
+
/**
|
|
24441
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
24442
|
+
*
|
|
24443
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
24444
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
24445
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
24446
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
24447
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
24448
|
+
* where every other cross-identity pair sits under 0.50.
|
|
24449
|
+
*/
|
|
24450
|
+
var IdentitySampleAuditRowSchema = object({
|
|
24451
|
+
sampleId: string(),
|
|
24452
|
+
enrolledAt: number().int(),
|
|
24453
|
+
deviceId: number().int().optional(),
|
|
24454
|
+
source: _enum(["detected", "photo"]),
|
|
24455
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
24456
|
+
mediaKey: string().optional(),
|
|
24457
|
+
/**
|
|
24458
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
24459
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
24460
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
24461
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
24462
|
+
*/
|
|
24463
|
+
comparable: boolean(),
|
|
24464
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
24465
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
24466
|
+
selfMean: number().nullable(),
|
|
24467
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
24468
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
24469
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
24470
|
+
bestForeign: object({
|
|
24471
|
+
identityId: string(),
|
|
24472
|
+
name: string(),
|
|
24473
|
+
score: number()
|
|
24474
|
+
}).optional(),
|
|
24475
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
24476
|
+
suspicion: number()
|
|
24477
|
+
});
|
|
24478
|
+
var IdentitySampleAuditSchema = object({
|
|
24479
|
+
identityId: string(),
|
|
24480
|
+
name: string(),
|
|
24481
|
+
/** The cluster face model every comparison was made in. */
|
|
24482
|
+
modelId: string(),
|
|
24483
|
+
totalSamples: number().int(),
|
|
24484
|
+
comparableSamples: number().int(),
|
|
24485
|
+
flagged: number().int(),
|
|
24486
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
24487
|
+
* only its current result. */
|
|
24488
|
+
flagThreshold: number(),
|
|
24489
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
24490
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
24491
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
24492
|
+
});
|
|
24440
24493
|
var FaceInfoSchema = object({
|
|
24441
24494
|
faceId: string(),
|
|
24442
24495
|
deviceId: number().int(),
|
|
@@ -24588,7 +24641,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
24588
24641
|
}), method(object({ id: string() }), _void(), {
|
|
24589
24642
|
kind: "mutation",
|
|
24590
24643
|
auth: "admin"
|
|
24591
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
24644
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
24592
24645
|
identityId: string(),
|
|
24593
24646
|
sampleId: string()
|
|
24594
24647
|
}), _void(), {
|
|
@@ -31815,6 +31868,12 @@ Object.freeze({
|
|
|
31815
31868
|
addonId: null,
|
|
31816
31869
|
access: "create"
|
|
31817
31870
|
},
|
|
31871
|
+
"faceGallery.auditIdentitySamples": {
|
|
31872
|
+
capName: "face-gallery",
|
|
31873
|
+
capScope: "system",
|
|
31874
|
+
addonId: null,
|
|
31875
|
+
access: "view"
|
|
31876
|
+
},
|
|
31818
31877
|
"faceGallery.createIdentity": {
|
|
31819
31878
|
capName: "face-gallery",
|
|
31820
31879
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-alexa",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.91",
|
|
4
4
|
"description": "Alexa Smart Home Skill export — hub-side OAuth provider + directive handler. The companion AWS Lambda forwards Alexa directives to this addon's /addon/export-alexa/directive endpoint.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|