@camstack/addon-provider-rademacher 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 CHANGED
@@ -26236,6 +26236,59 @@ var IdentitySampleInfoSchema = object({
26236
26236
  deviceId: number().int().optional(),
26237
26237
  base64: string().optional()
26238
26238
  });
26239
+ /**
26240
+ * One enrolled sample, judged against the gallery it lives in.
26241
+ *
26242
+ * The gallery is the one input to recognition nobody re-reads: a sample
26243
+ * enrolled from the wrong face keeps voting forever, and because the matches it
26244
+ * pulls then look confident, nobody goes back. The 2026-09-08 audit found
26245
+ * exactly one such pair on this cluster — a sample scoring 0.61 against three
26246
+ * samples of ANOTHER person, enrolled from the same camera in the same minute,
26247
+ * where every other cross-identity pair sits under 0.50.
26248
+ */
26249
+ var IdentitySampleAuditRowSchema = object({
26250
+ sampleId: string(),
26251
+ enrolledAt: number().int(),
26252
+ deviceId: number().int().optional(),
26253
+ source: _enum(["detected", "photo"]),
26254
+ /** The enrolled crop's media key, so the panel can show the evidence. */
26255
+ mediaKey: string().optional(),
26256
+ /**
26257
+ * False = the sample is stamped with a DIFFERENT face model, and a cosine
26258
+ * across feature spaces is a well-formed float with no meaning. Every number
26259
+ * below then says nothing — it must read as "cannot say", never as an
26260
+ * accusation and never as a clean bill: this list ends in a Remove button.
26261
+ */
26262
+ comparable: boolean(),
26263
+ /** Mean cosine against this person's other samples. Null when there are none
26264
+ * to compare with — never 0, which would read as "opposite". */
26265
+ selfMean: number().nullable(),
26266
+ /** The other person this sample looks most like, when it looks like one.
26267
+ * This is the half that convicts: not looking like yourself can be a hard
26268
+ * angle; looking like someone the gallery can NAME is a mis-enrolment. */
26269
+ bestForeign: object({
26270
+ identityId: string(),
26271
+ name: string(),
26272
+ score: number()
26273
+ }).optional(),
26274
+ /** 0 = nothing to say. Higher = look at this one sooner. */
26275
+ suspicion: number()
26276
+ });
26277
+ var IdentitySampleAuditSchema = object({
26278
+ identityId: string(),
26279
+ name: string(),
26280
+ /** The cluster face model every comparison was made in. */
26281
+ modelId: string(),
26282
+ totalSamples: number().int(),
26283
+ comparableSamples: number().int(),
26284
+ flagged: number().int(),
26285
+ /** The bar `flagged` counts against, so the panel states the RULE and not
26286
+ * only its current result. */
26287
+ flagThreshold: number(),
26288
+ /** Worst first. A row with nothing to say still appears, at the bottom: the
26289
+ * operator asked to see the gallery, not only its accusations. */
26290
+ rows: array(IdentitySampleAuditRowSchema).readonly()
26291
+ });
26239
26292
  var FaceInfoSchema = object({
26240
26293
  faceId: string(),
26241
26294
  deviceId: number().int(),
@@ -26387,7 +26440,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
26387
26440
  }), method(object({ id: string() }), _void(), {
26388
26441
  kind: "mutation",
26389
26442
  auth: "admin"
26390
- }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
26443
+ }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
26391
26444
  identityId: string(),
26392
26445
  sampleId: string()
