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