@camstack/addon-agent-ui 1.2.134 → 1.2.135

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 +31 -13
  2. package/package.json +1 -1
package/dist/addon.js CHANGED
@@ -24250,22 +24250,40 @@ DeviceType.Camera, method(object({
24250
24250
  limit: number().int().positive().optional(),
24251
24251
  /**
24252
24252
  * WHICH provider to ask — the `addonId` a {@link ClipSourceSchema} row
24253
- * carries, never a source id and never a list.
24254
- *
24255
- * Absent means the device's BOUND provider, which is CamStack on every
24256
- * camera today because that is what `deviceManager.getBindings`
24257
- * answers with. A provider the device is not bound to is refused by
24258
- * name rather than answered by another one (D552's
24259
- * `rejectUnresolvedAddonPin` rule).
24253
+ * carries, never a source id and never a list. **Required** (D554 amended).
24254
+ *
24255
+ * A provider the device is not bound to is refused by name rather than
24256
+ * answered by another one (D552's `rejectUnresolvedAddonPin` rule).
24257
+ *
24258
+ * It was optional, documented as "absent means the device's BOUND
24259
+ * provider, which is CamStack on every camera". No code implemented
24260
+ * that. Measured on the live hub 2026-09-20 — device 592, bound to
24261
+ * `recorder` AND `provider-reolink` — a bare call with `limit: 3`
24262
+ * answered SIX rows, three from each source, merged newest-first:
24263
+ * `device-collection-dispatch.ts` simply left the fan-out un-narrowed,
24264
+ * so absence bought the union this method exists not to be, and
24265
+ * `limit` meant `limit × sources`.
24266
+ *
24267
+ * There is nothing to restore the default to. `getBindings` answers a
24268
+ * collection cap with a DERIVED, PLURAL set (D554 amended, step 0);
24269
+ * `setWrapperActive` — the singleton authority that could name one —
24270
+ * throws for a collection cap by design. Naming CamStack here instead
24271
+ * would privilege one addon by id inside a surface whose premise is
24272
+ * that sources are peers, and would be wrong on the first camera with
24273
+ * no recorder binding. So absence is REFUSED, in the schema, where the
24274
+ * generated types make it unomittable rather than merely discouraged.
24275
+ *
24276
+ * The default belongs to the SURFACE, which has the `listSources` rows
24277
+ * and can say which one it picked (D569 § 1–3; the viewer already
24278
+ * always sends this).
24260
24279
  *
24261
24280
  * It replaced `sources?: string[]`, a VIEW filter over source ids that
24262
24281
  * assumed the answer was a fan-out over everything a camera has. The
24263
- * operator settled otherwise on 2026-09-20 — *"il get videoclips
24264
- * prendere un provider opzionale, di default va su camstack"*,
24265
- * *"l'utilizzatore è uno solo"* — so the list is asked of one provider
24266
- * at a time and there is nothing to filter out of it.
24282
+ * operator settled otherwise on 2026-09-20 — *"l'utilizzatore è uno
24283
+ * solo"* — so the list is asked of one provider at a time and there is
24284
+ * nothing to filter out of it.
24267
24285
  */
24268
- provider: string().optional()
24286
+ provider: string().min(1)
24269
24287
  }), array(ClipSchema).readonly(), {
24270
24288
  kind: "query",
24271
24289
  auth: "protected"
@@ -40970,7 +40988,7 @@ var AgentUIAddon = class extends BaseAddon {
40970
40988
  capability: adminUiCapability,
40971
40989
  provider: {
40972
40990
  getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
40973
- getVersion: async () => ({ version: "1.2.134" })
40991
+ getVersion: async () => ({ version: "1.2.135" })
40974
40992
  }
40975
40993
  }];
40976
40994
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-agent-ui",
3
- "version": "1.2.134",
3
+ "version": "1.2.135",
4
4
  "description": "Agent UI — lightweight status dashboard served by every agent node",
5
5
  "keywords": [
6
6
  "camstack",