@camstack/addon-osd-manager 0.1.98 → 0.1.100
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/{MotionZonesSettings-DpjulO5F.mjs → MotionZonesSettings-BmqapaTP.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-DaxBEzfV.mjs → PrivacyMaskSettings-C_ENwx9Q.mjs} +4 -4
- package/dist/{SceneMonitorEditor-DoZLlL7g.mjs → SceneMonitorEditor-G-kQWq6o.mjs} +3 -3
- package/dist/_stub.js +11 -11
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-BAwkeBnB.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-CDVsNfKC.mjs} +4 -4
- package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Dc2jiuWZ.mjs +26 -0
- package/dist/addon-osd-manager.css +1 -1
- package/dist/{hostInit-wtg1CgtS.mjs → hostInit-Bttvb5u6.mjs} +3 -3
- package/dist/index.js +585 -18
- package/dist/index.mjs +585 -18
- package/dist/{player-overlays-CKl-z5dT.mjs → player-overlays-BXcJYuYX.mjs} +1 -1
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-Db-2LAhn.mjs → responsive-DmRkhonW.mjs} +1 -1
- package/dist/{square-D4bK2uSS.mjs → square-LLImpVvg.mjs} +1 -1
- package/dist/{trash-2-CkBUBr8-.mjs → trash-2-DnVYkte0.mjs} +1 -1
- package/dist/{use-device-snapshot-VChilLVp.mjs → use-device-snapshot-B3WRvUHI.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-Cx68KkGj.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-DJ2oo3wz.mjs} +1 -1
- package/package.json +2 -2
- package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-0OJdCNRg.mjs +0 -26
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../types/dist/event-category-
|
|
1
|
+
//#region ../types/dist/event-category-BVDXG4tB.mjs
|
|
2
2
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
3
3
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4
4
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -615,6 +615,20 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
615
615
|
* pull-reconcile from the provider's `getStatus` on reconnect. */
|
|
616
616
|
EventCategory["MeshNetworkChanged"] = "network.mesh.changed";
|
|
617
617
|
EventCategory["BackupCompleted"] = "backup.completed";
|
|
618
|
+
/**
|
|
619
|
+
* A whole backup RUN finished — every destination attempted, win or lose.
|
|
620
|
+
*
|
|
621
|
+
* `backup.completed` fires once per DESTINATION, which is the right grain for
|
|
622
|
+
* a progress UI and the wrong one for a notification: an operator with three
|
|
623
|
+
* destinations would be told three times. And a run where two of three
|
|
624
|
+
* destinations succeeded is not a clean success — a single "backup
|
|
625
|
+
* completed" that hid the failed one would be a lie, so the count of each is
|
|
626
|
+
* carried here and the message says both.
|
|
627
|
+
*
|
|
628
|
+
* Emitted by the backup orchestrator only after the destination loop, so a
|
|
629
|
+
* run that dies during the BUILD phase produces no completion at all.
|
|
630
|
+
*/
|
|
631
|
+
EventCategory["BackupRunCompleted"] = "backup.run-completed";
|
|
618
632
|
EventCategory["BackupRestored"] = "backup.restored";
|
|
619
633
|
EventCategory["NotificationDispatched"] = "notification.dispatched";
|
|
620
634
|
EventCategory["NotificationFailed"] = "notification.failed";
|
|
@@ -5345,7 +5359,7 @@ var ZodIssueCode = {
|
|
|
5345
5359
|
var ZodFirstPartyTypeKind;
|
|
5346
5360
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5347
5361
|
//#endregion
|
|
5348
|
-
//#region ../types/dist/sleep-
|
|
5362
|
+
//#region ../types/dist/sleep-BDR76Ykr.mjs
|
|
5349
5363
|
/**
|
|
5350
5364
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5351
5365
|
* window to float samples (D455).
|
|
@@ -12007,6 +12021,87 @@ var cameraPipelineConfigCapability = {
|
|
|
12007
12021
|
exposesDeviceSettings: true,
|
|
12008
12022
|
methods: {}
|
|
12009
12023
|
};
|
|
12024
|
+
/**
|
|
12025
|
+
* The signals a device can emit to WAKE its own stream.
|
|
12026
|
+
*
|
|
12027
|
+
* A camera whose stream is built on demand sleeps until something asks for it,
|
|
12028
|
+
* and "something" cannot be a consumer that is merely attached — a Frigate-style
|
|
12029
|
+
* puller holds a session open for ever, and treating that as demand would keep
|
|
12030
|
+
* a battery camera awake for ever, which is the whole thing the battery is for
|
|
12031
|
+
* (D173). So the wake has to come from the CAMERA: an event it noticed by
|
|
12032
|
+
* itself, with no stream running.
|
|
12033
|
+
*
|
|
12034
|
+
* ## The vocabulary is the PROVIDER'S, not ours
|
|
12035
|
+
*
|
|
12036
|
+
* Like `consumables`, this cap declares no vocabulary of its own. A provider
|
|
12037
|
+
* names each signal with a `code` it chooses and a `label` an operator reads.
|
|
12038
|
+
* Reolink offers motion and camera-native detection; another provider may offer
|
|
12039
|
+
* a tamper, a doorbell press, a PIR, or something no camera in this fleet has
|
|
12040
|
+
* yet. A fixed enum here would mean every new signal is a framework release.
|
|
12041
|
+
*
|
|
12042
|
+
* It is deliberately NOT derived from the caps a device already binds. Whether
|
|
12043
|
+
* a camera CAN push firmware motion is expressed by `motionSources` containing
|
|
12044
|
+
* `'onboard'`, and whether it does AI on-camera by the `native-object-detection`
|
|
12045
|
+
* binding — but both answer "what drives the detection pipeline", which is a
|
|
12046
|
+
* different question from "what may wake a sleeping stream". A camera can do
|
|
12047
|
+
* the first and not be trusted with the second, and the operator picks per
|
|
12048
|
+
* camera. Two questions, two authorities.
|
|
12049
|
+
*
|
|
12050
|
+
* ## Availability is not permission
|
|
12051
|
+
*
|
|
12052
|
+
* `listSignals` says what the device CAN emit. Whether a given signal actually
|
|
12053
|
+
* wakes the stream is the operator's per-camera choice, held by the broker
|
|
12054
|
+
* alongside the cooldown — see the stream-broker cap's wake settings. A
|
|
12055
|
+
* provider declaring a signal is not a provider enabling it.
|
|
12056
|
+
*/
|
|
12057
|
+
/** One signal a device can emit. */
|
|
12058
|
+
var StreamSignalSchema = object({
|
|
12059
|
+
/** Stable id chosen by the provider, e.g. `'motion'`, `'person'`, `'tamper'`. */
|
|
12060
|
+
code: string().min(1),
|
|
12061
|
+
/** What an operator reads in the picker. The provider's own wording. */
|
|
12062
|
+
label: string().min(1),
|
|
12063
|
+
/**
|
|
12064
|
+
* Whether the provider recommends this signal ON when a camera is first set
|
|
12065
|
+
* up. A provider knows which of its signals are cheap and reliable; an
|
|
12066
|
+
* operator should not have to discover that by trial. Reolink recommends
|
|
12067
|
+
* both of its own.
|
|
12068
|
+
*/
|
|
12069
|
+
recommended: boolean()
|
|
12070
|
+
});
|
|
12071
|
+
var StreamSignalsStatusSchema = object({
|
|
12072
|
+
signals: array(StreamSignalSchema),
|
|
12073
|
+
lastFetchedAt: number()
|
|
12074
|
+
});
|
|
12075
|
+
var streamSignalsCapability = {
|
|
12076
|
+
name: "stream-signals",
|
|
12077
|
+
scope: "device",
|
|
12078
|
+
deviceNative: true,
|
|
12079
|
+
mode: "singleton",
|
|
12080
|
+
deviceTypes: Object.values(DeviceType),
|
|
12081
|
+
runtimeState: StreamSignalsStatusSchema,
|
|
12082
|
+
/**
|
|
12083
|
+
* Runtime-state durability: **session** — mirrored in RAM, never written.
|
|
12084
|
+
*
|
|
12085
|
+
* The slice holds what the DEVICE says it can emit. That is a probed fact,
|
|
12086
|
+
* not an operator choice: the provider re-declares it on every registration,
|
|
12087
|
+
* so losing it loses nothing and persisting it would freeze an answer the
|
|
12088
|
+
* camera is entitled to change. Measured the same day on the sibling case —
|
|
12089
|
+
* `native-object-detection.supportedClasses` was persisted, and a firmware
|
|
12090
|
+
* class the camera really detected stayed missing for the life of the row
|
|
12091
|
+
* because the fix could not reach it.
|
|
12092
|
+
*
|
|
12093
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
12094
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
12095
|
+
*/
|
|
12096
|
+
durability: "session",
|
|
12097
|
+
methods: {
|
|
12098
|
+
/**
|
|
12099
|
+
* What this device can emit. Empty is a valid and common answer — most
|
|
12100
|
+
* cameras have nothing to offer here, and an empty list is what makes the
|
|
12101
|
+
* broker's picker show nothing rather than a false choice.
|
|
12102
|
+
*/
|
|
12103
|
+
listSignals: method(_void(), array(StreamSignalSchema).readonly()) }
|
|
12104
|
+
};
|
|
12010
12105
|
/** Stream delivery format. (Relocated from the retired `streaming-engine` cap.) */
|
|
12011
12106
|
var StreamFormatSchema = _enum([
|
|
12012
12107
|
"webrtc",
|
|
@@ -12408,6 +12503,46 @@ var streamBrokerCapability = {
|
|
|
12408
12503
|
mode: "singleton",
|
|
12409
12504
|
exposesDeviceSettings: true,
|
|
12410
12505
|
methods: {
|
|
12506
|
+
/**
|
|
12507
|
+
* A device reporting that one of ITS OWN signals just fired.
|
|
12508
|
+
*
|
|
12509
|
+
* The provider calls this; nothing polls. The broker then decides whether
|
|
12510
|
+
* to wake the source, and the decision has two terms that must BOTH hold:
|
|
12511
|
+
*
|
|
12512
|
+
* - the signal is ENABLED for this camera (the operator's per-camera
|
|
12513
|
+
* choice — a camera may declare a signal the operator does not want
|
|
12514
|
+
* waking anything), and
|
|
12515
|
+
* - a consumer is actually attached and waiting on the prestream. Waking
|
|
12516
|
+
* a camera nobody is watching is the one thing a battery camera must
|
|
12517
|
+
* never do, and a signal arriving with no consumer is exactly that.
|
|
12518
|
+
*
|
|
12519
|
+
* Reported, never inferred: a signal that fires while the stream is
|
|
12520
|
+
* already up refreshes the hold instead of starting a second one, which is
|
|
12521
|
+
* what makes continuous motion keep a camera awake without stacking
|
|
12522
|
+
* timers.
|
|
12523
|
+
*
|
|
12524
|
+
* `code` is the provider's own, from `streamSignals.listSignals`. An
|
|
12525
|
+
* unknown code is REFUSED rather than treated as a wildcard wake — a
|
|
12526
|
+
* provider and an operator disagreeing about a name must not become a
|
|
12527
|
+
* camera that wakes for everything.
|
|
12528
|
+
*/
|
|
12529
|
+
reportStreamSignal: method(object({
|
|
12530
|
+
deviceId: number().int().nonnegative(),
|
|
12531
|
+
/** The provider's signal code. */
|
|
12532
|
+
code: string().min(1),
|
|
12533
|
+
/** Ms epoch. Absent ⇒ now. */
|
|
12534
|
+
at: number().optional()
|
|
12535
|
+
}), object({
|
|
12536
|
+
/** Whether the broker acted on it, and if not, why. */
|
|
12537
|
+
accepted: boolean(),
|
|
12538
|
+
reason: _enum([
|
|
12539
|
+
"woke",
|
|
12540
|
+
"hold-extended",
|
|
12541
|
+
"not-enabled",
|
|
12542
|
+
"no-consumer",
|
|
12543
|
+
"unknown-code"
|
|
12544
|
+
])
|
|
12545
|
+
}), { kind: "mutation" }),
|
|
12411
12546
|
publishCameraStream: method(object({
|
|
12412
12547
|
deviceId: number().int().nonnegative(),
|
|
12413
12548
|
camStreamId: string().min(1),
|
|
@@ -12885,6 +13020,16 @@ var PickStreamRequirementsSchema = object({
|
|
|
12885
13020
|
acceptCodecs: array(StreamCodecSchema).readonly().optional(),
|
|
12886
13021
|
/** Minimum vertical resolution. Streams shorter than this are dropped. */
|
|
12887
13022
|
minHeight: number().int().positive().optional(),
|
|
13023
|
+
/**
|
|
13024
|
+
* Maximum vertical resolution. Streams TALLER than this are dropped.
|
|
13025
|
+
*
|
|
13026
|
+
* A consumer can have a ceiling as real as its floor: Alexa documents
|
|
13027
|
+
* 480p to 1080p, and a 4K stream is as unusable to an Echo as a 360p one.
|
|
13028
|
+
* Without this the ceiling had to be re-implemented by every caller — and
|
|
13029
|
+
* one caller implementing it privately is how a second scoring authority
|
|
13030
|
+
* gets born.
|
|
13031
|
+
*/
|
|
13032
|
+
maxHeight: number().int().positive().optional(),
|
|
12888
13033
|
/** Minimum horizontal resolution. */
|
|
12889
13034
|
minWidth: number().int().positive().optional(),
|
|
12890
13035
|
/**
|
|
@@ -12901,7 +13046,22 @@ var PickStreamRequirementsSchema = object({
|
|
|
12901
13046
|
* transcoded" guard: if the device is already serving the consumer's
|
|
12902
13047
|
* codec end-to-end, there's nothing to optimise.
|
|
12903
13048
|
*/
|
|
12904
|
-
requireSiblingCodec: array(StreamCodecSchema).readonly().optional()
|
|
13049
|
+
requireSiblingCodec: array(StreamCodecSchema).readonly().optional(),
|
|
13050
|
+
/**
|
|
13051
|
+
* Whether a stream the consumer CANNOT decode may still be picked, on the
|
|
13052
|
+
* understanding that it will be transcoded.
|
|
13053
|
+
*
|
|
13054
|
+
* Default `false` — today's behaviour, and the right one for a bypass
|
|
13055
|
+
* question ("is there a stream I can forward untouched?"). Set `true` to
|
|
13056
|
+
* ask the larger question: "what is the best stream for me, transcoding if
|
|
13057
|
+
* I must?" A stream that satisfies `acceptCodecs` always outranks one that
|
|
13058
|
+
* does not, so a passthrough is never lost to a transcode; the answer says
|
|
13059
|
+
* which it is in {@link PickedCamStreamSchema.transcodes}.
|
|
13060
|
+
*
|
|
13061
|
+
* This is what lets one picker serve both the bypass and the full source
|
|
13062
|
+
* choice, instead of a consumer scoring privately when the bypass misses.
|
|
13063
|
+
*/
|
|
13064
|
+
allowTranscode: boolean().optional()
|
|
12905
13065
|
}).readonly();
|
|
12906
13066
|
var PickStreamPreferencesSchema = object({
|
|
12907
13067
|
/**
|
|
@@ -12915,12 +13075,32 @@ var PickStreamPreferencesSchema = object({
|
|
|
12915
13075
|
* picks the tallest stream; `'lowest'` picks the shortest (used by
|
|
12916
13076
|
* memory-constrained consumers / Apple Home guest sessions).
|
|
12917
13077
|
*/
|
|
12918
|
-
resolutionPreference: _enum(["highest", "lowest"]).optional()
|
|
13078
|
+
resolutionPreference: _enum(["highest", "lowest"]).optional(),
|
|
13079
|
+
/**
|
|
13080
|
+
* The height the consumer actually wants to DELIVER.
|
|
13081
|
+
*
|
|
13082
|
+
* Not a constraint — an ordering. With it set, the SMALLEST stream at or
|
|
13083
|
+
* above the target wins, and only if nothing reaches it does the tallest
|
|
13084
|
+
* take over. Pulling 1296 lines to draw 720 on a 1280x800 Echo panel costs
|
|
13085
|
+
* a decode and buys nothing, and `resolutionPreference: 'highest'` cannot
|
|
13086
|
+
* express that: it says "as big as possible", which is a different wish.
|
|
13087
|
+
*
|
|
13088
|
+
* Ignored when absent, so every existing caller keeps its ordering.
|
|
13089
|
+
*/
|
|
13090
|
+
targetHeight: number().int().positive().optional()
|
|
12919
13091
|
}).readonly();
|
|
12920
13092
|
var PickedCamStreamSchema = object({
|
|
12921
13093
|
camStreamId: string(),
|
|
12922
13094
|
codec: string().optional(),
|
|
12923
13095
|
resolution: CamStreamResolutionSchema.optional(),
|
|
13096
|
+
/**
|
|
13097
|
+
* Whether serving this stream requires a decode + re-encode.
|
|
13098
|
+
*
|
|
13099
|
+
* `false` is a stream the consumer can take as it stands. Only ever `true`
|
|
13100
|
+
* when the caller asked for it with `allowTranscode`, so a caller that did
|
|
13101
|
+
* not ask cannot be handed a cost it never agreed to pay.
|
|
13102
|
+
*/
|
|
13103
|
+
transcodes: boolean(),
|
|
12924
13104
|
/** One-line explanation of why this stream won — for logs / debug UI. */
|
|
12925
13105
|
reason: string()
|
|
12926
13106
|
});
|
|
@@ -18696,6 +18876,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
18696
18876
|
"device-enabled",
|
|
18697
18877
|
"device-battery-low",
|
|
18698
18878
|
"device-battery-normal",
|
|
18879
|
+
"device-consumable-low",
|
|
18880
|
+
"device-consumable-normal",
|
|
18699
18881
|
"stream-online",
|
|
18700
18882
|
"stream-offline",
|
|
18701
18883
|
"node-online",
|
|
@@ -18714,6 +18896,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
18714
18896
|
"addon-updated",
|
|
18715
18897
|
"server-updated",
|
|
18716
18898
|
"export-completed",
|
|
18899
|
+
"backup-completed",
|
|
18717
18900
|
"camera-online",
|
|
18718
18901
|
"camera-offline",
|
|
18719
18902
|
"camera-disabled",
|
|
@@ -19828,10 +20011,22 @@ var NC_CONDITION_CATALOG = [
|
|
|
19828
20011
|
value: "server-updated",
|
|
19829
20012
|
label: "Server updated"
|
|
19830
20013
|
},
|
|
20014
|
+
{
|
|
20015
|
+
value: "device-consumable-low",
|
|
20016
|
+
label: "Consumable low"
|
|
20017
|
+
},
|
|
20018
|
+
{
|
|
20019
|
+
value: "device-consumable-normal",
|
|
20020
|
+
label: "Consumable replaced"
|
|
20021
|
+
},
|
|
19831
20022
|
{
|
|
19832
20023
|
value: "export-completed",
|
|
19833
20024
|
label: "Export completed"
|
|
19834
20025
|
},
|
|
20026
|
+
{
|
|
20027
|
+
value: "backup-completed",
|
|
20028
|
+
label: "Backup completed"
|
|
20029
|
+
},
|
|
19835
20030
|
{
|
|
19836
20031
|
value: "alarm-arming",
|
|
19837
20032
|
label: "Alarm arming (exit delay)"
|
|
@@ -20483,6 +20678,48 @@ var NcAlarmConfigSchema = object({
|
|
|
20483
20678
|
settings: NcAlarmSettingsSchema,
|
|
20484
20679
|
coverage: array(NcAlarmModeCoverageSchema)
|
|
20485
20680
|
});
|
|
20681
|
+
/**
|
|
20682
|
+
* ONE rule's demand on ONE camera's clip ring.
|
|
20683
|
+
*
|
|
20684
|
+
* A rule, not a camera: the broker takes the MAX over the asks that reach a
|
|
20685
|
+
* camera, so the answer stays a faithful description of the rules and the
|
|
20686
|
+
* bounding (the byte budget, the broker's own ceiling) stays where the cost
|
|
20687
|
+
* lives. A camera that appears in no ask is being told **nothing** — which is
|
|
20688
|
+
* a different thing from never having been told, and only the envelope
|
|
20689
|
+
* (`rulesLoaded`) can tell those apart.
|
|
20690
|
+
*/
|
|
20691
|
+
var NcClipRetentionAskSchema = object({
|
|
20692
|
+
/**
|
|
20693
|
+
* The camera this ask is about. **Absent = every camera**, which is what a
|
|
20694
|
+
* rule with no `conditions.devices` means: it can fire anywhere, so it is
|
|
20695
|
+
* asking everywhere.
|
|
20696
|
+
*/
|
|
20697
|
+
deviceId: number().int().nonnegative().optional(),
|
|
20698
|
+
/** Seconds of history the rule needs held for it. Never zero — a rule that
|
|
20699
|
+
* needs nothing produces no ask at all. */
|
|
20700
|
+
seconds: number().min(0).max(60),
|
|
20701
|
+
/** The profile the rule cuts from, when it named one. Absent = the cheapest
|
|
20702
|
+
* assigned, which is what the cut defaults to. */
|
|
20703
|
+
profile: CamProfileSchema.optional(),
|
|
20704
|
+
/** Who is asking — so a retention the operator did not expect names a rule. */
|
|
20705
|
+
ruleId: string(),
|
|
20706
|
+
ruleName: string(),
|
|
20707
|
+
/** Why this many seconds: the rule's own window, or the occupancy ceiling. */
|
|
20708
|
+
reason: _enum(["window", "occupancy"])
|
|
20709
|
+
});
|
|
20710
|
+
/**
|
|
20711
|
+
* The whole answer, with the one bit that keeps absence from reading as zero.
|
|
20712
|
+
*
|
|
20713
|
+
* `rulesLoaded` is false until the rule ledger has completed a load at least
|
|
20714
|
+
* once. A centre that is up but has not read its rules yet answers with an
|
|
20715
|
+
* empty ask list that means nothing at all — applying it would drop every
|
|
20716
|
+
* camera's ring to zero for the first events after a restart, which is the
|
|
20717
|
+
* footage this mechanism exists to keep.
|
|
20718
|
+
*/
|
|
20719
|
+
var NcClipRetentionPlanSchema = object({
|
|
20720
|
+
rulesLoaded: boolean(),
|
|
20721
|
+
asks: array(NcClipRetentionAskSchema).readonly()
|
|
20722
|
+
});
|
|
20486
20723
|
var notificationRulesCapability = {
|
|
20487
20724
|
name: "notification-rules",
|
|
20488
20725
|
scope: "system",
|
|
@@ -20515,6 +20752,23 @@ var notificationRulesCapability = {
|
|
|
20515
20752
|
auth: "admin"
|
|
20516
20753
|
}),
|
|
20517
20754
|
/**
|
|
20755
|
+
* WHAT THE RULES ACTUALLY ASK the stream broker to retain, per camera.
|
|
20756
|
+
*
|
|
20757
|
+
* The notification centre owns the rules, so it is the only thing that can
|
|
20758
|
+
* say how much history a camera's notifications will ever reach back for.
|
|
20759
|
+
* Before this the broker guessed — a flat minute on every camera — and
|
|
20760
|
+
* learned the PROFILE reactively, after the first clip had already been cut
|
|
20761
|
+
* from the wrong one. This is the same ask stated once, in front.
|
|
20762
|
+
*
|
|
20763
|
+
* A QUERY, pulled by each node's broker, not a push: brokers are per node
|
|
20764
|
+
* (a camera's ring lives wherever its stream is ingested) while this cap is
|
|
20765
|
+
* a singleton, so a push would have to enumerate the cluster. The pull also
|
|
20766
|
+
* makes the failure mode right — a broker that cannot reach the centre
|
|
20767
|
+
* keeps the plan it has, and a plan that has never arrived is UNKNOWN
|
|
20768
|
+
* rather than empty (D49: a read that fails changes nothing).
|
|
20769
|
+
*/
|
|
20770
|
+
getClipRetentionAsks: method(object({}), NcClipRetentionPlanSchema, { auth: "admin" }),
|
|
20771
|
+
/**
|
|
20518
20772
|
* PERMANENT per-camera mute — the notifications half of the per-camera
|
|
20519
20773
|
* function switch group ([D61](../../../../docs/decisions/adr-0067.md)).
|
|
20520
20774
|
*
|
|
@@ -23393,6 +23647,33 @@ var RunReplayFrameProcessorResultSchema = object({ tracks: array(object({
|
|
|
23393
23647
|
* solid is this track", cheaper than re-deriving it from a trajectory. */
|
|
23394
23648
|
framesMatched: number().int()
|
|
23395
23649
|
})).readonly() });
|
|
23650
|
+
/**
|
|
23651
|
+
* The long-term series a camera produces. A closed union so a typo cannot
|
|
23652
|
+
* invent one, and the ONE declaration of it — the addon's `AnalyticsLtsSeries`
|
|
23653
|
+
* is an alias of this, not a second list.
|
|
23654
|
+
*/
|
|
23655
|
+
var AnalyticsLtsSeriesSchema = _enum([
|
|
23656
|
+
"motion",
|
|
23657
|
+
"audio-dbfs",
|
|
23658
|
+
"battery",
|
|
23659
|
+
"occupancy"
|
|
23660
|
+
]);
|
|
23661
|
+
/**
|
|
23662
|
+
* One closed 5-minute bucket of a long-term series.
|
|
23663
|
+
*
|
|
23664
|
+
* `samples` is how many readings the bucket folded — it is the ACTIVITY for a
|
|
23665
|
+
* series like `motion`, and the confidence for one like `occupancy`. A bucket
|
|
23666
|
+
* that exists at all was measured; a bucket that is absent was not, which is a
|
|
23667
|
+
* different claim from zero and the reason this is a sparse series.
|
|
23668
|
+
*/
|
|
23669
|
+
var LtsBucketSchema = object({
|
|
23670
|
+
scope: string(),
|
|
23671
|
+
bucketStart: number().int(),
|
|
23672
|
+
samples: number().int().nonnegative(),
|
|
23673
|
+
sum: number(),
|
|
23674
|
+
min: number(),
|
|
23675
|
+
max: number()
|
|
23676
|
+
});
|
|
23396
23677
|
var pipelineAnalyticsCapability = {
|
|
23397
23678
|
name: "pipeline-analytics",
|
|
23398
23679
|
scope: "device",
|
|
@@ -23536,6 +23817,30 @@ var pipelineAnalyticsCapability = {
|
|
|
23536
23817
|
getKeyEventsBatch: method(KeyEventBatchQueryInput, array(KeyEventsForDeviceSchema).readonly()),
|
|
23537
23818
|
/** Server-side bucketed event counts for the 24-hour timeline.
|
|
23538
23819
|
* Returns one entry per non-empty bucket; empty buckets are omitted. */
|
|
23820
|
+
/**
|
|
23821
|
+
* Read one camera's long-term series — 5-minute buckets, kept for a year.
|
|
23822
|
+
*
|
|
23823
|
+
* This is the history surface for every chart that used to be served from a
|
|
23824
|
+
* RAM ring: the ring dies with the process, cannot answer about last night,
|
|
23825
|
+
* and had a 60-minute horizon, while these rows are ~60 bytes and already
|
|
23826
|
+
* written. `scope` is the series' own dimension — for `occupancy`, spell it
|
|
23827
|
+
* with {@link occupancyScope} rather than by hand, and omit it to get every
|
|
23828
|
+
* scope back at once (the caller then groups with
|
|
23829
|
+
* {@link parseOccupancyScope}).
|
|
23830
|
+
*
|
|
23831
|
+
* Bounds are inclusive on the BUCKET START, so a range that ends mid-bucket
|
|
23832
|
+
* still returns the bucket it lands in — the alternative is a chart whose
|
|
23833
|
+
* last column silently disappears for five minutes out of every five.
|
|
23834
|
+
*/
|
|
23835
|
+
readLongTermSeries: method(object({
|
|
23836
|
+
deviceId: number(),
|
|
23837
|
+
series: AnalyticsLtsSeriesSchema,
|
|
23838
|
+
/** Omit for EVERY scope of this series in the range. */
|
|
23839
|
+
scope: string().optional(),
|
|
23840
|
+
from: number(),
|
|
23841
|
+
to: number(),
|
|
23842
|
+
limit: number().int().positive().optional()
|
|
23843
|
+
}), array(LtsBucketSchema).readonly()),
|
|
23539
23844
|
getEventDensity: method(object({
|
|
23540
23845
|
deviceId: number(),
|
|
23541
23846
|
since: number(),
|
|
@@ -24677,6 +24982,14 @@ var MotionSourceEnum = _enum([
|
|
|
24677
24982
|
*/
|
|
24678
24983
|
var MotionSourcesSchema = array(MotionSourceEnum);
|
|
24679
24984
|
/**
|
|
24985
|
+
* Which root detectors a camera runs. Deliberately the SAME vocabulary
|
|
24986
|
+
* post-analysis already tags every detection with (`DetectionSource`) rather
|
|
24987
|
+
* than a second spelling of the same two ideas — the value an operator picks
|
|
24988
|
+
* here is the value that comes back on the track, the overlay and the debug
|
|
24989
|
+
* row.
|
|
24990
|
+
*/
|
|
24991
|
+
var DetectionSourcesSchema = array(DetectionSourceSchema);
|
|
24992
|
+
/**
|
|
24680
24993
|
* Input shape for `pipeline-runner.reportMotion` cap method. Exported
|
|
24681
24994
|
* so cap-side consumers (the orchestrator forward, the runner addon's
|
|
24682
24995
|
* cap implementation, tests) can reuse the type instead of redeclaring
|
|
@@ -24827,6 +25140,35 @@ var RunnerCameraConfigSchema = object({
|
|
|
24827
25140
|
* events; the orchestrator forwards to `reportMotion`.
|
|
24828
25141
|
*/
|
|
24829
25142
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
25143
|
+
/**
|
|
25144
|
+
* WHICH root detector runs for this camera. The detection counterpart of
|
|
25145
|
+
* {@link motionSources}, same shape and same discipline: a per-camera list
|
|
25146
|
+
* of sources the system understands, vendor-agnostic, owned here.
|
|
25147
|
+
*
|
|
25148
|
+
* - `pipeline` — this runner's own root step on decoded pixels (`steps`).
|
|
25149
|
+
* - `onboard` — the CAMERA's own detector, admitted only when it is named
|
|
25150
|
+
* here. Its boxes reach post-analysis on the same
|
|
25151
|
+
* `PipelineInferenceResult` payload as the pipeline's, so an onboard-born
|
|
25152
|
+
* track gets the same tracker, the same overlay and the same detail
|
|
25153
|
+
* subtree (face / plate / embedding).
|
|
25154
|
+
*
|
|
25155
|
+
* `['onboard']` alone is the REPLACEMENT: this runner's root step does not
|
|
25156
|
+
* run, and that is where a camera with a usable onboard detector buys back
|
|
25157
|
+
* its share of the accelerator. It saves the root inference, not the decode
|
|
25158
|
+
* — the detail subtree still needs pixels to cut crops from.
|
|
25159
|
+
*
|
|
25160
|
+
* A camera whose onboard detections carry no geometry cannot serve as a root
|
|
25161
|
+
* step at all (there is nothing to track), and the cap that knows this says
|
|
25162
|
+
* so on `native-object-detection.getOptions().geometry`. On Reolink that is
|
|
25163
|
+
* every battery camera: the boxes ride a sub-stream a battery camera never
|
|
25164
|
+
* attaches, so such a camera stays on `['pipeline']` and its onboard AI is
|
|
25165
|
+
* worth exactly what it already is — a wake signal with a class.
|
|
25166
|
+
*
|
|
25167
|
+
* Defaults to `['pipeline']`, which is byte-for-byte today's behaviour: a
|
|
25168
|
+
* vendor never turns a detector on for the operator, and neither does a
|
|
25169
|
+
* default.
|
|
25170
|
+
*/
|
|
25171
|
+
detectionSources: DetectionSourcesSchema.default(["pipeline"]),
|
|
24830
25172
|
pipelineEnabled: boolean().default(true),
|
|
24831
25173
|
/** Ordered tree of video steps. Absent → runner skips video detection. */
|
|
24832
25174
|
steps: array(PipelineStepInputSchema).readonly().optional(),
|
|
@@ -25022,6 +25364,18 @@ var RunnerLocalMetricsSchema = object({
|
|
|
25022
25364
|
* runner has zero knowledge of other agents, no global state, and never
|
|
25023
25365
|
* makes assignment decisions itself.
|
|
25024
25366
|
*/
|
|
25367
|
+
/**
|
|
25368
|
+
* Why a runner declined to look at a camera out of band. Named rather than a
|
|
25369
|
+
* bare `false`: a camera asleep on battery (D173), one attached elsewhere, one
|
|
25370
|
+
* already mid-session and one already bursting are four different facts, and a
|
|
25371
|
+
* caller told only "no" cannot tell a protection from a bug.
|
|
25372
|
+
*/
|
|
25373
|
+
var OccupancyBurstRefusalSchema = _enum([
|
|
25374
|
+
"not-attached",
|
|
25375
|
+
"battery-asleep",
|
|
25376
|
+
"not-watching",
|
|
25377
|
+
"already-bursting"
|
|
25378
|
+
]);
|
|
25025
25379
|
var pipelineRunnerCapability = {
|
|
25026
25380
|
name: "pipeline-runner",
|
|
25027
25381
|
scope: "system",
|
|
@@ -25058,6 +25412,50 @@ var pipelineRunnerCapability = {
|
|
|
25058
25412
|
/** List the deviceIds currently attached to this runner. */
|
|
25059
25413
|
getLocalCameras: method(_void(), array(number()).readonly()),
|
|
25060
25414
|
/**
|
|
25415
|
+
* Look at a camera NOW, out of band, because something just happened that
|
|
25416
|
+
* only a fresh look can settle.
|
|
25417
|
+
*
|
|
25418
|
+
* The periodic recheck (`occupancyRecheckSec`, 300 s) exists to watch a
|
|
25419
|
+
* still scene. It is the wrong instrument for a QUESTION that has just been
|
|
25420
|
+
* asked: on device 617 a parked car's departure was observed, a departure
|
|
25421
|
+
* strike was armed — and then the motion session ended, the strike decayed
|
|
25422
|
+
* after its 30 s TTL, and the next periodic look arrived up to five minutes
|
|
25423
|
+
* later with nothing left to confirm. Every one of those departures was
|
|
25424
|
+
* settled by the entry ageing out 6 to 10 minutes of observed time later,
|
|
25425
|
+
* and the notification's clip showed an empty space with nothing leaving
|
|
25426
|
+
* it.
|
|
25427
|
+
*
|
|
25428
|
+
* Two numbers make the ask specific, and a caller that ignores them wastes
|
|
25429
|
+
* the burst: a confirmation must land at least
|
|
25430
|
+
* `DEPARTURE_CONFIRM_MIN_GAP_MS` (3 s) after the read that armed the
|
|
25431
|
+
* strike — before that it is the same optical event and is refused — and
|
|
25432
|
+
* `DEPARTURE_ABSENCE_MIN_READS` (5) consecutive unassociated frames are
|
|
25433
|
+
* needed, while `occupancyRecheckFrames` defaults to FOUR. A burst of four
|
|
25434
|
+
* can never confirm an absence; that is why two periodic looks were always
|
|
25435
|
+
* required.
|
|
25436
|
+
*
|
|
25437
|
+
* The runner answers whether it actually started one. A refusal is NAMED,
|
|
25438
|
+
* never a silent `false`: a camera that is asleep on battery (D173 — this
|
|
25439
|
+
* must not become a self-initiated wake), detached, mid-session or already
|
|
25440
|
+
* bursting are four different facts, and a caller told only "no" cannot
|
|
25441
|
+
* tell a protection from a bug.
|
|
25442
|
+
*/
|
|
25443
|
+
requestOccupancyBurst: method(object({
|
|
25444
|
+
deviceId: number(),
|
|
25445
|
+
/** How many frames to collect. The caller sizes this against what its
|
|
25446
|
+
* own confirmation needs; the runner clamps it to the field's range. */
|
|
25447
|
+
frames: number().int().positive().optional(),
|
|
25448
|
+
/** Why, for the log. A burst nobody can attribute is a cost nobody can
|
|
25449
|
+
* defend — the periodic one at least has a timer to point at. */
|
|
25450
|
+
reason: string()
|
|
25451
|
+
}), object({
|
|
25452
|
+
started: boolean(),
|
|
25453
|
+
refusedBecause: OccupancyBurstRefusalSchema.optional()
|
|
25454
|
+
}), {
|
|
25455
|
+
auth: "admin",
|
|
25456
|
+
kind: "mutation"
|
|
25457
|
+
}),
|
|
25458
|
+
/**
|
|
25061
25459
|
* Best-effort NATIVE-resolution crop of a retention-ring frame. Given the
|
|
25062
25460
|
* `FrameHandle` that rode an inference-result event and a normalized `bbox`,
|
|
25063
25461
|
* the runner asks the decode worker still holding that frame's NATIVE
|
|
@@ -28482,10 +28880,28 @@ var webrtcSessionCapability = {
|
|
|
28482
28880
|
getSessionState: method(object({
|
|
28483
28881
|
deviceId: number().int().nonnegative(),
|
|
28484
28882
|
sessionId: string()
|
|
28485
|
-
}), object({
|
|
28486
|
-
|
|
28487
|
-
|
|
28488
|
-
|
|
28883
|
+
}), object({
|
|
28884
|
+
pendingRenegotiation: object({
|
|
28885
|
+
target: WebrtcStreamTargetSchema,
|
|
28886
|
+
epoch: number()
|
|
28887
|
+
}).nullable(),
|
|
28888
|
+
/**
|
|
28889
|
+
* Whether the session still EXISTS.
|
|
28890
|
+
*
|
|
28891
|
+
* A consumer that holds a resource for the life of a session needs to
|
|
28892
|
+
* be able to ask, because a session does not always end the way it
|
|
28893
|
+
* began. Measured on this hub 2026-09-13: an Echo that got stuck never
|
|
28894
|
+
* sent `SessionDisconnected`, so the Alexa exporter's
|
|
28895
|
+
* `releaseEgressTranscode` never ran, and a 2304x1296 HEVC to 720p
|
|
28896
|
+
* H.264 transcode kept running for NOBODY for more than twenty
|
|
28897
|
+
* minutes. The WebRTC session had logged `WebRTC session closed`
|
|
28898
|
+
* minutes earlier — the broker knew; the holder had no way to ask.
|
|
28899
|
+
*
|
|
28900
|
+
* `false` for a session id the provider has never heard of, which is
|
|
28901
|
+
* the same answer as "it ended": either way nothing is holding it up.
|
|
28902
|
+
*/
|
|
28903
|
+
alive: boolean()
|
|
28904
|
+
}))
|
|
28489
28905
|
},
|
|
28490
28906
|
/** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
|
|
28491
28907
|
mount: { kind: "server-provided" }
|
|
@@ -33458,11 +33874,46 @@ var NativeObjectDetectionStatusSchema = object({
|
|
|
33458
33874
|
supportedClasses: array(NativeObjectClassEnum).readonly(),
|
|
33459
33875
|
/**
|
|
33460
33876
|
* Whether forwarding of onboard AI detections is enabled for this device.
|
|
33461
|
-
*
|
|
33462
|
-
*
|
|
33877
|
+
*
|
|
33878
|
+
* Cold-start OFF on every camera. A vendor does not decide which detector a
|
|
33879
|
+
* camera runs — that is the operator's choice, and it is made where every
|
|
33880
|
+
* other detection choice is made. `geometry` on
|
|
33881
|
+
* {@link NativeObjectDetectionOptionsSchema} is how the form says what the
|
|
33882
|
+
* choice would buy this particular camera.
|
|
33463
33883
|
*/
|
|
33464
33884
|
enabled: boolean()
|
|
33465
33885
|
});
|
|
33886
|
+
/**
|
|
33887
|
+
* WHEN a camera's onboard detections carry geometry.
|
|
33888
|
+
*
|
|
33889
|
+
* - `boxed` — always. The provider holds a standing channel for the boxes, so
|
|
33890
|
+
* a detection is a trackable subject whenever the camera sees one.
|
|
33891
|
+
* - `while-streaming` — only while some stream of this camera is already open.
|
|
33892
|
+
* The boxes ride the video's own side-channel rather than a feed of their
|
|
33893
|
+
* own, so they cost nothing and they exist only when something is pulling.
|
|
33894
|
+
* On Reolink this is every BATTERY camera: a persistent second feed is real
|
|
33895
|
+
* radio drain, but a camera that is awake is awake precisely because
|
|
33896
|
+
* something is in front of it, and its stream is already being pulled.
|
|
33897
|
+
* - `flag-only` — never. The firmware ships the class and nothing else; the
|
|
33898
|
+
* pipeline needs geometry to make a subject, so such a push reaches the
|
|
33899
|
+
* tracker as motion and no further.
|
|
33900
|
+
*
|
|
33901
|
+
* Reported and not inferred, because the operator's question in front of the
|
|
33902
|
+
* picker is "what do I get", and these are three different answers (D14: the
|
|
33903
|
+
* derived form is only as honest as `getOptions`).
|
|
33904
|
+
*/
|
|
33905
|
+
var NativeObjectGeometryEnum = _enum([
|
|
33906
|
+
"boxed",
|
|
33907
|
+
"while-streaming",
|
|
33908
|
+
"flag-only"
|
|
33909
|
+
]);
|
|
33910
|
+
var NativeObjectDetectionOptionsSchema = object({
|
|
33911
|
+
/** Classes this firmware can detect — the same list the status reports. */
|
|
33912
|
+
supportedClasses: array(NativeObjectClassEnum).readonly(),
|
|
33913
|
+
/** What a detection from this camera carries. */
|
|
33914
|
+
geometry: NativeObjectGeometryEnum
|
|
33915
|
+
});
|
|
33916
|
+
var NativeObjectDetectionSettingsPatchSchema = object({ enabled: boolean().optional() });
|
|
33466
33917
|
var NativeObjectDetectionRuntimeStateSchema = NativeObjectDetectionStatusSchema.extend({
|
|
33467
33918
|
/** Required by createRuntimeStateBridge — epoch ms of last refresh. */
|
|
33468
33919
|
lastFetchedAt: number() });
|
|
@@ -33472,13 +33923,23 @@ var nativeObjectDetectionCapability = {
|
|
|
33472
33923
|
deviceNative: true,
|
|
33473
33924
|
mode: "singleton",
|
|
33474
33925
|
deviceTypes: [DeviceType.Camera],
|
|
33475
|
-
methods: {
|
|
33476
|
-
deviceId: number(),
|
|
33477
|
-
|
|
33478
|
-
|
|
33479
|
-
|
|
33480
|
-
|
|
33481
|
-
|
|
33926
|
+
methods: {
|
|
33927
|
+
getOptions: method(object({ deviceId: number() }), NativeObjectDetectionOptionsSchema),
|
|
33928
|
+
setSettings: method(object({
|
|
33929
|
+
deviceId: number(),
|
|
33930
|
+
settings: NativeObjectDetectionSettingsPatchSchema
|
|
33931
|
+
}), _void(), {
|
|
33932
|
+
kind: "mutation",
|
|
33933
|
+
auth: "admin"
|
|
33934
|
+
}),
|
|
33935
|
+
setEnabled: method(object({
|
|
33936
|
+
deviceId: number(),
|
|
33937
|
+
enabled: boolean()
|
|
33938
|
+
}), _void(), {
|
|
33939
|
+
kind: "mutation",
|
|
33940
|
+
auth: "admin"
|
|
33941
|
+
})
|
|
33942
|
+
},
|
|
33482
33943
|
events: { onDetected: { data: object({
|
|
33483
33944
|
deviceId: number(),
|
|
33484
33945
|
detection: NativeDetectionSchema
|
|
@@ -38940,7 +39401,28 @@ var PerScopeBreakdownSchema = object({
|
|
|
38940
39401
|
/** Total tracked objects in this scope (frame / zone / unzoned). */
|
|
38941
39402
|
totalObjects: number().int().nonnegative(),
|
|
38942
39403
|
/** Per-class count. Keys are macro class names (e.g. `person`, `car`). */
|
|
38943
|
-
byClass: record(string(), number().int().nonnegative())
|
|
39404
|
+
byClass: record(string(), number().int().nonnegative()),
|
|
39405
|
+
/**
|
|
39406
|
+
* Of `totalObjects`, how many are STANDING — objects the census holds,
|
|
39407
|
+
* present but not going anywhere (a parked car, a bin, a statue).
|
|
39408
|
+
*
|
|
39409
|
+
* The operator's question about a scene has two halves and they answer
|
|
39410
|
+
* different things: "what is parked here" is stable for hours and must not
|
|
39411
|
+
* flap, while "who is walking through" is the thing an alert is about. One
|
|
39412
|
+
* number could only serve one of them, and `totalObjects` served the first
|
|
39413
|
+
* badly — a passer-by moved it and every occupancy rule saw a change.
|
|
39414
|
+
*
|
|
39415
|
+
* `standing + transient === totalObjects`, always. The total keeps its old
|
|
39416
|
+
* meaning exactly, so no rule written against it changes behaviour.
|
|
39417
|
+
*
|
|
39418
|
+
* ABSENT means UNKNOWN, never zero (D393): a snapshot from a node older than
|
|
39419
|
+
* this field cannot say, and a reader that folds absence in as 0 reports "no
|
|
39420
|
+
* parked objects here" about a camera whose lot is full.
|
|
39421
|
+
*/
|
|
39422
|
+
standingObjects: number().int().nonnegative().optional(),
|
|
39423
|
+
/** Of `totalObjects`, how many are passing through. See `standingObjects` —
|
|
39424
|
+
* same absence rule. */
|
|
39425
|
+
transientObjects: number().int().nonnegative().optional()
|
|
38944
39426
|
});
|
|
38945
39427
|
var ZoneScopeBreakdownSchema = PerScopeBreakdownSchema.extend({
|
|
38946
39428
|
zoneId: string(),
|
|
@@ -39063,6 +39545,23 @@ var HistoryPointSchema = object({
|
|
|
39063
39545
|
* triple covers the three spatial scopes (per-zone, frame-wide,
|
|
39064
39546
|
* outside-any-zone). Crossing them with `className?` gives the full
|
|
39065
39547
|
* combinatorial coverage the operator UI requested.
|
|
39548
|
+
*
|
|
39549
|
+
* ## ⚠️ The three history methods are DEPRECATED
|
|
39550
|
+
*
|
|
39551
|
+
* They are served from a 60-MINUTE in-memory ring. It dies with the process,
|
|
39552
|
+
* so after a restart they report nothing about a night that did happen, and any
|
|
39553
|
+
* window past an hour is silently clamped — a caller cannot tell a clamp from
|
|
39554
|
+
* an empty scene. The presets in the occupancy chart existed to hide that
|
|
39555
|
+
* horizon rather than to answer a question.
|
|
39556
|
+
*
|
|
39557
|
+
* Use `pipelineAnalytics.readLongTermSeries({ series: 'occupancy', scope })`
|
|
39558
|
+
* instead. Those rows are already written for every camera, ~60 bytes per
|
|
39559
|
+
* (camera, scope, 5-minute bucket), kept for a year, and survive a restart.
|
|
39560
|
+
* Spell the scope with `occupancyScope(zoneId?, className?)` — the same
|
|
39561
|
+
* function the writer uses, so the two cannot drift.
|
|
39562
|
+
*
|
|
39563
|
+
* The ring stays until these three go, and it is the only thing left reading
|
|
39564
|
+
* it. Do not add a fourth caller.
|
|
39066
39565
|
*/
|
|
39067
39566
|
var zoneAnalyticsCapability = {
|
|
39068
39567
|
name: "zone-analytics",
|
|
@@ -39448,6 +39947,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
39448
39947
|
streamBrokerCapability,
|
|
39449
39948
|
streamCatalogCapability,
|
|
39450
39949
|
streamParamsCapability,
|
|
39950
|
+
streamSignalsCapability,
|
|
39451
39951
|
switchCapability,
|
|
39452
39952
|
systemCapability,
|
|
39453
39953
|
tamperCapability,
|
|
@@ -42226,12 +42726,24 @@ Object.freeze({
|
|
|
42226
42726
|
addonId: null,
|
|
42227
42727
|
access: "create"
|
|
42228
42728
|
},
|
|
42729
|
+
"nativeObjectDetection.getOptions": {
|
|
42730
|
+
capName: "native-object-detection",
|
|
42731
|
+
capScope: "device",
|
|
42732
|
+
addonId: null,
|
|
42733
|
+
access: "view"
|
|
42734
|
+
},
|
|
42229
42735
|
"nativeObjectDetection.setEnabled": {
|
|
42230
42736
|
capName: "native-object-detection",
|
|
42231
42737
|
capScope: "device",
|
|
42232
42738
|
addonId: null,
|
|
42233
42739
|
access: "create"
|
|
42234
42740
|
},
|
|
42741
|
+
"nativeObjectDetection.setSettings": {
|
|
42742
|
+
capName: "native-object-detection",
|
|
42743
|
+
capScope: "device",
|
|
42744
|
+
addonId: null,
|
|
42745
|
+
access: "create"
|
|
42746
|
+
},
|
|
42235
42747
|
"navigation.getFeatures": {
|
|
42236
42748
|
capName: "navigation",
|
|
42237
42749
|
capScope: "device",
|
|
@@ -42496,6 +43008,12 @@ Object.freeze({
|
|
|
42496
43008
|
addonId: null,
|
|
42497
43009
|
access: "view"
|
|
42498
43010
|
},
|
|
43011
|
+
"notificationRules.getClipRetentionAsks": {
|
|
43012
|
+
capName: "notification-rules",
|
|
43013
|
+
capScope: "system",
|
|
43014
|
+
addonId: null,
|
|
43015
|
+
access: "view"
|
|
43016
|
+
},
|
|
42499
43017
|
"notificationRules.getConditionCatalog": {
|
|
42500
43018
|
capName: "notification-rules",
|
|
42501
43019
|
capScope: "system",
|
|
@@ -43006,6 +43524,12 @@ Object.freeze({
|
|
|
43006
43524
|
addonId: null,
|
|
43007
43525
|
access: "create"
|
|
43008
43526
|
},
|
|
43527
|
+
"pipelineAnalytics.readLongTermSeries": {
|
|
43528
|
+
capName: "pipeline-analytics",
|
|
43529
|
+
capScope: "device",
|
|
43530
|
+
addonId: null,
|
|
43531
|
+
access: "view"
|
|
43532
|
+
},
|
|
43009
43533
|
"pipelineAnalytics.rebuildObjectEmbeddings": {
|
|
43010
43534
|
capName: "pipeline-analytics",
|
|
43011
43535
|
capScope: "device",
|
|
@@ -43678,6 +44202,12 @@ Object.freeze({
|
|
|
43678
44202
|
addonId: null,
|
|
43679
44203
|
access: "create"
|
|
43680
44204
|
},
|
|
44205
|
+
"pipelineRunner.requestOccupancyBurst": {
|
|
44206
|
+
capName: "pipeline-runner",
|
|
44207
|
+
capScope: "system",
|
|
44208
|
+
addonId: null,
|
|
44209
|
+
access: "create"
|
|
44210
|
+
},
|
|
43681
44211
|
"pipelineRunner.runDetailSubtree": {
|
|
43682
44212
|
capName: "pipeline-runner",
|
|
43683
44213
|
capScope: "system",
|
|
@@ -44890,6 +45420,12 @@ Object.freeze({
|
|
|
44890
45420
|
addonId: null,
|
|
44891
45421
|
access: "create"
|
|
44892
45422
|
},
|
|
45423
|
+
"streamBroker.reportStreamSignal": {
|
|
45424
|
+
capName: "stream-broker",
|
|
45425
|
+
capScope: "system",
|
|
45426
|
+
addonId: null,
|
|
45427
|
+
access: "create"
|
|
45428
|
+
},
|
|
44893
45429
|
"streamBroker.restartProfile": {
|
|
44894
45430
|
capName: "stream-broker",
|
|
44895
45431
|
capScope: "system",
|
|
@@ -44974,6 +45510,12 @@ Object.freeze({
|
|
|
44974
45510
|
addonId: null,
|
|
44975
45511
|
access: "create"
|
|
44976
45512
|
},
|
|
45513
|
+
"streamSignals.listSignals": {
|
|
45514
|
+
capName: "stream-signals",
|
|
45515
|
+
capScope: "device",
|
|
45516
|
+
addonId: null,
|
|
45517
|
+
access: "view"
|
|
45518
|
+
},
|
|
44977
45519
|
"switch.setState": {
|
|
44978
45520
|
capName: "switch",
|
|
44979
45521
|
capScope: "device",
|
|
@@ -46446,11 +46988,21 @@ Object.freeze({
|
|
|
46446
46988
|
form: "single",
|
|
46447
46989
|
optional: false
|
|
46448
46990
|
}],
|
|
46991
|
+
"nativeObjectDetection.getOptions": [{
|
|
46992
|
+
name: "deviceId",
|
|
46993
|
+
form: "single",
|
|
46994
|
+
optional: false
|
|
46995
|
+
}],
|
|
46449
46996
|
"nativeObjectDetection.setEnabled": [{
|
|
46450
46997
|
name: "deviceId",
|
|
46451
46998
|
form: "single",
|
|
46452
46999
|
optional: false
|
|
46453
47000
|
}],
|
|
47001
|
+
"nativeObjectDetection.setSettings": [{
|
|
47002
|
+
name: "deviceId",
|
|
47003
|
+
form: "single",
|
|
47004
|
+
optional: false
|
|
47005
|
+
}],
|
|
46454
47006
|
"navigation.getFeatures": [{
|
|
46455
47007
|
name: "deviceId",
|
|
46456
47008
|
form: "single",
|
|
@@ -46800,6 +47352,11 @@ Object.freeze({
|
|
|
46800
47352
|
form: "single",
|
|
46801
47353
|
optional: false
|
|
46802
47354
|
}],
|
|
47355
|
+
"pipelineAnalytics.readLongTermSeries": [{
|
|
47356
|
+
name: "deviceId",
|
|
47357
|
+
form: "single",
|
|
47358
|
+
optional: false
|
|
47359
|
+
}],
|
|
46803
47360
|
"pipelineAnalytics.rebuildObjectEmbeddings": [{
|
|
46804
47361
|
name: "deviceId",
|
|
46805
47362
|
form: "single",
|
|
@@ -46990,6 +47547,11 @@ Object.freeze({
|
|
|
46990
47547
|
form: "single",
|
|
46991
47548
|
optional: false
|
|
46992
47549
|
}],
|
|
47550
|
+
"pipelineRunner.requestOccupancyBurst": [{
|
|
47551
|
+
name: "deviceId",
|
|
47552
|
+
form: "single",
|
|
47553
|
+
optional: false
|
|
47554
|
+
}],
|
|
46993
47555
|
"pipelineRunner.runDetailSubtree": [{
|
|
46994
47556
|
name: "deviceId",
|
|
46995
47557
|
form: "single",
|
|
@@ -47346,6 +47908,11 @@ Object.freeze({
|
|
|
47346
47908
|
form: "single",
|
|
47347
47909
|
optional: false
|
|
47348
47910
|
}],
|
|
47911
|
+
"streamBroker.reportStreamSignal": [{
|
|
47912
|
+
name: "deviceId",
|
|
47913
|
+
form: "single",
|
|
47914
|
+
optional: false
|
|
47915
|
+
}],
|
|
47349
47916
|
"streamBroker.restartProfile": [{
|
|
47350
47917
|
name: "deviceId",
|
|
47351
47918
|
form: "single",
|