@camstack/server 1.2.820 → 1.2.822

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.
Files changed (100) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/api/trpc/generated-cap-mounts.js +3 -1
  3. package/dist/api/trpc/generated-cap-routers.js +1863 -1697
  4. package/package.json +10 -24
  5. package/system/dist/{agent-https-XHjvcSEq.mjs → agent-https-C4yxMErF.mjs} +1 -1
  6. package/system/dist/{agent-https-CbysxRlV.js → agent-https-SGBI0xP8.js} +1 -1
  7. package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
  8. package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
  9. package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
  10. package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
  11. package/system/dist/builtins/alerts/alerts.addon.js +1 -1
  12. package/system/dist/builtins/alerts/alerts.addon.mjs +1 -1
  13. package/system/dist/builtins/autotrack/index.js +1 -1
  14. package/system/dist/builtins/autotrack/index.mjs +1 -1
  15. package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
  16. package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +2 -2
  17. package/system/dist/builtins/calendars/calendars.addon.js +1 -1
  18. package/system/dist/builtins/calendars/calendars.addon.mjs +1 -1
  19. package/system/dist/builtins/camera-grid/index.js +1 -1
  20. package/system/dist/builtins/camera-grid/index.mjs +1 -1
  21. package/system/dist/builtins/composer/composer.addon.js +3 -3
  22. package/system/dist/builtins/composer/composer.addon.mjs +3 -3
  23. package/system/dist/builtins/console-logging/index.js +1 -1
  24. package/system/dist/builtins/console-logging/index.mjs +1 -1
  25. package/system/dist/builtins/core-blocks/actions-service.d.ts +16 -0
  26. package/system/dist/builtins/core-blocks/core-blocks.addon.js +158 -9
  27. package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +158 -9
  28. package/system/dist/builtins/core-blocks/device-template-door.d.ts +25 -0
  29. package/system/dist/builtins/core-blocks/fan-presets-service.d.ts +5 -0
  30. package/system/dist/builtins/core-blocks/hero-layout-service.d.ts +2 -0
  31. package/system/dist/builtins/core-blocks/scheduler/scheduler-engine.d.ts +5 -0
  32. package/system/dist/builtins/core-blocks/step-condition-door.d.ts +19 -0
  33. package/system/dist/builtins/device-history/device-history.addon.js +2 -2
  34. package/system/dist/builtins/device-history/device-history.addon.mjs +2 -2
  35. package/system/dist/builtins/device-manager/device-manager.addon.d.ts +7 -0
  36. package/system/dist/builtins/device-manager/device-manager.addon.js +655 -2
  37. package/system/dist/builtins/device-manager/device-manager.addon.mjs +653 -1
  38. package/system/dist/builtins/device-manager/device-template/template-host.d.ts +60 -0
  39. package/system/dist/builtins/device-manager/device-template-actions.d.ts +33 -0
  40. package/system/dist/builtins/hub-forwarder/index.js +1 -1
  41. package/system/dist/builtins/hub-forwarder/index.mjs +1 -1
  42. package/system/dist/builtins/keychain/index.js +4 -4
  43. package/system/dist/builtins/keychain/index.mjs +4 -4
  44. package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
  45. package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
  46. package/system/dist/builtins/local-auth/local-auth.addon.js +2 -2
  47. package/system/dist/builtins/local-auth/local-auth.addon.mjs +2 -2
  48. package/system/dist/builtins/local-network/local-network.addon.js +2 -2
  49. package/system/dist/builtins/local-network/local-network.addon.mjs +2 -2
  50. package/system/dist/builtins/loki-logging/index.js +1 -1
  51. package/system/dist/builtins/loki-logging/index.mjs +1 -1
  52. package/system/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
  53. package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
  54. package/system/dist/builtins/platform-probe/index.js +1 -1
  55. package/system/dist/builtins/platform-probe/index.mjs +1 -1
  56. package/system/dist/builtins/record-entries/index.js +1 -1
  57. package/system/dist/builtins/record-entries/index.mjs +1 -1
  58. package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
  59. package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
  60. package/system/dist/builtins/snapshot/index.js +1 -1
  61. package/system/dist/builtins/snapshot/index.mjs +1 -1
  62. package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
  63. package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
  64. package/system/dist/builtins/sqlite-storage/index.js +1 -1
  65. package/system/dist/builtins/sqlite-storage/index.mjs +1 -1
  66. package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +3 -3
  67. package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +3 -3
  68. package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
  69. package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
  70. package/system/dist/builtins/system-config/system-config.addon.js +9 -9
  71. package/system/dist/builtins/system-config/system-config.addon.mjs +6 -6
  72. package/system/dist/builtins/winston-logging/index.js +1 -1
  73. package/system/dist/builtins/winston-logging/index.mjs +1 -1
  74. package/system/dist/{capture-engine-CKtkENOg.js → capture-engine-6MVUyUry.js} +1 -1
  75. package/system/dist/{capture-engine-WSpdP-gE.mjs → capture-engine-BSjE-CQA.mjs} +1 -1
  76. package/system/dist/{composition-sources-6Qx72gmK.js → composition-sources-BBAOXZdC.js} +1 -1
  77. package/system/dist/{composition-sources-Dr6uwBGw.mjs → composition-sources-C8T9DRbZ.mjs} +1 -1
  78. package/system/dist/{constants-URzk8siY.mjs → constants-CReG6K4k.mjs} +1 -1
  79. package/system/dist/{constants-BchSDmTD.js → constants-v0g9--wN.js} +1 -1
  80. package/system/dist/{device-ca-kANxsBE5.js → device-ca-BFcBTfff.js} +1 -1
  81. package/system/dist/{device-ca-Bu1E5Vgr.mjs → device-ca-cX8qUs2s.mjs} +1 -1
  82. package/system/dist/device-template-worker.js +5 -7032
  83. package/system/dist/device-template-worker.mjs +1 -7026
  84. package/system/dist/{dist-R_mOSFtH.js → dist-C2czR9xK.js} +2077 -167
  85. package/system/dist/{dist-C0Df8iJl.mjs → dist-DjBZ1HhF.mjs} +2036 -168
  86. package/system/dist/file-host-worker.js +1 -1
  87. package/system/dist/file-host-worker.mjs +1 -1
  88. package/system/dist/{hub-mdns-ciao-pxgLcmqO.mjs → hub-mdns-ciao-Cnr8xiSd.mjs} +2 -2
  89. package/system/dist/{hub-mdns-ciao-2AZ3ucDO.js → hub-mdns-ciao-CpCleue0.js} +2 -2
  90. package/system/dist/index.js +8 -8
  91. package/system/dist/index.mjs +8 -8
  92. package/system/dist/{legacy-integration-rows-door-Cj58BS60.mjs → legacy-integration-rows-door-CGajkVPh.mjs} +1 -1
  93. package/system/dist/{legacy-integration-rows-door-g4CeLJ9g.js → legacy-integration-rows-door-DhW6mPZj.js} +1 -1
  94. package/system/dist/{restore-archive-CAh7u-rY.js → restore-archive-BLab80kx.js} +7 -7
  95. package/system/dist/{restore-archive-Bd7fgVo8.mjs → restore-archive-eA7L58KT.mjs} +8 -8
  96. package/system/dist/template-protocol-BmMM5VBf.mjs +7033 -0
  97. package/system/dist/template-protocol-CTP4eAo_.js +7059 -0
  98. package/system/dist/{wal-maintenance-DMf2oEQ-.mjs → wal-maintenance-DeBxoOFh.mjs} +0 -0
  99. package/system/dist/{wal-maintenance--0liHBxL.js → wal-maintenance-DhnSF7K-.js} +0 -0
  100. 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.822] - 2026-11-09
