@camstack/addon-export-google 0.1.48 → 0.1.49
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.
|
@@ -24447,6 +24447,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
24447
24447
|
deviceId: number().int().optional(),
|
|
24448
24448
|
base64: string().optional()
|
|
24449
24449
|
});
|
|
24450
|
+
/**
|
|
24451
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
24452
|
+
*
|
|
24453
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
24454
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
24455
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
24456
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
24457
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
24458
|
+
* where every other cross-identity pair sits under 0.50.
|
|
24459
|
+
*/
|
|
24460
|
+
var IdentitySampleAuditRowSchema = object({
|
|
24461
|
+
sampleId: string(),
|
|
24462
|
+
enrolledAt: number().int(),
|
|
24463
|
+
deviceId: number().int().optional(),
|
|
24464
|
+
source: _enum(["detected", "photo"]),
|
|
24465
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
24466
|
+
mediaKey: string().optional(),
|
|
24467
|
+
/**
|
|
24468
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
24469
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
24470
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
24471
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
24472
|
+
*/
|
|
24473
|
+
comparable: boolean(),
|
|
24474
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
24475
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
24476
|
+
selfMean: number().nullable(),
|
|
24477
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
24478
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
24479
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
24480
|
+
bestForeign: object({
|
|
24481
|
+
identityId: string(),
|
|
24482
|
+
name: string(),
|
|
24483
|
+
score: number()
|
|
24484
|
+
}).optional(),
|
|
24485
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
24486
|
+
suspicion: number()
|
|
24487
|
+
});
|
|
24488
|
+
var IdentitySampleAuditSchema = object({
|
|
24489
|
+
identityId: string(),
|
|
24490
|
+
name: string(),
|
|
24491
|
+
/** The cluster face model every comparison was made in. */
|
|
24492
|
+
modelId: string(),
|
|
24493
|
+
totalSamples: number().int(),
|
|
24494
|
+
comparableSamples: number().int(),
|
|
24495
|
+
flagged: number().int(),
|
|
24496
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
24497
|
+
* only its current result. */
|
|
24498
|
+
flagThreshold: number(),
|
|
24499
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
24500
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
24501
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
24502
|
+
});
|
|
24450
24503
|
var FaceInfoSchema = object({
|
|
24451
24504
|
faceId: string(),
|
|
24452
24505
|
deviceId: number().int(),
|
|
@@ -24598,7 +24651,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
24598
24651
|
}), method(object({ id: string() }), _void(), {
|
|
24599
24652
|
kind: "mutation",
|
|
24600
24653
|
auth: "admin"
|
|
24601
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
24654
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
24602
24655
|
identityId: string(),
|
|
24603
24656
|
sampleId: string()
|
|
24604
24657
|
}), _void(), {
|
|
@@ -31832,6 +31885,12 @@ Object.freeze({
|
|
|
31832
31885
|
addonId: null,
|
|
31833
31886
|
access: "create"
|
|
31834
31887
|
},
|
|
31888
|
+
"faceGallery.auditIdentitySamples": {
|
|
31889
|
+
capName: "face-gallery",
|
|
31890
|
+
capScope: "system",
|
|
31891
|
+
addonId: null,
|
|
31892
|
+
access: "view"
|
|
31893
|
+
},
|
|
31835
31894
|
"faceGallery.createIdentity": {
|
|
31836
31895
|
capName: "face-gallery",
|
|
31837
31896
|
capScope: "system",
|
|
@@ -24443,6 +24443,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
24443
24443
|
deviceId: number().int().optional(),
|
|
24444
24444
|
base64: string().optional()
|
|
24445
24445
|
});
|
|
24446
|
+
/**
|
|
24447
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
24448
|
+
*
|
|
24449
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
24450
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
24451
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
24452
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
24453
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
24454
|
+
* where every other cross-identity pair sits under 0.50.
|
|
24455
|
+
*/
|
|
24456
|
+
var IdentitySampleAuditRowSchema = object({
|
|
24457
|
+
sampleId: string(),
|
|
24458
|
+
enrolledAt: number().int(),
|
|
24459
|
+
deviceId: number().int().optional(),
|
|
24460
|
+
source: _enum(["detected", "photo"]),
|
|
24461
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
24462
|
+
mediaKey: string().optional(),
|
|
24463
|
+
/**
|
|
24464
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
24465
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
24466
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
24467
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
24468
|
+
*/
|
|
24469
|
+
comparable: boolean(),
|
|
24470
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
24471
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
24472
|
+
selfMean: number().nullable(),
|
|
24473
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
24474
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
24475
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
24476
|
+
bestForeign: object({
|
|
24477
|
+
identityId: string(),
|
|
24478
|
+
name: string(),
|
|
24479
|
+
score: number()
|
|
24480
|
+
}).optional(),
|
|
24481
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
24482
|
+
suspicion: number()
|
|
24483
|
+
});
|
|
24484
|
+
var IdentitySampleAuditSchema = object({
|
|
24485
|
+
identityId: string(),
|
|
24486
|
+
name: string(),
|
|
24487
|
+
/** The cluster face model every comparison was made in. */
|
|
24488
|
+
modelId: string(),
|
|
24489
|
+
totalSamples: number().int(),
|
|
24490
|
+
comparableSamples: number().int(),
|
|
24491
|
+
flagged: number().int(),
|
|
24492
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
24493
|
+
* only its current result. */
|
|
24494
|
+
flagThreshold: number(),
|
|
24495
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
24496
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
24497
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
24498
|
+
});
|
|
24446
24499
|
var FaceInfoSchema = object({
|
|
24447
24500
|
faceId: string(),
|
|
24448
24501
|
deviceId: number().int(),
|
|
@@ -24594,7 +24647,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
24594
24647
|
}), method(object({ id: string() }), _void(), {
|
|
24595
24648
|
kind: "mutation",
|
|
24596
24649
|
auth: "admin"
|
|
24597
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
24650
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
24598
24651
|
identityId: string(),
|
|
24599
24652
|
sampleId: string()
|
|
24600
24653
|
}), _void(), {
|
|
@@ -31828,6 +31881,12 @@ Object.freeze({
|
|
|
31828
31881
|
addonId: null,
|
|
31829
31882
|
access: "create"
|
|
31830
31883
|
},
|
|
31884
|
+
"faceGallery.auditIdentitySamples": {
|
|
31885
|
+
capName: "face-gallery",
|
|
31886
|
+
capScope: "system",
|
|
31887
|
+
addonId: null,
|
|
31888
|
+
access: "view"
|
|
31889
|
+
},
|
|
31831
31890
|
"faceGallery.createIdentity": {
|
|
31832
31891
|
capName: "face-gallery",
|
|
31833
31892
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-google",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.49",
|
|
4
4
|
"description": "Google Home export — hub-side smart-home fulfillment (SYNC / QUERY / EXECUTE / DISCONNECT) for the non-camera fleet, served over the hub's own OAuth account link. No Google credential is stored, sent or required.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|