@camstack/addon-provider-velux 0.2.84 → 0.2.85

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