@camstack/addon-ai 0.2.9 → 0.2.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.
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.mjs CHANGED
@@ -5,7 +5,7 @@ import { createReadStream } from "node:fs";
5
5
  import * as fsp from "node:fs/promises";
6
6
  import { spawn } from "node:child_process";
7
7
  import { createServer } from "node:net";
8
- //#region ../types/dist/event-category-BLcNejAE.mjs
8
+ //#region ../types/dist/event-category-Bz24uP1U.mjs
9
9
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
10
10
  EventCategory["SystemBoot"] = "system.boot";
11
11
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -276,6 +276,19 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
276
276
  */
277
277
  EventCategory["DeviceStateChanged"] = "device.state-changed";
278
278
  /**
279
+ * Frame occupancy for a camera CHANGED — a tracked object was gained or
280
+ * lost. Carries `{ deviceId, totalObjects, byClass, zones }`.
281
+ *
282
+ * Emitted only on a change, so a steady scene is silent. It exists so a
283
+ * client can stop polling `zoneAnalytics.getCurrentSnapshot`: that was the
284
+ * one live badge with no push signal at all, and it cost a request every
285
+ * four seconds per visible camera.
286
+ *
287
+ * Like every event it is telemetry and may be dropped ([D8]) — a consumer
288
+ * keeps a slow reconcile rather than trusting it alone.
289
+ */
290
+ EventCategory["ZoneAnalyticsOccupancyChanged"] = "zone-analytics.occupancy-changed";
291
+ /**
279
292
  * Cap event fired by every device that registers the `battery`
280
293
  * capability. Mirrors the cap definition's `onStatusChanged`. Carries
281
294
  * `{ deviceId, status: BatteryStatus }`. Subscribers (alert center,
@@ -7219,35 +7232,22 @@ var ConvertResultSchema = object({
7219
7232
  */
7220
7233
  var RecordingWeekdaySchema = number().int().min(0).max(6);
7221
7234
  var HHMM = /^([01]\d|2[0-3]):[0-5]\d$/;
7222
- var RecordingScheduleSchema = discriminatedUnion("kind", [object({ kind: literal("always") }), object({
7223
- kind: literal("timeOfDay"),
7224
- start: string().regex(HHMM),
7225
- end: string().regex(HHMM),
7226
- /** Restrict to these weekdays; omit = every day. */
7227
- days: array(RecordingWeekdaySchema).optional()
7228
- })]);
7229
- var RecordingModeSchema = _enum([
7230
- "continuous",
7231
- "onMotion",
7232
- "onAudioThreshold"
7233
- ]);
7234
7235
  /**
7235
- * First-class, authoritative per-camera storage mode — the explicit choice the
7236
- * UI reads directly (never inferred from `rules`):
7237
- * - `off` — not recording.
7238
- * - `events` — record only around triggers (motion / audio threshold),
7239
- * with pre/post-buffer.
7240
- * - `continuous` — record 24/7 within the schedule.
7236
+ * DERIVED per-camera storage summary — the single field cheap consumers read
7237
+ * (the viewer's status dot, the camera list) instead of walking `bands`:
7238
+ * - `off` — no band covers the camera (or it is disabled).
7239
+ * - `events` — every band records around triggers only.
7240
+ * - `continuous` — at least one band records continuously.
7241
7241
  *
7242
- * `mode` compiles one-way to the internal `rules[]` consumed by the policy
7243
- * engine (see `compileRules`); `rules[]` is never authored directly anymore.
7242
+ * NEVER authored: the recorder stamps it from the authoritative `bands` on
7243
+ * every save (`activeModeForConfig`). Writing it has no effect.
7244
7244
  */
7245
7245
  var RecordingStorageModeSchema = _enum([
7246
7246
  "off",
7247
7247
  "events",
7248
7248
  "continuous"
7249
7249
  ]);
