@camstack/server 1.2.894 → 1.2.895
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 +6 -0
- package/dist/api/trpc/generated-cap-mounts.js +3 -1
- package/dist/api/trpc/generated-cap-routers.js +1528 -1499
- package/package.json +27 -17
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
- package/system/dist/builtins/alerts/alerts.addon.js +1 -1
- package/system/dist/builtins/alerts/alerts.addon.mjs +1 -1
- package/system/dist/builtins/autotrack/index.js +1 -1
- package/system/dist/builtins/autotrack/index.mjs +1 -1
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +2 -2
- package/system/dist/builtins/calendars/calendars.addon.js +1 -1
- package/system/dist/builtins/calendars/calendars.addon.mjs +1 -1
- package/system/dist/builtins/camera-grid/index.js +1 -1
- package/system/dist/builtins/camera-grid/index.mjs +1 -1
- package/system/dist/builtins/composer/composer.addon.js +5 -5
- package/system/dist/builtins/composer/composer.addon.mjs +5 -5
- package/system/dist/builtins/composer/graft-host.d.ts +1 -1
- package/system/dist/builtins/console-logging/index.js +1 -1
- package/system/dist/builtins/console-logging/index.mjs +1 -1
- package/system/dist/builtins/core-blocks/core-blocks.addon.js +3 -3
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +3 -3
- package/system/dist/builtins/device-history/device-history.addon.js +2 -2
- package/system/dist/builtins/device-history/device-history.addon.mjs +2 -2
- package/system/dist/builtins/device-manager/device-manager.addon.js +2 -2
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +2 -2
- package/system/dist/builtins/hub-forwarder/index.js +1 -1
- package/system/dist/builtins/hub-forwarder/index.mjs +1 -1
- package/system/dist/builtins/keychain/index.js +4 -4
- package/system/dist/builtins/keychain/index.mjs +4 -4
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
- package/system/dist/builtins/local-auth/local-auth.addon.js +2 -2
- package/system/dist/builtins/local-auth/local-auth.addon.mjs +2 -2
- package/system/dist/builtins/local-network/local-network.addon.js +3 -3
- package/system/dist/builtins/local-network/local-network.addon.mjs +3 -3
- package/system/dist/builtins/loki-logging/index.js +1 -1
- package/system/dist/builtins/loki-logging/index.mjs +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
- package/system/dist/builtins/platform-probe/index.js +1 -1
- package/system/dist/builtins/platform-probe/index.mjs +1 -1
- package/system/dist/builtins/record-entries/index.js +1 -1
- package/system/dist/builtins/record-entries/index.mjs +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/snapshot/index.js +14 -12
- package/system/dist/builtins/snapshot/index.mjs +14 -12
- package/system/dist/builtins/snapshot/snapshot.addon.d.ts +6 -4
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/index.js +1 -1
- package/system/dist/builtins/sqlite-storage/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +3 -3
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +3 -3
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/system-config/system-config.addon.js +3 -3
- package/system/dist/builtins/system-config/system-config.addon.mjs +284 -284
- package/system/dist/builtins/winston-logging/index.js +1 -1
- package/system/dist/builtins/winston-logging/index.mjs +1 -1
- package/system/dist/{capture-engine-DhqkkOfH.js → capture-engine-BgIjQWh6.js} +1 -1
- package/system/dist/{capture-engine-6UsbHfRF.mjs → capture-engine-DPn6JaPc.mjs} +1 -1
- package/system/dist/{composition-sources-DmDAqBqM.mjs → composition-sources-B0rdPm85.mjs} +1 -1
- package/system/dist/{composition-sources-AbyhP_uF.js → composition-sources-Bec_hQMM.js} +1 -1
- package/system/dist/{constants-CLyC9O9i.js → constants-CsYMak6g.js} +1 -1
- package/system/dist/{constants-DMeh8SL7.mjs → constants-DsQsO8PD.mjs} +1 -1
- package/system/dist/{device-ca-C4odTE-a.js → device-ca-BeK8EI_7.js} +1 -1
- package/system/dist/{device-ca-BJ714blt.mjs → device-ca-BuDqRFZd.mjs} +1 -1
- package/system/dist/{dist-BDciHA-9.js → dist-CHC8tlB1.js} +253 -88
- package/system/dist/{dist-DLp5CYDy.mjs → dist-DiknL6UU.mjs} +236 -77
- package/system/dist/file-host-worker.js +1 -1
- package/system/dist/file-host-worker.mjs +1 -1
- package/system/dist/{hub-identity-BLkehzWw.js → hub-identity-BM26oLpK.js} +1 -1
- package/system/dist/{hub-identity-C6c6E6Xn.mjs → hub-identity-Dt-mbtkY.mjs} +1 -1
- package/system/dist/{hub-mdns-ciao-ByOblmkT.js → hub-mdns-ciao-BDgSHCPM.js} +2 -2
- package/system/dist/{hub-mdns-ciao-oQtUklUf.mjs → hub-mdns-ciao-CHq7b1FX.mjs} +2 -2
- package/system/dist/index.js +8 -8
- package/system/dist/index.mjs +8 -8
- package/system/dist/kernel/status-overlay.d.ts +1 -1
- package/system/dist/{legacy-integration-rows-door-D_FBo1b1.mjs → legacy-integration-rows-door-1WauJNCy.mjs} +1 -1
- package/system/dist/{legacy-integration-rows-door-CVwsY9u6.js → legacy-integration-rows-door-BYJa0xPI.js} +1 -1
- package/system/dist/{rename-composition-block-CnA_Dslb.mjs → rename-composition-block-BOoAElGp.mjs} +1 -1
- package/system/dist/{rename-composition-block-_LotNQv9.js → rename-composition-block-fMaUic9d.js} +1 -1
- package/system/dist/{restore-archive-CXPBPM61.js → restore-archive-CeZV08vh.js} +1 -1
- package/system/dist/{restore-archive-WMuoi9Ve.mjs → restore-archive-DZDV10KN.mjs} +82 -82
- package/system/dist/{wal-maintenance-COXWd5qA.mjs → wal-maintenance-CekT_qH6.mjs} +0 -0
- package/system/dist/{wal-maintenance-h2cm6gDJ.js → wal-maintenance-CmCCUKZO.js} +0 -0
- package/system/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import "node:crypto";
|
|
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";
|
|
@@ -1297,7 +1298,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
1297
1298
|
*/
|
|
1298
1299
|
var COMPOSED_DEVICE_STABLE_ID_PREFIX = "composed-";
|
|
1299
1300
|
//#endregion
|
|
1300
|
-
//#region ../types/dist/sleep-
|
|
1301
|
+
//#region ../types/dist/sleep-BT1bLgPq.mjs
|
|
1301
1302
|
/**
|
|
1302
1303
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
1303
1304
|
* window to float samples (D455).
|
|
@@ -13487,6 +13488,14 @@ var CAP_VOCABULARY_BY_NAME = {
|
|
|
13487
13488
|
icon: "refresh-cw"
|
|
13488
13489
|
}]
|
|
13489
13490
|
},
|
|
13491
|
+
"resync": {
|
|
13492
|
+
scope: "device",
|
|
13493
|
+
noun: {
|
|
13494
|
+
en: "Re-sync",
|
|
13495
|
+
it: "Risincronizzazione"
|
|
13496
|
+
},
|
|
13497
|
+
notOperatorFacing: { resync: "device adoption — re-aligning a device with its source is an onboarding step, not an automation action" }
|
|
13498
|
+
},
|
|
13490
13499
|
"recording": {
|
|
13491
13500
|
scope: "device",
|
|
13492
13501
|
noun: {
|
|
@@ -15498,7 +15507,6 @@ var CAP_VOCABULARY_BY_NAME = {
|
|
|
15498
15507
|
en: "Battery",
|
|
15499
15508
|
it: "Batteria"
|
|
15500
15509
|
},
|
|
15501
|
-
notOperatorFacing: { wakeForStream: "a stream consumer wakes a sleeping camera to watch it; an automation that wants footage asks for the footage" },
|
|
15502
15510
|
state: [
|
|
15503
15511
|
{
|
|
15504
15512
|
kind: "numeric",
|
|
@@ -15608,6 +15616,14 @@ var CAP_VOCABULARY_BY_NAME = {
|
|
|
15608
15616
|
icon: "moon"
|
|
15609
15617
|
}]
|
|
15610
15618
|
},
|
|
15619
|
+
"low-power-sleep": {
|
|
15620
|
+
scope: "device",
|
|
15621
|
+
noun: {
|
|
15622
|
+
en: "Low-power sleep",
|
|
15623
|
+
it: "Sospensione a basso consumo"
|
|
15624
|
+
},
|
|
15625
|
+
notOperatorFacing: { wakeUp: "a stream consumer wakes a sleeping camera to watch it; an automation that wants footage asks for the footage" }
|
|
15626
|
+
},
|
|
15611
15627
|
"network-link": {
|
|
15612
15628
|
scope: "device",
|
|
15613
15629
|
noun: {
|
|
@@ -16823,6 +16839,7 @@ var CAP_NAMES = Object.freeze([
|
|
|
16823
16839
|
"log-channels",
|
|
16824
16840
|
"log-destination",
|
|
16825
16841
|
"login-method",
|
|
16842
|
+
"low-power-sleep",
|
|
16826
16843
|
"media-player",
|
|
16827
16844
|
"mesh-network",
|
|
16828
16845
|
"meter",
|
|
@@ -16876,6 +16893,7 @@ var CAP_NAMES = Object.freeze([
|
|
|
16876
16893
|
"records",
|
|
16877
16894
|
"remote",
|
|
16878
16895
|
"remote-layout-components",
|
|
16896
|
+
"resync",
|
|
16879
16897
|
"running-state",
|
|
16880
16898
|
"scene-monitor",
|
|
16881
16899
|
"schedulers",
|
|
@@ -18051,6 +18069,20 @@ Object.freeze({
|
|
|
18051
18069
|
"path": "codeRequired",
|
|
18052
18070
|
"valueType": "boolean"
|
|
18053
18071
|
}],
|
|
18072
|
+
"low-power-sleep": [
|
|
18073
|
+
{
|
|
18074
|
+
"path": "sleeping",
|
|
18075
|
+
"valueType": "boolean"
|
|
18076
|
+
},
|
|
18077
|
+
{
|
|
18078
|
+
"path": "lastContactAt",
|
|
18079
|
+
"valueType": "number"
|
|
18080
|
+
},
|
|
18081
|
+
{
|
|
18082
|
+
"path": "lastUpdated",
|
|
18083
|
+
"valueType": "number"
|
|
18084
|
+
}
|
|
18085
|
+
],
|
|
18054
18086
|
"media-player": [
|
|
18055
18087
|
{
|
|
18056
18088
|
"path": "state",
|
|
@@ -19359,7 +19391,7 @@ function sleep(ms) {
|
|
|
19359
19391
|
return new Promise((resolve) => setTimeout(resolve, Math.max(0, ms)));
|
|
19360
19392
|
}
|
|
19361
19393
|
//#endregion
|
|
19362
|
-
//#region ../types/dist/implemented-methods-
|
|
19394
|
+
//#region ../types/dist/implemented-methods-k3KProJd.mjs
|
|
19363
19395
|
var AUDIO_ENCODER_BY_CODEC = {
|
|
19364
19396
|
opus: "libopus",
|
|
19365
19397
|
aac: "aac",
|
|
@@ -58562,9 +58594,9 @@ var backupCapability = {
|
|
|
58562
58594
|
vocabulary: { notOperatorFacing: "system backups — run and restored from the Backups page" }
|
|
58563
58595
|
};
|
|
58564
58596
|
/**
|
|
58565
|
-
* Battery status snapshot. Emitted by providers whose device
|
|
58566
|
-
* battery
|
|
58567
|
-
*
|
|
58597
|
+
* Battery status snapshot. Emitted by providers whose device reports a
|
|
58598
|
+
* battery (`DeviceFeature.BatteryOperated`): battery cameras, sensors,
|
|
58599
|
+
* buttons. Whether the device SLEEPS is `low-power-sleep`, not this cap. Consumers build their own "low
|
|
58568
58600
|
* battery" alerting on top — the cap deliberately does NOT enforce a
|
|
58569
58601
|
* threshold.
|
|
58570
58602
|
*/
|
|
@@ -58721,47 +58753,12 @@ var batteryCapability = {
|
|
|
58721
58753
|
deviceNative: true,
|
|
58722
58754
|
mode: "singleton",
|
|
58723
58755
|
deviceTypes: BATTERY_DEVICE_TYPES,
|
|
58724
|
-
methods: {
|
|
58725
|
-
/**
|
|
58726
|
-
* Explicitly wake the camera from low-power sleep ahead of a
|
|
58727
|
-
* streaming session start. Consumers that initiate a stream
|
|
58728
|
-
* against a sleeping battery cam (HomeKit Secure Video, Alexa
|
|
58729
|
-
* RTCSession, snapshot wrappers) call this with a short timeout
|
|
58730
|
-
* before establishing the media pipeline — the broker's own
|
|
58731
|
-
* passive wake-on-dial works but adds 5–7 seconds to first-frame,
|
|
58732
|
-
* during which the consumer renders a black screen. Pre-waking
|
|
58733
|
-
* compresses that gap.
|
|
58734
|
-
*
|
|
58735
|
-
* Returns `awoke: true` when the firmware acknowledged the wake
|
|
58736
|
-
* before `timeoutMs`. Returns `awoke: false` when it timed out OR
|
|
58737
|
-
* the cap surface is unavailable (no Baichuan / firmware
|
|
58738
|
-
* channel); the caller should still attempt the stream — the
|
|
58739
|
-
* passive broker wake remains as fallback.
|
|
58740
|
-
*/
|
|
58741
|
-
wakeForStream: method(z.object({
|
|
58742
|
-
deviceId: z.number(),
|
|
58743
|
-
/** Bound on the wait. Sensible range 3000–10000ms. */
|
|
58744
|
-
timeoutMs: z.number().int().min(500).max(3e4).default(8e3)
|
|
58745
|
-
}), z.object({
|
|
58746
|
-
awoke: z.boolean(),
|
|
58747
|
-
durationMs: z.number()
|
|
58748
|
-
}), {
|
|
58749
|
-
kind: "mutation",
|
|
58750
|
-
notOperatorFacing: "a stream consumer wakes a sleeping camera to watch it; an automation that wants footage asks for the footage"
|
|
58751
|
-
}) },
|
|
58752
58756
|
/**
|
|
58753
|
-
*
|
|
58754
|
-
*
|
|
58755
|
-
*
|
|
58756
|
-
* … the cap surface is unavailable." (D663).
|
|
58757
|
+
* No methods: waking a sleeping camera is `low-power-sleep.wakeUp`
|
|
58758
|
+
* (#459, Q2). A battery reading says nothing about sleep — a battery sensor
|
|
58759
|
+
* reports charge and never needs waking.
|
|
58757
58760
|
*/
|
|
58758
|
-
|
|
58759
|
-
kind: "answer",
|
|
58760
|
-
value: {
|
|
58761
|
-
awoke: false,
|
|
58762
|
-
durationMs: 0
|
|
58763
|
-
}
|
|
58764
|
-
} },
|
|
58761
|
+
methods: {},
|
|
58765
58762
|
events: {
|
|
58766
58763
|
/**
|
|
58767
58764
|
* Emitted whenever the cached status changes (firmware push OR
|
|
@@ -66488,7 +66485,7 @@ function groupTemplate(id) {
|
|
|
66488
66485
|
}
|
|
66489
66486
|
/**
|
|
66490
66487
|
* Cap history catalog, projected from every `*.cap.ts` `history` block.
|
|
66491
|
-
* 47 caps with series (130 series),
|
|
66488
|
+
* 47 caps with series (130 series), 40 caps answered `'none'`.
|
|
66492
66489
|
* Field keys are `runtimeState` paths (`a.b` into fixed objects only).
|
|
66493
66490
|
*/
|
|
66494
66491
|
var HISTORY_CATALOG = {
|
|
@@ -84033,6 +84030,90 @@ var loginMethodCapability = {
|
|
|
84033
84030
|
vocabulary: { notOperatorFacing: NOT_A_DEVICE.IDENTITY }
|
|
84034
84031
|
};
|
|
84035
84032
|
/**
|
|
84033
|
+
* low-power-sleep — a device that goes into low-power sleep and must be WOKEN
|
|
84034
|
+
* before it streams (#459, Q2). A battery camera (Reolink Argus, a robot's
|
|
84035
|
+
* on-board camera) is one; a battery SENSOR is not: it reports charge on the
|
|
84036
|
+
* `battery` cap and never sleeps. The two meanings used to share
|
|
84037
|
+
* `DeviceFeature.BatteryOperated`; this cap is the one that answers "sleeps",
|
|
84038
|
+
* and `DeviceFeature.Sleeps` is derived from it being bound with
|
|
84039
|
+
* `wakeUp` implemented.
|
|
84040
|
+
*
|
|
84041
|
+
* The state is the sleep inputs (`deriveBatteryPresence`): whether the device
|
|
84042
|
+
* is asleep, and the last time it PROVED it was reachable. Read from this slice
|
|
84043
|
+
* by the stream broker (`readBatterySleepFacts`), the recorder
|
|
84044
|
+
* (`recordingWakeDeps`) and the snapshot builtin. The broker's per-device
|
|
84045
|
+
* mirror is still also fed by `BatteryOnStatusChanged` events.
|
|
84046
|
+
*/
|
|
84047
|
+
var LowPowerSleepStatusSchema = z.object({
|
|
84048
|
+
/**
|
|
84049
|
+
* True while the firmware is in low-power mode. A provider MUST avoid polling
|
|
84050
|
+
* during sleep — a read wakes the device and drains charge.
|
|
84051
|
+
*/
|
|
84052
|
+
sleeping: z.boolean().meta({ label: "Sleeping" }),
|
|
84053
|
+
/**
|
|
84054
|
+
* Ms epoch of the last time the device proved it was reachable, from
|
|
84055
|
+
* PASSIVE signals only (a completed round-trip, an observed wake, a push).
|
|
84056
|
+
* Absent = never since this slice was born. The only input that separates
|
|
84057
|
+
* "asleep" from "gone".
|
|
84058
|
+
*/
|
|
84059
|
+
lastContactAt: z.number().optional(),
|
|
84060
|
+
/** Ms epoch of the last observation. */
|
|
84061
|
+
lastUpdated: z.number().meta(readingMeta("none"))
|
|
84062
|
+
});
|
|
84063
|
+
var lowPowerSleepCapability = {
|
|
84064
|
+
name: "low-power-sleep",
|
|
84065
|
+
scope: "device",
|
|
84066
|
+
deviceNative: true,
|
|
84067
|
+
mode: "singleton",
|
|
84068
|
+
deviceTypes: [DeviceType.Camera],
|
|
84069
|
+
methods: {
|
|
84070
|
+
/**
|
|
84071
|
+
* Explicitly wake the device from low-power sleep ahead of a streaming
|
|
84072
|
+
* session start. Consumers that initiate a stream against a sleeping
|
|
84073
|
+
* camera (wake-on-play, the recorder, HomeKit, Alexa, snapshot wrappers)
|
|
84074
|
+
* call this with a short timeout before establishing the media pipeline —
|
|
84075
|
+
* the broker's own passive wake-on-dial works but adds 5–7 seconds to
|
|
84076
|
+
* first-frame. Pre-waking compresses that gap.
|
|
84077
|
+
*
|
|
84078
|
+
* Returns `awoke: true` when the firmware acknowledged the wake before
|
|
84079
|
+
* `timeoutMs`, `awoke: false` when it timed out; the caller should still
|
|
84080
|
+
* attempt the stream — the passive broker wake remains as fallback.
|
|
84081
|
+
*/
|
|
84082
|
+
wakeUp: method(z.object({
|
|
84083
|
+
deviceId: z.number(),
|
|
84084
|
+
/** Bound on the wait. Sensible range 3000–10000ms. */
|
|
84085
|
+
timeoutMs: z.number().int().min(500).max(3e4).default(8e3)
|
|
84086
|
+
}), z.object({
|
|
84087
|
+
awoke: z.boolean(),
|
|
84088
|
+
durationMs: z.number()
|
|
84089
|
+
}), {
|
|
84090
|
+
kind: "mutation",
|
|
84091
|
+
notOperatorFacing: "a stream consumer wakes a sleeping camera to watch it; an automation that wants footage asks for the footage"
|
|
84092
|
+
}) },
|
|
84093
|
+
status: {
|
|
84094
|
+
schema: LowPowerSleepStatusSchema,
|
|
84095
|
+
kind: "push",
|
|
84096
|
+
empty: {
|
|
84097
|
+
sleeping: false,
|
|
84098
|
+
lastUpdated: 0
|
|
84099
|
+
}
|
|
84100
|
+
},
|
|
84101
|
+
runtimeState: LowPowerSleepStatusSchema,
|
|
84102
|
+
/**
|
|
84103
|
+
* Runtime-state durability: **restored** — a sleeping camera may not report
|
|
84104
|
+
* for hours; the restored sleep inputs are the only thing the sleep gate and
|
|
84105
|
+
* the presence derivation have (the same argument as `battery`).
|
|
84106
|
+
*/
|
|
84107
|
+
durability: "restored",
|
|
84108
|
+
/** History (D850): none — battery never recorded a sleep series either. */
|
|
84109
|
+
history: "none",
|
|
84110
|
+
volatileStateFields: ["lastUpdated"],
|
|
84111
|
+
vocabulary: {
|
|
84112
|
+
noun: t("Low-power sleep", "Sospensione a basso consumo"),
|
|
84113
|
+
order: 5245
|
|
84114
|
+
}
|
|
84115
|
+
};
|
|
84116
|
+
/**
|
|
84036
84117
|
* mesh-network — collection cap for mesh-VPN providers.
|
|
84037
84118
|
*
|
|
84038
84119
|
* Different shape from `network-access` (public tunnels):
|
|
@@ -104840,6 +104921,42 @@ var remoteLayoutComponentsCapability = {
|
|
|
104840
104921
|
methods: { listComponents: method(z.object({}), z.array(RemoteLayoutComponentSchema), { auth: "protected" }) },
|
|
104841
104922
|
vocabulary: { notOperatorFacing: "the palette of the remote template editor — read-only data, never actuated" }
|
|
104842
104923
|
};
|
|
104924
|
+
/**
|
|
104925
|
+
* resync — a device whose derived spec can be re-aligned on demand with its
|
|
104926
|
+
* upstream source (#459, Q6). Registered by the containers an integration
|
|
104927
|
+
* adopted; `DeviceFeature.Resyncable` (the generic Re-sync button) is derived
|
|
104928
|
+
* from it being bound with `resync` implemented.
|
|
104929
|
+
*
|
|
104930
|
+
* The work itself stays where it is: the owning addon's `device-adoption`
|
|
104931
|
+
* provider, reached through `deviceManager.adoptionResync` (which also owns
|
|
104932
|
+
* the "resync from zero" child purge). A provider answers this method by
|
|
104933
|
+
* asking for exactly that — see `resyncThroughAdoption`.
|
|
104934
|
+
*/
|
|
104935
|
+
var ResyncDeviceInputSchema = z.object({
|
|
104936
|
+
deviceId: z.number().int().nonnegative(),
|
|
104937
|
+
/** "Resync from zero": purge the accessory children before re-deriving. */
|
|
104938
|
+
resetToSource: z.boolean().optional()
|
|
104939
|
+
});
|
|
104940
|
+
var resyncCapability = {
|
|
104941
|
+
name: "resync",
|
|
104942
|
+
scope: "device",
|
|
104943
|
+
deviceNative: true,
|
|
104944
|
+
mode: "singleton",
|
|
104945
|
+
deviceTypes: [
|
|
104946
|
+
DeviceType.Container,
|
|
104947
|
+
DeviceType.Workload,
|
|
104948
|
+
DeviceType.WeatherStation
|
|
104949
|
+
],
|
|
104950
|
+
methods: { resync: method(ResyncDeviceInputSchema, ResyncResultSchema, {
|
|
104951
|
+
kind: "mutation",
|
|
104952
|
+
auth: "admin",
|
|
104953
|
+
notOperatorFacing: "device adoption — re-aligning a device with its source is an onboarding step, not an automation action"
|
|
104954
|
+
}) },
|
|
104955
|
+
vocabulary: {
|
|
104956
|
+
noun: t("Re-sync", "Risincronizzazione"),
|
|
104957
|
+
order: 3245
|
|
104958
|
+
}
|
|
104959
|
+
};
|
|
104843
104960
|
var RUNNING_POWER_START_DELAY_MS = 3e4;
|
|
104844
104961
|
var RUNNING_POWER_STOP_DELAY_MS = 18e4;
|
|
104845
104962
|
/** What every type without its own row starts from. */
|
|
@@ -114187,6 +114304,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
114187
114304
|
logChannelsCapability,
|
|
114188
114305
|
logDestinationCapability,
|
|
114189
114306
|
loginMethodCapability,
|
|
114307
|
+
lowPowerSleepCapability,
|
|
114190
114308
|
mediaPlayerCapability,
|
|
114191
114309
|
meshNetworkCapability,
|
|
114192
114310
|
meterCapability,
|
|
@@ -114240,6 +114358,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
114240
114358
|
recordsCapability,
|
|
114241
114359
|
remoteCapability,
|
|
114242
114360
|
remoteLayoutComponentsCapability,
|
|
114361
|
+
resyncCapability,
|
|
114243
114362
|
runningStateCapability,
|
|
114244
114363
|
sceneMonitorCapability,
|
|
114245
114364
|
schedulersCapability,
|
|
@@ -117341,6 +117460,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
|
|
|
117341
117460
|
irTransmitter: irTransmitterCapability,
|
|
117342
117461
|
lawnMowerControl: lawnMowerControlCapability,
|
|
117343
117462
|
lockControl: lockControlCapability,
|
|
117463
|
+
lowPowerSleep: lowPowerSleepCapability,
|
|
117344
117464
|
mediaPlayer: mediaPlayerCapability,
|
|
117345
117465
|
meter: meterCapability,
|
|
117346
117466
|
motion: motionCapability,
|
|
@@ -118096,6 +118216,18 @@ function deriveBatteryPresence(input) {
|
|
|
118096
118216
|
return input.nowMs - lastContactAt > budget ? "unreachable" : "sleeping";
|
|
118097
118217
|
}
|
|
118098
118218
|
/**
|
|
118219
|
+
* Does this device SLEEP and need waking before it streams (#459, Q2)?
|
|
118220
|
+
*
|
|
118221
|
+
* The one predicate every data-plane consumer asks (prebuffer, wake-on-play,
|
|
118222
|
+
* the recorder, sentry, the snapshot wrapper, the detection profile). It reads
|
|
118223
|
+
* `DeviceFeature.Sleeps`, derived from the `low-power-sleep` cap — never
|
|
118224
|
+
* `DeviceFeature.BatteryOperated`, which only says the device reports a
|
|
118225
|
+
* battery: a battery sensor reports charge and never sleeps.
|
|
118226
|
+
*/
|
|
118227
|
+
function deviceSleeps(features) {
|
|
118228
|
+
return features.includes(DeviceFeature.Sleeps);
|
|
118229
|
+
}
|
|
118230
|
+
/**
|
|
118099
118231
|
* WHICH child a container stands for — one definition, for every consumer.
|
|
118100
118232
|
*
|
|
118101
118233
|
* A CONTAINER device has no controllable surface of its own: it groups entity
|
|
@@ -123320,13 +123452,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
123320
123452
|
access: "view",
|
|
123321
123453
|
role: "viewer"
|
|
123322
123454
|
},
|
|
123323
|
-
"battery.wakeForStream": {
|
|
123324
|
-
capName: "battery",
|
|
123325
|
-
capScope: "device",
|
|
123326
|
-
addonId: null,
|
|
123327
|
-
access: "create",
|
|
123328
|
-
role: "viewer"
|
|
123329
|
-
},
|
|
123330
123455
|
"binary.getStatus": {
|
|
123331
123456
|
capName: "binary",
|
|
123332
123457
|
capScope: "device",
|
|
@@ -126981,6 +127106,20 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
126981
127106
|
access: "view",
|
|
126982
127107
|
role: "admin"
|
|
126983
127108
|
},
|
|
127109
|
+
"lowPowerSleep.getStatus": {
|
|
127110
|
+
capName: "low-power-sleep",
|
|
127111
|
+
capScope: "device",
|
|
127112
|
+
addonId: null,
|
|
127113
|
+
access: "view",
|
|
127114
|
+
role: "viewer"
|
|
127115
|
+
},
|
|
127116
|
+
"lowPowerSleep.wakeUp": {
|
|
127117
|
+
capName: "low-power-sleep",
|
|
127118
|
+
capScope: "device",
|
|
127119
|
+
addonId: null,
|
|
127120
|
+
access: "create",
|
|
127121
|
+
role: "viewer"
|
|
127122
|
+
},
|
|
126984
127123
|
"mediaPlayer.channelDown": {
|
|
126985
127124
|
capName: "media-player",
|
|
126986
127125
|
capScope: "device",
|
|
@@ -130656,6 +130795,13 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
130656
130795
|
access: "view",
|
|
130657
130796
|
role: "admin"
|
|
130658
130797
|
},
|
|
130798
|
+
"resync.resync": {
|
|
130799
|
+
capName: "resync",
|
|
130800
|
+
capScope: "device",
|
|
130801
|
+
addonId: null,
|
|
130802
|
+
access: "create",
|
|
130803
|
+
role: "admin"
|
|
130804
|
+
},
|
|
130659
130805
|
"runningState.getStatus": {
|
|
130660
130806
|
capName: "running-state",
|
|
130661
130807
|
capScope: "device",
|
|
@@ -133129,7 +133275,7 @@ function deviceOffersActions(bindings, actionIds, mode = "any", deviceType) {
|
|
|
133129
133275
|
const offered = new Set(actionsForDevice(bindings, deviceType).map((action) => action.id));
|
|
133130
133276
|
return mode === "all" ? actionIds.every((id) => offered.has(id)) : actionIds.some((id) => offered.has(id));
|
|
133131
133277
|
}
|
|
133132
|
-
DeviceFeature.
|
|
133278
|
+
DeviceFeature.Sleeps;
|
|
133133
133279
|
function bound(cap, methods = [], authority = "reported") {
|
|
133134
133280
|
return {
|
|
133135
133281
|
kind: "cap",
|
|
@@ -133147,13 +133293,13 @@ function reported(reason) {
|
|
|
133147
133293
|
reason
|
|
133148
133294
|
};
|
|
133149
133295
|
}
|
|
133150
|
-
var SLEEP_PENDING = "splits into a sleeping cap in a later phase of #459";
|
|
133151
133296
|
var CAP_PENDING = "becomes a cap or is dropped in a later phase of #459";
|
|
133152
133297
|
/** Exhaustive: a new `DeviceFeature` without a row does not compile. */
|
|
133153
133298
|
var DEVICE_FEATURE_REQUIREMENTS = {
|
|
133154
|
-
[DeviceFeature.BatteryOperated]:
|
|
133299
|
+
[DeviceFeature.BatteryOperated]: bound("battery"),
|
|
133300
|
+
[DeviceFeature.Sleeps]: derived("low-power-sleep", ["wakeUp"]),
|
|
133155
133301
|
[DeviceFeature.Rebootable]: derived("reboot", ["reboot"]),
|
|
133156
|
-
[DeviceFeature.Resyncable]:
|
|
133302
|
+
[DeviceFeature.Resyncable]: derived("resync", ["resync"]),
|
|
133157
133303
|
[DeviceFeature.NativeSnapshot]: reported(CAP_PENDING),
|
|
133158
133304
|
[DeviceFeature.DoorbellButton]: derived("doorbell"),
|
|
133159
133305
|
[DeviceFeature.TwoWayAudio]: derived("intercom", [
|
|
@@ -133205,9 +133351,7 @@ var DEVICE_FEATURE_REQUIREMENTS = {
|
|
|
133205
133351
|
[DeviceFeature.NotifierRecipients]: reported(CAP_PENDING),
|
|
133206
133352
|
[DeviceFeature.ScriptVariables]: reported(CAP_PENDING),
|
|
133207
133353
|
[DeviceFeature.AutomationSkipCondition]: reported(CAP_PENDING),
|
|
133208
|
-
[DeviceFeature.VacuumHasMap]: reported(CAP_PENDING),
|
|
133209
133354
|
[DeviceFeature.VacuumHasAi]: reported(CAP_PENDING),
|
|
133210
|
-
[DeviceFeature.MowerHasMap]: reported(CAP_PENDING),
|
|
133211
133355
|
[DeviceFeature.MowerHasTargetedMowing]: reported(CAP_PENDING),
|
|
133212
133356
|
[DeviceFeature.Navigation]: derived("navigation"),
|
|
133213
133357
|
[DeviceFeature.NetworkLink]: derived("network-link")
|
|
@@ -133396,6 +133540,7 @@ var CAP_NAMES_WITH_STATUS = [
|
|
|
133396
133540
|
"intercom",
|
|
133397
133541
|
"lawn-mower-control",
|
|
133398
133542
|
"lock-control",
|
|
133543
|
+
"low-power-sleep",
|
|
133399
133544
|
"media-player",
|
|
133400
133545
|
"meter",
|
|
133401
133546
|
"motion",
|
|
@@ -133590,11 +133735,6 @@ Object.freeze({
|
|
|
133590
133735
|
form: "single",
|
|
133591
133736
|
optional: false
|
|
133592
133737
|
}],
|
|
133593
|
-
"battery.wakeForStream": [{
|
|
133594
|
-
name: "deviceId",
|
|
133595
|
-
form: "single",
|
|
133596
|
-
optional: false
|
|
133597
|
-
}],
|
|
133598
133738
|
"binary.getStatus": [{
|
|
133599
133739
|
name: "deviceId",
|
|
133600
133740
|
form: "single",
|
|
@@ -134778,6 +134918,16 @@ Object.freeze({
|
|
|
134778
134918
|
form: "single",
|
|
134779
134919
|
optional: true
|
|
134780
134920
|
}],
|
|
134921
|
+
"lowPowerSleep.getStatus": [{
|
|
134922
|
+
name: "deviceId",
|
|
134923
|
+
form: "single",
|
|
134924
|
+
optional: false
|
|
134925
|
+
}],
|
|
134926
|
+
"lowPowerSleep.wakeUp": [{
|
|
134927
|
+
name: "deviceId",
|
|
134928
|
+
form: "single",
|
|
134929
|
+
optional: false
|
|
134930
|
+
}],
|
|
134781
134931
|
"mediaPlayer.channelDown": [{
|
|
134782
134932
|
name: "deviceId",
|
|
134783
134933
|
form: "single",
|
|
@@ -136063,6 +136213,11 @@ Object.freeze({
|
|
|
136063
136213
|
form: "single",
|
|
136064
136214
|
optional: false
|
|
136065
136215
|
}],
|
|
136216
|
+
"resync.resync": [{
|
|
136217
|
+
name: "deviceId",
|
|
136218
|
+
form: "single",
|
|
136219
|
+
optional: false
|
|
136220
|
+
}],
|
|
136066
136221
|
"runningState.getStatus": [{
|
|
136067
136222
|
name: "deviceId",
|
|
136068
136223
|
form: "single",
|
|
@@ -136688,7 +136843,7 @@ Object.freeze({
|
|
|
136688
136843
|
});
|
|
136689
136844
|
/**
|
|
136690
136845
|
* Per-cap runtime-state policy, projected from every `*.cap.ts` that declares
|
|
136691
|
-
* `runtimeState`.
|
|
136846
|
+
* `runtimeState`. 88 caps: 44 `restored`, 44 `session`.
|
|
136692
136847
|
*
|
|
136693
136848
|
* A cap absent from this map has no runtime-state slice at all. A cap PRESENT
|
|
136694
136849
|
* with `durability: 'session'` has one and has decided not to keep it.
|
|
@@ -136868,6 +137023,10 @@ var RUNTIME_STATE_POLICY = {
|
|
|
136868
137023
|
durability: "restored",
|
|
136869
137024
|
volatileFields: ["lastChangedAt"]
|
|
136870
137025
|
},
|
|
137026
|
+
"low-power-sleep": {
|
|
137027
|
+
durability: "restored",
|
|
137028
|
+
volatileFields: ["lastUpdated"]
|
|
137029
|
+
},
|
|
136871
137030
|
"media-player": {
|
|
136872
137031
|
durability: "session",
|
|
136873
137032
|
volatileFields: []
|
|
@@ -139092,4 +139251,4 @@ function searchRank(rawQuery, fields) {
|
|
|
139092
139251
|
return matchRank(label, keywords, (fields.identifiers ?? []).map(normalizeSearchText).filter((identifier) => identifier.length > 0), query) ?? fuzzyMatchRank(label, query) ?? bestFuzzy(keywords, query);
|
|
139093
139252
|
}
|
|
139094
139253
|
//#endregion
|
|
139095
|
-
export { DEVICE_TEMPLATE_VALUES_CAP as $, reducePoints as $a, assertTransactScope as $c, localDateOf as $i, secretViewsOf as $l, builtinAutomationTemplate as $n, supportedRuntimes as $o, evaluateStepCondition as $r, implementedMethodsOf as $s, RECORDING_SOURCE_CAMSTACK_ADDON as $t, CatalogFileSchema as A, parseColorInput as Aa, RECORD_SWEEP_INTERVAL_MS as Ac, isAlertEpisodeOpen as Ai, isReadingQuantity as Al, actionWaitTotalMs as An, scopesAllowDeviceCap as Ao, databaseSnapshotCapability as Ar, DEFAULT_HISTORY_RETENTION as As, KEYCHAIN_RESET_TRIGGER_ACTOR as At, DEFAULT_HOLD_OVERRIDE as B, preconditionOf as Ba, RecordUniqueViolationError as Bc, isKernelDerivedFeature as Bi, normalizeNodeId as Bl, armRemovalReconcile as Bn, shortHostname as Bo, deviceExtensionCapability as Br, cloneStatefulExpressionMemory as Bs, MigrationMetaSchema as Bt, CATALOG_LANGS as C, normalizeTags as Ca, InvalidRecordError as Cc, hostEngineDevice as Ci, hydrateSchema as Cl, TemplateKindSchema as Cn, runFanOut as Co, coreBlockIdFromAddonId as Cr, withLocationMode as Cs, HISTORY_ITEM_CATALOG as Ct, CORE_BLOCK_ADDON_PREFIX as D, occurrenceOn as Da, RECORD_BATCH_MAX_BYTES as Dc, internalActionId as Di, isEvent as Dl, WORKLOAD_TRANSITION_CATEGORY as Dn, sameIdentifiers as Do, createDeviceExtensionProvider as Dr, COMPOSER_ADDON_ID as Ds, HvacModeSchema as Dt, CORE_BLOCKS_ADDON_ID as E, objectInputDeclaresRequiredDeviceId as Ea, RECORD_BATCH_MAX as Ec, integrationInstancesCapability as Ei, isDeviceConfigCap as El, UserRecordSchema as En, runtimeStatePolicyFor as Eo, coverCapability as Er, zoneOnlySite as Es, HostedWithdrawalGate as Et, DATABASE_SNAPSHOT_PARTIAL_SUFFIX as F, planComposition as Fa, ReadinessTimeoutError as Fc, isCollectionArrayMethod as Fi, isSecretRefOwnedBy as Fl, addonWidgetsCapability as Fn, settingsStoreCapability as Fo, defineExtensionSlotProvider as Fr, MINUTE_MS as Fs, MIGRATION_API_V1_METHODS as Ft, DEVICE_ID_FIELD as G, projectDeviceRow as Ga, UnindexedFilterError as Gc, isWorkloadSettled as Gi, readinessKey as Gl, batteryCapability as Gn, stableIdMapOf as Go, deviceRunsCapability as Gr, compositionSliceKey as Gs, PROPOSAL_MIN_SPAN_MS as Gt, DEVICE_ENROLLMENT_TTL_MS as H, problemsBlockSave as Ha, SECRET_CLEAR as Hc, isObjectInput as Hi, parseJsonObject as Hl, authProviderCapability as Hn, siteZoneKey as Ho, deviceManagerCapability as Hr, composedDeviceStableId as Hs, NetworkTunnelStartedDataSchema as Ht, DATABASE_SNAPSHOT_SUFFIX as I, platformProbeCapability as Ia, RecordIntegrationInstances as Ic, isCredentialTokenPayload as Ii, makeSecretMarker as Il, alertEpisodeId as In, settleDeviceFeatures as Io, deriveBatteryPresence as Ir, buildFfmpegArgs as Is, MINUTES_PER_DAY as It, DEVICE_SAN_USER_PREFIX as J, readRecipeLiteral as Ja, WELL_KNOWN_TAB_MAP as Jc, keychainCapability as Ji, resolveSecretMarkers as Jl, buildCapabilityLookup as Jn, storageMigrationCapability as Jo, deviceTransitionsCapability as Jr, disarmRoseMemory as Js, PowerSourceInfoSchema as Jt, DEVICE_NONCE_TTL_MS as K, proposeRunningThreshold as Ka, UnknownRecordKindError as Kc, kebabToCamel as Ki, recordSecretRef as Kl, brightnessCapability as Kn, storageAdminCapability as Ko, deviceStateCapability as Kr, compositionSourceKey as Ks, PackageRequiresSchema as Kt, DATABASE_SNAPSHOT_TIMEOUT_MS as L, powerSourceActuatorConflicts as La, RecordKindDeclarationSchema as Lc, isDefaultAppConnectionEndpoint as Li, mapSecretLeaves as Ll, alertEpisodePayload as Ln, sharedActuatorFeatures as Lo, describeComposableCaps as Lr, canonicalStoredBlockTarget as Ls, MOTION_CLOSE_AFTER_MS as Lt, ConsumableItemSchema as M, petFountainCapability as Ma, REMOVE_LEAF as Mc, isAppLinkBase as Mi, isSecretFieldView as Ml, addonIdOfActionId as Mn, searchRank as Mo, declaredSeriesKind as Mr, HISTORY_SLOW_MS as Ms, KeychainResetRecordSchema as Mt, CoreBlockSchema as N, petFountainWaterItem as Na, RUNTIME_DEFAULTS as Nc, isArrayOutputSchema as Ni, isSecretMarker as Nl, addonPagesCapability as Nn, seedInstanceOnce as No, decodeVectorBase64 as Nr, HOUR_MS as Ns, LOG_LEVEL_RANK as Nt, CREDENTIAL_TOKEN_AUDIENCE as O, orderMigrations as Oa, RECORD_DELETE_BATCH as Oc, interpolate as Oi, isInstanceEnabled as Ol, WorkloadStateSchema as On, schedulersCapability as Oo, customKeyOfRole as Or, CompositionSchema as Os, IDLE_ACTION_STATUS as Ot, CredentialTokenClaimsSchema as P, pickAppLinkHub as Pa, ReadinessRegistry as Pc, isBuiltinTemplateId as Pi, isSecretMarkerLike as Pl, addonSettingsCapability as Pn, selectEngineHostedBlocks as Po, defaultTagColorId as Pr, HelperMemberSchema as Ps, METHOD_ACCESS_MAP as Pt, DEVICE_TEMPLATE_THIS_ALIAS as Q, recordsCapability as Qa, asString$1 as Qc, lifecycleJobSchema as Qi, secretTreeFromSchema as Ql, buildStreamParamsConfigSchema as Qn, streamQualityLabel as Qo, evaluateCompositionField as Qr, historyRetentionFromSettings as Qs, QuantityUnitError as Qt, DATA_STORE_DATABASES as R, powerSourceCapability as Ra, RecordNotFoundError as Rc, isEmptyIdentifiers as Ri, nodeIdOfScopedKey as Rl, alertsCapability as Rn, sharedActuatorMethods as Ro, describeUnmet as Rr, canonicalStoredDeviceType as Rs, MediaPlayerStatusSchema as Rt, CAP_NAMES_WITH_STATUS as S, normalizeCoreBlockWrite as Sa, HISTORY_DEFAULT_MIN_INTERVAL_MS as Sc, heroLayoutCapability as Si, historyUnitFor as Sl, TagsFieldSchema as Sn, resolveTemplateRef as So, coreBlockComposition as Sr, withDefaultRunning as Ss, HISTORY_CATALOG as St, COMPOSER_RUNNER_ID as T, objectInputDeclaresAddonId as Ta, PlaintextSecretError as Tc, instanceCodeHash as Ti, isDebugChannelName as Tl, UNATTRIBUTED_BUCKET_KEY as Tn, runtimeFieldUnit as To, coreBlocksCapability as Tr, workloadTransition as Ts, HUB_MDNS_TXT_KEYS as Tt, DEVICE_HISTORY_ENERGY_KEY as U, procedureAuthKey as Ua, StoredRecordKindDeclarationSchema as Uc, isSameAddonId as Ui, parseJsonUnknown as Ul, backupCapability as Un, snapshotCapability as Uo, deviceOffersActions as Ur, compositionFeatureEnabled as Us, PET_FOUNTAIN_WATER_KEY as Ut, DERIVED_CAMERA_SILENCED_CAP_NAMES as V, prepareRecipeUnits as Va, RevConflictError as Vc, isLocationEnabled as Vi, normalizeSecretOwner as Vl, assertStepsOffered as Vn, siteFor as Vo, deviceHistoryCapability as Vr, composedDeviceRef as Vs, NcTaggedRuleKindSchema as Vt, DEVICE_IDENTIFIER_KEYS as W, processTimeZoneOr as Wa, TransactRefusedError as Wc, isVoidInput as Wi, parseSecretRef as Wl, bareAddonId as Wn, splitTranslationRef as Wo, deviceRemovalHookCapability as Wr, compositionItemFieldPath as Ws, PREFERENCES_MAX_VALUE_BYTES as Wt, DEVICE_TEMPLATE_MAX_LENGTH as X, reconcileReportedFeatures as Xa, asJsonObject as Xc, legacyModeOf as Xi, scopeKey as Xl, buildDeviceSignatureMessage as Xn, storageProviderCapability as Xo, enumerateItemArrayFields as Xr, evaluateStatistic as Xs, PreferenceNamespaceSchema as Xt, DEVICE_TEMPLATE_FILTERS as Y, readStoredRemoteConfig as Ya, actionEffect as Yc, legacyAutoLinkIds as Yi, ruleFireOfClaim as Yl, buildDeviceEnrollmentLink as Yn, storageOccupancyCapability as Yo, enumerateInferenceDevices as Yr, evaluateDerivative as Ys, PreferenceDeviceIdSchema as Yt, DEVICE_TEMPLATE_MAX_OUTPUT as Z, recordEntriesCapability as Za, asNumber as Zc, legacySweepDone as Zi, secretTreeFromPaths as Zl, buildHeroModel as Zn, streamCatalogCapability as Zo, enumerateSchemaFields as Zr, helperMembers as Zs, PreferenceValueSchema as Zt, BUILTIN_REMOTE_COMPONENTS as _, modeMayWrite as _a, DEVICE_STATUS_METHOD as _c, generateAutomationBlock as _i, entryBody as _l, StorageLocationModeSchema as _n, resolveMutate as _o, compositionFieldKey as _r, valveCapability as _s, FanDirectionSchema as _t, AGENT_MDNS_SERVICE_TYPE as a, logLevelAtMost as aa, openReset as ac, extractSourceInfoFromMetadata as ai, collectSecretMarkerRefs as al, RunningStateStatusSchema as an, renameInTags as ao, catalogueIssues as ar, templateCapability as as, DeviceStatusSchema as at, vocabActionIdFor as au, CAMERA_SWITCH_ORDER as b, nextTimeBoundaryInMs as ba, FilterRequiredError as bc, groupTemplate as bi, getDebugInterest as bl, TagNameSchema as bn, resolveRunnerId as bo, consumablesCapability as br, vectorStoreCapability as bs, FieldClaimSchema as bt, ActionError as c, mayWriteToLocation as ca, planStatisticTier as cc, fanOutTargets as ci, commandOrigin as cl, STREAM_PROFILE_META as cn, resolveActionVariables as co, checkTemplatePayload as cr, timedRunMaxIn as cs, EMPTY_AUTOMATION_STATE as ct, COMPOSED_DEVICE_STABLE_ID_PREFIX as cu, ActionTargetResolver as d, memoizePinnedFfmpeg as da, wattMillisecondsToKwh as dc, filesystemBrowseCapability as di, defineAddonMigrations as dl, SchedulerSchema as dn, resolveCoreBlockEntry as do, collectWhenMirrorSources as dr, toTimings as ds, ExportNameRefusedError as dt, DeviceType as du, localNetworkCapability as ea, integrateReading as ec, evaluateWhenTree as ei, assertValidDeclaration as el, REMOTE_MEDIA_COMMANDS as en, reexpandAutomationInstance as eo, calendarsCapability as er, sweepLegacyEngineRows as es, DEVICE_TOMBSTONE_RETENTION_MS as et, sleep as eu, ActionVariableSchema as f, mergeIdentifiers as fa, BaseAddon as fc, findChannelSource as fi, defineCustomActions as fl, ScopedTokenSchema as fn, resolveCoreBlockFiles as fo, colorCapability as fr, unmetRequirements as fs, FAN_CAPTURE_FIELDS as ft, errMsg as fu, BUILTIN_AUTOMATION_TEMPLATES as g, modeForSwitch as ga, DEVICE_SETTINGS_CONTRIBUTION_METHODS as gc, gbToBytes as gi, emitReadiness as gl, StorageCleanupJobSchema as gn, resolveMethodAuth as go, composerCapability as gr, validateSchedulerInput as gs, FanControlStatusSchema as gt, AutomationTemplatePayloadSchema as h, migrationsCapability as ha, DATAPLANE_SECRET_HEADER as hc, formatMinutes as hi, emitDownForOwnedCaps as hl, SsoBridgeClaimsSchema as hn, resolveLocationMode as ho, compileScalarOverride as hr, validateCustomAddress as hs, FIRST_LEVEL_MACRO_CLASSES as ht, ACTUATOR_TEMPLATE_IDS as i, logDestinationCapability as ia, nextLocalMidnight as ic, extractNestedAddonId as ii, collectSecretLeaves as il, RemoteLayoutPayloadSchema as in, removeFromTags as io, capUnitResolver as ir, tagsCapability as is, DeviceRunSchema as it, userError as iu, ConditionMirror as j, parseStreamParamsFormPatch as ja, REDACTED_SECRET as jc, isAlertEpisodeSeverity as ji, isSecretClear as jl, actionsCapability as jn, scoreRuntimes as jo, declarationOwnerNodeId as jr, HISTORY_FAST_MS as js, KeychainAuditEntrySchema as jt, CalendarPreferencesSchema as k, parseAcceleratorFactsJson as ka, RECORD_SECRET_COLLECTION_PREFIX as kc, isAddonInstanceId as ki, isKeychainStoredField as kl, actionSourceCapability as kn, scopesAllowAddon as ko, dataStoreProviderCapability as kr, DAY_MS as ks, INTERNAL_ACTION_PREFIX as kt, ActionMinDelaySecSchema as l, mediaPlayerCapability as la, statisticCadenceMs as lc, fanPresetsCapability as li, createEvent as ll, SWITCH_DEFAULT_OPTIONS as ln, resolveAppConnections as lo, climateControlCapability as lr, timedRunQuickRun as ls, EMPTY_REMOTE_ASSUMED_STATE as lt, DeviceFeature as lu, AutomationStateDocSchema as m, metricsProviderCapability as ma, CALLER_STAMPED_CAPABILITIES as mc, formatDeviceRevoker as mi, defineRecordKinds as ml, SetOscillationAxisInputSchema as mn, resolveHubAddressRoles as mo, compileHelper as mr, validateComposition as ms, FAN_OSCILLATION_AXIS_SETTABLE as mt, EventCategory as mu, ACTION_TARGET_INVALIDATION_EVENTS as n, lockControlCapability as na, isForwardInputRef as nc, expandContainer as ni, buildSecretRef as nl, RecordingStatusSchema as nn, remoteLayoutComponentsCapability as no, canonicalIconKey as nr, switchStateOfMode as ns, DeclaredDevices as nt, toSecretFieldView as nu, AGENT_MDNS_TXT_KEYS as o, looseSchema as oa, openStatistic as oc, fanAxisPath as oi, collectZodSecretPaths as ol, STORAGE_ACCESS_FALLBACK as on, replaceRecipeLiteral as oo, checkDeviceAlias as or, timedRunCapability as os, DeviceTombstoneSchema as ot, vocabCall as ou, AlertSchema as p, methodRefusal as pa, BatchTooLargeError as pc, foldSnapshotByFunction as pi, defineEntryKind as pl, ServerNameSchema as pn, resolveHeroLayout as po, compareVersions as pr, userManagementCapability as ps, FAN_OSCILLATION_AXES as pt, featuresOfBoundCaps as pu, DEVICE_SAN_CREDENTIAL_PREFIX as q, ptzAutotrackCapability as qa, VocabActionError as qc, keychainAdminCapability as qi, resolveCapMount as ql, buildActionSteps as qn, storageCapability as qo, deviceStatusCapability as qr, createStatefulExpressionMemory as qs, PetFountainStatusSchema as qt, ACTUATOR_METHODS as r, lockDoorLinkOfComposition as ra, isHistoryHelper as rc, expressionContainsBuiltinCall as ri, collectSecretConfigKeys as rl, RemoteAssumedStateSchema as rn, remoteSourceSteps as ro, canonicalStoredStepTargets as rr, tagKey as rs, DeviceIdentifiersSchema as rt, transformSecretWrite as ru, ALL_CAPABILITY_DEFINITIONS as s, mayReadLocation as sa, planResetTier as sc, fanControlCapability as si, commandEffect as sl, STORAGE_LOCATION_MODES as sn, replacedFieldKeys as so, checkRoleAddress as sr, timedRunLimitOf as ss, DiscoveryProposalBodySchema as st, withoutCallerStamp as su, ACTION_RUN_MAX_MS as t, locationIconKey as ta, isEngineHostedHelper as tc, evictionPolicyOfLocation as ti, auditedFields as tl, ROOT_BUCKET_KEY as tn, remoteCapability as to, cameraGridLayoutCapability as tr, switchCapability as ts, DataStoreDatabaseSchema as tt, toNodeId as tu, ActionStepSchema as u, mediaPlayerFeaturesOfRoles as ua, toExpressionValue as uc, featureForwards as ui, customAction as ul, SchedulerError as un, resolveBucketMs as uo, collectDeviceTemplates as ur, timedRunSeconds as us, EMPTY_REMOTE_CONFIG as ut, DeviceRole as uu, BaseDevice as v, motionCapability as va, DeclarationRefusedError as vc, generateDeviceAlias as vi, expandCapMethods as vl, StorageLocationTypeSchema as vn, resolveNotificationTapAddress as vo, compositionSourceRefs as vr, vectorDimFromBase64 as vs, FanPresetSchema as vt, COMPOSED_ITEM_FIXED_FIELDS as w, normalizeUnit as wa, NoCallerError as wc, identifierStrength as wi, isCommand as wl, TokenScopeSchema as wn, runSteps as wo, coreBlockSourceKind as wr, workloadCapability as ws, HUB_MDNS_SERVICE_TYPE as wt, CAMSTACK_APP_LINK_ORIGIN as x, normalizeActionUnits as xa, ForeignSecretMarkerError as xc, hasTimeLeaves as xi, historyItemFieldPath as xl, TagStyleSchema as xn, resolveStepArgs as xo, coreBlockAddonId as xr, weekdayOfLocalDate as xs, GroupCommandResultSchema as xt, BatteryStatusSchema as y, nextOccurrence as ya, DeviceTransitionSchema as yc, groupCommandsCapability as yi, formatSecretScope as yl, StorageMigrationJobSchema as yn, resolveRemoteSource as yo, compositionUnionReads as yr, vectorIndexDimConflictError as ys, FieldClaimModeSchema as yt, DAY_NAMES as z, powerSourceLinkOfComposition as za, RecordTooLargeError as zc, isInternalActionId as zi, nodePin as zl, appendTrace as zn, sharedColorModes as zo, deviceCredentialsCapability as zr, capAppliesToDeviceKind as zs, MigrationLedgerEntrySchema as zt };
|
|
139254
|
+
export { DEVICE_TOMBSTONE_RETENTION_MS as $, recordsCapability as $a, asString$1 as $c, localDateOf as $i, secretTreeFromSchema as $l, calendarsCapability as $n, streamQualityLabel as $o, evaluateStepCondition as $r, historyRetentionFromSettings as $s, RECORDING_SOURCE_CAMSTACK_ADDON as $t, ConditionMirror as A, parseAcceleratorFactsJson as Aa, RECORD_SECRET_COLLECTION_PREFIX as Ac, isAlertEpisodeOpen as Ai, isKeychainStoredField as Al, actionWaitTotalMs as An, scopesAllowAddon as Ao, declarationOwnerNodeId as Ar, DAY_MS as As, KeychainAuditEntrySchema as At, DERIVED_CAMERA_SILENCED_CAP_NAMES as B, powerSourceLinkOfComposition as Ba, RecordTooLargeError as Bc, isKernelDerivedFeature as Bi, nodePin as Bl, armRemovalReconcile as Bn, sharedColorModes as Bo, deviceHistoryCapability as Br, capAppliesToDeviceKind as Bs, MigrationMetaSchema as Bt, COMPOSED_ITEM_FIXED_FIELDS as C, normalizeCoreBlockWrite as Ca, HISTORY_DEFAULT_MIN_INTERVAL_MS as Cc, hostEngineDevice as Ci, historyUnitFor as Cl, TemplateKindSchema as Cn, resolveTemplateRef as Co, coreBlockSourceKind as Cr, withDefaultRunning as Cs, HUB_MDNS_SERVICE_TYPE as Ct, CREDENTIAL_TOKEN_AUDIENCE as D, objectInputDeclaresRequiredDeviceId as Da, RECORD_BATCH_MAX as Dc, internalActionId as Di, isDeviceConfigCap as Dl, WORKLOAD_TRANSITION_CATEGORY as Dn, runtimeStatePolicyFor as Do, customKeyOfRole as Dr, zoneOnlySite as Ds, IDLE_ACTION_STATUS as Dt, CORE_BLOCK_ADDON_PREFIX as E, objectInputDeclaresAddonId as Ea, PlaintextSecretError as Ec, integrationInstancesCapability as Ei, isDebugChannelName as El, UserRecordSchema as En, runtimeFieldUnit as Eo, createDeviceExtensionProvider as Er, workloadTransition as Es, HvacModeSchema as Et, DATABASE_SNAPSHOT_SUFFIX as F, pickAppLinkHub as Fa, ReadinessRegistry as Fc, isCollectionArrayMethod as Fi, isSecretMarkerLike as Fl, addonWidgetsCapability as Fn, selectEngineHostedBlocks as Fo, deriveBatteryPresence as Fr, HelperMemberSchema as Fs, MIGRATION_API_V1_METHODS as Ft, DEVICE_NONCE_TTL_MS as G, processTimeZoneOr as Ga, TransactRefusedError as Gc, isWorkloadSettled as Gi, parseSecretRef as Gl, brightnessCapability as Gn, splitTranslationRef as Go, deviceSleeps as Gr, compositionItemFieldPath as Gs, PROPOSAL_MIN_SPAN_MS as Gt, DEVICE_HISTORY_ENERGY_KEY as H, prepareRecipeUnits as Ha, RevConflictError as Hc, isObjectInput as Hi, normalizeSecretOwner as Hl, authProviderCapability as Hn, siteFor as Ho, deviceOffersActions as Hr, composedDeviceRef as Hs, NetworkTunnelStartedDataSchema as Ht, DATABASE_SNAPSHOT_TIMEOUT_MS as I, planComposition as Ia, ReadinessTimeoutError as Ic, isCredentialTokenPayload as Ii, isSecretRefOwnedBy as Il, alertEpisodeId as In, settingsStoreCapability as Io, describeComposableCaps as Ir, MINUTE_MS as Is, MINUTES_PER_DAY as It, DEVICE_TEMPLATE_FILTERS as J, ptzAutotrackCapability as Ja, VocabActionError as Jc, keychainCapability as Ji, resolveCapMount as Jl, buildDeviceEnrollmentLink as Jn, storageCapability as Jo, deviceTransitionsCapability as Jr, createStatefulExpressionMemory as Js, PowerSourceInfoSchema as Jt, DEVICE_SAN_CREDENTIAL_PREFIX as K, projectDeviceRow as Ka, UnindexedFilterError as Kc, kebabToCamel as Ki, readinessKey as Kl, buildActionSteps as Kn, stableIdMapOf as Ko, deviceStateCapability as Kr, compositionSliceKey as Ks, PackageRequiresSchema as Kt, DATA_STORE_DATABASES as L, platformProbeCapability as La, RecordIntegrationInstances as Lc, isDefaultAppConnectionEndpoint as Li, makeSecretMarker as Ll, alertEpisodePayload as Ln, settleDeviceFeatures as Lo, describeUnmet as Lr, buildFfmpegArgs as Ls, MOTION_CLOSE_AFTER_MS as Lt, CoreBlockSchema as M, parseStreamParamsFormPatch as Ma, REDACTED_SECRET as Mc, isAppLinkBase as Mi, isSecretClear as Ml, addonIdOfActionId as Mn, scoreRuntimes as Mo, decodeVectorBase64 as Mr, HISTORY_FAST_MS as Ms, LOG_LEVEL_RANK as Mt, CredentialTokenClaimsSchema as N, petFountainCapability as Na, REMOVE_LEAF as Nc, isArrayOutputSchema as Ni, isSecretFieldView as Nl, addonPagesCapability as Nn, searchRank as No, defaultTagColorId as Nr, HISTORY_SLOW_MS as Ns, LowPowerSleepStatusSchema as Nt, CalendarPreferencesSchema as O, occurrenceOn as Oa, RECORD_BATCH_MAX_BYTES as Oc, interpolate as Oi, isEvent as Ol, WorkloadStateSchema as On, sameIdentifiers as Oo, dataStoreProviderCapability as Or, COMPOSER_ADDON_ID as Os, INTERNAL_ACTION_PREFIX as Ot, DATABASE_SNAPSHOT_PARTIAL_SUFFIX as P, petFountainWaterItem as Pa, RUNTIME_DEFAULTS as Pc, isBuiltinTemplateId as Pi, isSecretMarker as Pl, addonSettingsCapability as Pn, seedInstanceOnce as Po, defineExtensionSlotProvider as Pr, HOUR_MS as Ps, METHOD_ACCESS_MAP as Pt, DEVICE_TEMPLATE_VALUES_CAP as Q, recordEntriesCapability as Qa, asNumber as Qc, lifecycleJobSchema as Qi, secretTreeFromPaths as Ql, builtinAutomationTemplate as Qn, streamCatalogCapability as Qo, evaluateCompositionField as Qr, helperMembers as Qs, QuantityUnitError as Qt, DAY_NAMES as R, powerSourceActuatorConflicts as Ra, RecordKindDeclarationSchema as Rc, isEmptyIdentifiers as Ri, mapSecretLeaves as Rl, alertsCapability as Rn, sharedActuatorFeatures as Ro, deviceCredentialsCapability as Rr, canonicalStoredBlockTarget as Rs, MediaPlayerStatusSchema as Rt, CATALOG_LANGS as S, normalizeActionUnits as Sa, ForeignSecretMarkerError as Sc, heroLayoutCapability as Si, historyItemFieldPath as Sl, TagsFieldSchema as Sn, resolveStepArgs as So, coreBlockIdFromAddonId as Sr, weekdayOfLocalDate as Ss, HISTORY_ITEM_CATALOG as St, CORE_BLOCKS_ADDON_ID as T, normalizeUnit as Ta, NoCallerError as Tc, instanceCodeHash as Ti, isCommand as Tl, UNATTRIBUTED_BUCKET_KEY as Tn, runSteps as To, coverCapability as Tr, workloadCapability as Ts, HostedWithdrawalGate as Tt, DEVICE_IDENTIFIER_KEYS as U, problemsBlockSave as Ua, SECRET_CLEAR as Uc, isSameAddonId as Ui, parseJsonObject as Ul, backupCapability as Un, siteZoneKey as Uo, deviceRemovalHookCapability as Ur, composedDeviceStableId as Us, PET_FOUNTAIN_WATER_KEY as Ut, DEVICE_ENROLLMENT_TTL_MS as V, preconditionOf as Va, RecordUniqueViolationError as Vc, isLocationEnabled as Vi, normalizeNodeId as Vl, assertStepsOffered as Vn, shortHostname as Vo, deviceManagerCapability as Vr, cloneStatefulExpressionMemory as Vs, NcTaggedRuleKindSchema as Vt, DEVICE_ID_FIELD as W, procedureAuthKey as Wa, StoredRecordKindDeclarationSchema as Wc, isVoidInput as Wi, parseJsonUnknown as Wl, bareAddonId as Wn, snapshotCapability as Wo, deviceRunsCapability as Wr, compositionFeatureEnabled as Ws, PREFERENCES_MAX_VALUE_BYTES as Wt, DEVICE_TEMPLATE_MAX_OUTPUT as X, readStoredRemoteConfig as Xa, actionEffect as Xc, legacyModeOf as Xi, ruleFireOfClaim as Xl, buildHeroModel as Xn, storageOccupancyCapability as Xo, enumerateItemArrayFields as Xr, evaluateDerivative as Xs, PreferenceNamespaceSchema as Xt, DEVICE_TEMPLATE_MAX_LENGTH as Y, readRecipeLiteral as Ya, WELL_KNOWN_TAB_MAP as Yc, legacyAutoLinkIds as Yi, resolveSecretMarkers as Yl, buildDeviceSignatureMessage as Yn, storageMigrationCapability as Yo, enumerateInferenceDevices as Yr, disarmRoseMemory as Ys, PreferenceDeviceIdSchema as Yt, DEVICE_TEMPLATE_THIS_ALIAS as Z, reconcileReportedFeatures as Za, asJsonObject as Zc, legacySweepDone as Zi, scopeKey as Zl, buildStreamParamsConfigSchema as Zn, storageProviderCapability as Zo, enumerateSchemaFields as Zr, evaluateStatistic as Zs, PreferenceValueSchema as Zt, BUILTIN_REMOTE_COMPONENTS as _, modeForSwitch as _a, DEVICE_SETTINGS_CONTRIBUTION_METHODS as _c, generateAutomationBlock as _i, emitReadiness as _l, StorageLocationModeSchema as _n, resolveMethodAuth as _o, compositionSourceRefs as _r, validateSchedulerInput as _s, FanPresetSchema as _t, AGENT_MDNS_SERVICE_TYPE as a, logLevelAtMost as aa, nextLocalMidnight as ac, extractSourceInfoFromMetadata as ai, collectSecretLeaves as al, RunningStateStatusSchema as an, removeFromTags as ao, checkDeviceAlias as ar, tagsCapability as as, DeviceTombstoneSchema as at, userError as au, CAMSTACK_APP_LINK_ORIGIN as b, nextOccurrence as ba, DeviceTransitionSchema as bc, groupTemplate as bi, formatSecretScope as bl, TagNameSchema as bn, resolveRemoteSource as bo, coreBlockAddonId as br, vectorIndexDimConflictError as bs, GroupCommandResultSchema as bt, ActionError as c, mayReadLocation as ca, planResetTier as cc, fanOutTargets as ci, commandEffect as cl, STREAM_PROFILE_META as cn, replacedFieldKeys as co, climateControlCapability as cr, timedRunLimitOf as cs, EMPTY_REMOTE_ASSUMED_STATE as ct, withoutCallerStamp as cu, ActionTargetResolver as d, mediaPlayerFeaturesOfRoles as da, toExpressionValue as dc, filesystemBrowseCapability as di, customAction as dl, SchedulerSchema as dn, resolveBucketMs as do, colorCapability as dr, timedRunSeconds as ds, FAN_CAPTURE_FIELDS as dt, DeviceRole as du, localNetworkCapability as ea, implementedMethodsOf as ec, evaluateWhenTree as ei, assertTransactScope as el, REMOTE_MEDIA_COMMANDS as en, reducePoints as eo, cameraGridLayoutCapability as er, supportedRuntimes as es, DataStoreDatabaseSchema as et, secretViewsOf as eu, ActionVariableSchema as f, memoizePinnedFfmpeg as fa, wattMillisecondsToKwh as fc, findChannelSource as fi, defineAddonMigrations as fl, ScopedTokenSchema as fn, resolveCoreBlockEntry as fo, compareVersions as fr, toTimings as fs, FAN_OSCILLATION_AXES as ft, DeviceType as fu, BUILTIN_AUTOMATION_TEMPLATES as g, migrationsCapability as ga, DATAPLANE_SECRET_HEADER as gc, gbToBytes as gi, emitDownForOwnedCaps as gl, StorageCleanupJobSchema as gn, resolveLocationMode as go, compositionFieldKey as gr, validateCustomAddress as gs, FanDirectionSchema as gt, AutomationTemplatePayloadSchema as h, metricsProviderCapability as ha, CALLER_STAMPED_CAPABILITIES as hc, formatMinutes as hi, defineRecordKinds as hl, SsoBridgeClaimsSchema as hn, resolveHubAddressRoles as ho, composerCapability as hr, validateComposition as hs, FanControlStatusSchema as ht, EventCategory as hu, ACTUATOR_TEMPLATE_IDS as i, logDestinationCapability as ia, isHistoryHelper as ic, extractNestedAddonId as ii, collectSecretConfigKeys as il, RemoteLayoutPayloadSchema as in, remoteSourceSteps as io, catalogueIssues as ir, tagKey as is, DeviceStatusSchema as it, transformSecretWrite as iu, ConsumableItemSchema as j, parseColorInput as ja, RECORD_SWEEP_INTERVAL_MS as jc, isAlertEpisodeSeverity as ji, isReadingQuantity as jl, actionsCapability as jn, scopesAllowDeviceCap as jo, declaredSeriesKind as jr, DEFAULT_HISTORY_RETENTION as js, KeychainResetRecordSchema as jt, CatalogFileSchema as k, orderMigrations as ka, RECORD_DELETE_BATCH as kc, isAddonInstanceId as ki, isInstanceEnabled as kl, actionSourceCapability as kn, schedulersCapability as ko, databaseSnapshotCapability as kr, CompositionSchema as ks, KEYCHAIN_RESET_TRIGGER_ACTOR as kt, ActionMinDelaySecSchema as l, mayWriteToLocation as la, planStatisticTier as lc, fanPresetsCapability as li, commandOrigin as ll, SWITCH_DEFAULT_OPTIONS as ln, resolveActionVariables as lo, collectDeviceTemplates as lr, timedRunMaxIn as ls, EMPTY_REMOTE_CONFIG as lt, COMPOSED_DEVICE_STABLE_ID_PREFIX as lu, AutomationStateDocSchema as m, methodRefusal as ma, BatchTooLargeError as mc, formatDeviceRevoker as mi, defineEntryKind as ml, SetOscillationAxisInputSchema as mn, resolveHeroLayout as mo, compileScalarOverride as mr, userManagementCapability as ms, FIRST_LEVEL_MACRO_CLASSES as mt, featuresOfBoundCaps as mu, ACTION_TARGET_INVALIDATION_EVENTS as n, lockControlCapability as na, isEngineHostedHelper as nc, expandContainer as ni, auditedFields as nl, RecordingStatusSchema as nn, remoteCapability as no, canonicalStoredStepTargets as nr, switchCapability as ns, DeviceIdentifiersSchema as nt, toNodeId as nu, AGENT_MDNS_TXT_KEYS as o, looseSchema as oa, openReset as oc, fanAxisPath as oi, collectSecretMarkerRefs as ol, STORAGE_ACCESS_FALLBACK as on, renameInTags as oo, checkRoleAddress as or, templateCapability as os, DiscoveryProposalBodySchema as ot, vocabActionIdFor as ou, AlertSchema as p, mergeIdentifiers as pa, BaseAddon as pc, foldSnapshotByFunction as pi, defineCustomActions as pl, ServerNameSchema as pn, resolveCoreBlockFiles as po, compileHelper as pr, unmetRequirements as ps, FAN_OSCILLATION_AXIS_SETTABLE as pt, errMsg as pu, DEVICE_SAN_USER_PREFIX as q, proposeRunningThreshold as qa, UnknownRecordKindError as qc, keychainAdminCapability as qi, recordSecretRef as ql, buildCapabilityLookup as qn, storageAdminCapability as qo, deviceStatusCapability as qr, compositionSourceKey as qs, PetFountainStatusSchema as qt, ACTUATOR_METHODS as r, lockDoorLinkOfComposition as ra, isForwardInputRef as rc, expressionContainsBuiltinCall as ri, buildSecretRef as rl, RemoteAssumedStateSchema as rn, remoteLayoutComponentsCapability as ro, capUnitResolver as rr, switchStateOfMode as rs, DeviceRunSchema as rt, toSecretFieldView as ru, ALL_CAPABILITY_DEFINITIONS as s, lowPowerSleepCapability as sa, openStatistic as sc, fanControlCapability as si, collectZodSecretPaths as sl, STORAGE_LOCATION_MODES as sn, replaceRecipeLiteral as so, checkTemplatePayload as sr, timedRunCapability as ss, EMPTY_AUTOMATION_STATE as st, vocabCall as su, ACTION_RUN_MAX_MS as t, locationIconKey as ta, integrateReading as tc, evictionPolicyOfLocation as ti, assertValidDeclaration as tl, ROOT_BUCKET_KEY as tn, reexpandAutomationInstance as to, canonicalIconKey as tr, sweepLegacyEngineRows as ts, DeclaredDevices as tt, sleep as tu, ActionStepSchema as u, mediaPlayerCapability as ua, statisticCadenceMs as uc, featureForwards as ui, createEvent as ul, SchedulerError as un, resolveAppConnections as uo, collectWhenMirrorSources as ur, timedRunQuickRun as us, ExportNameRefusedError as ut, DeviceFeature as uu, BaseDevice as v, modeMayWrite as va, DEVICE_STATUS_METHOD as vc, generateDeviceAlias as vi, entryBody as vl, StorageLocationTypeSchema as vn, resolveMutate as vo, compositionUnionReads as vr, valveCapability as vs, FieldClaimModeSchema as vt, COMPOSER_RUNNER_ID as w, normalizeTags as wa, InvalidRecordError as wc, identifierStrength as wi, hydrateSchema as wl, TokenScopeSchema as wn, runFanOut as wo, coreBlocksCapability as wr, withLocationMode as ws, HUB_MDNS_TXT_KEYS as wt, CAP_NAMES_WITH_STATUS as x, nextTimeBoundaryInMs as xa, FilterRequiredError as xc, hasTimeLeaves as xi, getDebugInterest as xl, TagStyleSchema as xn, resolveRunnerId as xo, coreBlockComposition as xr, vectorStoreCapability as xs, HISTORY_CATALOG as xt, CAMERA_SWITCH_ORDER as y, motionCapability as ya, DeclarationRefusedError as yc, groupCommandsCapability as yi, expandCapMethods as yl, StorageMigrationJobSchema as yn, resolveNotificationTapAddress as yo, consumablesCapability as yr, vectorDimFromBase64 as ys, FieldClaimSchema as yt, DEFAULT_HOLD_OVERRIDE as z, powerSourceCapability as za, RecordNotFoundError as zc, isInternalActionId as zi, nodeIdOfScopedKey as zl, appendTrace as zn, sharedActuatorMethods as zo, deviceExtensionCapability as zr, canonicalStoredDeviceType as zs, MigrationLedgerEntrySchema as zt };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_wal_maintenance = require("./wal-maintenance-
|
|
2
|
+
const require_wal_maintenance = require("./wal-maintenance-CmCCUKZO.js");
|
|
3
3
|
let node_worker_threads = require("node:worker_threads");
|
|
4
4
|
//#region src/builtins/sqlite-storage/file-host-worker.ts
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as callRecords, C as isFileHostWorkerData, D as RecordsEngine, M as controlTargetOf, O as callControl, S as isFileHostRequest, a as WalMaintenance, b as collectTransferables, d as callMigrate, f as migrateTargetOf, j as callVector, k as callData, l as SqliteSettingsBackend, o as createVectorIndex, s as vectorProviderOf, u as HUB_MIGRATIONS, v as serializeError, w as trustInput } from "./wal-maintenance-
|
|
1
|
+
import { A as callRecords, C as isFileHostWorkerData, D as RecordsEngine, M as controlTargetOf, O as callControl, S as isFileHostRequest, a as WalMaintenance, b as collectTransferables, d as callMigrate, f as migrateTargetOf, j as callVector, k as callData, l as SqliteSettingsBackend, o as createVectorIndex, s as vectorProviderOf, u as HUB_MIGRATIONS, v as serializeError, w as trustInput } from "./wal-maintenance-CekT_qH6.mjs";
|
|
2
2
|
import { parentPort, threadId, workerData } from "node:worker_threads";
|
|
3
3
|
//#region src/builtins/sqlite-storage/file-host-worker.ts
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-CHC8tlB1.js");
|
|
3
3
|
const require_x509_es = require("./x509.es-WtnRNyYS.js");
|
|
4
4
|
let zod = require("zod");
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { hl as defineRecordKinds } from "./dist-DiknL6UU.mjs";
|
|
2
2
|
import { C as backdatedNotBefore, S as withUtcTimeEncoding, _ as NameConstraints, a as KeyUsageFlags, c as Pkcs10CertificateRequest, d as SubjectKeyIdentifierExtension, f as X509Certificate$1, g as GeneralSubtrees, h as GeneralSubtree, i as Extension, l as Pkcs10CertificateRequestGenerator, m as cryptoProvider, n as BasicConstraintsExtension, o as KeyUsagesExtension, p as X509CertificateGenerator, r as ExtendedKeyUsageExtension, s as PemConverter, t as AuthorityKeyIdentifierExtension, u as SubjectAlternativeNameExtension, v as GeneralName, x as AsnConvert } from "./x509.es-BRiJgOvu.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { X509Certificate, createHash, createPrivateKey, randomBytes, webcrypto } from "node:crypto";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-CHC8tlB1.js");
|
|
3
3
|
const require_x509_es = require("./x509.es-WtnRNyYS.js");
|
|
4
|
-
const require_hub_identity = require("./hub-identity-
|
|
4
|
+
const require_hub_identity = require("./hub-identity-BM26oLpK.js");
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
6
6
|
let _camstack_types_node = require("@camstack/types/node");
|
|
7
7
|
let node_fs = require("node:fs");
|