@scrypted/server 0.65.0 → 0.67.0
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/plugin/plugin-remote-worker.js +6 -2
- package/dist/plugin/plugin-remote-worker.js.map +1 -1
- package/dist/plugin/plugin-remote.js +1 -1
- package/dist/plugin/plugin-remote.js.map +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/python/plugin_remote.py +11 -10
- package/src/plugin/plugin-remote-worker.ts +6 -2
- package/src/plugin/plugin-remote.ts +1 -1
- package/src/runtime.ts +1 -1
@@ -161,8 +161,12 @@ function startPluginRemote(mainFilename, pluginId, peerSend, startPluginRemoteOp
|
|
161
161
|
// so return the existing proxy.
|
162
162
|
if (clusterPeer.tags.localPort === sourcePort)
|
163
163
|
return value;
|
164
|
-
|
165
|
-
|
164
|
+
let peerConnectRPCObject = clusterPeer.tags['connectRPCObject'];
|
165
|
+
if (!peerConnectRPCObject) {
|
166
|
+
peerConnectRPCObject = await clusterPeer.getParam('connectRPCObject');
|
167
|
+
clusterPeer.tags['connectRPCObject'] = peerConnectRPCObject;
|
168
|
+
}
|
169
|
+
const newValue = await peerConnectRPCObject(clusterObject);
|
166
170
|
if (!newValue)
|
167
171
|
throw new Error('rpc object not found?');
|
168
172
|
return newValue;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"plugin-remote-worker.js","sourceRoot":"","sources":["../../src/plugin/plugin-remote-worker.ts"],"names":[],"mappings":";;;;;;AACA,sDAA6B;AAE7B,mCAA8B;AAC9B,4CAAoB;AACpB,iCAA+B;AAC/B,8CAAsB;AACtB,gDAAwB;AACxB,2DAAwE;AACxE,gDAA4C;AAC5C,gCAA6C;AAC7C,sDAAwD;AAExD,mCAA2C;AAC3C,6CAAmG;AACnG,qDAAmD;AACnD,uEAA2F;AAC3F,mDAAyG;AACzG,+DAAuE;AACvE,+CAAiD;AACjD,qEAAgE;AAChE,0DAAmE;AACnE,MAAM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AAC,eAAe,CAAC,CAAC;gBACpC,IAAI,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC;gBACrC,0DAA0D;gBAC1D,uBAAuB;gBACvB,IAAI,cAAc,CAAC,QAAQ,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC;oBAC9C,cAAc,GAAG,IAAI,cAAc,EAAE,CAAC;gBAC1C,IAAI,OAAO,cAAc,KAAK,UAAU;oBACpC,cAAc,GAAG,MAAM,cAAc,EAAE,CAAC;gBAE5C,QAAQ,GAAG,IAAA,8BAAgB,EAAC,QAAQ,EAAE,MAAM,EAAE,cAAc,CAAC,CAAC;gBAC9D,2BAA2B,CAAC,QAAQ,CAAC,CAAC;gBAEtC,OAAO,cAAc,CAAC;YAC1B,CAAC;YACD,OAAO,CAAC,EAAE,CAAC;gBACP,aAAa,EAAE,KAAK,CAAC,wBAAwB,EAAE,CAAC,CAAC,CAAC;gBAClD,MAAM,CAAC,CAAC;YACZ,CAAC;QACL,CAAC;KACJ,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;QACf,aAAa,GAAG,QAAQ,CAAC,aAAa,CAAC;QACvC,aAAa,GAAG,QAAQ,CAAC,aAAkC,CAAC;IAChE,CAAC,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC;AAChB,CAAC;AArXD,8CAqXC"}
|
@@ -419,7 +419,7 @@ function attachPluginRemote(peer, options) {
|
|
419
419
|
peer.addSerializer(Buffer, 'Buffer', new rpc_buffer_serializer_1.BufferSerializer());
|
420
420
|
const ioSockets = {};
|
421
421
|
const websocketSerializer = new plugin_remote_websocket_1.WebSocketSerializer();
|
422
|
-
peer.addSerializer(plugin_remote_websocket_1.WebSocketConnection,
|
422
|
+
peer.addSerializer(plugin_remote_websocket_1.WebSocketConnection, 'WebSocketConnection', websocketSerializer);
|
423
423
|
let done;
|
424
424
|
const retPromise = new Promise(resolve => done = resolve);
|
425
425
|
peer.params.getRemote = async (api, pluginId, hostInfo) => {
|
@@ -1 +1 @@
|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AC;gBAC5B,aAAa,CAAC,iBAAiB,EAAE,CAAC;gBAClC,IAAI,CAAC,GAAG,CAAC,CAAC;YACd,CAAC;YAED,KAAK,CAAC,OAAO,CAAC,WAAgB,EAAE,OAAwB,EAAE,UAAuC;gBAC7F,MAAM,MAAM,GAAQ;oBAChB,UAAU,EAAE,SAAS;oBACrB,aAAa;oBACb,aAAa;oBACb,YAAY;oBACZ,eAAe;oBACf,GAAG;oBACH,YAAY;oBACZ,aAAa,EAAE,GAAG;oBAClB,QAAQ;oBACR,4DAA4D;oBAC5D,SAAS,EAAE,UAAU,GAAQ;wBACzB,IAAI,OAAO,GAAG,KAAK,QAAQ;4BACvB,MAAM,IAAI,KAAK,CAAC,uBAAuB,CAAC,CAAC;wBAC7C,OAAO,GAAG,CAAC;oBACf,CAAC;oBACD,gBAAgB,EAAE,GAAG;iBACxB,CAAC;gBAEF,MAAM,CAAC,gBAAgB,GAAG,GAAG,CAAC;gBAE9B,IAAI,CAAC;oBACD,OAAO,MAAM,OAAO,CAAC,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;gBAClF,CAAC;gBACD,OAAO,CAAC,EAAE,CAAC;oBACP,OAAO,CAAC,KAAK,CAAC,0BAA0B,EAAE,CAAC,CAAC,CAAA;oBAC5C,MAAM,CAAC,CAAC;gBACZ,CAAC;YACL,CAAC;SACJ,CAAA;QAED,GAAG,CAAC,eAAe,GAAG,MAAM,CAAC;QAE7B,OAAO,MAAM,CAAC;IAClB,CAAC,CAAA;IAED,OAAO,UAAU,CAAC;AACtB,CAAC;AA7MD,gDA6MC"}
|
package/dist/runtime.js
CHANGED
@@ -64,7 +64,7 @@ const service_control_1 = require("./services/service-control");
|
|
64
64
|
const users_1 = require("./services/users");
|
65
65
|
const state_1 = require("./state");
|
66
66
|
const cluster_hash_1 = require("./cluster/cluster-hash");
|
67
|
-
const MIN_SCRYPTED_CORE_VERSION = 'v0.1.
|
67
|
+
const MIN_SCRYPTED_CORE_VERSION = 'v0.1.147';
|
68
68
|
const PLUGIN_DEVICE_STATE_VERSION = 2;
|
69
69
|
class ScryptedRuntime extends plugin_http_1.PluginHttp {
|
70
70
|
mainFilename;
|
package/package.json
CHANGED
package/python/plugin_remote.py
CHANGED
@@ -45,7 +45,7 @@ class ClusterObject(TypedDict):
|
|
45
45
|
id: str
|
46
46
|
port: int
|
47
47
|
proxyId: str
|
48
|
-
sourcePort:
|
48
|
+
sourcePort: int
|
49
49
|
sha256: str
|
50
50
|
|
51
51
|
|
@@ -403,7 +403,7 @@ class PluginRemote:
|
|
403
403
|
m.update(bytes(f"{o['id']}{o['port']}{o.get('sourcePort', '')}{o['proxyId']}{clusterSecret}", 'utf8'))
|
404
404
|
return base64.b64encode(m.digest()).decode('utf-8')
|
405
405
|
|
406
|
-
def onProxySerialization(value: Any, proxyId: str,
|
406
|
+
def onProxySerialization(value: Any, proxyId: str, sourcePeerPort: int = None):
|
407
407
|
properties: dict = rpc.RpcPeer.prepareProxyProperties(value) or {}
|
408
408
|
clusterEntry = properties.get('__cluster', None)
|
409
409
|
if not properties.get('__cluster', None):
|
@@ -411,13 +411,11 @@ class PluginRemote:
|
|
411
411
|
'id': clusterId,
|
412
412
|
'proxyId': proxyId,
|
413
413
|
'port': clusterPort,
|
414
|
-
'
|
414
|
+
'sourcePort': sourcePeerPort,
|
415
415
|
}
|
416
416
|
clusterEntry['sha256'] = computeClusterObjectHash(clusterEntry)
|
417
417
|
properties['__cluster'] = clusterEntry
|
418
418
|
|
419
|
-
# clusterEntry['proxyId'] = proxyId
|
420
|
-
# clusterEntry['source'] = source
|
421
419
|
return properties
|
422
420
|
|
423
421
|
self.peer.onProxySerialization = onProxySerialization
|
@@ -498,18 +496,21 @@ class PluginRemote:
|
|
498
496
|
|
499
497
|
port = clusterObject['port']
|
500
498
|
proxyId = clusterObject['proxyId']
|
501
|
-
|
499
|
+
sourcePort = clusterObject.get('sourcePort', None)
|
502
500
|
if port == clusterPort:
|
503
|
-
return await resolveObject(proxyId,
|
501
|
+
return await resolveObject(proxyId, sourcePort)
|
504
502
|
|
505
503
|
clusterPeerPromise = ensureClusterPeer(port)
|
506
504
|
|
507
505
|
try:
|
508
506
|
clusterPeer = await clusterPeerPromise
|
509
|
-
if clusterPeer.tags.get('localPort') ==
|
507
|
+
if clusterPeer.tags.get('localPort') == sourcePort:
|
510
508
|
return value
|
511
|
-
|
512
|
-
|
509
|
+
peerConnectRPCObject = clusterPeer.tags.get('connectRPCObject')
|
510
|
+
if not peerConnectRPCObject:
|
511
|
+
peerConnectRPCObject = await clusterPeer.getParam('connectRPCObject')
|
512
|
+
clusterPeer.tags['connectRPCObject'] = peerConnectRPCObject
|
513
|
+
newValue = await peerConnectRPCObject(clusterObject)
|
513
514
|
if not newValue:
|
514
515
|
raise Exception('ipc object not found?')
|
515
516
|
return newValue
|
@@ -181,8 +181,12 @@ export function startPluginRemote(mainFilename: string, pluginId: string, peerSe
|
|
181
181
|
// so return the existing proxy.
|
182
182
|
if (clusterPeer.tags.localPort === sourcePort)
|
183
183
|
return value;
|
184
|
-
|
185
|
-
|
184
|
+
let peerConnectRPCObject: ConnectRPCObject = clusterPeer.tags['connectRPCObject'];
|
185
|
+
if (!peerConnectRPCObject) {
|
186
|
+
peerConnectRPCObject = await clusterPeer.getParam('connectRPCObject');
|
187
|
+
clusterPeer.tags['connectRPCObject'] = peerConnectRPCObject;
|
188
|
+
}
|
189
|
+
const newValue = await peerConnectRPCObject(clusterObject);
|
186
190
|
if (!newValue)
|
187
191
|
throw new Error('rpc object not found?');
|
188
192
|
return newValue;
|
@@ -475,7 +475,7 @@ export function attachPluginRemote(peer: RpcPeer, options?: PluginRemoteAttachOp
|
|
475
475
|
|
476
476
|
const ioSockets: { [id: string]: WebSocketConnectCallbacks } = {};
|
477
477
|
const websocketSerializer = new WebSocketSerializer();
|
478
|
-
peer.addSerializer(WebSocketConnection, WebSocketConnection
|
478
|
+
peer.addSerializer(WebSocketConnection, 'WebSocketConnection', websocketSerializer);
|
479
479
|
|
480
480
|
let done: (scrypted: ScryptedStatic) => void;
|
481
481
|
const retPromise = new Promise<ScryptedStatic>(resolve => done = resolve);
|
package/src/runtime.ts
CHANGED