@camstack/addon-terminal 0.1.89 → 0.1.90

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
@@ -25417,6 +25417,59 @@ var IdentitySampleInfoSchema = object({
25417
25417
  deviceId: number().int().optional(),
25418
25418
  base64: string().optional()
25419
25419
  });
25420
+ /**
25421
+ * One enrolled sample, judged against the gallery it lives in.
25422
+ *
25423
+ * The gallery is the one input to recognition nobody re-reads: a sample
25424
+ * enrolled from the wrong face keeps voting forever, and because the matches it
25425
+ * pulls then look confident, nobody goes back. The 2026-09-08 audit found
25426
+ * exactly one such pair on this cluster — a sample scoring 0.61 against three
25427
+ * samples of ANOTHER person, enrolled from the same camera in the same minute,
25428
+ * where every other cross-identity pair sits under 0.50.
25429
+ */
25430
+ var IdentitySampleAuditRowSchema = object({
25431
+ sampleId: string(),
25432
+ enrolledAt: number().int(),
25433
+ deviceId: number().int().optional(),
25434
+ source: _enum(["detected", "photo"]),
25435
+ /** The enrolled crop's media key, so the panel can show the evidence. */
25436
+ mediaKey: string().optional(),
25437
+ /**
25438
+ * False = the sample is stamped with a DIFFERENT face model, and a cosine
25439
+ * across feature spaces is a well-formed float with no meaning. Every number
25440
+ * below then says nothing — it must read as "cannot say", never as an
25441
+ * accusation and never as a clean bill: this list ends in a Remove button.
25442
+ */
25443
+ comparable: boolean(),
25444
+ /** Mean cosine against this person's other samples. Null when there are none
25445
+ * to compare with — never 0, which would read as "opposite". */
25446
+ selfMean: number().nullable(),
25447
+ /** The other person this sample looks most like, when it looks like one.
25448
+ * This is the half that convicts: not looking like yourself can be a hard
25449
+ * angle; looking like someone the gallery can NAME is a mis-enrolment. */
25450
+ bestForeign: object({
25451
+ identityId: string(),
25452
+ name: string(),
25453
+ score: number()
25454
+ }).optional(),
25455
+ /** 0 = nothing to say. Higher = look at this one sooner. */
25456
+ suspicion: number()
25457
+ });
25458
+ var IdentitySampleAuditSchema = object({
25459
+ identityId: string(),
25460
+ name: string(),
25461
+ /** The cluster face model every comparison was made in. */
25462
+ modelId: string(),
25463
+ totalSamples: number().int(),
25464
+ comparableSamples: number().int(),
25465
+ flagged: number().int(),
25466
+ /** The bar `flagged` counts against, so the panel states the RULE and not
25467
+ * only its current result. */
25468
+ flagThreshold: number(),
25469
+ /** Worst first. A row with nothing to say still appears, at the bottom: the
25470
+ * operator asked to see the gallery, not only its accusations. */
25471
+ rows: array(IdentitySampleAuditRowSchema).readonly()
25472
+ });
25420
25473
  var FaceInfoSchema = object({
25421
25474
  faceId: string(),
25422
25475
  deviceId: number().int(),
@@ -25568,7 +25621,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
25568
25621
  }), method(object({ id: string() }), _void(), {
25569
25622
  kind: "mutation",
25570
25623
  auth: "admin"
25571
- }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
25624
+ }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
25572
25625
  identityId: string(),
25573
25626
  sampleId: string()
