@camstack/addon-import-alexa 0.2.0 → 0.2.1

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 CHANGED
@@ -12819,7 +12819,21 @@ var NativeCropResultSchema = object({
12819
12819
  /** Packed rgb (24-bit) pixels of the crop. */
12820
12820
  bytes: _instanceof(Uint8Array),
12821
12821
  width: number().int().positive(),
12822
- height: number().int().positive()
12822
+ height: number().int().positive(),
12823
+ /**
12824
+ * Which source served this crop, so a quality-sensitive consumer (the native
12825
+ * `keyFrame`) can reject a degraded fallback:
12826
+ * - `native` — cut from the decode worker's retained NATIVE surface (the
12827
+ * quality path).
12828
+ * - `ram-fullframe` — the native surface MISSED but the request was full-frame,
12829
+ * so the ≤640 RAM `RetainedFrameStore` served it (honest lower-res; legit for
12830
+ * the blank-frame guard / 640-snapshot resolve, NOT for the clean keyFrame).
12831
+ *
12832
+ * OPTIONAL: a pre-tier runner (version skew) omits it — an ABSENT `tier` MUST be
12833
+ * treated as `native` (accepted) by every consumer so mixed-version clusters
12834
+ * keep the pre-tier behaviour. An ROI miss returns `null` (no tier at all).
12835
+ */
12836
+ tier: _enum(["native", "ram-fullframe"]).optional()
12823
12837
  });
12824
12838
  /** Parent detection context passed to `runDetailSubtree` — the crop's
12825
12839
  * originating detection, in FRAME-space coordinates. Reuses
@@ -17908,7 +17922,8 @@ var LinkedDeviceSchema = object({
17908
17922
  deviceId: number(),
17909
17923
  name: string(),
17910
17924
  location: string().nullable(),
17911
- features: array(string())
17925
+ features: array(string()),
17926
+ producesTrackedEvents: boolean().optional()
17912
17927
  });
17913
17928
  var SavedDeviceRowSchema = object({
17914
17929
  /** Numeric id reserved at allocateDeviceId time. */
@@ -19538,6 +19553,7 @@ var TrackSchema = object({
19538
19553
  deviceId: number(),
19539
19554
  className: string(),
19540
19555
  label: string().optional(),
19556
+ producingDeviceName: string().optional(),
19541
19557
  /** Track provenance. Absent ⇒ `pipeline` (legacy rows). */
19542
19558
  source: TrackSourceSchema.optional(),
19543
19559
  firstSeen: number(),
@@ -19675,7 +19691,8 @@ var MediaFileKindEnum = _enum([
19675
19691
  "fullFrameBoxed",
19676
19692
  "faceCrop",
19677
19693
  "plateCrop",
19678
- "keyFrame"
19694
+ "keyFrame",
19695
+ "keyFrameSmall"
19679
19696
  ]);
19680
19697
  var MediaFileSchema = object({
19681
19698
  key: string(),
package/dist/addon.mjs CHANGED
@@ -12819,7 +12819,21 @@ var NativeCropResultSchema = object({
12819
12819
  /** Packed rgb (24-bit) pixels of the crop. */
12820
12820
  bytes: _instanceof(Uint8Array),
12821
12821
  width: number().int().positive(),
12822
- height: number().int().positive()
12822
+ height: number().int().positive(),
12823
+ /**
12824
+ * Which source served this crop, so a quality-sensitive consumer (the native
12825
+ * `keyFrame`) can reject a degraded fallback:
12826
+ * - `native` — cut from the decode worker's retained NATIVE surface (the
12827
+ * quality path).
12828
+ * - `ram-fullframe` — the native surface MISSED but the request was full-frame,
12829
+ * so the ≤640 RAM `RetainedFrameStore` served it (honest lower-res; legit for
12830
+ * the blank-frame guard / 640-snapshot resolve, NOT for the clean keyFrame).
12831
+ *
12832
+ * OPTIONAL: a pre-tier runner (version skew) omits it — an ABSENT `tier` MUST be
12833
+ * treated as `native` (accepted) by every consumer so mixed-version clusters
12834
+ * keep the pre-tier behaviour. An ROI miss returns `null` (no tier at all).
12835
+ */
12836
+ tier: _enum(["native", "ram-fullframe"]).optional()
12823
12837
  });
12824
12838
  /** Parent detection context passed to `runDetailSubtree` — the crop's
12825
12839
  * originating detection, in FRAME-space coordinates. Reuses
@@ -17908,7 +17922,8 @@ var LinkedDeviceSchema = object({
17908
17922
  deviceId: number(),
17909
17923
  name: string(),
17910
17924
  location: string().nullable(),
17911
- features: array(string())
17925
+ features: array(string()),
17926
+ producesTrackedEvents: boolean().optional()
17912
17927
  });
17913
17928
  var SavedDeviceRowSchema = object({
17914
17929
  /** Numeric id reserved at allocateDeviceId time. */
@@ -19538,6 +19553,7 @@ var TrackSchema = object({
19538
19553
  deviceId: number(),
19539
19554
  className: string(),
19540
19555
  label: string().optional(),
19556
+ producingDeviceName: string().optional(),
19541
19557
  /** Track provenance. Absent ⇒ `pipeline` (legacy rows). */
19542
19558
  source: TrackSourceSchema.optional(),
19543
19559
  firstSeen: number(),
@@ -19675,7 +19691,8 @@ var MediaFileKindEnum = _enum([
19675
19691
  "fullFrameBoxed",
19676
19692
  "faceCrop",
19677
19693
  "plateCrop",
19678
- "keyFrame"
19694
+ "keyFrame",
19695
+ "keyFrameSmall"
19679
19696
  ]);
19680
19697
  var MediaFileSchema = object({
19681
19698
  key: string(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-import-alexa",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Alexa device-import provider for CamStack — imports the smart-home devices in a user's Alexa account via the unofficial alexa-remote2 cookie/token client (the inverse of the Alexa exporter)",
5
5
  "keywords": [
6
6
  "camstack",