@camstack/addon-agent-ui 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.
Files changed (2) hide show
  1. package/dist/addon.js +21 -4
  2. package/package.json +1 -1
package/dist/addon.js CHANGED
@@ -11333,7 +11333,21 @@ var NativeCropResultSchema = object({
11333
11333
  /** Packed rgb (24-bit) pixels of the crop. */
11334
11334
  bytes: _instanceof(Uint8Array),
11335
11335
  width: number().int().positive(),
11336
- height: number().int().positive()
11336
+ height: number().int().positive(),
11337
+ /**
11338
+ * Which source served this crop, so a quality-sensitive consumer (the native
11339
+ * `keyFrame`) can reject a degraded fallback:
11340
+ * - `native` — cut from the decode worker's retained NATIVE surface (the
11341
+ * quality path).
11342
+ * - `ram-fullframe` — the native surface MISSED but the request was full-frame,
11343
+ * so the ≤640 RAM `RetainedFrameStore` served it (honest lower-res; legit for
11344
+ * the blank-frame guard / 640-snapshot resolve, NOT for the clean keyFrame).
11345
+ *
11346
+ * OPTIONAL: a pre-tier runner (version skew) omits it — an ABSENT `tier` MUST be
11347
+ * treated as `native` (accepted) by every consumer so mixed-version clusters
11348
+ * keep the pre-tier behaviour. An ROI miss returns `null` (no tier at all).
11349
+ */
11350
+ tier: _enum(["native", "ram-fullframe"]).optional()
11337
11351
  });
11338
11352
  /** Parent detection context passed to `runDetailSubtree` — the crop's
11339
11353
  * originating detection, in FRAME-space coordinates. Reuses
@@ -14664,7 +14678,8 @@ var LinkedDeviceSchema = object({
14664
14678
  deviceId: number(),
14665
14679
  name: string(),
14666
14680
  location: string().nullable(),
14667
- features: array(string())
14681
+ features: array(string()),
14682
+ producesTrackedEvents: boolean().optional()
14668
14683
  });
14669
14684
  var SavedDeviceRowSchema = object({
14670
14685
  /** Numeric id reserved at allocateDeviceId time. */
@@ -16294,6 +16309,7 @@ var TrackSchema = object({
16294
16309
  deviceId: number(),
16295
16310
  className: string(),
16296
16311
  label: string().optional(),
16312
+ producingDeviceName: string().optional(),
16297
16313
  /** Track provenance. Absent ⇒ `pipeline` (legacy rows). */
16298
16314
  source: TrackSourceSchema.optional(),
16299
16315
  firstSeen: number(),
@@ -16431,7 +16447,8 @@ var MediaFileKindEnum = _enum([
16431
16447
  "fullFrameBoxed",
16432
16448
  "faceCrop",
16433
16449
  "plateCrop",
16434
- "keyFrame"
16450
+ "keyFrame",
16451
+ "keyFrameSmall"
16435
16452
  ]);
16436
16453
  var MediaFileSchema = object({
16437
16454
  key: string(),
@@ -25282,7 +25299,7 @@ var AgentUIAddon = class extends BaseAddon {
25282
25299
  capability: adminUiCapability,
25283
25300
  provider: {
25284
25301
  getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
25285
- getVersion: async () => ({ version: "1.2.0" })
25302
+ getVersion: async () => ({ version: "1.2.1" })
25286
25303
  }
25287
25304
  }];
25288
25305
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-agent-ui",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "CamStack Agent UI — lightweight status dashboard served by every agent node",
5
5
  "keywords": [
6
6
  "camstack",