@camstack/addon-terminal 0.1.2 → 0.1.4

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 (3) hide show
  1. package/dist/addon.js +536 -80
  2. package/dist/addon.mjs +536 -80
  3. package/package.json +1 -1
package/dist/addon.js CHANGED
@@ -4,7 +4,7 @@ var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).expor
4
4
  //#endregion
5
5
  let node_fs = require("node:fs");
6
6
  let node_path = require("node:path");
7
- //#region ../types/dist/event-category-BLcNejAE.mjs
7
+ //#region ../types/dist/event-category-Bz24uP1U.mjs
8
8
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
9
9
  EventCategory["SystemBoot"] = "system.boot";
10
10
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -275,6 +275,19 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
275
275
  */
276
276
  EventCategory["DeviceStateChanged"] = "device.state-changed";
277
277
  /**
278
+ * Frame occupancy for a camera CHANGED — a tracked object was gained or
279
+ * lost. Carries `{ deviceId, totalObjects, byClass, zones }`.
280
+ *
281
+ * Emitted only on a change, so a steady scene is silent. It exists so a
282
+ * client can stop polling `zoneAnalytics.getCurrentSnapshot`: that was the
283
+ * one live badge with no push signal at all, and it cost a request every
284
+ * four seconds per visible camera.
285
+ *
286
+ * Like every event it is telemetry and may be dropped ([D8]) — a consumer
287
+ * keeps a slow reconcile rather than trusting it alone.
288
+ */
289
+ EventCategory["ZoneAnalyticsOccupancyChanged"] = "zone-analytics.occupancy-changed";
290
+ /**
278
291
  * Cap event fired by every device that registers the `battery`
279
292
  * capability. Mirrors the cap definition's `onStatusChanged`. Carries
280
293
  * `{ deviceId, status: BatteryStatus }`. Subscribers (alert center,
@@ -7188,35 +7201,22 @@ var ConvertResultSchema = object({
7188
7201
  */
7189
7202
  var RecordingWeekdaySchema = number().int().min(0).max(6);
7190
7203
  var HHMM = /^([01]\d|2[0-3]):[0-5]\d$/;
7191
- var RecordingScheduleSchema = discriminatedUnion("kind", [object({ kind: literal("always") }), object({
7192
- kind: literal("timeOfDay"),
7193
- start: string().regex(HHMM),
7194
- end: string().regex(HHMM),
7195
- /** Restrict to these weekdays; omit = every day. */
7196
- days: array(RecordingWeekdaySchema).optional()
7197
- })]);
7198
- var RecordingModeSchema = _enum([
7199
- "continuous",
7200
- "onMotion",
7201
- "onAudioThreshold"
7202
- ]);
7203
7204
  /**
7204
- * First-class, authoritative per-camera storage mode — the explicit choice the
7205
- * UI reads directly (never inferred from `rules`):
7206
- * - `off` — not recording.
7207
- * - `events` — record only around triggers (motion / audio threshold),
7208
- * with pre/post-buffer.
7209
- * - `continuous` — record 24/7 within the schedule.
7205
+ * DERIVED per-camera storage summary — the single field cheap consumers read
7206
+ * (the viewer's status dot, the camera list) instead of walking `bands`:
7207
+ * - `off` — no band covers the camera (or it is disabled).
7208
+ * - `events` — every band records around triggers only.
7209
+ * - `continuous` — at least one band records continuously.
7210
7210
  *
7211
- * `mode` compiles one-way to the internal `rules[]` consumed by the policy
7212
- * engine (see `compileRules`); `rules[]` is never authored directly anymore.
7211
+ * NEVER authored: the recorder stamps it from the authoritative `bands` on
7212
+ * every save (`activeModeForConfig`). Writing it has no effect.
7213
7213
  */
7214
7214
  var RecordingStorageModeSchema = _enum([
7215
7215
  "off",
7216
7216
  "events",
7217
7217
  "continuous"
7218
7218
  ]);
