@camstack/addon-matter-broker 0.1.10 → 0.1.11

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 CHANGED
@@ -7077,7 +7077,21 @@ var StorageLocationDeclarationSchema = object({
7077
7077
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
7078
7078
  * configure the primary location.
7079
7079
  */
7080
- defaultsTo: string$2().optional()
7080
+ defaultsTo: string$2().optional(),
7081
+ /**
7082
+ * Which node root the seeded `<id>:default` instance is placed under on a
7083
+ * FRESH install:
7084
+ * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7085
+ * the appData volume. Right for small/durable data (backups, logs, models).
7086
+ * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7087
+ * env is set, else falls back to the data root. Right for bulky, hot media
7088
+ * (recordings, event media) that should stay off the appData disk.
7089
+ *
7090
+ * Only affects the seeded default's `basePath`; operators can repoint any
7091
+ * location afterwards, and a `defaultsTo` slot inherits its parent's root
7092
+ * regardless of this field. Absent (the common case) is treated as `'data'`.
7093
+ */
7094
+ defaultRoot: _enum(["data", "media"]).optional()
7081
7095
  });
7082
7096
  var DecoderStatsSchema = object({
7083
7097
  inputFps: number(),
@@ -8433,6 +8447,10 @@ var RtspRestreamEntrySchema = object({
8433
8447
  var BrokerRtspClientSchema = object({
8434
8448
  sessionId: string$2(),
8435
8449
  remoteAddr: string$2(),
8450
+ /** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
8451
+ * null/absent when the client sent none. Lets the UI label a consumer by
8452
+ * purpose. Optional so a client built against an older schema stays valid. */
8453
+ userAgent: string$2().nullish(),
8436
8454
  playing: boolean(),
8437
8455
  muted: boolean(),
8438
8456
  connectedAt: number(),
package/dist/addon.mjs CHANGED
@@ -7075,7 +7075,21 @@ var StorageLocationDeclarationSchema = object({
7075
7075
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
7076
7076
  * configure the primary location.
7077
7077
  */
7078
- defaultsTo: string$2().optional()
7078
+ defaultsTo: string$2().optional(),
7079
+ /**
7080
+ * Which node root the seeded `<id>:default` instance is placed under on a
7081
+ * FRESH install:
7082
+ * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7083
+ * the appData volume. Right for small/durable data (backups, logs, models).
7084
+ * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7085
+ * env is set, else falls back to the data root. Right for bulky, hot media
7086
+ * (recordings, event media) that should stay off the appData disk.
7087
+ *
7088
+ * Only affects the seeded default's `basePath`; operators can repoint any
7089
+ * location afterwards, and a `defaultsTo` slot inherits its parent's root
7090
+ * regardless of this field. Absent (the common case) is treated as `'data'`.
7091
+ */
7092
+ defaultRoot: _enum(["data", "media"]).optional()
7079
7093
  });
7080
7094
  var DecoderStatsSchema = object({
7081
7095
  inputFps: number(),
@@ -8431,6 +8445,10 @@ var RtspRestreamEntrySchema = object({
8431
8445
  var BrokerRtspClientSchema = object({
8432
8446
  sessionId: string$2(),
8433
8447
  remoteAddr: string$2(),
8448
+ /** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
8449
+ * null/absent when the client sent none. Lets the UI label a consumer by
8450
+ * purpose. Optional so a client built against an older schema stays valid. */
8451
+ userAgent: string$2().nullish(),
8434
8452
  playing: boolean(),
8435
8453
  muted: boolean(),
8436
8454
  connectedAt: number(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-matter-broker",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "Matter broker addon for CamStack — owns a Matter fabric (commissioning + the long-lived controller) via the matter.js controller and brokers commissioned Matter nodes into CamStack",
5
5
  "keywords": [
6
6
  "camstack",