@camstack/server 1.2.684 → 1.2.686
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
CHANGED
|
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.2.686] - 2026-10-29
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Rebuilt against updated dependencies.
|
|
15
|
+
|
|
16
|
+
## [1.2.685] - 2026-10-29
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- Generated routers for the new ir-transmitter and remote capabilities
|
|
21
|
+
- The remote and template capabilities are routed, and a bound remote command is honoured on cross-node calls
|
|
22
|
+
|
|
10
23
|
## [1.2.684] - 2026-10-29
|
|
11
24
|
|
|
12
25
|
### 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:
|
|
5
|
+
// Mounted: 187 Skipped (legacy): 3
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.LEGACY_SHAPE_SKIP = void 0;
|
|
8
8
|
exports.mountAllCaps = mountAllCaps;
|
|
@@ -516,6 +516,7 @@ function mountAllCaps(services) {
|
|
|
516
516
|
recordingOnboard: (0, generated_cap_routers_js_1.createCapRouter_recordingOnboard)((_ctx) => (0, cap_mount_helpers_js_1.requireDeviceScoped)(reg, 'recording-onboard'), remoteCapProxy),
|
|
517
517
|
recordingSignal: (0, generated_cap_routers_js_1.createCapRouter_recordingSignal)((_ctx) => (0, cap_mount_helpers_js_1.requireDeviceScoped)(reg, 'recording-signal'), remoteCapProxy),
|
|
518
518
|
records: (0, generated_cap_routers_js_1.createCapRouter_records)((_ctx) => reg?.getSingleton('records') ?? null, remoteCapProxy),
|
|
519
|
+
remote: (0, generated_cap_routers_js_1.createCapRouter_remote)((_ctx) => reg?.getSingleton('remote') ?? null, remoteCapProxy),
|
|
519
520
|
runningState: (0, generated_cap_routers_js_1.createCapRouter_runningState)((_ctx) => (0, cap_mount_helpers_js_1.requireDeviceScoped)(reg, 'running-state'), remoteCapProxy),
|
|
520
521
|
sceneMonitor: (0, generated_cap_routers_js_1.createCapRouter_sceneMonitor)((_ctx) => (0, cap_mount_helpers_js_1.requireDeviceScoped)(reg, 'scene-monitor'), remoteCapProxy),
|
|
521
522
|
scriptRunner: (0, generated_cap_routers_js_1.createCapRouter_scriptRunner)((_ctx) => (0, cap_mount_helpers_js_1.requireDeviceScoped)(reg, 'script-runner'), remoteCapProxy),
|
|
@@ -587,6 +588,22 @@ function mountAllCaps(services) {
|
|
|
587
588
|
system: (0, generated_cap_routers_js_1.createCapRouter_system)((_ctx) => reg?.getSingleton('system') ?? null, remoteCapProxy),
|
|
588
589
|
tamper: (0, generated_cap_routers_js_1.createCapRouter_tamper)((_ctx) => (0, cap_mount_helpers_js_1.requireDeviceScoped)(reg, 'tamper'), remoteCapProxy),
|
|
589
590
|
temperatureSensor: (0, generated_cap_routers_js_1.createCapRouter_temperatureSensor)((_ctx) => (0, cap_mount_helpers_js_1.requireDeviceScoped)(reg, 'temperature-sensor'), remoteCapProxy),
|
|
591
|
+
template: (0, generated_cap_routers_js_1.createCapRouter_template)((_ctx, addonId) => {
|
|
592
|
+
if (!reg)
|
|
593
|
+
return null;
|
|
594
|
+
if (addonId !== undefined) {
|
|
595
|
+
return reg.getProviderByAddonId('template', addonId);
|
|
596
|
+
}
|
|
597
|
+
const entries = reg.getCollectionEntries('template');
|
|
598
|
+
if (entries.length === 0)
|
|
599
|
+
return null;
|
|
600
|
+
const providers = entries.map(([, p]) => p);
|
|
601
|
+
const first = providers[0];
|
|
602
|
+
return {
|
|
603
|
+
...first,
|
|
604
|
+
list: (0, cap_mount_helpers_js_1.concatCollection)(providers, 'list'),
|
|
605
|
+
};
|
|
606
|
+
}, remoteCapProxy),
|
|
590
607
|
terminalSession: (0, generated_cap_routers_js_1.createCapRouter_terminalSession)((_ctx) => reg?.getSingleton('terminal-session') ??
|
|
591
608
|
null, remoteCapProxy),
|
|
592
609
|
toast: (0, generated_cap_routers_js_1.createCapRouter_toast)((_ctx) => reg?.getSingleton('toast') ?? null, remoteCapProxy),
|