7250
- /** Which detectors trigger an `events`-mode recording. */
7250
+ /** Which detectors trigger an `events`-mode band. */
7251
7251
  var RecordingTriggersSchema = object({
7252
7252
  motion: boolean().optional(),
7253
7253
  audioThresholdDbfs: number().optional()
@@ -7283,18 +7283,6 @@ var RecordingBandSchema = object({
7283
7283
  preBufferSec: number().min(0).optional(),
7284
7284
  postBufferSec: number().min(0).optional()
7285
7285
  });
7286
- var RecordingRuleSchema = object({
7287
- schedule: RecordingScheduleSchema,
7288
- mode: RecordingModeSchema,
7289
- /** Seconds of footage to retain BEFORE a trigger (applied at keep/discard). */
7290
- preBufferSec: number().min(0).default(0),
7291
- /** Keep recording until this many seconds after the last trigger. */
7292
- postBufferSec: number().min(0).default(0),
7293
- /** Each new trigger restarts the post-buffer window. */
7294
- resetTimeoutOnNewEvent: boolean().default(true),
7295
- /** onAudioThreshold only — dBFS level that counts as a trigger. */
7296
- thresholdDbfs: number().optional()
7297
- });
7298
7286
  /**
7299
7287
  * Per-device retention overrides. Every field is optional; an unset or `0`
7300
7288
  * value inherits the node-wide recorder default. Only footage-lifetime limits
@@ -7328,40 +7316,28 @@ var ScrubThumbnailPresetSchema = _enum([
7328
7316
  /**
7329
7317
  * The full per-camera recording intent — the wire shape of a RecordingTarget.
7330
7318
  *
7331
- * `mode` is the authoritative storage choice; `schedule`/`triggers`/`pre`/`post`
7332
- * are its mode-specific parameters. `rules` is a DEPRECATED authoring input kept
7333
- * only for transition + migration (`migrateRulesToMode`); the policy engine
7334
- * consumes the compiled output of `compileRules(config)`, never `rules` directly.
7319
+ * `bands` is the ONLY authored recording intent: what to record, when, and on
7320
+ * which trigger. `mode` is a derived summary the recorder stamps on save; every
7321
+ * other field is a storage knob (profiles, segment length, retention, scrub).
7322
+ *
7323
+ * STRICT on purpose: the legacy authoring surface (`schedule`/`schedules`/
7324
+ * `triggers`/`preBufferSec`/`postBufferSec`/`rules`) was retired 2026-07-30.
7325
+ * A stale caller must fail loudly — silently stripping its legacy intent would
7326
+ * persist a band-less config, i.e. silently stop recording the camera.
7335
7327
  */
7336
7328
  var RecordingConfigSchema = object({
7337
7329
  enabled: boolean(),
7338
- /** Authoritative storage mode. Absent on legacy targets derived once via
7339
- * `migrateRulesToMode`, then persisted. */
7330
+ /** DERIVED summary of `bands`, stamped by the recorder on every save.
7331
+ * Authoring it has no effect — see {@link RecordingStorageModeSchema}. */
7340
7332
  mode: RecordingStorageModeSchema.optional(),
7341
7333
  profiles: array(CamProfileSchema).optional(),
7342
7334
  segmentSeconds: number().int().positive().optional(),
7343
- /** Shared recording time-bands for `events` & `continuous` — record only when
7344
- * the wall-clock falls inside one of these windows. Omit or empty = always.
7345
- * `continuous` compiles to one rule per band; `events` to band × trigger. */
7346
- schedules: array(RecordingScheduleSchema).optional(),
7347
- /** Legacy single-band predecessor of `schedules`. Read-compat only — it is
7348
- * normalized into `schedules` on read and never written going forward. (Not
7349
- * tagged `@deprecated`: the normalization paths must read it cast-free.) */
7350
- schedule: RecordingScheduleSchema.optional(),
7351
- /** `events`-mode only — which detectors trigger a recording. */
7352
- triggers: RecordingTriggersSchema.optional(),
7353
- /** `events`-mode only — seconds retained before / after a trigger. */
7354
- preBufferSec: number().min(0).optional(),
7355
- postBufferSec: number().min(0).optional(),
7356
- /** DEPRECATED authoring input; retained for migration/transition. */
7357
- rules: array(RecordingRuleSchema).optional(),
7358
7335
  /**
7359
- * AUTHORITATIVE mode-per-band recording model (recorder). When present it
7360
- * is the single source of truth; the legacy `mode`/`schedules`/`schedule`/
7361
- * `triggers`/`rules` fields above are kept for READ-COMPAT only and are
7362
- * derived into bands once via `migrateConfigToBands`.
7336
+ * AUTHORITATIVE mode-per-band recording model the single source of truth
7337
+ * the recorder's band engine consumes. An empty array = record nothing;
7338
+ * "off" is the absence of a covering band, never a band value.
7363
7339
  */
7364
- bands: array(RecordingBandSchema).optional(),
7340
+ bands: array(RecordingBandSchema).default([]),
7365
7341
  retention: RecordingRetentionSchema.optional(),
7366
7342
  /**
7367
7343
  * Per-camera scrub-thumbnail fidelity preset (resolution + JPEG quality for
@@ -7369,8 +7345,15 @@ var RecordingConfigSchema = object({
7369
7345
  * windows only — existing sheets are immutable, and each window's index
7370
7346
  * carries its own tile dims so mixed-preset history renders correctly.
7371
7347
  */
7372
- scrubThumbnails: ScrubThumbnailPresetSchema.optional()
7373
- });
7348
+ scrubThumbnails: ScrubThumbnailPresetSchema.optional(),
7349
+ /**
7350
+ * OPT-IN thumbnail-strip generation for this camera: every keyframe of the
7351
+ * low recording saved as a JPEG (the fast-drag scrub depth), a derived
7352
+ * cache that eviction reclaims with the footage. Absent/false = no strips
7353
+ * are written and scrub reads exact keyframes at every velocity.
7354
+ */
7355
+ stripsEnabled: boolean().optional()
7356
+ }).strict();
7374
7357
  /**
7375
7358
  * Ops-log — the durable, append-only operations audit shared by the
7376
7359
  * recordings and events management surfaces.
@@ -7389,7 +7372,8 @@ var OpsLogOpSchema = _enum([
7389
7372
  "prune",
7390
7373
  "manual-delete",
7391
7374
  "rescan",
7392
- "retention-run"
7375
+ "retention-run",
7376
+ "relocate"
7393
7377
  ]);
7394
7378
  /** Why the operation ran. */
7395
7379
  var OpsLogReasonSchema = _enum([
@@ -7428,6 +7412,55 @@ var OpsLogQueryInputSchema = object({
7428
7412
  limit: number().int().min(1).max(1e3).optional()
7429
7413
  });
7430
7414
  /**
7415
+ * Entity-relocation job state (storage entity-routing spec, Phase 4).
7416
+ *
7417
+ * One shape shared by the recorder's `relocateFootage` (segments + strips) and
7418
+ * pipeline-analytics' `relocateMedia` (event media blobs) so the admin Data
7419
+ * page renders both movers with one component. Jobs are in-RAM (a restart
7420
+ * forgets them — re-running is safe by construction: copy-if-absent, delete
7421
+ * after verify) and each completed/failed run also lands one durable ops-log
7422
+ * row on the owning addon's surface.
7423
+ */
7424
+ var RelocateJobStateSchema = _enum([
7425
+ "running",
7426
+ "done",
7427
+ "failed",
7428
+ "cancelled"
7429
+ ]);
7430
+ var RelocateJobSchema = object({
7431
+ jobId: string(),
7432
+ state: RelocateJobStateSchema,
7433
+ /** Source location — for media relocation this is informational ('*': rows
7434
+ * move from wherever they are to the target). */
7435
+ fromLocationId: string(),
7436
+ toLocationId: string(),
7437
+ /** Scoped device, or null = every device. */
7438
+ deviceId: number().nullable(),
7439
+ /** What the job moves (owner-addon specific: segments/strips or media). */
7440
+ entities: array(string()),
7441
+ filesMoved: number().int(),
7442
+ bytesMoved: number().int(),
7443
+ /** Total files discovered up front; null while (or when) unknown. */
7444
+ filesTotal: number().int().nullable(),
7445
+ startedAt: number(),
7446
+ finishedAt: number().nullable(),
7447
+ error: string().nullable()
7448
+ });
7449
+ var RelocateFootageInputSchema = object({
7450
+ deviceId: number().optional(),
7451
+ fromLocationId: string(),
7452
+ toLocationId: string(),
7453
+ entities: array(_enum(["segments", "strips"])).optional(),
7454
+ /** Copy throttle in MB/s (default 40) — the drain is a background chore,
7455
+ * never allowed to starve live writers. */
7456
+ throttleMbps: number().min(1).max(1e3).optional()
7457
+ });
7458
+ var RelocateMediaInputSchema = object({
7459
+ deviceId: number().optional(),
7460
+ toLocationId: string(),
7461
+ throttleMbps: number().min(1).max(1e3).optional()
7462
+ });
7463
+ /**
7431
7464
  * `StorageLocationType` — an addon-declared id that identifies the *kind* of
7432
7465
  * storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
7433
7466
  * so the persisted record schema and the consumer-facing cap can both consume it
@@ -7477,6 +7510,13 @@ var StorageLocationSchema = object({
7477
7510
  nodeId: string().optional(),
7478
7511
  isDefault: boolean().default(false),
7479
7512
  isSystem: boolean().default(false),
7513
+ /** COMPUTED at read time by the orchestrator (statfs of the backing volume
7514
+ * for node-local locations it can reach) — never persisted, absent when the
7515
+ * volume is remote/unreachable. The single capacity truth every UI reads. */
7516
+ capacity: object({
7517
+ totalBytes: number(),
7518
+ availableBytes: number()
7519
+ }).nullable().optional(),
7480
7520
  createdAt: number(),
7481
7521
  updatedAt: number()
7482
7522
  });
