@camstack/addon-osd-manager 0.1.97 → 0.1.99
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-BSQaXYXm.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-DaxBEzfV.mjs → PrivacyMaskSettings-BsOmMQ3G.mjs} +4 -4
- package/dist/{SceneMonitorEditor-DoZLlL7g.mjs → SceneMonitorEditor-tekjBVAD.mjs} +3 -3
- package/dist/_stub.js +10 -10
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-C-0Xt8HG.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-ZjOQCsZZ.mjs} +4 -4
- package/dist/{_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-0OJdCNRg.mjs → _virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BR1kX9U-.mjs} +1 -1
- package/dist/{hostInit-DArYUUQ8.mjs → hostInit-B8PUHWlr.mjs} +3 -3
- package/dist/index.js +389 -15
- package/dist/index.mjs +389 -15
- package/dist/{player-overlays-CKl-z5dT.mjs → player-overlays-CU2Q1FOt.mjs} +1 -1
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-Db-2LAhn.mjs → responsive-CREvujgj.mjs} +1 -1
- package/dist/{square-D4bK2uSS.mjs → square-D4G_-ewV.mjs} +1 -1
- package/dist/{trash-2-CkBUBr8-.mjs → trash-2-UEtRGymk.mjs} +1 -1
- package/dist/{use-device-snapshot-VChilLVp.mjs → use-device-snapshot-DiWS-JDe.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-Dc06UWXO.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-m9QQayT8.mjs} +1 -1
- package/package.json +1 -1
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-DEuj7E3j.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).
|
|
@@ -7470,7 +7484,23 @@ var EncodeProfileSchema = object({
|
|
|
7470
7484
|
"zerolatency",
|
|
7471
7485
|
"film",
|
|
7472
7486
|
"animation"
|
|
7473
|
-
]).optional()
|
|
7487
|
+
]).optional(),
|
|
7488
|
+
/**
|
|
7489
|
+
* ONE slice per access unit.
|
|
7490
|
+
*
|
|
7491
|
+
* `-tune zerolatency` turns on x264's sliced threads, and a frame then leaves
|
|
7492
|
+
* the encoder as five NAL slices that share one RTP timestamp and carry one
|
|
7493
|
+
* marker bit. A libwebrtc depacketiser sees five frame-starts and one
|
|
7494
|
+
* frame-end per frame: the first pictures render and the video then freezes
|
|
7495
|
+
* for good while the audio, on its own plane, plays on. Measured on this hub
|
|
7496
|
+
* 2026-09-13 against the Echo, and reduced to one slice by this flag alone.
|
|
7497
|
+
*
|
|
7498
|
+
* A NAMED field and not a raw flag, because {@link EgressEncodeSchema} omits
|
|
7499
|
+
* `outputArgs` on purpose: an opaque array is part of the sharing key, so two
|
|
7500
|
+
* consumers meaning the same thing spelled differently would stop sharing one
|
|
7501
|
+
* child. Absent means "whatever the encoder does" — today's behaviour.
|
|
7502
|
+
*/
|
|
7503
|
+
singleSlicePerFrame: boolean().optional()
|
|
7474
7504
|
}),
|
|
7475
7505
|
audio: union([literal("passthrough"), object({
|
|
7476
7506
|
codec: _enum([
|
|
@@ -7520,7 +7550,7 @@ var BASE_LIVE_EGRESS_PROFILE = {
|
|
|
7520
7550
|
audio: "passthrough"
|
|
7521
7551
|
};
|
|
7522
7552
|
({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
|
|
7523
|
-
({ ...BASE_LIVE_EGRESS_PROFILE });
|
|
7553
|
+
({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
|
|
7524
7554
|
/**
|
|
7525
7555
|
* Deep wiring healthcheck — snapshot of active reachability probes across
|
|
7526
7556
|
* every declared capability + widget of every installed plugin, on every
|
|
@@ -11991,6 +12021,72 @@ var cameraPipelineConfigCapability = {
|
|
|
11991
12021
|
exposesDeviceSettings: true,
|
|
11992
12022
|
methods: {}
|
|
11993
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
|
+
methods: {
|
|
12083
|
+
/**
|
|
12084
|
+
* What this device can emit. Empty is a valid and common answer — most
|
|
12085
|
+
* cameras have nothing to offer here, and an empty list is what makes the
|
|
12086
|
+
* broker's picker show nothing rather than a false choice.
|
|
12087
|
+
*/
|
|
12088
|
+
listSignals: method(_void(), array(StreamSignalSchema).readonly()) }
|
|
12089
|
+
};
|
|
11994
12090
|
/** Stream delivery format. (Relocated from the retired `streaming-engine` cap.) */
|
|
11995
12091
|
var StreamFormatSchema = _enum([
|
|
11996
12092
|
"webrtc",
|
|
@@ -12392,6 +12488,46 @@ var streamBrokerCapability = {
|
|
|
12392
12488
|
mode: "singleton",
|
|
12393
12489
|
exposesDeviceSettings: true,
|
|
12394
12490
|
methods: {
|
|
12491
|
+
/**
|
|
12492
|
+
* A device reporting that one of ITS OWN signals just fired.
|
|
12493
|
+
*
|
|
12494
|
+
* The provider calls this; nothing polls. The broker then decides whether
|
|
12495
|
+
* to wake the source, and the decision has two terms that must BOTH hold:
|
|
12496
|
+
*
|
|
12497
|
+
* - the signal is ENABLED for this camera (the operator's per-camera
|
|
12498
|
+
* choice — a camera may declare a signal the operator does not want
|
|
12499
|
+
* waking anything), and
|
|
12500
|
+
* - a consumer is actually attached and waiting on the prestream. Waking
|
|
12501
|
+
* a camera nobody is watching is the one thing a battery camera must
|
|
12502
|
+
* never do, and a signal arriving with no consumer is exactly that.
|
|
12503
|
+
*
|
|
12504
|
+
* Reported, never inferred: a signal that fires while the stream is
|
|
12505
|
+
* already up refreshes the hold instead of starting a second one, which is
|
|
12506
|
+
* what makes continuous motion keep a camera awake without stacking
|
|
12507
|
+
* timers.
|
|
12508
|
+
*
|
|
12509
|
+
* `code` is the provider's own, from `streamSignals.listSignals`. An
|
|
12510
|
+
* unknown code is REFUSED rather than treated as a wildcard wake — a
|
|
12511
|
+
* provider and an operator disagreeing about a name must not become a
|
|
12512
|
+
* camera that wakes for everything.
|
|
12513
|
+
*/
|
|
12514
|
+
reportStreamSignal: method(object({
|
|
12515
|
+
deviceId: number().int().nonnegative(),
|
|
12516
|
+
/** The provider's signal code. */
|
|
12517
|
+
code: string().min(1),
|
|
12518
|
+
/** Ms epoch. Absent ⇒ now. */
|
|
12519
|
+
at: number().optional()
|
|
12520
|
+
}), object({
|
|
12521
|
+
/** Whether the broker acted on it, and if not, why. */
|
|
12522
|
+
accepted: boolean(),
|
|
12523
|
+
reason: _enum([
|
|
12524
|
+
"woke",
|
|
12525
|
+
"hold-extended",
|
|
12526
|
+
"not-enabled",
|
|
12527
|
+
"no-consumer",
|
|
12528
|
+
"unknown-code"
|
|
12529
|
+
])
|
|
12530
|
+
}), { kind: "mutation" }),
|
|
12395
12531
|
publishCameraStream: method(object({
|
|
12396
12532
|
deviceId: number().int().nonnegative(),
|
|
12397
12533
|
camStreamId: string().min(1),
|
|
@@ -12869,6 +13005,16 @@ var PickStreamRequirementsSchema = object({
|
|
|
12869
13005
|
acceptCodecs: array(StreamCodecSchema).readonly().optional(),
|
|
12870
13006
|
/** Minimum vertical resolution. Streams shorter than this are dropped. */
|
|
12871
13007
|
minHeight: number().int().positive().optional(),
|
|
13008
|
+
/**
|
|
13009
|
+
* Maximum vertical resolution. Streams TALLER than this are dropped.
|
|
13010
|
+
*
|
|
13011
|
+
* A consumer can have a ceiling as real as its floor: Alexa documents
|
|
13012
|
+
* 480p to 1080p, and a 4K stream is as unusable to an Echo as a 360p one.
|
|
13013
|
+
* Without this the ceiling had to be re-implemented by every caller — and
|
|
13014
|
+
* one caller implementing it privately is how a second scoring authority
|
|
13015
|
+
* gets born.
|
|
13016
|
+
*/
|
|
13017
|
+
maxHeight: number().int().positive().optional(),
|
|
12872
13018
|
/** Minimum horizontal resolution. */
|
|
12873
13019
|
minWidth: number().int().positive().optional(),
|
|
12874
13020
|
/**
|
|
@@ -12885,7 +13031,22 @@ var PickStreamRequirementsSchema = object({
|
|
|
12885
13031
|
* transcoded" guard: if the device is already serving the consumer's
|
|
12886
13032
|
* codec end-to-end, there's nothing to optimise.
|
|
12887
13033
|
*/
|
|
12888
|
-
requireSiblingCodec: array(StreamCodecSchema).readonly().optional()
|
|
13034
|
+
requireSiblingCodec: array(StreamCodecSchema).readonly().optional(),
|
|
13035
|
+
/**
|
|
13036
|
+
* Whether a stream the consumer CANNOT decode may still be picked, on the
|
|
13037
|
+
* understanding that it will be transcoded.
|
|
13038
|
+
*
|
|
13039
|
+
* Default `false` — today's behaviour, and the right one for a bypass
|
|
13040
|
+
* question ("is there a stream I can forward untouched?"). Set `true` to
|
|
13041
|
+
* ask the larger question: "what is the best stream for me, transcoding if
|
|
13042
|
+
* I must?" A stream that satisfies `acceptCodecs` always outranks one that
|
|
13043
|
+
* does not, so a passthrough is never lost to a transcode; the answer says
|
|
13044
|
+
* which it is in {@link PickedCamStreamSchema.transcodes}.
|
|
13045
|
+
*
|
|
13046
|
+
* This is what lets one picker serve both the bypass and the full source
|
|
13047
|
+
* choice, instead of a consumer scoring privately when the bypass misses.
|
|
13048
|
+
*/
|
|
13049
|
+
allowTranscode: boolean().optional()
|
|
12889
13050
|
}).readonly();
|
|
12890
13051
|
var PickStreamPreferencesSchema = object({
|
|
12891
13052
|
/**
|
|
@@ -12899,12 +13060,32 @@ var PickStreamPreferencesSchema = object({
|
|
|
12899
13060
|
* picks the tallest stream; `'lowest'` picks the shortest (used by
|
|
12900
13061
|
* memory-constrained consumers / Apple Home guest sessions).
|
|
12901
13062
|
*/
|
|
12902
|
-
resolutionPreference: _enum(["highest", "lowest"]).optional()
|
|
13063
|
+
resolutionPreference: _enum(["highest", "lowest"]).optional(),
|
|
13064
|
+
/**
|
|
13065
|
+
* The height the consumer actually wants to DELIVER.
|
|
13066
|
+
*
|
|
13067
|
+
* Not a constraint — an ordering. With it set, the SMALLEST stream at or
|
|
13068
|
+
* above the target wins, and only if nothing reaches it does the tallest
|
|
13069
|
+
* take over. Pulling 1296 lines to draw 720 on a 1280x800 Echo panel costs
|
|
13070
|
+
* a decode and buys nothing, and `resolutionPreference: 'highest'` cannot
|
|
13071
|
+
* express that: it says "as big as possible", which is a different wish.
|
|
13072
|
+
*
|
|
13073
|
+
* Ignored when absent, so every existing caller keeps its ordering.
|
|
13074
|
+
*/
|
|
13075
|
+
targetHeight: number().int().positive().optional()
|
|
12903
13076
|
}).readonly();
|
|
12904
13077
|
var PickedCamStreamSchema = object({
|
|
12905
13078
|
camStreamId: string(),
|
|
12906
13079
|
codec: string().optional(),
|
|
12907
13080
|
resolution: CamStreamResolutionSchema.optional(),
|
|
13081
|
+
/**
|
|
13082
|
+
* Whether serving this stream requires a decode + re-encode.
|
|
13083
|
+
*
|
|
13084
|
+
* `false` is a stream the consumer can take as it stands. Only ever `true`
|
|
13085
|
+
* when the caller asked for it with `allowTranscode`, so a caller that did
|
|
13086
|
+
* not ask cannot be handed a cost it never agreed to pay.
|
|
13087
|
+
*/
|
|
13088
|
+
transcodes: boolean(),
|
|
12908
13089
|
/** One-line explanation of why this stream won — for logs / debug UI. */
|
|
12909
13090
|
reason: string()
|
|
12910
13091
|
});
|
|
@@ -18680,6 +18861,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
18680
18861
|
"device-enabled",
|
|
18681
18862
|
"device-battery-low",
|
|
18682
18863
|
"device-battery-normal",
|
|
18864
|
+
"device-consumable-low",
|
|
18865
|
+
"device-consumable-normal",
|
|
18683
18866
|
"stream-online",
|
|
18684
18867
|
"stream-offline",
|
|
18685
18868
|
"node-online",
|
|
@@ -18698,6 +18881,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
18698
18881
|
"addon-updated",
|
|
18699
18882
|
"server-updated",
|
|
18700
18883
|
"export-completed",
|
|
18884
|
+
"backup-completed",
|
|
18701
18885
|
"camera-online",
|
|
18702
18886
|
"camera-offline",
|
|
18703
18887
|
"camera-disabled",
|
|
@@ -19812,10 +19996,22 @@ var NC_CONDITION_CATALOG = [
|
|
|
19812
19996
|
value: "server-updated",
|
|
19813
19997
|
label: "Server updated"
|
|
19814
19998
|
},
|
|
19999
|
+
{
|
|
20000
|
+
value: "device-consumable-low",
|
|
20001
|
+
label: "Consumable low"
|
|
20002
|
+
},
|
|
20003
|
+
{
|
|
20004
|
+
value: "device-consumable-normal",
|
|
20005
|
+
label: "Consumable replaced"
|
|
20006
|
+
},
|
|
19815
20007
|
{
|
|
19816
20008
|
value: "export-completed",
|
|
19817
20009
|
label: "Export completed"
|
|
19818
20010
|
},
|
|
20011
|
+
{
|
|
20012
|
+
value: "backup-completed",
|
|
20013
|
+
label: "Backup completed"
|
|
20014
|
+
},
|
|
19819
20015
|
{
|
|
19820
20016
|
value: "alarm-arming",
|
|
19821
20017
|
label: "Alarm arming (exit delay)"
|
|
@@ -22897,13 +23093,109 @@ var SummariesQueryInput = object({
|
|
|
22897
23093
|
deviceIds: array(number()).min(1),
|
|
22898
23094
|
since: number().optional(),
|
|
22899
23095
|
until: number().optional(),
|
|
22900
|
-
limit: number().int().min(1).max(200).default(50)
|
|
23096
|
+
limit: number().int().min(1).max(200).default(50),
|
|
23097
|
+
/** The same member-wise filter {@link listRecentSummaries} takes — one
|
|
23098
|
+
* meaning of "dog" on every summary surface. */
|
|
23099
|
+
classes: array(string().min(1).max(60)).max(40).optional()
|
|
22901
23100
|
});
|
|
22902
|
-
var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
|
|
22903
23101
|
var SummaryDetailSchema = object({
|
|
22904
23102
|
summary: SummarySchema,
|
|
22905
|
-
/**
|
|
22906
|
-
|
|
23103
|
+
/** Members in absorption order, oldest join first. */
|
|
23104
|
+
members: array(object({
|
|
23105
|
+
trackId: string(),
|
|
23106
|
+
/**
|
|
23107
|
+
* The track's class at the time it JOINED, or `null` when it was unresolved
|
|
23108
|
+
* and the track no longer exists to fill it.
|
|
23109
|
+
*
|
|
23110
|
+
* The join, not the latest opinion: class voting can re-decide a track's
|
|
23111
|
+
* class afterwards, and a group's composition is the history of who came
|
|
23112
|
+
* together. A consumer counts these to badge a thumbnail — "two people and a
|
|
23113
|
+
* dog" — rather than being handed a second, denormalised tally that would
|
|
23114
|
+
* drift from the members it claims to describe.
|
|
23115
|
+
*/
|
|
23116
|
+
className: string().nullable(),
|
|
23117
|
+
/** `primary` is the one member that carries the group's identity. */
|
|
23118
|
+
role: _enum([
|
|
23119
|
+
"primary",
|
|
23120
|
+
"sibling",
|
|
23121
|
+
"child"
|
|
23122
|
+
]).nullable(),
|
|
23123
|
+
joinedAt: number(),
|
|
23124
|
+
/** Tier 1 — the sub-class (`dog`, `van`), resolved from the member's track
|
|
23125
|
+
* at read time. Absent when nothing resolved, never an empty string. */
|
|
23126
|
+
label: string().optional(),
|
|
23127
|
+
/** Tier 2 — the instance: a person's name, a plate. Absent when the pipeline
|
|
23128
|
+
* recognised nobody, and absent for a member whose track has been pruned —
|
|
23129
|
+
* a thumbnail that names the wrong person is worse than one naming nobody. */
|
|
23130
|
+
subLabel: string().optional()
|
|
23131
|
+
})).readonly()
|
|
23132
|
+
});
|
|
23133
|
+
/**
|
|
23134
|
+
* What a LIST of groups carries: the envelope plus what it is MADE OF.
|
|
23135
|
+
*
|
|
23136
|
+
* Coarse on purpose — the operator's rule is "only the rough data on the list,
|
|
23137
|
+
* we extend when we notice we need more". Enough to draw the card ("two people
|
|
23138
|
+
* and a dog") and no more. The MEMBERS, their names and the per-member links
|
|
23139
|
+
* are on {@link getSummary}: shipping every member of every group so a client
|
|
23140
|
+
* can count them turns a page of two hundred groups into a thousand records to
|
|
23141
|
+
* draw two hundred badges.
|
|
23142
|
+
*/
|
|
23143
|
+
var SummaryListItemSchema = object({
|
|
23144
|
+
summary: SummarySchema,
|
|
23145
|
+
/** Class counts, most numerous first; `className: null` is a member whose
|
|
23146
|
+
* class never resolved, counted so the counts add up to `memberCount`. */
|
|
23147
|
+
classes: array(object({
|
|
23148
|
+
className: string().nullable(),
|
|
23149
|
+
count: number().int().positive()
|
|
23150
|
+
})).readonly()
|
|
23151
|
+
});
|
|
23152
|
+
var SummariesPageSchema = object({ summaries: array(SummaryListItemSchema).readonly() });
|
|
23153
|
+
/**
|
|
23154
|
+
* The paged feed, deliberately the SAME shape as {@link RecentTracksQueryInput}.
|
|
23155
|
+
*
|
|
23156
|
+
* The reel on the cameras page and the Events gallery both ride a cursor, so a
|
|
23157
|
+
* summaries feed that could only answer "the last N for these cameras"
|
|
23158
|
+
* (`listSummaries`) would make groups available in the timeline and nowhere
|
|
23159
|
+
* else. Two feeds with different ordering contracts would be two ideas of what
|
|
23160
|
+
* "newest" means, on one screen.
|
|
23161
|
+
*/
|
|
23162
|
+
var RecentSummariesQueryInput = object({
|
|
23163
|
+
/** Devices to merge. An empty array yields an empty page. */
|
|
23164
|
+
deviceIds: array(number()),
|
|
23165
|
+
/** Window lower bound on `lastActiveAt` (inclusive). */
|
|
23166
|
+
since: number().optional(),
|
|
23167
|
+
/** Window upper bound on `lastActiveAt` (inclusive). */
|
|
23168
|
+
until: number().optional(),
|
|
23169
|
+
limit: number().int().min(1).max(500).default(100),
|
|
23170
|
+
/** Opaque continuation cursor from a previous page's `nextCursor`. */
|
|
23171
|
+
cursor: string().optional(),
|
|
23172
|
+
/**
|
|
23173
|
+
* Restrict to these classes — THE SAME FIELD `listRecentTracks` takes, and
|
|
23174
|
+
* deliberately the same name: the events filter tree emits one list of ticked
|
|
23175
|
+
* taxonomy nodes, and a summaries feed that called it something else would
|
|
23176
|
+
* make the operator's one filter component produce two shapes.
|
|
23177
|
+
*
|
|
23178
|
+
* A question about the MEMBERS: a group matches when ANY of them does. "Show
|
|
23179
|
+
* me the arrivals with a dog" has to return the group of four people who had
|
|
23180
|
+
* one with them; a filter on the group's own fields could only ever answer
|
|
23181
|
+
* about its primary.
|
|
23182
|
+
*
|
|
23183
|
+
* Matched against all THREE tiers of a member — the class (`animal`), the
|
|
23184
|
+
* sub-class (`dog`) and the instance (a name, a plate) — because which tier a
|
|
23185
|
+
* ticked node lives on is the taxonomy's business, not the caller's. `dog` is
|
|
23186
|
+
* an event kind in the tree and a tier-1 label on an `animal` track; a filter
|
|
23187
|
+
* that read only the class would answer "animal" and never "dog".
|
|
23188
|
+
*
|
|
23189
|
+
* ABSENT or EMPTY means no filter — absent is not a selection of none.
|
|
23190
|
+
*/
|
|
23191
|
+
classes: array(string().min(1).max(60)).max(40).optional()
|
|
23192
|
+
});
|
|
23193
|
+
var RecentSummariesPageSchema = object({
|
|
23194
|
+
/** Ordered by (`lastActiveAt` DESC, id DESC). Same light item as
|
|
23195
|
+
* {@link listSummaries} — one list shape, so a card renders the same
|
|
23196
|
+
* whichever feed drew it. */
|
|
23197
|
+
summaries: array(SummaryListItemSchema).readonly(),
|
|
23198
|
+
nextCursor: string().nullable()
|
|
22907
23199
|
});
|
|
22908
23200
|
var RecentTracksPageSchema = object({
|
|
22909
23201
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -23345,6 +23637,11 @@ var pipelineAnalyticsCapability = {
|
|
|
23345
23637
|
listRecentTracks: method(RecentTracksQueryInput, RecentTracksPageSchema),
|
|
23346
23638
|
/** Newest first by `openedAt`, for a camera set, inside an optional window. */
|
|
23347
23639
|
listSummaries: method(SummariesQueryInput, SummariesPageSchema),
|
|
23640
|
+
/**
|
|
23641
|
+
* The PAGED feed — the reel and the Events gallery. Same cursor contract as
|
|
23642
|
+
* {@link listRecentTracks}, so one screen cannot hold two ideas of newest.
|
|
23643
|
+
*/
|
|
23644
|
+
listRecentSummaries: method(RecentSummariesQueryInput, RecentSummariesPageSchema),
|
|
23348
23645
|
/** One summary with its member track ids; `null` for an id nobody wrote. */
|
|
23349
23646
|
getSummary: method(object({ id: string() }), SummaryDetailSchema.nullable()),
|
|
23350
23647
|
clearTracks: method(object({ deviceId: number() }), _void(), {
|
|
@@ -28365,10 +28662,28 @@ var webrtcSessionCapability = {
|
|
|
28365
28662
|
getSessionState: method(object({
|
|
28366
28663
|
deviceId: number().int().nonnegative(),
|
|
28367
28664
|
sessionId: string()
|
|
28368
|
-
}), object({
|
|
28369
|
-
|
|
28370
|
-
|
|
28371
|
-
|
|
28665
|
+
}), object({
|
|
28666
|
+
pendingRenegotiation: object({
|
|
28667
|
+
target: WebrtcStreamTargetSchema,
|
|
28668
|
+
epoch: number()
|
|
28669
|
+
}).nullable(),
|
|
28670
|
+
/**
|
|
28671
|
+
* Whether the session still EXISTS.
|
|
28672
|
+
*
|
|
28673
|
+
* A consumer that holds a resource for the life of a session needs to
|
|
28674
|
+
* be able to ask, because a session does not always end the way it
|
|
28675
|
+
* began. Measured on this hub 2026-09-13: an Echo that got stuck never
|
|
28676
|
+
* sent `SessionDisconnected`, so the Alexa exporter's
|
|
28677
|
+
* `releaseEgressTranscode` never ran, and a 2304x1296 HEVC to 720p
|
|
28678
|
+
* H.264 transcode kept running for NOBODY for more than twenty
|
|
28679
|
+
* minutes. The WebRTC session had logged `WebRTC session closed`
|
|
28680
|
+
* minutes earlier — the broker knew; the holder had no way to ask.
|
|
28681
|
+
*
|
|
28682
|
+
* `false` for a session id the provider has never heard of, which is
|
|
28683
|
+
* the same answer as "it ended": either way nothing is holding it up.
|
|
28684
|
+
*/
|
|
28685
|
+
alive: boolean()
|
|
28686
|
+
}))
|
|
28372
28687
|
},
|
|
28373
28688
|
/** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
|
|
28374
28689
|
mount: { kind: "server-provided" }
|
|
@@ -37786,7 +38101,29 @@ var LoggingSettingsPatchSchema = object({
|
|
|
37786
38101
|
* disarmed the channels it did not mention would make the Levels page and
|
|
37787
38102
|
* the Diagnostics page fight over the same value.
|
|
37788
38103
|
*/
|
|
37789
|
-
channels: array(LogChannelWindowPatchSchema).readonly().optional()
|
|
38104
|
+
channels: array(LogChannelWindowPatchSchema).readonly().optional(),
|
|
38105
|
+
/**
|
|
38106
|
+
* How many days the analytics OPS LOG is kept — the audit trail of what
|
|
38107
|
+
* retention actually deleted.
|
|
38108
|
+
*
|
|
38109
|
+
* It lives HERE, on the logging document, and not on the analytics addon's
|
|
38110
|
+
* settings form, on the operator's instruction: every other log-ish window in
|
|
38111
|
+
* this system is configured through this one document, and a retention audit
|
|
38112
|
+
* configured somewhere else is a second place to look when the question is
|
|
38113
|
+
* "what happened to my data".
|
|
38114
|
+
*
|
|
38115
|
+
* That placement has a cost worth stating: this document ships in the
|
|
38116
|
+
* framework closure, so this knob needs a published `@camstack/server` while
|
|
38117
|
+
* the four windows beside it (D485) reach a node on `camstack deploy`.
|
|
38118
|
+
*
|
|
38119
|
+
* `retention-model.ts` argued this one must NOT follow a device window,
|
|
38120
|
+
* because the audit trail is the history of the SWEEP and not of the camera.
|
|
38121
|
+
* That argument stands and is untouched — what changes is that 30 days stops
|
|
38122
|
+
* being a constant nobody can reach. `0` keeps it forever. The floor is 1 day
|
|
38123
|
+
* rather than 0-as-delete: an audit log truncated to nothing is precisely the
|
|
38124
|
+
* state in which the next 9.5 GiB leak cannot be explained.
|
|
38125
|
+
*/
|
|
38126
|
+
opsLogRetentionDays: number().int().min(0).max(3650).optional()
|
|
37790
38127
|
});
|
|
37791
38128
|
/**
|
|
37792
38129
|
* Which LAYER of the hierarchy is addressed. Absent = the cluster layer.
|
|
@@ -37859,6 +38196,14 @@ var LoggingSettingsStateSchema = object({
|
|
|
37859
38196
|
channels: array(LogChannelDescriptorSchema).readonly(),
|
|
37860
38197
|
/** The channels ARMED right now, each with its deadline. */
|
|
37861
38198
|
activeChannels: array(LogChannelWindowStateSchema).readonly(),
|
|
38199
|
+
/**
|
|
38200
|
+
* The ops-log window in days, as it is in force. `0` = kept forever.
|
|
38201
|
+
*
|
|
38202
|
+
* Reported rather than left to the caller's memory of what it wrote: this is
|
|
38203
|
+
* the value the analytics sweep will actually use, and an operator asking how
|
|
38204
|
+
* long their audit trail lives should not have to infer it from a default.
|
|
38205
|
+
*/
|
|
38206
|
+
opsLogRetentionDays: number().int().min(0),
|
|
37862
38207
|
persisted: boolean()
|
|
37863
38208
|
});
|
|
37864
38209
|
var systemCapability = {
|
|
@@ -39301,6 +39646,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
39301
39646
|
streamBrokerCapability,
|
|
39302
39647
|
streamCatalogCapability,
|
|
39303
39648
|
streamParamsCapability,
|
|
39649
|
+
streamSignalsCapability,
|
|
39304
39650
|
switchCapability,
|
|
39305
39651
|
systemCapability,
|
|
39306
39652
|
tamperCapability,
|
|
@@ -42775,6 +43121,12 @@ Object.freeze({
|
|
|
42775
43121
|
addonId: null,
|
|
42776
43122
|
access: "view"
|
|
42777
43123
|
},
|
|
43124
|
+
"pipelineAnalytics.listRecentSummaries": {
|
|
43125
|
+
capName: "pipeline-analytics",
|
|
43126
|
+
capScope: "device",
|
|
43127
|
+
addonId: null,
|
|
43128
|
+
access: "view"
|
|
43129
|
+
},
|
|
42778
43130
|
"pipelineAnalytics.listRecentTracks": {
|
|
42779
43131
|
capName: "pipeline-analytics",
|
|
42780
43132
|
capScope: "device",
|
|
@@ -44737,6 +45089,12 @@ Object.freeze({
|
|
|
44737
45089
|
addonId: null,
|
|
44738
45090
|
access: "create"
|
|
44739
45091
|
},
|
|
45092
|
+
"streamBroker.reportStreamSignal": {
|
|
45093
|
+
capName: "stream-broker",
|
|
45094
|
+
capScope: "system",
|
|
45095
|
+
addonId: null,
|
|
45096
|
+
access: "create"
|
|
45097
|
+
},
|
|
44740
45098
|
"streamBroker.restartProfile": {
|
|
44741
45099
|
capName: "stream-broker",
|
|
44742
45100
|
capScope: "system",
|
|
@@ -44821,6 +45179,12 @@ Object.freeze({
|
|
|
44821
45179
|
addonId: null,
|
|
44822
45180
|
access: "create"
|
|
44823
45181
|
},
|
|
45182
|
+
"streamSignals.listSignals": {
|
|
45183
|
+
capName: "stream-signals",
|
|
45184
|
+
capScope: "device",
|
|
45185
|
+
addonId: null,
|
|
45186
|
+
access: "view"
|
|
45187
|
+
},
|
|
44824
45188
|
"switch.setState": {
|
|
44825
45189
|
capName: "switch",
|
|
44826
45190
|
capScope: "device",
|
|
@@ -46602,6 +46966,11 @@ Object.freeze({
|
|
|
46602
46966
|
form: "single",
|
|
46603
46967
|
optional: true
|
|
46604
46968
|
}],
|
|
46969
|
+
"pipelineAnalytics.listRecentSummaries": [{
|
|
46970
|
+
name: "deviceIds",
|
|
46971
|
+
form: "array",
|
|
46972
|
+
optional: false
|
|
46973
|
+
}],
|
|
46605
46974
|
"pipelineAnalytics.listRecentTracks": [{
|
|
46606
46975
|
name: "deviceIds",
|
|
46607
46976
|
form: "array",
|
|
@@ -47188,6 +47557,11 @@ Object.freeze({
|
|
|
47188
47557
|
form: "single",
|
|
47189
47558
|
optional: false
|
|
47190
47559
|
}],
|
|
47560
|
+
"streamBroker.reportStreamSignal": [{
|
|
47561
|
+
name: "deviceId",
|
|
47562
|
+
form: "single",
|
|
47563
|
+
optional: false
|
|
47564
|
+
}],
|
|
47191
47565
|
"streamBroker.restartProfile": [{
|
|
47192
47566
|
name: "deviceId",
|
|
47193
47567
|
form: "single",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as e, l as t, u as n, y as r } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react__loadShare__.js-Bs1t18EM.mjs";
|
|
2
|
-
import { o as i, s as a } from "./responsive-
|
|
2
|
+
import { o as i, s as a } from "./responsive-CREvujgj.mjs";
|
|
3
3
|
import { n as o, r as s, t as c } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-DalfdIDw.mjs";
|
|
4
4
|
var l = a("chevron-down", [["path", {
|
|
5
5
|
d: "m6 9 6 6 6-6",
|
package/dist/remoteEntry.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-
|
|
1
|
+
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-m9QQayT8.mjs";
|
|
2
2
|
export { t as get, e as init };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as e, g as t, h as n, l as r, n as i, p as a, r as o, t as s, u as c, y as l } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react__loadShare__.js-Bs1t18EM.mjs";
|
|
2
2
|
import "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-DalfdIDw.mjs";
|
|
3
|
-
import { n as u } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-
|
|
3
|
+
import { n as u } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BR1kX9U-.mjs";
|
|
4
4
|
//#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js
|
|
5
5
|
l();
|
|
6
6
|
var d = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), f = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), p = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), m = (e) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as e, h as t, p as n, y as r } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react__loadShare__.js-Bs1t18EM.mjs";
|
|
2
|
-
import { s as i } from "./responsive-
|
|
2
|
+
import { s as i } from "./responsive-CREvujgj.mjs";
|
|
3
3
|
var a = i("camera", [["path", {
|
|
4
4
|
d: "M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",
|
|
5
5
|
key: "18u6gg"
|
|
@@ -2753,7 +2753,7 @@ async function rr(e) {
|
|
|
2753
2753
|
}
|
|
2754
2754
|
}
|
|
2755
2755
|
async function ir() {
|
|
2756
|
-
return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-
|
|
2756
|
+
return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-ZjOQCsZZ.mjs")).catch((e) => {
|
|
2757
2757
|
throw tr = void 0, e;
|
|
2758
2758
|
}), tr;
|
|
2759
2759
|
}
|