@camstack/addon-export-alexa 1.2.89 → 1.2.91
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.
|
@@ -18689,11 +18689,30 @@ var SensorEventSchema = object({
|
|
|
18689
18689
|
value: record(string(), unknown()).nullable(),
|
|
18690
18690
|
timestamp: number()
|
|
18691
18691
|
});
|
|
18692
|
+
/**
|
|
18693
|
+
* One stored sighting on a track's trajectory.
|
|
18694
|
+
*
|
|
18695
|
+
* The array these live in is returned in TIME order (D399) — it is APPENDED in
|
|
18696
|
+
* arrival order, and the two detector passes interleave, so a consumer must not
|
|
18697
|
+
* assume the two are the same on a row written by an older build.
|
|
18698
|
+
*/
|
|
18692
18699
|
var TrackPositionSchema = object({
|
|
18693
18700
|
x: number(),
|
|
18694
18701
|
y: number(),
|
|
18695
18702
|
timestamp: number(),
|
|
18696
|
-
bbox: BoundingBoxSchema
|
|
18703
|
+
bbox: BoundingBoxSchema,
|
|
18704
|
+
/**
|
|
18705
|
+
* Which detector pass measured this box (D399): `frame` is the full-frame
|
|
18706
|
+
* pass on the analysis raster, `recovery` is the native-resolution
|
|
18707
|
+
* small-subject second pass (D377/D378). Both write into one array, and until
|
|
18708
|
+
* this field existed the only way to tell them apart was that full-frame boxes
|
|
18709
|
+
* are exact multiples of 1.2 while recovery boxes are full-precision floats.
|
|
18710
|
+
* Absent on rows written before D399.
|
|
18711
|
+
*/
|
|
18712
|
+
source: _enum(["frame", "recovery"]).optional(),
|
|
18713
|
+
/** Detection score of this box, so a position can be weighed and not only
|
|
18714
|
+
* plotted. Absent on rows written before D399. */
|
|
18715
|
+
score: number().optional()
|
|
18697
18716
|
});
|
|
18698
18717
|
var TrackSnapshotSchema = object({
|
|
18699
18718
|
timestamp: number(),
|
|
@@ -19093,14 +19112,25 @@ var TrackSchema = object({
|
|
|
19093
19112
|
*/
|
|
19094
19113
|
hasRider: boolean().optional(),
|
|
19095
19114
|
/**
|
|
19096
|
-
* WHY this track ended without a NATIVE best-shot
|
|
19097
|
-
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)
|
|
19115
|
+
* WHY this track ended without a NATIVE best-shot FRAME
|
|
19116
|
+
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
|
|
19117
|
+
* widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
|
|
19098
19118
|
* a composed token line (`no-key-frame capture=keyframe:native-missx4`,
|
|
19099
|
-
* `derive-returned-null tile=standin`,
|
|
19100
|
-
*
|
|
19101
|
-
*
|
|
19119
|
+
* `derive-returned-null tile=standin`,
|
|
19120
|
+
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
19121
|
+
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
19122
|
+
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
19102
19123
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
19103
19124
|
*
|
|
19125
|
+
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
19126
|
+
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
19127
|
+
* while its key frame missed carried no reason at all — three of the four
|
|
19128
|
+
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
19129
|
+
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
19130
|
+
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
19131
|
+
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
19132
|
+
* tile ended up being.
|
|
19133
|
+
*
|
|
19104
19134
|
* **Absent ≠ "missed silently"**: a row written before the column, a hub
|
|
19105
19135
|
* that predates the field, and every track whose tile landed native all
|
|
19106
19136
|
* omit it. Render nothing when absent.
|
|
@@ -24434,6 +24464,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
24434
24464
|
deviceId: number().int().optional(),
|
|
24435
24465
|
base64: string().optional()
|
|
24436
24466
|
});
|
|
24467
|
+
/**
|
|
24468
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
24469
|
+
*
|
|
24470
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
24471
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
24472
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
24473
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
24474
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
24475
|
+
* where every other cross-identity pair sits under 0.50.
|
|
24476
|
+
*/
|
|
24477
|
+
var IdentitySampleAuditRowSchema = object({
|
|
24478
|
+
sampleId: string(),
|
|
24479
|
+
enrolledAt: number().int(),
|
|
24480
|
+
deviceId: number().int().optional(),
|
|
24481
|
+
source: _enum(["detected", "photo"]),
|
|
24482
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
24483
|
+
mediaKey: string().optional(),
|
|
24484
|
+
/**
|
|
24485
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
24486
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
24487
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
24488
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
24489
|
+
*/
|
|
24490
|
+
comparable: boolean(),
|
|
24491
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
24492
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
24493
|
+
selfMean: number().nullable(),
|
|
24494
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
24495
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
24496
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
24497
|
+
bestForeign: object({
|
|
24498
|
+
identityId: string(),
|
|
24499
|
+
name: string(),
|
|
24500
|
+
score: number()
|
|
24501
|
+
}).optional(),
|
|
24502
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
24503
|
+
suspicion: number()
|
|
24504
|
+
});
|
|
24505
|
+
var IdentitySampleAuditSchema = object({
|
|
24506
|
+
identityId: string(),
|
|
24507
|
+
name: string(),
|
|
24508
|
+
/** The cluster face model every comparison was made in. */
|
|
24509
|
+
modelId: string(),
|
|
24510
|
+
totalSamples: number().int(),
|
|
24511
|
+
comparableSamples: number().int(),
|
|
24512
|
+
flagged: number().int(),
|
|
24513
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
24514
|
+
* only its current result. */
|
|
24515
|
+
flagThreshold: number(),
|
|
24516
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
24517
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
24518
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
24519
|
+
});
|
|
24437
24520
|
var FaceInfoSchema = object({
|
|
24438
24521
|
faceId: string(),
|
|
24439
24522
|
deviceId: number().int(),
|
|
@@ -24585,7 +24668,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
24585
24668
|
}), method(object({ id: string() }), _void(), {
|
|
24586
24669
|
kind: "mutation",
|
|
24587
24670
|
auth: "admin"
|
|
24588
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
24671
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
24589
24672
|
identityId: string(),
|
|
24590
24673
|
sampleId: string()
|
|
24591
24674
|
}), _void(), {
|
|
@@ -31812,6 +31895,12 @@ Object.freeze({
|
|
|
31812
31895
|
addonId: null,
|
|
31813
31896
|
access: "create"
|
|
31814
31897
|
},
|
|
31898
|
+
"faceGallery.auditIdentitySamples": {
|
|
31899
|
+
capName: "face-gallery",
|
|
31900
|
+
capScope: "system",
|
|
31901
|
+
addonId: null,
|
|
31902
|
+
access: "view"
|
|
31903
|
+
},
|
|
31815
31904
|
"faceGallery.createIdentity": {
|
|
31816
31905
|
capName: "face-gallery",
|
|
31817
31906
|
capScope: "system",
|
|
@@ -18662,11 +18662,30 @@ var SensorEventSchema = object({
|
|
|
18662
18662
|
value: record(string(), unknown()).nullable(),
|
|
18663
18663
|
timestamp: number()
|
|
18664
18664
|
});
|
|
18665
|
+
/**
|
|
18666
|
+
* One stored sighting on a track's trajectory.
|
|
18667
|
+
*
|
|
18668
|
+
* The array these live in is returned in TIME order (D399) — it is APPENDED in
|
|
18669
|
+
* arrival order, and the two detector passes interleave, so a consumer must not
|
|
18670
|
+
* assume the two are the same on a row written by an older build.
|
|
18671
|
+
*/
|
|
18665
18672
|
var TrackPositionSchema = object({
|
|
18666
18673
|
x: number(),
|
|
18667
18674
|
y: number(),
|
|
18668
18675
|
timestamp: number(),
|
|
18669
|
-
bbox: BoundingBoxSchema
|
|
18676
|
+
bbox: BoundingBoxSchema,
|
|
18677
|
+
/**
|
|
18678
|
+
* Which detector pass measured this box (D399): `frame` is the full-frame
|
|
18679
|
+
* pass on the analysis raster, `recovery` is the native-resolution
|
|
18680
|
+
* small-subject second pass (D377/D378). Both write into one array, and until
|
|
18681
|
+
* this field existed the only way to tell them apart was that full-frame boxes
|
|
18682
|
+
* are exact multiples of 1.2 while recovery boxes are full-precision floats.
|
|
18683
|
+
* Absent on rows written before D399.
|
|
18684
|
+
*/
|
|
18685
|
+
source: _enum(["frame", "recovery"]).optional(),
|
|
18686
|
+
/** Detection score of this box, so a position can be weighed and not only
|
|
18687
|
+
* plotted. Absent on rows written before D399. */
|
|
18688
|
+
score: number().optional()
|
|
18670
18689
|
});
|
|
18671
18690
|
var TrackSnapshotSchema = object({
|
|
18672
18691
|
timestamp: number(),
|
|
@@ -19066,14 +19085,25 @@ var TrackSchema = object({
|
|
|
19066
19085
|
*/
|
|
19067
19086
|
hasRider: boolean().optional(),
|
|
19068
19087
|
/**
|
|
19069
|
-
* WHY this track ended without a NATIVE best-shot
|
|
19070
|
-
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)
|
|
19088
|
+
* WHY this track ended without a NATIVE best-shot FRAME
|
|
19089
|
+
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
|
|
19090
|
+
* widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
|
|
19071
19091
|
* a composed token line (`no-key-frame capture=keyframe:native-missx4`,
|
|
19072
|
-
* `derive-returned-null tile=standin`,
|
|
19073
|
-
*
|
|
19074
|
-
*
|
|
19092
|
+
* `derive-returned-null tile=standin`,
|
|
19093
|
+
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
19094
|
+
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
19095
|
+
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
19075
19096
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
19076
19097
|
*
|
|
19098
|
+
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
19099
|
+
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
19100
|
+
* while its key frame missed carried no reason at all — three of the four
|
|
19101
|
+
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
19102
|
+
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
19103
|
+
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
19104
|
+
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
19105
|
+
* tile ended up being.
|
|
19106
|
+
*
|
|
19077
19107
|
* **Absent ≠ "missed silently"**: a row written before the column, a hub
|
|
19078
19108
|
* that predates the field, and every track whose tile landed native all
|
|
19079
19109
|
* omit it. Render nothing when absent.
|
|
@@ -24407,6 +24437,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
24407
24437
|
deviceId: number().int().optional(),
|
|
24408
24438
|
base64: string().optional()
|
|
24409
24439
|
});
|
|
24440
|
+
/**
|
|
24441
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
24442
|
+
*
|
|
24443
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
24444
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
24445
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
24446
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
24447
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
24448
|
+
* where every other cross-identity pair sits under 0.50.
|
|
24449
|
+
*/
|
|
24450
|
+
var IdentitySampleAuditRowSchema = object({
|
|
24451
|
+
sampleId: string(),
|
|
24452
|
+
enrolledAt: number().int(),
|
|
24453
|
+
deviceId: number().int().optional(),
|
|
24454
|
+
source: _enum(["detected", "photo"]),
|
|
24455
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
24456
|
+
mediaKey: string().optional(),
|
|
24457
|
+
/**
|
|
24458
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
24459
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
24460
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
24461
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
24462
|
+
*/
|
|
24463
|
+
comparable: boolean(),
|
|
24464
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
24465
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
24466
|
+
selfMean: number().nullable(),
|
|
24467
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
24468
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
24469
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
24470
|
+
bestForeign: object({
|
|
24471
|
+
identityId: string(),
|
|
24472
|
+
name: string(),
|
|
24473
|
+
score: number()
|
|
24474
|
+
}).optional(),
|
|
24475
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
24476
|
+
suspicion: number()
|
|
24477
|
+
});
|
|
24478
|
+
var IdentitySampleAuditSchema = object({
|
|
24479
|
+
identityId: string(),
|
|
24480
|
+
name: string(),
|
|
24481
|
+
/** The cluster face model every comparison was made in. */
|
|
24482
|
+
modelId: string(),
|
|
24483
|
+
totalSamples: number().int(),
|
|
24484
|
+
comparableSamples: number().int(),
|
|
24485
|
+
flagged: number().int(),
|
|
24486
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
24487
|
+
* only its current result. */
|
|
24488
|
+
flagThreshold: number(),
|
|
24489
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
24490
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
24491
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
24492
|
+
});
|
|
24410
24493
|
var FaceInfoSchema = object({
|
|
24411
24494
|
faceId: string(),
|
|
24412
24495
|
deviceId: number().int(),
|
|
@@ -24558,7 +24641,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
24558
24641
|
}), method(object({ id: string() }), _void(), {
|
|
24559
24642
|
kind: "mutation",
|
|
24560
24643
|
auth: "admin"
|
|
24561
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
24644
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
24562
24645
|
identityId: string(),
|
|
24563
24646
|
sampleId: string()
|
|
24564
24647
|
}), _void(), {
|
|
@@ -31785,6 +31868,12 @@ Object.freeze({
|
|
|
31785
31868
|
addonId: null,
|
|
31786
31869
|
access: "create"
|
|
31787
31870
|
},
|
|
31871
|
+
"faceGallery.auditIdentitySamples": {
|
|
31872
|
+
capName: "face-gallery",
|
|
31873
|
+
capScope: "system",
|
|
31874
|
+
addonId: null,
|
|
31875
|
+
access: "view"
|
|
31876
|
+
},
|
|
31788
31877
|
"faceGallery.createIdentity": {
|
|
31789
31878
|
capName: "face-gallery",
|
|
31790
31879
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-alexa",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.91",
|
|
4
4
|
"description": "Alexa Smart Home Skill export — hub-side OAuth provider + directive handler. The companion AWS Lambda forwards Alexa directives to this addon's /addon/export-alexa/directive endpoint.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|