@@ -7538,16 +7578,23 @@ var StorageLocationDeclarationSchema = object({
7538
7578
  * Which node root the seeded `<id>:default` instance is placed under on a
7539
7579
  * FRESH install:
7540
7580
  * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7541
- * the appData volume. Right for small/durable data (backups, logs, models).
7581
+ * the appData volume. Right for small/durable data (logs, models).
7542
7582
  * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7543
7583
  * env is set, else falls back to the data root. Right for bulky, hot media
7544
7584
  * (recordings, event media) that should stay off the appData disk.
7585
+ * - `'backup'` — the dedicated backup volume (`CAMSTACK_BACKUP_ROOT`, default
7586
+ * `/backups` in the image) so archives live on their own mount rather than
7587
+ * filling the appData disk. Falls back to the data root when unset.
7545
7588
  *
7546
7589
  * Only affects the seeded default's `basePath`; operators can repoint any
7547
7590
  * location afterwards, and a `defaultsTo` slot inherits its parent's root
7548
7591
  * regardless of this field. Absent (the common case) is treated as `'data'`.
7549
7592
  */
7550
- defaultRoot: _enum(["data", "media"]).optional()
7593
+ defaultRoot: _enum([
7594
+ "data",
7595
+ "media",
7596
+ "backup"
7597
+ ]).optional()
7551
7598
  });
