@camstack/addon-admin-ui 1.2.188 → 1.2.190
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/assets/{AddonCollectionPage-BmvElgAE.js → AddonCollectionPage-k8nY0KXs.js} +1 -1
- package/dist/assets/{Addons-BeK0VwJQ.js → Addons-DU4Ps37y.js} +1 -1
- package/dist/assets/{AdminTabs-0bGgmBs-.js → AdminTabs-D9a9iKD4.js} +1 -1
- package/dist/assets/{AiProfiles-D3clGOQh.js → AiProfiles-D8DZiESD.js} +1 -1
- package/dist/assets/{BrokerForm-CJQHIvDp.js → BrokerForm-CKkCvQNK.js} +1 -1
- package/dist/assets/{Build-6Hy5Icnf.js → Build-DaeEAqF1.js} +1 -1
- package/dist/assets/{Capabilities-KFS3L_mO.js → Capabilities-ComsXtBs.js} +1 -1
- package/dist/assets/{CapabilityBadges-CR3hpeMi.js → CapabilityBadges-BjHnL8Vv.js} +1 -1
- package/dist/assets/{Cluster-BYB-5usZ.js → Cluster-CifUurjL.js} +1 -1
- package/dist/assets/{Data-BC4Mp39O.js → Data-62l903ed.js} +1 -1
- package/dist/assets/{DetectionIntelligence-BVF8kmFZ.js → DetectionIntelligence-CBYGXqTF.js} +1 -1
- package/dist/assets/{DeviceAggregateSection-D1CZi27R.js → DeviceAggregateSection-f0Nhoa8r.js} +1 -1
- package/dist/assets/{DeviceDetail-D8r6arnt.js → DeviceDetail-CaiWRmU8.js} +1 -1
- package/dist/assets/{Devices-D5zWfKfm.js → Devices-DBaZf7Jo.js} +1 -1
- package/dist/assets/{EmbedPlayerPage-D2HFwZE2.js → EmbedPlayerPage-ByAAT5Jw.js} +1 -1
- package/dist/assets/{Events-D2WbQerQ.js → Events-x0NPddZ_.js} +1 -1
- package/dist/assets/{FormBuilder-Cb49tuYT.js → FormBuilder-vPltExLo.js} +1 -1
- package/dist/assets/{Identity-HAekM6NT.js → Identity-ZLyWGmI4.js} +1 -1
- package/dist/assets/{IntegrationDetail-CxpiY7M7.js → IntegrationDetail-BAOAo4rN.js} +1 -1
- package/dist/assets/{Integrations-iz0IKAH3.js → Integrations-DjDUno2r.js} +1 -1
- package/dist/assets/{Integrations-CxyQf2XU.js → Integrations-Qo5T9vgF.js} +1 -1
- package/dist/assets/{Locations-BOjs9dW1.js → Locations-GWveDEJk.js} +1 -1
- package/dist/assets/{Logs-B68zmWBd.js → Logs-Pe4WnTbs.js} +1 -1
- package/dist/assets/{MotionZonesSettings-BQ73X1aM.js → MotionZonesSettings-C5-a5xsA.js} +1 -1
- package/dist/assets/{MyAccess-CTyNE4-f.js → MyAccess-DNPoveDb.js} +1 -1
- package/dist/assets/{Network-DuOZ8rm-.js → Network-CavEAVqu.js} +1 -1
- package/dist/assets/{NodeAddonsSettingsPanel-6MO_wCLS.js → NodeAddonsSettingsPanel-Bk6sZ5_t.js} +1 -1
- package/dist/assets/{NodeInferenceDevices-NpbyKRi5.js → NodeInferenceDevices-BIe_geP6.js} +1 -1
- package/dist/assets/{Notifications-C-VuB8Aq.js → Notifications-Bdho-BYm.js} +1 -1
- package/dist/assets/{Pipeline-Cc70usD5.js → Pipeline-B0O_gs9q.js} +1 -1
- package/dist/assets/{Plates-D0S_xttv.js → Plates-lYz2di6g.js} +1 -1
- package/dist/assets/{PrivacyMaskSettings-BDkt_D9u.js → PrivacyMaskSettings-BOX8TWYI.js} +1 -1
- package/dist/assets/{ProviderIcon-Bc0dKFV8.js → ProviderIcon-Cqm-mDjH.js} +1 -1
- package/dist/assets/{Recordings-CUL4F3HN.js → Recordings-DH3eSUrT.js} +1 -1
- package/dist/assets/{ScanNetworkModal-Box4vjpu.js → ScanNetworkModal-Ch4ZB56D.js} +1 -1
- package/dist/assets/{SceneMonitorEditor-PaZewn5l.js → SceneMonitorEditor-CCZXAnuz.js} +1 -1
- package/dist/assets/{Scenes-Bv9oKd7I.js → Scenes-C_Ty9PE-.js} +1 -1
- package/dist/assets/{Settings-BmF_V57f.js → Settings-Jdw7B83Z.js} +1 -1
- package/dist/assets/{Showroom-BgcpMTyb.js → Showroom-D-0ntabJ.js} +1 -1
- package/dist/assets/{StorageLocationsPanel-BYex_f6a.js → StorageLocationsPanel-BhHpKWCi.js} +1 -1
- package/dist/assets/{Terminal-Ao5_Oy20.js → Terminal-Dht4Iknl.js} +1 -1
- package/dist/assets/{Viewer-C_sjsb9b.js → Viewer-DicYRJ0-.js} +1 -1
- package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-01W6fhMA.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-BmM57Kh5.js} +1 -1
- package/dist/assets/{authed-media-e1beGEyB.js → authed-media-B-qDqtDA.js} +1 -1
- package/dist/assets/{bell-off-DudkLV0w.js → bell-off-BYhY4dUE.js} +1 -1
- package/dist/assets/{boxes-BFMPKXOC.js → boxes-BbrJnaEC.js} +1 -1
- package/dist/assets/circle-slash-DQ3qAn74.js +1 -0
- package/dist/assets/{debounced-invalidate-DJ5xRUzG.js → debounced-invalidate-DOruFsCC.js} +1 -1
- package/dist/assets/dist-BuEmSPML.js +349 -0
- package/dist/assets/{dist-ksKaaMA7.js → dist-M2vP64mZ.js} +1 -1
- package/dist/assets/{face-bbox-CPyKyGmW.js → face-bbox-DNbC3JZd.js} +1 -1
- package/dist/assets/{format-size-WGkwudrZ.js → format-size-Du1oQs5g.js} +1 -1
- package/dist/assets/{grid-2x2-DKFAPIZn.js → grid-2x2-liGzuGdl.js} +1 -1
- package/dist/assets/{hostInit-O5KIYjam.js → hostInit-Cg1ikQOj.js} +1 -1
- package/dist/assets/{index-ydSgERNe.js → index-Cj1oylE9.js} +3 -3
- package/dist/assets/{key-round-BzTYM_go.js → key-round-CmhHfS76.js} +1 -1
- package/dist/assets/{layers-LmY7Cxt2.js → layers-CcUa4Myc.js} +1 -1
- package/dist/assets/{location-owned-usage-BVUB0v6D.js → location-owned-usage-BCvBGBLQ.js} +1 -1
- package/dist/assets/{mf-entry-bootstrap-0-e3f6a773.js → mf-entry-bootstrap-0-80b16054.js} +2 -2
- package/dist/assets/{player-overlays-CwBSR_gK.js → player-overlays-ChOaOu5c.js} +1 -1
- package/dist/assets/remoteEntry-DaWsNuMY.js +1 -0
- package/dist/assets/{send-C2tE9nxp.js → send-DeN8TTRw.js} +1 -1
- package/dist/assets/{settings-2-CggMY1PM.js → settings-2-BNxcUWs7.js} +1 -1
- package/dist/assets/{square-check-big-DjoVv9Dr.js → square-check-big-FnMaHhaj.js} +1 -1
- package/dist/assets/src-3Tpsw-oI.js +349 -0
- package/dist/assets/{src-DpH3BGaB.js → src-DQplLwvx.js} +17 -17
- package/dist/assets/{use-scenes-feed-Ha6znZj7.js → use-scenes-feed-BL4aSMBu.js} +1 -1
- package/dist/assets/useEventInvalidation-DU5PhlZm.js +1 -0
- package/dist/assets/{useNodeUrlSelection-mU8ePUe7.js → useNodeUrlSelection-C6oyIEZ5.js} +1 -1
- package/dist/assets/user-round-CzkfJzas.js +1 -0
- package/dist/assets/{video-DDFopmz0.js → video-C0zp850m.js} +1 -1
- package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-D3jgwHrj.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-l4YwL-5U.js} +2 -2
- package/dist/index.html +5 -5
- package/dist/server/addon.js +304 -16
- package/package.json +1 -1
- package/dist/assets/circle-slash-CIfA-oML.js +0 -1
- package/dist/assets/dist-Dw9GyVL_.js +0 -349
- package/dist/assets/remoteEntry-Dvm80fgB.js +0 -1
- package/dist/assets/src-vO7Ow9s5.js +0 -349
- package/dist/assets/useEventInvalidation-BkpQLc3A.js +0 -1
- package/dist/assets/user-round-CiNyf8BP.js +0 -1
package/dist/server/addon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
2
|
import { fileURLToPath } from "node:url";
|
|
3
|
-
//#region ../types/dist/event-category-
|
|
3
|
+
//#region ../types/dist/event-category-BVDXG4tB.mjs
|
|
4
4
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
5
5
|
EventCategory["SystemBoot"] = "system.boot";
|
|
6
6
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -617,6 +617,20 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
617
617
|
* pull-reconcile from the provider's `getStatus` on reconnect. */
|
|
618
618
|
EventCategory["MeshNetworkChanged"] = "network.mesh.changed";
|
|
619
619
|
EventCategory["BackupCompleted"] = "backup.completed";
|
|
620
|
+
/**
|
|
621
|
+
* A whole backup RUN finished — every destination attempted, win or lose.
|
|
622
|
+
*
|
|
623
|
+
* `backup.completed` fires once per DESTINATION, which is the right grain for
|
|
624
|
+
* a progress UI and the wrong one for a notification: an operator with three
|
|
625
|
+
* destinations would be told three times. And a run where two of three
|
|
626
|
+
* destinations succeeded is not a clean success — a single "backup
|
|
627
|
+
* completed" that hid the failed one would be a lie, so the count of each is
|
|
628
|
+
* carried here and the message says both.
|
|
629
|
+
*
|
|
630
|
+
* Emitted by the backup orchestrator only after the destination loop, so a
|
|
631
|
+
* run that dies during the BUILD phase produces no completion at all.
|
|
632
|
+
*/
|
|
633
|
+
EventCategory["BackupRunCompleted"] = "backup.run-completed";
|
|
620
634
|
EventCategory["BackupRestored"] = "backup.restored";
|
|
621
635
|
EventCategory["NotificationDispatched"] = "notification.dispatched";
|
|
622
636
|
EventCategory["NotificationFailed"] = "notification.failed";
|
|
@@ -5347,7 +5361,7 @@ var ZodIssueCode = {
|
|
|
5347
5361
|
var ZodFirstPartyTypeKind;
|
|
5348
5362
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5349
5363
|
//#endregion
|
|
5350
|
-
//#region ../types/dist/sleep-
|
|
5364
|
+
//#region ../types/dist/sleep-DEuj7E3j.mjs
|
|
5351
5365
|
/**
|
|
5352
5366
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5353
5367
|
* window to float samples (D455).
|
|
@@ -7378,7 +7392,23 @@ var EncodeProfileSchema = object({
|
|
|
7378
7392
|
"zerolatency",
|
|
7379
7393
|
"film",
|
|
7380
7394
|
"animation"
|
|
7381
|
-
]).optional()
|
|
7395
|
+
]).optional(),
|
|
7396
|
+
/**
|
|
7397
|
+
* ONE slice per access unit.
|
|
7398
|
+
*
|
|
7399
|
+
* `-tune zerolatency` turns on x264's sliced threads, and a frame then leaves
|
|
7400
|
+
* the encoder as five NAL slices that share one RTP timestamp and carry one
|
|
7401
|
+
* marker bit. A libwebrtc depacketiser sees five frame-starts and one
|
|
7402
|
+
* frame-end per frame: the first pictures render and the video then freezes
|
|
7403
|
+
* for good while the audio, on its own plane, plays on. Measured on this hub
|
|
7404
|
+
* 2026-09-13 against the Echo, and reduced to one slice by this flag alone.
|
|
7405
|
+
*
|
|
7406
|
+
* A NAMED field and not a raw flag, because {@link EgressEncodeSchema} omits
|
|
7407
|
+
* `outputArgs` on purpose: an opaque array is part of the sharing key, so two
|
|
7408
|
+
* consumers meaning the same thing spelled differently would stop sharing one
|
|
7409
|
+
* child. Absent means "whatever the encoder does" — today's behaviour.
|
|
7410
|
+
*/
|
|
7411
|
+
singleSlicePerFrame: boolean().optional()
|
|
7382
7412
|
}),
|
|
7383
7413
|
audio: union([literal("passthrough"), object({
|
|
7384
7414
|
codec: _enum([
|
|
@@ -7428,7 +7458,7 @@ var BASE_LIVE_EGRESS_PROFILE = {
|
|
|
7428
7458
|
audio: "passthrough"
|
|
7429
7459
|
};
|
|
7430
7460
|
({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
|
|
7431
|
-
({ ...BASE_LIVE_EGRESS_PROFILE });
|
|
7461
|
+
({ ...BASE_LIVE_EGRESS_PROFILE }), { ...BASE_LIVE_EGRESS_PROFILE.video };
|
|
7432
7462
|
/**
|
|
7433
7463
|
* Deep wiring healthcheck — snapshot of active reachability probes across
|
|
7434
7464
|
* every declared capability + widget of every installed plugin, on every
|
|
@@ -11477,6 +11507,58 @@ method(ListInputSchema, array(BrokerInfoSchema$1)), method(GetInputSchema, Broke
|
|
|
11477
11507
|
auth: "admin"
|
|
11478
11508
|
}), method(GetStateInputSchema, unknown().nullable()), method(_void(), RegistryStatusSchema);
|
|
11479
11509
|
DeviceType.Camera;
|
|
11510
|
+
/**
|
|
11511
|
+
* The signals a device can emit to WAKE its own stream.
|
|
11512
|
+
*
|
|
11513
|
+
* A camera whose stream is built on demand sleeps until something asks for it,
|
|
11514
|
+
* and "something" cannot be a consumer that is merely attached — a Frigate-style
|
|
11515
|
+
* puller holds a session open for ever, and treating that as demand would keep
|
|
11516
|
+
* a battery camera awake for ever, which is the whole thing the battery is for
|
|
11517
|
+
* (D173). So the wake has to come from the CAMERA: an event it noticed by
|
|
11518
|
+
* itself, with no stream running.
|
|
11519
|
+
*
|
|
11520
|
+
* ## The vocabulary is the PROVIDER'S, not ours
|
|
11521
|
+
*
|
|
11522
|
+
* Like `consumables`, this cap declares no vocabulary of its own. A provider
|
|
11523
|
+
* names each signal with a `code` it chooses and a `label` an operator reads.
|
|
11524
|
+
* Reolink offers motion and camera-native detection; another provider may offer
|
|
11525
|
+
* a tamper, a doorbell press, a PIR, or something no camera in this fleet has
|
|
11526
|
+
* yet. A fixed enum here would mean every new signal is a framework release.
|
|
11527
|
+
*
|
|
11528
|
+
* It is deliberately NOT derived from the caps a device already binds. Whether
|
|
11529
|
+
* a camera CAN push firmware motion is expressed by `motionSources` containing
|
|
11530
|
+
* `'onboard'`, and whether it does AI on-camera by the `native-object-detection`
|
|
11531
|
+
* binding — but both answer "what drives the detection pipeline", which is a
|
|
11532
|
+
* different question from "what may wake a sleeping stream". A camera can do
|
|
11533
|
+
* the first and not be trusted with the second, and the operator picks per
|
|
11534
|
+
* camera. Two questions, two authorities.
|
|
11535
|
+
*
|
|
11536
|
+
* ## Availability is not permission
|
|
11537
|
+
*
|
|
11538
|
+
* `listSignals` says what the device CAN emit. Whether a given signal actually
|
|
11539
|
+
* wakes the stream is the operator's per-camera choice, held by the broker
|
|
11540
|
+
* alongside the cooldown — see the stream-broker cap's wake settings. A
|
|
11541
|
+
* provider declaring a signal is not a provider enabling it.
|
|
11542
|
+
*/
|
|
11543
|
+
/** One signal a device can emit. */
|
|
11544
|
+
var StreamSignalSchema = object({
|
|
11545
|
+
/** Stable id chosen by the provider, e.g. `'motion'`, `'person'`, `'tamper'`. */
|
|
11546
|
+
code: string().min(1),
|
|
11547
|
+
/** What an operator reads in the picker. The provider's own wording. */
|
|
11548
|
+
label: string().min(1),
|
|
11549
|
+
/**
|
|
11550
|
+
* Whether the provider recommends this signal ON when a camera is first set
|
|
11551
|
+
* up. A provider knows which of its signals are cheap and reliable; an
|
|
11552
|
+
* operator should not have to discover that by trial. Reolink recommends
|
|
11553
|
+
* both of its own.
|
|
11554
|
+
*/
|
|
11555
|
+
recommended: boolean()
|
|
11556
|
+
});
|
|
11557
|
+
object({
|
|
11558
|
+
signals: array(StreamSignalSchema),
|
|
11559
|
+
lastFetchedAt: number()
|
|
11560
|
+
});
|
|
11561
|
+
Object.values(DeviceType), method(_void(), array(StreamSignalSchema).readonly());
|
|
11480
11562
|
/** Stream delivery format. (Relocated from the retired `streaming-engine` cap.) */
|
|
11481
11563
|
var StreamFormatSchema = _enum([
|
|
11482
11564
|
"webrtc",
|
|
@@ -11873,6 +11955,22 @@ var EgressTranscodeSchema = object({
|
|
|
11873
11955
|
camStreamId: string().nullable()
|
|
11874
11956
|
});
|
|
11875
11957
|
method(object({
|
|
11958
|
+
deviceId: number().int().nonnegative(),
|
|
11959
|
+
/** The provider's signal code. */
|
|
11960
|
+
code: string().min(1),
|
|
11961
|
+
/** Ms epoch. Absent ⇒ now. */
|
|
11962
|
+
at: number().optional()
|
|
11963
|
+
}), object({
|
|
11964
|
+
/** Whether the broker acted on it, and if not, why. */
|
|
11965
|
+
accepted: boolean(),
|
|
11966
|
+
reason: _enum([
|
|
11967
|
+
"woke",
|
|
11968
|
+
"hold-extended",
|
|
11969
|
+
"not-enabled",
|
|
11970
|
+
"no-consumer",
|
|
11971
|
+
"unknown-code"
|
|
11972
|
+
])
|
|
11973
|
+
}), { kind: "mutation" }), method(object({
|
|
11876
11974
|
deviceId: number().int().nonnegative(),
|
|
11877
11975
|
camStreamId: string().min(1),
|
|
11878
11976
|
kind: CamStreamKindSchema,
|
|
@@ -12127,6 +12225,16 @@ var PickStreamRequirementsSchema = object({
|
|
|
12127
12225
|
acceptCodecs: array(StreamCodecSchema).readonly().optional(),
|
|
12128
12226
|
/** Minimum vertical resolution. Streams shorter than this are dropped. */
|
|
12129
12227
|
minHeight: number().int().positive().optional(),
|
|
12228
|
+
/**
|
|
12229
|
+
* Maximum vertical resolution. Streams TALLER than this are dropped.
|
|
12230
|
+
*
|
|
12231
|
+
* A consumer can have a ceiling as real as its floor: Alexa documents
|
|
12232
|
+
* 480p to 1080p, and a 4K stream is as unusable to an Echo as a 360p one.
|
|
12233
|
+
* Without this the ceiling had to be re-implemented by every caller — and
|
|
12234
|
+
* one caller implementing it privately is how a second scoring authority
|
|
12235
|
+
* gets born.
|
|
12236
|
+
*/
|
|
12237
|
+
maxHeight: number().int().positive().optional(),
|
|
12130
12238
|
/** Minimum horizontal resolution. */
|
|
12131
12239
|
minWidth: number().int().positive().optional(),
|
|
12132
12240
|
/**
|
|
@@ -12143,7 +12251,22 @@ var PickStreamRequirementsSchema = object({
|
|
|
12143
12251
|
* transcoded" guard: if the device is already serving the consumer's
|
|
12144
12252
|
* codec end-to-end, there's nothing to optimise.
|
|
12145
12253
|
*/
|
|
12146
|
-
requireSiblingCodec: array(StreamCodecSchema).readonly().optional()
|
|
12254
|
+
requireSiblingCodec: array(StreamCodecSchema).readonly().optional(),
|
|
12255
|
+
/**
|
|
12256
|
+
* Whether a stream the consumer CANNOT decode may still be picked, on the
|
|
12257
|
+
* understanding that it will be transcoded.
|
|
12258
|
+
*
|
|
12259
|
+
* Default `false` — today's behaviour, and the right one for a bypass
|
|
12260
|
+
* question ("is there a stream I can forward untouched?"). Set `true` to
|
|
12261
|
+
* ask the larger question: "what is the best stream for me, transcoding if
|
|
12262
|
+
* I must?" A stream that satisfies `acceptCodecs` always outranks one that
|
|
12263
|
+
* does not, so a passthrough is never lost to a transcode; the answer says
|
|
12264
|
+
* which it is in {@link PickedCamStreamSchema.transcodes}.
|
|
12265
|
+
*
|
|
12266
|
+
* This is what lets one picker serve both the bypass and the full source
|
|
12267
|
+
* choice, instead of a consumer scoring privately when the bypass misses.
|
|
12268
|
+
*/
|
|
12269
|
+
allowTranscode: boolean().optional()
|
|
12147
12270
|
}).readonly();
|
|
12148
12271
|
var PickStreamPreferencesSchema = object({
|
|
12149
12272
|
/**
|
|
@@ -12157,12 +12280,32 @@ var PickStreamPreferencesSchema = object({
|
|
|
12157
12280
|
* picks the tallest stream; `'lowest'` picks the shortest (used by
|
|
12158
12281
|
* memory-constrained consumers / Apple Home guest sessions).
|
|
12159
12282
|
*/
|
|
12160
|
-
resolutionPreference: _enum(["highest", "lowest"]).optional()
|
|
12283
|
+
resolutionPreference: _enum(["highest", "lowest"]).optional(),
|
|
12284
|
+
/**
|
|
12285
|
+
* The height the consumer actually wants to DELIVER.
|
|
12286
|
+
*
|
|
12287
|
+
* Not a constraint — an ordering. With it set, the SMALLEST stream at or
|
|
12288
|
+
* above the target wins, and only if nothing reaches it does the tallest
|
|
12289
|
+
* take over. Pulling 1296 lines to draw 720 on a 1280x800 Echo panel costs
|
|
12290
|
+
* a decode and buys nothing, and `resolutionPreference: 'highest'` cannot
|
|
12291
|
+
* express that: it says "as big as possible", which is a different wish.
|
|
12292
|
+
*
|
|
12293
|
+
* Ignored when absent, so every existing caller keeps its ordering.
|
|
12294
|
+
*/
|
|
12295
|
+
targetHeight: number().int().positive().optional()
|
|
12161
12296
|
}).readonly();
|
|
12162
12297
|
var PickedCamStreamSchema = object({
|
|
12163
12298
|
camStreamId: string(),
|
|
12164
12299
|
codec: string().optional(),
|
|
12165
12300
|
resolution: CamStreamResolutionSchema.optional(),
|
|
12301
|
+
/**
|
|
12302
|
+
* Whether serving this stream requires a decode + re-encode.
|
|
12303
|
+
*
|
|
12304
|
+
* `false` is a stream the consumer can take as it stands. Only ever `true`
|
|
12305
|
+
* when the caller asked for it with `allowTranscode`, so a caller that did
|
|
12306
|
+
* not ask cannot be handed a cost it never agreed to pay.
|
|
12307
|
+
*/
|
|
12308
|
+
transcodes: boolean(),
|
|
12166
12309
|
/** One-line explanation of why this stream won — for logs / debug UI. */
|
|
12167
12310
|
reason: string()
|
|
12168
12311
|
});
|
|
@@ -16351,6 +16494,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
16351
16494
|
"device-enabled",
|
|
16352
16495
|
"device-battery-low",
|
|
16353
16496
|
"device-battery-normal",
|
|
16497
|
+
"device-consumable-low",
|
|
16498
|
+
"device-consumable-normal",
|
|
16354
16499
|
"stream-online",
|
|
16355
16500
|
"stream-offline",
|
|
16356
16501
|
"node-online",
|
|
@@ -16369,6 +16514,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
16369
16514
|
"addon-updated",
|
|
16370
16515
|
"server-updated",
|
|
16371
16516
|
"export-completed",
|
|
16517
|
+
"backup-completed",
|
|
16372
16518
|
"camera-online",
|
|
16373
16519
|
"camera-offline",
|
|
16374
16520
|
"camera-disabled",
|
|
@@ -19765,13 +19911,109 @@ var SummariesQueryInput = object({
|
|
|
19765
19911
|
deviceIds: array(number()).min(1),
|
|
19766
19912
|
since: number().optional(),
|
|
19767
19913
|
until: number().optional(),
|
|
19768
|
-
limit: number().int().min(1).max(200).default(50)
|
|
19914
|
+
limit: number().int().min(1).max(200).default(50),
|
|
19915
|
+
/** The same member-wise filter {@link listRecentSummaries} takes — one
|
|
19916
|
+
* meaning of "dog" on every summary surface. */
|
|
19917
|
+
classes: array(string().min(1).max(60)).max(40).optional()
|
|
19769
19918
|
});
|
|
19770
|
-
var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
|
|
19771
19919
|
var SummaryDetailSchema = object({
|
|
19772
19920
|
summary: SummarySchema,
|
|
19773
|
-
/**
|
|
19774
|
-
|
|
19921
|
+
/** Members in absorption order, oldest join first. */
|
|
19922
|
+
members: array(object({
|
|
19923
|
+
trackId: string(),
|
|
19924
|
+
/**
|
|
19925
|
+
* The track's class at the time it JOINED, or `null` when it was unresolved
|
|
19926
|
+
* and the track no longer exists to fill it.
|
|
19927
|
+
*
|
|
19928
|
+
* The join, not the latest opinion: class voting can re-decide a track's
|
|
19929
|
+
* class afterwards, and a group's composition is the history of who came
|
|
19930
|
+
* together. A consumer counts these to badge a thumbnail — "two people and a
|
|
19931
|
+
* dog" — rather than being handed a second, denormalised tally that would
|
|
19932
|
+
* drift from the members it claims to describe.
|
|
19933
|
+
*/
|
|
19934
|
+
className: string().nullable(),
|
|
19935
|
+
/** `primary` is the one member that carries the group's identity. */
|
|
19936
|
+
role: _enum([
|
|
19937
|
+
"primary",
|
|
19938
|
+
"sibling",
|
|
19939
|
+
"child"
|
|
19940
|
+
]).nullable(),
|
|
19941
|
+
joinedAt: number(),
|
|
19942
|
+
/** Tier 1 — the sub-class (`dog`, `van`), resolved from the member's track
|
|
19943
|
+
* at read time. Absent when nothing resolved, never an empty string. */
|
|
19944
|
+
label: string().optional(),
|
|
19945
|
+
/** Tier 2 — the instance: a person's name, a plate. Absent when the pipeline
|
|
19946
|
+
* recognised nobody, and absent for a member whose track has been pruned —
|
|
19947
|
+
* a thumbnail that names the wrong person is worse than one naming nobody. */
|
|
19948
|
+
subLabel: string().optional()
|
|
19949
|
+
})).readonly()
|
|
19950
|
+
});
|
|
19951
|
+
/**
|
|
19952
|
+
* What a LIST of groups carries: the envelope plus what it is MADE OF.
|
|
19953
|
+
*
|
|
19954
|
+
* Coarse on purpose — the operator's rule is "only the rough data on the list,
|
|
19955
|
+
* we extend when we notice we need more". Enough to draw the card ("two people
|
|
19956
|
+
* and a dog") and no more. The MEMBERS, their names and the per-member links
|
|
19957
|
+
* are on {@link getSummary}: shipping every member of every group so a client
|
|
19958
|
+
* can count them turns a page of two hundred groups into a thousand records to
|
|
19959
|
+
* draw two hundred badges.
|
|
19960
|
+
*/
|
|
19961
|
+
var SummaryListItemSchema = object({
|
|
19962
|
+
summary: SummarySchema,
|
|
19963
|
+
/** Class counts, most numerous first; `className: null` is a member whose
|
|
19964
|
+
* class never resolved, counted so the counts add up to `memberCount`. */
|
|
19965
|
+
classes: array(object({
|
|
19966
|
+
className: string().nullable(),
|
|
19967
|
+
count: number().int().positive()
|
|
19968
|
+
})).readonly()
|
|
19969
|
+
});
|
|
19970
|
+
var SummariesPageSchema = object({ summaries: array(SummaryListItemSchema).readonly() });
|
|
19971
|
+
/**
|
|
19972
|
+
* The paged feed, deliberately the SAME shape as {@link RecentTracksQueryInput}.
|
|
19973
|
+
*
|
|
19974
|
+
* The reel on the cameras page and the Events gallery both ride a cursor, so a
|
|
19975
|
+
* summaries feed that could only answer "the last N for these cameras"
|
|
19976
|
+
* (`listSummaries`) would make groups available in the timeline and nowhere
|
|
19977
|
+
* else. Two feeds with different ordering contracts would be two ideas of what
|
|
19978
|
+
* "newest" means, on one screen.
|
|
19979
|
+
*/
|
|
19980
|
+
var RecentSummariesQueryInput = object({
|
|
19981
|
+
/** Devices to merge. An empty array yields an empty page. */
|
|
19982
|
+
deviceIds: array(number()),
|
|
19983
|
+
/** Window lower bound on `lastActiveAt` (inclusive). */
|
|
19984
|
+
since: number().optional(),
|
|
19985
|
+
/** Window upper bound on `lastActiveAt` (inclusive). */
|
|
19986
|
+
until: number().optional(),
|
|
19987
|
+
limit: number().int().min(1).max(500).default(100),
|
|
19988
|
+
/** Opaque continuation cursor from a previous page's `nextCursor`. */
|
|
19989
|
+
cursor: string().optional(),
|
|
19990
|
+
/**
|
|
19991
|
+
* Restrict to these classes — THE SAME FIELD `listRecentTracks` takes, and
|
|
19992
|
+
* deliberately the same name: the events filter tree emits one list of ticked
|
|
19993
|
+
* taxonomy nodes, and a summaries feed that called it something else would
|
|
19994
|
+
* make the operator's one filter component produce two shapes.
|
|
19995
|
+
*
|
|
19996
|
+
* A question about the MEMBERS: a group matches when ANY of them does. "Show
|
|
19997
|
+
* me the arrivals with a dog" has to return the group of four people who had
|
|
19998
|
+
* one with them; a filter on the group's own fields could only ever answer
|
|
19999
|
+
* about its primary.
|
|
20000
|
+
*
|
|
20001
|
+
* Matched against all THREE tiers of a member — the class (`animal`), the
|
|
20002
|
+
* sub-class (`dog`) and the instance (a name, a plate) — because which tier a
|
|
20003
|
+
* ticked node lives on is the taxonomy's business, not the caller's. `dog` is
|
|
20004
|
+
* an event kind in the tree and a tier-1 label on an `animal` track; a filter
|
|
20005
|
+
* that read only the class would answer "animal" and never "dog".
|
|
20006
|
+
*
|
|
20007
|
+
* ABSENT or EMPTY means no filter — absent is not a selection of none.
|
|
20008
|
+
*/
|
|
20009
|
+
classes: array(string().min(1).max(60)).max(40).optional()
|
|
20010
|
+
});
|
|
20011
|
+
var RecentSummariesPageSchema = object({
|
|
20012
|
+
/** Ordered by (`lastActiveAt` DESC, id DESC). Same light item as
|
|
20013
|
+
* {@link listSummaries} — one list shape, so a card renders the same
|
|
20014
|
+
* whichever feed drew it. */
|
|
20015
|
+
summaries: array(SummaryListItemSchema).readonly(),
|
|
20016
|
+
nextCursor: string().nullable()
|
|
19775
20017
|
});
|
|
19776
20018
|
var RecentTracksPageSchema = object({
|
|
19777
20019
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -20185,7 +20427,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20185
20427
|
classes: array(string()).optional(),
|
|
20186
20428
|
/** See {@link ExcludeSourcesDoc}. */
|
|
20187
20429
|
excludeSources: array(TrackSourceSchema).optional()
|
|
20188
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
20430
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(RecentSummariesQueryInput, RecentSummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
20189
20431
|
kind: "mutation",
|
|
20190
20432
|
auth: "admin"
|
|
20191
20433
|
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number() }), array(EventKindDescriptorSchema).readonly()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(EventKindsForDeviceSchema).readonly()), method(object({
|
|
@@ -23514,10 +23756,28 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
23514
23756
|
}), boolean()), method(object({
|
|
23515
23757
|
deviceId: number().int().nonnegative(),
|
|
23516
23758
|
sessionId: string()
|
|
23517
|
-
}), object({
|
|
23518
|
-
|
|
23519
|
-
|
|
23520
|
-
|
|
23759
|
+
}), object({
|
|
23760
|
+
pendingRenegotiation: object({
|
|
23761
|
+
target: WebrtcStreamTargetSchema,
|
|
23762
|
+
epoch: number()
|
|
23763
|
+
}).nullable(),
|
|
23764
|
+
/**
|
|
23765
|
+
* Whether the session still EXISTS.
|
|
23766
|
+
*
|
|
23767
|
+
* A consumer that holds a resource for the life of a session needs to
|
|
23768
|
+
* be able to ask, because a session does not always end the way it
|
|
23769
|
+
* began. Measured on this hub 2026-09-13: an Echo that got stuck never
|
|
23770
|
+
* sent `SessionDisconnected`, so the Alexa exporter's
|
|
23771
|
+
* `releaseEgressTranscode` never ran, and a 2304x1296 HEVC to 720p
|
|
23772
|
+
* H.264 transcode kept running for NOBODY for more than twenty
|
|
23773
|
+
* minutes. The WebRTC session had logged `WebRTC session closed`
|
|
23774
|
+
* minutes earlier — the broker knew; the holder had no way to ask.
|
|
23775
|
+
*
|
|
23776
|
+
* `false` for a session id the provider has never heard of, which is
|
|
23777
|
+
* the same answer as "it ended": either way nothing is holding it up.
|
|
23778
|
+
*/
|
|
23779
|
+
alive: boolean()
|
|
23780
|
+
}));
|
|
23521
23781
|
object({
|
|
23522
23782
|
/** All accessory children of the parent. */
|
|
23523
23783
|
childDeviceIds: array(number()).readonly(),
|
|
@@ -34053,6 +34313,12 @@ Object.freeze({
|
|
|
34053
34313
|
addonId: null,
|
|
34054
34314
|
access: "view"
|
|
34055
34315
|
},
|
|
34316
|
+
"pipelineAnalytics.listRecentSummaries": {
|
|
34317
|
+
capName: "pipeline-analytics",
|
|
34318
|
+
capScope: "device",
|
|
34319
|
+
addonId: null,
|
|
34320
|
+
access: "view"
|
|
34321
|
+
},
|
|
34056
34322
|
"pipelineAnalytics.listRecentTracks": {
|
|
34057
34323
|
capName: "pipeline-analytics",
|
|
34058
34324
|
capScope: "device",
|
|
@@ -36015,6 +36281,12 @@ Object.freeze({
|
|
|
36015
36281
|
addonId: null,
|
|
36016
36282
|
access: "create"
|
|
36017
36283
|
},
|
|
36284
|
+
"streamBroker.reportStreamSignal": {
|
|
36285
|
+
capName: "stream-broker",
|
|
36286
|
+
capScope: "system",
|
|
36287
|
+
addonId: null,
|
|
36288
|
+
access: "create"
|
|
36289
|
+
},
|
|
36018
36290
|
"streamBroker.restartProfile": {
|
|
36019
36291
|
capName: "stream-broker",
|
|
36020
36292
|
capScope: "system",
|
|
@@ -36099,6 +36371,12 @@ Object.freeze({
|
|
|
36099
36371
|
addonId: null,
|
|
36100
36372
|
access: "create"
|
|
36101
36373
|
},
|
|
36374
|
+
"streamSignals.listSignals": {
|
|
36375
|
+
capName: "stream-signals",
|
|
36376
|
+
capScope: "device",
|
|
36377
|
+
addonId: null,
|
|
36378
|
+
access: "view"
|
|
36379
|
+
},
|
|
36102
36380
|
"switch.setState": {
|
|
36103
36381
|
capName: "switch",
|
|
36104
36382
|
capScope: "device",
|
|
@@ -37880,6 +38158,11 @@ Object.freeze({
|
|
|
37880
38158
|
form: "single",
|
|
37881
38159
|
optional: true
|
|
37882
38160
|
}],
|
|
38161
|
+
"pipelineAnalytics.listRecentSummaries": [{
|
|
38162
|
+
name: "deviceIds",
|
|
38163
|
+
form: "array",
|
|
38164
|
+
optional: false
|
|
38165
|
+
}],
|
|
37883
38166
|
"pipelineAnalytics.listRecentTracks": [{
|
|
37884
38167
|
name: "deviceIds",
|
|
37885
38168
|
form: "array",
|
|
@@ -38466,6 +38749,11 @@ Object.freeze({
|
|
|
38466
38749
|
form: "single",
|
|
38467
38750
|
optional: false
|
|
38468
38751
|
}],
|
|
38752
|
+
"streamBroker.reportStreamSignal": [{
|
|
38753
|
+
name: "deviceId",
|
|
38754
|
+
form: "single",
|
|
38755
|
+
optional: false
|
|
38756
|
+
}],
|
|
38469
38757
|
"streamBroker.restartProfile": [{
|
|
38470
38758
|
name: "deviceId",
|
|
38471
38759
|
form: "single",
|
|
@@ -39243,7 +39531,7 @@ var AdminUIAddon = class extends BaseAddon {
|
|
|
39243
39531
|
capability: adminUiCapability,
|
|
39244
39532
|
provider: {
|
|
39245
39533
|
getStaticDir: async () => ({ staticDir: resolveAdminUiDistDir() }),
|
|
39246
|
-
getVersion: async () => ({ version: "1.2.
|
|
39534
|
+
getVersion: async () => ({ version: "1.2.190" })
|
|
39247
39535
|
}
|
|
39248
39536
|
}];
|
|
39249
39537
|
}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{gt as e}from"./player-overlays-CwBSR_gK.js";var t=e(`circle-slash`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`9`,x2:`15`,y1:`15`,y2:`9`,key:`1dfufj`}]]);export{t};
|