@camstack/server 1.2.375 → 1.2.377

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.
@@ -158,7 +158,7 @@ function hasUnrestrictedDeviceReach(scopes, access) {
158
158
  /**
159
159
  * The device-reference gate for SYSTEM-scope cap methods (F1 #3).
160
160
  *
161
- * ~124 system-scope methods take a deviceId (`recording.getPlaybackManifest`,
161
+ * ~124 system-scope methods take a deviceId (`recordingArchive.getDeviceConfig`,
162
162
  * `faceGallery.*`, `pipelineOrchestrator.*`, …) and were never device-filtered:
163
163
  * the matcher only extracted a deviceId when the CAP was `scope: 'device'`. So
164
164
  * a non-admin holding `category:system[view]` could read ANY camera's
@@ -2907,6 +2907,15 @@ class AddonRegistryService {
2907
2907
  sink: dataPlaneSink,
2908
2908
  });
2909
2909
  this.getOrCreateDisposerChain(addonId).add(() => dataPlaneFacility.dispose());
2910
+ // Addon→addon byte transport (`ctx.peerBytes`, D613) for a co-located hub
2911
+ // builtin, on the same terms a forked addon gets it. `broker.nodeID` IS the
2912
+ // host node here — hub-main has no runner suffix.
2913
+ const peerBytesFacility = (0, system_1.createAddonPeerBytesFacility)({
2914
+ addonId,
2915
+ logger,
2916
+ nodeId: this.broker.nodeID,
2917
+ });
2918
+ this.getOrCreateDisposerChain(addonId).add(() => peerBytesFacility.dispose());
2910
2919
  const ctx = {
2911
2920
  id: `addon:${addonId}`,
2912
2921
  logger,
@@ -2915,6 +2924,7 @@ class AddonRegistryService {
2915
2924
  dataDir,
2916
2925
  nodeDataDir,
2917
2926
  dataPlane: dataPlaneFacility.dataPlane,
2927
+ peerBytes: peerBytesFacility.peerBytes,
2918
2928
  get api() {
2919
2929
  return registry.getBrokerApi();
2920
2930
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/server",
3
- "version": "1.2.375",
3
+ "version": "1.2.377",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",
@@ -35,18 +35,18 @@
35
35
  ]
36
36
  },
37
37
  "dependencies": {
38
- "@camstack/addon-admin-ui": "1.2.256",
39
- "@camstack/addon-agent-ui": "1.2.139",
38
+ "@camstack/addon-admin-ui": "1.2.258",
39
+ "@camstack/addon-agent-ui": "1.2.141",
40
40
  "@camstack/addon-auth": "1.2.123",
41
41
  "@camstack/addon-decoder-nodeav": "1.2.115",
42
42
  "@camstack/addon-notifiers": "1.2.119",
43
- "@camstack/addon-pipeline": "1.2.287",
44
- "@camstack/addon-pipeline-orchestrator": "1.2.244",
45
- "@camstack/addon-post-analysis": "1.2.273",
43
+ "@camstack/addon-pipeline": "1.2.290",
44
+ "@camstack/addon-pipeline-orchestrator": "1.2.245",
45
+ "@camstack/addon-post-analysis": "1.2.274",
46
46
  "@camstack/sdk": "1.2.118",
47
- "@camstack/system": "1.2.289",
48
- "@camstack/types": "1.2.245",
49
- "@camstack/ui-library": "1.2.197",
47
+ "@camstack/system": "1.2.291",
48
+ "@camstack/types": "1.2.247",
49
+ "@camstack/ui-library": "1.2.199",
50
50
  "@fastify/compress": "^9.0.0",
51
51
  "@fastify/cookie": "^11.0.2",
52
52
  "@fastify/cors": "^11.2.0",