@camstack/server 1.2.944 → 1.2.945
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 +6 -0
- package/dist/api/trpc/generated-cap-mounts.js +18 -1
- package/dist/api/trpc/generated-cap-routers.js +2596 -2559
- package/package.json +10 -16
- 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 +1 -1
- package/system/dist/builtins/alerts/alerts.addon.mjs +1 -1
- 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/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 +5 -5
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +5 -5
- 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 +26 -5
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +26 -5
- package/system/dist/builtins/keychain/index.js +1 -1
- package/system/dist/builtins/keychain/index.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/{composition-sources-DNgSItK-.js → composition-sources-D1nPv7dJ.js} +1 -1
- package/system/dist/{composition-sources-CXxXfh1z.mjs → composition-sources-DubMf_ii.mjs} +1 -1
- package/system/dist/{core-blocks.cap-BHEok4VO.js → core-blocks.cap-DEYCvF9J.js} +1 -1
- package/system/dist/{core-blocks.cap-CPgZRcpj.mjs → core-blocks.cap-sW5HLDlB.mjs} +1 -1
- package/system/dist/index.js +3 -3
- package/system/dist/index.mjs +3 -3
- package/system/dist/{named-entity-store-DOnyyFFf.mjs → named-entity-store-Cq2oVrN5.mjs} +1 -1
- package/system/dist/{named-entity-store-DFwLij9c.js → named-entity-store-O_hi1y_o.js} +1 -1
- package/system/dist/{rename-composition-block-Cx3X8QSm.js → rename-composition-block-C60O0P16.js} +5 -2
- package/system/dist/{rename-composition-block-C3QQ9UUE.mjs → rename-composition-block-DcX3vkwS.mjs} +5 -2
- 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,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.2.945] - 2026-11-24
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Apps for the viewer shell are declared through the app-source capability and listed, filtered by role, by the apps capability.
|
|
15
|
+
|
|
10
16
|
## [1.2.944] - 2026-11-24
|
|
11
17
|
|
|
12
18
|
### 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),
|