25574
25627
  }), _void(), {
@@ -35643,6 +35696,12 @@ Object.freeze({
35643
35696
  addonId: null,
35644
35697
  access: "create"
35645
35698
  },
35699
+ "faceGallery.auditIdentitySamples": {
35700
+ capName: "face-gallery",
35701
+ capScope: "system",
35702
+ addonId: null,
35703
+ access: "view"
35704
+ },
35646
35705
  "faceGallery.createIdentity": {
35647
35706
  capName: "face-gallery",
35648
35707
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -25394,6 +25394,59 @@ var IdentitySampleInfoSchema = object({
25394
25394
  deviceId: number().int().optional(),
25395
25395
  base64: string().optional()
25396
25396
  });
25397
+ /**
25398
+ * One enrolled sample, judged against the gallery it lives in.
25399
+ *
25400
+ * The gallery is the one input to recognition nobody re-reads: a sample
25401
+ * enrolled from the wrong face keeps voting forever, and because the matches it
25402
+ * pulls then look confident, nobody goes back. The 2026-09-08 audit found
25403
+ * exactly one such pair on this cluster — a sample scoring 0.61 against three
25404
+ * samples of ANOTHER person, enrolled from the same camera in the same minute,
25405
+ * where every other cross-identity pair sits under 0.50.
25406
+ */
25407
+ var IdentitySampleAuditRowSchema = object({
25408
+ sampleId: string(),
25409
+ enrolledAt: number().int(),
25410
+ deviceId: number().int().optional(),
25411
+ source: _enum(["detected", "photo"]),
25412
+ /** The enrolled crop's media key, so the panel can show the evidence. */
25413
+ mediaKey: string().optional(),
25414
+ /**
25415
+ * False = the sample is stamped with a DIFFERENT face model, and a cosine
25416
+ * across feature spaces is a well-formed float with no meaning. Every number
25417
+ * below then says nothing — it must read as "cannot say", never as an
25418
+ * accusation and never as a clean bill: this list ends in a Remove button.
25419
+ */
25420
+ comparable: boolean(),
25421
+ /** Mean cosine against this person's other samples. Null when there are none
25422
+ * to compare with — never 0, which would read as "opposite". */
25423
+ selfMean: number().nullable(),
25424
+ /** The other person this sample looks most like, when it looks like one.
25425
+ * This is the half that convicts: not looking like yourself can be a hard
25426
+ * angle; looking like someone the gallery can NAME is a mis-enrolment. */
25427
+ bestForeign: object({
25428
+ identityId: string(),
25429
+ name: string(),
25430
+ score: number()
25431
+ }).optional(),
25432
+ /** 0 = nothing to say. Higher = look at this one sooner. */
25433
+ suspicion: number()
25434
+ });
25435
+ var IdentitySampleAuditSchema = object({
25436
+ identityId: string(),
25437
+ name: string(),
25438
+ /** The cluster face model every comparison was made in. */
25439
+ modelId: string(),
25440
+ totalSamples: number().int(),
25441
+ comparableSamples: number().int(),
25442
+ flagged: number().int(),
25443
+ /** The bar `flagged` counts against, so the panel states the RULE and not
25444
+ * only its current result. */
25445
+ flagThreshold: number(),
25446
+ /** Worst first. A row with nothing to say still appears, at the bottom: the
25447
+ * operator asked to see the gallery, not only its accusations. */
25448
+ rows: array(IdentitySampleAuditRowSchema).readonly()
25449
+ });
25397
25450
  var FaceInfoSchema = object({
25398
25451
  faceId: string(),
25399
25452
  deviceId: number().int(),
@@ -25545,7 +25598,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
25545
25598
  }), method(object({ id: string() }), _void(), {
25546
25599
  kind: "mutation",
25547
25600
  auth: "admin"
25548
- }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
25601
+ }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
25549
25602
  identityId: string(),
25550
25603
  sampleId: string()
25551
25604
  }), _void(), {
@@ -35620,6 +35673,12 @@ Object.freeze({
35620
35673
  addonId: null,
35621
35674
  access: "create"
35622
35675
  },
35676
+ "faceGallery.auditIdentitySamples": {
35677
+ capName: "face-gallery",
35678
+ capScope: "system",
35679
+ addonId: null,
35680
+ access: "view"
35681
+ },
35623
35682
  "faceGallery.createIdentity": {
35624
35683
  capName: "face-gallery",
35625
35684
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-terminal",
3
- "version": "0.1.89",
3
+ "version": "0.1.90",
4
4
  "description": "Interactive terminal sessions (pty + xterm) as a CamStack addon",
5
5
  "keywords": [
6
6
  "camstack",