@camstack/addon-provider-reolink 1.2.107 → 1.2.108

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
@@ -25999,6 +25999,59 @@ var IdentitySampleInfoSchema = object({
25999
25999
  deviceId: number().int().optional(),
26000
26000
  base64: string().optional()
26001
26001
  });
26002
+ /**
26003
+ * One enrolled sample, judged against the gallery it lives in.
26004
+ *
26005
+ * The gallery is the one input to recognition nobody re-reads: a sample
26006
+ * enrolled from the wrong face keeps voting forever, and because the matches it
26007
+ * pulls then look confident, nobody goes back. The 2026-09-08 audit found
26008
+ * exactly one such pair on this cluster — a sample scoring 0.61 against three
26009
+ * samples of ANOTHER person, enrolled from the same camera in the same minute,
26010
+ * where every other cross-identity pair sits under 0.50.
26011
+ */
26012
+ var IdentitySampleAuditRowSchema = object({
26013
+ sampleId: string(),
26014
+ enrolledAt: number().int(),
26015
+ deviceId: number().int().optional(),
26016
+ source: _enum(["detected", "photo"]),
26017
+ /** The enrolled crop's media key, so the panel can show the evidence. */
26018
+ mediaKey: string().optional(),
26019
+ /**
26020
+ * False = the sample is stamped with a DIFFERENT face model, and a cosine
26021
+ * across feature spaces is a well-formed float with no meaning. Every number
26022
+ * below then says nothing — it must read as "cannot say", never as an
26023
+ * accusation and never as a clean bill: this list ends in a Remove button.
26024
+ */
26025
+ comparable: boolean(),
26026
+ /** Mean cosine against this person's other samples. Null when there are none
26027
+ * to compare with — never 0, which would read as "opposite". */
26028
+ selfMean: number().nullable(),
26029
+ /** The other person this sample looks most like, when it looks like one.
26030
+ * This is the half that convicts: not looking like yourself can be a hard
26031
+ * angle; looking like someone the gallery can NAME is a mis-enrolment. */
26032
+ bestForeign: object({
26033
+ identityId: string(),
26034
+ name: string(),
26035
+ score: number()
26036
+ }).optional(),
26037
+ /** 0 = nothing to say. Higher = look at this one sooner. */
26038
+ suspicion: number()
26039
+ });
26040
+ var IdentitySampleAuditSchema = object({
26041
+ identityId: string(),
26042
+ name: string(),
26043
+ /** The cluster face model every comparison was made in. */
26044
+ modelId: string(),
26045
+ totalSamples: number().int(),
26046
+ comparableSamples: number().int(),
26047
+ flagged: number().int(),
26048
+ /** The bar `flagged` counts against, so the panel states the RULE and not
26049
+ * only its current result. */
26050
+ flagThreshold: number(),
26051
+ /** Worst first. A row with nothing to say still appears, at the bottom: the
26052
+ * operator asked to see the gallery, not only its accusations. */
26053
+ rows: array(IdentitySampleAuditRowSchema).readonly()
26054
+ });
26002
26055
  var FaceInfoSchema = object({
26003
26056
  faceId: string(),
26004
26057
  deviceId: number().int(),
@@ -26150,7 +26203,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
26150
26203
  }), method(object({ id: string() }), _void(), {
26151
26204
  kind: "mutation",
26152
26205
  auth: "admin"
26153
- }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
26206
+ }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
26154
26207
  identityId: string(),
26155
26208
  sampleId: string()
