@camstack/server 1.2.939 → 1.2.941
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 +12 -0
- package/package.json +7 -7
- package/system/dist/builtins/alerts/alerts.addon.js +1 -1
- package/system/dist/builtins/alerts/alerts.addon.mjs +1 -1
- package/system/dist/builtins/composer/composer.addon.js +3 -3
- package/system/dist/builtins/composer/composer.addon.mjs +3 -3
- package/system/dist/builtins/core-blocks/core-blocks.addon.js +4 -4
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +4 -4
- package/system/dist/builtins/device-manager/device-manager.addon.js +4 -4
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +4 -4
- package/system/dist/{composition-sources-DgayqgHH.mjs → composition-sources-B56CU8hi.mjs} +1 -1
- package/system/dist/{composition-sources-DCi-ldEb.js → composition-sources-D_Bfwji0.js} +1 -1
- package/system/dist/{core-blocks.cap-CWKQSevR.mjs → core-blocks.cap-DDECcMeI.mjs} +12 -14
- package/system/dist/{core-blocks.cap-yLx6soaY.js → core-blocks.cap-xt5_fK5Z.js} +12 -14
- package/system/dist/index.js +2 -2
- package/system/dist/index.mjs +2 -2
- package/system/dist/{prefix-walk-BrrMuJBM.mjs → prefix-walk-BhT0ZoKl.mjs} +1 -1
- package/system/dist/{prefix-walk-BRlQiqVg.js → prefix-walk-CCO_VZVo.js} +1 -1
- package/system/dist/{rename-composition-block-D44wnN_m.js → rename-composition-block-CH2vRIW7.js} +20 -21
- package/system/dist/{rename-composition-block-SPaUkmam.mjs → rename-composition-block-DWUkrazx.mjs} +20 -21
- package/system/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.2.941] - 2026-11-22
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Rebuilt against updated dependencies.
|
|
15
|
+
|
|
16
|
+
## [1.2.940] - 2026-11-22
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- Rebuilt against updated dependencies.
|
|
21
|
+
|
|
10
22
|
## [1.2.939] - 2026-11-22
|
|
11
23
|
|
|
12
24
|
### Changed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/server",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.941",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
],
|
|
67
67
|
"requires": {
|
|
68
68
|
"addons": {
|
|
69
|
-
"@camstack/addon-
|
|
69
|
+
"@camstack/addon-pipeline": ">=1.2.681"
|
|
70
70
|
},
|
|
71
71
|
"wrapper": {
|
|
72
72
|
"desktop": ">=0.0.1",
|
|
@@ -75,19 +75,19 @@
|
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
|
-
"@camstack/addon-admin-ui": "1.2.
|
|
79
|
-
"@camstack/addon-agent-ui": "1.2.
|
|
78
|
+
"@camstack/addon-admin-ui": "1.2.737",
|
|
79
|
+
"@camstack/addon-agent-ui": "1.2.435",
|
|
80
80
|
"@camstack/addon-auth": "1.2.183",
|
|
81
81
|
"@camstack/addon-benchmark": "1.2.315",
|
|
82
82
|
"@camstack/addon-decoder-nodeav": "1.2.150",
|
|
83
83
|
"@camstack/addon-notifiers": "1.2.642",
|
|
84
|
-
"@camstack/addon-pipeline": "1.2.
|
|
84
|
+
"@camstack/addon-pipeline": "1.2.681",
|
|
85
85
|
"@camstack/addon-pipeline-orchestrator": "1.2.716",
|
|
86
86
|
"@camstack/addon-post-analysis": "1.2.722",
|
|
87
87
|
"@camstack/develop": "0.1.56",
|
|
88
88
|
"@camstack/sdk": "1.2.160",
|
|
89
|
-
"@camstack/types": "1.2.
|
|
90
|
-
"@camstack/ui-library": "1.2.
|
|
89
|
+
"@camstack/types": "1.2.625",
|
|
90
|
+
"@camstack/ui-library": "1.2.498",
|
|
91
91
|
"@fastify/compress": "^9.0.0",
|
|
92
92
|
"@fastify/cookie": "^11.0.2",
|
|
93
93
|
"@fastify/cors": "^11.2.0",
|
|
@@ -6,7 +6,7 @@ const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
|
6
6
|
const require_base_addon = require("../../base-addon-DD5dIfcZ.js");
|
|
7
7
|
const require_scoped_settings = require("../../scoped-settings-CylSSq_8.js");
|
|
8
8
|
const require_record_kind = require("../../record-kind-DoBfYHCs.js");
|
|
9
|
-
const require_core_blocks_cap = require("../../core-blocks.cap-
|
|
9
|
+
const require_core_blocks_cap = require("../../core-blocks.cap-xt5_fK5Z.js");
|
|
10
10
|
const require_error_cap = require("../../error.cap-BxLEHP6z.js");
|
|
11
11
|
const require_read_all_rows$1 = require("../../read-all-rows-CVoO1ONM.js");
|
|
12
12
|
const require_log_redactor = require("../../log-redactor-BhIEMaG9.js");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { b as EventCategory, p as createEvent, t as BaseAddon } from "../../base-addon-Md14i7pe.mjs";
|
|
2
2
|
import { Z as errMsg } from "../../scoped-settings-DVWUIP7Z.mjs";
|
|
3
3
|
import { s as defineRecordKinds } from "../../record-kind-ub6NXqfh.mjs";
|
|
4
|
-
import { it as alertsCapability, n as CORE_BLOCK_ADDON_PREFIX, rt as AlertSchema } from "../../core-blocks.cap-
|
|
4
|
+
import { it as alertsCapability, n as CORE_BLOCK_ADDON_PREFIX, rt as AlertSchema } from "../../core-blocks.cap-DDECcMeI.mjs";
|
|
5
5
|
import { t as DeviceFaultSchema } from "../../error.cap-DCwbIGEF.mjs";
|
|
6
6
|
import { t as require_read_all_rows } from "../../read-all-rows-TaPqdWNF.mjs";
|
|
7
7
|
import { a as redactLogText } from "../../log-redactor-XLDrPzOi.mjs";
|
|
@@ -6,14 +6,14 @@ require("../../chunk-Cek0wNdY.js");
|
|
|
6
6
|
const require_stream_catalog_cap = require("../../stream-catalog.cap-D8Y-uXcy.js");
|
|
7
7
|
const require_base_addon = require("../../base-addon-DD5dIfcZ.js");
|
|
8
8
|
const require_scoped_settings = require("../../scoped-settings-CylSSq_8.js");
|
|
9
|
-
const require_rename_composition_block = require("../../rename-composition-block-
|
|
9
|
+
const require_rename_composition_block = require("../../rename-composition-block-CH2vRIW7.js");
|
|
10
10
|
const require_quantity = require("../../quantity-lY1KiTSZ.js");
|
|
11
11
|
const require_device_type = require("../../device-type-CbQsnFdC.js");
|
|
12
|
-
const require_core_blocks_cap = require("../../core-blocks.cap-
|
|
12
|
+
const require_core_blocks_cap = require("../../core-blocks.cap-xt5_fK5Z.js");
|
|
13
13
|
const require_addon_settings_cap = require("../../addon-settings.cap-DrLdMFIe.js");
|
|
14
14
|
const require_error_cap = require("../../error.cap-BxLEHP6z.js");
|
|
15
15
|
const require_source_info = require("../../source-info-DtWf4k2j.js");
|
|
16
|
-
const require_composition_sources = require("../../composition-sources-
|
|
16
|
+
const require_composition_sources = require("../../composition-sources-D_Bfwji0.js");
|
|
17
17
|
const require_declared_device = require("../../declared-device-BWphj9WE.js");
|
|
18
18
|
const require_base_device = require("../../base-device-CH8rfD9j.js");
|
|
19
19
|
const require_capture_engine = require("../../capture-engine-mtDXEBAq.js");
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { i as motionCapability } from "../../stream-catalog.cap-D1Hy19Yc.mjs";
|
|
2
2
|
import { b as EventCategory, p as createEvent, t as BaseAddon } from "../../base-addon-Md14i7pe.mjs";
|
|
3
3
|
import { Z as errMsg } from "../../scoped-settings-DVWUIP7Z.mjs";
|
|
4
|
-
import { An as colorCapability, E as valveCapability, En as consumablesCapability, Jt as groupCommandsCapability, Kt as GroupCommandResultSchema, Ln as brightnessCapability, Nn as HvacModeSchema, On as composerCapability, Pn as climateControlCapability, U as RUNNING_CUSTOMIZE_DEVICE_TYPES, c as kebabToCamel, ct as petFountainWaterItem, gt as lockControlCapability, in as FanDirectionSchema, jn as parseColorInput, m as ALL_CAPABILITY_DEFINITIONS, n as renameCompositionBlock, ot as PetFountainStatusSchema, sn as fanControlCapability, st as petFountainCapability, wn as ConsumableItemSchema, xn as coverCapability, z as switchCapability } from "../../rename-composition-block-
|
|
4
|
+
import { An as colorCapability, E as valveCapability, En as consumablesCapability, Jt as groupCommandsCapability, Kt as GroupCommandResultSchema, Ln as brightnessCapability, Nn as HvacModeSchema, On as composerCapability, Pn as climateControlCapability, U as RUNNING_CUSTOMIZE_DEVICE_TYPES, c as kebabToCamel, ct as petFountainWaterItem, gt as lockControlCapability, in as FanDirectionSchema, jn as parseColorInput, m as ALL_CAPABILITY_DEFINITIONS, n as renameCompositionBlock, ot as PetFountainStatusSchema, sn as fanControlCapability, st as petFountainCapability, wn as ConsumableItemSchema, xn as coverCapability, z as switchCapability } from "../../rename-composition-block-DWUkrazx.mjs";
|
|
5
5
|
import { i as isReadingQuantity } from "../../quantity-D3g5SxsZ.mjs";
|
|
6
6
|
import { i as featuresOfBoundCaps, r as DeviceType, t as DeviceFeature } from "../../device-type-DgEvK3ch.mjs";
|
|
7
|
-
import { D as featureForwards, E as commandedMethods, O as COMPOSED_ITEM_FIXED_FIELDS, g as planComposition, j as mediaPlayerCapability, k as expressionContainsBuiltinCall, nt as compositionFieldKey, p as buildCapabilityLookup } from "../../core-blocks.cap-
|
|
7
|
+
import { D as featureForwards, E as commandedMethods, O as COMPOSED_ITEM_FIXED_FIELDS, g as planComposition, j as mediaPlayerCapability, k as expressionContainsBuiltinCall, nt as compositionFieldKey, p as buildCapabilityLookup } from "../../core-blocks.cap-DDECcMeI.mjs";
|
|
8
8
|
import { a as tryConvertUnit } from "../../addon-settings.cap-CZ4MC7ha.mjs";
|
|
9
9
|
import { $ as openStatistic, A as compositionItemFieldPath, D as composedDeviceRef, G as DEFAULT_HISTORY_RETENTION, H as isHistoryHelper, J as HOUR_MS, K as HISTORY_FAST_MS, L as isForwardInputRef, M as compositionSliceKey, N as compositionSourceKey, O as composedDeviceStableId, Q as openReset, V as isEngineHostedHelper, X as historyRetentionFromSettings, Y as MINUTE_MS, Z as nextLocalMidnight, _ as groupTemplate, _t as evaluateCount, at as integrateReading, ct as evaluateExpressionSource, et as planResetTier, g as sharedColorModes, gt as disarmRoseMemory, h as runFanOut, it as evaluateStatistic, k as compositionFeatureEnabled, lt as evaluateStatefulExpressionCall, m as fanOutTargets, nt as statisticCadenceMs, ot as cloneStatefulExpressionMemory, p as declaredSeriesKind, q as HISTORY_SLOW_MS, rt as evaluateDerivative, st as createStatefulExpressionMemory, tt as planStatisticTier, ut as toExpressionValue, x as COMPOSER_ADDON_ID } from "../../error.cap-DCwbIGEF.mjs";
|
|
10
10
|
import { a as normalizeUnit } from "../../source-info-DGB7SdB_.mjs";
|
|
11
|
-
import { n as normalizedNativeOwner, r as compileScalarOverride } from "../../composition-sources-
|
|
11
|
+
import { n as normalizedNativeOwner, r as compileScalarOverride } from "../../composition-sources-B56CU8hi.mjs";
|
|
12
12
|
import { t as DeclaredDevices } from "../../declared-device-CKERA1Hi.mjs";
|
|
13
13
|
import { t as BaseDevice } from "../../base-device-BcGO6LTT.mjs";
|
|
14
14
|
import { i as capSeriesKey, m as parseConfirmedStateChanged, p as isRecord$4 } from "../../capture-engine-CUZ3W0oZ.mjs";
|
|
@@ -3,7 +3,7 @@ const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
|
3
3
|
const require_stream_catalog_cap = require("../../stream-catalog.cap-D8Y-uXcy.js");
|
|
4
4
|
const require_base_addon = require("../../base-addon-DD5dIfcZ.js");
|
|
5
5
|
const require_scoped_settings = require("../../scoped-settings-CylSSq_8.js");
|
|
6
|
-
const require_rename_composition_block = require("../../rename-composition-block-
|
|
6
|
+
const require_rename_composition_block = require("../../rename-composition-block-CH2vRIW7.js");
|
|
7
7
|
const require_notification_targets = require("../../notification-targets-Cc_3OBH9.js");
|
|
8
8
|
const require_notification_rules_cap = require("../../notification-rules.cap-Drwz-A4n.js");
|
|
9
9
|
const require_record_kind = require("../../record-kind-DoBfYHCs.js");
|
|
@@ -14,13 +14,13 @@ const require_quantity = require("../../quantity-lY1KiTSZ.js");
|
|
|
14
14
|
const require_tag = require("../../tag-BxLazvVb.js");
|
|
15
15
|
const require_device_type = require("../../device-type-CbQsnFdC.js");
|
|
16
16
|
const require_device_kind = require("../../device-kind-CsSiv_YF.js");
|
|
17
|
-
const require_core_blocks_cap = require("../../core-blocks.cap-
|
|
17
|
+
const require_core_blocks_cap = require("../../core-blocks.cap-xt5_fK5Z.js");
|
|
18
18
|
const require_error_cap = require("../../error.cap-BxLEHP6z.js");
|
|
19
|
-
const require_prefix_walk = require("../../prefix-walk-
|
|
19
|
+
const require_prefix_walk = require("../../prefix-walk-CCO_VZVo.js");
|
|
20
20
|
const require_l10n = require("../../l10n-CGMvp7NF.js");
|
|
21
21
|
const require_integration_instances_cap = require("../../integration-instances.cap-DSieF1w3.js");
|
|
22
22
|
const require_cap_call_context = require("../../cap-call-context-Bd76CbOW.js");
|
|
23
|
-
const require_composition_sources = require("../../composition-sources-
|
|
23
|
+
const require_composition_sources = require("../../composition-sources-D_Bfwji0.js");
|
|
24
24
|
const require_declared_device = require("../../declared-device-BWphj9WE.js");
|
|
25
25
|
const require_read_all_rows$1 = require("../../read-all-rows-CVoO1ONM.js");
|
|
26
26
|
const require_capture_engine = require("../../capture-engine-mtDXEBAq.js");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as MotionStatusSchema } from "../../stream-catalog.cap-D1Hy19Yc.mjs";
|
|
2
2
|
import { _ as hydrateSchema, a as isSecretRefOwnedBy, b as EventCategory$1, f as defineAddonMigrations, i as collectSecretMarkerRefs, l as RecordIntegrationInstances, o as resolveSecretMarkers, r as secretTreeFromSchema, s as transformSecretWrite, t as BaseAddon } from "../../base-addon-Md14i7pe.mjs";
|
|
3
3
|
import { W as isSecretMarker, Z as errMsg$1 } from "../../scoped-settings-DVWUIP7Z.mjs";
|
|
4
|
-
import { $ as RemoteLayoutPayloadSchema, $n as unitsForQuantity, $t as FanPresetSchema, A as TemplateKindSchema, At as measurementFitsRole, B as SmokeStatusSchema, Bn as AutomationControlStatusSchema, Bt as timedRunRemaining, C as WaterHeaterStatusSchema, Cn as ContactStatusSchema, Ct as projectDeviceRow, D as VacuumControlStatusSchema, Dn as COMPOSER_RUNNER_ID, Dt as contactMeasurement, Et as resolveHeroSceneId, F as TamperStatusSchema, Fn as CarbonMonoxideStatusSchema, Ft as TimedRunStatusSchema, G as hasOwnRunningPowerDefaults, Gt as GroupStatusSchema, H as schedulersCapability, Hn as AirQualitySensorStatusSchema, Ht as HeatingValveStatusSchema, I as tagsCapability, In as BrightnessStatusSchema, It as timedRunCapability, J as REMOTE_MEDIA_COMMANDS, K as runningPowerDefaultsFor, Kn as actionWaitTotalMs, L as SWITCH_DEFAULT_OPTIONS, Lt as timedRunLimitOf, M as AutomationTemplatePayloadSchema, Mn as ClimateControlStatusSchema, Mt as temperatureMeasurement, N as reexpandAutomationInstance, Nt as textMeasurement, O as UpdateStatusSchema, Ot as emptyMeasurement, P as TemperatureSensorStatusSchema, Pt as NOT_REPORTED, Q as RemoteAssumedStateSchema, Qn as baseUnitForQuantity, Qt as FAN_CAPTURE_FIELDS, R as SwitchStatusSchema, Rn as BinaryStatusSchema, Rt as timedRunMaxIn, S as WeatherStatusSchema, Sn as ControlStatusSchema, St as ROW_READING_FACT_IDS, T as ValveStatusSchema, Tn as ConsumablesStatusSchema, Tt as REMOTE_OPEN_ACTION_ID, Ut as HeatPumpStatusSchema, V as ScriptRunnerStatusSchema, Vn as AmbientLightSensorStatusSchema, Vt as timedRunSeconds, W as RunningStateStatusSchema, Wn as actionsCapability, Wt as heatPumpInstantCop, X as EMPTY_REMOTE_ASSUMED_STATE, Xn as normalizeActionUnits, Xt as GasStatusSchema, Y as remoteCapability, Yn as capUnitResolver, Yt as GroupActiveSchema, Z as EMPTY_REMOTE_CONFIG, Zn as normalizeRecipeUnits, Zt as FloodStatusSchema, _ as WorkloadStatusSchema, _t as LawnMowerControlStatusSchema, an as SetOscillationAxisInputSchema, ar as addonIdOfActionId, bn as CoverStatusSchema, bt as HumidifierStatusSchema, c as kebabToCamel, cn as EnumSensorStatusSchema, cr as resolveActionVariables, dn as DishwasherStatusSchema, dt as NumericSensorStatusSchema, en as fanPresetsCapability, er as ActionError, et as readStoredRemoteConfig, ft as NetworkLinkStatusSchema, ht as LockControlStatusSchema, ir as INTERNAL_ACTION_PREFIX, it as PowerMeterStatusSchema, j as checkTemplatePayload, jt as powerMeasurement, k as templateCapability, kn as ColorStatusSchema, kt as humidityMeasurement, ln as DoorbellStatusSchema, lr as EventEmitterStatusSchema, lt as PetFeederStatusSchema, m as ALL_CAPABILITY_DEFINITIONS, mt as MeterStatusSchema, nn as FAN_OSCILLATION_AXIS_SETTABLE, nr as ActionVariableSchema, nt as PressureSensorStatusSchema, on as fanAxisPath, or as internalActionId, ot as PetFountainStatusSchema, pt as MotionTriggerStatusSchema, q as remoteLayoutComponentsCapability, qn as actionSourceCapability, qt as GroupCommandsSchema, rn as FanControlStatusSchema, rr as IDLE_ACTION_STATUS, rt as PresenceStatusSchema, sr as isInternalActionId, t as composedBlockIdOf, tn as FAN_OSCILLATION_AXES, tr as ActionMinDelaySecSchema, tt as PumpCycleStatusSchema, un as DoNotDisturbStatusSchema, vt as ImageStatusSchema, w as VibrationStatusSchema, wt as HERO_SCENE_ROW_IDS, x as WeatherStationStatusSchema, xt as heroLayoutCapability, yt as HumiditySensorStatusSchema, zn as BatteryStatusSchema, zt as timedRunQuickRun } from "../../rename-composition-block-
|
|
4
|
+
import { $ as RemoteLayoutPayloadSchema, $n as unitsForQuantity, $t as FanPresetSchema, A as TemplateKindSchema, At as measurementFitsRole, B as SmokeStatusSchema, Bn as AutomationControlStatusSchema, Bt as timedRunRemaining, C as WaterHeaterStatusSchema, Cn as ContactStatusSchema, Ct as projectDeviceRow, D as VacuumControlStatusSchema, Dn as COMPOSER_RUNNER_ID, Dt as contactMeasurement, Et as resolveHeroSceneId, F as TamperStatusSchema, Fn as CarbonMonoxideStatusSchema, Ft as TimedRunStatusSchema, G as hasOwnRunningPowerDefaults, Gt as GroupStatusSchema, H as schedulersCapability, Hn as AirQualitySensorStatusSchema, Ht as HeatingValveStatusSchema, I as tagsCapability, In as BrightnessStatusSchema, It as timedRunCapability, J as REMOTE_MEDIA_COMMANDS, K as runningPowerDefaultsFor, Kn as actionWaitTotalMs, L as SWITCH_DEFAULT_OPTIONS, Lt as timedRunLimitOf, M as AutomationTemplatePayloadSchema, Mn as ClimateControlStatusSchema, Mt as temperatureMeasurement, N as reexpandAutomationInstance, Nt as textMeasurement, O as UpdateStatusSchema, Ot as emptyMeasurement, P as TemperatureSensorStatusSchema, Pt as NOT_REPORTED, Q as RemoteAssumedStateSchema, Qn as baseUnitForQuantity, Qt as FAN_CAPTURE_FIELDS, R as SwitchStatusSchema, Rn as BinaryStatusSchema, Rt as timedRunMaxIn, S as WeatherStatusSchema, Sn as ControlStatusSchema, St as ROW_READING_FACT_IDS, T as ValveStatusSchema, Tn as ConsumablesStatusSchema, Tt as REMOTE_OPEN_ACTION_ID, Ut as HeatPumpStatusSchema, V as ScriptRunnerStatusSchema, Vn as AmbientLightSensorStatusSchema, Vt as timedRunSeconds, W as RunningStateStatusSchema, Wn as actionsCapability, Wt as heatPumpInstantCop, X as EMPTY_REMOTE_ASSUMED_STATE, Xn as normalizeActionUnits, Xt as GasStatusSchema, Y as remoteCapability, Yn as capUnitResolver, Yt as GroupActiveSchema, Z as EMPTY_REMOTE_CONFIG, Zn as normalizeRecipeUnits, Zt as FloodStatusSchema, _ as WorkloadStatusSchema, _t as LawnMowerControlStatusSchema, an as SetOscillationAxisInputSchema, ar as addonIdOfActionId, bn as CoverStatusSchema, bt as HumidifierStatusSchema, c as kebabToCamel, cn as EnumSensorStatusSchema, cr as resolveActionVariables, dn as DishwasherStatusSchema, dt as NumericSensorStatusSchema, en as fanPresetsCapability, er as ActionError, et as readStoredRemoteConfig, ft as NetworkLinkStatusSchema, ht as LockControlStatusSchema, ir as INTERNAL_ACTION_PREFIX, it as PowerMeterStatusSchema, j as checkTemplatePayload, jt as powerMeasurement, k as templateCapability, kn as ColorStatusSchema, kt as humidityMeasurement, ln as DoorbellStatusSchema, lr as EventEmitterStatusSchema, lt as PetFeederStatusSchema, m as ALL_CAPABILITY_DEFINITIONS, mt as MeterStatusSchema, nn as FAN_OSCILLATION_AXIS_SETTABLE, nr as ActionVariableSchema, nt as PressureSensorStatusSchema, on as fanAxisPath, or as internalActionId, ot as PetFountainStatusSchema, pt as MotionTriggerStatusSchema, q as remoteLayoutComponentsCapability, qn as actionSourceCapability, qt as GroupCommandsSchema, rn as FanControlStatusSchema, rr as IDLE_ACTION_STATUS, rt as PresenceStatusSchema, sr as isInternalActionId, t as composedBlockIdOf, tn as FAN_OSCILLATION_AXES, tr as ActionMinDelaySecSchema, tt as PumpCycleStatusSchema, un as DoNotDisturbStatusSchema, vt as ImageStatusSchema, w as VibrationStatusSchema, wt as HERO_SCENE_ROW_IDS, x as WeatherStationStatusSchema, xt as heroLayoutCapability, yt as HumiditySensorStatusSchema, zn as BatteryStatusSchema, zt as timedRunQuickRun } from "../../rename-composition-block-DWUkrazx.mjs";
|
|
5
5
|
import { r as listNotificationTargets } from "../../notification-targets-DR-D-vIt.mjs";
|
|
6
6
|
import { i as NcTaggedRuleKindSchema, o as AlarmPanelStatusSchema, u as NotificationSchema } from "../../notification-rules.cap-0vVvsxQ1.mjs";
|
|
7
7
|
import { s as defineRecordKinds } from "../../record-kind-ub6NXqfh.mjs";
|
|
@@ -12,13 +12,13 @@ import { n as baseUnitOf } from "../../quantity-D3g5SxsZ.mjs";
|
|
|
12
12
|
import { a as defaultTagColorId, c as renameInTags, i as TagsFieldSchema, l as tagKey, n as TagNameSchema, o as normalizeTags, r as TagStyleSchema, s as removeFromTags } from "../../tag-uZBAq6ox.mjs";
|
|
13
13
|
import { n as DeviceRole, r as DeviceType$1, t as DeviceFeature } from "../../device-type-DgEvK3ch.mjs";
|
|
14
14
|
import { r as isAirConditioner, t as canonicalStoredDeviceType } from "../../device-kind-BJ2pfsjw.mjs";
|
|
15
|
-
import { A as MediaPlayerStatusSchema, C as PowerSourceStateSchema, Ct as HTTP_TEXT_CAP, Dt as stepGuardOf, Et as stepConditionsOf, I as remoteSourceSteps, It as forEachLeaf, J as capLinkServedFields, Kt as QuantityUnitError, L as resolveRemoteSource, Lt as hasEventLeaves, Ot as validateRecipeBounds, P as findChannelSource, Q as CAP_CUSTOMIZE_CATALOG, Rt as isEventLeaf, S as PowerSourceInfoSchema, St as AutomationRecipeSchema, Tt as nestedStepsOf, U as toTimings, Vt as holdOf, X as expandCapLinks, Y as declaredCapLink, Z as projectCapLinkOf, _ as replacedFieldKeys, _n as vocabCall, _t as SchedulerSchema, a as coreBlockComposition, an as weekdayOfLocalDate, b as powerSourceActuatorConflicts, bt as ActionStepSchema, c as coreBlocksCapability, cn as ACTION_TARGET_INVALIDATION_EVENTS, ct as EMPTY_AUTOMATION_STATE, d as resolveCoreBlockFiles, dn as VocabActionError, dt as DEFAULT_HOLD_OVERRIDE, f as describeComposableCaps, fn as actionEffect, g as planComposition, gn as vocabActionIdFor, h as compositionUnionReads, hn as findVocabAction, i as coreBlockAddonId, in as siteFor, l as normalizeCoreBlockWrite, ln as ActionTargetResolver, lt as appendTrace, m as compositionSourceRefs, mn as assertDeviceOffers, mt as SchedulerError, n as CORE_BLOCK_ADDON_PREFIX, nn as nextOccurrence, o as coreBlockIdFromAddonId, on as zoneOnlySite, p as buildCapabilityLookup, r as CoreBlockSchema, rn as occurrenceOn, s as coreBlockSourceKind, st as AutomationStateDocSchema, t as CORE_BLOCKS_ADDON_ID, tn as localDateOf, u as resolveCoreBlockEntry, un as canonicalStoredStepTargets, ut as buildStepArgsTrace, v as topLevelFieldsOf, w as powerSourceCapability, wt as REPEAT_ITEM_VAR, x as powerSourceLinkOfComposition, y as validateComposition, yt as validateSchedulerInput, z as customKeyOfRole, zt as compareValues } from "../../core-blocks.cap-
|
|
15
|
+
import { A as MediaPlayerStatusSchema, C as PowerSourceStateSchema, Ct as HTTP_TEXT_CAP, Dt as stepGuardOf, Et as stepConditionsOf, I as remoteSourceSteps, It as forEachLeaf, J as capLinkServedFields, Kt as QuantityUnitError, L as resolveRemoteSource, Lt as hasEventLeaves, Ot as validateRecipeBounds, P as findChannelSource, Q as CAP_CUSTOMIZE_CATALOG, Rt as isEventLeaf, S as PowerSourceInfoSchema, St as AutomationRecipeSchema, Tt as nestedStepsOf, U as toTimings, Vt as holdOf, X as expandCapLinks, Y as declaredCapLink, Z as projectCapLinkOf, _ as replacedFieldKeys, _n as vocabCall, _t as SchedulerSchema, a as coreBlockComposition, an as weekdayOfLocalDate, b as powerSourceActuatorConflicts, bt as ActionStepSchema, c as coreBlocksCapability, cn as ACTION_TARGET_INVALIDATION_EVENTS, ct as EMPTY_AUTOMATION_STATE, d as resolveCoreBlockFiles, dn as VocabActionError, dt as DEFAULT_HOLD_OVERRIDE, f as describeComposableCaps, fn as actionEffect, g as planComposition, gn as vocabActionIdFor, h as compositionUnionReads, hn as findVocabAction, i as coreBlockAddonId, in as siteFor, l as normalizeCoreBlockWrite, ln as ActionTargetResolver, lt as appendTrace, m as compositionSourceRefs, mn as assertDeviceOffers, mt as SchedulerError, n as CORE_BLOCK_ADDON_PREFIX, nn as nextOccurrence, o as coreBlockIdFromAddonId, on as zoneOnlySite, p as buildCapabilityLookup, r as CoreBlockSchema, rn as occurrenceOn, s as coreBlockSourceKind, st as AutomationStateDocSchema, t as CORE_BLOCKS_ADDON_ID, tn as localDateOf, u as resolveCoreBlockEntry, un as canonicalStoredStepTargets, ut as buildStepArgsTrace, v as topLevelFieldsOf, w as powerSourceCapability, wt as REPEAT_ITEM_VAR, x as powerSourceLinkOfComposition, y as validateComposition, yt as validateSchedulerInput, z as customKeyOfRole, zt as compareValues } from "../../core-blocks.cap-DDECcMeI.mjs";
|
|
16
16
|
import { B as helperMembers, D as composedDeviceRef, E as canonicalStoredBlockTarget, N as compositionSourceKey, O as composedDeviceStableId, T as CompositionSchema, W as DAY_MS, X as historyRetentionFromSettings, k as compositionFeatureEnabled, vt as evaluateDwell, x as COMPOSER_ADDON_ID, z as HelperMemberSchema } from "../../error.cap-DCwbIGEF.mjs";
|
|
17
|
-
import { a as evaluateWhenTree, c as nextTimeBoundaryInMs, i as collectWhenMirrorSources, l as stableIdMapOf, n as unwrapStoredValue, o as hasHoldLeaves, r as ConditionMirror, s as hasTimeLeaves, t as loadPrefixed } from "../../prefix-walk-
|
|
17
|
+
import { a as evaluateWhenTree, c as nextTimeBoundaryInMs, i as collectWhenMirrorSources, l as stableIdMapOf, n as unwrapStoredValue, o as hasHoldLeaves, r as ConditionMirror, s as hasTimeLeaves, t as loadPrefixed } from "../../prefix-walk-BhT0ZoKl.mjs";
|
|
18
18
|
import { t } from "../../l10n-Bu6aUvSY.mjs";
|
|
19
19
|
import { t as integrationInstancesCapability } from "../../integration-instances.cap-BWttO42A.mjs";
|
|
20
20
|
import { t as commandOrigin$1 } from "../../cap-call-context-DNwdgGSQ.mjs";
|
|
21
|
-
import { r as compileScalarOverride, t as describeCompositionSources } from "../../composition-sources-
|
|
21
|
+
import { r as compileScalarOverride, t as describeCompositionSources } from "../../composition-sources-B56CU8hi.mjs";
|
|
22
22
|
import { r as seedInstanceOnce, t as DeclaredDevices } from "../../declared-device-CKERA1Hi.mjs";
|
|
23
23
|
import { t as require_read_all_rows } from "../../read-all-rows-TaPqdWNF.mjs";
|
|
24
24
|
import { i as capSeriesKey, m as parseConfirmedStateChanged, p as isRecord$1 } from "../../capture-engine-CUZ3W0oZ.mjs";
|
|
@@ -6,7 +6,7 @@ const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
|
6
6
|
const require_stream_catalog_cap = require("../../stream-catalog.cap-D8Y-uXcy.js");
|
|
7
7
|
const require_base_addon = require("../../base-addon-DD5dIfcZ.js");
|
|
8
8
|
const require_scoped_settings = require("../../scoped-settings-CylSSq_8.js");
|
|
9
|
-
const require_rename_composition_block = require("../../rename-composition-block-
|
|
9
|
+
const require_rename_composition_block = require("../../rename-composition-block-CH2vRIW7.js");
|
|
10
10
|
const require_camstack_error = require("../../camstack-error-DJ-TUAi1.js");
|
|
11
11
|
const require_capability_definition = require("../../capability-definition-BEVd01Xj.js");
|
|
12
12
|
const require_zod_secret = require("../../zod-secret-DS7mj1bk.js");
|
|
@@ -15,11 +15,11 @@ const require_device_identifiers = require("../../device-identifiers-BQg9EQi1.js
|
|
|
15
15
|
const require_tag = require("../../tag-BxLazvVb.js");
|
|
16
16
|
const require_device_type = require("../../device-type-CbQsnFdC.js");
|
|
17
17
|
const require_device_kind = require("../../device-kind-CsSiv_YF.js");
|
|
18
|
-
const require_core_blocks_cap = require("../../core-blocks.cap-
|
|
18
|
+
const require_core_blocks_cap = require("../../core-blocks.cap-xt5_fK5Z.js");
|
|
19
19
|
const require_addon_settings_cap = require("../../addon-settings.cap-DrLdMFIe.js");
|
|
20
20
|
require("../../error.cap-BxLEHP6z.js");
|
|
21
21
|
const require_source_info = require("../../source-info-DtWf4k2j.js");
|
|
22
|
-
const require_prefix_walk = require("../../prefix-walk-
|
|
22
|
+
const require_prefix_walk = require("../../prefix-walk-CCO_VZVo.js");
|
|
23
23
|
const require_read_all_rows$1 = require("../../read-all-rows-CVoO1ONM.js");
|
|
24
24
|
const require_log_redactor = require("../../log-redactor-BhIEMaG9.js");
|
|
25
25
|
const require_prefix_range = require("../../prefix-range-D_KueXbQ.js");
|
|
@@ -2100,7 +2100,7 @@ var METHOD_ACCESS_MAP = /* @__PURE__ */ Object.freeze({
|
|
|
2100
2100
|
capScope: "system",
|
|
2101
2101
|
addonId: null,
|
|
2102
2102
|
access: "view",
|
|
2103
|
-
role: "
|
|
2103
|
+
role: "viewer"
|
|
2104
2104
|
},
|
|
2105
2105
|
"coreBlocks.getComposition": {
|
|
2106
2106
|
capName: "core-blocks",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { E as deviceStatusCapability, T as DeviceStatusSchema } from "../../stream-catalog.cap-D1Hy19Yc.mjs";
|
|
2
2
|
import { b as EventCategory$1, g as WELL_KNOWN_TAB_MAP, n as secretTreeFromPaths, o as resolveSecretMarkers, s as transformSecretWrite, t as BaseAddon } from "../../base-addon-Md14i7pe.mjs";
|
|
3
3
|
import { B as SECRET_CLEAR, G as isSecretMarkerLike, H as isSecretClear, W as isSecretMarker, X as isKeychainStoredField, Z as errMsg$1, q as toSecretFieldView } from "../../scoped-settings-DVWUIP7Z.mjs";
|
|
4
|
-
import { Jn as ExportNameRefusedError, _n as deviceStateCapability, b as workloadTransition, c as kebabToCamel, fn as PUSH_CONFIRM_WINDOW_MS, g as WorkloadStateSchema, gn as FieldClaimSchema, h as WORKLOAD_TRANSITION_CATEGORY, hn as FieldClaimModeSchema, m as ALL_CAPABILITY_DEFINITIONS, mn as effectiveRefreshIntervalMs, n as renameCompositionBlock, pn as commandBurstOffsets, t as composedBlockIdOf, v as isWorkloadSettled, vn as deviceExtensionCapability, y as workloadCapability, yn as EXTENSION_SLOTS } from "../../rename-composition-block-
|
|
4
|
+
import { Jn as ExportNameRefusedError, _n as deviceStateCapability, b as workloadTransition, c as kebabToCamel, fn as PUSH_CONFIRM_WINDOW_MS, g as WorkloadStateSchema, gn as FieldClaimSchema, h as WORKLOAD_TRANSITION_CATEGORY, hn as FieldClaimModeSchema, m as ALL_CAPABILITY_DEFINITIONS, mn as effectiveRefreshIntervalMs, n as renameCompositionBlock, pn as commandBurstOffsets, t as composedBlockIdOf, v as isWorkloadSettled, vn as deviceExtensionCapability, y as workloadCapability, yn as EXTENSION_SLOTS } from "../../rename-composition-block-DWUkrazx.mjs";
|
|
5
5
|
import { t as userError } from "../../camstack-error-viZYfcj9.mjs";
|
|
6
6
|
import { a as expandCapMethods$1, s as isDeviceConfigCap } from "../../capability-definition-C1TLUVJR.mjs";
|
|
7
7
|
import { t as collectZodSecretPaths$1 } from "../../zod-secret-zY4nM61M.mjs";
|
|
@@ -10,11 +10,11 @@ import { a as isEmptyIdentifiers, c as sameIdentifiers, i as identifierStrength,
|
|
|
10
10
|
import { d as canonicalIconKey, o as normalizeTags } from "../../tag-uZBAq6ox.mjs";
|
|
11
11
|
import { n as DeviceRole, r as DeviceType$1, t as DeviceFeature } from "../../device-type-DgEvK3ch.mjs";
|
|
12
12
|
import { n as capAppliesToDeviceKind } from "../../device-kind-BJ2pfsjw.mjs";
|
|
13
|
-
import { $ as CAP_RUNTIME_FIELD_UNITS, Qt as enumerateSchemaFields, Zt as enumerateItemArrayFields, fn as actionEffect, gn as vocabActionIdFor, hn as findVocabAction, pn as allVocabActions, vn as CAP_VOCABULARY_BY_NAME } from "../../core-blocks.cap-
|
|
13
|
+
import { $ as CAP_RUNTIME_FIELD_UNITS, Qt as enumerateSchemaFields, Zt as enumerateItemArrayFields, fn as actionEffect, gn as vocabActionIdFor, hn as findVocabAction, pn as allVocabActions, vn as CAP_VOCABULARY_BY_NAME } from "../../core-blocks.cap-DDECcMeI.mjs";
|
|
14
14
|
import { u as locationIconKey } from "../../addon-settings.cap-CZ4MC7ha.mjs";
|
|
15
15
|
import "../../error.cap-DCwbIGEF.mjs";
|
|
16
16
|
import { a as normalizeUnit, r as extractSourceInfoFromMetadata } from "../../source-info-DGB7SdB_.mjs";
|
|
17
|
-
import { r as ConditionMirror, t as loadPrefixed } from "../../prefix-walk-
|
|
17
|
+
import { r as ConditionMirror, t as loadPrefixed } from "../../prefix-walk-BhT0ZoKl.mjs";
|
|
18
18
|
import { t as require_read_all_rows } from "../../read-all-rows-TaPqdWNF.mjs";
|
|
19
19
|
import { a as redactLogText, i as redactLogMeta, n as isSecretArgumentKey } from "../../log-redactor-XLDrPzOi.mjs";
|
|
20
20
|
import { t as prefixRange } from "../../prefix-range-Dl0znowN.mjs";
|
|
@@ -2094,7 +2094,7 @@ var METHOD_ACCESS_MAP = /* @__PURE__ */ Object.freeze({
|
|
|
2094
2094
|
capScope: "system",
|
|
2095
2095
|
addonId: null,
|
|
2096
2096
|
access: "view",
|
|
2097
|
-
role: "
|
|
2097
|
+
role: "viewer"
|
|
2098
2098
|
},
|
|
2099
2099
|
"coreBlocks.getComposition": {
|
|
2100
2100
|
capName: "core-blocks",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Z as errMsg } from "./scoped-settings-DVWUIP7Z.mjs";
|
|
2
|
-
import { Q as CAP_CUSTOMIZE_CATALOG } from "./core-blocks.cap-
|
|
2
|
+
import { Q as CAP_CUSTOMIZE_CATALOG } from "./core-blocks.cap-DDECcMeI.mjs";
|
|
3
3
|
import { N as compositionSourceKey, c as isIdentifier, d as signedToken, f as unsignedToken, l as linearExpr, o as constantExpr, s as dwellExpr, u as overrideExpr } from "./error.cap-DCwbIGEF.mjs";
|
|
4
4
|
//#region ../types/dist/esm/composition/customize/field-source.mjs
|
|
5
5
|
function fromRead(source, cap, fieldPath) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_scoped_settings = require("./scoped-settings-CylSSq_8.js");
|
|
2
|
-
const require_core_blocks_cap = require("./core-blocks.cap-
|
|
2
|
+
const require_core_blocks_cap = require("./core-blocks.cap-xt5_fK5Z.js");
|
|
3
3
|
const require_error_cap = require("./error.cap-BxLEHP6z.js");
|
|
4
4
|
//#region ../types/dist/esm/composition/customize/field-source.mjs
|
|
5
5
|
function fromRead(source, cap, fieldPath) {
|
|
@@ -13535,6 +13535,7 @@ var CAP_CUSTOMIZE_CATALOG = {
|
|
|
13535
13535
|
sourceCap: "heat-pump-status",
|
|
13536
13536
|
mode: "reference",
|
|
13537
13537
|
slot: "heatPump",
|
|
13538
|
+
deviceTypes: [DeviceType.EnergySystem],
|
|
13538
13539
|
apply: "add"
|
|
13539
13540
|
}]
|
|
13540
13541
|
},
|
|
@@ -14073,15 +14074,6 @@ var CAP_CUSTOMIZE_CATALOG = {
|
|
|
14073
14074
|
}]
|
|
14074
14075
|
}
|
|
14075
14076
|
],
|
|
14076
|
-
sourceGroups: [{
|
|
14077
|
-
id: "meter-device",
|
|
14078
|
-
targets: [
|
|
14079
|
-
"power",
|
|
14080
|
-
"energy",
|
|
14081
|
-
"voltage",
|
|
14082
|
-
"current"
|
|
14083
|
-
]
|
|
14084
|
-
}],
|
|
14085
14077
|
links: [{
|
|
14086
14078
|
id: "meter-device",
|
|
14087
14079
|
sourceCap: "power-meter",
|
|
@@ -18219,12 +18211,18 @@ var coreBlocksCapability = {
|
|
|
18219
18211
|
}), CompositionCustomizationReadSchema, { auth: "admin" }),
|
|
18220
18212
|
/**
|
|
18221
18213
|
* The whole-capability links of one device (D1076), for the energy card
|
|
18222
|
-
* and the Customize table.
|
|
18223
|
-
*
|
|
18224
|
-
*
|
|
18225
|
-
*
|
|
18214
|
+
* (viewer-facing) and the Customize table. A viewer reads it: the card
|
|
18215
|
+
* must resolve the linked heat pump, and the per-device scope check already
|
|
18216
|
+
* covers `deviceId`. Unlike `getCustomization` it returns no composition,
|
|
18217
|
+
* formula or stored value, only the pair a link joins and its state.
|
|
18218
|
+
* `not-loaded` until the compositions have been read, never an empty list
|
|
18219
|
+
* (D315).
|
|
18226
18220
|
*/
|
|
18227
|
-
getCapLinks: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number().int() }), CapLinksReadSchema, {
|
|
18221
|
+
getCapLinks: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number().int() }), CapLinksReadSchema, {
|
|
18222
|
+
role: "viewer",
|
|
18223
|
+
auth: "protected",
|
|
18224
|
+
kind: "query"
|
|
18225
|
+
}),
|
|
18228
18226
|
/**
|
|
18229
18227
|
* D1076: turn the plain per-field identity links of one cap, from one
|
|
18230
18228
|
* source device, into ONE `capLink`. Mixed groups are reported and left
|
|
@@ -13535,6 +13535,7 @@ var CAP_CUSTOMIZE_CATALOG = {
|
|
|
13535
13535
|
sourceCap: "heat-pump-status",
|
|
13536
13536
|
mode: "reference",
|
|
13537
13537
|
slot: "heatPump",
|
|
13538
|
+
deviceTypes: [require_device_type.DeviceType.EnergySystem],
|
|
13538
13539
|
apply: "add"
|
|
13539
13540
|
}]
|
|
13540
13541
|
},
|
|
@@ -14073,15 +14074,6 @@ var CAP_CUSTOMIZE_CATALOG = {
|
|
|
14073
14074
|
}]
|
|
14074
14075
|
}
|
|
14075
14076
|
],
|
|
14076
|
-
sourceGroups: [{
|
|
14077
|
-
id: "meter-device",
|
|
14078
|
-
targets: [
|
|
14079
|
-
"power",
|
|
14080
|
-
"energy",
|
|
14081
|
-
"voltage",
|
|
14082
|
-
"current"
|
|
14083
|
-
]
|
|
14084
|
-
}],
|
|
14085
14077
|
links: [{
|
|
14086
14078
|
id: "meter-device",
|
|
14087
14079
|
sourceCap: "power-meter",
|
|
@@ -18219,12 +18211,18 @@ var coreBlocksCapability = {
|
|
|
18219
18211
|
}), CompositionCustomizationReadSchema, { auth: "admin" }),
|
|
18220
18212
|
/**
|
|
18221
18213
|
* The whole-capability links of one device (D1076), for the energy card
|
|
18222
|
-
* and the Customize table.
|
|
18223
|
-
*
|
|
18224
|
-
*
|
|
18225
|
-
*
|
|
18214
|
+
* (viewer-facing) and the Customize table. A viewer reads it: the card
|
|
18215
|
+
* must resolve the linked heat pump, and the per-device scope check already
|
|
18216
|
+
* covers `deviceId`. Unlike `getCustomization` it returns no composition,
|
|
18217
|
+
* formula or stored value, only the pair a link joins and its state.
|
|
18218
|
+
* `not-loaded` until the compositions have been read, never an empty list
|
|
18219
|
+
* (D315).
|
|
18226
18220
|
*/
|
|
18227
|
-
getCapLinks: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number().int() }), CapLinksReadSchema, {
|
|
18221
|
+
getCapLinks: /* @__PURE__ */ require_capability_definition.method(/* @__PURE__ */ zod.z.object({ deviceId: /* @__PURE__ */ zod.z.number().int() }), CapLinksReadSchema, {
|
|
18222
|
+
role: "viewer",
|
|
18223
|
+
auth: "protected",
|
|
18224
|
+
kind: "query"
|
|
18225
|
+
}),
|
|
18228
18226
|
/**
|
|
18229
18227
|
* D1076: turn the plain per-field identity links of one cap, from one
|
|
18230
18228
|
* source device, into ONE `capLink`. Mixed groups are reported and left
|
package/system/dist/index.js
CHANGED
|
@@ -2,14 +2,14 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
3
3
|
const require_base_addon = require("./base-addon-DD5dIfcZ.js");
|
|
4
4
|
const require_scoped_settings = require("./scoped-settings-CylSSq_8.js");
|
|
5
|
-
const require_rename_composition_block = require("./rename-composition-block-
|
|
5
|
+
const require_rename_composition_block = require("./rename-composition-block-CH2vRIW7.js");
|
|
6
6
|
const require_camstack_error = require("./camstack-error-DJ-TUAi1.js");
|
|
7
7
|
const require_capability_definition = require("./capability-definition-BEVd01Xj.js");
|
|
8
8
|
const require_record_kind = require("./record-kind-DoBfYHCs.js");
|
|
9
9
|
const require_wal_maintenance = require("./wal-maintenance-DKTXQ7UF.js");
|
|
10
10
|
const require_device_certificate = require("./device-certificate-CguVACQO.js");
|
|
11
11
|
const require_addon_settings_cap = require("./addon-settings.cap-DrLdMFIe.js");
|
|
12
|
-
const require_prefix_walk = require("./prefix-walk-
|
|
12
|
+
const require_prefix_walk = require("./prefix-walk-CCO_VZVo.js");
|
|
13
13
|
const require_network_access_cap = require("./network-access.cap-BEN_uRVb.js");
|
|
14
14
|
const require_constants = require("./constants-C860Y6U4.js");
|
|
15
15
|
const require_addon_id = require("./addon-id-Di0lNJ89.js");
|
package/system/dist/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { i as __require } from "./chunk-CNf5ZN-e.mjs";
|
|
2
2
|
import { b as EventCategory$1, i as collectSecretMarkerRefs, p as createEvent$1 } from "./base-addon-Md14i7pe.mjs";
|
|
3
3
|
import { Z as errMsg$1 } from "./scoped-settings-DVWUIP7Z.mjs";
|
|
4
|
-
import { Un as lifecycleJobSchema, a as isCollectionArrayMethod, c as kebabToCamel$1, d as objectInputDeclaresRequiredDeviceId, dr as compareVersions, f as procedureAuthKey, fr as describeUnmet, i as isArrayOutputSchema, l as looseSchema, m as ALL_CAPABILITY_DEFINITIONS, o as isObjectInput, p as resolveMethodAuth, pr as unmetRequirements, r as extractNestedAddonId, s as isVoidInput, u as objectInputDeclaresAddonId, ur as PackageRequiresSchema } from "./rename-composition-block-
|
|
4
|
+
import { Un as lifecycleJobSchema, a as isCollectionArrayMethod, c as kebabToCamel$1, d as objectInputDeclaresRequiredDeviceId, dr as compareVersions, f as procedureAuthKey, fr as describeUnmet, i as isArrayOutputSchema, l as looseSchema, m as ALL_CAPABILITY_DEFINITIONS, o as isObjectInput, p as resolveMethodAuth, pr as unmetRequirements, r as extractNestedAddonId, s as isVoidInput, u as objectInputDeclaresAddonId, ur as PackageRequiresSchema } from "./rename-composition-block-DWUkrazx.mjs";
|
|
5
5
|
import { t as userError } from "./camstack-error-viZYfcj9.mjs";
|
|
6
6
|
import { a as expandCapMethods, n as DEVICE_STATUS_METHOD, t as DEVICE_SETTINGS_CONTRIBUTION_METHODS, u as resolveCapMount } from "./capability-definition-C1TLUVJR.mjs";
|
|
7
7
|
import { s as defineRecordKinds } from "./record-kind-ub6NXqfh.mjs";
|
|
8
8
|
import { D as RecordsEngine, J as asNumber, X as parseJsonObject, Y as asString$1, Z as parseJsonUnknown, l as SqliteSettingsBackend, q as asJsonObject$1 } from "./wal-maintenance-CjpslZUL.mjs";
|
|
9
9
|
import { f as AppPageLangSchema } from "./device-certificate-Cddm4Idn.mjs";
|
|
10
10
|
import { i as addonSettingsCapability } from "./addon-settings.cap-CZ4MC7ha.mjs";
|
|
11
|
-
import { t as loadPrefixed } from "./prefix-walk-
|
|
11
|
+
import { t as loadPrefixed } from "./prefix-walk-BhT0ZoKl.mjs";
|
|
12
12
|
import { a as AGENT_MDNS_TXT_KEYS, i as AGENT_MDNS_SERVICE_TYPE } from "./network-access.cap-Dy8FNNVs.mjs";
|
|
13
13
|
import { t as RUNTIME_DEFAULTS } from "./constants-DCLpoF4L.mjs";
|
|
14
14
|
import { t as bareAddonId } from "./addon-id-CVg1_r5E.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as describeHoldMs, Ft as eventLeafIdAt, Gt as anySubjectMatches, Ht as describeWantedFaults, It as forEachLeaf, Jt as isQuantityValue, Rt as isEventLeaf, Ut as faultMatches, Wt as readFault, an as weekdayOfLocalDate, en as isKnownTimeZone, rn as occurrenceOn, tn as localDateOf, zt as compareValues } from "./core-blocks.cap-
|
|
1
|
+
import { Bt as describeHoldMs, Ft as eventLeafIdAt, Gt as anySubjectMatches, Ht as describeWantedFaults, It as forEachLeaf, Jt as isQuantityValue, Rt as isEventLeaf, Ut as faultMatches, Wt as readFault, an as weekdayOfLocalDate, en as isKnownTimeZone, rn as occurrenceOn, tn as localDateOf, zt as compareValues } from "./core-blocks.cap-DDECcMeI.mjs";
|
|
2
2
|
import { ct as evaluateExpressionSource, ut as toExpressionValue } from "./error.cap-DCwbIGEF.mjs";
|
|
3
3
|
import { t as prefixRange } from "./prefix-range-Dl0znowN.mjs";
|
|
4
4
|
//#region ../types/dist/esm/time/time-window.mjs
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_core_blocks_cap = require("./core-blocks.cap-
|
|
1
|
+
const require_core_blocks_cap = require("./core-blocks.cap-xt5_fK5Z.js");
|
|
2
2
|
const require_error_cap = require("./error.cap-BxLEHP6z.js");
|
|
3
3
|
const require_prefix_range = require("./prefix-range-D_KueXbQ.js");
|
|
4
4
|
//#region ../types/dist/esm/time/time-window.mjs
|
package/system/dist/{rename-composition-block-D44wnN_m.js → rename-composition-block-CH2vRIW7.js}
RENAMED
|
@@ -19,7 +19,7 @@ const require_platform_probe_cap = require("./platform-probe.cap-C0N9CugQ.js");
|
|
|
19
19
|
const require_user_management_cap = require("./user-management.cap-DyVb68rY.js");
|
|
20
20
|
const require_device_type = require("./device-type-CbQsnFdC.js");
|
|
21
21
|
const require_device_certificate = require("./device-certificate-CguVACQO.js");
|
|
22
|
-
const require_core_blocks_cap = require("./core-blocks.cap-
|
|
22
|
+
const require_core_blocks_cap = require("./core-blocks.cap-xt5_fK5Z.js");
|
|
23
23
|
const require_addon_settings_cap = require("./addon-settings.cap-DrLdMFIe.js");
|
|
24
24
|
const require_error_cap = require("./error.cap-BxLEHP6z.js");
|
|
25
25
|
const require_source_info = require("./source-info-DtWf4k2j.js");
|
|
@@ -10059,6 +10059,24 @@ var EnergySystemStatusSchema = /* @__PURE__ */ zod.z.object({
|
|
|
10059
10059
|
/** Ms epoch when the slice was last read from the system. */
|
|
10060
10060
|
lastFetchedAt: /* @__PURE__ */ zod.z.number()
|
|
10061
10061
|
});
|
|
10062
|
+
/**
|
|
10063
|
+
* The heat pump the system meters is a device of its own (D1076): the operator
|
|
10064
|
+
* links it once and the card reads that device's `heat-pump-status` — thermal
|
|
10065
|
+
* power, COP and the day's counters — beside the bus the system reports. Nothing
|
|
10066
|
+
* is written into this slice.
|
|
10067
|
+
*/
|
|
10068
|
+
var energySystemCustomize = {
|
|
10069
|
+
version: 1,
|
|
10070
|
+
targets: [],
|
|
10071
|
+
links: [{
|
|
10072
|
+
id: "heat-pump",
|
|
10073
|
+
sourceCap: "heat-pump-status",
|
|
10074
|
+
mode: "reference",
|
|
10075
|
+
slot: "heatPump",
|
|
10076
|
+
deviceTypes: [require_device_type.DeviceType.EnergySystem],
|
|
10077
|
+
apply: "add"
|
|
10078
|
+
}]
|
|
10079
|
+
};
|
|
10062
10080
|
var energySystemCapability = {
|
|
10063
10081
|
name: "energy-system",
|
|
10064
10082
|
scope: "device",
|
|
@@ -10184,17 +10202,7 @@ var energySystemCapability = {
|
|
|
10184
10202
|
}
|
|
10185
10203
|
},
|
|
10186
10204
|
volatileStateFields: ["lastFetchedAt"],
|
|
10187
|
-
customize:
|
|
10188
|
-
version: 1,
|
|
10189
|
-
targets: [],
|
|
10190
|
-
links: [{
|
|
10191
|
-
id: "heat-pump",
|
|
10192
|
-
sourceCap: "heat-pump-status",
|
|
10193
|
-
mode: "reference",
|
|
10194
|
-
slot: "heatPump",
|
|
10195
|
-
apply: "add"
|
|
10196
|
-
}]
|
|
10197
|
-
},
|
|
10205
|
+
customize: energySystemCustomize,
|
|
10198
10206
|
vocabulary: {
|
|
10199
10207
|
noun: /* @__PURE__ */ require_l10n.t("Energy system", "Sistema energetico"),
|
|
10200
10208
|
order: 4020
|
|
@@ -22414,15 +22422,6 @@ var powerMeterCapability = {
|
|
|
22414
22422
|
/* @__PURE__ */ powerTarget("voltage", "V"),
|
|
22415
22423
|
/* @__PURE__ */ powerTarget("current", "A")
|
|
22416
22424
|
],
|
|
22417
|
-
sourceGroups: [{
|
|
22418
|
-
id: "meter-device",
|
|
22419
|
-
targets: [
|
|
22420
|
-
"power",
|
|
22421
|
-
"energy",
|
|
22422
|
-
"voltage",
|
|
22423
|
-
"current"
|
|
22424
|
-
]
|
|
22425
|
-
}],
|
|
22426
22425
|
links: [{
|
|
22427
22426
|
id: "meter-device",
|
|
22428
22427
|
sourceCap: "power-meter",
|
package/system/dist/{rename-composition-block-SPaUkmam.mjs → rename-composition-block-DWUkrazx.mjs}
RENAMED
|
@@ -19,7 +19,7 @@ import { r as MODEL_FORMATS, t as platformProbeCapability } from "./platform-pro
|
|
|
19
19
|
import { a as authProviderCapability, c as TokenScopeSchema, i as deviceCredentialsCapability, r as ssoBridgeCapability, t as userManagementCapability } from "./user-management.cap-Ctd4c_im.mjs";
|
|
20
20
|
import { n as DeviceRole, r as DeviceType } from "./device-type-DgEvK3ch.mjs";
|
|
21
21
|
import { d as AppLoginPathSchema } from "./device-certificate-Cddm4Idn.mjs";
|
|
22
|
-
import { $t as unwrapSchema, A as MediaPlayerStatusSchema, At as TemplateEntriesValueSchema, B as isRemoteCustomKey, F as irSourceProblem, G as IrNativeFormatSchema, H as isRemoteWidgetRole, I as remoteSourceSteps, Jt as isQuantityValue, K as IrTimingsSchema, Kt as QuantityUnitError, M as REMOTE_STEP_DELAY_MAX_MS, Mt as TemplateTimeWindowValueSchema, N as RemoteSourceSchema, Nt as AutomationWhenSchema, Pt as EVENT_LEAF_ID_RE, Qt as enumerateSchemaFields, R as RemoteRoleSchema, St as AutomationRecipeSchema, V as isRemoteRole, W as IrNativeCodeSchema, Xt as paramMetaOf, Yt as paramMeta, Zt as enumerateItemArrayFields, _n as vocabCall, _t as SchedulerSchema, at as AutomationRunOutcomeSchema, bt as ActionStepSchema, c as coreBlocksCapability, et as CompositionBlockStateSchema, ft as LOCAL_DATE_PATTERN, gt as SchedulerPreviewSchema, hn as findVocabAction, ht as SchedulerInputSchema, it as alertsCapability, j as mediaPlayerCapability, jt as TemplateEventValueSchema, kt as TemplateActionValueSchema, ot as AutomationRunTraceSchema, pt as SchedulerConflictSchema, q as TransmitSettingsSchema, qt as convertQuantityInput, sn as EventVocabularyEntrySchema, tt as CompositionRunStatusSchema, vt as SchedulerStatusSchema, w as powerSourceCapability, xt as AutomationBranchStepSchema, z as customKeyOfRole } from "./core-blocks.cap-
|
|
22
|
+
import { $t as unwrapSchema, A as MediaPlayerStatusSchema, At as TemplateEntriesValueSchema, B as isRemoteCustomKey, F as irSourceProblem, G as IrNativeFormatSchema, H as isRemoteWidgetRole, I as remoteSourceSteps, Jt as isQuantityValue, K as IrTimingsSchema, Kt as QuantityUnitError, M as REMOTE_STEP_DELAY_MAX_MS, Mt as TemplateTimeWindowValueSchema, N as RemoteSourceSchema, Nt as AutomationWhenSchema, Pt as EVENT_LEAF_ID_RE, Qt as enumerateSchemaFields, R as RemoteRoleSchema, St as AutomationRecipeSchema, V as isRemoteRole, W as IrNativeCodeSchema, Xt as paramMetaOf, Yt as paramMeta, Zt as enumerateItemArrayFields, _n as vocabCall, _t as SchedulerSchema, at as AutomationRunOutcomeSchema, bt as ActionStepSchema, c as coreBlocksCapability, et as CompositionBlockStateSchema, ft as LOCAL_DATE_PATTERN, gt as SchedulerPreviewSchema, hn as findVocabAction, ht as SchedulerInputSchema, it as alertsCapability, j as mediaPlayerCapability, jt as TemplateEventValueSchema, kt as TemplateActionValueSchema, ot as AutomationRunTraceSchema, pt as SchedulerConflictSchema, q as TransmitSettingsSchema, qt as convertQuantityInput, sn as EventVocabularyEntrySchema, tt as CompositionRunStatusSchema, vt as SchedulerStatusSchema, w as powerSourceCapability, xt as AutomationBranchStepSchema, z as customKeyOfRole } from "./core-blocks.cap-DDECcMeI.mjs";
|
|
23
23
|
import { i as addonSettingsCapability, o as unitDimension, s as unitsForDimension } from "./addon-settings.cap-CZ4MC7ha.mjs";
|
|
24
24
|
import { R as COMPOSED_DEVICE_STABLE_ID_PREFIX, T as CompositionSchema, r as errorCapability, x as COMPOSER_ADDON_ID } from "./error.cap-DCwbIGEF.mjs";
|
|
25
25
|
import { a as normalizeUnit } from "./source-info-DGB7SdB_.mjs";
|
|
@@ -10056,6 +10056,24 @@ var EnergySystemStatusSchema = /* @__PURE__ */ z.object({
|
|
|
10056
10056
|
/** Ms epoch when the slice was last read from the system. */
|
|
10057
10057
|
lastFetchedAt: /* @__PURE__ */ z.number()
|
|
10058
10058
|
});
|
|
10059
|
+
/**
|
|
10060
|
+
* The heat pump the system meters is a device of its own (D1076): the operator
|
|
10061
|
+
* links it once and the card reads that device's `heat-pump-status` — thermal
|
|
10062
|
+
* power, COP and the day's counters — beside the bus the system reports. Nothing
|
|
10063
|
+
* is written into this slice.
|
|
10064
|
+
*/
|
|
10065
|
+
var energySystemCustomize = {
|
|
10066
|
+
version: 1,
|
|
10067
|
+
targets: [],
|
|
10068
|
+
links: [{
|
|
10069
|
+
id: "heat-pump",
|
|
10070
|
+
sourceCap: "heat-pump-status",
|
|
10071
|
+
mode: "reference",
|
|
10072
|
+
slot: "heatPump",
|
|
10073
|
+
deviceTypes: [DeviceType.EnergySystem],
|
|
10074
|
+
apply: "add"
|
|
10075
|
+
}]
|
|
10076
|
+
};
|
|
10059
10077
|
var energySystemCapability = {
|
|
10060
10078
|
name: "energy-system",
|
|
10061
10079
|
scope: "device",
|
|
@@ -10181,17 +10199,7 @@ var energySystemCapability = {
|
|
|
10181
10199
|
}
|
|
10182
10200
|
},
|
|
10183
10201
|
volatileStateFields: ["lastFetchedAt"],
|
|
10184
|
-
customize:
|
|
10185
|
-
version: 1,
|
|
10186
|
-
targets: [],
|
|
10187
|
-
links: [{
|
|
10188
|
-
id: "heat-pump",
|
|
10189
|
-
sourceCap: "heat-pump-status",
|
|
10190
|
-
mode: "reference",
|
|
10191
|
-
slot: "heatPump",
|
|
10192
|
-
apply: "add"
|
|
10193
|
-
}]
|
|
10194
|
-
},
|
|
10202
|
+
customize: energySystemCustomize,
|
|
10195
10203
|
vocabulary: {
|
|
10196
10204
|
noun: /* @__PURE__ */ t("Energy system", "Sistema energetico"),
|
|
10197
10205
|
order: 4020
|
|
@@ -22344,15 +22352,6 @@ var powerMeterCapability = {
|
|
|
22344
22352
|
/* @__PURE__ */ powerTarget("voltage", "V"),
|
|
22345
22353
|
/* @__PURE__ */ powerTarget("current", "A")
|
|
22346
22354
|
],
|
|
22347
|
-
sourceGroups: [{
|
|
22348
|
-
id: "meter-device",
|
|
22349
|
-
targets: [
|
|
22350
|
-
"power",
|
|
22351
|
-
"energy",
|
|
22352
|
-
"voltage",
|
|
22353
|
-
"current"
|
|
22354
|
-
]
|
|
22355
|
-
}],
|
|
22356
22355
|
links: [{
|
|
22357
22356
|
id: "meter-device",
|
|
22358
22357
|
sourceCap: "power-meter",
|