@camstack/addon-provider-rtsp 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/addon.js +42 -0
- package/dist/addon.mjs +42 -0
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -12983,6 +12983,24 @@ var deviceProviderCapability = {
|
|
|
12983
12983
|
})
|
|
12984
12984
|
}
|
|
12985
12985
|
};
|
|
12986
|
+
/**
|
|
12987
|
+
* Device Manager capability — hub-side singleton that unifies device persistence,
|
|
12988
|
+
* live registry access, and all management operations into a single tRPC surface.
|
|
12989
|
+
*
|
|
12990
|
+
* Replaces:
|
|
12991
|
+
* - `device-persistence` capability (persistence methods absorbed here)
|
|
12992
|
+
* - `device-management.router.ts` (deleted in Phase 2)
|
|
12993
|
+
* - `device-ops.router.ts` (compat layer — deleted; device-provider ops absorbed here)
|
|
12994
|
+
*
|
|
12995
|
+
* All device provider addons (rtsp, onvif, frigate, …) are hub-local: they may
|
|
12996
|
+
* fork into separate processes but never run on remote cluster agents. Therefore:
|
|
12997
|
+
* - No nodeId routing needed — this is a pure hub singleton.
|
|
12998
|
+
* - The hub's DeviceRegistry is the single source of truth for all live devices.
|
|
12999
|
+
* - No shadow registry or cross-node aggregation required.
|
|
13000
|
+
*
|
|
13001
|
+
* Forked workers register devices back to the hub via `ctx.devices`
|
|
13002
|
+
* (DeviceManagerApi → ctx.api.deviceManager.registerDevice), same as today.
|
|
13003
|
+
*/
|
|
12986
13004
|
/** One child-placement directive on a container's `childLayout`. Structurally
|
|
12987
13005
|
* identical to `ChildLayoutEntry` in `device-management.ts` — the cap wire
|
|
12988
13006
|
* shape for the same field. The child is identified by its re-sync-stable
|
|
@@ -18709,6 +18727,9 @@ var RetrainStatusSchema = _enum([
|
|
|
18709
18727
|
*
|
|
18710
18728
|
* `debug` does NOT pin; it is attention, not durability.
|
|
18711
18729
|
*
|
|
18730
|
+
* `debugNote` is the operator's own words about WHAT should be checked on this
|
|
18731
|
+
* track, and it lives and dies with `debug` — see {@link MAX_TRACK_DEBUG_NOTE_LEN}.
|
|
18732
|
+
*
|
|
18712
18733
|
* `favourited` IS a BOOLEAN pin (durability bit), not a retrain lifecycle.
|
|
18713
18734
|
* A favourited track is skipped by retention the same way `staging` is, but
|
|
18714
18735
|
* it does not enter `none|staging|trained` and has no staging budget.
|
|
@@ -18719,6 +18740,21 @@ var TrackFlagFields = {
|
|
|
18719
18740
|
markForTrain: boolean().optional(),
|
|
18720
18741
|
/** Operator marked this track for diagnostic attention. */
|
|
18721
18742
|
debug: boolean().optional(),
|
|
18743
|
+
/**
|
|
18744
|
+
* What the operator wants CHECKED on this track, in their own words.
|
|
18745
|
+
*
|
|
18746
|
+
* The flag alone says "look at this" and nothing about what for; a debug set
|
|
18747
|
+
* reviewed hours later is a list of tracks with no question attached. Bound
|
|
18748
|
+
* to `debug` on the WRITE side — the body clears it when `debug` goes off,
|
|
18749
|
+
* and refuses it on a track whose debug is off — so a note can never outlive
|
|
18750
|
+
* the attention it belongs to.
|
|
18751
|
+
*
|
|
18752
|
+
* `''` is a real value ("marked, nothing to add"); the ABSENT key means
|
|
18753
|
+
* "leave whatever is stored alone", which is what lets a surface turn debug
|
|
18754
|
+
* on without a note (a cancelled prompt) and what lets it edit the note
|
|
18755
|
+
* without touching the flag.
|
|
18756
|
+
*/
|
|
18757
|
+
debugNote: string().max(500).optional(),
|
|
18722
18758
|
/** Operator favourited this track. Pins it against pruning. */
|
|
18723
18759
|
favourited: boolean().optional()
|
|
18724
18760
|
};
|
|
@@ -18745,6 +18781,12 @@ var TrackFlagsSchema = object({
|
|
|
18745
18781
|
trackId: string(),
|
|
18746
18782
|
markForTrain: boolean(),
|
|
18747
18783
|
debug: boolean(),
|
|
18784
|
+
/** The note as it STANDS after the write — never absent here (a track with no
|
|
18785
|
+
* note reports `''`), for the same reason the booleans are required: a
|
|
18786
|
+
* surface that has just written must be able to render the note it now owns
|
|
18787
|
+
* without a re-fetch, and an absent key would read as "unchanged" on a
|
|
18788
|
+
* screen that has no previous value to keep. */
|
|
18789
|
+
debugNote: string(),
|
|
18748
18790
|
favourited: boolean(),
|
|
18749
18791
|
/** The lifecycle state the boolean was derived from. Required here (unlike on
|
|
18750
18792
|
* a track row) because this shape is only ever produced by the write body,
|
package/dist/addon.mjs
CHANGED
|
@@ -12959,6 +12959,24 @@ var deviceProviderCapability = {
|
|
|
12959
12959
|
})
|
|
12960
12960
|
}
|
|
12961
12961
|
};
|
|
12962
|
+
/**
|
|
12963
|
+
* Device Manager capability — hub-side singleton that unifies device persistence,
|
|
12964
|
+
* live registry access, and all management operations into a single tRPC surface.
|
|
12965
|
+
*
|
|
12966
|
+
* Replaces:
|
|
12967
|
+
* - `device-persistence` capability (persistence methods absorbed here)
|
|
12968
|
+
* - `device-management.router.ts` (deleted in Phase 2)
|
|
12969
|
+
* - `device-ops.router.ts` (compat layer — deleted; device-provider ops absorbed here)
|
|
12970
|
+
*
|
|
12971
|
+
* All device provider addons (rtsp, onvif, frigate, …) are hub-local: they may
|
|
12972
|
+
* fork into separate processes but never run on remote cluster agents. Therefore:
|
|
12973
|
+
* - No nodeId routing needed — this is a pure hub singleton.
|
|
12974
|
+
* - The hub's DeviceRegistry is the single source of truth for all live devices.
|
|
12975
|
+
* - No shadow registry or cross-node aggregation required.
|
|
12976
|
+
*
|
|
12977
|
+
* Forked workers register devices back to the hub via `ctx.devices`
|
|
12978
|
+
* (DeviceManagerApi → ctx.api.deviceManager.registerDevice), same as today.
|
|
12979
|
+
*/
|
|
12962
12980
|
/** One child-placement directive on a container's `childLayout`. Structurally
|
|
12963
12981
|
* identical to `ChildLayoutEntry` in `device-management.ts` — the cap wire
|
|
12964
12982
|
* shape for the same field. The child is identified by its re-sync-stable
|
|
@@ -18685,6 +18703,9 @@ var RetrainStatusSchema = _enum([
|
|
|
18685
18703
|
*
|
|
18686
18704
|
* `debug` does NOT pin; it is attention, not durability.
|
|
18687
18705
|
*
|
|
18706
|
+
* `debugNote` is the operator's own words about WHAT should be checked on this
|
|
18707
|
+
* track, and it lives and dies with `debug` — see {@link MAX_TRACK_DEBUG_NOTE_LEN}.
|
|
18708
|
+
*
|
|
18688
18709
|
* `favourited` IS a BOOLEAN pin (durability bit), not a retrain lifecycle.
|
|
18689
18710
|
* A favourited track is skipped by retention the same way `staging` is, but
|
|
18690
18711
|
* it does not enter `none|staging|trained` and has no staging budget.
|
|
@@ -18695,6 +18716,21 @@ var TrackFlagFields = {
|
|
|
18695
18716
|
markForTrain: boolean().optional(),
|
|
18696
18717
|
/** Operator marked this track for diagnostic attention. */
|
|
18697
18718
|
debug: boolean().optional(),
|
|
18719
|
+
/**
|
|
18720
|
+
* What the operator wants CHECKED on this track, in their own words.
|
|
18721
|
+
*
|
|
18722
|
+
* The flag alone says "look at this" and nothing about what for; a debug set
|
|
18723
|
+
* reviewed hours later is a list of tracks with no question attached. Bound
|
|
18724
|
+
* to `debug` on the WRITE side — the body clears it when `debug` goes off,
|
|
18725
|
+
* and refuses it on a track whose debug is off — so a note can never outlive
|
|
18726
|
+
* the attention it belongs to.
|
|
18727
|
+
*
|
|
18728
|
+
* `''` is a real value ("marked, nothing to add"); the ABSENT key means
|
|
18729
|
+
* "leave whatever is stored alone", which is what lets a surface turn debug
|
|
18730
|
+
* on without a note (a cancelled prompt) and what lets it edit the note
|
|
18731
|
+
* without touching the flag.
|
|
18732
|
+
*/
|
|
18733
|
+
debugNote: string().max(500).optional(),
|
|
18698
18734
|
/** Operator favourited this track. Pins it against pruning. */
|
|
18699
18735
|
favourited: boolean().optional()
|
|
18700
18736
|
};
|
|
@@ -18721,6 +18757,12 @@ var TrackFlagsSchema = object({
|
|
|
18721
18757
|
trackId: string(),
|
|
18722
18758
|
markForTrain: boolean(),
|
|
18723
18759
|
debug: boolean(),
|
|
18760
|
+
/** The note as it STANDS after the write — never absent here (a track with no
|
|
18761
|
+
* note reports `''`), for the same reason the booleans are required: a
|
|
18762
|
+
* surface that has just written must be able to render the note it now owns
|
|
18763
|
+
* without a re-fetch, and an absent key would read as "unchanged" on a
|
|
18764
|
+
* screen that has no previous value to keep. */
|
|
18765
|
+
debugNote: string(),
|
|
18724
18766
|
favourited: boolean(),
|
|
18725
18767
|
/** The lifecycle state the boolean was derived from. Required here (unlike on
|
|
18726
18768
|
* a track row) because this shape is only ever produced by the write body,
|