@camstack/addon-provider-gree 0.2.81 → 0.2.83
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
|
@@ -18749,11 +18749,30 @@ var SensorEventSchema = object({
|
|
|
18749
18749
|
value: record(string(), unknown()).nullable(),
|
|
18750
18750
|
timestamp: number()
|
|
18751
18751
|
});
|
|
18752
|
+
/**
|
|
18753
|
+
* One stored sighting on a track's trajectory.
|
|
18754
|
+
*
|
|
18755
|
+
* The array these live in is returned in TIME order (D399) — it is APPENDED in
|
|
18756
|
+
* arrival order, and the two detector passes interleave, so a consumer must not
|
|
18757
|
+
* assume the two are the same on a row written by an older build.
|
|
18758
|
+
*/
|
|
18752
18759
|
var TrackPositionSchema = object({
|
|
18753
18760
|
x: number(),
|
|
18754
18761
|
y: number(),
|
|
18755
18762
|
timestamp: number(),
|
|
18756
|
-
bbox: BoundingBoxSchema
|
|
18763
|
+
bbox: BoundingBoxSchema,
|
|
18764
|
+
/**
|
|
18765
|
+
* Which detector pass measured this box (D399): `frame` is the full-frame
|
|
18766
|
+
* pass on the analysis raster, `recovery` is the native-resolution
|
|
18767
|
+
* small-subject second pass (D377/D378). Both write into one array, and until
|
|
18768
|
+
* this field existed the only way to tell them apart was that full-frame boxes
|
|
18769
|
+
* are exact multiples of 1.2 while recovery boxes are full-precision floats.
|
|
18770
|
+
* Absent on rows written before D399.
|
|
18771
|
+
*/
|
|
18772
|
+
source: _enum(["frame", "recovery"]).optional(),
|
|
18773
|
+
/** Detection score of this box, so a position can be weighed and not only
|
|
18774
|
+
* plotted. Absent on rows written before D399. */
|
|
18775
|
+
score: number().optional()
|
|
18757
18776
|
});
|
|
18758
18777
|
var TrackSnapshotSchema = object({
|
|
18759
18778
|
timestamp: number(),
|
|
@@ -19153,14 +19172,25 @@ var TrackSchema = object({
|
|
|
19153
19172
|
*/
|
|
19154
19173
|
hasRider: boolean().optional(),
|
|
19155
19174
|
/**
|
|
19156
|
-
* WHY this track ended without a NATIVE best-shot
|
|
19157
|
-
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)
|
|
19175
|
+
* WHY this track ended without a NATIVE best-shot FRAME
|
|
19176
|
+
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
|
|
19177
|
+
* widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
|
|
19158
19178
|
* a composed token line (`no-key-frame capture=keyframe:native-missx4`,
|
|
19159
|
-
* `derive-returned-null tile=standin`,
|
|
19160
|
-
*
|
|
19161
|
-
*
|
|
19179
|
+
* `derive-returned-null tile=standin`,
|
|
19180
|
+
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
19181
|
+
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
19182
|
+
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
19162
19183
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
19163
19184
|
*
|
|
19185
|
+
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
19186
|
+
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
19187
|
+
* while its key frame missed carried no reason at all — three of the four
|
|
19188
|
+
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
19189
|
+
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
19190
|
+
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
19191
|
+
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
19192
|
+
* tile ended up being.
|
|
19193
|
+
*
|
|
19164
19194
|
* **Absent ≠ "missed silently"**: a row written before the column, a hub
|
|
19165
19195
|
* that predates the field, and every track whose tile landed native all
|
|
19166
19196
|
* omit it. Render nothing when absent.
|
|
@@ -29197,8 +29227,27 @@ var PrivacyMaskRegionSchema = object({
|
|
|
29197
29227
|
/** Current on-camera privacy state — mask master enable + zones + microphone. */
|
|
29198
29228
|
var PrivacyMaskStatusSchema = object({
|
|
29199
29229
|
enabled: boolean(),
|
|
29200
|
-
/**
|
|
29201
|
-
|
|
29230
|
+
/**
|
|
29231
|
+
* Active zones (normalized 0..1). Length ≤ maxRegions.
|
|
29232
|
+
*
|
|
29233
|
+
* `null` means "no answer" — the provider has never reached this camera
|
|
29234
|
+
* (a cold `runtimeState` slice, a battery camera asleep) or the read
|
|
29235
|
+
* failed. A consumer must render it as UNKNOWN and never as "this camera
|
|
29236
|
+
* has no zones": those two look identical to an operator right up to the
|
|
29237
|
+
* moment one of them is acted on, and acting on them differs completely.
|
|
29238
|
+
* The switch group turned an unanswered read into *"nothing is set up for
|
|
29239
|
+
* it to act on"* — an instruction to go and draw a zone that already
|
|
29240
|
+
* exists — and this editor seeded an EMPTY canvas from it, one Save away
|
|
29241
|
+
* from deleting the mask it could not read.
|
|
29242
|
+
*
|
|
29243
|
+
* Empty-and-answered is `[]` and stays a real answer: this camera genuinely
|
|
29244
|
+
* has no zones. The distinction is the same one {@link
|
|
29245
|
+
* PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
|
|
29246
|
+
* microphone, on the very same payload — both planes come from ONE refresh,
|
|
29247
|
+
* so it was never coherent for one of them to be able to say "unknown"
|
|
29248
|
+
* while the other could not.
|
|
29249
|
+
*/
|
|
29250
|
+
regions: array(PrivacyMaskRegionSchema).nullable(),
|
|
29202
29251
|
/**
|
|
29203
29252
|
* Is the camera capturing sound right now? Read from the camera, never from
|
|
29204
29253
|
* a server-side mirror.
|
package/dist/addon.mjs
CHANGED
|
@@ -18748,11 +18748,30 @@ var SensorEventSchema = object({
|
|
|
18748
18748
|
value: record(string(), unknown()).nullable(),
|
|
18749
18749
|
timestamp: number()
|
|
18750
18750
|
});
|
|
18751
|
+
/**
|
|
18752
|
+
* One stored sighting on a track's trajectory.
|
|
18753
|
+
*
|
|
18754
|
+
* The array these live in is returned in TIME order (D399) — it is APPENDED in
|
|
18755
|
+
* arrival order, and the two detector passes interleave, so a consumer must not
|
|
18756
|
+
* assume the two are the same on a row written by an older build.
|
|
18757
|
+
*/
|
|
18751
18758
|
var TrackPositionSchema = object({
|
|
18752
18759
|
x: number(),
|
|
18753
18760
|
y: number(),
|
|
18754
18761
|
timestamp: number(),
|
|
18755
|
-
bbox: BoundingBoxSchema
|
|
18762
|
+
bbox: BoundingBoxSchema,
|
|
18763
|
+
/**
|
|
18764
|
+
* Which detector pass measured this box (D399): `frame` is the full-frame
|
|
18765
|
+
* pass on the analysis raster, `recovery` is the native-resolution
|
|
18766
|
+
* small-subject second pass (D377/D378). Both write into one array, and until
|
|
18767
|
+
* this field existed the only way to tell them apart was that full-frame boxes
|
|
18768
|
+
* are exact multiples of 1.2 while recovery boxes are full-precision floats.
|
|
18769
|
+
* Absent on rows written before D399.
|
|
18770
|
+
*/
|
|
18771
|
+
source: _enum(["frame", "recovery"]).optional(),
|
|
18772
|
+
/** Detection score of this box, so a position can be weighed and not only
|
|
18773
|
+
* plotted. Absent on rows written before D399. */
|
|
18774
|
+
score: number().optional()
|
|
18756
18775
|
});
|
|
18757
18776
|
var TrackSnapshotSchema = object({
|
|
18758
18777
|
timestamp: number(),
|
|
@@ -19152,14 +19171,25 @@ var TrackSchema = object({
|
|
|
19152
19171
|
*/
|
|
19153
19172
|
hasRider: boolean().optional(),
|
|
19154
19173
|
/**
|
|
19155
|
-
* WHY this track ended without a NATIVE best-shot
|
|
19156
|
-
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)
|
|
19174
|
+
* WHY this track ended without a NATIVE best-shot FRAME
|
|
19175
|
+
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
|
|
19176
|
+
* widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
|
|
19157
19177
|
* a composed token line (`no-key-frame capture=keyframe:native-missx4`,
|
|
19158
|
-
* `derive-returned-null tile=standin`,
|
|
19159
|
-
*
|
|
19160
|
-
*
|
|
19178
|
+
* `derive-returned-null tile=standin`,
|
|
19179
|
+
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
19180
|
+
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
19181
|
+
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
19161
19182
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
19162
19183
|
*
|
|
19184
|
+
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
19185
|
+
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
19186
|
+
* while its key frame missed carried no reason at all — three of the four
|
|
19187
|
+
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
19188
|
+
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
19189
|
+
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
19190
|
+
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
19191
|
+
* tile ended up being.
|
|
19192
|
+
*
|
|
19163
19193
|
* **Absent ≠ "missed silently"**: a row written before the column, a hub
|
|
19164
19194
|
* that predates the field, and every track whose tile landed native all
|
|
19165
19195
|
* omit it. Render nothing when absent.
|
|
@@ -29196,8 +29226,27 @@ var PrivacyMaskRegionSchema = object({
|
|
|
29196
29226
|
/** Current on-camera privacy state — mask master enable + zones + microphone. */
|
|
29197
29227
|
var PrivacyMaskStatusSchema = object({
|
|
29198
29228
|
enabled: boolean(),
|
|
29199
|
-
/**
|
|
29200
|
-
|
|
29229
|
+
/**
|
|
29230
|
+
* Active zones (normalized 0..1). Length ≤ maxRegions.
|
|
29231
|
+
*
|
|
29232
|
+
* `null` means "no answer" — the provider has never reached this camera
|
|
29233
|
+
* (a cold `runtimeState` slice, a battery camera asleep) or the read
|
|
29234
|
+
* failed. A consumer must render it as UNKNOWN and never as "this camera
|
|
29235
|
+
* has no zones": those two look identical to an operator right up to the
|
|
29236
|
+
* moment one of them is acted on, and acting on them differs completely.
|
|
29237
|
+
* The switch group turned an unanswered read into *"nothing is set up for
|
|
29238
|
+
* it to act on"* — an instruction to go and draw a zone that already
|
|
29239
|
+
* exists — and this editor seeded an EMPTY canvas from it, one Save away
|
|
29240
|
+
* from deleting the mask it could not read.
|
|
29241
|
+
*
|
|
29242
|
+
* Empty-and-answered is `[]` and stays a real answer: this camera genuinely
|
|
29243
|
+
* has no zones. The distinction is the same one {@link
|
|
29244
|
+
* PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
|
|
29245
|
+
* microphone, on the very same payload — both planes come from ONE refresh,
|
|
29246
|
+
* so it was never coherent for one of them to be able to say "unknown"
|
|
29247
|
+
* while the other could not.
|
|
29248
|
+
*/
|
|
29249
|
+
regions: array(PrivacyMaskRegionSchema).nullable(),
|
|
29201
29250
|
/**
|
|
29202
29251
|
* Is the camera capturing sound right now? Read from the camera, never from
|
|
29203
29252
|
* a server-side mirror.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-gree",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.83",
|
|
4
4
|
"description": "Gree air-conditioner device-provider addon for CamStack — wraps the @apocaliss92/nodegree local-UDP client (LAN discovery + AES control), exposing climate-control and fan-control",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|