@camstack/addon-admin-ui 1.2.694 → 1.2.696
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/CHANGELOG.md +13 -0
- package/dist/assets/{AccessSection-B5UoAhE4.js → AccessSection-DBw9dSVv.js} +1 -1
- package/dist/assets/{Addons-Bdyd-l9I.js → Addons-TvNpLht1.js} +1 -1
- package/dist/assets/{AdminPage-BTx5UFvX.js → AdminPage-D-42p0zJ.js} +1 -1
- package/dist/assets/{AdminSectionedPage-B5cYkdKl.js → AdminSectionedPage-B5GOooM0.js} +1 -1
- package/dist/assets/{AiProfiles-DeBqrnAq.js → AiProfiles-DlKtprai.js} +1 -1
- package/dist/assets/{Archive--63YN71e.js → Archive-BQDpg_08.js} +1 -1
- package/dist/assets/{BootstrapSettingsForm-CSQKDUdv.js → BootstrapSettingsForm-BL0hjm9l.js} +1 -1
- package/dist/assets/{Build-DvKT6bfv.js → Build-Bu4Bxagh.js} +1 -1
- package/dist/assets/{Calendars-DyHABceV.js → Calendars-D3iE7d8_.js} +1 -1
- package/dist/assets/{Cluster-CNVgsj0j.js → Cluster-BhXcShEj.js} +1 -1
- package/dist/assets/{CompositionBlockEditor-D3TA7Eic.js → CompositionBlockEditor-CNkCk9s-.js} +1 -1
- package/dist/assets/{CompositionEditorPage-DPncls0R.js → CompositionEditorPage-C77fa6LE.js} +1 -1
- package/dist/assets/{Data-q7fyQTjl.js → Data-Cfk7yUvg.js} +1 -1
- package/dist/assets/{DeviceDetail-B6MS_kHz.js → DeviceDetail-B6udVrkD.js} +1 -1
- package/dist/assets/{Devices-Uls6OEE3.js → Devices-B0ZxVuMi.js} +1 -1
- package/dist/assets/{EmbedDevicePage-BsnvdZFu.js → EmbedDevicePage-DXWbq6WH.js} +1 -1
- package/dist/assets/{EmbedPlayerPage-B1Yibto8.js → EmbedPlayerPage-VQ9qihSP.js} +1 -1
- package/dist/assets/{History-BVQ2G-66.js → History-DkI0W6BU.js} +1 -1
- package/dist/assets/{Identity-KyxrONuA.js → Identity-CM_CZRA4.js} +1 -1
- package/dist/assets/{InstancesTable-Z5rn7geR.js → InstancesTable-C5jjxivJ.js} +1 -1
- package/dist/assets/{IntegrationDetail-DcqInpkO.js → IntegrationDetail-BgaXmMfk.js} +1 -1
- package/dist/assets/{Integrations-CRmGv2VH.js → Integrations-DPm5yxgr.js} +1 -1
- package/dist/assets/{Integrations-cUjDEttM.js → Integrations-DfrAjyWF.js} +1 -1
- package/dist/assets/{Library-CKZmr3pl.js → Library-DGmJL0N0.js} +1 -1
- package/dist/assets/{Locations-Bbt6QGn5.js → Locations-Dp3wEUYu.js} +1 -1
- package/dist/assets/{Logs-k4WsWjS1.js → Logs-BCnR-SVf.js} +1 -1
- package/dist/assets/{MaskShapeCanvas-Q2_4vKl_.js → MaskShapeCanvas-w3PC4VBb.js} +1 -1
- package/dist/assets/{MotionZonesSettings-BQb8WD47.js → MotionZonesSettings-BBq4hzJx.js} +1 -1
- package/dist/assets/{MyAccess-vawTy_6d.js → MyAccess-D_jQhXKN.js} +1 -1
- package/dist/assets/{Network-Dd-GuASc.js → Network-CKe51Q6z.js} +1 -1
- package/dist/assets/{NewExportModal-CTZRqLlQ.js → NewExportModal-CtdGrB2I.js} +1 -1
- package/dist/assets/{NodeAddonsSettingsPanel-DvzLi-qT.js → NodeAddonsSettingsPanel-C3dJn-fh.js} +1 -1
- package/dist/assets/{Notifications-Cl52thWM.js → Notifications-CqbnHXa5.js} +1 -1
- package/dist/assets/{PanelContent-Dc7WxJqL.js → PanelContent-DxT98JSE.js} +1 -1
- package/dist/assets/{Pipeline-Bbe6LwYG.js → Pipeline-CS1qQfNV.js} +1 -1
- package/dist/assets/{PrivacyMaskSettings-BXSZcwpk.js → PrivacyMaskSettings-BfxUJRP5.js} +1 -1
- package/dist/assets/{SceneMonitorEditor-DmN9wSsq.js → SceneMonitorEditor-BGbRIidY.js} +1 -1
- package/dist/assets/{SessionsList-D8urHlp3.js → SessionsList-xfSyrhfI.js} +1 -1
- package/dist/assets/{Showroom-DCABactS.js → Showroom-BLra3VI2.js} +1 -1
- package/dist/assets/{StorageLocationsTable-MFd1XAg8.js → StorageLocationsTable-Bvnj4vNs.js} +1 -1
- package/dist/assets/{System-DUmTRnUZ.js → System-CoL1HGLA.js} +1 -1
- package/dist/assets/{TemplateEditorDialog-BX1Q9n3t.js → TemplateEditorDialog-DPu33U2o.js} +1 -1
- package/dist/assets/{Terminal-CeHFvlq8.js → Terminal-DQbR0Vke.js} +1 -1
- package/dist/assets/{TrainingProviders-C3pNhhlT.js → TrainingProviders-iVXTSrXv.js} +1 -1
- package/dist/assets/{Viewer-HQt39FdS.js → Viewer-BLyOB1a5.js} +1 -1
- package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-BgqagL1O.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-BLcAA_9W.js} +1 -1
- package/dist/assets/{action-draft-CUjFlTit.js → action-draft-h2jfjoOr.js} +1 -1
- package/dist/assets/{ai-page.helpers-gKXxN3PC.js → ai-page.helpers-BckFcRJ5.js} +1 -1
- package/dist/assets/{assignment-candidates-BmVmpSIC.js → assignment-candidates-jsZ9xPAI.js} +1 -1
- package/dist/assets/{authed-media-DbPoJL9s.js → authed-media-aZe747dF.js} +1 -1
- package/dist/assets/{board-model-DUA0J-vs.js → board-model-BZBm4HOa.js} +1 -1
- package/dist/assets/{camera-block-model-Qnj3EleG.js → camera-block-model-DwaKOD5B.js} +1 -1
- package/dist/assets/client-da_C5OO7.js +1120 -0
- package/dist/assets/{command-vocab-DrwpXoLO.js → command-vocab-Bz3giRzQ.js} +1 -1
- package/dist/assets/{device-detail-1sagYgez.js → device-detail-maRRGKct.js} +1 -1
- package/dist/assets/{device-integration-icon-DQrkNi9d.js → device-integration-icon-CimhOdbQ.js} +1 -1
- package/dist/assets/device-picker-model-DIA15wsm.js +1 -0
- package/dist/assets/{dist-Bq2EkOGx.js → dist-Bd7_9OIo.js} +1 -1
- package/dist/assets/dist-ByKvh0vl.js +1120 -0
- package/dist/assets/{format-Cl6Ml6Sm.js → format-BtpezAH4.js} +1 -1
- package/dist/assets/{hostInit-h-kQEjeE.js → hostInit-B2s6xmn7.js} +1 -1
- package/dist/assets/i18n-CFfN2jss.js +1 -0
- package/dist/assets/{icons-C9Ue2LUK.js → icons-Dt2xZ6Fm.js} +1 -1
- package/dist/assets/index-DctP1W4e.js +6 -0
- package/dist/assets/{linked-devices-model-Czrk-_Ss.js → linked-devices-model-Doz5OOH3.js} +1 -1
- package/dist/assets/{mf-entry-bootstrap-0-28374e63.js → mf-entry-bootstrap-0-3150042d.js} +2 -2
- package/dist/assets/mount-DIA15wsm.js +1 -0
- package/dist/assets/{notification-rule-status-Bw4tDbTn.js → notification-rule-status-Dp2Kfduw.js} +1 -1
- package/dist/assets/{player-overlays-DxDzANvF.js → player-overlays-BbQvhXKQ.js} +1 -1
- package/dist/assets/remoteEntry-B7v5YKWw.js +1 -0
- package/dist/assets/src-lYocp_hv.js +279 -0
- package/dist/assets/{sso-popup-CLBd3FbY.js → sso-popup-CxbOOUhY.js} +1 -1
- package/dist/assets/{step-inspector-model-C-QlJGNk.js → step-inspector-model-6y4qcr-P.js} +1 -1
- package/dist/assets/{use-scenes-feed-DIkJnsiP.js → use-scenes-feed-DcbGpD63.js} +1 -1
- package/dist/assets/{useAdminDeviceRemoval-CvN4r6U1.js → useAdminDeviceRemoval-DdJa-ero.js} +1 -1
- package/dist/assets/useEventInvalidation-DIA15wsm.js +1 -0
- package/dist/assets/{useNodeUrlSelection-Ca58ST0_.js → useNodeUrlSelection-Ct71i8dD.js} +1 -1
- package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-DB9jx5uQ.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-CBjK3ZNJ.js} +2 -2
- package/dist/index.html +8 -8
- package/dist/server/addon.js +158 -45
- package/package.json +2 -2
- package/dist/assets/client-BzuONv5p.js +0 -1120
- package/dist/assets/device-picker-model-CfThao5H.js +0 -1
- package/dist/assets/dist-jtgrcU4L.js +0 -1120
- package/dist/assets/i18n-CdTRDm84.js +0 -1
- package/dist/assets/index-B8hdQASW.js +0 -6
- package/dist/assets/mount-CfThao5H.js +0 -1
- package/dist/assets/remoteEntry-CmGt1K36.js +0 -1
- package/dist/assets/src-7b--1R-c.js +0 -279
- package/dist/assets/useEventInvalidation-CfThao5H.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-CY27-fF0.mjs
|
|
4
4
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
5
5
|
EventCategory["SystemBoot"] = "system.boot";
|
|
6
6
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -500,7 +500,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
500
500
|
*/
|
|
501
501
|
EventCategory["NetworkLinkOnStatusChanged"] = "network-link.onStatusChanged";
|
|
502
502
|
/**
|
|
503
|
-
* Emitted by the battery cap provider WHEN `
|
|
503
|
+
* Emitted by the battery cap provider WHEN `wakeUp` enters the
|
|
504
504
|
* "wake in progress" window — between the Baichuan wake-up issue and
|
|
505
505
|
* the camera's first dialed-back RTP packet. The stream-broker
|
|
506
506
|
* manager subscribes to flip the per-broker placeholder reason to
|
|
@@ -832,7 +832,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
832
832
|
return EventCategory;
|
|
833
833
|
}({});
|
|
834
834
|
//#endregion
|
|
835
|
-
//#region ../types/dist/composed-stable-id-
|
|
835
|
+
//#region ../types/dist/composed-stable-id-BNTaDZEh.mjs
|
|
836
836
|
/**
|
|
837
837
|
import { errMsg } from '@camstack/types'
|
|
838
838
|
* Extract a human-readable message from an unknown error value.
|
|
@@ -971,12 +971,19 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
|
971
971
|
return DeviceType;
|
|
972
972
|
}({});
|
|
973
973
|
var DeviceFeature = /* @__PURE__ */ function(DeviceFeature) {
|
|
974
|
+
/** The device reports a battery reading (the `battery` cap). Says nothing about sleep. */
|
|
974
975
|
DeviceFeature["BatteryOperated"] = "battery-operated";
|
|
976
|
+
/**
|
|
977
|
+
* The device goes into low-power sleep and must be WOKEN before it streams
|
|
978
|
+
* (the `low-power-sleep` cap, `wakeUp`). A battery reading alone is
|
|
979
|
+
* not this: a battery sensor reports charge and never sleeps (#459, Q2).
|
|
980
|
+
*/
|
|
981
|
+
DeviceFeature["Sleeps"] = "sleeps";
|
|
975
982
|
DeviceFeature["Rebootable"] = "rebootable";
|
|
976
983
|
/**
|
|
977
984
|
* Device supports an on-demand re-sync of its derived spec with its
|
|
978
|
-
* upstream source — drives the generic Re-sync button.
|
|
979
|
-
*
|
|
985
|
+
* upstream source — drives the generic Re-sync button. Present when the
|
|
986
|
+
* device has the `resync` cap bound (#459, Q6).
|
|
980
987
|
*/
|
|
981
988
|
DeviceFeature["Resyncable"] = "resyncable";
|
|
982
989
|
DeviceFeature["NativeSnapshot"] = "native-snapshot";
|
|
@@ -1109,15 +1116,9 @@ var DeviceFeature = /* @__PURE__ */ function(DeviceFeature) {
|
|
|
1109
1116
|
/** Automation `trigger` accepts a skipCondition flag — fires the
|
|
1110
1117
|
* automation's actions while bypassing its condition block. */
|
|
1111
1118
|
DeviceFeature["AutomationSkipCondition"] = "automation-skip-condition";
|
|
1112
|
-
/** Robot vacuum exposes a live cleaning map (image child). Gates the
|
|
1113
|
-
* map tile in the vacuum UI. */
|
|
1114
|
-
DeviceFeature["VacuumHasMap"] = "vacuum-has-map";
|
|
1115
1119
|
/** Robot vacuum exposes AI obstacle-detection toggles. Gates the AI
|
|
1116
1120
|
* switches group. */
|
|
1117
1121
|
DeviceFeature["VacuumHasAi"] = "vacuum-has-ai";
|
|
1118
|
-
/** Robot mower exposes a live mowing map (SVG image child). Gates the
|
|
1119
|
-
* mower map tile. */
|
|
1120
|
-
DeviceFeature["MowerHasMap"] = "mower-has-map";
|
|
1121
1122
|
/** Robot mower exposes targeted mowing (all-area / zones / edges /
|
|
1122
1123
|
* spots) — gates the Mow action + map selectors. */
|
|
1123
1124
|
DeviceFeature["MowerHasTargetedMowing"] = "mower-has-targeted-mowing";
|
|
@@ -5972,7 +5973,7 @@ var ZodIssueCode = {
|
|
|
5972
5973
|
var ZodFirstPartyTypeKind;
|
|
5973
5974
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5974
5975
|
//#endregion
|
|
5975
|
-
//#region ../types/dist/sleep-
|
|
5976
|
+
//#region ../types/dist/sleep-BT1bLgPq.mjs
|
|
5976
5977
|
/**
|
|
5977
5978
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5978
5979
|
* window to float samples (D455).
|
|
@@ -16578,6 +16579,14 @@ var CAP_VOCABULARY_BY_NAME = {
|
|
|
16578
16579
|
icon: "refresh-cw"
|
|
16579
16580
|
}]
|
|
16580
16581
|
},
|
|
16582
|
+
"resync": {
|
|
16583
|
+
scope: "device",
|
|
16584
|
+
noun: {
|
|
16585
|
+
en: "Re-sync",
|
|
16586
|
+
it: "Risincronizzazione"
|
|
16587
|
+
},
|
|
16588
|
+
notOperatorFacing: { resync: "device adoption — re-aligning a device with its source is an onboarding step, not an automation action" }
|
|
16589
|
+
},
|
|
16581
16590
|
"recording": {
|
|
16582
16591
|
scope: "device",
|
|
16583
16592
|
noun: {
|
|
@@ -18589,7 +18598,6 @@ var CAP_VOCABULARY_BY_NAME = {
|
|
|
18589
18598
|
en: "Battery",
|
|
18590
18599
|
it: "Batteria"
|
|
18591
18600
|
},
|
|
18592
|
-
notOperatorFacing: { wakeForStream: "a stream consumer wakes a sleeping camera to watch it; an automation that wants footage asks for the footage" },
|
|
18593
18601
|
state: [
|
|
18594
18602
|
{
|
|
18595
18603
|
kind: "numeric",
|
|
@@ -18699,6 +18707,14 @@ var CAP_VOCABULARY_BY_NAME = {
|
|
|
18699
18707
|
icon: "moon"
|
|
18700
18708
|
}]
|
|
18701
18709
|
},
|
|
18710
|
+
"low-power-sleep": {
|
|
18711
|
+
scope: "device",
|
|
18712
|
+
noun: {
|
|
18713
|
+
en: "Low-power sleep",
|
|
18714
|
+
it: "Sospensione a basso consumo"
|
|
18715
|
+
},
|
|
18716
|
+
notOperatorFacing: { wakeUp: "a stream consumer wakes a sleeping camera to watch it; an automation that wants footage asks for the footage" }
|
|
18717
|
+
},
|
|
18702
18718
|
"network-link": {
|
|
18703
18719
|
scope: "device",
|
|
18704
18720
|
noun: {
|
|
@@ -19589,6 +19605,7 @@ var CAP_NAMES = Object.freeze([
|
|
|
19589
19605
|
"log-channels",
|
|
19590
19606
|
"log-destination",
|
|
19591
19607
|
"login-method",
|
|
19608
|
+
"low-power-sleep",
|
|
19592
19609
|
"media-player",
|
|
19593
19610
|
"mesh-network",
|
|
19594
19611
|
"meter",
|
|
@@ -19642,6 +19659,7 @@ var CAP_NAMES = Object.freeze([
|
|
|
19642
19659
|
"records",
|
|
19643
19660
|
"remote",
|
|
19644
19661
|
"remote-layout-components",
|
|
19662
|
+
"resync",
|
|
19645
19663
|
"running-state",
|
|
19646
19664
|
"scene-monitor",
|
|
19647
19665
|
"schedulers",
|
|
@@ -20817,6 +20835,20 @@ Object.freeze({
|
|
|
20817
20835
|
"path": "codeRequired",
|
|
20818
20836
|
"valueType": "boolean"
|
|
20819
20837
|
}],
|
|
20838
|
+
"low-power-sleep": [
|
|
20839
|
+
{
|
|
20840
|
+
"path": "sleeping",
|
|
20841
|
+
"valueType": "boolean"
|
|
20842
|
+
},
|
|
20843
|
+
{
|
|
20844
|
+
"path": "lastContactAt",
|
|
20845
|
+
"valueType": "number"
|
|
20846
|
+
},
|
|
20847
|
+
{
|
|
20848
|
+
"path": "lastUpdated",
|
|
20849
|
+
"valueType": "number"
|
|
20850
|
+
}
|
|
20851
|
+
],
|
|
20820
20852
|
"media-player": [
|
|
20821
20853
|
{
|
|
20822
20854
|
"path": "state",
|
|
@@ -21986,7 +22018,7 @@ Object.freeze({
|
|
|
21986
22018
|
}
|
|
21987
22019
|
});
|
|
21988
22020
|
//#endregion
|
|
21989
|
-
//#region ../types/dist/implemented-methods-
|
|
22021
|
+
//#region ../types/dist/implemented-methods-k3KProJd.mjs
|
|
21990
22022
|
/**
|
|
21991
22023
|
* The ffmpeg build every CamStack node downloads, per platform and arch.
|
|
21992
22024
|
*
|
|
@@ -53065,9 +53097,9 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
|
|
|
53065
53097
|
auth: "admin"
|
|
53066
53098
|
});
|
|
53067
53099
|
/**
|
|
53068
|
-
* Battery status snapshot. Emitted by providers whose device
|
|
53069
|
-
* battery
|
|
53070
|
-
*
|
|
53100
|
+
* Battery status snapshot. Emitted by providers whose device reports a
|
|
53101
|
+
* battery (`DeviceFeature.BatteryOperated`): battery cameras, sensors,
|
|
53102
|
+
* buttons. Whether the device SLEEPS is `low-power-sleep`, not this cap. Consumers build their own "low
|
|
53071
53103
|
* battery" alerting on top — the cap deliberately does NOT enforce a
|
|
53072
53104
|
* threshold.
|
|
53073
53105
|
*/
|
|
@@ -53162,17 +53194,7 @@ var BatteryStatusSchema = object({
|
|
|
53162
53194
|
binary: boolean().optional().meta({ label: "Binary indicator" })
|
|
53163
53195
|
});
|
|
53164
53196
|
DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Climate, DeviceType.EventEmitter;
|
|
53165
|
-
|
|
53166
|
-
deviceId: number$1(),
|
|
53167
|
-
/** Bound on the wait. Sensible range 3000–10000ms. */
|
|
53168
|
-
timeoutMs: number$1().int().min(500).max(3e4).default(8e3)
|
|
53169
|
-
}), object({
|
|
53170
|
-
awoke: boolean(),
|
|
53171
|
-
durationMs: number$1()
|
|
53172
|
-
}), {
|
|
53173
|
-
kind: "mutation",
|
|
53174
|
-
notOperatorFacing: "a stream consumer wakes a sleeping camera to watch it; an automation that wants footage asks for the footage"
|
|
53175
|
-
}), object({
|
|
53197
|
+
object({
|
|
53176
53198
|
deviceId: number$1(),
|
|
53177
53199
|
status: BatteryStatusSchema
|
|
53178
53200
|
}), EventCategory.DeviceAwake, EventCategory.DeviceSleeping;
|
|
@@ -66978,6 +67000,33 @@ var LoginMethodContributionSchema = discriminatedUnion("kind", [
|
|
|
66978
67000
|
})
|
|
66979
67001
|
]);
|
|
66980
67002
|
method(_void(), array(LoginMethodContributionSchema).readonly()), NOT_A_DEVICE.IDENTITY;
|
|
67003
|
+
object({
|
|
67004
|
+
/**
|
|
67005
|
+
* True while the firmware is in low-power mode. A provider MUST avoid polling
|
|
67006
|
+
* during sleep — a read wakes the device and drains charge.
|
|
67007
|
+
*/
|
|
67008
|
+
sleeping: boolean().meta({ label: "Sleeping" }),
|
|
67009
|
+
/**
|
|
67010
|
+
* Ms epoch of the last time the device proved it was reachable, from
|
|
67011
|
+
* PASSIVE signals only (a completed round-trip, an observed wake, a push).
|
|
67012
|
+
* Absent = never since this slice was born. The only input that separates
|
|
67013
|
+
* "asleep" from "gone".
|
|
67014
|
+
*/
|
|
67015
|
+
lastContactAt: number$1().optional(),
|
|
67016
|
+
/** Ms epoch of the last observation. */
|
|
67017
|
+
lastUpdated: number$1().meta(readingMeta("none"))
|
|
67018
|
+
});
|
|
67019
|
+
DeviceType.Camera, method(object({
|
|
67020
|
+
deviceId: number$1(),
|
|
67021
|
+
/** Bound on the wait. Sensible range 3000–10000ms. */
|
|
67022
|
+
timeoutMs: number$1().int().min(500).max(3e4).default(8e3)
|
|
67023
|
+
}), object({
|
|
67024
|
+
awoke: boolean(),
|
|
67025
|
+
durationMs: number$1()
|
|
67026
|
+
}), {
|
|
67027
|
+
kind: "mutation",
|
|
67028
|
+
notOperatorFacing: "a stream consumer wakes a sleeping camera to watch it; an automation that wants footage asks for the footage"
|
|
67029
|
+
});
|
|
66981
67030
|
/**
|
|
66982
67031
|
* mesh-network — collection cap for mesh-VPN providers.
|
|
66983
67032
|
*
|
|
@@ -70881,6 +70930,16 @@ DeviceType.Camera, method(object({ deviceId: number$1() }), array(TrackSchema).r
|
|
|
70881
70930
|
timestamp: number$1()
|
|
70882
70931
|
}), EventCategory.PipelineAnalyticsDetectionEvent, EventCategory.PipelineAnalyticsPackageDelivered, EventCategory.PipelineAnalyticsPackagePickedUp;
|
|
70883
70932
|
/**
|
|
70933
|
+
* A rectangle as a fraction of a frame, `[0, 1]` on both axes — the wire shape
|
|
70934
|
+
* of `NormalizedRect` (which is derived from it).
|
|
70935
|
+
*/
|
|
70936
|
+
var NormalizedRectSchema = object({
|
|
70937
|
+
x: number$1(),
|
|
70938
|
+
y: number$1(),
|
|
70939
|
+
w: number$1(),
|
|
70940
|
+
h: number$1()
|
|
70941
|
+
});
|
|
70942
|
+
/**
|
|
70884
70943
|
* A root model's boxes standing in for one crop-kind step's own inference
|
|
70885
70944
|
* (D730) — see `runPipeline.suppliedRoot`.
|
|
70886
70945
|
*/
|
|
@@ -71273,7 +71332,16 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
71273
71332
|
* reader) run on them through their own crop policy. Boxes are in the
|
|
71274
71333
|
* PIXELS of the image this call carries. Absent ⇒ the root step runs.
|
|
71275
71334
|
*/
|
|
71276
|
-
suppliedRoot: SuppliedRootOutputSchema.optional()
|
|
71335
|
+
suppliedRoot: SuppliedRootOutputSchema.optional(),
|
|
71336
|
+
/**
|
|
71337
|
+
* The motion analyzer's merged subjects (D394) for this camera, fresh,
|
|
71338
|
+
* normalised to the frame (0..1). Feeds the motion-guided root crop
|
|
71339
|
+
* (D1060): the executor picks per frame whether the object-detection
|
|
71340
|
+
* root runs on the full frame or on a crop around them. Honoured only
|
|
71341
|
+
* on the live `frame` plane with a `frameRef`. Absent or empty ⇒ no
|
|
71342
|
+
* motion known ⇒ full frame.
|
|
71343
|
+
*/
|
|
71344
|
+
motionRegions: array(NormalizedRectSchema).optional()
|
|
71277
71345
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
71278
71346
|
steps: array(PipelineStepInputSchema).min(1),
|
|
71279
71347
|
frames: array(FrameInputSchema).min(1).max(255),
|
|
@@ -82689,6 +82757,27 @@ var RemoteLayoutComponentSchema = object({
|
|
|
82689
82757
|
});
|
|
82690
82758
|
});
|
|
82691
82759
|
method(object({}), array(RemoteLayoutComponentSchema), { auth: "protected" });
|
|
82760
|
+
/**
|
|
82761
|
+
* resync — a device whose derived spec can be re-aligned on demand with its
|
|
82762
|
+
* upstream source (#459, Q6). Registered by the containers an integration
|
|
82763
|
+
* adopted; `DeviceFeature.Resyncable` (the generic Re-sync button) is derived
|
|
82764
|
+
* from it being bound with `resync` implemented.
|
|
82765
|
+
*
|
|
82766
|
+
* The work itself stays where it is: the owning addon's `device-adoption`
|
|
82767
|
+
* provider, reached through `deviceManager.adoptionResync` (which also owns
|
|
82768
|
+
* the "resync from zero" child purge). A provider answers this method by
|
|
82769
|
+
* asking for exactly that — see `resyncThroughAdoption`.
|
|
82770
|
+
*/
|
|
82771
|
+
var ResyncDeviceInputSchema = object({
|
|
82772
|
+
deviceId: number$1().int().nonnegative(),
|
|
82773
|
+
/** "Resync from zero": purge the accessory children before re-deriving. */
|
|
82774
|
+
resetToSource: boolean().optional()
|
|
82775
|
+
});
|
|
82776
|
+
DeviceType.Container, DeviceType.Workload, DeviceType.WeatherStation, method(ResyncDeviceInputSchema, ResyncResultSchema, {
|
|
82777
|
+
kind: "mutation",
|
|
82778
|
+
auth: "admin",
|
|
82779
|
+
notOperatorFacing: "device adoption — re-aligning a device with its source is an onboarding step, not an automation action"
|
|
82780
|
+
});
|
|
82692
82781
|
DeviceType.MediaPlayer;
|
|
82693
82782
|
var RunningStateSourceSchema = _enum(["native", "assigned"]);
|
|
82694
82783
|
object({
|
|
@@ -92299,13 +92388,6 @@ Object.freeze({
|
|
|
92299
92388
|
access: "view",
|
|
92300
92389
|
role: "viewer"
|
|
92301
92390
|
},
|
|
92302
|
-
"battery.wakeForStream": {
|
|
92303
|
-
capName: "battery",
|
|
92304
|
-
capScope: "device",
|
|
92305
|
-
addonId: null,
|
|
92306
|
-
access: "create",
|
|
92307
|
-
role: "viewer"
|
|
92308
|
-
},
|
|
92309
92391
|
"binary.getStatus": {
|
|
92310
92392
|
capName: "binary",
|
|
92311
92393
|
capScope: "device",
|
|
@@ -95960,6 +96042,20 @@ Object.freeze({
|
|
|
95960
96042
|
access: "view",
|
|
95961
96043
|
role: "admin"
|
|
95962
96044
|
},
|
|
96045
|
+
"lowPowerSleep.getStatus": {
|
|
96046
|
+
capName: "low-power-sleep",
|
|
96047
|
+
capScope: "device",
|
|
96048
|
+
addonId: null,
|
|
96049
|
+
access: "view",
|
|
96050
|
+
role: "viewer"
|
|
96051
|
+
},
|
|
96052
|
+
"lowPowerSleep.wakeUp": {
|
|
96053
|
+
capName: "low-power-sleep",
|
|
96054
|
+
capScope: "device",
|
|
96055
|
+
addonId: null,
|
|
96056
|
+
access: "create",
|
|
96057
|
+
role: "viewer"
|
|
96058
|
+
},
|
|
95963
96059
|
"mediaPlayer.channelDown": {
|
|
95964
96060
|
capName: "media-player",
|
|
95965
96061
|
capScope: "device",
|
|
@@ -99635,6 +99731,13 @@ Object.freeze({
|
|
|
99635
99731
|
access: "view",
|
|
99636
99732
|
role: "admin"
|
|
99637
99733
|
},
|
|
99734
|
+
"resync.resync": {
|
|
99735
|
+
capName: "resync",
|
|
99736
|
+
capScope: "device",
|
|
99737
|
+
addonId: null,
|
|
99738
|
+
access: "create",
|
|
99739
|
+
role: "admin"
|
|
99740
|
+
},
|
|
99638
99741
|
"runningState.getStatus": {
|
|
99639
99742
|
capName: "running-state",
|
|
99640
99743
|
capScope: "device",
|
|
@@ -102030,7 +102133,7 @@ Object.freeze({
|
|
|
102030
102133
|
role: "admin"
|
|
102031
102134
|
}
|
|
102032
102135
|
});
|
|
102033
|
-
DeviceFeature.
|
|
102136
|
+
DeviceFeature.Sleeps;
|
|
102034
102137
|
function bound(cap, methods = [], authority = "reported") {
|
|
102035
102138
|
return {
|
|
102036
102139
|
kind: "cap",
|
|
@@ -102042,11 +102145,11 @@ function bound(cap, methods = [], authority = "reported") {
|
|
|
102042
102145
|
function derived(cap, methods = []) {
|
|
102043
102146
|
return bound(cap, methods, "derived");
|
|
102044
102147
|
}
|
|
102045
|
-
DeviceFeature.BatteryOperated, DeviceFeature.Rebootable, derived("reboot", ["reboot"]), DeviceFeature.Resyncable, DeviceFeature.NativeSnapshot, DeviceFeature.DoorbellButton, derived("doorbell"), DeviceFeature.TwoWayAudio, derived("intercom", [
|
|
102148
|
+
DeviceFeature.BatteryOperated, DeviceFeature.Sleeps, derived("low-power-sleep", ["wakeUp"]), DeviceFeature.Rebootable, derived("reboot", ["reboot"]), DeviceFeature.Resyncable, derived("resync", ["resync"]), DeviceFeature.NativeSnapshot, DeviceFeature.DoorbellButton, derived("doorbell"), DeviceFeature.TwoWayAudio, derived("intercom", [
|
|
102046
102149
|
"startTalkSession",
|
|
102047
102150
|
"pushTalkAudio",
|
|
102048
102151
|
"endTalkSession"
|
|
102049
|
-
]), DeviceFeature.PanTiltZoom, derived("ptz"), DeviceFeature.PtzAutotrack, derived("ptz-autotrack"), DeviceFeature.MotionTrigger, derived("motion-trigger", ["setMotionTrigger"]), DeviceFeature.TimedRun, derived("timed-run", ["runFor"]), DeviceFeature.Switch, DeviceFeature.LightColorRgb, DeviceFeature.LightColorHsv, DeviceFeature.LightColorMired, DeviceFeature.ClimateDualSetpoint, DeviceFeature.ClimateHumidity, DeviceFeature.ClimateFanMode, DeviceFeature.ClimatePreset, DeviceFeature.ClimateSwingVertical, DeviceFeature.ClimateSwingHorizontal, DeviceFeature.CoverPositionable, DeviceFeature.CoverTilt, DeviceFeature.CoverStoppable, DeviceFeature.ValvePositionable, DeviceFeature.FanSpeed, DeviceFeature.FanPreset, DeviceFeature.FanDirection, DeviceFeature.FanOscillating, DeviceFeature.LockOpen, DeviceFeature.MediaPlayerSeek, DeviceFeature.MediaPlayerVolume, DeviceFeature.MediaPlayerMute, DeviceFeature.MediaPlayerShuffle, DeviceFeature.MediaPlayerRepeat, DeviceFeature.MediaPlayerSelectSource, DeviceFeature.MediaPlayerPlayMedia, DeviceFeature.MediaPlayerNext, DeviceFeature.MediaPlayerPrevious, DeviceFeature.MediaPlayerStop, DeviceFeature.MediaPlayerVolumeStep, DeviceFeature.MediaPlayerChannelStep, DeviceFeature.MediaPlayerPower, DeviceFeature.PresenceGps, DeviceFeature.NotifierImage, DeviceFeature.NotifierPriority, DeviceFeature.NotifierData, DeviceFeature.NotifierActions, DeviceFeature.NotifierRecipients, DeviceFeature.ScriptVariables, DeviceFeature.AutomationSkipCondition, DeviceFeature.
|
|
102152
|
+
]), DeviceFeature.PanTiltZoom, derived("ptz"), DeviceFeature.PtzAutotrack, derived("ptz-autotrack"), DeviceFeature.MotionTrigger, derived("motion-trigger", ["setMotionTrigger"]), DeviceFeature.TimedRun, derived("timed-run", ["runFor"]), DeviceFeature.Switch, DeviceFeature.LightColorRgb, DeviceFeature.LightColorHsv, DeviceFeature.LightColorMired, DeviceFeature.ClimateDualSetpoint, DeviceFeature.ClimateHumidity, DeviceFeature.ClimateFanMode, DeviceFeature.ClimatePreset, DeviceFeature.ClimateSwingVertical, DeviceFeature.ClimateSwingHorizontal, DeviceFeature.CoverPositionable, DeviceFeature.CoverTilt, DeviceFeature.CoverStoppable, DeviceFeature.ValvePositionable, DeviceFeature.FanSpeed, DeviceFeature.FanPreset, DeviceFeature.FanDirection, DeviceFeature.FanOscillating, DeviceFeature.LockOpen, DeviceFeature.MediaPlayerSeek, DeviceFeature.MediaPlayerVolume, DeviceFeature.MediaPlayerMute, DeviceFeature.MediaPlayerShuffle, DeviceFeature.MediaPlayerRepeat, DeviceFeature.MediaPlayerSelectSource, DeviceFeature.MediaPlayerPlayMedia, DeviceFeature.MediaPlayerNext, DeviceFeature.MediaPlayerPrevious, DeviceFeature.MediaPlayerStop, DeviceFeature.MediaPlayerVolumeStep, DeviceFeature.MediaPlayerChannelStep, DeviceFeature.MediaPlayerPower, DeviceFeature.PresenceGps, DeviceFeature.NotifierImage, DeviceFeature.NotifierPriority, DeviceFeature.NotifierData, DeviceFeature.NotifierActions, DeviceFeature.NotifierRecipients, DeviceFeature.ScriptVariables, DeviceFeature.AutomationSkipCondition, DeviceFeature.VacuumHasAi, DeviceFeature.MowerHasTargetedMowing, DeviceFeature.Navigation, derived("navigation"), DeviceFeature.NetworkLink, derived("network-link");
|
|
102050
102153
|
var ALL_FEATURES = Object.values(DeviceFeature);
|
|
102051
102154
|
new Set(ALL_FEATURES);
|
|
102052
102155
|
DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher;
|
|
@@ -102242,11 +102345,6 @@ Object.freeze({
|
|
|
102242
102345
|
form: "single",
|
|
102243
102346
|
optional: false
|
|
102244
102347
|
}],
|
|
102245
|
-
"battery.wakeForStream": [{
|
|
102246
|
-
name: "deviceId",
|
|
102247
|
-
form: "single",
|
|
102248
|
-
optional: false
|
|
102249
|
-
}],
|
|
102250
102348
|
"binary.getStatus": [{
|
|
102251
102349
|
name: "deviceId",
|
|
102252
102350
|
form: "single",
|
|
@@ -103430,6 +103528,16 @@ Object.freeze({
|
|
|
103430
103528
|
form: "single",
|
|
103431
103529
|
optional: true
|
|
103432
103530
|
}],
|
|
103531
|
+
"lowPowerSleep.getStatus": [{
|
|
103532
|
+
name: "deviceId",
|
|
103533
|
+
form: "single",
|
|
103534
|
+
optional: false
|
|
103535
|
+
}],
|
|
103536
|
+
"lowPowerSleep.wakeUp": [{
|
|
103537
|
+
name: "deviceId",
|
|
103538
|
+
form: "single",
|
|
103539
|
+
optional: false
|
|
103540
|
+
}],
|
|
103433
103541
|
"mediaPlayer.channelDown": [{
|
|
103434
103542
|
name: "deviceId",
|
|
103435
103543
|
form: "single",
|
|
@@ -104715,6 +104823,11 @@ Object.freeze({
|
|
|
104715
104823
|
form: "single",
|
|
104716
104824
|
optional: false
|
|
104717
104825
|
}],
|
|
104826
|
+
"resync.resync": [{
|
|
104827
|
+
name: "deviceId",
|
|
104828
|
+
form: "single",
|
|
104829
|
+
optional: false
|
|
104830
|
+
}],
|
|
104718
104831
|
"runningState.getStatus": [{
|
|
104719
104832
|
name: "deviceId",
|
|
104720
104833
|
form: "single",
|
|
@@ -106763,7 +106876,7 @@ var AdminUIAddon = class extends BaseAddon {
|
|
|
106763
106876
|
capability: adminUiCapability,
|
|
106764
106877
|
provider: {
|
|
106765
106878
|
getStaticDir: async () => ({ staticDir: resolveAdminUiDistDir() }),
|
|
106766
|
-
getVersion: async () => ({ version: "1.2.
|
|
106879
|
+
getVersion: async () => ({ version: "1.2.696" })
|
|
106767
106880
|
}
|
|
106768
106881
|
}];
|
|
106769
106882
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-admin-ui",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.696",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Admin UI — Vite frontend build and server-side addon",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
}
|
|
51
51
|
],
|
|
52
52
|
"requires": {
|
|
53
|
-
"server": ">=1.2.
|
|
53
|
+
"server": ">=1.2.897"
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|