@camstack/addon-provider-hikvision 1.2.70 → 1.2.72
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
|
@@ -13215,6 +13215,24 @@ var deviceProviderCapability = {
|
|
|
13215
13215
|
})
|
|
13216
13216
|
}
|
|
13217
13217
|
};
|
|
13218
|
+
/**
|
|
13219
|
+
* Device Manager capability — hub-side singleton that unifies device persistence,
|
|
13220
|
+
* live registry access, and all management operations into a single tRPC surface.
|
|
13221
|
+
*
|
|
13222
|
+
* Replaces:
|
|
13223
|
+
* - `device-persistence` capability (persistence methods absorbed here)
|
|
13224
|
+
* - `device-management.router.ts` (deleted in Phase 2)
|
|
13225
|
+
* - `device-ops.router.ts` (compat layer — deleted; device-provider ops absorbed here)
|
|
13226
|
+
*
|
|
13227
|
+
* All device provider addons (rtsp, onvif, frigate, …) are hub-local: they may
|
|
13228
|
+
* fork into separate processes but never run on remote cluster agents. Therefore:
|
|
13229
|
+
* - No nodeId routing needed — this is a pure hub singleton.
|
|
13230
|
+
* - The hub's DeviceRegistry is the single source of truth for all live devices.
|
|
13231
|
+
* - No shadow registry or cross-node aggregation required.
|
|
13232
|
+
*
|
|
13233
|
+
* Forked workers register devices back to the hub via `ctx.devices`
|
|
13234
|
+
* (DeviceManagerApi → ctx.api.deviceManager.registerDevice), same as today.
|
|
13235
|
+
*/
|
|
13218
13236
|
/** One child-placement directive on a container's `childLayout`. Structurally
|
|
13219
13237
|
* identical to `ChildLayoutEntry` in `device-management.ts` — the cap wire
|
|
13220
13238
|
* shape for the same field. The child is identified by its re-sync-stable
|
|
@@ -18960,6 +18978,9 @@ var RetrainStatusSchema = _enum([
|
|
|
18960
18978
|
*
|
|
18961
18979
|
* `debug` does NOT pin; it is attention, not durability.
|
|
18962
18980
|
*
|
|
18981
|
+
* `debugNote` is the operator's own words about WHAT should be checked on this
|
|
18982
|
+
* track, and it lives and dies with `debug` — see {@link MAX_TRACK_DEBUG_NOTE_LEN}.
|
|
18983
|
+
*
|
|
18963
18984
|
* `favourited` IS a BOOLEAN pin (durability bit), not a retrain lifecycle.
|
|
18964
18985
|
* A favourited track is skipped by retention the same way `staging` is, but
|
|
18965
18986
|
* it does not enter `none|staging|trained` and has no staging budget.
|
|
@@ -18970,6 +18991,21 @@ var TrackFlagFields = {
|
|
|
18970
18991
|
markForTrain: boolean().optional(),
|
|
18971
18992
|
/** Operator marked this track for diagnostic attention. */
|
|
18972
18993
|
debug: boolean().optional(),
|
|
18994
|
+
/**
|
|
18995
|
+
* What the operator wants CHECKED on this track, in their own words.
|
|
18996
|
+
*
|
|
18997
|
+
* The flag alone says "look at this" and nothing about what for; a debug set
|
|
18998
|
+
* reviewed hours later is a list of tracks with no question attached. Bound
|
|
18999
|
+
* to `debug` on the WRITE side — the body clears it when `debug` goes off,
|
|
19000
|
+
* and refuses it on a track whose debug is off — so a note can never outlive
|
|
19001
|
+
* the attention it belongs to.
|
|
19002
|
+
*
|
|
19003
|
+
* `''` is a real value ("marked, nothing to add"); the ABSENT key means
|
|
19004
|
+
* "leave whatever is stored alone", which is what lets a surface turn debug
|
|
19005
|
+
* on without a note (a cancelled prompt) and what lets it edit the note
|
|
19006
|
+
* without touching the flag.
|
|
19007
|
+
*/
|
|
19008
|
+
debugNote: string().max(500).optional(),
|
|
18973
19009
|
/** Operator favourited this track. Pins it against pruning. */
|
|
18974
19010
|
favourited: boolean().optional()
|
|
18975
19011
|
};
|
|
@@ -18996,6 +19032,12 @@ var TrackFlagsSchema = object({
|
|
|
18996
19032
|
trackId: string(),
|
|
18997
19033
|
markForTrain: boolean(),
|
|
18998
19034
|
debug: boolean(),
|
|
19035
|
+
/** The note as it STANDS after the write — never absent here (a track with no
|
|
19036
|
+
* note reports `''`), for the same reason the booleans are required: a
|
|
19037
|
+
* surface that has just written must be able to render the note it now owns
|
|
19038
|
+
* without a re-fetch, and an absent key would read as "unchanged" on a
|
|
19039
|
+
* screen that has no previous value to keep. */
|
|
19040
|
+
debugNote: string(),
|
|
18999
19041
|
favourited: boolean(),
|
|
19000
19042
|
/** The lifecycle state the boolean was derived from. Required here (unlike on
|
|
19001
19043
|
* a track row) because this shape is only ever produced by the write body,
|
package/dist/addon.mjs
CHANGED
|
@@ -13216,6 +13216,24 @@ var deviceProviderCapability = {
|
|
|
13216
13216
|
})
|
|
13217
13217
|
}
|
|
13218
13218
|
};
|
|
13219
|
+
/**
|
|
13220
|
+
* Device Manager capability — hub-side singleton that unifies device persistence,
|
|
13221
|
+
* live registry access, and all management operations into a single tRPC surface.
|
|
13222
|
+
*
|
|
13223
|
+
* Replaces:
|
|
13224
|
+
* - `device-persistence` capability (persistence methods absorbed here)
|
|
13225
|
+
* - `device-management.router.ts` (deleted in Phase 2)
|
|
13226
|
+
* - `device-ops.router.ts` (compat layer — deleted; device-provider ops absorbed here)
|
|
13227
|
+
*
|
|
13228
|
+
* All device provider addons (rtsp, onvif, frigate, …) are hub-local: they may
|
|
13229
|
+
* fork into separate processes but never run on remote cluster agents. Therefore:
|
|
13230
|
+
* - No nodeId routing needed — this is a pure hub singleton.
|
|
13231
|
+
* - The hub's DeviceRegistry is the single source of truth for all live devices.
|
|
13232
|
+
* - No shadow registry or cross-node aggregation required.
|
|
13233
|
+
*
|
|
13234
|
+
* Forked workers register devices back to the hub via `ctx.devices`
|
|
13235
|
+
* (DeviceManagerApi → ctx.api.deviceManager.registerDevice), same as today.
|
|
13236
|
+
*/
|
|
13219
13237
|
/** One child-placement directive on a container's `childLayout`. Structurally
|
|
13220
13238
|
* identical to `ChildLayoutEntry` in `device-management.ts` — the cap wire
|
|
13221
13239
|
* shape for the same field. The child is identified by its re-sync-stable
|
|
@@ -18961,6 +18979,9 @@ var RetrainStatusSchema = _enum([
|
|
|
18961
18979
|
*
|
|
18962
18980
|
* `debug` does NOT pin; it is attention, not durability.
|
|
18963
18981
|
*
|
|
18982
|
+
* `debugNote` is the operator's own words about WHAT should be checked on this
|
|
18983
|
+
* track, and it lives and dies with `debug` — see {@link MAX_TRACK_DEBUG_NOTE_LEN}.
|
|
18984
|
+
*
|
|
18964
18985
|
* `favourited` IS a BOOLEAN pin (durability bit), not a retrain lifecycle.
|
|
18965
18986
|
* A favourited track is skipped by retention the same way `staging` is, but
|
|
18966
18987
|
* it does not enter `none|staging|trained` and has no staging budget.
|
|
@@ -18971,6 +18992,21 @@ var TrackFlagFields = {
|
|
|
18971
18992
|
markForTrain: boolean().optional(),
|
|
18972
18993
|
/** Operator marked this track for diagnostic attention. */
|
|
18973
18994
|
debug: boolean().optional(),
|
|
18995
|
+
/**
|
|
18996
|
+
* What the operator wants CHECKED on this track, in their own words.
|
|
18997
|
+
*
|
|
18998
|
+
* The flag alone says "look at this" and nothing about what for; a debug set
|
|
18999
|
+
* reviewed hours later is a list of tracks with no question attached. Bound
|
|
19000
|
+
* to `debug` on the WRITE side — the body clears it when `debug` goes off,
|
|
19001
|
+
* and refuses it on a track whose debug is off — so a note can never outlive
|
|
19002
|
+
* the attention it belongs to.
|
|
19003
|
+
*
|
|
19004
|
+
* `''` is a real value ("marked, nothing to add"); the ABSENT key means
|
|
19005
|
+
* "leave whatever is stored alone", which is what lets a surface turn debug
|
|
19006
|
+
* on without a note (a cancelled prompt) and what lets it edit the note
|
|
19007
|
+
* without touching the flag.
|
|
19008
|
+
*/
|
|
19009
|
+
debugNote: string().max(500).optional(),
|
|
18974
19010
|
/** Operator favourited this track. Pins it against pruning. */
|
|
18975
19011
|
favourited: boolean().optional()
|
|
18976
19012
|
};
|
|
@@ -18997,6 +19033,12 @@ var TrackFlagsSchema = object({
|
|
|
18997
19033
|
trackId: string(),
|
|
18998
19034
|
markForTrain: boolean(),
|
|
18999
19035
|
debug: boolean(),
|
|
19036
|
+
/** The note as it STANDS after the write — never absent here (a track with no
|
|
19037
|
+
* note reports `''`), for the same reason the booleans are required: a
|
|
19038
|
+
* surface that has just written must be able to render the note it now owns
|
|
19039
|
+
* without a re-fetch, and an absent key would read as "unchanged" on a
|
|
19040
|
+
* screen that has no previous value to keep. */
|
|
19041
|
+
debugNote: string(),
|
|
19000
19042
|
favourited: boolean(),
|
|
19001
19043
|
/** The lifecycle state the boolean was derived from. Required here (unlike on
|
|
19002
19044
|
* 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-provider-hikvision",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.72",
|
|
4
4
|
"description": "Hikvision camera device provider addon for CamStack — ISAPI over HTTP(S) with digest auth (snapshot, alarm stream, RTSP discovery)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|