@camstack/addon-provider-rademacher 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
@@ -19731,11 +19731,30 @@ var SensorEventSchema = object({
19731
19731
  value: record(string(), unknown()).nullable(),
19732
19732
  timestamp: number()
19733
19733
  });
19734
+ /**
19735
+ * One stored sighting on a track's trajectory.
19736
+ *
19737
+ * The array these live in is returned in TIME order (D399) — it is APPENDED in
19738
+ * arrival order, and the two detector passes interleave, so a consumer must not
19739
+ * assume the two are the same on a row written by an older build.
19740
+ */
19734
19741
  var TrackPositionSchema = object({
19735
19742
  x: number(),
19736
19743
  y: number(),
19737
19744
  timestamp: number(),
19738
- bbox: BoundingBoxSchema
19745
+ bbox: BoundingBoxSchema,
19746
+ /**
19747
+ * Which detector pass measured this box (D399): `frame` is the full-frame
19748
+ * pass on the analysis raster, `recovery` is the native-resolution
19749
+ * small-subject second pass (D377/D378). Both write into one array, and until
19750
+ * this field existed the only way to tell them apart was that full-frame boxes
19751
+ * are exact multiples of 1.2 while recovery boxes are full-precision floats.
19752
+ * Absent on rows written before D399.
19753
+ */
19754
+ source: _enum(["frame", "recovery"]).optional(),
19755
+ /** Detection score of this box, so a position can be weighed and not only
19756
+ * plotted. Absent on rows written before D399. */
19757
+ score: number().optional()
19739
19758
  });