7219
- /** Which detectors trigger an `events`-mode recording. */
7219
+ /** Which detectors trigger an `events`-mode band. */
7220
7220
  var RecordingTriggersSchema = object({
7221
7221
  motion: boolean().optional(),
7222
7222
  audioThresholdDbfs: number().optional()
@@ -7252,18 +7252,6 @@ var RecordingBandSchema = object({
7252
7252
  preBufferSec: number().min(0).optional(),
7253
7253
  postBufferSec: number().min(0).optional()
7254
7254
  });
7255
- var RecordingRuleSchema = object({
7256
- schedule: RecordingScheduleSchema,
7257
- mode: RecordingModeSchema,
7258
- /** Seconds of footage to retain BEFORE a trigger (applied at keep/discard). */
7259
- preBufferSec: number().min(0).default(0),
7260
- /** Keep recording until this many seconds after the last trigger. */
7261
- postBufferSec: number().min(0).default(0),
7262
- /** Each new trigger restarts the post-buffer window. */
7263
- resetTimeoutOnNewEvent: boolean().default(true),
7264
- /** onAudioThreshold only — dBFS level that counts as a trigger. */
7265
- thresholdDbfs: number().optional()
7266
- });
7267
7255
  /**
7268
7256
  * Per-device retention overrides. Every field is optional; an unset or `0`
7269
7257
  * value inherits the node-wide recorder default. Only footage-lifetime limits
@@ -7297,40 +7285,28 @@ var ScrubThumbnailPresetSchema = _enum([
7297
7285
  /**
7298
7286
  * The full per-camera recording intent — the wire shape of a RecordingTarget.
7299
7287
  *
7300
- * `mode` is the authoritative storage choice; `schedule`/`triggers`/`pre`/`post`
7301
- * are its mode-specific parameters. `rules` is a DEPRECATED authoring input kept
7302
- * only for transition + migration (`migrateRulesToMode`); the policy engine
7303
- * consumes the compiled output of `compileRules(config)`, never `rules` directly.
7288
+ * `bands` is the ONLY authored recording intent: what to record, when, and on
7289
+ * which trigger. `mode` is a derived summary the recorder stamps on save; every
7290
+ * other field is a storage knob (profiles, segment length, retention, scrub).
7291
+ *
7292
+ * STRICT on purpose: the legacy authoring surface (`schedule`/`schedules`/
7293
+ * `triggers`/`preBufferSec`/`postBufferSec`/`rules`) was retired 2026-07-30.
7294
+ * A stale caller must fail loudly — silently stripping its legacy intent would
7295
+ * persist a band-less config, i.e. silently stop recording the camera.
7304
7296
  */
7305
7297
  var RecordingConfigSchema = object({
7306
7298
  enabled: boolean(),
7307
- /** Authoritative storage mode. Absent on legacy targets derived once via
7308
- * `migrateRulesToMode`, then persisted. */
7299
+ /** DERIVED summary of `bands`, stamped by the recorder on every save.
7300
+ * Authoring it has no effect — see {@link RecordingStorageModeSchema}. */
7309
7301
  mode: RecordingStorageModeSchema.optional(),
7310
7302
  profiles: array(CamProfileSchema).optional(),
7311
7303
  segmentSeconds: number().int().positive().optional(),
7312
- /** Shared recording time-bands for `events` & `continuous` — record only when
7313
- * the wall-clock falls inside one of these windows. Omit or empty = always.
7314
- * `continuous` compiles to one rule per band; `events` to band × trigger. */
7315
- schedules: array(RecordingScheduleSchema).optional(),
7316
- /** Legacy single-band predecessor of `schedules`. Read-compat only — it is
7317
- * normalized into `schedules` on read and never written going forward. (Not
7318
- * tagged `@deprecated`: the normalization paths must read it cast-free.) */
7319
- schedule: RecordingScheduleSchema.optional(),
7320
- /** `events`-mode only — which detectors trigger a recording. */
7321
- triggers: RecordingTriggersSchema.optional(),
7322
- /** `events`-mode only — seconds retained before / after a trigger. */
7323
- preBufferSec: number().min(0).optional(),
7324
- postBufferSec: number().min(0).optional(),
7325
- /** DEPRECATED authoring input; retained for migration/transition. */
7326
- rules: array(RecordingRuleSchema).optional(),
7327
7304
  /**
7328
- * AUTHORITATIVE mode-per-band recording model (recorder). When present it
7329
- * is the single source of truth; the legacy `mode`/`schedules`/`schedule`/
7330
- * `triggers`/`rules` fields above are kept for READ-COMPAT only and are
7331
- * derived into bands once via `migrateConfigToBands`.
7305
+ * AUTHORITATIVE mode-per-band recording model the single source of truth
7306
+ * the recorder's band engine consumes. An empty array = record nothing;
7307
+ * "off" is the absence of a covering band, never a band value.
7332
7308
  */
7333
- bands: array(RecordingBandSchema).optional(),
7309
+ bands: array(RecordingBandSchema).default([]),
7334
7310
  retention: RecordingRetentionSchema.optional(),
7335
7311
  /**
7336
7312
  * Per-camera scrub-thumbnail fidelity preset (resolution + JPEG quality for
@@ -7338,8 +7314,15 @@ var RecordingConfigSchema = object({
7338
7314
  * windows only — existing sheets are immutable, and each window's index
7339
7315
  * carries its own tile dims so mixed-preset history renders correctly.
7340
7316
  */
7341
- scrubThumbnails: ScrubThumbnailPresetSchema.optional()
7342
- });
7317
+ scrubThumbnails: ScrubThumbnailPresetSchema.optional(),
7318
+ /**
7319
+ * OPT-IN thumbnail-strip generation for this camera: every keyframe of the
7320
+ * low recording saved as a JPEG (the fast-drag scrub depth), a derived
7321
+ * cache that eviction reclaims with the footage. Absent/false = no strips
7322
+ * are written and scrub reads exact keyframes at every velocity.
7323
+ */
7324
+ stripsEnabled: boolean().optional()
7325
+ }).strict();
7343
7326
  /**
7344
7327
  * Ops-log — the durable, append-only operations audit shared by the
7345
7328
  * recordings and events management surfaces.
@@ -7358,7 +7341,8 @@ var OpsLogOpSchema = _enum([
7358
7341
  "prune",
7359
7342
  "manual-delete",
7360
7343
  "rescan",
7361
- "retention-run"
7344
+ "retention-run",
7345
+ "relocate"
7362
7346
  ]);
7363
7347
  /** Why the operation ran. */
7364
7348
  var OpsLogReasonSchema = _enum([
@@ -7397,6 +7381,55 @@ var OpsLogQueryInputSchema = object({
7397
7381
  limit: number().int().min(1).max(1e3).optional()
7398
7382
  });
7399
7383
  /**
7384
+ * Entity-relocation job state (storage entity-routing spec, Phase 4).
7385
+ *
7386
+ * One shape shared by the recorder's `relocateFootage` (segments + strips) and
7387
+ * pipeline-analytics' `relocateMedia` (event media blobs) so the admin Data
7388
+ * page renders both movers with one component. Jobs are in-RAM (a restart
7389
+ * forgets them — re-running is safe by construction: copy-if-absent, delete
7390
+ * after verify) and each completed/failed run also lands one durable ops-log
7391
+ * row on the owning addon's surface.
7392
+ */
7393
+ var RelocateJobStateSchema = _enum([
7394
+ "running",
7395
+ "done",
7396
+ "failed",
7397
+ "cancelled"
7398
+ ]);
7399
+ var RelocateJobSchema = object({
7400
+ jobId: string(),
7401
+ state: RelocateJobStateSchema,
7402
+ /** Source location — for media relocation this is informational ('*': rows
7403
+ * move from wherever they are to the target). */
7404
+ fromLocationId: string(),
7405
+ toLocationId: string(),
7406
+ /** Scoped device, or null = every device. */
7407
+ deviceId: number().nullable(),
7408
+ /** What the job moves (owner-addon specific: segments/strips or media). */
7409
+ entities: array(string()),
7410
+ filesMoved: number().int(),
7411
+ bytesMoved: number().int(),
7412
+ /** Total files discovered up front; null while (or when) unknown. */
7413
+ filesTotal: number().int().nullable(),
7414
+ startedAt: number(),
7415
+ finishedAt: number().nullable(),
7416
+ error: string().nullable()
7417
+ });
7418
+ var RelocateFootageInputSchema = object({
7419
+ deviceId: number().optional(),
7420
+ fromLocationId: string(),
7421
+ toLocationId: string(),
7422
+ entities: array(_enum(["segments", "strips"])).optional(),
7423
+ /** Copy throttle in MB/s (default 40) — the drain is a background chore,
7424
+ * never allowed to starve live writers. */
7425
+ throttleMbps: number().min(1).max(1e3).optional()
7426
+ });
7427
+ var RelocateMediaInputSchema = object({
7428
+ deviceId: number().optional(),
7429
+ toLocationId: string(),
7430
+ throttleMbps: number().min(1).max(1e3).optional()
7431
+ });
7432
+ /**
7400
7433
  * `StorageLocationType` — an addon-declared id that identifies the *kind* of
7401
7434
  * storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
7402
7435
  * so the persisted record schema and the consumer-facing cap can both consume it
@@ -7446,6 +7479,13 @@ var StorageLocationSchema = object({
7446
7479
  nodeId: string().optional(),
7447
7480
  isDefault: boolean().default(false),
7448
7481
  isSystem: boolean().default(false),
7482
+ /** COMPUTED at read time by the orchestrator (statfs of the backing volume
7483
+ * for node-local locations it can reach) — never persisted, absent when the
7484
+ * volume is remote/unreachable. The single capacity truth every UI reads. */
7485
+ capacity: object({
7486
+ totalBytes: number(),
7487
+ availableBytes: number()
7488
+ }).nullable().optional(),
7449
7489
  createdAt: number(),
7450
7490
  updatedAt: number()
7451
7491
  });
