@camstack/addon-provider-petkit 0.2.83 → 0.2.85
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 +96 -7
- package/dist/addon.mjs +96 -7
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -19865,11 +19865,30 @@ var SensorEventSchema = object({
|
|
|
19865
19865
|
value: record(string(), unknown()).nullable(),
|
|
19866
19866
|
timestamp: number()
|
|
19867
19867
|
});
|
|
19868
|
+
/**
|
|
19869
|
+
* One stored sighting on a track's trajectory.
|
|
19870
|
+
*
|
|
19871
|
+
* The array these live in is returned in TIME order (D399) — it is APPENDED in
|
|
19872
|
+
* arrival order, and the two detector passes interleave, so a consumer must not
|
|
19873
|
+
* assume the two are the same on a row written by an older build.
|
|
19874
|
+
*/
|
|
19868
19875
|
var TrackPositionSchema = object({
|
|
19869
19876
|
x: number(),
|
|
19870
19877
|
y: number(),
|
|
19871
19878
|
timestamp: number(),
|
|
19872
|
-
bbox: BoundingBoxSchema
|
|
19879
|
+
bbox: BoundingBoxSchema,
|
|
19880
|
+
/**
|
|
19881
|
+
* Which detector pass measured this box (D399): `frame` is the full-frame
|
|
19882
|
+
* pass on the analysis raster, `recovery` is the native-resolution
|
|
19883
|
+
* small-subject second pass (D377/D378). Both write into one array, and until
|
|
19884
|
+
* this field existed the only way to tell them apart was that full-frame boxes
|
|
19885
|
+
* are exact multiples of 1.2 while recovery boxes are full-precision floats.
|
|
19886
|
+
* Absent on rows written before D399.
|
|
19887
|
+
*/
|
|
19888
|
+
source: _enum(["frame", "recovery"]).optional(),
|
|
19889
|
+
/** Detection score of this box, so a position can be weighed and not only
|
|
19890
|
+
* plotted. Absent on rows written before D399. */
|
|
19891
|
+
score: number().optional()
|
|
19873
19892
|
});
|
|
19874
19893
|
var TrackSnapshotSchema = object({
|
|
19875
19894
|
timestamp: number(),
|
|
@@ -20269,14 +20288,25 @@ var TrackSchema = object({
|
|
|
20269
20288
|
*/
|
|
20270
20289
|
hasRider: boolean().optional(),
|
|
20271
20290
|
/**
|
|
20272
|
-
* WHY this track ended without a NATIVE best-shot
|
|
20273
|
-
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)
|
|
20291
|
+
* WHY this track ended without a NATIVE best-shot FRAME
|
|
20292
|
+
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
|
|
20293
|
+
* widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
|
|
20274
20294
|
* a composed token line (`no-key-frame capture=keyframe:native-missx4`,
|
|
20275
|
-
* `derive-returned-null tile=standin`,
|
|
20276
|
-
*
|
|
20277
|
-
*
|
|
20295
|
+
* `derive-returned-null tile=standin`,
|
|
20296
|
+
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
20297
|
+
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
20298
|
+
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
20278
20299
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
20279
20300
|
*
|
|
20301
|
+
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
20302
|
+
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
20303
|
+
* while its key frame missed carried no reason at all — three of the four
|
|
20304
|
+
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
20305
|
+
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
20306
|
+
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
20307
|
+
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
20308
|
+
* tile ended up being.
|
|
20309
|
+
*
|
|
20280
20310
|
* **Absent ≠ "missed silently"**: a row written before the column, a hub
|
|
20281
20311
|
* that predates the field, and every track whose tile landed native all
|
|
20282
20312
|
* omit it. Render nothing when absent.
|
|
@@ -26348,6 +26378,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
26348
26378
|
deviceId: number().int().optional(),
|
|
26349
26379
|
base64: string().optional()
|
|
26350
26380
|
});
|
|
26381
|
+
/**
|
|
26382
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
26383
|
+
*
|
|
26384
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
26385
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
26386
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
26387
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
26388
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
26389
|
+
* where every other cross-identity pair sits under 0.50.
|
|
26390
|
+
*/
|
|
26391
|
+
var IdentitySampleAuditRowSchema = object({
|
|
26392
|
+
sampleId: string(),
|
|
26393
|
+
enrolledAt: number().int(),
|
|
26394
|
+
deviceId: number().int().optional(),
|
|
26395
|
+
source: _enum(["detected", "photo"]),
|
|
26396
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
26397
|
+
mediaKey: string().optional(),
|
|
26398
|
+
/**
|
|
26399
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
26400
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
26401
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
26402
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
26403
|
+
*/
|
|
26404
|
+
comparable: boolean(),
|
|
26405
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
26406
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
26407
|
+
selfMean: number().nullable(),
|
|
26408
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
26409
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
26410
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
26411
|
+
bestForeign: object({
|
|
26412
|
+
identityId: string(),
|
|
26413
|
+
name: string(),
|
|
26414
|
+
score: number()
|
|
26415
|
+
}).optional(),
|
|
26416
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
26417
|
+
suspicion: number()
|
|
26418
|
+
});
|
|
26419
|
+
var IdentitySampleAuditSchema = object({
|
|
26420
|
+
identityId: string(),
|
|
26421
|
+
name: string(),
|
|
26422
|
+
/** The cluster face model every comparison was made in. */
|
|
26423
|
+
modelId: string(),
|
|
26424
|
+
totalSamples: number().int(),
|
|
26425
|
+
comparableSamples: number().int(),
|
|
26426
|
+
flagged: number().int(),
|
|
26427
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
26428
|
+
* only its current result. */
|
|
26429
|
+
flagThreshold: number(),
|
|
26430
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
26431
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
26432
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
26433
|
+
});
|
|
26351
26434
|
var FaceInfoSchema = object({
|
|
26352
26435
|
faceId: string(),
|
|
26353
26436
|
deviceId: number().int(),
|
|
@@ -26499,7 +26582,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
26499
26582
|
}), method(object({ id: string() }), _void(), {
|
|
26500
26583
|
kind: "mutation",
|
|
26501
26584
|
auth: "admin"
|
|
26502
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
26585
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
26503
26586
|
identityId: string(),
|
|
26504
26587
|
sampleId: string()
|
|
26505
26588
|
}), _void(), {
|
|
@@ -36992,6 +37075,12 @@ Object.freeze({
|
|
|
36992
37075
|
addonId: null,
|
|
36993
37076
|
access: "create"
|
|
36994
37077
|
},
|
|
37078
|
+
"faceGallery.auditIdentitySamples": {
|
|
37079
|
+
capName: "face-gallery",
|
|
37080
|
+
capScope: "system",
|
|
37081
|
+
addonId: null,
|
|
37082
|
+
access: "view"
|
|
37083
|
+
},
|
|
36995
37084
|
"faceGallery.createIdentity": {
|
|
36996
37085
|
capName: "face-gallery",
|
|
36997
37086
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -19864,11 +19864,30 @@ var SensorEventSchema = object({
|
|
|
19864
19864
|
value: record(string(), unknown()).nullable(),
|
|
19865
19865
|
timestamp: number()
|
|
19866
19866
|
});
|
|
19867
|
+
/**
|
|
19868
|
+
* One stored sighting on a track's trajectory.
|
|
19869
|
+
*
|
|
19870
|
+
* The array these live in is returned in TIME order (D399) — it is APPENDED in
|
|
19871
|
+
* arrival order, and the two detector passes interleave, so a consumer must not
|
|
19872
|
+
* assume the two are the same on a row written by an older build.
|
|
19873
|
+
*/
|
|
19867
19874
|
var TrackPositionSchema = object({
|
|
19868
19875
|
x: number(),
|
|
19869
19876
|
y: number(),
|
|
19870
19877
|
timestamp: number(),
|
|
19871
|
-
bbox: BoundingBoxSchema
|
|
19878
|
+
bbox: BoundingBoxSchema,
|
|
19879
|
+
/**
|
|
19880
|
+
* Which detector pass measured this box (D399): `frame` is the full-frame
|
|
19881
|
+
* pass on the analysis raster, `recovery` is the native-resolution
|
|
19882
|
+
* small-subject second pass (D377/D378). Both write into one array, and until
|
|
19883
|
+
* this field existed the only way to tell them apart was that full-frame boxes
|
|
19884
|
+
* are exact multiples of 1.2 while recovery boxes are full-precision floats.
|
|
19885
|
+
* Absent on rows written before D399.
|
|
19886
|
+
*/
|
|
19887
|
+
source: _enum(["frame", "recovery"]).optional(),
|
|
19888
|
+
/** Detection score of this box, so a position can be weighed and not only
|
|
19889
|
+
* plotted. Absent on rows written before D399. */
|
|
19890
|
+
score: number().optional()
|
|
19872
19891
|
});
|
|
19873
19892
|
var TrackSnapshotSchema = object({
|
|
19874
19893
|
timestamp: number(),
|
|
@@ -20268,14 +20287,25 @@ var TrackSchema = object({
|
|
|
20268
20287
|
*/
|
|
20269
20288
|
hasRider: boolean().optional(),
|
|
20270
20289
|
/**
|
|
20271
|
-
* WHY this track ended without a NATIVE best-shot
|
|
20272
|
-
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)
|
|
20290
|
+
* WHY this track ended without a NATIVE best-shot FRAME
|
|
20291
|
+
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
|
|
20292
|
+
* widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
|
|
20273
20293
|
* a composed token line (`no-key-frame capture=keyframe:native-missx4`,
|
|
20274
|
-
* `derive-returned-null tile=standin`,
|
|
20275
|
-
*
|
|
20276
|
-
*
|
|
20294
|
+
* `derive-returned-null tile=standin`,
|
|
20295
|
+
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
20296
|
+
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
20297
|
+
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
20277
20298
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
20278
20299
|
*
|
|
20300
|
+
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
20301
|
+
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
20302
|
+
* while its key frame missed carried no reason at all — three of the four
|
|
20303
|
+
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
20304
|
+
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
20305
|
+
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
20306
|
+
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
20307
|
+
* tile ended up being.
|
|
20308
|
+
*
|
|
20279
20309
|
* **Absent ≠ "missed silently"**: a row written before the column, a hub
|
|
20280
20310
|
* that predates the field, and every track whose tile landed native all
|
|
20281
20311
|
* omit it. Render nothing when absent.
|
|
@@ -26347,6 +26377,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
26347
26377
|
deviceId: number().int().optional(),
|
|
26348
26378
|
base64: string().optional()
|
|
26349
26379
|
});
|
|
26380
|
+
/**
|
|
26381
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
26382
|
+
*
|
|
26383
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
26384
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
26385
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
26386
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
26387
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
26388
|
+
* where every other cross-identity pair sits under 0.50.
|
|
26389
|
+
*/
|
|
26390
|
+
var IdentitySampleAuditRowSchema = object({
|
|
26391
|
+
sampleId: string(),
|
|
26392
|
+
enrolledAt: number().int(),
|
|
26393
|
+
deviceId: number().int().optional(),
|
|
26394
|
+
source: _enum(["detected", "photo"]),
|
|
26395
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
26396
|
+
mediaKey: string().optional(),
|
|
26397
|
+
/**
|
|
26398
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
26399
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
26400
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
26401
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
26402
|
+
*/
|
|
26403
|
+
comparable: boolean(),
|
|
26404
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
26405
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
26406
|
+
selfMean: number().nullable(),
|
|
26407
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
26408
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
26409
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
26410
|
+
bestForeign: object({
|
|
26411
|
+
identityId: string(),
|
|
26412
|
+
name: string(),
|
|
26413
|
+
score: number()
|
|
26414
|
+
}).optional(),
|
|
26415
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
26416
|
+
suspicion: number()
|
|
26417
|
+
});
|
|
26418
|
+
var IdentitySampleAuditSchema = object({
|
|
26419
|
+
identityId: string(),
|
|
26420
|
+
name: string(),
|
|
26421
|
+
/** The cluster face model every comparison was made in. */
|
|
26422
|
+
modelId: string(),
|
|
26423
|
+
totalSamples: number().int(),
|
|
26424
|
+
comparableSamples: number().int(),
|
|
26425
|
+
flagged: number().int(),
|
|
26426
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
26427
|
+
* only its current result. */
|
|
26428
|
+
flagThreshold: number(),
|
|
26429
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
26430
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
26431
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
26432
|
+
});
|
|
26350
26433
|
var FaceInfoSchema = object({
|
|
26351
26434
|
faceId: string(),
|
|
26352
26435
|
deviceId: number().int(),
|
|
@@ -26498,7 +26581,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
26498
26581
|
}), method(object({ id: string() }), _void(), {
|
|
26499
26582
|
kind: "mutation",
|
|
26500
26583
|
auth: "admin"
|
|
26501
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
26584
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
26502
26585
|
identityId: string(),
|
|
26503
26586
|
sampleId: string()
|
|
26504
26587
|
}), _void(), {
|
|
@@ -36991,6 +37074,12 @@ Object.freeze({
|
|
|
36991
37074
|
addonId: null,
|
|
36992
37075
|
access: "create"
|
|
36993
37076
|
},
|
|
37077
|
+
"faceGallery.auditIdentitySamples": {
|
|
37078
|
+
capName: "face-gallery",
|
|
37079
|
+
capScope: "system",
|
|
37080
|
+
addonId: null,
|
|
37081
|
+
access: "view"
|
|
37082
|
+
},
|
|
36994
37083
|
"faceGallery.createIdentity": {
|
|
36995
37084
|
capName: "face-gallery",
|
|
36996
37085
|
capScope: "system",
|
package/package.json
CHANGED