@camstack/addon-provider-dreo 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
@@ -25312,6 +25312,59 @@ var IdentitySampleInfoSchema = object({
25312
25312
  deviceId: number().int().optional(),
25313
25313
  base64: string().optional()
25314
25314
  });
25315
+ /**
25316
+ * One enrolled sample, judged against the gallery it lives in.
25317
+ *
25318
+ * The gallery is the one input to recognition nobody re-reads: a sample
25319
+ * enrolled from the wrong face keeps voting forever, and because the matches it
25320
+ * pulls then look confident, nobody goes back. The 2026-09-08 audit found
25321
+ * exactly one such pair on this cluster — a sample scoring 0.61 against three
25322
+ * samples of ANOTHER person, enrolled from the same camera in the same minute,
25323
+ * where every other cross-identity pair sits under 0.50.
25324
+ */
25325
+ var IdentitySampleAuditRowSchema = object({
25326
+ sampleId: string(),
25327
+ enrolledAt: number().int(),
25328
+ deviceId: number().int().optional(),
25329
+ source: _enum(["detected", "photo"]),
25330
+ /** The enrolled crop's media key, so the panel can show the evidence. */
25331
+ mediaKey: string().optional(),
25332
+ /**
25333
+ * False = the sample is stamped with a DIFFERENT face model, and a cosine
25334
+ * across feature spaces is a well-formed float with no meaning. Every number
25335
+ * below then says nothing — it must read as "cannot say", never as an
25336
+ * accusation and never as a clean bill: this list ends in a Remove button.
25337
+ */
25338
+ comparable: boolean(),
25339
+ /** Mean cosine against this person's other samples. Null when there are none
25340
+ * to compare with — never 0, which would read as "opposite". */
25341
+ selfMean: number().nullable(),
25342
+ /** The other person this sample looks most like, when it looks like one.
25343
+ * This is the half that convicts: not looking like yourself can be a hard
25344
+ * angle; looking like someone the gallery can NAME is a mis-enrolment. */
25345
+ bestForeign: object({
25346
+ identityId: string(),
25347
+ name: string(),
25348
+ score: number()
25349
+ }).optional(),
25350
+ /** 0 = nothing to say. Higher = look at this one sooner. */
25351
+ suspicion: number()
25352
+ });
25353
+ var IdentitySampleAuditSchema = object({
25354
+ identityId: string(),
25355
+ name: string(),
25356
+ /** The cluster face model every comparison was made in. */
25357
+ modelId: string(),
25358
+ totalSamples: number().int(),
25359
+ comparableSamples: number().int(),
25360
+ flagged: number().int(),
25361
+ /** The bar `flagged` counts against, so the panel states the RULE and not
25362
+ * only its current result. */
25363
+ flagThreshold: number(),
25364
+ /** Worst first. A row with nothing to say still appears, at the bottom: the
25365
+ * operator asked to see the gallery, not only its accusations. */
25366
+ rows: array(IdentitySampleAuditRowSchema).readonly()
25367
+ });
25315
25368
  var FaceInfoSchema = object({
25316
25369
  faceId: string(),
25317
25370
  deviceId: number().int(),
@@ -25463,7 +25516,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
25463
25516
  }), method(object({ id: string() }), _void(), {
25464
25517
  kind: "mutation",
25465
25518
  auth: "admin"
25466
- }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
25519
+ }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
25467
25520
  identityId: string(),
25468
25521
  sampleId: string()
