@camstack/addon-provider-gree 0.2.82 → 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
@@ -18749,11 +18749,30 @@ var SensorEventSchema = object({
18749
18749
  value: record(string(), unknown()).nullable(),
18750
18750
  timestamp: number()
18751
18751
  });
18752
+ /**
18753
+ * One stored sighting on a track's trajectory.
18754
+ *
18755
+ * The array these live in is returned in TIME order (D399) — it is APPENDED in
18756
+ * arrival order, and the two detector passes interleave, so a consumer must not
18757
+ * assume the two are the same on a row written by an older build.
18758
+ */
18752
18759
  var TrackPositionSchema = object({
18753
18760
  x: number(),
18754
18761
  y: number(),
18755
18762
  timestamp: number(),
18756
- bbox: BoundingBoxSchema
18763
+ bbox: BoundingBoxSchema,
18764
+ /**
18765
+ * Which detector pass measured this box (D399): `frame` is the full-frame
18766
+ * pass on the analysis raster, `recovery` is the native-resolution
18767
+ * small-subject second pass (D377/D378). Both write into one array, and until
18768
+ * this field existed the only way to tell them apart was that full-frame boxes
18769
+ * are exact multiples of 1.2 while recovery boxes are full-precision floats.
18770
+ * Absent on rows written before D399.
18771
+ */
18772
+ source: _enum(["frame", "recovery"]).optional(),
18773
+ /** Detection score of this box, so a position can be weighed and not only
18774
+ * plotted. Absent on rows written before D399. */
18775
+ score: number().optional()
18757
18776
  });
