@camstack/addon-provider-onvif 1.2.82 → 1.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
@@ -18458,11 +18458,30 @@ var SensorEventSchema = object({
18458
18458
  value: record(string(), unknown()).nullable(),
18459
18459
  timestamp: number()
18460
18460
  });
18461
+ /**
18462
+ * One stored sighting on a track's trajectory.
18463
+ *
18464
+ * The array these live in is returned in TIME order (D399) — it is APPENDED in
18465
+ * arrival order, and the two detector passes interleave, so a consumer must not
18466
+ * assume the two are the same on a row written by an older build.
18467
+ */
18461
18468
  var TrackPositionSchema = object({
18462
18469
  x: number(),
18463
18470
  y: number(),
18464
18471
  timestamp: number(),
18465
- bbox: BoundingBoxSchema
18472
+ bbox: BoundingBoxSchema,
18473
+ /**
18474
+ * Which detector pass measured this box (D399): `frame` is the full-frame
18475
+ * pass on the analysis raster, `recovery` is the native-resolution
18476
+ * small-subject second pass (D377/D378). Both write into one array, and until
18477
+ * this field existed the only way to tell them apart was that full-frame boxes
18478
+ * are exact multiples of 1.2 while recovery boxes are full-precision floats.
18479
+ * Absent on rows written before D399.
18480
+ */
18481
+ source: _enum(["frame", "recovery"]).optional(),
18482
+ /** Detection score of this box, so a position can be weighed and not only
18483
+ * plotted. Absent on rows written before D399. */
18484
+ score: number().optional()
18466
18485
  });
