@camstack/addon-provider-wyze 0.2.88 → 0.2.89
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 +60 -1
- package/dist/addon.mjs +60 -1
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -25412,6 +25412,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
25412
25412
|
deviceId: number().int().optional(),
|
|
25413
25413
|
base64: string().optional()
|
|
25414
25414
|
});
|
|
25415
|
+
/**
|
|
25416
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
25417
|
+
*
|
|
25418
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
25419
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
25420
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
25421
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
25422
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
25423
|
+
* where every other cross-identity pair sits under 0.50.
|
|
25424
|
+
*/
|
|
25425
|
+
var IdentitySampleAuditRowSchema = object({
|
|
25426
|
+
sampleId: string(),
|
|
25427
|
+
enrolledAt: number().int(),
|
|
25428
|
+
deviceId: number().int().optional(),
|
|
25429
|
+
source: _enum(["detected", "photo"]),
|
|
25430
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
25431
|
+
mediaKey: string().optional(),
|
|
25432
|
+
/**
|
|
25433
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
25434
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
25435
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
25436
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
25437
|
+
*/
|
|
25438
|
+
comparable: boolean(),
|
|
25439
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
25440
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
25441
|
+
selfMean: number().nullable(),
|
|
25442
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
25443
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
25444
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
25445
|
+
bestForeign: object({
|
|
25446
|
+
identityId: string(),
|
|
25447
|
+
name: string(),
|
|
25448
|
+
score: number()
|
|
25449
|
+
}).optional(),
|
|
25450
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
25451
|
+
suspicion: number()
|
|
25452
|
+
});
|
|
25453
|
+
var IdentitySampleAuditSchema = object({
|
|
25454
|
+
identityId: string(),
|
|
25455
|
+
name: string(),
|
|
25456
|
+
/** The cluster face model every comparison was made in. */
|
|
25457
|
+
modelId: string(),
|
|
25458
|
+
totalSamples: number().int(),
|
|
25459
|
+
comparableSamples: number().int(),
|
|
25460
|
+
flagged: number().int(),
|
|
25461
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
25462
|
+
* only its current result. */
|
|
25463
|
+
flagThreshold: number(),
|
|
25464
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
25465
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
25466
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
25467
|
+
});
|
|
25415
25468
|
var FaceInfoSchema = object({
|
|
25416
25469
|
faceId: string(),
|
|
25417
25470
|
deviceId: number().int(),
|
|
@@ -25563,7 +25616,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
25563
25616
|
}), method(object({ id: string() }), _void(), {
|
|
25564
25617
|
kind: "mutation",
|
|
25565
25618
|
auth: "admin"
|
|
25566
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
25619
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
25567
25620
|
identityId: string(),
|
|
25568
25621
|
sampleId: string()
|
|
25569
25622
|
}), _void(), {
|
|
@@ -36056,6 +36109,12 @@ Object.freeze({
|
|
|
36056
36109
|
addonId: null,
|
|
36057
36110
|
access: "create"
|
|
36058
36111
|
},
|
|
36112
|
+
"faceGallery.auditIdentitySamples": {
|
|
36113
|
+
capName: "face-gallery",
|
|
36114
|
+
capScope: "system",
|
|
36115
|
+
addonId: null,
|
|
36116
|
+
access: "view"
|
|
36117
|
+
},
|
|
36059
36118
|
"faceGallery.createIdentity": {
|
|
36060
36119
|
capName: "face-gallery",
|
|
36061
36120
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -25391,6 +25391,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
25391
25391
|
deviceId: number().int().optional(),
|
|
25392
25392
|
base64: string().optional()
|
|
25393
25393
|
});
|
|
25394
|
+
/**
|
|
25395
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
25396
|
+
*
|
|
25397
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
25398
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
25399
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
25400
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
25401
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
25402
|
+
* where every other cross-identity pair sits under 0.50.
|
|
25403
|
+
*/
|
|
25404
|
+
var IdentitySampleAuditRowSchema = object({
|
|
25405
|
+
sampleId: string(),
|
|
25406
|
+
enrolledAt: number().int(),
|
|
25407
|
+
deviceId: number().int().optional(),
|
|
25408
|
+
source: _enum(["detected", "photo"]),
|
|
25409
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
25410
|
+
mediaKey: string().optional(),
|
|
25411
|
+
/**
|
|
25412
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
25413
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
25414
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
25415
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
25416
|
+
*/
|
|
25417
|
+
comparable: boolean(),
|
|
25418
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
25419
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
25420
|
+
selfMean: number().nullable(),
|
|
25421
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
25422
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
25423
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
25424
|
+
bestForeign: object({
|
|
25425
|
+
identityId: string(),
|
|
25426
|
+
name: string(),
|
|
25427
|
+
score: number()
|
|
25428
|
+
}).optional(),
|
|
25429
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
25430
|
+
suspicion: number()
|
|
25431
|
+
});
|
|
25432
|
+
var IdentitySampleAuditSchema = object({
|
|
25433
|
+
identityId: string(),
|
|
25434
|
+
name: string(),
|
|
25435
|
+
/** The cluster face model every comparison was made in. */
|
|
25436
|
+
modelId: string(),
|
|
25437
|
+
totalSamples: number().int(),
|
|
25438
|
+
comparableSamples: number().int(),
|
|
25439
|
+
flagged: number().int(),
|
|
25440
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
25441
|
+
* only its current result. */
|
|
25442
|
+
flagThreshold: number(),
|
|
25443
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
25444
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
25445
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
25446
|
+
});
|
|
25394
25447
|
var FaceInfoSchema = object({
|
|
25395
25448
|
faceId: string(),
|
|
25396
25449
|
deviceId: number().int(),
|
|
@@ -25542,7 +25595,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
25542
25595
|
}), method(object({ id: string() }), _void(), {
|
|
25543
25596
|
kind: "mutation",
|
|
25544
25597
|
auth: "admin"
|
|
25545
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
25598
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
25546
25599
|
identityId: string(),
|
|
25547
25600
|
sampleId: string()
|
|
25548
25601
|
}), _void(), {
|
|
@@ -36035,6 +36088,12 @@ Object.freeze({
|
|
|
36035
36088
|
addonId: null,
|
|
36036
36089
|
access: "create"
|
|
36037
36090
|
},
|
|
36091
|
+
"faceGallery.auditIdentitySamples": {
|
|
36092
|
+
capName: "face-gallery",
|
|
36093
|
+
capScope: "system",
|
|
36094
|
+
addonId: null,
|
|
36095
|
+
access: "view"
|
|
36096
|
+
},
|
|
36038
36097
|
"faceGallery.createIdentity": {
|
|
36039
36098
|
capName: "face-gallery",
|
|
36040
36099
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-wyze",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.89",
|
|
4
4
|
"description": "Wyze camera device-provider addon for CamStack — wraps the @apocaliss92/wyze-bridge-js P2P/DTLS client, feeding the stream-broker via the pull-rfc4571 lazy-publish path (a structural twin of addon-provider-reolink)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|