@camstack/addon-decoder-ffmpeg 1.2.63 → 1.2.64

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/index.js CHANGED
@@ -12768,6 +12768,24 @@ method(_void(), _void(), { kind: "mutation" }), method(_void(), _void(), { kind:
12768
12768
  kind: "mutation",
12769
12769
  auth: "admin"
12770
12770
  });
12771
+ /**
12772
+ * Device Manager capability — hub-side singleton that unifies device persistence,
12773
+ * live registry access, and all management operations into a single tRPC surface.
12774
+ *
12775
+ * Replaces:
12776
+ * - `device-persistence` capability (persistence methods absorbed here)
12777
+ * - `device-management.router.ts` (deleted in Phase 2)
12778
+ * - `device-ops.router.ts` (compat layer — deleted; device-provider ops absorbed here)
12779
+ *
12780
+ * All device provider addons (rtsp, onvif, frigate, …) are hub-local: they may
12781
+ * fork into separate processes but never run on remote cluster agents. Therefore:
12782
+ * - No nodeId routing needed — this is a pure hub singleton.
12783
+ * - The hub's DeviceRegistry is the single source of truth for all live devices.
12784
+ * - No shadow registry or cross-node aggregation required.
12785
+ *
12786
+ * Forked workers register devices back to the hub via `ctx.devices`
12787
+ * (DeviceManagerApi → ctx.api.deviceManager.registerDevice), same as today.
12788
+ */
12771
12789
  /** One child-placement directive on a container's `childLayout`. Structurally
12772
12790
  * identical to `ChildLayoutEntry` in `device-management.ts` — the cap wire
12773
12791
  * shape for the same field. The child is identified by its re-sync-stable
@@ -18416,6 +18434,9 @@ var RetrainStatusSchema = _enum([
18416
18434
  *
18417
18435
  * `debug` does NOT pin; it is attention, not durability.
18418
18436
  *
18437
+ * `debugNote` is the operator's own words about WHAT should be checked on this
18438
+ * track, and it lives and dies with `debug` — see {@link MAX_TRACK_DEBUG_NOTE_LEN}.
18439
+ *
18419
18440
  * `favourited` IS a BOOLEAN pin (durability bit), not a retrain lifecycle.
18420
18441
  * A favourited track is skipped by retention the same way `staging` is, but
18421
18442
  * it does not enter `none|staging|trained` and has no staging budget.
@@ -18426,6 +18447,21 @@ var TrackFlagFields = {
18426
18447
  markForTrain: boolean().optional(),
18427
18448
  /** Operator marked this track for diagnostic attention. */
18428
18449
  debug: boolean().optional(),
18450
+ /**
18451
+ * What the operator wants CHECKED on this track, in their own words.
18452
+ *
18453
+ * The flag alone says "look at this" and nothing about what for; a debug set
18454
+ * reviewed hours later is a list of tracks with no question attached. Bound
18455
+ * to `debug` on the WRITE side — the body clears it when `debug` goes off,
18456
+ * and refuses it on a track whose debug is off — so a note can never outlive
18457
+ * the attention it belongs to.
18458
+ *
18459
+ * `''` is a real value ("marked, nothing to add"); the ABSENT key means
18460
+ * "leave whatever is stored alone", which is what lets a surface turn debug
18461
+ * on without a note (a cancelled prompt) and what lets it edit the note
18462
+ * without touching the flag.
18463
+ */
18464
+ debugNote: string().max(500).optional(),
18429
18465
  /** Operator favourited this track. Pins it against pruning. */
18430
18466
  favourited: boolean().optional()
18431
18467
  };