19740
19759
  var TrackSnapshotSchema = object({
19741
19760
  timestamp: number(),
@@ -20135,14 +20154,25 @@ var TrackSchema = object({
20135
20154
  */
20136
20155
  hasRider: boolean().optional(),
20137
20156
  /**
20138
- * WHY this track ended without a NATIVE best-shot tile
20139
- * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)) —
20157
+ * WHY this track ended without a NATIVE best-shot FRAME
20158
+ * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
20159
+ * widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
20140
20160
  * a composed token line (`no-key-frame capture=keyframe:native-missx4`,
20141
- * `derive-returned-null tile=standin`, …) written at close and CLEARED by
20142
- * the late-keyFrame upgrade when a native tile lands after all. The
20143
- * operator-facing answer to "perché manca l'immagine?" on a track whose
20161
+ * `derive-returned-null tile=standin`,
20162
+ * `native-tile tile=native no-key-frame-at-close`, …) written at close and
20163
+ * CLEARED by the late-keyFrame upgrade when a native tile lands after all.
20164
+ * The operator-facing answer to "perché manca l'immagine?" on a track whose
20144
20165
  * tile is a face/plate stand-in, a raster crop, or an icon.
20145
20166
  *
20167
+ * **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
20168
+ * the TILE ranked below native, so a track whose thumbnail landed natively
20169
+ * while its key frame missed carried no reason at all — three of the four
20170
+ * `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
20171
+ * that shape, and their "niente ultimo" had no cause anywhere on the row.
20172
+ * The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
20173
+ * lastFrame copy source`), so its absence is now on this line whatever the
20174
+ * tile ended up being.
20175
+ *
20146
20176
  * **Absent ≠ "missed silently"**: a row written before the column, a hub
20147
20177
  * that predates the field, and every track whose tile landed native all
20148
20178
  * omit it. Render nothing when absent.
@@ -26206,6 +26236,59 @@ var IdentitySampleInfoSchema = object({
26206
26236
  deviceId: number().int().optional(),
26207
26237
  base64: string().optional()
26208
26238
  });
26239
+ /**
26240
+ * One enrolled sample, judged against the gallery it lives in.
26241
+ *
26242
+ * The gallery is the one input to recognition nobody re-reads: a sample
26243
+ * enrolled from the wrong face keeps voting forever, and because the matches it
26244
+ * pulls then look confident, nobody goes back. The 2026-09-08 audit found
26245
+ * exactly one such pair on this cluster — a sample scoring 0.61 against three
26246
+ * samples of ANOTHER person, enrolled from the same camera in the same minute,
26247
+ * where every other cross-identity pair sits under 0.50.
26248
+ */
26249
+ var IdentitySampleAuditRowSchema = object({
26250
+ sampleId: string(),
26251
+ enrolledAt: number().int(),
26252
+ deviceId: number().int().optional(),
26253
+ source: _enum(["detected", "photo"]),
26254
+ /** The enrolled crop's media key, so the panel can show the evidence. */
26255
+ mediaKey: string().optional(),
26256
+ /**
26257
+ * False = the sample is stamped with a DIFFERENT face model, and a cosine
26258
+ * across feature spaces is a well-formed float with no meaning. Every number
26259
+ * below then says nothing — it must read as "cannot say", never as an
26260
+ * accusation and never as a clean bill: this list ends in a Remove button.
26261
+ */
26262
+ comparable: boolean(),
26263
+ /** Mean cosine against this person's other samples. Null when there are none
26264
+ * to compare with — never 0, which would read as "opposite". */
26265
+ selfMean: number().nullable(),
26266
+ /** The other person this sample looks most like, when it looks like one.
26267
+ * This is the half that convicts: not looking like yourself can be a hard
26268
+ * angle; looking like someone the gallery can NAME is a mis-enrolment. */
26269
+ bestForeign: object({
26270
+ identityId: string(),
26271
+ name: string(),
26272
+ score: number()
26273
+ }).optional(),
26274
+ /** 0 = nothing to say. Higher = look at this one sooner. */
26275
+ suspicion: number()
26276
+ });
26277
+ var IdentitySampleAuditSchema = object({
26278
+ identityId: string(),
26279
+ name: string(),
26280
+ /** The cluster face model every comparison was made in. */
26281
+ modelId: string(),
26282
+ totalSamples: number().int(),
26283
+ comparableSamples: number().int(),
26284
+ flagged: number().int(),
26285
+ /** The bar `flagged` counts against, so the panel states the RULE and not
26286
+ * only its current result. */
26287
+ flagThreshold: number(),
26288
+ /** Worst first. A row with nothing to say still appears, at the bottom: the
26289
+ * operator asked to see the gallery, not only its accusations. */
26290
+ rows: array(IdentitySampleAuditRowSchema).readonly()
26291
+ });
26209
26292
  var FaceInfoSchema = object({
26210
26293
  faceId: string(),
26211
26294
  deviceId: number().int(),
@@ -26357,7 +26440,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
26357
26440
  }), method(object({ id: string() }), _void(), {
26358
26441
  kind: "mutation",
26359
26442
  auth: "admin"
26360
- }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
26443
+ }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
26361
26444
  identityId: string(),
26362
26445
  sampleId: string()
26363
26446
  }), _void(), {
@@ -36850,6 +36933,12 @@ Object.freeze({
36850
36933
  addonId: null,
36851
36934
  access: "create"
36852
36935
  },
36936
+ "faceGallery.auditIdentitySamples": {
36937
+ capName: "face-gallery",
36938
+ capScope: "system",
36939
+ addonId: null,
36940
+ access: "view"
36941
+ },
36853
36942
  "faceGallery.createIdentity": {
36854
36943
  capName: "face-gallery",
36855
36944
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -19730,11 +19730,30 @@ var SensorEventSchema = object({
19730
19730
  value: record(string(), unknown()).nullable(),
19731
19731
  timestamp: number()
19732
19732
  });
19733
+ /**
19734
+ * One stored sighting on a track's trajectory.
19735
+ *
19736
+ * The array these live in is returned in TIME order (D399) — it is APPENDED in
19737
+ * arrival order, and the two detector passes interleave, so a consumer must not
19738
+ * assume the two are the same on a row written by an older build.
19739
+ */
19733
19740
  var TrackPositionSchema = object({
19734
19741
  x: number(),
19735
19742
  y: number(),
19736
19743
  timestamp: number(),
19737
- bbox: BoundingBoxSchema
19744
+ bbox: BoundingBoxSchema,
19745
+ /**
19746
+ * Which detector pass measured this box (D399): `frame` is the full-frame
19747
+ * pass on the analysis raster, `recovery` is the native-resolution
19748
+ * small-subject second pass (D377/D378). Both write into one array, and until
19749
+ * this field existed the only way to tell them apart was that full-frame boxes
19750
+ * are exact multiples of 1.2 while recovery boxes are full-precision floats.
19751
+ * Absent on rows written before D399.
19752
+ */
19753
+ source: _enum(["frame", "recovery"]).optional(),
19754
+ /** Detection score of this box, so a position can be weighed and not only
19755
+ * plotted. Absent on rows written before D399. */
19756
+ score: number().optional()
19738
19757
  });
19739
19758
  var TrackSnapshotSchema = object({
19740
19759
  timestamp: number(),
@@ -20134,14 +20153,25 @@ var TrackSchema = object({
20134
20153
  */
20135
20154
  hasRider: boolean().optional(),
20136
20155
  /**
20137
- * WHY this track ended without a NATIVE best-shot tile
20138
- * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)) —
20156
+ * WHY this track ended without a NATIVE best-shot FRAME
20157
+ * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
20158
+ * widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
20139
20159
  * a composed token line (`no-key-frame capture=keyframe:native-missx4`,
20140
- * `derive-returned-null tile=standin`, …) written at close and CLEARED by
20141
- * the late-keyFrame upgrade when a native tile lands after all. The
20142
- * operator-facing answer to "perché manca l'immagine?" on a track whose
20160
+ * `derive-returned-null tile=standin`,
20161
+ * `native-tile tile=native no-key-frame-at-close`, …) written at close and
20162
+ * CLEARED by the late-keyFrame upgrade when a native tile lands after all.
20163
+ * The operator-facing answer to "perché manca l'immagine?" on a track whose
20143
20164
  * tile is a face/plate stand-in, a raster crop, or an icon.
20144
20165
  *
20166
+ * **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
20167
+ * the TILE ranked below native, so a track whose thumbnail landed natively
20168
+ * while its key frame missed carried no reason at all — three of the four
20169
+ * `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
20170
+ * that shape, and their "niente ultimo" had no cause anywhere on the row.
20171
+ * The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
20172
+ * lastFrame copy source`), so its absence is now on this line whatever the
20173
+ * tile ended up being.
20174
+ *
20145
20175
  * **Absent ≠ "missed silently"**: a row written before the column, a hub
20146
20176
  * that predates the field, and every track whose tile landed native all
20147
20177
  * omit it. Render nothing when absent.
@@ -26205,6 +26235,59 @@ var IdentitySampleInfoSchema = object({
26205
26235
  deviceId: number().int().optional(),
26206
26236
  base64: string().optional()
26207
26237
  });
26238
+ /**
26239
+ * One enrolled sample, judged against the gallery it lives in.
26240
+ *
26241
+ * The gallery is the one input to recognition nobody re-reads: a sample
26242
+ * enrolled from the wrong face keeps voting forever, and because the matches it
26243
+ * pulls then look confident, nobody goes back. The 2026-09-08 audit found
26244
+ * exactly one such pair on this cluster — a sample scoring 0.61 against three
26245
+ * samples of ANOTHER person, enrolled from the same camera in the same minute,
26246
+ * where every other cross-identity pair sits under 0.50.
26247
+ */
26248
+ var IdentitySampleAuditRowSchema = object({
26249
+ sampleId: string(),
26250
+ enrolledAt: number().int(),
26251
+ deviceId: number().int().optional(),
26252
+ source: _enum(["detected", "photo"]),
26253
+ /** The enrolled crop's media key, so the panel can show the evidence. */
26254
+ mediaKey: string().optional(),
26255
+ /**
26256
+ * False = the sample is stamped with a DIFFERENT face model, and a cosine
26257
+ * across feature spaces is a well-formed float with no meaning. Every number
26258
+ * below then says nothing — it must read as "cannot say", never as an
26259
+ * accusation and never as a clean bill: this list ends in a Remove button.
26260
+ */
26261
+ comparable: boolean(),
26262
+ /** Mean cosine against this person's other samples. Null when there are none
26263
+ * to compare with — never 0, which would read as "opposite". */
26264
+ selfMean: number().nullable(),
26265
+ /** The other person this sample looks most like, when it looks like one.
26266
+ * This is the half that convicts: not looking like yourself can be a hard
26267
+ * angle; looking like someone the gallery can NAME is a mis-enrolment. */
26268
+ bestForeign: object({
26269
+ identityId: string(),
26270
+ name: string(),
26271
+ score: number()
26272
+ }).optional(),
26273
+ /** 0 = nothing to say. Higher = look at this one sooner. */
26274
+ suspicion: number()
26275
+ });
26276
+ var IdentitySampleAuditSchema = object({
26277
+ identityId: string(),
26278
+ name: string(),
26279
+ /** The cluster face model every comparison was made in. */
26280
+ modelId: string(),
26281
+ totalSamples: number().int(),
26282
+ comparableSamples: number().int(),
26283
+ flagged: number().int(),
26284
+ /** The bar `flagged` counts against, so the panel states the RULE and not
26285
+ * only its current result. */
26286
+ flagThreshold: number(),
26287
+ /** Worst first. A row with nothing to say still appears, at the bottom: the
26288
+ * operator asked to see the gallery, not only its accusations. */
26289
+ rows: array(IdentitySampleAuditRowSchema).readonly()
26290
+ });
26208
26291
  var FaceInfoSchema = object({
26209
26292
  faceId: string(),
26210
26293
  deviceId: number().int(),
@@ -26356,7 +26439,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
26356
26439
  }), method(object({ id: string() }), _void(), {
26357
26440
  kind: "mutation",
26358
26441
  auth: "admin"
26359
- }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
26442
+ }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
26360
26443
  identityId: string(),
26361
26444
  sampleId: string()
26362
26445
  }), _void(), {
@@ -36849,6 +36932,12 @@ Object.freeze({
36849
36932
  addonId: null,
36850
36933
  access: "create"
36851
36934
  },
36935
+ "faceGallery.auditIdentitySamples": {
36936
+ capName: "face-gallery",
36937
+ capScope: "system",
36938
+ addonId: null,
36939
+ access: "view"
36940
+ },
36852
36941
  "faceGallery.createIdentity": {
36853
36942
  capName: "face-gallery",
36854
36943
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rademacher",
3
- "version": "0.2.82",
3
+ "version": "0.2.84",
4
4
  "description": "Rademacher HomePilot device-provider addon for CamStack — wraps the @apocaliss92/noderademacher local-hub client (roller shutters over the cover cap)",
5
5
  "keywords": [
6
6
  "camstack",