@camstack/server 1.2.944 → 1.2.946
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/dist/api/trpc/generated-cap-mounts.js +18 -1
- package/dist/api/trpc/generated-cap-routers.js +2596 -2559
- package/package.json +9 -17
- package/system/assets/apps-aggregator/icon.svg +5 -0
- package/system/dist/{action-index-Dz9rd1qa.js → action-index-Bcnb-jyg.js} +8 -0
- package/system/dist/{action-index-DpYmsOKh.mjs → action-index-DwPHO2nz.mjs} +8 -0
- package/system/dist/apps.cap-Bqb9NpYx.mjs +130 -0
- package/system/dist/apps.cap-CLjgnuUe.js +141 -0
- package/system/dist/builtins/alerts/alerts.addon.js +2 -2
- package/system/dist/builtins/alerts/alerts.addon.mjs +2 -2
- package/system/dist/builtins/apps-aggregator/aggregate-apps.d.ts +24 -0
- package/system/dist/builtins/apps-aggregator/apps-aggregator.addon.d.ts +16 -0
- package/system/dist/builtins/apps-aggregator/apps-aggregator.addon.js +109 -0
- package/system/dist/builtins/apps-aggregator/apps-aggregator.addon.mjs +103 -0
- package/system/dist/builtins/apps-aggregator/index.d.ts +1 -0
- package/system/dist/builtins/apps-aggregator/index.js +8 -0
- package/system/dist/builtins/apps-aggregator/index.mjs +2 -0
- 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 +4 -4
- package/system/dist/builtins/composer/composer.addon.mjs +4 -4
- package/system/dist/builtins/core-blocks/core-blocks.addon.js +68 -23
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +68 -23
- package/system/dist/builtins/core-blocks/timed-run/timed-run-service.d.ts +19 -2
- package/system/dist/builtins/device-history/device-history.addon.js +1 -1
- package/system/dist/builtins/device-history/device-history.addon.mjs +1 -1
- package/system/dist/builtins/device-manager/device-manager.addon.js +31 -9
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +31 -9
- package/system/dist/builtins/keychain/index.js +1 -1
- package/system/dist/builtins/keychain/index.mjs +1 -1
- package/system/dist/builtins/local-auth/local-auth.addon.js +1 -1
- package/system/dist/builtins/local-auth/local-auth.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 +1 -1
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +1 -1
- package/system/dist/builtins/system-config/system-config.addon.js +1 -1
- package/system/dist/builtins/system-config/system-config.addon.mjs +1 -1
- package/system/dist/{command-catalog-CI0tu1Nt.js → command-catalog-A_ONlLfF.js} +1 -1
- package/system/dist/{command-catalog-zwlIA3T5.mjs → command-catalog-CZDlLhxO.mjs} +1 -1
- package/system/dist/{compile-SpeAhaZ6.js → compile-BpAtMSvc.js} +1 -1
- package/system/dist/{compile-OBMHlqD-.mjs → compile-DPGk4aRg.mjs} +1 -1
- package/system/dist/{composition-sources-CXxXfh1z.mjs → composition-sources-D5bWS3nC.mjs} +2 -2
- package/system/dist/{composition-sources-DNgSItK-.js → composition-sources-hmri4Cu4.js} +2 -2
- package/system/dist/{core-blocks.cap-BHEok4VO.js → core-blocks.cap-9xvotd_3.js} +3 -3
- package/system/dist/{core-blocks.cap-CPgZRcpj.mjs → core-blocks.cap-C6REo0Dd.mjs} +3 -3
- package/system/dist/{device-kind-C37Ra2wd.mjs → device-kind-B6G_HfgC.mjs} +19 -2
- package/system/dist/{device-kind-FMhJg8uC.js → device-kind-B7ESmha7.js} +24 -1
- package/system/dist/file-host-worker.js +1 -1
- package/system/dist/file-host-worker.mjs +1 -1
- package/system/dist/index.js +4 -4
- package/system/dist/index.mjs +4 -4
- package/system/dist/{named-entity-store-DFwLij9c.js → named-entity-store-CzJ28TsK.js} +2 -2
- package/system/dist/{named-entity-store-DOnyyFFf.mjs → named-entity-store-DJxyweoS.mjs} +2 -2
- package/system/dist/{record-kinds-BV8Gcpsx.js → record-kinds-DP2-HG3W.js} +1 -1
- package/system/dist/{record-kinds-BD2xv4Pd.mjs → record-kinds-WosKAa-D.mjs} +1 -1
- package/system/dist/{rename-composition-block-Cx3X8QSm.js → rename-composition-block--abG_xyW.js} +31 -36
- package/system/dist/{rename-composition-block-C3QQ9UUE.mjs → rename-composition-block-kmkoIx0R.mjs} +31 -36
- package/system/dist/{user-management.cap-4IEUCSdL.mjs → user-management.cap-C3eqqVdz.mjs} +1 -1
- package/system/dist/{user-management.cap-DV9Jfsj3.js → user-management.cap-D4r3UKtG.js} +1 -1
- package/system/dist/{wal-maintenance-CkPfVApC.js → wal-maintenance-CZKvoKfx.js} +0 -0
- package/system/dist/{wal-maintenance-u84_1sVl.mjs → wal-maintenance-WLoThDXX.mjs} +0 -0
- package/system/package.json +16 -1
- /package/system/dist/{constants-Ba3FTIHl.js → constants-Ba3FTIHl2.js} +0 -0
- /package/system/dist/{constants-DB4piTD5.mjs → constants-DB4piTD52.mjs} +0 -0
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.946] - 2026-11-24
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- The timed-run wrapper binds to every device with a switch and re-evaluates when a device gains or loses its switch
|
|
15
|
+
|
|
16
|
+
## [1.2.945] - 2026-11-24
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- Apps for the viewer shell are declared through the app-source capability and listed, filtered by role, by the apps capability.
|
|
21
|
+
|
|
10
22
|
## [1.2.944] - 2026-11-24
|
|
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:
|
|
5
|
+
// Mounted: 216 Skipped (legacy): 3
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.LEGACY_SHAPE_SKIP = void 0;
|
|
8
8
|
exports.mountAllCaps = mountAllCaps;
|
|
@@ -98,6 +98,23 @@ function mountAllCaps(services) {
|
|
|
98
98
|
alarmPanel: (0, generated_cap_routers_js_1.createCapRouter_alarmPanel)((_ctx) => (0, cap_mount_helpers_js_1.requireDeviceScoped)(reg, 'alarm-panel'), remoteCapProxy),
|
|
99
99
|
alerts: (0, generated_cap_routers_js_1.createCapRouter_alerts)((_ctx) => reg?.getSingleton('alerts') ?? null, remoteCapProxy),
|
|
100
100
|
ambientLightSensor: (0, generated_cap_routers_js_1.createCapRouter_ambientLightSensor)((_ctx) => (0, cap_mount_helpers_js_1.requireDeviceScoped)(reg, 'ambient-light-sensor'), remoteCapProxy),
|
|
101
|
+
appSource: (0, generated_cap_routers_js_1.createCapRouter_appSource)((_ctx, addonId) => {
|
|
102
|
+
if (!reg)
|
|
103
|
+
return null;
|
|
104
|
+
if (addonId !== undefined) {
|
|
105
|
+
return reg.getProviderByAddonId('app-source', addonId);
|
|
106
|
+
}
|
|
107
|
+
const entries = reg.getCollectionEntries('app-source');
|
|
108
|
+
if (entries.length === 0)
|
|
109
|
+
return null;
|
|
110
|
+
const providers = entries.map(([, p]) => p);
|
|
111
|
+
const first = providers[0];
|
|
112
|
+
return {
|
|
113
|
+
...first,
|
|
114
|
+
listApps: (0, cap_mount_helpers_js_1.concatCollection)(providers, 'listApps'),
|
|
115
|
+
};
|
|
116
|
+
}, remoteCapProxy),
|
|
117
|
+
apps: (0, generated_cap_routers_js_1.createCapRouter_apps)((_ctx) => reg?.getSingleton('apps') ?? null, remoteCapProxy),
|
|
101
118
|
audioAnalysis: (0, generated_cap_routers_js_1.createCapRouter_audioAnalysis)((_ctx) => (0, cap_mount_helpers_js_1.requireDeviceScoped)(reg, 'audio-analysis'), remoteCapProxy),
|
|
102
119
|
audioAnalyzer: (0, generated_cap_routers_js_1.createCapRouter_audioAnalyzer)((_ctx) => reg?.getSingleton('audio-analyzer') ?? null, remoteCapProxy),
|
|
103
120
|
audioCodec: (0, generated_cap_routers_js_1.createCapRouter_audioCodec)((_ctx) => reg?.getSingleton('audio-codec') ?? null, remoteCapProxy),
|