26156
26209
  }), _void(), {
@@ -37126,6 +37179,12 @@ Object.freeze({
37126
37179
  addonId: null,
37127
37180
  access: "create"
37128
37181
  },
37182
+ "faceGallery.auditIdentitySamples": {
37183
+ capName: "face-gallery",
37184
+ capScope: "system",
37185
+ addonId: null,
37186
+ access: "view"
37187
+ },
37129
37188
  "faceGallery.createIdentity": {
37130
37189
  capName: "face-gallery",
37131
37190
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -25994,6 +25994,59 @@ var IdentitySampleInfoSchema = object({
25994
25994
  deviceId: number().int().optional(),
25995
25995
  base64: string().optional()
25996
25996
  });
25997
+ /**
25998
+ * One enrolled sample, judged against the gallery it lives in.
25999
+ *
26000
+ * The gallery is the one input to recognition nobody re-reads: a sample
26001
+ * enrolled from the wrong face keeps voting forever, and because the matches it
26002
+ * pulls then look confident, nobody goes back. The 2026-09-08 audit found
26003
+ * exactly one such pair on this cluster — a sample scoring 0.61 against three
26004
+ * samples of ANOTHER person, enrolled from the same camera in the same minute,
26005
+ * where every other cross-identity pair sits under 0.50.
26006
+ */
26007
+ var IdentitySampleAuditRowSchema = object({
26008
+ sampleId: string(),
26009
+ enrolledAt: number().int(),
26010
+ deviceId: number().int().optional(),
26011
+ source: _enum(["detected", "photo"]),
26012
+ /** The enrolled crop's media key, so the panel can show the evidence. */
26013
+ mediaKey: string().optional(),
26014
+ /**
26015
+ * False = the sample is stamped with a DIFFERENT face model, and a cosine
26016
+ * across feature spaces is a well-formed float with no meaning. Every number
26017
+ * below then says nothing — it must read as "cannot say", never as an
26018
+ * accusation and never as a clean bill: this list ends in a Remove button.
26019
+ */
26020
+ comparable: boolean(),
26021
+ /** Mean cosine against this person's other samples. Null when there are none
26022
+ * to compare with — never 0, which would read as "opposite". */
26023
+ selfMean: number().nullable(),
26024
+ /** The other person this sample looks most like, when it looks like one.
26025
+ * This is the half that convicts: not looking like yourself can be a hard
26026
+ * angle; looking like someone the gallery can NAME is a mis-enrolment. */
26027
+ bestForeign: object({
26028
+ identityId: string(),
26029
+ name: string(),
26030
+ score: number()
26031
+ }).optional(),
26032
+ /** 0 = nothing to say. Higher = look at this one sooner. */
26033
+ suspicion: number()
26034
+ });
26035
+ var IdentitySampleAuditSchema = object({
26036
+ identityId: string(),
26037
+ name: string(),
26038
+ /** The cluster face model every comparison was made in. */
26039
+ modelId: string(),
26040
+ totalSamples: number().int(),
26041
+ comparableSamples: number().int(),
26042
+ flagged: number().int(),
26043
+ /** The bar `flagged` counts against, so the panel states the RULE and not
26044
+ * only its current result. */
26045
+ flagThreshold: number(),
26046
+ /** Worst first. A row with nothing to say still appears, at the bottom: the
26047
+ * operator asked to see the gallery, not only its accusations. */
26048
+ rows: array(IdentitySampleAuditRowSchema).readonly()
26049
+ });
25997
26050
  var FaceInfoSchema = object({
25998
26051
  faceId: string(),
25999
26052
  deviceId: number().int(),
@@ -26145,7 +26198,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
26145
26198
  }), method(object({ id: string() }), _void(), {
26146
26199
  kind: "mutation",
26147
26200
  auth: "admin"
26148
- }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
26201
+ }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
26149
26202
  identityId: string(),
26150
26203
  sampleId: string()
26151
26204
  }), _void(), {
@@ -37121,6 +37174,12 @@ Object.freeze({
37121
37174
  addonId: null,
37122
37175
  access: "create"
37123
37176
  },
37177
+ "faceGallery.auditIdentitySamples": {
37178
+ capName: "face-gallery",
37179
+ capScope: "system",
37180
+ addonId: null,
37181
+ access: "view"
37182
+ },
37124
37183
  "faceGallery.createIdentity": {
37125
37184
  capName: "face-gallery",
37126
37185
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-reolink",
3
- "version": "1.2.107",
3
+ "version": "1.2.108",
4
4
  "description": "Reolink camera device provider addon for CamStack — native Baichuan protocol",
5
5
  "keywords": [
6
6
  "camstack",