@camstack/addon-import-alexa 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
@@ -25511,6 +25511,59 @@ var IdentitySampleInfoSchema = object({
25511
25511
  deviceId: number().int().optional(),
25512
25512
  base64: string().optional()
25513
25513
  });
25514
+ /**
25515
+ * One enrolled sample, judged against the gallery it lives in.
25516
+ *
25517
+ * The gallery is the one input to recognition nobody re-reads: a sample
25518
+ * enrolled from the wrong face keeps voting forever, and because the matches it
25519
+ * pulls then look confident, nobody goes back. The 2026-09-08 audit found
25520
+ * exactly one such pair on this cluster — a sample scoring 0.61 against three
25521
+ * samples of ANOTHER person, enrolled from the same camera in the same minute,
25522
+ * where every other cross-identity pair sits under 0.50.
25523
+ */
25524
+ var IdentitySampleAuditRowSchema = object({
25525
+ sampleId: string(),
25526
+ enrolledAt: number().int(),
25527
+ deviceId: number().int().optional(),
25528
+ source: _enum(["detected", "photo"]),
25529
+ /** The enrolled crop's media key, so the panel can show the evidence. */
25530
+ mediaKey: string().optional(),
25531
+ /**
25532
+ * False = the sample is stamped with a DIFFERENT face model, and a cosine
25533
+ * across feature spaces is a well-formed float with no meaning. Every number
25534
+ * below then says nothing — it must read as "cannot say", never as an
25535
+ * accusation and never as a clean bill: this list ends in a Remove button.
25536
+ */
25537
+ comparable: boolean(),
25538
+ /** Mean cosine against this person's other samples. Null when there are none
25539
+ * to compare with — never 0, which would read as "opposite". */
25540
+ selfMean: number().nullable(),
25541
+ /** The other person this sample looks most like, when it looks like one.
25542
+ * This is the half that convicts: not looking like yourself can be a hard
25543
+ * angle; looking like someone the gallery can NAME is a mis-enrolment. */
25544
+ bestForeign: object({
25545
+ identityId: string(),
25546
+ name: string(),
25547
+ score: number()
25548
+ }).optional(),
25549
+ /** 0 = nothing to say. Higher = look at this one sooner. */
25550
+ suspicion: number()
25551
+ });
25552
+ var IdentitySampleAuditSchema = object({
25553
+ identityId: string(),
25554
+ name: string(),
25555
+ /** The cluster face model every comparison was made in. */
25556
+ modelId: string(),
25557
+ totalSamples: number().int(),
25558
+ comparableSamples: number().int(),
25559
+ flagged: number().int(),
25560
+ /** The bar `flagged` counts against, so the panel states the RULE and not
25561
+ * only its current result. */
25562
+ flagThreshold: number(),
25563
+ /** Worst first. A row with nothing to say still appears, at the bottom: the
25564
+ * operator asked to see the gallery, not only its accusations. */
25565
+ rows: array(IdentitySampleAuditRowSchema).readonly()
25566
+ });
25514
25567
  var FaceInfoSchema = object({
25515
25568
  faceId: string(),
25516
25569
  deviceId: number().int(),
@@ -25662,7 +25715,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
25662
25715
  }), method(object({ id: string() }), _void(), {
25663
25716
  kind: "mutation",
25664
25717
  auth: "admin"
25665
- }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
25718
+ }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
25666
25719
  identityId: string(),
25667
25720
  sampleId: string()
