@camstack/addon-mqtt-broker 1.2.84 → 1.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.
@@ -24250,6 +24250,59 @@ var IdentitySampleInfoSchema = object({
24250
24250
  deviceId: number().int().optional(),
24251
24251
  base64: string().optional()
24252
24252
  });
24253
+ /**
24254
+ * One enrolled sample, judged against the gallery it lives in.
24255
+ *
24256
+ * The gallery is the one input to recognition nobody re-reads: a sample
24257
+ * enrolled from the wrong face keeps voting forever, and because the matches it
24258
+ * pulls then look confident, nobody goes back. The 2026-09-08 audit found
24259
+ * exactly one such pair on this cluster — a sample scoring 0.61 against three
24260
+ * samples of ANOTHER person, enrolled from the same camera in the same minute,
24261
+ * where every other cross-identity pair sits under 0.50.
24262
+ */
24263
+ var IdentitySampleAuditRowSchema = object({
24264
+ sampleId: string(),
24265
+ enrolledAt: number().int(),
24266
+ deviceId: number().int().optional(),
24267
+ source: _enum(["detected", "photo"]),
24268
+ /** The enrolled crop's media key, so the panel can show the evidence. */
24269
+ mediaKey: string().optional(),
24270
+ /**
24271
+ * False = the sample is stamped with a DIFFERENT face model, and a cosine
24272
+ * across feature spaces is a well-formed float with no meaning. Every number
24273
+ * below then says nothing — it must read as "cannot say", never as an
24274
+ * accusation and never as a clean bill: this list ends in a Remove button.
24275
+ */
24276
+ comparable: boolean(),
24277
+ /** Mean cosine against this person's other samples. Null when there are none
24278
+ * to compare with — never 0, which would read as "opposite". */
24279
+ selfMean: number().nullable(),
24280
+ /** The other person this sample looks most like, when it looks like one.
24281
+ * This is the half that convicts: not looking like yourself can be a hard
24282
+ * angle; looking like someone the gallery can NAME is a mis-enrolment. */
24283
+ bestForeign: object({
24284
+ identityId: string(),
24285
+ name: string(),
24286
+ score: number()
24287
+ }).optional(),
24288
+ /** 0 = nothing to say. Higher = look at this one sooner. */
24289
+ suspicion: number()
24290
+ });
24291
+ var IdentitySampleAuditSchema = object({
24292
+ identityId: string(),
24293
+ name: string(),
24294
+ /** The cluster face model every comparison was made in. */
24295
+ modelId: string(),
24296
+ totalSamples: number().int(),
24297
+ comparableSamples: number().int(),
24298
+ flagged: number().int(),
24299
+ /** The bar `flagged` counts against, so the panel states the RULE and not
24300
+ * only its current result. */
24301
+ flagThreshold: number(),
24302
+ /** Worst first. A row with nothing to say still appears, at the bottom: the
24303
+ * operator asked to see the gallery, not only its accusations. */
24304
+ rows: array(IdentitySampleAuditRowSchema).readonly()
24305
+ });
24253
24306
  var FaceInfoSchema = object({
24254
24307
  faceId: string(),
24255
24308
  deviceId: number().int(),
@@ -24401,7 +24454,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
24401
24454
  }), method(object({ id: string() }), _void(), {
24402
24455
  kind: "mutation",
24403
24456
  auth: "admin"
24404
- }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
24457
+ }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
24405
24458
  identityId: string(),
24406
24459
  sampleId: string()
