@camstack/addon-provider-gree 0.2.83 → 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 +60 -1
- package/dist/addon.mjs +60 -1
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -25254,6 +25254,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
25254
25254
|
deviceId: number().int().optional(),
|
|
25255
25255
|
base64: string().optional()
|
|
25256
25256
|
});
|
|
25257
|
+
/**
|
|
25258
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
25259
|
+
*
|
|
25260
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
25261
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
25262
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
25263
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
25264
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
25265
|
+
* where every other cross-identity pair sits under 0.50.
|
|
25266
|
+
*/
|
|
25267
|
+
var IdentitySampleAuditRowSchema = object({
|
|
25268
|
+
sampleId: string(),
|
|
25269
|
+
enrolledAt: number().int(),
|
|
25270
|
+
deviceId: number().int().optional(),
|
|
25271
|
+
source: _enum(["detected", "photo"]),
|
|
25272
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
25273
|
+
mediaKey: string().optional(),
|
|
25274
|
+
/**
|
|
25275
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
25276
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
25277
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
25278
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
25279
|
+
*/
|
|
25280
|
+
comparable: boolean(),
|
|
25281
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
25282
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
25283
|
+
selfMean: number().nullable(),
|
|
25284
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
25285
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
25286
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
25287
|
+
bestForeign: object({
|
|
25288
|
+
identityId: string(),
|
|
25289
|
+
name: string(),
|
|
25290
|
+
score: number()
|
|
25291
|
+
}).optional(),
|
|
25292
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
25293
|
+
suspicion: number()
|
|
25294
|
+
});
|
|
25295
|
+
var IdentitySampleAuditSchema = object({
|
|
25296
|
+
identityId: string(),
|
|
25297
|
+
name: string(),
|
|
25298
|
+
/** The cluster face model every comparison was made in. */
|
|
25299
|
+
modelId: string(),
|
|
25300
|
+
totalSamples: number().int(),
|
|
25301
|
+
comparableSamples: number().int(),
|
|
25302
|
+
flagged: number().int(),
|
|
25303
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
25304
|
+
* only its current result. */
|
|
25305
|
+
flagThreshold: number(),
|
|
25306
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
25307
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
25308
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
25309
|
+
});
|
|
25257
25310
|
var FaceInfoSchema = object({
|
|
25258
25311
|
faceId: string(),
|
|
25259
25312
|
deviceId: number().int(),
|
|
@@ -25405,7 +25458,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
25405
25458
|
}), method(object({ id: string() }), _void(), {
|
|
25406
25459
|
kind: "mutation",
|
|
25407
25460
|
auth: "admin"
|
|
25408
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
25461
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
25409
25462
|
identityId: string(),
|
|
25410
25463
|
sampleId: string()
|
|
25411
25464
|
}), _void(), {
|
|
@@ -35898,6 +35951,12 @@ Object.freeze({
|
|
|
35898
35951
|
addonId: null,
|
|
35899
35952
|
access: "create"
|
|
35900
35953
|
},
|
|
35954
|
+
"faceGallery.auditIdentitySamples": {
|
|
35955
|
+
capName: "face-gallery",
|
|
35956
|
+
capScope: "system",
|
|
35957
|
+
addonId: null,
|
|
35958
|
+
access: "view"
|
|
35959
|
+
},
|
|
35901
35960
|
"faceGallery.createIdentity": {
|
|
35902
35961
|
capName: "face-gallery",
|
|
35903
35962
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -25253,6 +25253,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
25253
25253
|
deviceId: number().int().optional(),
|
|
25254
25254
|
base64: string().optional()
|
|
25255
25255
|
});
|
|
25256
|
+
/**
|
|
25257
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
25258
|
+
*
|
|
25259
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
25260
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
25261
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
25262
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
25263
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
25264
|
+
* where every other cross-identity pair sits under 0.50.
|
|
25265
|
+
*/
|
|
25266
|
+
var IdentitySampleAuditRowSchema = object({
|
|
25267
|
+
sampleId: string(),
|
|
25268
|
+
enrolledAt: number().int(),
|
|
25269
|
+
deviceId: number().int().optional(),
|
|
25270
|
+
source: _enum(["detected", "photo"]),
|
|
25271
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
25272
|
+
mediaKey: string().optional(),
|
|
25273
|
+
/**
|
|
25274
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
25275
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
25276
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
25277
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
25278
|
+
*/
|
|
25279
|
+
comparable: boolean(),
|
|
25280
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
25281
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
25282
|
+
selfMean: number().nullable(),
|
|
25283
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
25284
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
25285
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
25286
|
+
bestForeign: object({
|
|
25287
|
+
identityId: string(),
|
|
25288
|
+
name: string(),
|
|
25289
|
+
score: number()
|
|
25290
|
+
}).optional(),
|
|
25291
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
25292
|
+
suspicion: number()
|
|
25293
|
+
});
|
|
25294
|
+
var IdentitySampleAuditSchema = object({
|
|
25295
|
+
identityId: string(),
|
|
25296
|
+
name: string(),
|
|
25297
|
+
/** The cluster face model every comparison was made in. */
|
|
25298
|
+
modelId: string(),
|
|
25299
|
+
totalSamples: number().int(),
|
|
25300
|
+
comparableSamples: number().int(),
|
|
25301
|
+
flagged: number().int(),
|
|
25302
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
25303
|
+
* only its current result. */
|
|
25304
|
+
flagThreshold: number(),
|
|
25305
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
25306
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
25307
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
25308
|
+
});
|
|
25256
25309
|
var FaceInfoSchema = object({
|
|
25257
25310
|
faceId: string(),
|
|
25258
25311
|
deviceId: number().int(),
|
|
@@ -25404,7 +25457,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
25404
25457
|
}), method(object({ id: string() }), _void(), {
|
|
25405
25458
|
kind: "mutation",
|
|
25406
25459
|
auth: "admin"
|
|
25407
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
25460
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
25408
25461
|
identityId: string(),
|
|
25409
25462
|
sampleId: string()
|
|
25410
25463
|
}), _void(), {
|
|
@@ -35897,6 +35950,12 @@ Object.freeze({
|
|
|
35897
35950
|
addonId: null,
|
|
35898
35951
|
access: "create"
|
|
35899
35952
|
},
|
|
35953
|
+
"faceGallery.auditIdentitySamples": {
|
|
35954
|
+
capName: "face-gallery",
|
|
35955
|
+
capScope: "system",
|
|
35956
|
+
addonId: null,
|
|
35957
|
+
access: "view"
|
|
35958
|
+
},
|
|
35900
35959
|
"faceGallery.createIdentity": {
|
|
35901
35960
|
capName: "face-gallery",
|
|
35902
35961
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-gree",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.84",
|
|
4
4
|
"description": "Gree air-conditioner device-provider addon for CamStack — wraps the @apocaliss92/nodegree local-UDP client (LAN discovery + AES control), exposing climate-control and fan-control",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|