@@ -7507,16 +7547,23 @@ var StorageLocationDeclarationSchema = object({
7507
7547
  * Which node root the seeded `<id>:default` instance is placed under on a
7508
7548
  * FRESH install:
7509
7549
  * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7510
- * the appData volume. Right for small/durable data (backups, logs, models).
7550
+ * the appData volume. Right for small/durable data (logs, models).
7511
7551
  * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7512
7552
  * env is set, else falls back to the data root. Right for bulky, hot media
7513
7553
  * (recordings, event media) that should stay off the appData disk.
7554
+ * - `'backup'` — the dedicated backup volume (`CAMSTACK_BACKUP_ROOT`, default
7555
+ * `/backups` in the image) so archives live on their own mount rather than
7556
+ * filling the appData disk. Falls back to the data root when unset.
7514
7557
  *
7515
7558
  * Only affects the seeded default's `basePath`; operators can repoint any
7516
7559
  * location afterwards, and a `defaultsTo` slot inherits its parent's root
7517
7560
  * regardless of this field. Absent (the common case) is treated as `'data'`.
7518
7561
  */
7519
- defaultRoot: _enum(["data", "media"]).optional()
7562
+ defaultRoot: _enum([
7563
+ "data",
7564
+ "media",
7565
+ "backup"
7566
+ ]).optional()
7520
7567
  });
