@camstack/addon-post-analysis 1.2.0 → 1.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.
@@ -11455,7 +11455,21 @@ var NativeCropResultSchema = object({
11455
11455
  /** Packed rgb (24-bit) pixels of the crop. */
11456
11456
  bytes: _instanceof(Uint8Array),
11457
11457
  width: number().int().positive(),
11458
- height: number().int().positive()
11458
+ height: number().int().positive(),
11459
+ /**
11460
+ * Which source served this crop, so a quality-sensitive consumer (the native
11461
+ * `keyFrame`) can reject a degraded fallback:
11462
+ * - `native` — cut from the decode worker's retained NATIVE surface (the
11463
+ * quality path).
11464
+ * - `ram-fullframe` — the native surface MISSED but the request was full-frame,
11465
+ * so the ≤640 RAM `RetainedFrameStore` served it (honest lower-res; legit for
11466
+ * the blank-frame guard / 640-snapshot resolve, NOT for the clean keyFrame).
11467
+ *
11468
+ * OPTIONAL: a pre-tier runner (version skew) omits it — an ABSENT `tier` MUST be
11469
+ * treated as `native` (accepted) by every consumer so mixed-version clusters
11470
+ * keep the pre-tier behaviour. An ROI miss returns `null` (no tier at all).
11471
+ */
11472
+ tier: _enum(["native", "ram-fullframe"]).optional()
11459
11473
  });
11460
11474
  /** Parent detection context passed to `runDetailSubtree` — the crop's
11461
11475
  * originating detection, in FRAME-space coordinates. Reuses
@@ -14841,7 +14855,8 @@ var LinkedDeviceSchema = object({
14841
14855
  deviceId: number(),
14842
14856
  name: string(),
14843
14857
  location: string().nullable(),
14844
- features: array(string())
14858
+ features: array(string()),
14859
+ producesTrackedEvents: boolean().optional()
14845
14860
  });
14846
14861
  var SavedDeviceRowSchema = object({
14847
14862
  /** Numeric id reserved at allocateDeviceId time. */