7552
7599
  var DecoderStatsSchema = object({
7553
7600
  inputFps: number(),
@@ -8237,7 +8284,8 @@ var NcTaxonomyEntrySchema = object({
8237
8284
  /** Macro/category parent for grouping ('car' → 'vehicle'); null for a top. */
8238
8285
  parentKind: string().nullable()
8239
8286
  });
8240
- object({
8287
+ /** The complete NC picker taxonomy — three grouped buckets. */
8288
+ var NcTaxonomySchema = object({
8241
8289
  videoClasses: array(NcTaxonomyEntrySchema),
8242
8290
  audioKinds: array(NcTaxonomyEntrySchema),
8243
8291
  labels: array(NcTaxonomyEntrySchema)
@@ -8897,6 +8945,7 @@ var AccessoryKind = {
8897
8945
  };
8898
8946
  AccessoryKind.Siren, AccessoryKind.Floodlight, AccessoryKind.Spotlight, AccessoryKind.PirSensor, AccessoryKind.Chime, AccessoryKind.Autotrack, AccessoryKind.Nightvision, AccessoryKind.PrivacyMask;
8899
8947
  DeviceFeature.BatteryOperated;
8948
+ new Set(["devices", "classes"]);
8900
8949
  /**
8901
8950
  * Shared geometry vocabulary for on-frame shape caps — privacy-mask,
8902
8951
  * motion-zones, and the detection zones/lines editor all speak this one
@@ -9055,6 +9104,29 @@ var NcOccupancyConditionSchema = object({
9055
9104
  count: number().int().min(0).default(1),
9056
9105
  sustainSeconds: number().int().min(0).max(3600).default(15)
9057
9106
  });
9107
+ /**
9108
+ * Which zone-crossing DIRECTION a rule accepts (`ObjectEvent.zoneCrossing`).
9109
+ *
9110
+ * The values are not symmetric, and deliberately so — the absent value has to
9111
+ * mean exactly what every rule authored before this condition existed already
9112
+ * does:
9113
+ * - `enter` — entries and every NON-crossing record (movement state,
9114
+ * package, sensor). Exits are rejected. **This is the absent behaviour**:
9115
+ * an operator who never asked for exits must not start receiving them.
9116
+ * - `exit` — ONLY an exit crossing. A record that is not a crossing at all
9117
+ * fails closed, because "the car left the drive" is a question about a
9118
+ * boundary, not about a detection.
9119
+ * - `any` — no direction filter; entries, exits and non-crossings alike.
9120
+ *
9121
+ * A rule asking for a direction should normally also scope `zones`, which the
9122
+ * engine evaluates against the crossed zone as well as the current membership
9123
+ * (an exit's membership no longer contains the zone it just left).
9124
+ */
9125
+ var NcCrossingSchema = _enum([
9126
+ "enter",
9127
+ "exit",
9128
+ "any"
9129
+ ]);
9058
9130
  /** Admin-zone membership condition (zone IDs as stamped by the ZoneEngine). */
9059
9131
  var NcZoneConditionSchema = object({
9060
9132
  ids: array(string().min(1)).min(1),
@@ -9079,6 +9151,13 @@ var NcConditionsSchema = object({
9079
9151
  /** Veto zones — any hit fails the rule. */
9080
9152
  zonesExclude: array(string().min(1)).optional(),
9081
9153
  /**
9154
+ * Zone-crossing direction. IMMEDIATE only — a crossing is a per-event fact
9155
+ * and a closed track carries none, so a `track-end` rule asking for one
9156
+ * fails closed (use `zones`, which tests `zonesVisited`). ABSENT = `enter`,
9157
+ * which is exactly today's behaviour. See {@link NcCrossingSchema}.
9158
+ */
9159
+ crossing: NcCrossingSchema.optional(),
9160
+ /**
9082
9161
  * Exact (case-insensitive) match on the record's collapsed `label`
9083
9162
  * (identity name / plate text / subclass).
9084
9163
  */
@@ -9213,17 +9292,85 @@ var NcRuleTargetSchema = object({
9213
9292
  * - `keyFrame` — the clean scene frame (no subject box).
9214
9293
  * - `none` — no attachment.
9215
9294
  */
9216
- var NcMediaPolicySchema = object({ attach: _enum([
9217
- "best",
9218
- "best-matching",
9219
- "keyFrame",
9220
- "none"
9221
- ]).default("best") });
9295
+ /**
9296
+ * WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
9297
+ * conflate it with the selection strategy and betray the request: asking for
9298
+ * the clean scene frame on an object-event owner used to start at
9299
+ * `fullFrameBoxed`, i.e. the annotated frame (2026-07-30).
9300
+ * - `cropped` — the subject, tight. What "who is at the door" wants.
9301
+ * - `full` — the clean scene, no annotation. What "what is going on" wants.
9302
+ * - `boxed` — the scene WITH the detection boxes drawn, for verifying what
9303
+ * the pipeline actually saw.
9304
+ */
9305
+ var NcMediaFrameSchema = _enum([
9306
+ "cropped",
9307
+ "full",
9308
+ "boxed"
9309
+ ]);
9310
+ var NcMediaPolicySchema = object({
9311
+ attach: _enum([
9312
+ "best",
9313
+ "best-matching",
9314
+ "keyFrame",
9315
+ "none"
9316
+ ]).default("best"),
9317
+ /** What the still shows. Absent = `cropped` (the historical `best` shape). */
9318
+ frame: NcMediaFrameSchema.optional(),
9319
+ /** Crop the attached still to the rule's condition-zone bbox (padded) —
9320
+ * "show me the ZONE", not the whole scene or the subject crop. */
9321
+ zoneCrop: boolean().optional(),
9322
+ /**
9323
+ * Also attach a short GIF cut from the stream broker's clip ring around the
9324
+ * event — NOT from the recording, so the camera does not have to be
9325
+ * recording, and the window sits AROUND the moment instead of a segment
9326
+ * behind it. Fail-closed: a window the ring does not cover contributes no
9327
+ * gif, never a failed notification.
9328
+ */
9329
+ gif: boolean().optional(),
9330
+ /**
9331
+ * Also attach a short MP4 CLIP of the same cut. Same source and the same
9332
+ * fail-closed rule as `gif`. Prefer it where the backend takes video
9333
+ * (telegram, discord, zentik, webhook); backends that do not are handled by
9334
+ * the degrade engine, which drops the video and keeps the still.
9335
+ */
9336
+ clip: boolean().optional(),
9337
+ /** Seconds of footage BEFORE / AFTER the event instant. Defaults 3 / 7. */
9338
+ clipPreRollSec: number().int().min(0).max(30).optional(),
9339
+ clipPostRollSec: number().int().min(0).max(30).optional(),
9340
+ /**
9341
+ * Which stream profile the footage is cut from. Absent = the CHEAPEST
9342
+ * assigned profile: a notification is watched on a phone, so the 4K
9343
+ * rendition would burn CPU to produce a file the client downscales anyway.
9344
+ * A profile that is not assigned falls back to the cheapest, and the render
9345
+ * reports which one actually ran.
9346
+ */
9347
+ profile: CamProfileSchema.optional()
9348
+ });
9349
+ /**
9350
+ * Cooldown GRANULARITY over the subject's class — how much a fired
9351
+ * notification suppresses.
9352
+ * - `shared` (default, and the absent value) — one window for the whole
9353
+ * rule/scope: a cat silences the next dog for `cooldownSec`.
9354
+ * - `per-class` — an independent window per detected class, so cat→dog fires
9355
+ * at once and cat→cat still waits.
9356
+ *
9357
+ * AUDIO subjects are ALWAYS per-class regardless of this setting: a scream
9358
+ * must not be swallowed by a bark's window (the precedent this generalizes —
9359
+ * see `cooldownKey` in the rule engine).
9360
+ */
9361
+ var NcThrottleGranularitySchema = _enum(["shared", "per-class"]);
9222
9362
  /** Throttle — cooldown survives restarts (rebuilt from the outbox on boot). */
9223
9363
  var NcThrottleSchema = object({
9224
9364
  cooldownSec: number().int().min(0).max(86400).default(60),
9225
9365
  /** `rule` = one shared cooldown; `rule-device` = per-camera cooldown. */
9226
- scope: _enum(["rule", "rule-device"]).default("rule-device")
9366
+ scope: _enum(["rule", "rule-device"]).default("rule-device"),
9367
+ /**
9368
+ * Class granularity of the cooldown key. Optional rather than defaulted:
9369
+ * a Zod default does NOT run on the addon→addon cap path, so a persisted
9370
+ * rule authored before this field simply carries none — and the engine
9371
+ * reads absent as `shared`, the pre-existing behaviour.
9372
+ */
9373
+ granularity: NcThrottleGranularitySchema.optional()
9227
9374
  });
9228
9375
  /** Client-supplied rule fields (server stamps id/createdBy/createdAt/updatedAt). */
9229
9376
  var NcRuleInputSchema = object({
@@ -9232,7 +9379,19 @@ var NcRuleInputSchema = object({
9232
9379
  delivery: NcDeliverySchema,
9233
9380
  conditions: NcConditionsSchema.default({}),
9234
9381
  schedule: NcScheduleSchema.optional(),
9235
- targets: array(NcRuleTargetSchema).min(1),
9382
+ /** May be empty when `targetUsers` addresses at least one user — the
9383
+ * "at least one addressee" invariant is enforced by the provider, because
9384
+ * a cross-field refine here would break `NcRulePatchSchema.partial()`. */
9385
+ targets: array(NcRuleTargetSchema),
9386
+ /**
9387
+ * USERS this rule addresses in addition to `targets` (Phase 4). At fire
9388
+ * time each user fans out to the personal targets they own
9389
+ * (`config.ownerUserId`), filtered by that user's `allowedDevices` for the
9390
+ * firing camera — a user is never notified about a device they cannot open.
9391
+ * Per-user opt-outs (`disabledTargetIds`) still apply to the fanned-out
9392
+ * targets.
9393
+ */
9394
+ targetUsers: array(string()).optional(),
9236
9395
  media: NcMediaPolicySchema.default({ attach: "best" }),
9237
9396
  throttle: NcThrottleSchema.default({
9238
9397
  cooldownSec: 60,
@@ -9319,6 +9478,7 @@ var NcConditionDescriptorSchema = object({
9319
9478
  "schedule",
9320
9479
  "plateMatcher",
9321
9480
  "packagePhase",
9481
+ "crossingSelect",
9322
9482
  "polygonDraw",
9323
9483
  "occupancy"
9324
9484
  ]),
@@ -9445,7 +9605,10 @@ method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), m
9445
9605
  }), object({ results: array(NcTestResultSchema) }), {
9446
9606
  kind: "mutation",
9447
9607
  auth: "admin"
9448
- }), method(object({}), object({ catalog: array(NcConditionDescriptorSchema) })), method(object({ filter: NcHistoryFilterSchema.default({ limit: 100 }) }), object({ entries: array(NcHistoryEntrySchema) }), { auth: "admin" });
9608
+ }), method(object({}), object({
9609
+ catalog: array(NcConditionDescriptorSchema),
9610
+ taxonomy: NcTaxonomySchema.optional()
9611
+ })), method(object({ filter: NcHistoryFilterSchema.default({ limit: 100 }) }), object({ entries: array(NcHistoryEntrySchema) }), { auth: "admin" });
9449
9612
  /**
9450
9613
  * TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
9451
9614
  *
@@ -10182,6 +10345,28 @@ method(object({
10182
10345
  }), object({ success: literal(true) }), {
10183
10346
  kind: "mutation",
10184
10347
  auth: "admin"
10348
+ }), method(object({
10349
+ deviceId: number(),
10350
+ /** Absent = the LOWEST assigned profile — a notification attachment is
10351
+ * watched on a phone, and the cheap rendition is the right default. */
10352
+ profile: CamProfileSchema.optional(),
10353
+ aroundMs: number(),
10354
+ preRollSec: number().min(0).max(20).default(3),
10355
+ postRollSec: number().min(0).max(20).default(5),
10356
+ format: _enum(["gif", "mp4"]).default("gif"),
10357
+ maxWidth: number().int().min(120).max(1920).default(480),
10358
+ /** GIF only — MP4 keeps the source cadence. */
10359
+ fps: number().int().min(1).max(15).default(5)
10360
+ }), object({
10361
+ base64: string(),
10362
+ mime: string(),
10363
+ bytes: number().int(),
10364
+ /** The profile actually rendered (what the default resolved to). */
10365
+ profile: CamProfileSchema,
10366
+ durationMs: number()
10367
+ }), {
10368
+ kind: "mutation",
10369
+ auth: "admin"
10185
10370
  }), method(_void(), array(CameraStreamSchema).readonly()), method(_void(), array(ProfileSlotSchema).readonly()), method(object({ brokerId: string() }), BrokerStatsSchema), method(object({ brokerId: string() }), object({
10186
10371
  probed: boolean(),
10187
10372
  summary: string()
@@ -14532,11 +14717,53 @@ var LocationStatSchema = object({
14532
14717
  fileCount: number(),
14533
14718
  present: boolean()
14534
14719
  });
14720
+ /**
14721
+ * A backup schedule — the N:M "entry" that binds one cron cadence to a
14722
+ * SET of destination locations. Supersedes the per-location cron on
14723
+ * `BackupDestinationPolicy`: an operator creates a schedule, picks the
14724
+ * `backups` locations it should write to, and the orchestrator fans a
14725
+ * single archive out to all of them when the cron fires.
14726
+ *
14727
+ * `retentionCount` is per-schedule (D-decision 2026-07-28): every
14728
+ * location targeted by this schedule keeps this many archives from
14729
+ * this schedule's runs.
14730
+ *
14731
+ * `dataSources` optionally narrows which top-level state locations
14732
+ * (db, addons, tls, …) are archived; omitted = the orchestrator's
14733
+ * default full set.
14734
+ */
14735
+ var BackupScheduleSchema = object({
14736
+ /** Stable id. Generated by the orchestrator on first upsert if absent. */
14737
+ id: string(),
14738
+ /** Operator-facing display name. */
14739
+ label: string(),
14740
+ /** 5-field POSIX cron. Empty = disabled cadence (kept for editing). */
14741
+ cron: string(),
14742
+ /** Master on/off toggle for the whole schedule. */
14743
+ enabled: boolean(),
14744
+ /** `backups`-location ids this schedule writes to (fan-out set). */
14745
+ locationIds: array(string()).readonly(),
14746
+ /** Archives kept per targeted location for this schedule. */
14747
+ retentionCount: number().int().min(1).max(1e3),
14748
+ /** Optional subset of source locations to include; omitted = all. */
14749
+ dataSources: array(string()).readonly().optional(),
14750
+ /** ms-epoch of last successful run. */
14751
+ lastRunAt: number().optional(),
14752
+ /** ms-epoch of next computed firing (read-only, filled on list). */
14753
+ nextRunAt: number().optional()
14754
+ });
14535
14755
  method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }), method(object({
14536
14756
  /** Subset of registered `backup-destination` addon ids to write to. */
14537
14757
  destinations: array(string()).optional(),
14538
14758
  locations: array(string()).optional(),
14539
- label: string().optional()
14759
+ label: string().optional(),
14760
+ /**
14761
+ * Per-run retention override applied to every targeted
14762
+ * destination. Used by schedule-driven runs (per-entry
14763
+ * retention). Omitted = each destination's own policy
14764
+ * retention (manual runs).
14765
+ */
14766
+ retentionCount: number().int().min(1).max(1e3).optional()
14540
14767
  }).optional(), array(BackupEntrySchema).readonly(), {
14541
14768
  kind: "mutation",
14542
14769
  auth: "admin"
@@ -14585,7 +14812,21 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
14585
14812
  ok: boolean(),
14586
14813
  error: string().optional(),
14587
14814
  nextRuns: array(number()).readonly()
14588
- }));
14815
+ })), method(_void(), array(BackupScheduleSchema).readonly(), { auth: "admin" }), method(object({
14816
+ id: string().optional(),
14817
+ label: string(),
14818
+ cron: string(),
14819
+ enabled: boolean(),
14820
+ locationIds: array(string()).readonly(),
14821
+ retentionCount: number().int().min(1).max(1e3),
14822
+ dataSources: array(string()).readonly().optional()
14823
+ }), BackupScheduleSchema, {
14824
+ kind: "mutation",
14825
+ auth: "admin"
14826
+ }), method(object({ id: string() }), _void(), {
14827
+ kind: "mutation",
14828
+ auth: "admin"
14829
+ });
14589
14830
  /**
14590
14831
  * `broker` — unified pub/sub broker registry, system-scoped collection.
14591
14832
  *
@@ -15720,7 +15961,10 @@ method(object({
15720
15961
  }), method(object({
15721
15962
  deviceId: number(),
15722
15963
  caps: array(string()).readonly().optional()
15723
- }), record(string(), unknown().nullable()));
15964
+ }), record(string(), unknown().nullable())), method(object({
15965
+ deviceIds: array(number()).readonly(),
15966
+ caps: array(string()).readonly().optional()
15967
+ }), record(string(), record(string(), unknown().nullable())));
15724
15968
  method(object({ deviceId: number() }), record(string(), record(string(), unknown()))), method(object({
15725
15969
  deviceId: number(),
15726
15970
  capName: string()
@@ -16696,6 +16940,36 @@ var TargetKindSchema = object({
16696
16940
  icon: string(),
16697
16941
  /** Stamped by each provider so the concat-fanned catalog stays routable. */
16698
16942
  addonId: string(),
16943
+ /**
16944
+ * URL of the kind's bundled BRAND icon, served by the providing addon over
16945
+ * its own `addon-routes` surface (`/addon/<addonId>/icons/<kind>`). Absent
16946
+ * when the addon bundles no icon for that kind — the client then falls back
16947
+ * to a neutral glyph rather than rendering the raw `icon` NAME as text.
16948
+ *
16949
+ * Root-relative on purpose: it resolves against whatever origin serves a web
16950
+ * client, and a native client joins it onto its own hub base.
16951
+ *
16952
+ * DECLARED here deliberately. It used to travel as an undeclared passthrough
16953
+ * field that survived only because the runtime cap-router forwards provider
16954
+ * output verbatim — so every consumer had to re-declare it by hand to stop
16955
+ * its own Zod parse from stripping it, and the whole arrangement would have
16956
+ * broken silently the moment output validation was tightened anywhere.
16957
+ */
16958
+ iconUrl: string().optional(),
16959
+ /**
16960
+ * Media type of {@link iconUrl} (`image/svg+xml`, `image/png`, …).
16961
+ *
16962
+ * The server knows this and therefore says it, because the client cannot
16963
+ * safely guess: a React-Native client renders SVG and raster through two
16964
+ * DIFFERENT components (`react-native-svg` vs `expo-image` — expo-image does
16965
+ * not decode SVG on iOS/Android), so without this it silently fell back to a
16966
+ * placeholder glyph for every vector icon while the web build looked fine.
16967
+ *
16968
+ * Absent when {@link iconUrl} is absent, or for a legacy provider that has
16969
+ * not been updated — a client that cannot determine the type should prefer
16970
+ * its raster path, which is the safe default for an unknown image.
16971
+ */
16972
+ iconMediaType: string().optional(),
16699
16973
  configSchema: ConfigSchemaPassthrough,
16700
16974
  supportsDiscovery: boolean(),
16701
16975
  caps: TargetKindCapsSchema
@@ -17143,6 +17417,29 @@ var MotionEventSchema = object({
17143
17417
  * Absent on legacy rows ⇒ treat as `pipeline`.
17144
17418
  */
17145
17419
  var DetectionSourceSchema = _enum(["pipeline", "onboard"]);
17420
+ /**
17421
+ * The confirmed zone crossing that produced an object event. Present ONLY on
17422
+ * an event emitted BY a crossing (`zone.enter` / `zone.exit`); a movement-state
17423
+ * event (`object.entering` / `leaving` / `stationary` / `loitering`) and an
17424
+ * appearance event carry none, so a rule asking for a direction fails closed
17425
+ * on them.
17426
+ *
17427
+ * Exactly ONE crossing per event: the emitter turns each confirmed crossing
17428
+ * into its own event, so a frame in which a track enters A while leaving B
17429
+ * produces two events with two directions — never one ambiguous row.
17430
+ *
17431
+ * `zoneId` is load-bearing for an EXIT: the event's `zones` list is the
17432
+ * membership the box has NOW, and by definition it no longer contains the zone
17433
+ * that was just left. Without the id here, a zone-scoped rule could never match
17434
+ * the exit it asked for.
17435
+ */
17436
+ var ZoneCrossingSchema = object({
17437
+ direction: _enum(["enter", "exit"]),
17438
+ /** Admin zone id crossed. */
17439
+ zoneId: string(),
17440
+ /** Zone display name at crossing time (falls back to the id). */
17441
+ zoneName: string().optional()
17442
+ });
17146
17443
  var ObjectEventSchema = object({
17147
17444
  ...BaseEventFields,
17148
17445
  kind: literal("object"),
@@ -17169,6 +17466,12 @@ var ObjectEventSchema = object({
17169
17466
  zones: array(string()).readonly().optional(),
17170
17467
  /** Omitted in slim projection. */
17171
17468
  state: TrackStateSchema.optional(),
17469
+ /**
17470
+ * The zone crossing this event IS, when it is one. Absent on every other
17471
+ * event kind (movement state, appearance, package) — see
17472
+ * {@link ZoneCrossingSchema}. Omitted in slim projection.
17473
+ */
17474
+ zoneCrossing: ZoneCrossingSchema.optional(),
17172
17475
  /** Detection-frame dimensions in pixels — let consumers normalize the
17173
17476
  * pixel-space `bbox` onto a displayed image. Omitted in slim projection. */
17174
17477
  frameWidth: number().optional(),
@@ -17427,6 +17730,15 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
17427
17730
  }), method(object({ deviceId: number() }), EventPruneCountsSchema, {
17428
17731
  kind: "mutation",
17429
17732
  auth: "admin"
17733
+ }), method(RelocateMediaInputSchema, object({ jobId: string() }), {
17734
+ kind: "mutation",
17735
+ auth: "admin"
17736
+ }), method(object({}), array(RelocateJobSchema).readonly(), {
17737
+ kind: "query",
17738
+ auth: "admin"
17739
+ }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
17740
+ kind: "mutation",
17741
+ auth: "admin"
17430
17742
  }), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
17431
17743
  kind: "query",
17432
17744
  auth: "admin"
@@ -19906,6 +20218,17 @@ var GetConnectionEndpointsResultSchema = object({ endpoints: array(object({
19906
20218
  */
19907
20219
  priority: number()
19908
20220
  })).readonly() });
20221
+ /**
20222
+ * The chosen outbound endpoint for notification artifacts. `baseUrl: null` =
20223
+ * AUTO (resolved from the candidate ranking at send time); `resolved` reports
20224
+ * what AUTO currently picks, so the UI can show the effective value either way.
20225
+ */
20226
+ var NotificationEndpointSchema = object({
20227
+ /** The operator's explicit choice, or null for AUTO. */
20228
+ baseUrl: string().nullable(),
20229
+ /** What the ranking currently resolves to (null when nothing is reachable). */
20230
+ resolved: string().nullable()
20231
+ });
19909
20232
  var AllowedAddressesSchema = object({
19910
20233
  /**
19911
20234
  * Allowlist of interface addresses operators have explicitly opted
@@ -19928,7 +20251,7 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
19928
20251
  * to avoid mixed-content blocks in the browser. The public
19929
20252
  * tunnel always emits `https://` regardless. */
19930
20253
  scheme: _enum(["http", "https"]).optional()
19931
- }), GetConnectionEndpointsResultSchema), method(_void(), AllowedAddressesSchema), method(AllowedAddressesSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), AllowedAddressesSchema, { kind: "mutation" });
20254
+ }), 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" });
19932
20255
  /**
19933
20256
  * mesh-network — collection cap for mesh-VPN providers.
19934
20257
  *
@@ -20727,7 +21050,12 @@ var RecordingDeviceUsageSchema = object({
20727
21050
  var RecordingLocationUsageSchema = object({
20728
21051
  /** StorageLocation id; null for the legacy/degraded single-root fallback. */
20729
21052
  locationId: string().nullable(),
20730
- /** Bytes of recordings stored on this location. */
21053
+ /** Every location id sharing this row's PHYSICAL volume (aliases). One row
21054
+ * is emitted per physical disk (2026-07-29): two locations on one root
21055
+ * previously rendered as two identical "disks" with a nonsensical used
21056
+ * split — hydrate attribution across aliases is arbitrary by nature. */
21057
+ locationIds: array(string()).optional(),
21058
+ /** Bytes of recordings stored on this PHYSICAL volume (all aliases). */
20731
21059
  usedBytes: number(),
20732
21060
  /** Free bytes on the location's volume; null when capacity is unknown (remote). */
20733
21061
  availableBytes: number().nullable(),
@@ -20839,6 +21167,44 @@ method(object({
20839
21167
  }), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
20840
21168
  kind: "query",
20841
21169
  auth: "admin"
21170
+ }), method(object({
21171
+ deviceId: number(),
21172
+ aroundMs: number(),
21173
+ preRollSec: number().min(0).max(30).default(2),
21174
+ postRollSec: number().min(0).max(30).default(5),
21175
+ maxWidth: number().int().min(120).max(1280).default(480),
21176
+ fps: number().int().min(1).max(15).default(5)
21177
+ }), object({
21178
+ gifBase64: string(),
21179
+ fromMs: number(),
21180
+ toMs: number()
21181
+ }), {
21182
+ kind: "mutation",
21183
+ auth: "admin"
21184
+ }), method(object({
21185
+ deviceId: number(),
21186
+ aroundMs: number(),
21187
+ preRollSec: number().min(0).max(30).default(3),
21188
+ postRollSec: number().min(0).max(30).default(7),
21189
+ maxWidth: number().int().min(160).max(1920).default(640)
21190
+ }), object({
21191
+ clipBase64: string(),
21192
+ mime: string(),
21193
+ fromMs: number(),
21194
+ toMs: number(),
21195
+ bytes: number().int()
21196
+ }), {
21197
+ kind: "mutation",
21198
+ auth: "admin"
21199
+ }), method(RelocateFootageInputSchema, object({ jobId: string() }), {
21200
+ kind: "mutation",
21201
+ auth: "admin"
21202
+ }), method(object({}), array(RelocateJobSchema).readonly(), {
21203
+ kind: "query",
21204
+ auth: "admin"
21205
+ }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
21206
+ kind: "mutation",
21207
+ auth: "admin"
20842
21208
  });
20843
21209
  /**
20844
21210
  * `recordingExport` cap — render a footage time range into a single downloadable
@@ -21752,6 +22118,12 @@ Object.freeze({
21752
22118
  addonId: null,
21753
22119
  access: "delete"
21754
22120
  },
22121
+ "backup.deleteSchedule": {
22122
+ capName: "backup",
22123
+ capScope: "system",
22124
+ addonId: null,
22125
+ access: "delete"
22126
+ },
21755
22127
  "backup.getEntries": {
21756
22128
  capName: "backup",
21757
22129
  capScope: "system",
@@ -21782,6 +22154,12 @@ Object.freeze({
21782
22154
  addonId: null,
21783
22155
  access: "view"
21784
22156
  },
22157
+ "backup.listSchedules": {
22158
+ capName: "backup",
22159
+ capScope: "system",
22160
+ addonId: null,
22161
+ access: "view"
22162
+ },
21785
22163
  "backup.previewSchedule": {
21786
22164
  capName: "backup",
21787
22165
  capScope: "system",
@@ -21806,6 +22184,12 @@ Object.freeze({
21806
22184
  addonId: null,
21807
22185
  access: "create"
21808
22186
  },
22187
+ "backup.upsertSchedule": {
22188
+ capName: "backup",
22189
+ capScope: "system",
22190
+ addonId: null,
22191
+ access: "create"
22192
+ },
21809
22193
  "battery.wakeForStream": {
21810
22194
  capName: "battery",
21811
22195
  capScope: "device",
@@ -22412,6 +22796,12 @@ Object.freeze({
22412
22796
  addonId: null,
22413
22797
  access: "view"
22414
22798
  },
22799
+ "deviceManager.getDeviceStatusAggregateBatch": {
22800
+ capName: "device-manager",
22801
+ capScope: "system",
22802
+ addonId: null,
22803
+ access: "view"
22804
+ },
22415
22805
  "deviceManager.getLinkedDevices": {
22416
22806
  capName: "device-manager",
22417
22807
  capScope: "system",
@@ -23306,6 +23696,12 @@ Object.freeze({
23306
23696
  addonId: null,
23307
23697
  access: "view"
23308
23698
  },
23699
+ "localNetwork.getNotificationEndpoint": {
23700
+ capName: "local-network",
23701
+ capScope: "system",
23702
+ addonId: null,
23703
+ access: "view"
23704
+ },
23309
23705
  "localNetwork.getPreferred": {
23310
23706
  capName: "local-network",
23311
23707
  capScope: "system",
@@ -23330,6 +23726,12 @@ Object.freeze({
23330
23726
  addonId: null,
23331
23727
  access: "create"
23332
23728
  },
23729
+ "localNetwork.setNotificationEndpoint": {
23730
+ capName: "local-network",
23731
+ capScope: "system",
23732
+ addonId: null,
23733
+ access: "create"
23734
+ },
23333
23735
  "lockControl.lock": {
23334
23736
  capName: "lock-control",
23335
23737
  capScope: "device",
@@ -23972,6 +24374,12 @@ Object.freeze({
23972
24374
  addonId: null,
23973
24375
  access: "create"
23974
24376
  },
24377
+ "pipelineAnalytics.cancelMediaRelocate": {
24378
+ capName: "pipeline-analytics",
24379
+ capScope: "device",
24380
+ addonId: null,
24381
+ access: "create"
24382
+ },
23975
24383
  "pipelineAnalytics.clearTracks": {
23976
24384
  capName: "pipeline-analytics",
23977
24385
  capScope: "device",
@@ -24026,6 +24434,12 @@ Object.freeze({
24026
24434
  addonId: null,
24027
24435
  access: "view"
24028
24436
  },
24437
+ "pipelineAnalytics.getMediaRelocateStatus": {
24438
+ capName: "pipeline-analytics",
24439
+ capScope: "device",
24440
+ addonId: null,
24441
+ access: "view"
24442
+ },
24029
24443
  "pipelineAnalytics.getMotionEvents": {
24030
24444
  capName: "pipeline-analytics",
24031
24445
  capScope: "device",
@@ -24098,6 +24512,12 @@ Object.freeze({
24098
24512
  addonId: null,
24099
24513
  access: "create"
24100
24514
  },
24515
+ "pipelineAnalytics.relocateMedia": {
24516
+ capName: "pipeline-analytics",
24517
+ capScope: "device",
24518
+ addonId: null,
24519
+ access: "create"
24520
+ },
24101
24521
  "pipelineAnalytics.searchObjectEvents": {
24102
24522
  capName: "pipeline-analytics",
24103
24523
  capScope: "device",
@@ -24860,6 +25280,12 @@ Object.freeze({
24860
25280
  addonId: null,
24861
25281
  access: "create"
24862
25282
  },
25283
+ "recording.cancelRelocate": {
25284
+ capName: "recording",
25285
+ capScope: "system",
25286
+ addonId: null,
25287
+ access: "create"
25288
+ },
24863
25289
  "recording.deleteFootprint": {
24864
25290
  capName: "recording",
24865
25291
  capScope: "system",
@@ -24890,6 +25316,12 @@ Object.freeze({
24890
25316
  addonId: null,
24891
25317
  access: "view"
24892
25318
  },
25319
+ "recording.getRelocateStatus": {
25320
+ capName: "recording",
25321
+ capScope: "system",
25322
+ addonId: null,
25323
+ access: "view"
25324
+ },
24893
25325
  "recording.getStorageUsage": {
24894
25326
  capName: "recording",
24895
25327
  capScope: "system",
@@ -24920,6 +25352,24 @@ Object.freeze({
24920
25352
  addonId: null,
24921
25353
  access: "view"
24922
25354
  },
25355
+ "recording.relocateFootage": {
25356
+ capName: "recording",
25357
+ capScope: "system",
25358
+ addonId: null,
25359
+ access: "create"
25360
+ },
25361
+ "recording.renderClip": {
25362
+ capName: "recording",
25363
+ capScope: "system",
25364
+ addonId: null,
25365
+ access: "create"
25366
+ },
25367
+ "recording.renderGif": {
25368
+ capName: "recording",
25369
+ capScope: "system",
25370
+ addonId: null,
25371
+ access: "create"
25372
+ },
24923
25373
  "recording.rescanStorage": {
24924
25374
  capName: "recording",
24925
25375
  capScope: "system",
@@ -25514,6 +25964,12 @@ Object.freeze({
25514
25964
  addonId: null,
25515
25965
  access: "create"
25516
25966
  },
25967
+ "streamBroker.renderPreBufferClip": {
25968
+ capName: "stream-broker",
25969
+ capScope: "system",
25970
+ addonId: null,
25971
+ access: "create"
25972
+ },
25517
25973
  "streamBroker.restartProfile": {
25518
25974
  capName: "stream-broker",
25519
25975
  capScope: "system",