24407
24460
  }), _void(), {
@@ -31628,6 +31681,12 @@ Object.freeze({
31628
31681
  addonId: null,
31629
31682
  access: "create"
31630
31683
  },
31684
+ "faceGallery.auditIdentitySamples": {
31685
+ capName: "face-gallery",
31686
+ capScope: "system",
31687
+ addonId: null,
31688
+ access: "view"
31689
+ },
31631
31690
  "faceGallery.createIdentity": {
31632
31691
  capName: "face-gallery",
31633
31692
  capScope: "system",
@@ -24245,6 +24245,59 @@ var IdentitySampleInfoSchema = object({
24245
24245
  deviceId: number().int().optional(),
24246
24246
  base64: string().optional()
24247
24247
  });
24248
+ /**
24249
+ * One enrolled sample, judged against the gallery it lives in.
24250
+ *
24251
+ * The gallery is the one input to recognition nobody re-reads: a sample
24252
+ * enrolled from the wrong face keeps voting forever, and because the matches it
24253
+ * pulls then look confident, nobody goes back. The 2026-09-08 audit found
24254
+ * exactly one such pair on this cluster — a sample scoring 0.61 against three
24255
+ * samples of ANOTHER person, enrolled from the same camera in the same minute,
24256
+ * where every other cross-identity pair sits under 0.50.
24257
+ */
24258
+ var IdentitySampleAuditRowSchema = object({
24259
+ sampleId: string(),
24260
+ enrolledAt: number().int(),
24261
+ deviceId: number().int().optional(),
24262
+ source: _enum(["detected", "photo"]),
24263
+ /** The enrolled crop's media key, so the panel can show the evidence. */
24264
+ mediaKey: string().optional(),
24265
+ /**
24266
+ * False = the sample is stamped with a DIFFERENT face model, and a cosine
24267
+ * across feature spaces is a well-formed float with no meaning. Every number
24268
+ * below then says nothing — it must read as "cannot say", never as an
24269
+ * accusation and never as a clean bill: this list ends in a Remove button.
24270
+ */
24271
+ comparable: boolean(),
24272
+ /** Mean cosine against this person's other samples. Null when there are none
24273
+ * to compare with — never 0, which would read as "opposite". */
24274
+ selfMean: number().nullable(),
24275
+ /** The other person this sample looks most like, when it looks like one.
24276
+ * This is the half that convicts: not looking like yourself can be a hard
24277
+ * angle; looking like someone the gallery can NAME is a mis-enrolment. */
24278
+ bestForeign: object({
24279
+ identityId: string(),
24280
+ name: string(),
24281
+ score: number()
24282
+ }).optional(),
24283
+ /** 0 = nothing to say. Higher = look at this one sooner. */
24284
+ suspicion: number()
24285
+ });
24286
+ var IdentitySampleAuditSchema = object({
24287
+ identityId: string(),
24288
+ name: string(),
24289
+ /** The cluster face model every comparison was made in. */
24290
+ modelId: string(),
24291
+ totalSamples: number().int(),
24292
+ comparableSamples: number().int(),
24293
+ flagged: number().int(),
24294
+ /** The bar `flagged` counts against, so the panel states the RULE and not
24295
+ * only its current result. */
24296
+ flagThreshold: number(),
24297
+ /** Worst first. A row with nothing to say still appears, at the bottom: the
24298
+ * operator asked to see the gallery, not only its accusations. */
24299
+ rows: array(IdentitySampleAuditRowSchema).readonly()
24300
+ });
24248
24301
  var FaceInfoSchema = object({
24249
24302
  faceId: string(),
24250
24303
  deviceId: number().int(),
@@ -24396,7 +24449,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
24396
24449
  }), method(object({ id: string() }), _void(), {
24397
24450
  kind: "mutation",
24398
24451
  auth: "admin"
24399
- }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
24452
+ }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
24400
24453
  identityId: string(),
24401
24454
  sampleId: string()
24402
24455
  }), _void(), {
@@ -31623,6 +31676,12 @@ Object.freeze({
31623
31676
  addonId: null,
31624
31677
  access: "create"
31625
31678
  },
31679
+ "faceGallery.auditIdentitySamples": {
31680
+ capName: "face-gallery",
31681
+ capScope: "system",
31682
+ addonId: null,
31683
+ access: "view"
31684
+ },
31626
31685
  "faceGallery.createIdentity": {
31627
31686
  capName: "face-gallery",
31628
31687
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-mqtt-broker",
3
- "version": "1.2.84",
3
+ "version": "1.2.85",
4
4
  "description": "MQTT broker registry addon for CamStack — manages external broker entries + an optional embedded aedes broker. Consumers spin up their own `mqtt.js` clients via the `mqtt-broker` cap.",
5
5
  "keywords": [
6
6
  "camstack",