25668
25721
  }), _void(), {
@@ -36155,6 +36208,12 @@ Object.freeze({
36155
36208
  addonId: null,
36156
36209
  access: "create"
36157
36210
  },
36211
+ "faceGallery.auditIdentitySamples": {
36212
+ capName: "face-gallery",
36213
+ capScope: "system",
36214
+ addonId: null,
36215
+ access: "view"
36216
+ },
36158
36217
  "faceGallery.createIdentity": {
36159
36218
  capName: "face-gallery",
36160
36219
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -25511,6 +25511,59 @@ var IdentitySampleInfoSchema = object({
25511
25511
  deviceId: number().int().optional(),
25512
25512
  base64: string().optional()
25513
25513
  });
25514
+ /**
25515
+ * One enrolled sample, judged against the gallery it lives in.
25516
+ *
25517
+ * The gallery is the one input to recognition nobody re-reads: a sample
25518
+ * enrolled from the wrong face keeps voting forever, and because the matches it
25519
+ * pulls then look confident, nobody goes back. The 2026-09-08 audit found
25520
+ * exactly one such pair on this cluster — a sample scoring 0.61 against three
25521
+ * samples of ANOTHER person, enrolled from the same camera in the same minute,
25522
+ * where every other cross-identity pair sits under 0.50.
25523
+ */
25524
+ var IdentitySampleAuditRowSchema = object({
25525
+ sampleId: string(),
25526
+ enrolledAt: number().int(),
25527
+ deviceId: number().int().optional(),
25528
+ source: _enum(["detected", "photo"]),
25529
+ /** The enrolled crop's media key, so the panel can show the evidence. */
25530
+ mediaKey: string().optional(),
25531
+ /**
25532
+ * False = the sample is stamped with a DIFFERENT face model, and a cosine
25533
+ * across feature spaces is a well-formed float with no meaning. Every number
25534
+ * below then says nothing — it must read as "cannot say", never as an
25535
+ * accusation and never as a clean bill: this list ends in a Remove button.
25536
+ */
25537
+ comparable: boolean(),
25538
+ /** Mean cosine against this person's other samples. Null when there are none
25539
+ * to compare with — never 0, which would read as "opposite". */
25540
+ selfMean: number().nullable(),
25541
+ /** The other person this sample looks most like, when it looks like one.
25542
+ * This is the half that convicts: not looking like yourself can be a hard
25543
+ * angle; looking like someone the gallery can NAME is a mis-enrolment. */
25544
+ bestForeign: object({
25545
+ identityId: string(),
25546
+ name: string(),
25547
+ score: number()
25548
+ }).optional(),
25549
+ /** 0 = nothing to say. Higher = look at this one sooner. */
25550
+ suspicion: number()
25551
+ });
25552
+ var IdentitySampleAuditSchema = object({
25553
+ identityId: string(),
25554
+ name: string(),
25555
+ /** The cluster face model every comparison was made in. */
25556
+ modelId: string(),
25557
+ totalSamples: number().int(),
25558
+ comparableSamples: number().int(),
25559
+ flagged: number().int(),
25560
+ /** The bar `flagged` counts against, so the panel states the RULE and not
25561
+ * only its current result. */
25562
+ flagThreshold: number(),
25563
+ /** Worst first. A row with nothing to say still appears, at the bottom: the
25564
+ * operator asked to see the gallery, not only its accusations. */
25565
+ rows: array(IdentitySampleAuditRowSchema).readonly()
25566
+ });
25514
25567
  var FaceInfoSchema = object({
25515
25568
  faceId: string(),
25516
25569
  deviceId: number().int(),
@@ -25662,7 +25715,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
25662
25715
  }), method(object({ id: string() }), _void(), {
25663
25716
  kind: "mutation",
25664
25717
  auth: "admin"
25665
- }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
25718
+ }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
25666
25719
  identityId: string(),
25667
25720
  sampleId: string()
25668
25721
  }), _void(), {
@@ -36155,6 +36208,12 @@ Object.freeze({
36155
36208
  addonId: null,
36156
36209
  access: "create"
36157
36210
  },
36211
+ "faceGallery.auditIdentitySamples": {
36212
+ capName: "face-gallery",
36213
+ capScope: "system",
36214
+ addonId: null,
36215
+ access: "view"
36216
+ },
36158
36217
  "faceGallery.createIdentity": {
36159
36218
  capName: "face-gallery",
36160
36219
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-import-alexa",
3
- "version": "0.2.83",
3
+ "version": "0.2.84",
4
4
  "description": "Alexa device-import provider for CamStack — imports the smart-home devices in a user's Alexa account via the unofficial alexa-remote2 cookie/token client (the inverse of the Alexa exporter)",
5
5
  "keywords": [
6
6
  "camstack",