@camstack/addon-provider-reolink 1.2.106 → 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 +96 -7
- package/dist/addon.mjs +96 -7
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -19390,11 +19390,30 @@ var SensorEventSchema = object({
|
|
|
19390
19390
|
value: record(string(), unknown()).nullable(),
|
|
19391
19391
|
timestamp: number()
|
|
19392
19392
|
});
|
|
19393
|
+
/**
|
|
19394
|
+
* One stored sighting on a track's trajectory.
|
|
19395
|
+
*
|
|
19396
|
+
* The array these live in is returned in TIME order (D399) — it is APPENDED in
|
|
19397
|
+
* arrival order, and the two detector passes interleave, so a consumer must not
|
|
19398
|
+
* assume the two are the same on a row written by an older build.
|
|
19399
|
+
*/
|
|
19393
19400
|
var TrackPositionSchema = object({
|
|
19394
19401
|
x: number(),
|
|
19395
19402
|
y: number(),
|
|
19396
19403
|
timestamp: number(),
|
|
19397
|
-
bbox: BoundingBoxSchema
|
|
19404
|
+
bbox: BoundingBoxSchema,
|
|
19405
|
+
/**
|
|
19406
|
+
* Which detector pass measured this box (D399): `frame` is the full-frame
|
|
19407
|
+
* pass on the analysis raster, `recovery` is the native-resolution
|
|
19408
|
+
* small-subject second pass (D377/D378). Both write into one array, and until
|
|
19409
|
+
* this field existed the only way to tell them apart was that full-frame boxes
|
|
19410
|
+
* are exact multiples of 1.2 while recovery boxes are full-precision floats.
|
|
19411
|
+
* Absent on rows written before D399.
|
|
19412
|
+
*/
|
|
19413
|
+
source: _enum(["frame", "recovery"]).optional(),
|
|
19414
|
+
/** Detection score of this box, so a position can be weighed and not only
|
|
19415
|
+
* plotted. Absent on rows written before D399. */
|
|
19416
|
+
score: number().optional()
|
|
19398
19417
|
});
|
|
19399
19418
|
var TrackSnapshotSchema = object({
|
|
19400
19419
|
timestamp: number(),
|
|
@@ -19794,14 +19813,25 @@ var TrackSchema = object({
|
|
|
19794
19813
|
*/
|
|
19795
19814
|
hasRider: boolean().optional(),
|
|
19796
19815
|
/**
|
|
19797
|
-
* WHY this track ended without a NATIVE best-shot
|
|
19798
|
-
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)
|
|
19816
|
+
* WHY this track ended without a NATIVE best-shot FRAME
|
|
19817
|
+
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
|
|
19818
|
+
* widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
|
|
19799
19819
|
* a composed token line (`no-key-frame capture=keyframe:native-missx4`,
|
|
19800
|
-
* `derive-returned-null tile=standin`,
|
|
19801
|
-
*
|
|
19802
|
-
*
|
|
19820
|
+
* `derive-returned-null tile=standin`,
|
|
19821
|
+
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
19822
|
+
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
19823
|
+
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
19803
19824
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
19804
19825
|
*
|
|
19826
|
+
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
19827
|
+
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
19828
|
+
* while its key frame missed carried no reason at all — three of the four
|
|
19829
|
+
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
19830
|
+
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
19831
|
+
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
19832
|
+
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
19833
|
+
* tile ended up being.
|
|
19834
|
+
*
|
|
19805
19835
|
* **Absent ≠ "missed silently"**: a row written before the column, a hub
|
|
19806
19836
|
* that predates the field, and every track whose tile landed native all
|
|
19807
19837
|
* omit it. Render nothing when absent.
|
|
@@ -25969,6 +25999,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
25969
25999
|
deviceId: number().int().optional(),
|
|
25970
26000
|
base64: string().optional()
|
|
25971
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
|
+
});
|
|
25972
26055
|
var FaceInfoSchema = object({
|
|
25973
26056
|
faceId: string(),
|
|
25974
26057
|
deviceId: number().int(),
|
|
@@ -26120,7 +26203,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
26120
26203
|
}), method(object({ id: string() }), _void(), {
|
|
26121
26204
|
kind: "mutation",
|
|
26122
26205
|
auth: "admin"
|
|
26123
|
-
}), 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({
|
|
26124
26207
|
identityId: string(),
|
|
26125
26208
|
sampleId: string()
|
|
26126
26209
|
}), _void(), {
|
|
@@ -37096,6 +37179,12 @@ Object.freeze({
|
|
|
37096
37179
|
addonId: null,
|
|
37097
37180
|
access: "create"
|
|
37098
37181
|
},
|
|
37182
|
+
"faceGallery.auditIdentitySamples": {
|
|
37183
|
+
capName: "face-gallery",
|
|
37184
|
+
capScope: "system",
|
|
37185
|
+
addonId: null,
|
|
37186
|
+
access: "view"
|
|
37187
|
+
},
|
|
37099
37188
|
"faceGallery.createIdentity": {
|
|
37100
37189
|
capName: "face-gallery",
|
|
37101
37190
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -19385,11 +19385,30 @@ var SensorEventSchema = object({
|
|
|
19385
19385
|
value: record(string(), unknown()).nullable(),
|
|
19386
19386
|
timestamp: number()
|
|
19387
19387
|
});
|
|
19388
|
+
/**
|
|
19389
|
+
* One stored sighting on a track's trajectory.
|
|
19390
|
+
*
|
|
19391
|
+
* The array these live in is returned in TIME order (D399) — it is APPENDED in
|
|
19392
|
+
* arrival order, and the two detector passes interleave, so a consumer must not
|
|
19393
|
+
* assume the two are the same on a row written by an older build.
|
|
19394
|
+
*/
|
|
19388
19395
|
var TrackPositionSchema = object({
|
|
19389
19396
|
x: number(),
|
|
19390
19397
|
y: number(),
|
|
19391
19398
|
timestamp: number(),
|
|
19392
|
-
bbox: BoundingBoxSchema
|
|
19399
|
+
bbox: BoundingBoxSchema,
|
|
19400
|
+
/**
|
|
19401
|
+
* Which detector pass measured this box (D399): `frame` is the full-frame
|
|
19402
|
+
* pass on the analysis raster, `recovery` is the native-resolution
|
|
19403
|
+
* small-subject second pass (D377/D378). Both write into one array, and until
|
|
19404
|
+
* this field existed the only way to tell them apart was that full-frame boxes
|
|
19405
|
+
* are exact multiples of 1.2 while recovery boxes are full-precision floats.
|
|
19406
|
+
* Absent on rows written before D399.
|
|
19407
|
+
*/
|
|
19408
|
+
source: _enum(["frame", "recovery"]).optional(),
|
|
19409
|
+
/** Detection score of this box, so a position can be weighed and not only
|
|
19410
|
+
* plotted. Absent on rows written before D399. */
|
|
19411
|
+
score: number().optional()
|
|
19393
19412
|
});
|
|
19394
19413
|
var TrackSnapshotSchema = object({
|
|
19395
19414
|
timestamp: number(),
|
|
@@ -19789,14 +19808,25 @@ var TrackSchema = object({
|
|
|
19789
19808
|
*/
|
|
19790
19809
|
hasRider: boolean().optional(),
|
|
19791
19810
|
/**
|
|
19792
|
-
* WHY this track ended without a NATIVE best-shot
|
|
19793
|
-
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)
|
|
19811
|
+
* WHY this track ended without a NATIVE best-shot FRAME
|
|
19812
|
+
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
|
|
19813
|
+
* widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
|
|
19794
19814
|
* a composed token line (`no-key-frame capture=keyframe:native-missx4`,
|
|
19795
|
-
* `derive-returned-null tile=standin`,
|
|
19796
|
-
*
|
|
19797
|
-
*
|
|
19815
|
+
* `derive-returned-null tile=standin`,
|
|
19816
|
+
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
19817
|
+
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
19818
|
+
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
19798
19819
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
19799
19820
|
*
|
|
19821
|
+
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
19822
|
+
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
19823
|
+
* while its key frame missed carried no reason at all — three of the four
|
|
19824
|
+
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
19825
|
+
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
19826
|
+
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
19827
|
+
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
19828
|
+
* tile ended up being.
|
|
19829
|
+
*
|
|
19800
19830
|
* **Absent ≠ "missed silently"**: a row written before the column, a hub
|
|
19801
19831
|
* that predates the field, and every track whose tile landed native all
|
|
19802
19832
|
* omit it. Render nothing when absent.
|
|
@@ -25964,6 +25994,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
25964
25994
|
deviceId: number().int().optional(),
|
|
25965
25995
|
base64: string().optional()
|
|
25966
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
|
+
});
|
|
25967
26050
|
var FaceInfoSchema = object({
|
|
25968
26051
|
faceId: string(),
|
|
25969
26052
|
deviceId: number().int(),
|
|
@@ -26115,7 +26198,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
26115
26198
|
}), method(object({ id: string() }), _void(), {
|
|
26116
26199
|
kind: "mutation",
|
|
26117
26200
|
auth: "admin"
|
|
26118
|
-
}), 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({
|
|
26119
26202
|
identityId: string(),
|
|
26120
26203
|
sampleId: string()
|
|
26121
26204
|
}), _void(), {
|
|
@@ -37091,6 +37174,12 @@ Object.freeze({
|
|
|
37091
37174
|
addonId: null,
|
|
37092
37175
|
access: "create"
|
|
37093
37176
|
},
|
|
37177
|
+
"faceGallery.auditIdentitySamples": {
|
|
37178
|
+
capName: "face-gallery",
|
|
37179
|
+
capScope: "system",
|
|
37180
|
+
addonId: null,
|
|
37181
|
+
access: "view"
|
|
37182
|
+
},
|
|
37094
37183
|
"faceGallery.createIdentity": {
|
|
37095
37184
|
capName: "face-gallery",
|
|
37096
37185
|
capScope: "system",
|