7521
7568
  var DecoderStatsSchema = object({
7522
7569
  inputFps: number(),
@@ -8206,7 +8253,8 @@ var NcTaxonomyEntrySchema = object({
8206
8253
  /** Macro/category parent for grouping ('car' → 'vehicle'); null for a top. */
8207
8254
  parentKind: string().nullable()
8208
8255
  });
8209
- object({
8256
+ /** The complete NC picker taxonomy — three grouped buckets. */
8257
+ var NcTaxonomySchema = object({
8210
8258
  videoClasses: array(NcTaxonomyEntrySchema),
8211
8259
  audioKinds: array(NcTaxonomyEntrySchema),
8212
8260
  labels: array(NcTaxonomyEntrySchema)
@@ -8866,6 +8914,7 @@ var AccessoryKind = {
8866
8914
  };
8867
8915
  AccessoryKind.Siren, AccessoryKind.Floodlight, AccessoryKind.Spotlight, AccessoryKind.PirSensor, AccessoryKind.Chime, AccessoryKind.Autotrack, AccessoryKind.Nightvision, AccessoryKind.PrivacyMask;
8868
8916
  DeviceFeature.BatteryOperated;
8917
+ new Set(["devices", "classes"]);
8869
8918
  /**
8870
8919
  * Shared geometry vocabulary for on-frame shape caps — privacy-mask,
8871
8920
  * motion-zones, and the detection zones/lines editor all speak this one
@@ -9024,6 +9073,29 @@ var NcOccupancyConditionSchema = object({
9024
9073
  count: number().int().min(0).default(1),
9025
9074
  sustainSeconds: number().int().min(0).max(3600).default(15)
9026
9075
  });
9076
+ /**
9077
+ * Which zone-crossing DIRECTION a rule accepts (`ObjectEvent.zoneCrossing`).
9078
+ *
9079
+ * The values are not symmetric, and deliberately so — the absent value has to
9080
+ * mean exactly what every rule authored before this condition existed already
9081
+ * does:
9082
+ * - `enter` — entries and every NON-crossing record (movement state,
9083
+ * package, sensor). Exits are rejected. **This is the absent behaviour**:
9084
+ * an operator who never asked for exits must not start receiving them.
9085
+ * - `exit` — ONLY an exit crossing. A record that is not a crossing at all
9086
+ * fails closed, because "the car left the drive" is a question about a
9087
+ * boundary, not about a detection.
9088
+ * - `any` — no direction filter; entries, exits and non-crossings alike.
9089
+ *
9090
+ * A rule asking for a direction should normally also scope `zones`, which the
9091
+ * engine evaluates against the crossed zone as well as the current membership
9092
+ * (an exit's membership no longer contains the zone it just left).
9093
+ */
9094
+ var NcCrossingSchema = _enum([
9095
+ "enter",
9096
+ "exit",
9097
+ "any"
9098
+ ]);
9027
9099
  /** Admin-zone membership condition (zone IDs as stamped by the ZoneEngine). */
9028
9100
  var NcZoneConditionSchema = object({
9029
9101
  ids: array(string().min(1)).min(1),
@@ -9048,6 +9120,13 @@ var NcConditionsSchema = object({
9048
9120
  /** Veto zones — any hit fails the rule. */
9049
9121
  zonesExclude: array(string().min(1)).optional(),
9050
9122
  /**
9123
+ * Zone-crossing direction. IMMEDIATE only — a crossing is a per-event fact
9124
+ * and a closed track carries none, so a `track-end` rule asking for one
9125
+ * fails closed (use `zones`, which tests `zonesVisited`). ABSENT = `enter`,
9126
+ * which is exactly today's behaviour. See {@link NcCrossingSchema}.
9127
+ */
9128
+ crossing: NcCrossingSchema.optional(),
9129
+ /**
9051
9130
  * Exact (case-insensitive) match on the record's collapsed `label`
9052
9131
  * (identity name / plate text / subclass).
9053
9132
  */
@@ -9182,17 +9261,85 @@ var NcRuleTargetSchema = object({
9182
9261
  * - `keyFrame` — the clean scene frame (no subject box).
9183
9262
  * - `none` — no attachment.
9184
9263
  */
9185
- var NcMediaPolicySchema = object({ attach: _enum([
9186
- "best",
9187
- "best-matching",
9188
- "keyFrame",
9189
- "none"
9190
- ]).default("best") });
9264
+ /**
9265
+ * WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
9266
+ * conflate it with the selection strategy and betray the request: asking for
9267
+ * the clean scene frame on an object-event owner used to start at
9268
+ * `fullFrameBoxed`, i.e. the annotated frame (2026-07-30).
9269
+ * - `cropped` — the subject, tight. What "who is at the door" wants.
9270
+ * - `full` — the clean scene, no annotation. What "what is going on" wants.
9271
+ * - `boxed` — the scene WITH the detection boxes drawn, for verifying what
9272
+ * the pipeline actually saw.
9273
+ */
9274
+ var NcMediaFrameSchema = _enum([
9275
+ "cropped",
9276
+ "full",
9277
+ "boxed"
9278
+ ]);
9279
+ var NcMediaPolicySchema = object({
9280
+ attach: _enum([
9281
+ "best",
9282
+ "best-matching",
9283
+ "keyFrame",
9284
+ "none"
9285
+ ]).default("best"),
9286
+ /** What the still shows. Absent = `cropped` (the historical `best` shape). */
9287
+ frame: NcMediaFrameSchema.optional(),
9288
+ /** Crop the attached still to the rule's condition-zone bbox (padded) —
9289
+ * "show me the ZONE", not the whole scene or the subject crop. */
9290
+ zoneCrop: boolean().optional(),
9291
+ /**
9292
+ * Also attach a short GIF cut from the stream broker's clip ring around the
9293
+ * event — NOT from the recording, so the camera does not have to be
9294
+ * recording, and the window sits AROUND the moment instead of a segment
9295
+ * behind it. Fail-closed: a window the ring does not cover contributes no
9296
+ * gif, never a failed notification.
9297
+ */
9298
+ gif: boolean().optional(),
9299
+ /**
9300
+ * Also attach a short MP4 CLIP of the same cut. Same source and the same
9301
+ * fail-closed rule as `gif`. Prefer it where the backend takes video
9302
+ * (telegram, discord, zentik, webhook); backends that do not are handled by
9303
+ * the degrade engine, which drops the video and keeps the still.
9304
+ */
9305
+ clip: boolean().optional(),
9306
+ /** Seconds of footage BEFORE / AFTER the event instant. Defaults 3 / 7. */
9307
+ clipPreRollSec: number().int().min(0).max(30).optional(),
9308
+ clipPostRollSec: number().int().min(0).max(30).optional(),
9309
+ /**
9310
+ * Which stream profile the footage is cut from. Absent = the CHEAPEST
9311
+ * assigned profile: a notification is watched on a phone, so the 4K
9312
+ * rendition would burn CPU to produce a file the client downscales anyway.
9313
+ * A profile that is not assigned falls back to the cheapest, and the render
9314
+ * reports which one actually ran.
9315
+ */
9316
+ profile: CamProfileSchema.optional()
9317
+ });
9318
+ /**
9319
+ * Cooldown GRANULARITY over the subject's class — how much a fired
9320
+ * notification suppresses.
9321
+ * - `shared` (default, and the absent value) — one window for the whole
9322
+ * rule/scope: a cat silences the next dog for `cooldownSec`.
9323
+ * - `per-class` — an independent window per detected class, so cat→dog fires
9324
+ * at once and cat→cat still waits.
9325
+ *
9326
+ * AUDIO subjects are ALWAYS per-class regardless of this setting: a scream
9327
+ * must not be swallowed by a bark's window (the precedent this generalizes —
9328
+ * see `cooldownKey` in the rule engine).
9329
+ */
9330
+ var NcThrottleGranularitySchema = _enum(["shared", "per-class"]);
9191
9331
  /** Throttle — cooldown survives restarts (rebuilt from the outbox on boot). */
9192
9332
  var NcThrottleSchema = object({
9193
9333
  cooldownSec: number().int().min(0).max(86400).default(60),
9194
9334
  /** `rule` = one shared cooldown; `rule-device` = per-camera cooldown. */
9195
- scope: _enum(["rule", "rule-device"]).default("rule-device")
9335
+ scope: _enum(["rule", "rule-device"]).default("rule-device"),
9336
+ /**
9337
+ * Class granularity of the cooldown key. Optional rather than defaulted:
9338
+ * a Zod default does NOT run on the addon→addon cap path, so a persisted
9339
+ * rule authored before this field simply carries none — and the engine
9340
+ * reads absent as `shared`, the pre-existing behaviour.
9341
+ */
9342
+ granularity: NcThrottleGranularitySchema.optional()
9196
9343
  });
9197
9344
  /** Client-supplied rule fields (server stamps id/createdBy/createdAt/updatedAt). */
9198
9345
  var NcRuleInputSchema = object({
@@ -9201,7 +9348,19 @@ var NcRuleInputSchema = object({
9201
9348
  delivery: NcDeliverySchema,
9202
9349
  conditions: NcConditionsSchema.default({}),
9203
9350
  schedule: NcScheduleSchema.optional(),
9204
- targets: array(NcRuleTargetSchema).min(1),
9351
+ /** May be empty when `targetUsers` addresses at least one user — the
9352
+ * "at least one addressee" invariant is enforced by the provider, because
9353
+ * a cross-field refine here would break `NcRulePatchSchema.partial()`. */
9354
+ targets: array(NcRuleTargetSchema),
9355
+ /**
9356
+ * USERS this rule addresses in addition to `targets` (Phase 4). At fire
9357
+ * time each user fans out to the personal targets they own
9358
+ * (`config.ownerUserId`), filtered by that user's `allowedDevices` for the
9359
+ * firing camera — a user is never notified about a device they cannot open.
9360
+ * Per-user opt-outs (`disabledTargetIds`) still apply to the fanned-out
9361
+ * targets.
9362
+ */
9363
+ targetUsers: array(string()).optional(),
9205
9364
  media: NcMediaPolicySchema.default({ attach: "best" }),
9206
9365
  throttle: NcThrottleSchema.default({
9207
9366
  cooldownSec: 60,
@@ -9288,6 +9447,7 @@ var NcConditionDescriptorSchema = object({
9288
9447
  "schedule",
9289
9448
  "plateMatcher",
9290
9449
  "packagePhase",
9450
+ "crossingSelect",
9291
9451
  "polygonDraw",
9292
9452
  "occupancy"
9293
9453
  ]),
@@ -9414,7 +9574,10 @@ method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), m
9414
9574
  }), object({ results: array(NcTestResultSchema) }), {
9415
9575
  kind: "mutation",
9416
9576
  auth: "admin"
9417
- }), method(object({}), object({ catalog: array(NcConditionDescriptorSchema) })), method(object({ filter: NcHistoryFilterSchema.default({ limit: 100 }) }), object({ entries: array(NcHistoryEntrySchema) }), { auth: "admin" });
9577
+ }), method(object({}), object({
9578
+ catalog: array(NcConditionDescriptorSchema),
9579
+ taxonomy: NcTaxonomySchema.optional()
9580
+ })), method(object({ filter: NcHistoryFilterSchema.default({ limit: 100 }) }), object({ entries: array(NcHistoryEntrySchema) }), { auth: "admin" });
9418
9581
  /**
9419
9582
  * TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
9420
9583
  *
@@ -10151,6 +10314,28 @@ method(object({
10151
10314
  }), object({ success: literal(true) }), {
10152
10315
  kind: "mutation",
10153
10316
  auth: "admin"
10317
+ }), method(object({
10318
+ deviceId: number(),
10319
+ /** Absent = the LOWEST assigned profile — a notification attachment is
10320
+ * watched on a phone, and the cheap rendition is the right default. */
10321
+ profile: CamProfileSchema.optional(),
10322
+ aroundMs: number(),
10323
+ preRollSec: number().min(0).max(20).default(3),
10324
+ postRollSec: number().min(0).max(20).default(5),
10325
+ format: _enum(["gif", "mp4"]).default("gif"),
10326
+ maxWidth: number().int().min(120).max(1920).default(480),
10327
+ /** GIF only — MP4 keeps the source cadence. */
10328
+ fps: number().int().min(1).max(15).default(5)
10329
+ }), object({
10330
+ base64: string(),
10331
+ mime: string(),
10332
+ bytes: number().int(),
10333
+ /** The profile actually rendered (what the default resolved to). */
10334
+ profile: CamProfileSchema,
10335
+ durationMs: number()
10336
+ }), {
10337
+ kind: "mutation",
10338
+ auth: "admin"
10154
10339
  }), method(_void(), array(CameraStreamSchema).readonly()), method(_void(), array(ProfileSlotSchema).readonly()), method(object({ brokerId: string() }), BrokerStatsSchema), method(object({ brokerId: string() }), object({
10155
10340
  probed: boolean(),
10156
10341
  summary: string()
@@ -14528,11 +14713,53 @@ var LocationStatSchema = object({
14528
14713
  fileCount: number(),
14529
14714
  present: boolean()
14530
14715
  });
14716
+ /**
14717
+ * A backup schedule — the N:M "entry" that binds one cron cadence to a
14718
+ * SET of destination locations. Supersedes the per-location cron on
14719
+ * `BackupDestinationPolicy`: an operator creates a schedule, picks the
14720
+ * `backups` locations it should write to, and the orchestrator fans a
14721
+ * single archive out to all of them when the cron fires.
14722
+ *
14723
+ * `retentionCount` is per-schedule (D-decision 2026-07-28): every
14724
+ * location targeted by this schedule keeps this many archives from
14725
+ * this schedule's runs.
14726
+ *
14727
+ * `dataSources` optionally narrows which top-level state locations
14728
+ * (db, addons, tls, …) are archived; omitted = the orchestrator's
14729
+ * default full set.
14730
+ */
14731
+ var BackupScheduleSchema = object({
14732
+ /** Stable id. Generated by the orchestrator on first upsert if absent. */
14733
+ id: string(),
14734
+ /** Operator-facing display name. */
14735
+ label: string(),
14736
+ /** 5-field POSIX cron. Empty = disabled cadence (kept for editing). */
14737
+ cron: string(),
14738
+ /** Master on/off toggle for the whole schedule. */
14739
+ enabled: boolean(),
14740
+ /** `backups`-location ids this schedule writes to (fan-out set). */
14741
+ locationIds: array(string()).readonly(),
14742
+ /** Archives kept per targeted location for this schedule. */
14743
+ retentionCount: number().int().min(1).max(1e3),
14744
+ /** Optional subset of source locations to include; omitted = all. */
14745
+ dataSources: array(string()).readonly().optional(),
14746
+ /** ms-epoch of last successful run. */
14747
+ lastRunAt: number().optional(),
14748
+ /** ms-epoch of next computed firing (read-only, filled on list). */
14749
+ nextRunAt: number().optional()
14750
+ });
14531
14751
  method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }), method(object({
14532
14752
  /** Subset of registered `backup-destination` addon ids to write to. */
14533
14753
  destinations: array(string()).optional(),
14534
14754
  locations: array(string()).optional(),
14535
- label: string().optional()
14755
+ label: string().optional(),
14756
+ /**
14757
+ * Per-run retention override applied to every targeted
14758
+ * destination. Used by schedule-driven runs (per-entry
14759
+ * retention). Omitted = each destination's own policy
14760
+ * retention (manual runs).
14761
+ */
14762
+ retentionCount: number().int().min(1).max(1e3).optional()
14536
14763
  }).optional(), array(BackupEntrySchema).readonly(), {
14537
14764
  kind: "mutation",
14538
14765
  auth: "admin"
@@ -14581,7 +14808,21 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
14581
14808
  ok: boolean(),
14582
14809
  error: string().optional(),
14583
14810
  nextRuns: array(number()).readonly()
14584
- }));
14811
+ })), method(_void(), array(BackupScheduleSchema).readonly(), { auth: "admin" }), method(object({
14812
+ id: string().optional(),
14813
+ label: string(),
14814
+ cron: string(),
14815
+ enabled: boolean(),
14816
+ locationIds: array(string()).readonly(),
14817
+ retentionCount: number().int().min(1).max(1e3),
14818
+ dataSources: array(string()).readonly().optional()
14819
+ }), BackupScheduleSchema, {
14820
+ kind: "mutation",
14821
+ auth: "admin"
14822
+ }), method(object({ id: string() }), _void(), {
14823
+ kind: "mutation",
14824
+ auth: "admin"
14825
+ });
14585
14826
  /**
14586
14827
  * `broker` — unified pub/sub broker registry, system-scoped collection.
14587
14828
  *
@@ -15716,7 +15957,10 @@ method(object({
15716
15957
  }), method(object({
15717
15958
  deviceId: number(),
15718
15959
  caps: array(string()).readonly().optional()
15719
- }), record(string(), unknown().nullable()));
15960
+ }), record(string(), unknown().nullable())), method(object({
15961
+ deviceIds: array(number()).readonly(),
15962
+ caps: array(string()).readonly().optional()
15963
+ }), record(string(), record(string(), unknown().nullable())));
15720
15964
  method(object({ deviceId: number() }), record(string(), record(string(), unknown()))), method(object({
15721
15965
  deviceId: number(),
15722
15966
  capName: string()
@@ -16647,6 +16891,36 @@ var TargetKindSchema = object({
16647
16891
  icon: string(),
16648
16892
  /** Stamped by each provider so the concat-fanned catalog stays routable. */
16649
16893
  addonId: string(),
16894
+ /**
16895
+ * URL of the kind's bundled BRAND icon, served by the providing addon over
16896
+ * its own `addon-routes` surface (`/addon/<addonId>/icons/<kind>`). Absent
16897
+ * when the addon bundles no icon for that kind — the client then falls back
16898
+ * to a neutral glyph rather than rendering the raw `icon` NAME as text.
16899
+ *
16900
+ * Root-relative on purpose: it resolves against whatever origin serves a web
16901
+ * client, and a native client joins it onto its own hub base.
16902
+ *
16903
+ * DECLARED here deliberately. It used to travel as an undeclared passthrough
16904
+ * field that survived only because the runtime cap-router forwards provider
16905
+ * output verbatim — so every consumer had to re-declare it by hand to stop
16906
+ * its own Zod parse from stripping it, and the whole arrangement would have
16907
+ * broken silently the moment output validation was tightened anywhere.
16908
+ */
16909
+ iconUrl: string().optional(),
16910
+ /**
16911
+ * Media type of {@link iconUrl} (`image/svg+xml`, `image/png`, …).
16912
+ *
16913
+ * The server knows this and therefore says it, because the client cannot
16914
+ * safely guess: a React-Native client renders SVG and raster through two
16915
+ * DIFFERENT components (`react-native-svg` vs `expo-image` — expo-image does
16916
+ * not decode SVG on iOS/Android), so without this it silently fell back to a
16917
+ * placeholder glyph for every vector icon while the web build looked fine.
16918
+ *
16919
+ * Absent when {@link iconUrl} is absent, or for a legacy provider that has
16920
+ * not been updated — a client that cannot determine the type should prefer
16921
+ * its raster path, which is the safe default for an unknown image.
16922
+ */
16923
+ iconMediaType: string().optional(),
16650
16924
  configSchema: ConfigSchemaPassthrough,
16651
16925
  supportsDiscovery: boolean(),
16652
16926
  caps: TargetKindCapsSchema
@@ -17094,6 +17368,29 @@ var MotionEventSchema = object({
17094
17368
  * Absent on legacy rows ⇒ treat as `pipeline`.
17095
17369
  */
17096
17370
  var DetectionSourceSchema = _enum(["pipeline", "onboard"]);
17371
+ /**
17372
+ * The confirmed zone crossing that produced an object event. Present ONLY on
17373
+ * an event emitted BY a crossing (`zone.enter` / `zone.exit`); a movement-state
17374
+ * event (`object.entering` / `leaving` / `stationary` / `loitering`) and an
17375
+ * appearance event carry none, so a rule asking for a direction fails closed
17376
+ * on them.
17377
+ *
17378
+ * Exactly ONE crossing per event: the emitter turns each confirmed crossing
17379
+ * into its own event, so a frame in which a track enters A while leaving B
17380
+ * produces two events with two directions — never one ambiguous row.
17381
+ *
17382
+ * `zoneId` is load-bearing for an EXIT: the event's `zones` list is the
17383
+ * membership the box has NOW, and by definition it no longer contains the zone
17384
+ * that was just left. Without the id here, a zone-scoped rule could never match
17385
+ * the exit it asked for.
17386
+ */
17387
+ var ZoneCrossingSchema = object({
17388
+ direction: _enum(["enter", "exit"]),
17389
+ /** Admin zone id crossed. */
17390
+ zoneId: string(),
17391
+ /** Zone display name at crossing time (falls back to the id). */
17392
+ zoneName: string().optional()
17393
+ });
17097
17394
  var ObjectEventSchema = object({
17098
17395
  ...BaseEventFields,
17099
17396
  kind: literal("object"),
@@ -17120,6 +17417,12 @@ var ObjectEventSchema = object({
17120
17417
  zones: array(string()).readonly().optional(),
17121
17418
  /** Omitted in slim projection. */
17122
17419
  state: TrackStateSchema.optional(),
17420
+ /**
17421
+ * The zone crossing this event IS, when it is one. Absent on every other
17422
+ * event kind (movement state, appearance, package) — see
17423
+ * {@link ZoneCrossingSchema}. Omitted in slim projection.
17424
+ */
17425
+ zoneCrossing: ZoneCrossingSchema.optional(),
17123
17426
  /** Detection-frame dimensions in pixels — let consumers normalize the
17124
17427
  * pixel-space `bbox` onto a displayed image. Omitted in slim projection. */
17125
17428
  frameWidth: number().optional(),
@@ -17378,6 +17681,15 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
17378
17681
  }), method(object({ deviceId: number() }), EventPruneCountsSchema, {
17379
17682
  kind: "mutation",
17380
17683
  auth: "admin"
17684
+ }), method(RelocateMediaInputSchema, object({ jobId: string() }), {
17685
+ kind: "mutation",
17686
+ auth: "admin"
17687
+ }), method(object({}), array(RelocateJobSchema).readonly(), {
17688
+ kind: "query",
17689
+ auth: "admin"
17690
+ }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
17691
+ kind: "mutation",
17692
+ auth: "admin"
17381
17693
  }), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
17382
17694
  kind: "query",
17383
17695
  auth: "admin"
@@ -19857,6 +20169,17 @@ var GetConnectionEndpointsResultSchema = object({ endpoints: array(object({
19857
20169
  */
19858
20170
  priority: number()
19859
20171
  })).readonly() });
20172
+ /**
20173
+ * The chosen outbound endpoint for notification artifacts. `baseUrl: null` =
20174
+ * AUTO (resolved from the candidate ranking at send time); `resolved` reports
20175
+ * what AUTO currently picks, so the UI can show the effective value either way.
20176
+ */
20177
+ var NotificationEndpointSchema = object({
20178
+ /** The operator's explicit choice, or null for AUTO. */
20179
+ baseUrl: string().nullable(),
20180
+ /** What the ranking currently resolves to (null when nothing is reachable). */
20181
+ resolved: string().nullable()
20182
+ });
19860
20183
  var AllowedAddressesSchema = object({
19861
20184
  /**
19862
20185
  * Allowlist of interface addresses operators have explicitly opted
@@ -19879,7 +20202,7 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
19879
20202
  * to avoid mixed-content blocks in the browser. The public
19880
20203
  * tunnel always emits `https://` regardless. */
19881
20204
  scheme: _enum(["http", "https"]).optional()
19882
- }), GetConnectionEndpointsResultSchema), method(_void(), AllowedAddressesSchema), method(AllowedAddressesSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), AllowedAddressesSchema, { kind: "mutation" });
20205
+ }), GetConnectionEndpointsResultSchema), method(_void(), NotificationEndpointSchema), method(object({ baseUrl: string().nullable() }), NotificationEndpointSchema, { kind: "mutation" }), method(_void(), AllowedAddressesSchema), method(AllowedAddressesSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), AllowedAddressesSchema, { kind: "mutation" });
19883
20206
  /**
19884
20207
  * mesh-network — collection cap for mesh-VPN providers.
19885
20208
  *
@@ -20678,7 +21001,12 @@ var RecordingDeviceUsageSchema = object({
20678
21001
  var RecordingLocationUsageSchema = object({
20679
21002
  /** StorageLocation id; null for the legacy/degraded single-root fallback. */
20680
21003
  locationId: string().nullable(),
20681
- /** Bytes of recordings stored on this location. */
21004
+ /** Every location id sharing this row's PHYSICAL volume (aliases). One row
21005
+ * is emitted per physical disk (2026-07-29): two locations on one root
21006
+ * previously rendered as two identical "disks" with a nonsensical used
21007
+ * split — hydrate attribution across aliases is arbitrary by nature. */
21008
+ locationIds: array(string()).optional(),
21009
+ /** Bytes of recordings stored on this PHYSICAL volume (all aliases). */
20682
21010
  usedBytes: number(),
20683
21011
  /** Free bytes on the location's volume; null when capacity is unknown (remote). */
20684
21012
  availableBytes: number().nullable(),
@@ -20790,6 +21118,44 @@ method(object({
20790
21118
  }), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
20791
21119
  kind: "query",
20792
21120
  auth: "admin"
21121
+ }), method(object({
21122
+ deviceId: number(),
21123
+ aroundMs: number(),
21124
+ preRollSec: number().min(0).max(30).default(2),
21125
+ postRollSec: number().min(0).max(30).default(5),
21126
+ maxWidth: number().int().min(120).max(1280).default(480),
21127
+ fps: number().int().min(1).max(15).default(5)
21128
+ }), object({
21129
+ gifBase64: string(),
21130
+ fromMs: number(),
21131
+ toMs: number()
21132
+ }), {
21133
+ kind: "mutation",
21134
+ auth: "admin"
21135
+ }), method(object({
21136
+ deviceId: number(),
21137
+ aroundMs: number(),
21138
+ preRollSec: number().min(0).max(30).default(3),
21139
+ postRollSec: number().min(0).max(30).default(7),
21140
+ maxWidth: number().int().min(160).max(1920).default(640)
21141
+ }), object({
21142
+ clipBase64: string(),
21143
+ mime: string(),
21144
+ fromMs: number(),
21145
+ toMs: number(),
21146
+ bytes: number().int()
21147
+ }), {
21148
+ kind: "mutation",
21149
+ auth: "admin"
21150
+ }), method(RelocateFootageInputSchema, object({ jobId: string() }), {
21151
+ kind: "mutation",
21152
+ auth: "admin"
21153
+ }), method(object({}), array(RelocateJobSchema).readonly(), {
21154
+ kind: "query",
21155
+ auth: "admin"
21156
+ }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
21157
+ kind: "mutation",
21158
+ auth: "admin"
20793
21159
  });
20794
21160
  /**
20795
21161
  * `recordingExport` cap — render a footage time range into a single downloadable
@@ -21703,6 +22069,12 @@ Object.freeze({
21703
22069
  addonId: null,
21704
22070
  access: "delete"
21705
22071
  },
22072
+ "backup.deleteSchedule": {
22073
+ capName: "backup",
22074
+ capScope: "system",
22075
+ addonId: null,
22076
+ access: "delete"
22077
+ },
21706
22078
  "backup.getEntries": {
21707
22079
  capName: "backup",
21708
22080
  capScope: "system",
@@ -21733,6 +22105,12 @@ Object.freeze({
21733
22105
  addonId: null,
21734
22106
  access: "view"
21735
22107
  },
22108
+ "backup.listSchedules": {
22109
+ capName: "backup",
22110
+ capScope: "system",
22111
+ addonId: null,
22112
+ access: "view"
22113
+ },
21736
22114
  "backup.previewSchedule": {
21737
22115
  capName: "backup",
21738
22116
  capScope: "system",
@@ -21757,6 +22135,12 @@ Object.freeze({
21757
22135
  addonId: null,
21758
22136
  access: "create"
21759
22137
  },
22138
+ "backup.upsertSchedule": {
22139
+ capName: "backup",
22140
+ capScope: "system",
22141
+ addonId: null,
22142
+ access: "create"
22143
+ },
21760
22144
  "battery.wakeForStream": {
21761
22145
  capName: "battery",
21762
22146
  capScope: "device",
@@ -22363,6 +22747,12 @@ Object.freeze({
22363
22747
  addonId: null,
22364
22748
  access: "view"
22365
22749
  },
22750
+ "deviceManager.getDeviceStatusAggregateBatch": {
22751
+ capName: "device-manager",
22752
+ capScope: "system",
22753
+ addonId: null,
22754
+ access: "view"
22755
+ },
22366
22756
  "deviceManager.getLinkedDevices": {
22367
22757
  capName: "device-manager",
22368
22758
  capScope: "system",
@@ -23257,6 +23647,12 @@ Object.freeze({
23257
23647
  addonId: null,
23258
23648
  access: "view"
23259
23649
  },
23650
+ "localNetwork.getNotificationEndpoint": {
23651
+ capName: "local-network",
23652
+ capScope: "system",
23653
+ addonId: null,
23654
+ access: "view"
23655
+ },
23260
23656
  "localNetwork.getPreferred": {
23261
23657
  capName: "local-network",
23262
23658
  capScope: "system",
@@ -23281,6 +23677,12 @@ Object.freeze({
23281
23677
  addonId: null,
23282
23678
  access: "create"
23283
23679
  },
23680
+ "localNetwork.setNotificationEndpoint": {
23681
+ capName: "local-network",
23682
+ capScope: "system",
23683
+ addonId: null,
23684
+ access: "create"
23685
+ },
23284
23686
  "lockControl.lock": {
23285
23687
  capName: "lock-control",
23286
23688
  capScope: "device",
@@ -23923,6 +24325,12 @@ Object.freeze({
23923
24325
  addonId: null,
23924
24326
  access: "create"
23925
24327
  },
24328
+ "pipelineAnalytics.cancelMediaRelocate": {
24329
+ capName: "pipeline-analytics",
24330
+ capScope: "device",
24331
+ addonId: null,
24332
+ access: "create"
24333
+ },
23926
24334
  "pipelineAnalytics.clearTracks": {
23927
24335
  capName: "pipeline-analytics",
23928
24336
  capScope: "device",
@@ -23977,6 +24385,12 @@ Object.freeze({
23977
24385
  addonId: null,
23978
24386
  access: "view"
23979
24387
  },
24388
+ "pipelineAnalytics.getMediaRelocateStatus": {
24389
+ capName: "pipeline-analytics",
24390
+ capScope: "device",
24391
+ addonId: null,
24392
+ access: "view"
24393
+ },
23980
24394
  "pipelineAnalytics.getMotionEvents": {
23981
24395
  capName: "pipeline-analytics",
23982
24396
  capScope: "device",
@@ -24049,6 +24463,12 @@ Object.freeze({
24049
24463
  addonId: null,
24050
24464
  access: "create"
24051
24465
  },
24466
+ "pipelineAnalytics.relocateMedia": {
24467
+ capName: "pipeline-analytics",
24468
+ capScope: "device",
24469
+ addonId: null,
24470
+ access: "create"
24471
+ },
24052
24472
  "pipelineAnalytics.searchObjectEvents": {
24053
24473
  capName: "pipeline-analytics",
24054
24474
  capScope: "device",
@@ -24811,6 +25231,12 @@ Object.freeze({
24811
25231
  addonId: null,
24812
25232
  access: "create"
24813
25233
  },
25234
+ "recording.cancelRelocate": {
25235
+ capName: "recording",
25236
+ capScope: "system",
25237
+ addonId: null,
25238
+ access: "create"
25239
+ },
24814
25240
  "recording.deleteFootprint": {
24815
25241
  capName: "recording",
24816
25242
  capScope: "system",
@@ -24841,6 +25267,12 @@ Object.freeze({
24841
25267
  addonId: null,
24842
25268
  access: "view"
24843
25269
  },
25270
+ "recording.getRelocateStatus": {
25271
+ capName: "recording",
25272
+ capScope: "system",
25273
+ addonId: null,
25274
+ access: "view"
25275
+ },
24844
25276
  "recording.getStorageUsage": {
24845
25277
  capName: "recording",
24846
25278
  capScope: "system",
@@ -24871,6 +25303,24 @@ Object.freeze({
24871
25303
  addonId: null,
24872
25304
  access: "view"
24873
25305
  },
25306
+ "recording.relocateFootage": {
25307
+ capName: "recording",
25308
+ capScope: "system",
25309
+ addonId: null,
25310
+ access: "create"
25311
+ },
25312
+ "recording.renderClip": {
25313
+ capName: "recording",
25314
+ capScope: "system",
25315
+ addonId: null,
25316
+ access: "create"
25317
+ },
25318
+ "recording.renderGif": {
25319
+ capName: "recording",
25320
+ capScope: "system",
25321
+ addonId: null,
25322
+ access: "create"
25323
+ },
24874
25324
  "recording.rescanStorage": {
24875
25325
  capName: "recording",
24876
25326
  capScope: "system",
@@ -25465,6 +25915,12 @@ Object.freeze({
25465
25915
  addonId: null,
25466
25916
  access: "create"
25467
25917
  },
25918
+ "streamBroker.renderPreBufferClip": {
25919
+ capName: "stream-broker",
25920
+ capScope: "system",
25921
+ addonId: null,
25922
+ access: "create"
25923
+ },
25468
25924
  "streamBroker.restartProfile": {
25469
25925
  capName: "stream-broker",
25470
25926
  capScope: "system",