@camstack/addon-export-google 0.1.47 → 0.1.49
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.
|
@@ -18660,11 +18660,30 @@ var SensorEventSchema = object({
|
|
|
18660
18660
|
value: record(string(), unknown()).nullable(),
|
|
18661
18661
|
timestamp: number()
|
|
18662
18662
|
});
|
|
18663
|
+
/**
|
|
18664
|
+
* One stored sighting on a track's trajectory.
|
|
18665
|
+
*
|
|
18666
|
+
* The array these live in is returned in TIME order (D399) — it is APPENDED in
|
|
18667
|
+
* arrival order, and the two detector passes interleave, so a consumer must not
|
|
18668
|
+
* assume the two are the same on a row written by an older build.
|
|
18669
|
+
*/
|
|
18663
18670
|
var TrackPositionSchema = object({
|
|
18664
18671
|
x: number(),
|
|
18665
18672
|
y: number(),
|
|
18666
18673
|
timestamp: number(),
|
|
18667
|
-
bbox: BoundingBoxSchema
|
|
18674
|
+
bbox: BoundingBoxSchema,
|
|
18675
|
+
/**
|
|
18676
|
+
* Which detector pass measured this box (D399): `frame` is the full-frame
|
|
18677
|
+
* pass on the analysis raster, `recovery` is the native-resolution
|
|
18678
|
+
* small-subject second pass (D377/D378). Both write into one array, and until
|
|
18679
|
+
* this field existed the only way to tell them apart was that full-frame boxes
|
|
18680
|
+
* are exact multiples of 1.2 while recovery boxes are full-precision floats.
|
|
18681
|
+
* Absent on rows written before D399.
|
|
18682
|
+
*/
|
|
18683
|
+
source: _enum(["frame", "recovery"]).optional(),
|
|
18684
|
+
/** Detection score of this box, so a position can be weighed and not only
|
|
18685
|
+
* plotted. Absent on rows written before D399. */
|
|
18686
|
+
score: number().optional()
|
|
18668
18687
|
});
|
|
18669
18688
|
var TrackSnapshotSchema = object({
|
|
18670
18689
|
timestamp: number(),
|
|
@@ -19064,14 +19083,25 @@ var TrackSchema = object({
|
|
|
19064
19083
|
*/
|
|
19065
19084
|
hasRider: boolean().optional(),
|
|
19066
19085
|
/**
|
|
19067
|
-
* WHY this track ended without a NATIVE best-shot
|
|
19068
|
-
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)
|
|
19086
|
+
* WHY this track ended without a NATIVE best-shot FRAME
|
|
19087
|
+
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
|
|
19088
|
+
* widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
|
|
19069
19089
|
* a composed token line (`no-key-frame capture=keyframe:native-missx4`,
|
|
19070
|
-
* `derive-returned-null tile=standin`,
|
|
19071
|
-
*
|
|
19072
|
-
*
|
|
19090
|
+
* `derive-returned-null tile=standin`,
|
|
19091
|
+
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
19092
|
+
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
19093
|
+
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
19073
19094
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
19074
19095
|
*
|
|
19096
|
+
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
19097
|
+
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
19098
|
+
* while its key frame missed carried no reason at all — three of the four
|
|
19099
|
+
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
19100
|
+
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
19101
|
+
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
19102
|
+
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
19103
|
+
* tile ended up being.
|
|
19104
|
+
*
|
|
19075
19105
|
* **Absent ≠ "missed silently"**: a row written before the column, a hub
|
|
19076
19106
|
* that predates the field, and every track whose tile landed native all
|
|
19077
19107
|
* omit it. Render nothing when absent.
|
|
@@ -24417,6 +24447,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
24417
24447
|
deviceId: number().int().optional(),
|
|
24418
24448
|
base64: string().optional()
|
|
24419
24449
|
});
|
|
24450
|
+
/**
|
|
24451
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
24452
|
+
*
|
|
24453
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
24454
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
24455
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
24456
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
24457
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
24458
|
+
* where every other cross-identity pair sits under 0.50.
|
|
24459
|
+
*/
|
|
24460
|
+
var IdentitySampleAuditRowSchema = object({
|
|
24461
|
+
sampleId: string(),
|
|
24462
|
+
enrolledAt: number().int(),
|
|
24463
|
+
deviceId: number().int().optional(),
|
|
24464
|
+
source: _enum(["detected", "photo"]),
|
|
24465
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
24466
|
+
mediaKey: string().optional(),
|
|
24467
|
+
/**
|
|
24468
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
24469
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
24470
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
24471
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
24472
|
+
*/
|
|
24473
|
+
comparable: boolean(),
|
|
24474
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
24475
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
24476
|
+
selfMean: number().nullable(),
|
|
24477
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
24478
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
24479
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
24480
|
+
bestForeign: object({
|
|
24481
|
+
identityId: string(),
|
|
24482
|
+
name: string(),
|
|
24483
|
+
score: number()
|
|
24484
|
+
}).optional(),
|
|
24485
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
24486
|
+
suspicion: number()
|
|
24487
|
+
});
|
|
24488
|
+
var IdentitySampleAuditSchema = object({
|
|
24489
|
+
identityId: string(),
|
|
24490
|
+
name: string(),
|
|
24491
|
+
/** The cluster face model every comparison was made in. */
|
|
24492
|
+
modelId: string(),
|
|
24493
|
+
totalSamples: number().int(),
|
|
24494
|
+
comparableSamples: number().int(),
|
|
24495
|
+
flagged: number().int(),
|
|
24496
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
24497
|
+
* only its current result. */
|
|
24498
|
+
flagThreshold: number(),
|
|
24499
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
24500
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
24501
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
24502
|
+
});
|
|
24420
24503
|
var FaceInfoSchema = object({
|
|
24421
24504
|
faceId: string(),
|
|
24422
24505
|
deviceId: number().int(),
|
|
@@ -24568,7 +24651,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
24568
24651
|
}), method(object({ id: string() }), _void(), {
|
|
24569
24652
|
kind: "mutation",
|
|
24570
24653
|
auth: "admin"
|
|
24571
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
24654
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
24572
24655
|
identityId: string(),
|
|
24573
24656
|
sampleId: string()
|
|
24574
24657
|
}), _void(), {
|
|
@@ -31802,6 +31885,12 @@ Object.freeze({
|
|
|
31802
31885
|
addonId: null,
|
|
31803
31886
|
access: "create"
|
|
31804
31887
|
},
|
|
31888
|
+
"faceGallery.auditIdentitySamples": {
|
|
31889
|
+
capName: "face-gallery",
|
|
31890
|
+
capScope: "system",
|
|
31891
|
+
addonId: null,
|
|
31892
|
+
access: "view"
|
|
31893
|
+
},
|
|
31805
31894
|
"faceGallery.createIdentity": {
|
|
31806
31895
|
capName: "face-gallery",
|
|
31807
31896
|
capScope: "system",
|
|
@@ -18656,11 +18656,30 @@ var SensorEventSchema = object({
|
|
|
18656
18656
|
value: record(string(), unknown()).nullable(),
|
|
18657
18657
|
timestamp: number()
|
|
18658
18658
|
});
|
|
18659
|
+
/**
|
|
18660
|
+
* One stored sighting on a track's trajectory.
|
|
18661
|
+
*
|
|
18662
|
+
* The array these live in is returned in TIME order (D399) — it is APPENDED in
|
|
18663
|
+
* arrival order, and the two detector passes interleave, so a consumer must not
|
|
18664
|
+
* assume the two are the same on a row written by an older build.
|
|
18665
|
+
*/
|
|
18659
18666
|
var TrackPositionSchema = object({
|
|
18660
18667
|
x: number(),
|
|
18661
18668
|
y: number(),
|
|
18662
18669
|
timestamp: number(),
|
|
18663
|
-
bbox: BoundingBoxSchema
|
|
18670
|
+
bbox: BoundingBoxSchema,
|
|
18671
|
+
/**
|
|
18672
|
+
* Which detector pass measured this box (D399): `frame` is the full-frame
|
|
18673
|
+
* pass on the analysis raster, `recovery` is the native-resolution
|
|
18674
|
+
* small-subject second pass (D377/D378). Both write into one array, and until
|
|
18675
|
+
* this field existed the only way to tell them apart was that full-frame boxes
|
|
18676
|
+
* are exact multiples of 1.2 while recovery boxes are full-precision floats.
|
|
18677
|
+
* Absent on rows written before D399.
|
|
18678
|
+
*/
|
|
18679
|
+
source: _enum(["frame", "recovery"]).optional(),
|
|
18680
|
+
/** Detection score of this box, so a position can be weighed and not only
|
|
18681
|
+
* plotted. Absent on rows written before D399. */
|
|
18682
|
+
score: number().optional()
|
|
18664
18683
|
});
|
|
18665
18684
|
var TrackSnapshotSchema = object({
|
|
18666
18685
|
timestamp: number(),
|
|
@@ -19060,14 +19079,25 @@ var TrackSchema = object({
|
|
|
19060
19079
|
*/
|
|
19061
19080
|
hasRider: boolean().optional(),
|
|
19062
19081
|
/**
|
|
19063
|
-
* WHY this track ended without a NATIVE best-shot
|
|
19064
|
-
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)
|
|
19082
|
+
* WHY this track ended without a NATIVE best-shot FRAME
|
|
19083
|
+
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
|
|
19084
|
+
* widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
|
|
19065
19085
|
* a composed token line (`no-key-frame capture=keyframe:native-missx4`,
|
|
19066
|
-
* `derive-returned-null tile=standin`,
|
|
19067
|
-
*
|
|
19068
|
-
*
|
|
19086
|
+
* `derive-returned-null tile=standin`,
|
|
19087
|
+
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
19088
|
+
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
19089
|
+
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
19069
19090
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
19070
19091
|
*
|
|
19092
|
+
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
19093
|
+
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
19094
|
+
* while its key frame missed carried no reason at all — three of the four
|
|
19095
|
+
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
19096
|
+
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
19097
|
+
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
19098
|
+
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
19099
|
+
* tile ended up being.
|
|
19100
|
+
*
|
|
19071
19101
|
* **Absent ≠ "missed silently"**: a row written before the column, a hub
|
|
19072
19102
|
* that predates the field, and every track whose tile landed native all
|
|
19073
19103
|
* omit it. Render nothing when absent.
|
|
@@ -24413,6 +24443,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
24413
24443
|
deviceId: number().int().optional(),
|
|
24414
24444
|
base64: string().optional()
|
|
24415
24445
|
});
|
|
24446
|
+
/**
|
|
24447
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
24448
|
+
*
|
|
24449
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
24450
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
24451
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
24452
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
24453
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
24454
|
+
* where every other cross-identity pair sits under 0.50.
|
|
24455
|
+
*/
|
|
24456
|
+
var IdentitySampleAuditRowSchema = object({
|
|
24457
|
+
sampleId: string(),
|
|
24458
|
+
enrolledAt: number().int(),
|
|
24459
|
+
deviceId: number().int().optional(),
|
|
24460
|
+
source: _enum(["detected", "photo"]),
|
|
24461
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
24462
|
+
mediaKey: string().optional(),
|
|
24463
|
+
/**
|
|
24464
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
24465
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
24466
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
24467
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
24468
|
+
*/
|
|
24469
|
+
comparable: boolean(),
|
|
24470
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
24471
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
24472
|
+
selfMean: number().nullable(),
|
|
24473
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
24474
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
24475
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
24476
|
+
bestForeign: object({
|
|
24477
|
+
identityId: string(),
|
|
24478
|
+
name: string(),
|
|
24479
|
+
score: number()
|
|
24480
|
+
}).optional(),
|
|
24481
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
24482
|
+
suspicion: number()
|
|
24483
|
+
});
|
|
24484
|
+
var IdentitySampleAuditSchema = object({
|
|
24485
|
+
identityId: string(),
|
|
24486
|
+
name: string(),
|
|
24487
|
+
/** The cluster face model every comparison was made in. */
|
|
24488
|
+
modelId: string(),
|
|
24489
|
+
totalSamples: number().int(),
|
|
24490
|
+
comparableSamples: number().int(),
|
|
24491
|
+
flagged: number().int(),
|
|
24492
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
24493
|
+
* only its current result. */
|
|
24494
|
+
flagThreshold: number(),
|
|
24495
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
24496
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
24497
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
24498
|
+
});
|
|
24416
24499
|
var FaceInfoSchema = object({
|
|
24417
24500
|
faceId: string(),
|
|
24418
24501
|
deviceId: number().int(),
|
|
@@ -24564,7 +24647,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
24564
24647
|
}), method(object({ id: string() }), _void(), {
|
|
24565
24648
|
kind: "mutation",
|
|
24566
24649
|
auth: "admin"
|
|
24567
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
24650
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
24568
24651
|
identityId: string(),
|
|
24569
24652
|
sampleId: string()
|
|
24570
24653
|
}), _void(), {
|
|
@@ -31798,6 +31881,12 @@ Object.freeze({
|
|
|
31798
31881
|
addonId: null,
|
|
31799
31882
|
access: "create"
|
|
31800
31883
|
},
|
|
31884
|
+
"faceGallery.auditIdentitySamples": {
|
|
31885
|
+
capName: "face-gallery",
|
|
31886
|
+
capScope: "system",
|
|
31887
|
+
addonId: null,
|
|
31888
|
+
access: "view"
|
|
31889
|
+
},
|
|
31801
31890
|
"faceGallery.createIdentity": {
|
|
31802
31891
|
capName: "face-gallery",
|
|
31803
31892
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-google",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.49",
|
|
4
4
|
"description": "Google Home export — hub-side smart-home fulfillment (SYNC / QUERY / EXECUTE / DISCONNECT) for the non-camera fleet, served over the hub's own OAuth account link. No Google credential is stored, sent or required.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|