@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.
- package/dist/api/static/precompressed-asset.js +11 -1
- package/dist/api/trpc/device-collection-dispatch.js +22 -3
- package/dist/api/trpc/generated-cap-mounts.js +3 -2
- package/dist/api/trpc/generated-cap-routers.js +986 -963
- package/dist/api/trpc/scope-access.js +1 -1
- package/dist/core/addon/addon-registry.service.js +10 -0
- package/package.json +9 -9
|
@@ -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 (`
|
|
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.
|
|
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.
|
|
39
|
-
"@camstack/addon-agent-ui": "1.2.
|
|
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.
|
|
44
|
-
"@camstack/addon-pipeline-orchestrator": "1.2.
|
|
45
|
-
"@camstack/addon-post-analysis": "1.2.
|
|
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.
|
|
48
|
-
"@camstack/types": "1.2.
|
|
49
|
-
"@camstack/ui-library": "1.2.
|
|
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",
|