@camstack/server 1.2.729 → 1.2.731
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 +18 -0
- package/dist/api/core/server-management.provider.js +10 -3
- package/dist/api/trpc/generated-cap-mounts.js +4 -1
- package/dist/api/trpc/generated-cap-routers.js +1864 -1765
- package/dist/boot/boot-config.js +2 -46
- package/dist/launch-args.js +72 -34
- package/dist/main.js +2 -1
- package/package.json +17 -19
- package/system/dist/addon-utils.mjs +1 -1
- package/system/dist/{agent-https-BXB7X23w.mjs → agent-https-AJPmB73W.mjs} +1 -1
- package/system/dist/{agent-https-BMmfwElS.js → agent-https-CLJhq0GZ.js} +1 -1
- 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 +4 -4
- 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 +5 -5
- 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 +5 -5
- 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 +3 -3
- package/system/dist/builtins/composer/composer.addon.mjs +3 -3
- 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.d.ts +6 -0
- package/system/dist/builtins/core-blocks/core-blocks.addon.js +1361 -440
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +1360 -440
- package/system/dist/builtins/core-blocks/fan-presets-action-source.d.ts +35 -0
- package/system/dist/builtins/core-blocks/fan-presets-service.d.ts +83 -0
- package/system/dist/builtins/core-blocks/fan-presets-wiring.d.ts +31 -0
- package/system/dist/builtins/core-blocks/record-kinds.d.ts +15 -0
- package/system/dist/builtins/core-blocks/timed-run/timed-run-service.d.ts +84 -0
- package/system/dist/builtins/core-blocks/timed-run/timed-run-wiring.d.ts +21 -0
- 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 +1 -1
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +1 -1
- 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 +3 -3
- package/system/dist/builtins/keychain/index.mjs +3 -3
- 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 +5 -5
- package/system/dist/builtins/local-network/local-network.addon.js +2 -2
- package/system/dist/builtins/local-network/local-network.addon.mjs +2 -2
- 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 +10 -10
- package/system/dist/builtins/platform-probe/index.js +1 -1
- package/system/dist/builtins/platform-probe/index.mjs +10 -10
- 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 +1 -1
- package/system/dist/builtins/snapshot/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +20 -20
- 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 +2 -2
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +2 -2
- 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 +285 -285
- package/system/dist/builtins/winston-logging/index.js +1 -1
- package/system/dist/builtins/winston-logging/index.mjs +1 -1
- package/system/dist/{composition-sources-D6b0p8Hl.js → composition-sources-BNBlJAgu.js} +1 -1
- package/system/dist/{composition-sources-BCfgVe9V.mjs → composition-sources-D-S2hhdw.mjs} +1 -1
- package/system/dist/{constants-ePrW9DMj.js → constants-CKwdQTnw.js} +1 -1
- package/system/dist/{constants-BQLyzulL.mjs → constants-DmithOex.mjs} +1 -1
- package/system/dist/{coral-accelerators-DBlgWB8k.mjs → coral-accelerators-BW3OcrLD.mjs} +6 -6
- package/system/dist/{custom-action-registry-oHl1xltx.mjs → custom-action-registry-BIJZBObd.mjs} +37 -37
- package/system/dist/{device-ca-C8X1AGHU.mjs → device-ca-D-Cvxobt.mjs} +1 -1
- package/system/dist/{device-ca-Dh9wjg_e.js → device-ca-TbdQfW4d.js} +1 -1
- package/system/dist/{dist-D-7p7cJp.js → dist-dQKZfa3-.js} +43443 -42687
- package/system/dist/{dist-XvOCXwnA.mjs → dist-yrk6fm65.mjs} +42934 -42238
- package/system/dist/file-host-worker.js +1 -1
- package/system/dist/file-host-worker.mjs +1 -1
- package/system/dist/{hub-mdns-ciao-CGwz5__T.mjs → hub-mdns-ciao-Cae5VWUc.mjs} +2 -2
- package/system/dist/{hub-mdns-ciao-BFZZAJIx.js → hub-mdns-ciao-DP3_GNZw.js} +2 -2
- package/system/dist/index.d.ts +1 -1
- package/system/dist/index.js +19 -9
- package/system/dist/index.mjs +230 -221
- package/system/dist/kernel/heap-watch.d.ts +7 -2
- package/system/dist/{restore-archive-B3M3ZwAl.mjs → restore-archive-BJ5gxMvf.mjs} +150 -150
- package/system/dist/{restore-archive-3e5X8g6h.js → restore-archive-X9c_wEBY.js} +1 -1
- package/system/dist/{retention-BPxZj_Qf.mjs → retention-DBrdAv12.mjs} +1 -1
- package/system/dist/{retention-DacNjIXz.js → retention-DRT2wUyB.js} +1 -1
- package/system/dist/{wal-maintenance-C4K7pX1x.mjs → wal-maintenance-Bi4yImEY.mjs} +0 -0
- package/system/dist/{wal-maintenance-Dguwwx4N.js → wal-maintenance-hsgNGrjh.js} +0 -0
- package/system/package.json +10 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.2.731] - 2026-11-02
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Serves the new do-not-disturb capability for Echo devices.
|
|
15
|
+
- AI generate calls accept a per-call reasoning effort
|
|
16
|
+
- Heap ceiling and the hub RSS budget are now set per node under Cluster > node > General; CAMSTACK_HUB_HEAP_MB, CAMSTACK_AGENT_HEAP_MB and the retired secret and CORS variables are ignored, and only the heap ones are named in the boot log
|
|
17
|
+
|
|
18
|
+
## [1.2.730] - 2026-11-01
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
- Serves the new fan-presets and timed-run capabilities (fan speed presets, heater and pump timed runs).
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
|
|
26
|
+
- The API gains the timed-run methods (run for, cancel, status).
|
|
27
|
+
|
|
10
28
|
## [1.2.729] - 2026-11-01
|
|
11
29
|
|
|
12
30
|
### Changed
|
|
@@ -6,10 +6,17 @@ const launch_args_js_1 = require("../../launch-args.js");
|
|
|
6
6
|
/** The per-node launch override methods (ADR 0970), backed by the node's data dir. */
|
|
7
7
|
function buildLaunchOverrideMethods(dataDir) {
|
|
8
8
|
return {
|
|
9
|
-
getLaunchOverrides: () => Promise.resolve(
|
|
9
|
+
getLaunchOverrides: () => Promise.resolve((0, launch_args_js_1.readLaunchOverrides)(dataDir)),
|
|
10
10
|
setLaunchOverrides: (input) => {
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
const next = {
|
|
12
|
+
heapMb: input.heapMb,
|
|
13
|
+
// Omitted = keep what is stored; null = clear.
|
|
14
|
+
rssBudgetMb: input.rssBudgetMb === undefined
|
|
15
|
+
? (0, launch_args_js_1.readLaunchOverrides)(dataDir).rssBudgetMb
|
|
16
|
+
: input.rssBudgetMb,
|
|
17
|
+
};
|
|
18
|
+
(0, launch_args_js_1.writeLaunchOverrides)(dataDir, next);
|
|
19
|
+
return Promise.resolve({ ...next, restartRequired: true });
|
|
13
20
|
},
|
|
14
21
|
};
|
|
15
22
|
}
|
|
@@ -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:
|
|
5
|
+
// Mounted: 197 Skipped (legacy): 3
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.LEGACY_SHAPE_SKIP = void 0;
|
|
8
8
|
exports.mountAllCaps = mountAllCaps;
|
|
@@ -280,6 +280,7 @@ function mountAllCaps(services) {
|
|
|
280
280
|
dishwasher: (0, generated_cap_routers_js_1.createCapRouter_dishwasher)((_ctx) => (0, cap_mount_helpers_js_1.requireDeviceScoped)(reg, 'dishwasher'), remoteCapProxy),
|
|
281
281
|
displayPalette: (0, generated_cap_routers_js_1.createCapRouter_displayPalette)((_ctx) => reg?.getSingleton('display-palette') ??
|
|
282
282
|
null, remoteCapProxy),
|
|
283
|
+
doNotDisturb: (0, generated_cap_routers_js_1.createCapRouter_doNotDisturb)((_ctx) => (0, cap_mount_helpers_js_1.requireDeviceScoped)(reg, 'do-not-disturb'), remoteCapProxy),
|
|
283
284
|
doorbell: (0, generated_cap_routers_js_1.createCapRouter_doorbell)((_ctx) => (0, cap_mount_helpers_js_1.requireDeviceScoped)(reg, 'doorbell'), remoteCapProxy),
|
|
284
285
|
embeddingEncoder: (0, generated_cap_routers_js_1.createCapRouter_embeddingEncoder)((_ctx, addonId) => {
|
|
285
286
|
if (!reg)
|
|
@@ -310,6 +311,7 @@ function mountAllCaps(services) {
|
|
|
310
311
|
};
|
|
311
312
|
}, remoteCapProxy),
|
|
312
313
|
fanControl: (0, generated_cap_routers_js_1.createCapRouter_fanControl)((_ctx) => (0, cap_mount_helpers_js_1.requireDeviceScoped)(reg, 'fan-control'), remoteCapProxy),
|
|
314
|
+
fanPresets: (0, generated_cap_routers_js_1.createCapRouter_fanPresets)((_ctx) => reg?.getSingleton('fan-presets') ?? null, remoteCapProxy),
|
|
313
315
|
featureProbe: (0, generated_cap_routers_js_1.createCapRouter_featureProbe)((_ctx) => (0, cap_mount_helpers_js_1.requireDeviceScoped)(reg, 'feature-probe'), remoteCapProxy),
|
|
314
316
|
filesystemBrowse: (0, generated_cap_routers_js_1.createCapRouter_filesystemBrowse)((_ctx) => reg?.getSingleton('filesystem-browse') ??
|
|
315
317
|
null, remoteCapProxy),
|
|
@@ -640,6 +642,7 @@ function mountAllCaps(services) {
|
|
|
640
642
|
}, remoteCapProxy),
|
|
641
643
|
terminalSession: (0, generated_cap_routers_js_1.createCapRouter_terminalSession)((_ctx) => reg?.getSingleton('terminal-session') ??
|
|
642
644
|
null, remoteCapProxy),
|
|
645
|
+
timedRun: (0, generated_cap_routers_js_1.createCapRouter_timedRun)((_ctx) => (0, cap_mount_helpers_js_1.requireDeviceScoped)(reg, 'timed-run'), remoteCapProxy),
|
|
643
646
|
toast: (0, generated_cap_routers_js_1.createCapRouter_toast)((_ctx) => reg?.getSingleton('toast') ?? null, remoteCapProxy),
|
|
644
647
|
training: (0, generated_cap_routers_js_1.createCapRouter_training)((_ctx) => reg?.getSingleton('training') ?? null, remoteCapProxy),
|
|
645
648
|
trainingProvider: (0, generated_cap_routers_js_1.createCapRouter_trainingProvider)((_ctx, addonId) => {
|