@@ -16481,6 +16496,7 @@ var TrackSchema = object({
16481
16496
  deviceId: number(),
16482
16497
  className: string(),
16483
16498
  label: string().optional(),
16499
+ producingDeviceName: string().optional(),
16484
16500
  /** Track provenance. Absent ⇒ `pipeline` (legacy rows). */
16485
16501
  source: TrackSourceSchema.optional(),
16486
16502
  firstSeen: number(),
@@ -16618,7 +16634,8 @@ var MediaFileKindEnum = _enum([
16618
16634
  "fullFrameBoxed",
16619
16635
  "faceCrop",
16620
16636
  "plateCrop",
16621
- "keyFrame"
16637
+ "keyFrame",
16638
+ "keyFrameSmall"
16622
16639
  ]);
16623
16640
  var MediaFileSchema = object({
16624
16641
  key: string(),
@@ -11477,7 +11477,21 @@ var NativeCropResultSchema = object({
11477
11477
  /** Packed rgb (24-bit) pixels of the crop. */
11478
11478
  bytes: _instanceof(Uint8Array),
11479
11479
  width: number().int().positive(),
11480
- height: number().int().positive()
11480
+ height: number().int().positive(),
11481
+ /**
11482
+ * Which source served this crop, so a quality-sensitive consumer (the native
11483
+ * `keyFrame`) can reject a degraded fallback:
11484
+ * - `native` — cut from the decode worker's retained NATIVE surface (the
11485
+ * quality path).
11486
+ * - `ram-fullframe` — the native surface MISSED but the request was full-frame,
11487
+ * so the ≤640 RAM `RetainedFrameStore` served it (honest lower-res; legit for
11488
+ * the blank-frame guard / 640-snapshot resolve, NOT for the clean keyFrame).
11489
+ *
11490
+ * OPTIONAL: a pre-tier runner (version skew) omits it — an ABSENT `tier` MUST be
11491
+ * treated as `native` (accepted) by every consumer so mixed-version clusters
11492
+ * keep the pre-tier behaviour. An ROI miss returns `null` (no tier at all).
11493
+ */
11494
+ tier: _enum(["native", "ram-fullframe"]).optional()
11481
11495
  });
11482
11496
  /** Parent detection context passed to `runDetailSubtree` — the crop's
11483
11497
  * originating detection, in FRAME-space coordinates. Reuses
@@ -14863,7 +14877,8 @@ var LinkedDeviceSchema = object({
14863
14877
  deviceId: number(),
14864
14878
  name: string(),
14865
14879
  location: string().nullable(),
14866
- features: array(string())
14880
+ features: array(string()),
14881
+ producesTrackedEvents: boolean().optional()
14867
14882
  });
14868
14883
  var SavedDeviceRowSchema = object({
14869
14884
  /** Numeric id reserved at allocateDeviceId time. */
@@ -16503,6 +16518,7 @@ var TrackSchema = object({
16503
16518
  deviceId: number(),
16504
16519
  className: string(),
16505
16520
  label: string().optional(),
16521
+ producingDeviceName: string().optional(),
16506
16522
  /** Track provenance. Absent ⇒ `pipeline` (legacy rows). */
16507
16523
  source: TrackSourceSchema.optional(),
16508
16524
  firstSeen: number(),
@@ -16640,7 +16656,8 @@ var MediaFileKindEnum = _enum([
16640
16656
  "fullFrameBoxed",
16641
16657
  "faceCrop",
16642
16658
  "plateCrop",
16643
- "keyFrame"
16659
+ "keyFrame",
16660
+ "keyFrameSmall"
16644
16661
  ]);
16645
16662
  var MediaFileSchema = object({
16646
16663
  key: string(),
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_dist = require("../dist-MgnHaI0L.js");
5
+ const require_dist = require("../dist-DMg7kQfI.js");
6
6
  let node_fs = require("node:fs");
7
7
  let node_fs$1 = require_dist.__toESM(node_fs, 1);
8
8
  node_fs = require_dist.__toESM(node_fs);
@@ -1,4 +1,4 @@
1
- import { b as BaseAddon, f as hfModelUrl, u as embeddingEncoderCapability } from "../dist-CirtGNcr.mjs";
1
+ import { b as BaseAddon, f as hfModelUrl, u as embeddingEncoderCapability } from "../dist-D4KAS857.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import * as fs from "node:fs";
4
4
  import * as path$1 from "node:path";
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-MgnHaI0L.js");
1
+ const require_dist = require("./dist-DMg7kQfI.js");
2
2
  let node_fs = require("node:fs");
3
3
  node_fs = require_dist.__toESM(node_fs, 1);
4
4
  let node_path = require("node:path");
@@ -3,7 +3,7 @@ import "./dist-CYZr2fwk.mjs";
3
3
  var e = {
4
4
  "@camstack/sdk": {
5
5
  name: "@camstack/sdk",
6
- version: "1.2.0",
6
+ version: "1.2.1",
7
7
  scope: ["default"],
8
8
  loaded: !1,
9
9
  from: "addon_pipeline_analytics_widgets",
@@ -18,7 +18,7 @@ var e = {
18
18
  },
19
19
  "@camstack/types": {
20
20
  name: "@camstack/types",
21
- version: "1.2.0",
21
+ version: "1.2.1",
22
22
  scope: ["default"],
23
23
  loaded: !1,
24
24
  from: "addon_pipeline_analytics_widgets",
@@ -33,7 +33,7 @@ var e = {
33
33
  },
34
34
  "@camstack/ui-library": {
35
35
  name: "@camstack/ui-library",
36
- version: "1.2.0",
36
+ version: "1.2.1",
37
37
  scope: ["default"],
38
38
  loaded: !1,
39
39
  from: "addon_pipeline_analytics_widgets",
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.2.0",
39
+ version: "1.2.1",
40
40
  scope: "default",
41
41
  shareConfig: {
42
42
  singleton: !0,
@@ -45,7 +45,7 @@ async function r() {
45
45
  }
46
46
  },
47
47
  "@camstack/sdk": {
48
- version: "1.2.0",
48
+ version: "1.2.1",
49
49
  scope: "default",
50
50
  shareConfig: {
51
51
  singleton: !0,
@@ -81,7 +81,7 @@ async function r() {
81
81
  }
82
82
  },
83
83
  "@camstack/ui-library": {
84
- version: "1.2.0",
84
+ version: "1.2.1",
85
85
  scope: "default",
86
86
  shareConfig: {
87
87
  singleton: !0,