@camstack/addon-agent-ui 1.1.11 → 1.1.13

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 +20 -2
  2. package/package.json +1 -1
package/dist/addon.js CHANGED
@@ -7043,7 +7043,21 @@ var StorageLocationDeclarationSchema = object({
7043
7043
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
7044
7044
  * configure the primary location.
7045
7045
  */
7046
- defaultsTo: string().optional()
7046
+ defaultsTo: string().optional(),
7047
+ /**
7048
+ * Which node root the seeded `<id>:default` instance is placed under on a
7049
+ * FRESH install:
7050
+ * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7051
+ * the appData volume. Right for small/durable data (backups, logs, models).
7052
+ * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7053
+ * env is set, else falls back to the data root. Right for bulky, hot media
7054
+ * (recordings, event media) that should stay off the appData disk.
7055
+ *
7056
+ * Only affects the seeded default's `basePath`; operators can repoint any
7057
+ * location afterwards, and a `defaultsTo` slot inherits its parent's root
7058
+ * regardless of this field. Absent (the common case) is treated as `'data'`.
7059
+ */
7060
+ defaultRoot: _enum(["data", "media"]).optional()
7047
7061
  });
7048
7062
  var DecoderStatsSchema = object({
7049
7063
  inputFps: number(),
@@ -7890,6 +7904,10 @@ var RtspRestreamEntrySchema = object({
7890
7904
  var BrokerRtspClientSchema = object({
7891
7905
  sessionId: string(),
7892
7906
  remoteAddr: string(),
7907
+ /** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
7908
+ * null/absent when the client sent none. Lets the UI label a consumer by
7909
+ * purpose. Optional so a client built against an older schema stays valid. */
7910
+ userAgent: string().nullish(),
7893
7911
  playing: boolean(),
7894
7912
  muted: boolean(),
7895
7913
  connectedAt: number(),
@@ -21259,7 +21277,7 @@ var AgentUIAddon = class extends BaseAddon {
21259
21277
  capability: adminUiCapability,
21260
21278
  provider: {
21261
21279
  getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
21262
- getVersion: async () => ({ version: "1.1.11" })
21280
+ getVersion: async () => ({ version: "1.1.13" })
21263
21281
  }
21264
21282
  }];
21265
21283
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-agent-ui",
3
- "version": "1.1.11",
3
+ "version": "1.1.13",
4
4
  "description": "CamStack Agent UI — lightweight status dashboard served by every agent node",
5
5
  "keywords": [
6
6
  "camstack",