@camstack/server 1.2.661 → 1.2.663

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,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.663] - 2026-10-27
11
+
12
+ ### Changed
13
+
14
+ - Rebuilt against updated dependencies.
15
+
16
+ ## [1.2.662] - 2026-10-27
17
+
18
+ ### Added
19
+
20
+ - The hub serves Actions: list, run, stop, run traces and camera links
21
+
10
22
  ## [1.2.661] - 2026-10-27
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: 182 Skipped (legacy): 3
5
+ // Mounted: 184 Skipped (legacy): 3
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.LEGACY_SHAPE_SKIP = void 0;
8
8
  exports.mountAllCaps = mountAllCaps;
@@ -40,6 +40,23 @@ function mountAllCaps(services) {
40
40
  const remoteCapProxy = (capName, nodeId) => services.moleculer.createCapabilityProxy(capName, nodeId);
41
41
  return {
42
42
  accessories: (0, generated_cap_routers_js_1.createCapRouter_accessories)((_ctx) => (0, cap_mount_helpers_js_1.requireDeviceScoped)(reg, 'accessories'), remoteCapProxy),
43
+ actionSource: (0, generated_cap_routers_js_1.createCapRouter_actionSource)((_ctx, addonId) => {
44
+ if (!reg)
45
+ return null;
46
+ if (addonId !== undefined) {
47
+ return reg.getProviderByAddonId('action-source', addonId);
48
+ }
49
+ const entries = reg.getCollectionEntries('action-source');
50
+ if (entries.length === 0)
51
+ return null;
52
+ const providers = entries.map(([, p]) => p);
53
+ const first = providers[0];
54
+ return {
55
+ ...first,
56
+ listActions: (0, cap_mount_helpers_js_1.concatCollection)(providers, 'listActions'),
57
+ };
58
+ }, remoteCapProxy),
59
+ actions: (0, generated_cap_routers_js_1.createCapRouter_actions)((_ctx) => reg?.getSingleton('actions') ?? null, remoteCapProxy),
43
60
  addonPages: (0, generated_cap_routers_js_1.createCapRouter_addonPages)((_ctx) => reg?.getSingleton('addon-pages') ?? null, remoteCapProxy),
44
61
  addonPagesSource: (0, generated_cap_routers_js_1.createCapRouter_addonPagesSource)((_ctx, addonId) => {
45
62
  if (!reg)