26393
26446
  }), _void(), {
@@ -36880,6 +36933,12 @@ Object.freeze({
36880
36933
  addonId: null,
36881
36934
  access: "create"
36882
36935
  },
36936
+ "faceGallery.auditIdentitySamples": {
36937
+ capName: "face-gallery",
36938
+ capScope: "system",
36939
+ addonId: null,
36940
+ access: "view"
36941
+ },
36883
36942
  "faceGallery.createIdentity": {
36884
36943
  capName: "face-gallery",
36885
36944
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -26235,6 +26235,59 @@ var IdentitySampleInfoSchema = object({
26235
26235
  deviceId: number().int().optional(),
26236
26236
  base64: string().optional()
26237
26237
  });
26238
+ /**
26239
+ * One enrolled sample, judged against the gallery it lives in.
26240
+ *
26241
+ * The gallery is the one input to recognition nobody re-reads: a sample
26242
+ * enrolled from the wrong face keeps voting forever, and because the matches it
26243
+ * pulls then look confident, nobody goes back. The 2026-09-08 audit found
26244
+ * exactly one such pair on this cluster — a sample scoring 0.61 against three
26245
+ * samples of ANOTHER person, enrolled from the same camera in the same minute,
26246
+ * where every other cross-identity pair sits under 0.50.
26247
+ */
26248
+ var IdentitySampleAuditRowSchema = object({
26249
+ sampleId: string(),
26250
+ enrolledAt: number().int(),
26251
+ deviceId: number().int().optional(),
26252
+ source: _enum(["detected", "photo"]),
26253
+ /** The enrolled crop's media key, so the panel can show the evidence. */
26254
+ mediaKey: string().optional(),
26255
+ /**
26256
+ * False = the sample is stamped with a DIFFERENT face model, and a cosine
26257
+ * across feature spaces is a well-formed float with no meaning. Every number
26258
+ * below then says nothing — it must read as "cannot say", never as an
26259
+ * accusation and never as a clean bill: this list ends in a Remove button.
26260
+ */
26261
+ comparable: boolean(),
26262
+ /** Mean cosine against this person's other samples. Null when there are none
26263
+ * to compare with — never 0, which would read as "opposite". */
26264
+ selfMean: number().nullable(),
26265
+ /** The other person this sample looks most like, when it looks like one.
26266
+ * This is the half that convicts: not looking like yourself can be a hard
26267
+ * angle; looking like someone the gallery can NAME is a mis-enrolment. */
26268
+ bestForeign: object({
26269
+ identityId: string(),
26270
+ name: string(),
26271
+ score: number()
26272
+ }).optional(),
26273
+ /** 0 = nothing to say. Higher = look at this one sooner. */
26274
+ suspicion: number()
26275
+ });
26276
+ var IdentitySampleAuditSchema = object({
26277
+ identityId: string(),
26278
+ name: string(),
26279
+ /** The cluster face model every comparison was made in. */
26280
+ modelId: string(),
26281
+ totalSamples: number().int(),
26282
+ comparableSamples: number().int(),
26283
+ flagged: number().int(),
26284
+ /** The bar `flagged` counts against, so the panel states the RULE and not
26285
+ * only its current result. */
26286
+ flagThreshold: number(),
26287
+ /** Worst first. A row with nothing to say still appears, at the bottom: the
26288
+ * operator asked to see the gallery, not only its accusations. */
26289
+ rows: array(IdentitySampleAuditRowSchema).readonly()
26290
+ });
26238
26291
  var FaceInfoSchema = object({
26239
26292
  faceId: string(),
26240
26293
  deviceId: number().int(),
@@ -26386,7 +26439,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
26386
26439
  }), method(object({ id: string() }), _void(), {
26387
26440
  kind: "mutation",
26388
26441
  auth: "admin"
26389
- }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
26442
+ }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
26390
26443
  identityId: string(),
26391
26444
  sampleId: string()
26392
26445
  }), _void(), {
@@ -36879,6 +36932,12 @@ Object.freeze({
36879
36932
  addonId: null,
36880
36933
  access: "create"
36881
36934
  },
36935
+ "faceGallery.auditIdentitySamples": {
36936
+ capName: "face-gallery",
36937
+ capScope: "system",
36938
+ addonId: null,
36939
+ access: "view"
36940
+ },
36882
36941
  "faceGallery.createIdentity": {
36883
36942
  capName: "face-gallery",
36884
36943
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rademacher",
3
- "version": "0.2.83",
3
+ "version": "0.2.84",
4
4
  "description": "Rademacher HomePilot device-provider addon for CamStack — wraps the @apocaliss92/noderademacher local-hub client (roller shutters over the cover cap)",
5
5
  "keywords": [
6
6
  "camstack",