@camstack/addon-agent-ui 1.2.87 → 1.2.89

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 +58 -9
  2. package/package.json +1 -1
package/dist/addon.js CHANGED
@@ -18381,11 +18381,30 @@ var SensorEventSchema = object({
18381
18381
  value: record(string(), unknown()).nullable(),
18382
18382
  timestamp: number()
18383
18383
  });
18384
+ /**
18385
+ * One stored sighting on a track's trajectory.
18386
+ *
18387
+ * The array these live in is returned in TIME order (D399) — it is APPENDED in
18388
+ * arrival order, and the two detector passes interleave, so a consumer must not
18389
+ * assume the two are the same on a row written by an older build.
18390
+ */
18384
18391
  var TrackPositionSchema = object({
18385
18392
  x: number(),
18386
18393
  y: number(),
18387
18394
  timestamp: number(),
18388
- bbox: BoundingBoxSchema
18395
+ bbox: BoundingBoxSchema,
18396
+ /**
18397
+ * Which detector pass measured this box (D399): `frame` is the full-frame
18398
+ * pass on the analysis raster, `recovery` is the native-resolution
18399
+ * small-subject second pass (D377/D378). Both write into one array, and until
18400
+ * this field existed the only way to tell them apart was that full-frame boxes
18401
+ * are exact multiples of 1.2 while recovery boxes are full-precision floats.
18402
+ * Absent on rows written before D399.
18403
+ */
18404
+ source: _enum(["frame", "recovery"]).optional(),
18405
+ /** Detection score of this box, so a position can be weighed and not only
18406
+ * plotted. Absent on rows written before D399. */
18407
+ score: number().optional()
18389
18408
  });
18390
18409
  var TrackSnapshotSchema = object({
18391
18410
  timestamp: number(),
@@ -18785,14 +18804,25 @@ var TrackSchema = object({
18785
18804
  */
18786
18805
  hasRider: boolean().optional(),
18787
18806
  /**
18788
- * WHY this track ended without a NATIVE best-shot tile
18789
- * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)) —
18807
+ * WHY this track ended without a NATIVE best-shot FRAME
18808
+ * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
18809
+ * widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
18790
18810
  * a composed token line (`no-key-frame capture=keyframe:native-missx4`,
18791
- * `derive-returned-null tile=standin`, …) written at close and CLEARED by
18792
- * the late-keyFrame upgrade when a native tile lands after all. The
18793
- * operator-facing answer to "perché manca l'immagine?" on a track whose
18811
+ * `derive-returned-null tile=standin`,
18812
+ * `native-tile tile=native no-key-frame-at-close`, …) written at close and
18813
+ * CLEARED by the late-keyFrame upgrade when a native tile lands after all.
18814
+ * The operator-facing answer to "perché manca l'immagine?" on a track whose
18794
18815
  * tile is a face/plate stand-in, a raster crop, or an icon.
18795
18816
  *
18817
+ * **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
18818
+ * the TILE ranked below native, so a track whose thumbnail landed natively
18819
+ * while its key frame missed carried no reason at all — three of the four
18820
+ * `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
18821
+ * that shape, and their "niente ultimo" had no cause anywhere on the row.
18822
+ * The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
18823
+ * lastFrame copy source`), so its absence is now on this line whatever the
18824
+ * tile ended up being.
18825
+ *
18796
18826
  * **Absent ≠ "missed silently"**: a row written before the column, a hub
18797
18827
  * that predates the field, and every track whose tile landed native all
18798
18828
  * omit it. Render nothing when absent.
@@ -27100,8 +27130,27 @@ var PrivacyMaskRegionSchema = object({
27100
27130
  });
27101
27131
  object({
27102
27132
  enabled: boolean(),
27103
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
27104
- regions: array(PrivacyMaskRegionSchema),
27133
+ /**
27134
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
27135
+ *
27136
+ * `null` means "no answer" — the provider has never reached this camera
27137
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
27138
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
27139
+ * has no zones": those two look identical to an operator right up to the
27140
+ * moment one of them is acted on, and acting on them differs completely.
27141
+ * The switch group turned an unanswered read into *"nothing is set up for
27142
+ * it to act on"* — an instruction to go and draw a zone that already
27143
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
27144
+ * from deleting the mask it could not read.
27145
+ *
27146
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
27147
+ * has no zones. The distinction is the same one {@link
27148
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
27149
+ * microphone, on the very same payload — both planes come from ONE refresh,
27150
+ * so it was never coherent for one of them to be able to say "unknown"
27151
+ * while the other could not.
27152
+ */
27153
+ regions: array(PrivacyMaskRegionSchema).nullable(),
27105
27154
  /**
27106
27155
  * Is the camera capturing sound right now? Read from the camera, never from
27107
27156
  * a server-side mirror.
@@ -38126,7 +38175,7 @@ var AgentUIAddon = class extends BaseAddon {
38126
38175
  capability: adminUiCapability,
38127
38176
  provider: {
38128
38177
  getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
38129
- getVersion: async () => ({ version: "1.2.87" })
38178
+ getVersion: async () => ({ version: "1.2.89" })
38130
38179
  }
38131
38180
  }];
38132
38181
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-agent-ui",
3
- "version": "1.2.87",
3
+ "version": "1.2.89",
4
4
  "description": "Agent UI — lightweight status dashboard served by every agent node",
5
5
  "keywords": [
6
6
  "camstack",