18467
18486
  var TrackSnapshotSchema = object({
18468
18487
  timestamp: number(),
@@ -18862,14 +18881,25 @@ var TrackSchema = object({
18862
18881
  */
18863
18882
  hasRider: boolean().optional(),
18864
18883
  /**
18865
- * WHY this track ended without a NATIVE best-shot tile
18866
- * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)) —
18884
+ * WHY this track ended without a NATIVE best-shot FRAME
18885
+ * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
18886
+ * widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
18867
18887
  * a composed token line (`no-key-frame capture=keyframe:native-missx4`,
18868
- * `derive-returned-null tile=standin`, …) written at close and CLEARED by
18869
- * the late-keyFrame upgrade when a native tile lands after all. The
18870
- * operator-facing answer to "perché manca l'immagine?" on a track whose
18888
+ * `derive-returned-null tile=standin`,
18889
+ * `native-tile tile=native no-key-frame-at-close`, …) written at close and
18890
+ * CLEARED by the late-keyFrame upgrade when a native tile lands after all.
18891
+ * The operator-facing answer to "perché manca l'immagine?" on a track whose
18871
18892
  * tile is a face/plate stand-in, a raster crop, or an icon.
18872
18893
  *
18894
+ * **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
18895
+ * the TILE ranked below native, so a track whose thumbnail landed natively
18896
+ * while its key frame missed carried no reason at all — three of the four
18897
+ * `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
18898
+ * that shape, and their "niente ultimo" had no cause anywhere on the row.
18899
+ * The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
18900
+ * lastFrame copy source`), so its absence is now on this line whatever the
18901
+ * tile ended up being.
18902
+ *
18873
18903
  * **Absent ≠ "missed silently"**: a row written before the column, a hub
18874
18904
  * that predates the field, and every track whose tile landed native all
18875
18905
  * omit it. Render nothing when absent.
@@ -24307,6 +24337,59 @@ var IdentitySampleInfoSchema = object({
24307
24337
  deviceId: number().int().optional(),
24308
24338
  base64: string().optional()
24309
24339
  });
24340
+ /**
24341
+ * One enrolled sample, judged against the gallery it lives in.
24342
+ *
24343
+ * The gallery is the one input to recognition nobody re-reads: a sample
24344
+ * enrolled from the wrong face keeps voting forever, and because the matches it
24345
+ * pulls then look confident, nobody goes back. The 2026-09-08 audit found
24346
+ * exactly one such pair on this cluster — a sample scoring 0.61 against three
24347
+ * samples of ANOTHER person, enrolled from the same camera in the same minute,
24348
+ * where every other cross-identity pair sits under 0.50.
24349
+ */
24350
+ var IdentitySampleAuditRowSchema = object({
24351
+ sampleId: string(),
24352
+ enrolledAt: number().int(),
24353
+ deviceId: number().int().optional(),
24354
+ source: _enum(["detected", "photo"]),
24355
+ /** The enrolled crop's media key, so the panel can show the evidence. */
24356
+ mediaKey: string().optional(),
24357
+ /**
24358
+ * False = the sample is stamped with a DIFFERENT face model, and a cosine
24359
+ * across feature spaces is a well-formed float with no meaning. Every number
24360
+ * below then says nothing — it must read as "cannot say", never as an
24361
+ * accusation and never as a clean bill: this list ends in a Remove button.
24362
+ */
24363
+ comparable: boolean(),
24364
+ /** Mean cosine against this person's other samples. Null when there are none
24365
+ * to compare with — never 0, which would read as "opposite". */
24366
+ selfMean: number().nullable(),
24367
+ /** The other person this sample looks most like, when it looks like one.
24368
+ * This is the half that convicts: not looking like yourself can be a hard
24369
+ * angle; looking like someone the gallery can NAME is a mis-enrolment. */
24370
+ bestForeign: object({
24371
+ identityId: string(),
24372
+ name: string(),
24373
+ score: number()
24374
+ }).optional(),
24375
+ /** 0 = nothing to say. Higher = look at this one sooner. */
24376
+ suspicion: number()
24377
+ });
24378
+ var IdentitySampleAuditSchema = object({
24379
+ identityId: string(),
24380
+ name: string(),
24381
+ /** The cluster face model every comparison was made in. */
24382
+ modelId: string(),
24383
+ totalSamples: number().int(),
24384
+ comparableSamples: number().int(),
24385
+ flagged: number().int(),
24386
+ /** The bar `flagged` counts against, so the panel states the RULE and not
24387
+ * only its current result. */
24388
+ flagThreshold: number(),
24389
+ /** Worst first. A row with nothing to say still appears, at the bottom: the
24390
+ * operator asked to see the gallery, not only its accusations. */
24391
+ rows: array(IdentitySampleAuditRowSchema).readonly()
24392
+ });
24310
24393
  var FaceInfoSchema = object({
24311
24394
  faceId: string(),
24312
24395
  deviceId: number().int(),
@@ -24458,7 +24541,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
24458
24541
  }), method(object({ id: string() }), _void(), {
24459
24542
  kind: "mutation",
24460
24543
  auth: "admin"
24461
- }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
24544
+ }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
24462
24545
  identityId: string(),
24463
24546
  sampleId: string()
24464
24547
  }), _void(), {
@@ -32553,6 +32636,12 @@ Object.freeze({
32553
32636
  addonId: null,
32554
32637
  access: "create"
32555
32638
  },
32639
+ "faceGallery.auditIdentitySamples": {
32640
+ capName: "face-gallery",
32641
+ capScope: "system",
32642
+ addonId: null,
32643
+ access: "view"
32644
+ },
32556
32645
  "faceGallery.createIdentity": {
32557
32646
  capName: "face-gallery",
32558
32647
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -18459,11 +18459,30 @@ var SensorEventSchema = object({
18459
18459
  value: record(string(), unknown()).nullable(),
18460
18460
  timestamp: number()
18461
18461
  });
18462
+ /**
18463
+ * One stored sighting on a track's trajectory.
18464
+ *
18465
+ * The array these live in is returned in TIME order (D399) — it is APPENDED in
18466
+ * arrival order, and the two detector passes interleave, so a consumer must not
18467
+ * assume the two are the same on a row written by an older build.
18468
+ */
18462
18469
  var TrackPositionSchema = object({
18463
18470
  x: number(),
18464
18471
  y: number(),
18465
18472
  timestamp: number(),
18466
- bbox: BoundingBoxSchema
18473
+ bbox: BoundingBoxSchema,
18474
+ /**
18475
+ * Which detector pass measured this box (D399): `frame` is the full-frame
18476
+ * pass on the analysis raster, `recovery` is the native-resolution
18477
+ * small-subject second pass (D377/D378). Both write into one array, and until
18478
+ * this field existed the only way to tell them apart was that full-frame boxes
18479
+ * are exact multiples of 1.2 while recovery boxes are full-precision floats.
18480
+ * Absent on rows written before D399.
18481
+ */
18482
+ source: _enum(["frame", "recovery"]).optional(),
18483
+ /** Detection score of this box, so a position can be weighed and not only
18484
+ * plotted. Absent on rows written before D399. */
18485
+ score: number().optional()
18467
18486
  });
18468
18487
  var TrackSnapshotSchema = object({
18469
18488
  timestamp: number(),
@@ -18863,14 +18882,25 @@ var TrackSchema = object({
18863
18882
  */
18864
18883
  hasRider: boolean().optional(),
18865
18884
  /**
18866
- * WHY this track ended without a NATIVE best-shot tile
18867
- * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)) —
18885
+ * WHY this track ended without a NATIVE best-shot FRAME
18886
+ * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
18887
+ * widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
18868
18888
  * a composed token line (`no-key-frame capture=keyframe:native-missx4`,
18869
- * `derive-returned-null tile=standin`, …) written at close and CLEARED by
18870
- * the late-keyFrame upgrade when a native tile lands after all. The
18871
- * operator-facing answer to "perché manca l'immagine?" on a track whose
18889
+ * `derive-returned-null tile=standin`,
18890
+ * `native-tile tile=native no-key-frame-at-close`, …) written at close and
18891
+ * CLEARED by the late-keyFrame upgrade when a native tile lands after all.
18892
+ * The operator-facing answer to "perché manca l'immagine?" on a track whose
18872
18893
  * tile is a face/plate stand-in, a raster crop, or an icon.
18873
18894
  *
18895
+ * **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
18896
+ * the TILE ranked below native, so a track whose thumbnail landed natively
18897
+ * while its key frame missed carried no reason at all — three of the four
18898
+ * `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
18899
+ * that shape, and their "niente ultimo" had no cause anywhere on the row.
18900
+ * The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
18901
+ * lastFrame copy source`), so its absence is now on this line whatever the
18902
+ * tile ended up being.
18903
+ *
18874
18904
  * **Absent ≠ "missed silently"**: a row written before the column, a hub
18875
18905
  * that predates the field, and every track whose tile landed native all
18876
18906
  * omit it. Render nothing when absent.
@@ -24308,6 +24338,59 @@ var IdentitySampleInfoSchema = object({
24308
24338
  deviceId: number().int().optional(),
24309
24339
  base64: string().optional()
24310
24340
  });
24341
+ /**
24342
+ * One enrolled sample, judged against the gallery it lives in.
24343
+ *
24344
+ * The gallery is the one input to recognition nobody re-reads: a sample
24345
+ * enrolled from the wrong face keeps voting forever, and because the matches it
24346
+ * pulls then look confident, nobody goes back. The 2026-09-08 audit found
24347
+ * exactly one such pair on this cluster — a sample scoring 0.61 against three
24348
+ * samples of ANOTHER person, enrolled from the same camera in the same minute,
24349
+ * where every other cross-identity pair sits under 0.50.
24350
+ */
24351
+ var IdentitySampleAuditRowSchema = object({
24352
+ sampleId: string(),
24353
+ enrolledAt: number().int(),
24354
+ deviceId: number().int().optional(),
24355
+ source: _enum(["detected", "photo"]),
24356
+ /** The enrolled crop's media key, so the panel can show the evidence. */
24357
+ mediaKey: string().optional(),
24358
+ /**
24359
+ * False = the sample is stamped with a DIFFERENT face model, and a cosine
24360
+ * across feature spaces is a well-formed float with no meaning. Every number
24361
+ * below then says nothing — it must read as "cannot say", never as an
24362
+ * accusation and never as a clean bill: this list ends in a Remove button.
24363
+ */
24364
+ comparable: boolean(),
24365
+ /** Mean cosine against this person's other samples. Null when there are none
24366
+ * to compare with — never 0, which would read as "opposite". */
24367
+ selfMean: number().nullable(),
24368
+ /** The other person this sample looks most like, when it looks like one.
24369
+ * This is the half that convicts: not looking like yourself can be a hard
24370
+ * angle; looking like someone the gallery can NAME is a mis-enrolment. */
24371
+ bestForeign: object({
24372
+ identityId: string(),
24373
+ name: string(),
24374
+ score: number()
24375
+ }).optional(),
24376
+ /** 0 = nothing to say. Higher = look at this one sooner. */
24377
+ suspicion: number()
24378
+ });
24379
+ var IdentitySampleAuditSchema = object({
24380
+ identityId: string(),
24381
+ name: string(),
24382
+ /** The cluster face model every comparison was made in. */
24383
+ modelId: string(),
24384
+ totalSamples: number().int(),
24385
+ comparableSamples: number().int(),
24386
+ flagged: number().int(),
24387
+ /** The bar `flagged` counts against, so the panel states the RULE and not
24388
+ * only its current result. */
24389
+ flagThreshold: number(),
24390
+ /** Worst first. A row with nothing to say still appears, at the bottom: the
24391
+ * operator asked to see the gallery, not only its accusations. */
24392
+ rows: array(IdentitySampleAuditRowSchema).readonly()
24393
+ });
24311
24394
  var FaceInfoSchema = object({
24312
24395
  faceId: string(),
24313
24396
  deviceId: number().int(),
@@ -24459,7 +24542,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
24459
24542
  }), method(object({ id: string() }), _void(), {
24460
24543
  kind: "mutation",
24461
24544
  auth: "admin"
24462
- }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
24545
+ }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
24463
24546
  identityId: string(),
24464
24547
  sampleId: string()
24465
24548
  }), _void(), {
@@ -32554,6 +32637,12 @@ Object.freeze({
32554
32637
  addonId: null,
32555
32638
  access: "create"
32556
32639
  },
32640
+ "faceGallery.auditIdentitySamples": {
32641
+ capName: "face-gallery",
32642
+ capScope: "system",
32643
+ addonId: null,
32644
+ access: "view"
32645
+ },
32557
32646
  "faceGallery.createIdentity": {
32558
32647
  capName: "face-gallery",
32559
32648
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-onvif",
3
- "version": "1.2.82",
3
+ "version": "1.2.84",
4
4
  "description": "ONVIF camera device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",