18758
18777
  var TrackSnapshotSchema = object({
18759
18778
  timestamp: number(),
@@ -19153,14 +19172,25 @@ var TrackSchema = object({
19153
19172
  */
19154
19173
  hasRider: boolean().optional(),
19155
19174
  /**
19156
- * WHY this track ended without a NATIVE best-shot tile
19157
- * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)) —
19175
+ * WHY this track ended without a NATIVE best-shot FRAME
19176
+ * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
19177
+ * widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
19158
19178
  * a composed token line (`no-key-frame capture=keyframe:native-missx4`,
19159
- * `derive-returned-null tile=standin`, …) written at close and CLEARED by
19160
- * the late-keyFrame upgrade when a native tile lands after all. The
19161
- * operator-facing answer to "perché manca l'immagine?" on a track whose
19179
+ * `derive-returned-null tile=standin`,
19180
+ * `native-tile tile=native no-key-frame-at-close`, …) written at close and
19181
+ * CLEARED by the late-keyFrame upgrade when a native tile lands after all.
19182
+ * The operator-facing answer to "perché manca l'immagine?" on a track whose
19162
19183
  * tile is a face/plate stand-in, a raster crop, or an icon.
19163
19184
  *
19185
+ * **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
19186
+ * the TILE ranked below native, so a track whose thumbnail landed natively
19187
+ * while its key frame missed carried no reason at all — three of the four
19188
+ * `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
19189
+ * that shape, and their "niente ultimo" had no cause anywhere on the row.
19190
+ * The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
19191
+ * lastFrame copy source`), so its absence is now on this line whatever the
19192
+ * tile ended up being.
19193
+ *
19164
19194
  * **Absent ≠ "missed silently"**: a row written before the column, a hub
19165
19195
  * that predates the field, and every track whose tile landed native all
19166
19196
  * omit it. Render nothing when absent.
@@ -25224,6 +25254,59 @@ var IdentitySampleInfoSchema = object({
25224
25254
  deviceId: number().int().optional(),
25225
25255
  base64: string().optional()
25226
25256
  });
25257
+ /**
25258
+ * One enrolled sample, judged against the gallery it lives in.
25259
+ *
25260
+ * The gallery is the one input to recognition nobody re-reads: a sample
25261
+ * enrolled from the wrong face keeps voting forever, and because the matches it
25262
+ * pulls then look confident, nobody goes back. The 2026-09-08 audit found
25263
+ * exactly one such pair on this cluster — a sample scoring 0.61 against three
25264
+ * samples of ANOTHER person, enrolled from the same camera in the same minute,
25265
+ * where every other cross-identity pair sits under 0.50.
25266
+ */
25267
+ var IdentitySampleAuditRowSchema = object({
25268
+ sampleId: string(),
25269
+ enrolledAt: number().int(),
25270
+ deviceId: number().int().optional(),
25271
+ source: _enum(["detected", "photo"]),
25272
+ /** The enrolled crop's media key, so the panel can show the evidence. */
25273
+ mediaKey: string().optional(),
25274
+ /**
25275
+ * False = the sample is stamped with a DIFFERENT face model, and a cosine
25276
+ * across feature spaces is a well-formed float with no meaning. Every number
25277
+ * below then says nothing — it must read as "cannot say", never as an
25278
+ * accusation and never as a clean bill: this list ends in a Remove button.
25279
+ */
25280
+ comparable: boolean(),
25281
+ /** Mean cosine against this person's other samples. Null when there are none
25282
+ * to compare with — never 0, which would read as "opposite". */
25283
+ selfMean: number().nullable(),
25284
+ /** The other person this sample looks most like, when it looks like one.
25285
+ * This is the half that convicts: not looking like yourself can be a hard
25286
+ * angle; looking like someone the gallery can NAME is a mis-enrolment. */
25287
+ bestForeign: object({
25288
+ identityId: string(),
25289
+ name: string(),
25290
+ score: number()
25291
+ }).optional(),
25292
+ /** 0 = nothing to say. Higher = look at this one sooner. */
25293
+ suspicion: number()
25294
+ });
25295
+ var IdentitySampleAuditSchema = object({
25296
+ identityId: string(),
25297
+ name: string(),
25298
+ /** The cluster face model every comparison was made in. */
25299
+ modelId: string(),
25300
+ totalSamples: number().int(),
25301
+ comparableSamples: number().int(),
25302
+ flagged: number().int(),
25303
+ /** The bar `flagged` counts against, so the panel states the RULE and not
25304
+ * only its current result. */
25305
+ flagThreshold: number(),
25306
+ /** Worst first. A row with nothing to say still appears, at the bottom: the
25307
+ * operator asked to see the gallery, not only its accusations. */
25308
+ rows: array(IdentitySampleAuditRowSchema).readonly()
25309
+ });
25227
25310
  var FaceInfoSchema = object({
25228
25311
  faceId: string(),
25229
25312
  deviceId: number().int(),
@@ -25375,7 +25458,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
25375
25458
  }), method(object({ id: string() }), _void(), {
25376
25459
  kind: "mutation",
25377
25460
  auth: "admin"
25378
- }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
25461
+ }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
25379
25462
  identityId: string(),
25380
25463
  sampleId: string()
25381
25464
  }), _void(), {
@@ -35868,6 +35951,12 @@ Object.freeze({
35868
35951
  addonId: null,
35869
35952
  access: "create"
35870
35953
  },
35954
+ "faceGallery.auditIdentitySamples": {
35955
+ capName: "face-gallery",
35956
+ capScope: "system",
35957
+ addonId: null,
35958
+ access: "view"
35959
+ },
35871
35960
  "faceGallery.createIdentity": {
35872
35961
  capName: "face-gallery",
35873
35962
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -18748,11 +18748,30 @@ var SensorEventSchema = object({
18748
18748
  value: record(string(), unknown()).nullable(),
18749
18749
  timestamp: number()
18750
18750
  });
18751
+ /**
18752
+ * One stored sighting on a track's trajectory.
18753
+ *
18754
+ * The array these live in is returned in TIME order (D399) — it is APPENDED in
18755
+ * arrival order, and the two detector passes interleave, so a consumer must not
18756
+ * assume the two are the same on a row written by an older build.
18757
+ */
18751
18758
  var TrackPositionSchema = object({
18752
18759
  x: number(),
18753
18760
  y: number(),
18754
18761
  timestamp: number(),
18755
- bbox: BoundingBoxSchema
18762
+ bbox: BoundingBoxSchema,
18763
+ /**
18764
+ * Which detector pass measured this box (D399): `frame` is the full-frame
18765
+ * pass on the analysis raster, `recovery` is the native-resolution
18766
+ * small-subject second pass (D377/D378). Both write into one array, and until
18767
+ * this field existed the only way to tell them apart was that full-frame boxes
18768
+ * are exact multiples of 1.2 while recovery boxes are full-precision floats.
18769
+ * Absent on rows written before D399.
18770
+ */
18771
+ source: _enum(["frame", "recovery"]).optional(),
18772
+ /** Detection score of this box, so a position can be weighed and not only
18773
+ * plotted. Absent on rows written before D399. */
18774
+ score: number().optional()
18756
18775
  });
18757
18776
  var TrackSnapshotSchema = object({
18758
18777
  timestamp: number(),
@@ -19152,14 +19171,25 @@ var TrackSchema = object({
19152
19171
  */
19153
19172
  hasRider: boolean().optional(),
19154
19173
  /**
19155
- * WHY this track ended without a NATIVE best-shot tile
19156
- * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)) —
19174
+ * WHY this track ended without a NATIVE best-shot FRAME
19175
+ * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
19176
+ * widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
19157
19177
  * a composed token line (`no-key-frame capture=keyframe:native-missx4`,
19158
- * `derive-returned-null tile=standin`, …) written at close and CLEARED by
19159
- * the late-keyFrame upgrade when a native tile lands after all. The
19160
- * operator-facing answer to "perché manca l'immagine?" on a track whose
19178
+ * `derive-returned-null tile=standin`,
19179
+ * `native-tile tile=native no-key-frame-at-close`, …) written at close and
19180
+ * CLEARED by the late-keyFrame upgrade when a native tile lands after all.
19181
+ * The operator-facing answer to "perché manca l'immagine?" on a track whose
19161
19182
  * tile is a face/plate stand-in, a raster crop, or an icon.
19162
19183
  *
19184
+ * **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
19185
+ * the TILE ranked below native, so a track whose thumbnail landed natively
19186
+ * while its key frame missed carried no reason at all — three of the four
19187
+ * `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
19188
+ * that shape, and their "niente ultimo" had no cause anywhere on the row.
19189
+ * The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
19190
+ * lastFrame copy source`), so its absence is now on this line whatever the
19191
+ * tile ended up being.
19192
+ *
19163
19193
  * **Absent ≠ "missed silently"**: a row written before the column, a hub
19164
19194
  * that predates the field, and every track whose tile landed native all
19165
19195
  * omit it. Render nothing when absent.
@@ -25223,6 +25253,59 @@ var IdentitySampleInfoSchema = object({
25223
25253
  deviceId: number().int().optional(),
25224
25254
  base64: string().optional()
25225
25255
  });
25256
+ /**
25257
+ * One enrolled sample, judged against the gallery it lives in.
25258
+ *
25259
+ * The gallery is the one input to recognition nobody re-reads: a sample
25260
+ * enrolled from the wrong face keeps voting forever, and because the matches it
25261
+ * pulls then look confident, nobody goes back. The 2026-09-08 audit found
25262
+ * exactly one such pair on this cluster — a sample scoring 0.61 against three
25263
+ * samples of ANOTHER person, enrolled from the same camera in the same minute,
25264
+ * where every other cross-identity pair sits under 0.50.
25265
+ */
25266
+ var IdentitySampleAuditRowSchema = object({
25267
+ sampleId: string(),
25268
+ enrolledAt: number().int(),
25269
+ deviceId: number().int().optional(),
25270
+ source: _enum(["detected", "photo"]),
25271
+ /** The enrolled crop's media key, so the panel can show the evidence. */
25272
+ mediaKey: string().optional(),
25273
+ /**
25274
+ * False = the sample is stamped with a DIFFERENT face model, and a cosine
25275
+ * across feature spaces is a well-formed float with no meaning. Every number
25276
+ * below then says nothing — it must read as "cannot say", never as an
25277
+ * accusation and never as a clean bill: this list ends in a Remove button.
25278
+ */
25279
+ comparable: boolean(),
25280
+ /** Mean cosine against this person's other samples. Null when there are none
25281
+ * to compare with — never 0, which would read as "opposite". */
25282
+ selfMean: number().nullable(),
25283
+ /** The other person this sample looks most like, when it looks like one.
25284
+ * This is the half that convicts: not looking like yourself can be a hard
25285
+ * angle; looking like someone the gallery can NAME is a mis-enrolment. */
25286
+ bestForeign: object({
25287
+ identityId: string(),
25288
+ name: string(),
25289
+ score: number()
25290
+ }).optional(),
25291
+ /** 0 = nothing to say. Higher = look at this one sooner. */
25292
+ suspicion: number()
25293
+ });
25294
+ var IdentitySampleAuditSchema = object({
25295
+ identityId: string(),
25296
+ name: string(),
25297
+ /** The cluster face model every comparison was made in. */
25298
+ modelId: string(),
25299
+ totalSamples: number().int(),
25300
+ comparableSamples: number().int(),
25301
+ flagged: number().int(),
25302
+ /** The bar `flagged` counts against, so the panel states the RULE and not
25303
+ * only its current result. */
25304
+ flagThreshold: number(),
25305
+ /** Worst first. A row with nothing to say still appears, at the bottom: the
25306
+ * operator asked to see the gallery, not only its accusations. */
25307
+ rows: array(IdentitySampleAuditRowSchema).readonly()
25308
+ });
25226
25309
  var FaceInfoSchema = object({
25227
25310
  faceId: string(),
25228
25311
  deviceId: number().int(),
@@ -25374,7 +25457,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
25374
25457
  }), method(object({ id: string() }), _void(), {
25375
25458
  kind: "mutation",
25376
25459
  auth: "admin"
25377
- }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
25460
+ }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
25378
25461
  identityId: string(),
25379
25462
  sampleId: string()
25380
25463
  }), _void(), {
@@ -35867,6 +35950,12 @@ Object.freeze({
35867
35950
  addonId: null,
35868
35951
  access: "create"
35869
35952
  },
35953
+ "faceGallery.auditIdentitySamples": {
35954
+ capName: "face-gallery",
35955
+ capScope: "system",
35956
+ addonId: null,
35957
+ access: "view"
35958
+ },
35870
35959
  "faceGallery.createIdentity": {
35871
35960
  capName: "face-gallery",
35872
35961
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-gree",
3
- "version": "0.2.82",
3
+ "version": "0.2.84",
4
4
  "description": "Gree air-conditioner device-provider addon for CamStack — wraps the @apocaliss92/nodegree local-UDP client (LAN discovery + AES control), exposing climate-control and fan-control",
5
5
  "keywords": [
6
6
  "camstack",