25469
25522
  }), _void(), {
@@ -35956,6 +36009,12 @@ Object.freeze({
35956
36009
  addonId: null,
35957
36010
  access: "create"
35958
36011
  },
36012
+ "faceGallery.auditIdentitySamples": {
36013
+ capName: "face-gallery",
36014
+ capScope: "system",
36015
+ addonId: null,
36016
+ access: "view"
36017
+ },
35959
36018
  "faceGallery.createIdentity": {
35960
36019
  capName: "face-gallery",
35961
36020
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -25313,6 +25313,59 @@ var IdentitySampleInfoSchema = object({
25313
25313
  deviceId: number().int().optional(),
25314
25314
  base64: string().optional()
25315
25315
  });
25316
+ /**
25317
+ * One enrolled sample, judged against the gallery it lives in.
25318
+ *
25319
+ * The gallery is the one input to recognition nobody re-reads: a sample
25320
+ * enrolled from the wrong face keeps voting forever, and because the matches it
25321
+ * pulls then look confident, nobody goes back. The 2026-09-08 audit found
25322
+ * exactly one such pair on this cluster — a sample scoring 0.61 against three
25323
+ * samples of ANOTHER person, enrolled from the same camera in the same minute,
25324
+ * where every other cross-identity pair sits under 0.50.
25325
+ */
25326
+ var IdentitySampleAuditRowSchema = object({
25327
+ sampleId: string(),
25328
+ enrolledAt: number().int(),
25329
+ deviceId: number().int().optional(),
25330
+ source: _enum(["detected", "photo"]),
25331
+ /** The enrolled crop's media key, so the panel can show the evidence. */
25332
+ mediaKey: string().optional(),
25333
+ /**
25334
+ * False = the sample is stamped with a DIFFERENT face model, and a cosine
25335
+ * across feature spaces is a well-formed float with no meaning. Every number
25336
+ * below then says nothing — it must read as "cannot say", never as an
25337
+ * accusation and never as a clean bill: this list ends in a Remove button.
25338
+ */
25339
+ comparable: boolean(),
25340
+ /** Mean cosine against this person's other samples. Null when there are none
25341
+ * to compare with — never 0, which would read as "opposite". */
25342
+ selfMean: number().nullable(),
25343
+ /** The other person this sample looks most like, when it looks like one.
25344
+ * This is the half that convicts: not looking like yourself can be a hard
25345
+ * angle; looking like someone the gallery can NAME is a mis-enrolment. */
25346
+ bestForeign: object({
25347
+ identityId: string(),
25348
+ name: string(),
25349
+ score: number()
25350
+ }).optional(),
25351
+ /** 0 = nothing to say. Higher = look at this one sooner. */
25352
+ suspicion: number()
25353
+ });
25354
+ var IdentitySampleAuditSchema = object({
25355
+ identityId: string(),
25356
+ name: string(),
25357
+ /** The cluster face model every comparison was made in. */
25358
+ modelId: string(),
25359
+ totalSamples: number().int(),
25360
+ comparableSamples: number().int(),
25361
+ flagged: number().int(),
25362
+ /** The bar `flagged` counts against, so the panel states the RULE and not
25363
+ * only its current result. */
25364
+ flagThreshold: number(),
25365
+ /** Worst first. A row with nothing to say still appears, at the bottom: the
25366
+ * operator asked to see the gallery, not only its accusations. */
25367
+ rows: array(IdentitySampleAuditRowSchema).readonly()
25368
+ });
25316
25369
  var FaceInfoSchema = object({
25317
25370
  faceId: string(),
25318
25371
  deviceId: number().int(),
@@ -25464,7 +25517,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
25464
25517
  }), method(object({ id: string() }), _void(), {
25465
25518
  kind: "mutation",
25466
25519
  auth: "admin"
25467
- }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
25520
+ }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
25468
25521
  identityId: string(),
25469
25522
  sampleId: string()
25470
25523
  }), _void(), {
@@ -35957,6 +36010,12 @@ Object.freeze({
35957
36010
  addonId: null,
35958
36011
  access: "create"
35959
36012
  },
36013
+ "faceGallery.auditIdentitySamples": {
36014
+ capName: "face-gallery",
36015
+ capScope: "system",
36016
+ addonId: null,
36017
+ access: "view"
36018
+ },
35960
36019
  "faceGallery.createIdentity": {
35961
36020
  capName: "face-gallery",
35962
36021
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-dreo",
3
- "version": "0.2.84",
3
+ "version": "0.2.85",
4
4
  "description": "Dreo smart-device (fan / air-circulator / purifier / heater / humidifier) device-provider addon for CamStack — wraps the @apocaliss92/nodedreo Dreo cloud client (REST + WebSocket)",
5
5
  "keywords": [
6
6
  "camstack",