11
+
12
+ ### Changed
13
+
14
+ - An action step can carry an if condition and an else list, in actions, schedulers, fan presets and automations
15
+
16
+ ## [1.2.821] - 2026-11-09
17
+
18
+ ### Changed
19
+
20
+ - A heat-pump device type exposes its status and typed setters through the generated cap routers
21
+
10
22
  ## [1.2.820] - 2026-11-09
11
23
 
12
24
  ### Changed
@@ -2,7 +2,7 @@
2
2
  // AUTO-GENERATED by scripts/generate-cap-mounts.ts — DO NOT EDIT
3
3
  // Re-run: npx tsx scripts/generate-cap-mounts.ts
4
4
  //
5
- // Mounted: 200 Skipped (legacy): 3
5
+ // Mounted: 202 Skipped (legacy): 3
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.LEGACY_SHAPE_SKIP = void 0;
8
8
  exports.mountAllCaps = mountAllCaps;
@@ -321,6 +321,8 @@ function mountAllCaps(services) {
321
321
  groupActive: (0, generated_cap_routers_js_1.createCapRouter_groupActive)((_ctx) => (0, cap_mount_helpers_js_1.requireDeviceScoped)(reg, 'group-active'), remoteCapProxy),
322
322
  groupCommands: (0, generated_cap_routers_js_1.createCapRouter_groupCommands)((_ctx) => (0, cap_mount_helpers_js_1.requireDeviceScoped)(reg, 'group-commands'), remoteCapProxy),
323
323
  groupStatus: (0, generated_cap_routers_js_1.createCapRouter_groupStatus)((_ctx) => (0, cap_mount_helpers_js_1.requireDeviceScoped)(reg, 'group-status'), remoteCapProxy),
324
+ heatPumpControl: (0, generated_cap_routers_js_1.createCapRouter_heatPumpControl)((_ctx) => (0, cap_mount_helpers_js_1.requireDeviceScoped)(reg, 'heat-pump-control'), remoteCapProxy),
325
+ heatPumpStatus: (0, generated_cap_routers_js_1.createCapRouter_heatPumpStatus)((_ctx) => (0, cap_mount_helpers_js_1.requireDeviceScoped)(reg, 'heat-pump-status'), remoteCapProxy),
324
326
  heatingValve: (0, generated_cap_routers_js_1.createCapRouter_heatingValve)((_ctx) => (0, cap_mount_helpers_js_1.requireDeviceScoped)(reg, 'heating-valve'), remoteCapProxy),
325
327
  heroLayout: (0, generated_cap_routers_js_1.createCapRouter_heroLayout)((_ctx) => reg?.getSingleton('hero-layout') ?? null, remoteCapProxy),
326
328
  humidifier: (0, generated_cap_routers_js_1.createCapRouter_humidifier)((_ctx) => (0, cap_mount_helpers_js_1.requireDeviceScoped)(reg, 'humidifier'), remoteCapProxy),