@camstack/addon-provider-wyze 0.2.87 → 0.2.89
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
|
@@ -18795,11 +18795,30 @@ var SensorEventSchema = object({
|
|
|
18795
18795
|
value: record(string(), unknown()).nullable(),
|
|
18796
18796
|
timestamp: number()
|
|
18797
18797
|
});
|
|
18798
|
+
/**
|
|
18799
|
+
* One stored sighting on a track's trajectory.
|
|
18800
|
+
*
|
|
18801
|
+
* The array these live in is returned in TIME order (D399) — it is APPENDED in
|
|
18802
|
+
* arrival order, and the two detector passes interleave, so a consumer must not
|
|
18803
|
+
* assume the two are the same on a row written by an older build.
|
|
18804
|
+
*/
|
|
18798
18805
|
var TrackPositionSchema = object({
|
|
18799
18806
|
x: number(),
|
|
18800
18807
|
y: number(),
|
|
18801
18808
|
timestamp: number(),
|
|
18802
|
-
bbox: BoundingBoxSchema
|
|
18809
|
+
bbox: BoundingBoxSchema,
|
|
18810
|
+
/**
|
|
18811
|
+
* Which detector pass measured this box (D399): `frame` is the full-frame
|
|
18812
|
+
* pass on the analysis raster, `recovery` is the native-resolution
|
|
18813
|
+
* small-subject second pass (D377/D378). Both write into one array, and until
|
|
18814
|
+
* this field existed the only way to tell them apart was that full-frame boxes
|
|
18815
|
+
* are exact multiples of 1.2 while recovery boxes are full-precision floats.
|
|
18816
|
+
* Absent on rows written before D399.
|
|
18817
|
+
*/
|
|
18818
|
+
source: _enum(["frame", "recovery"]).optional(),
|
|
18819
|
+
/** Detection score of this box, so a position can be weighed and not only
|
|
18820
|
+
* plotted. Absent on rows written before D399. */
|
|
18821
|
+
score: number().optional()
|
|
18803
18822
|
});
|
|
18804
18823
|
var TrackSnapshotSchema = object({
|
|
18805
18824
|
timestamp: number(),
|
|
@@ -19199,14 +19218,25 @@ var TrackSchema = object({
|
|
|
19199
19218
|
*/
|
|
19200
19219
|
hasRider: boolean().optional(),
|
|
19201
19220
|
/**
|
|
19202
|
-
* WHY this track ended without a NATIVE best-shot
|
|
19203
|
-
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)
|
|
19221
|
+
* WHY this track ended without a NATIVE best-shot FRAME
|
|
19222
|
+
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
|
|
19223
|
+
* widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
|
|
19204
19224
|
* a composed token line (`no-key-frame capture=keyframe:native-missx4`,
|
|
19205
|
-
* `derive-returned-null tile=standin`,
|
|
19206
|
-
*
|
|
19207
|
-
*
|
|
19225
|
+
* `derive-returned-null tile=standin`,
|
|
19226
|
+
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
19227
|
+
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
19228
|
+
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
19208
19229
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
19209
19230
|
*
|
|
19231
|
+
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
19232
|
+
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
19233
|
+
* while its key frame missed carried no reason at all — three of the four
|
|
19234
|
+
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
19235
|
+
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
19236
|
+
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
19237
|
+
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
19238
|
+
* tile ended up being.
|
|
19239
|
+
*
|
|
19210
19240
|
* **Absent ≠ "missed silently"**: a row written before the column, a hub
|
|
19211
19241
|
* that predates the field, and every track whose tile landed native all
|
|
19212
19242
|
* omit it. Render nothing when absent.
|
|
@@ -25382,6 +25412,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
25382
25412
|
deviceId: number().int().optional(),
|
|
25383
25413
|
base64: string().optional()
|
|
25384
25414
|
});
|
|
25415
|
+
/**
|
|
25416
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
25417
|
+
*
|
|
25418
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
25419
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
25420
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
25421
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
25422
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
25423
|
+
* where every other cross-identity pair sits under 0.50.
|
|
25424
|
+
*/
|
|
25425
|
+
var IdentitySampleAuditRowSchema = object({
|
|
25426
|
+
sampleId: string(),
|
|
25427
|
+
enrolledAt: number().int(),
|
|
25428
|
+
deviceId: number().int().optional(),
|
|
25429
|
+
source: _enum(["detected", "photo"]),
|
|
25430
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
25431
|
+
mediaKey: string().optional(),
|
|
25432
|
+
/**
|
|
25433
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
25434
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
25435
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
25436
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
25437
|
+
*/
|
|
25438
|
+
comparable: boolean(),
|
|
25439
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
25440
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
25441
|
+
selfMean: number().nullable(),
|
|
25442
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
25443
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
25444
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
25445
|
+
bestForeign: object({
|
|
25446
|
+
identityId: string(),
|
|
25447
|
+
name: string(),
|
|
25448
|
+
score: number()
|
|
25449
|
+
}).optional(),
|
|
25450
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
25451
|
+
suspicion: number()
|
|
25452
|
+
});
|
|
25453
|
+
var IdentitySampleAuditSchema = object({
|
|
25454
|
+
identityId: string(),
|
|
25455
|
+
name: string(),
|
|
25456
|
+
/** The cluster face model every comparison was made in. */
|
|
25457
|
+
modelId: string(),
|
|
25458
|
+
totalSamples: number().int(),
|
|
25459
|
+
comparableSamples: number().int(),
|
|
25460
|
+
flagged: number().int(),
|
|
25461
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
25462
|
+
* only its current result. */
|
|
25463
|
+
flagThreshold: number(),
|
|
25464
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
25465
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
25466
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
25467
|
+
});
|
|
25385
25468
|
var FaceInfoSchema = object({
|
|
25386
25469
|
faceId: string(),
|
|
25387
25470
|
deviceId: number().int(),
|
|
@@ -25533,7 +25616,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
25533
25616
|
}), method(object({ id: string() }), _void(), {
|
|
25534
25617
|
kind: "mutation",
|
|
25535
25618
|
auth: "admin"
|
|
25536
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
25619
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
25537
25620
|
identityId: string(),
|
|
25538
25621
|
sampleId: string()
|
|
25539
25622
|
}), _void(), {
|
|
@@ -36026,6 +36109,12 @@ Object.freeze({
|
|
|
36026
36109
|
addonId: null,
|
|
36027
36110
|
access: "create"
|
|
36028
36111
|
},
|
|
36112
|
+
"faceGallery.auditIdentitySamples": {
|
|
36113
|
+
capName: "face-gallery",
|
|
36114
|
+
capScope: "system",
|
|
36115
|
+
addonId: null,
|
|
36116
|
+
access: "view"
|
|
36117
|
+
},
|
|
36029
36118
|
"faceGallery.createIdentity": {
|
|
36030
36119
|
capName: "face-gallery",
|
|
36031
36120
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -18774,11 +18774,30 @@ var SensorEventSchema = object({
|
|
|
18774
18774
|
value: record(string(), unknown()).nullable(),
|
|
18775
18775
|
timestamp: number()
|
|
18776
18776
|
});
|
|
18777
|
+
/**
|
|
18778
|
+
* One stored sighting on a track's trajectory.
|
|
18779
|
+
*
|
|
18780
|
+
* The array these live in is returned in TIME order (D399) — it is APPENDED in
|
|
18781
|
+
* arrival order, and the two detector passes interleave, so a consumer must not
|
|
18782
|
+
* assume the two are the same on a row written by an older build.
|
|
18783
|
+
*/
|
|
18777
18784
|
var TrackPositionSchema = object({
|
|
18778
18785
|
x: number(),
|
|
18779
18786
|
y: number(),
|
|
18780
18787
|
timestamp: number(),
|
|
18781
|
-
bbox: BoundingBoxSchema
|
|
18788
|
+
bbox: BoundingBoxSchema,
|
|
18789
|
+
/**
|
|
18790
|
+
* Which detector pass measured this box (D399): `frame` is the full-frame
|
|
18791
|
+
* pass on the analysis raster, `recovery` is the native-resolution
|
|
18792
|
+
* small-subject second pass (D377/D378). Both write into one array, and until
|
|
18793
|
+
* this field existed the only way to tell them apart was that full-frame boxes
|
|
18794
|
+
* are exact multiples of 1.2 while recovery boxes are full-precision floats.
|
|
18795
|
+
* Absent on rows written before D399.
|
|
18796
|
+
*/
|
|
18797
|
+
source: _enum(["frame", "recovery"]).optional(),
|
|
18798
|
+
/** Detection score of this box, so a position can be weighed and not only
|
|
18799
|
+
* plotted. Absent on rows written before D399. */
|
|
18800
|
+
score: number().optional()
|
|
18782
18801
|
});
|
|
18783
18802
|
var TrackSnapshotSchema = object({
|
|
18784
18803
|
timestamp: number(),
|
|
@@ -19178,14 +19197,25 @@ var TrackSchema = object({
|
|
|
19178
19197
|
*/
|
|
19179
19198
|
hasRider: boolean().optional(),
|
|
19180
19199
|
/**
|
|
19181
|
-
* WHY this track ended without a NATIVE best-shot
|
|
19182
|
-
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)
|
|
19200
|
+
* WHY this track ended without a NATIVE best-shot FRAME
|
|
19201
|
+
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
|
|
19202
|
+
* widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
|
|
19183
19203
|
* a composed token line (`no-key-frame capture=keyframe:native-missx4`,
|
|
19184
|
-
* `derive-returned-null tile=standin`,
|
|
19185
|
-
*
|
|
19186
|
-
*
|
|
19204
|
+
* `derive-returned-null tile=standin`,
|
|
19205
|
+
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
19206
|
+
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
19207
|
+
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
19187
19208
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
19188
19209
|
*
|
|
19210
|
+
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
19211
|
+
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
19212
|
+
* while its key frame missed carried no reason at all — three of the four
|
|
19213
|
+
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
19214
|
+
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
19215
|
+
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
19216
|
+
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
19217
|
+
* tile ended up being.
|
|
19218
|
+
*
|
|
19189
19219
|
* **Absent ≠ "missed silently"**: a row written before the column, a hub
|
|
19190
19220
|
* that predates the field, and every track whose tile landed native all
|
|
19191
19221
|
* omit it. Render nothing when absent.
|
|
@@ -25361,6 +25391,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
25361
25391
|
deviceId: number().int().optional(),
|
|
25362
25392
|
base64: string().optional()
|
|
25363
25393
|
});
|
|
25394
|
+
/**
|
|
25395
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
25396
|
+
*
|
|
25397
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
25398
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
25399
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
25400
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
25401
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
25402
|
+
* where every other cross-identity pair sits under 0.50.
|
|
25403
|
+
*/
|
|
25404
|
+
var IdentitySampleAuditRowSchema = object({
|
|
25405
|
+
sampleId: string(),
|
|
25406
|
+
enrolledAt: number().int(),
|
|
25407
|
+
deviceId: number().int().optional(),
|
|
25408
|
+
source: _enum(["detected", "photo"]),
|
|
25409
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
25410
|
+
mediaKey: string().optional(),
|
|
25411
|
+
/**
|
|
25412
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
25413
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
25414
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
25415
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
25416
|
+
*/
|
|
25417
|
+
comparable: boolean(),
|
|
25418
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
25419
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
25420
|
+
selfMean: number().nullable(),
|
|
25421
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
25422
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
25423
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
25424
|
+
bestForeign: object({
|
|
25425
|
+
identityId: string(),
|
|
25426
|
+
name: string(),
|
|
25427
|
+
score: number()
|
|
25428
|
+
}).optional(),
|
|
25429
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
25430
|
+
suspicion: number()
|
|
25431
|
+
});
|
|
25432
|
+
var IdentitySampleAuditSchema = object({
|
|
25433
|
+
identityId: string(),
|
|
25434
|
+
name: string(),
|
|
25435
|
+
/** The cluster face model every comparison was made in. */
|
|
25436
|
+
modelId: string(),
|
|
25437
|
+
totalSamples: number().int(),
|
|
25438
|
+
comparableSamples: number().int(),
|
|
25439
|
+
flagged: number().int(),
|
|
25440
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
25441
|
+
* only its current result. */
|
|
25442
|
+
flagThreshold: number(),
|
|
25443
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
25444
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
25445
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
25446
|
+
});
|
|
25364
25447
|
var FaceInfoSchema = object({
|
|
25365
25448
|
faceId: string(),
|
|
25366
25449
|
deviceId: number().int(),
|
|
@@ -25512,7 +25595,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
25512
25595
|
}), method(object({ id: string() }), _void(), {
|
|
25513
25596
|
kind: "mutation",
|
|
25514
25597
|
auth: "admin"
|
|
25515
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
25598
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
25516
25599
|
identityId: string(),
|
|
25517
25600
|
sampleId: string()
|
|
25518
25601
|
}), _void(), {
|
|
@@ -36005,6 +36088,12 @@ Object.freeze({
|
|
|
36005
36088
|
addonId: null,
|
|
36006
36089
|
access: "create"
|
|
36007
36090
|
},
|
|
36091
|
+
"faceGallery.auditIdentitySamples": {
|
|
36092
|
+
capName: "face-gallery",
|
|
36093
|
+
capScope: "system",
|
|
36094
|
+
addonId: null,
|
|
36095
|
+
access: "view"
|
|
36096
|
+
},
|
|
36008
36097
|
"faceGallery.createIdentity": {
|
|
36009
36098
|
capName: "face-gallery",
|
|
36010
36099
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-wyze",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.89",
|
|
4
4
|
"description": "Wyze camera device-provider addon for CamStack — wraps the @apocaliss92/wyze-bridge-js P2P/DTLS client, feeding the stream-broker via the pull-rfc4571 lazy-publish path (a structural twin of addon-provider-reolink)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|