@camstack/addon-provider-wyze 0.2.86 → 0.2.88
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 +57 -8
- package/dist/addon.mjs +57 -8
- 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.
|
|
@@ -29355,8 +29385,27 @@ var PrivacyMaskRegionSchema = object({
|
|
|
29355
29385
|
/** Current on-camera privacy state — mask master enable + zones + microphone. */
|
|
29356
29386
|
var PrivacyMaskStatusSchema = object({
|
|
29357
29387
|
enabled: boolean(),
|
|
29358
|
-
/**
|
|
29359
|
-
|
|
29388
|
+
/**
|
|
29389
|
+
* Active zones (normalized 0..1). Length ≤ maxRegions.
|
|
29390
|
+
*
|
|
29391
|
+
* `null` means "no answer" — the provider has never reached this camera
|
|
29392
|
+
* (a cold `runtimeState` slice, a battery camera asleep) or the read
|
|
29393
|
+
* failed. A consumer must render it as UNKNOWN and never as "this camera
|
|
29394
|
+
* has no zones": those two look identical to an operator right up to the
|
|
29395
|
+
* moment one of them is acted on, and acting on them differs completely.
|
|
29396
|
+
* The switch group turned an unanswered read into *"nothing is set up for
|
|
29397
|
+
* it to act on"* — an instruction to go and draw a zone that already
|
|
29398
|
+
* exists — and this editor seeded an EMPTY canvas from it, one Save away
|
|
29399
|
+
* from deleting the mask it could not read.
|
|
29400
|
+
*
|
|
29401
|
+
* Empty-and-answered is `[]` and stays a real answer: this camera genuinely
|
|
29402
|
+
* has no zones. The distinction is the same one {@link
|
|
29403
|
+
* PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
|
|
29404
|
+
* microphone, on the very same payload — both planes come from ONE refresh,
|
|
29405
|
+
* so it was never coherent for one of them to be able to say "unknown"
|
|
29406
|
+
* while the other could not.
|
|
29407
|
+
*/
|
|
29408
|
+
regions: array(PrivacyMaskRegionSchema).nullable(),
|
|
29360
29409
|
/**
|
|
29361
29410
|
* Is the camera capturing sound right now? Read from the camera, never from
|
|
29362
29411
|
* a server-side mirror.
|
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.
|
|
@@ -29334,8 +29364,27 @@ var PrivacyMaskRegionSchema = object({
|
|
|
29334
29364
|
/** Current on-camera privacy state — mask master enable + zones + microphone. */
|
|
29335
29365
|
var PrivacyMaskStatusSchema = object({
|
|
29336
29366
|
enabled: boolean(),
|
|
29337
|
-
/**
|
|
29338
|
-
|
|
29367
|
+
/**
|
|
29368
|
+
* Active zones (normalized 0..1). Length ≤ maxRegions.
|
|
29369
|
+
*
|
|
29370
|
+
* `null` means "no answer" — the provider has never reached this camera
|
|
29371
|
+
* (a cold `runtimeState` slice, a battery camera asleep) or the read
|
|
29372
|
+
* failed. A consumer must render it as UNKNOWN and never as "this camera
|
|
29373
|
+
* has no zones": those two look identical to an operator right up to the
|
|
29374
|
+
* moment one of them is acted on, and acting on them differs completely.
|
|
29375
|
+
* The switch group turned an unanswered read into *"nothing is set up for
|
|
29376
|
+
* it to act on"* — an instruction to go and draw a zone that already
|
|
29377
|
+
* exists — and this editor seeded an EMPTY canvas from it, one Save away
|
|
29378
|
+
* from deleting the mask it could not read.
|
|
29379
|
+
*
|
|
29380
|
+
* Empty-and-answered is `[]` and stays a real answer: this camera genuinely
|
|
29381
|
+
* has no zones. The distinction is the same one {@link
|
|
29382
|
+
* PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
|
|
29383
|
+
* microphone, on the very same payload — both planes come from ONE refresh,
|
|
29384
|
+
* so it was never coherent for one of them to be able to say "unknown"
|
|
29385
|
+
* while the other could not.
|
|
29386
|
+
*/
|
|
29387
|
+
regions: array(PrivacyMaskRegionSchema).nullable(),
|
|
29339
29388
|
/**
|
|
29340
29389
|
* Is the camera capturing sound right now? Read from the camera, never from
|
|
29341
29390
|
* a server-side mirror.
|
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.88",
|
|
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",
|