@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.
- package/dist/addon.js +31 -13
- 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
|
-
*
|
|
24256
|
-
*
|
|
24257
|
-
*
|
|
24258
|
-
*
|
|
24259
|
-
*
|
|
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 — *"
|
|
24264
|
-
*
|
|
24265
|
-
*
|
|
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().
|
|
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.
|
|
40991
|
+
getVersion: async () => ({ version: "1.2.135" })
|
|
40974
40992
|
}
|
|
40975
40993
|
}];
|
|
40976
40994
|
}
|