@@ -18452,6 +18488,12 @@ var TrackFlagsSchema = object({
18452
18488
  trackId: string(),
18453
18489
  markForTrain: boolean(),
18454
18490
  debug: boolean(),
18491
+ /** The note as it STANDS after the write — never absent here (a track with no
18492
+ * note reports `''`), for the same reason the booleans are required: a
18493
+ * surface that has just written must be able to render the note it now owns
18494
+ * without a re-fetch, and an absent key would read as "unchanged" on a
18495
+ * screen that has no previous value to keep. */
18496
+ debugNote: string(),
18455
18497
  favourited: boolean(),
18456
18498
  /** The lifecycle state the boolean was derived from. Required here (unlike on
18457
18499
  * a track row) because this shape is only ever produced by the write body,
package/dist/index.mjs CHANGED
@@ -12764,6 +12764,24 @@ method(_void(), _void(), { kind: "mutation" }), method(_void(), _void(), { kind:
12764
12764
  kind: "mutation",
12765
12765
  auth: "admin"
12766
12766
  });
12767
+ /**
12768
+ * Device Manager capability — hub-side singleton that unifies device persistence,
12769
+ * live registry access, and all management operations into a single tRPC surface.
12770
+ *
12771
+ * Replaces:
12772
+ * - `device-persistence` capability (persistence methods absorbed here)
12773
+ * - `device-management.router.ts` (deleted in Phase 2)
12774
+ * - `device-ops.router.ts` (compat layer — deleted; device-provider ops absorbed here)
12775
+ *
12776
+ * All device provider addons (rtsp, onvif, frigate, …) are hub-local: they may
12777
+ * fork into separate processes but never run on remote cluster agents. Therefore:
12778
+ * - No nodeId routing needed — this is a pure hub singleton.
12779
+ * - The hub's DeviceRegistry is the single source of truth for all live devices.
12780
+ * - No shadow registry or cross-node aggregation required.
12781
+ *
12782
+ * Forked workers register devices back to the hub via `ctx.devices`
12783
+ * (DeviceManagerApi → ctx.api.deviceManager.registerDevice), same as today.
12784
+ */
12767
12785
  /** One child-placement directive on a container's `childLayout`. Structurally
12768
12786
  * identical to `ChildLayoutEntry` in `device-management.ts` — the cap wire
12769
12787
  * shape for the same field. The child is identified by its re-sync-stable
@@ -18412,6 +18430,9 @@ var RetrainStatusSchema = _enum([
18412
18430
  *
18413
18431
  * `debug` does NOT pin; it is attention, not durability.
18414
18432
  *
18433
+ * `debugNote` is the operator's own words about WHAT should be checked on this
18434
+ * track, and it lives and dies with `debug` — see {@link MAX_TRACK_DEBUG_NOTE_LEN}.
18435
+ *
18415
18436
  * `favourited` IS a BOOLEAN pin (durability bit), not a retrain lifecycle.
18416
18437
  * A favourited track is skipped by retention the same way `staging` is, but
18417
18438
  * it does not enter `none|staging|trained` and has no staging budget.
@@ -18422,6 +18443,21 @@ var TrackFlagFields = {
18422
18443
  markForTrain: boolean().optional(),
18423
18444
  /** Operator marked this track for diagnostic attention. */
18424
18445
  debug: boolean().optional(),
18446
+ /**
18447
+ * What the operator wants CHECKED on this track, in their own words.
18448
+ *
18449
+ * The flag alone says "look at this" and nothing about what for; a debug set
18450
+ * reviewed hours later is a list of tracks with no question attached. Bound
18451
+ * to `debug` on the WRITE side — the body clears it when `debug` goes off,
18452
+ * and refuses it on a track whose debug is off — so a note can never outlive
18453
+ * the attention it belongs to.
18454
+ *
18455
+ * `''` is a real value ("marked, nothing to add"); the ABSENT key means
18456
+ * "leave whatever is stored alone", which is what lets a surface turn debug
18457
+ * on without a note (a cancelled prompt) and what lets it edit the note
18458
+ * without touching the flag.
18459
+ */
18460
+ debugNote: string().max(500).optional(),
18425
18461
  /** Operator favourited this track. Pins it against pruning. */
18426
18462
  favourited: boolean().optional()
18427
18463
  };
@@ -18448,6 +18484,12 @@ var TrackFlagsSchema = object({
18448
18484
  trackId: string(),
18449
18485
  markForTrain: boolean(),
18450
18486
  debug: boolean(),
18487
+ /** The note as it STANDS after the write — never absent here (a track with no
18488
+ * note reports `''`), for the same reason the booleans are required: a
18489
+ * surface that has just written must be able to render the note it now owns
18490
+ * without a re-fetch, and an absent key would read as "unchanged" on a
18491
+ * screen that has no previous value to keep. */
18492
+ debugNote: string(),
18451
18493
  favourited: boolean(),
18452
18494
  /** The lifecycle state the boolean was derived from. Required here (unlike on
18453
18495
  * a track row) because this shape is only ever produced by the write body,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-decoder-ffmpeg",
3
- "version": "1.2.63",
3
+ "version": "1.2.64",
4
4
  "description": "Standalone ffmpeg-subprocess decoder fallback addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",