@dxos/cli 0.8.4-main.fd6878d → 0.8.4-staging.ac66bdf99f
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/LICENSE +3 -3
- package/bin/dx.js +29 -12
- package/package.json +14 -129
- package/README.md +0 -145
- package/bin/agent_entrypoint +0 -22
- package/bin/dev.cmd +0 -3
- package/bin/dev.js +0 -26
- package/bin/handle_invitation +0 -18
- package/bin/run.cmd +0 -3
- package/dist/src/base.d.ts +0 -18
- package/dist/src/base.d.ts.map +0 -1
- package/dist/src/base.js +0 -76
- package/dist/src/base.js.map +0 -1
- package/dist/src/commands/agent/agent.node.test.d.ts +0 -2
- package/dist/src/commands/agent/agent.node.test.d.ts.map +0 -1
- package/dist/src/commands/agent/agent.node.test.js +0 -178
- package/dist/src/commands/agent/agent.node.test.js.map +0 -1
- package/dist/src/commands/agent/invitations.d.ts +0 -20
- package/dist/src/commands/agent/invitations.d.ts.map +0 -1
- package/dist/src/commands/agent/invitations.js +0 -88
- package/dist/src/commands/agent/invitations.js.map +0 -1
- package/dist/src/commands/agent/list.d.ts +0 -22
- package/dist/src/commands/agent/list.d.ts.map +0 -1
- package/dist/src/commands/agent/list.js +0 -45
- package/dist/src/commands/agent/list.js.map +0 -1
- package/dist/src/commands/agent/restart.d.ts +0 -21
- package/dist/src/commands/agent/restart.d.ts.map +0 -1
- package/dist/src/commands/agent/restart.js +0 -26
- package/dist/src/commands/agent/restart.js.map +0 -1
- package/dist/src/commands/agent/start.d.ts +0 -33
- package/dist/src/commands/agent/start.d.ts.map +0 -1
- package/dist/src/commands/agent/start.js +0 -204
- package/dist/src/commands/agent/start.js.map +0 -1
- package/dist/src/commands/agent/status.d.ts +0 -19
- package/dist/src/commands/agent/status.d.ts.map +0 -1
- package/dist/src/commands/agent/status.js +0 -30
- package/dist/src/commands/agent/status.js.map +0 -1
- package/dist/src/commands/agent/stop.d.ts +0 -22
- package/dist/src/commands/agent/stop.d.ts.map +0 -1
- package/dist/src/commands/agent/stop.js +0 -49
- package/dist/src/commands/agent/stop.js.map +0 -1
- package/dist/src/commands/config/index.d.ts +0 -7
- package/dist/src/commands/config/index.d.ts.map +0 -1
- package/dist/src/commands/config/index.js +0 -16
- package/dist/src/commands/config/index.js.map +0 -1
- package/dist/src/commands/config/index.node.test.d.ts +0 -2
- package/dist/src/commands/config/index.node.test.d.ts.map +0 -1
- package/dist/src/commands/config/index.node.test.js +0 -25
- package/dist/src/commands/config/index.node.test.js.map +0 -1
- package/dist/src/commands/debug/diagnostics.d.ts +0 -25
- package/dist/src/commands/debug/diagnostics.d.ts.map +0 -1
- package/dist/src/commands/debug/diagnostics.js +0 -53
- package/dist/src/commands/debug/diagnostics.js.map +0 -1
- package/dist/src/commands/debug/error.d.ts +0 -6
- package/dist/src/commands/debug/error.d.ts.map +0 -1
- package/dist/src/commands/debug/error.js +0 -23
- package/dist/src/commands/debug/error.js.map +0 -1
- package/dist/src/commands/debug/generate.d.ts +0 -27
- package/dist/src/commands/debug/generate.d.ts.map +0 -1
- package/dist/src/commands/debug/generate.js +0 -71
- package/dist/src/commands/debug/generate.js.map +0 -1
- package/dist/src/commands/debug/metrics.d.ts +0 -10
- package/dist/src/commands/debug/metrics.d.ts.map +0 -1
- package/dist/src/commands/debug/metrics.js +0 -39
- package/dist/src/commands/debug/metrics.js.map +0 -1
- package/dist/src/commands/debug/status.d.ts +0 -20
- package/dist/src/commands/debug/status.d.ts.map +0 -1
- package/dist/src/commands/debug/status.js +0 -28
- package/dist/src/commands/debug/status.js.map +0 -1
- package/dist/src/commands/device/info.d.ts +0 -7
- package/dist/src/commands/device/info.d.ts.map +0 -1
- package/dist/src/commands/device/info.js +0 -30
- package/dist/src/commands/device/info.js.map +0 -1
- package/dist/src/commands/device/list.d.ts +0 -20
- package/dist/src/commands/device/list.d.ts.map +0 -1
- package/dist/src/commands/device/list.js +0 -23
- package/dist/src/commands/device/list.js.map +0 -1
- package/dist/src/commands/device/update.d.ts +0 -19
- package/dist/src/commands/device/update.d.ts.map +0 -1
- package/dist/src/commands/device/update.js +0 -32
- package/dist/src/commands/device/update.js.map +0 -1
- package/dist/src/commands/edge/status.d.ts +0 -19
- package/dist/src/commands/edge/status.d.ts.map +0 -1
- package/dist/src/commands/edge/status.js +0 -24
- package/dist/src/commands/edge/status.js.map +0 -1
- package/dist/src/commands/function/list.d.ts +0 -7
- package/dist/src/commands/function/list.d.ts.map +0 -1
- package/dist/src/commands/function/list.js +0 -19
- package/dist/src/commands/function/list.js.map +0 -1
- package/dist/src/commands/function/logs.d.ts +0 -14
- package/dist/src/commands/function/logs.d.ts.map +0 -1
- package/dist/src/commands/function/logs.js +0 -38
- package/dist/src/commands/function/logs.js.map +0 -1
- package/dist/src/commands/function/trigger/list.d.ts +0 -26
- package/dist/src/commands/function/trigger/list.d.ts.map +0 -1
- package/dist/src/commands/function/trigger/list.js +0 -51
- package/dist/src/commands/function/trigger/list.js.map +0 -1
- package/dist/src/commands/function/upload.d.ts +0 -34
- package/dist/src/commands/function/upload.d.ts.map +0 -1
- package/dist/src/commands/function/upload.js +0 -148
- package/dist/src/commands/function/upload.js.map +0 -1
- package/dist/src/commands/function/watch.d.ts +0 -29
- package/dist/src/commands/function/watch.d.ts.map +0 -1
- package/dist/src/commands/function/watch.js +0 -127
- package/dist/src/commands/function/watch.js.map +0 -1
- package/dist/src/commands/halo/create.d.ts +0 -24
- package/dist/src/commands/halo/create.d.ts.map +0 -1
- package/dist/src/commands/halo/create.js +0 -36
- package/dist/src/commands/halo/create.js.map +0 -1
- package/dist/src/commands/halo/credential/add.d.ts +0 -9
- package/dist/src/commands/halo/credential/add.d.ts.map +0 -1
- package/dist/src/commands/halo/credential/add.js +0 -42
- package/dist/src/commands/halo/credential/add.js.map +0 -1
- package/dist/src/commands/halo/credential/list.d.ts +0 -23
- package/dist/src/commands/halo/credential/list.d.ts.map +0 -1
- package/dist/src/commands/halo/credential/list.js +0 -62
- package/dist/src/commands/halo/credential/list.js.map +0 -1
- package/dist/src/commands/halo/identity.d.ts +0 -8
- package/dist/src/commands/halo/identity.d.ts.map +0 -1
- package/dist/src/commands/halo/identity.js +0 -31
- package/dist/src/commands/halo/identity.js.map +0 -1
- package/dist/src/commands/halo/join.d.ts +0 -23
- package/dist/src/commands/halo/join.d.ts.map +0 -1
- package/dist/src/commands/halo/join.js +0 -94
- package/dist/src/commands/halo/join.js.map +0 -1
- package/dist/src/commands/halo/keys.d.ts +0 -7
- package/dist/src/commands/halo/keys.d.ts.map +0 -1
- package/dist/src/commands/halo/keys.js +0 -14
- package/dist/src/commands/halo/keys.js.map +0 -1
- package/dist/src/commands/halo/recovery/generate.d.ts +0 -7
- package/dist/src/commands/halo/recovery/generate.d.ts.map +0 -1
- package/dist/src/commands/halo/recovery/generate.js +0 -16
- package/dist/src/commands/halo/recovery/generate.js.map +0 -1
- package/dist/src/commands/halo/recovery/use.d.ts +0 -20
- package/dist/src/commands/halo/recovery/use.d.ts.map +0 -1
- package/dist/src/commands/halo/recovery/use.js +0 -21
- package/dist/src/commands/halo/recovery/use.js.map +0 -1
- package/dist/src/commands/halo/share.d.ts +0 -24
- package/dist/src/commands/halo/share.d.ts.map +0 -1
- package/dist/src/commands/halo/share.js +0 -73
- package/dist/src/commands/halo/share.js.map +0 -1
- package/dist/src/commands/halo/update.d.ts +0 -19
- package/dist/src/commands/halo/update.d.ts.map +0 -1
- package/dist/src/commands/halo/update.js +0 -34
- package/dist/src/commands/halo/update.js.map +0 -1
- package/dist/src/commands/info.d.ts +0 -19
- package/dist/src/commands/info.d.ts.map +0 -1
- package/dist/src/commands/info.js +0 -23
- package/dist/src/commands/info.js.map +0 -1
- package/dist/src/commands/profile/import.d.ts +0 -20
- package/dist/src/commands/profile/import.d.ts.map +0 -1
- package/dist/src/commands/profile/import.js +0 -66
- package/dist/src/commands/profile/import.js.map +0 -1
- package/dist/src/commands/profile/inspect.d.ts +0 -20
- package/dist/src/commands/profile/inspect.d.ts.map +0 -1
- package/dist/src/commands/profile/inspect.js +0 -37
- package/dist/src/commands/profile/inspect.js.map +0 -1
- package/dist/src/commands/reset/index.d.ts +0 -20
- package/dist/src/commands/reset/index.d.ts.map +0 -1
- package/dist/src/commands/reset/index.js +0 -74
- package/dist/src/commands/reset/index.js.map +0 -1
- package/dist/src/commands/shell/index.d.ts +0 -6
- package/dist/src/commands/shell/index.d.ts.map +0 -1
- package/dist/src/commands/shell/index.js +0 -25
- package/dist/src/commands/shell/index.js.map +0 -1
- package/dist/src/commands/space/close.d.ts +0 -9
- package/dist/src/commands/space/close.d.ts.map +0 -1
- package/dist/src/commands/space/close.js +0 -17
- package/dist/src/commands/space/close.js.map +0 -1
- package/dist/src/commands/space/create.d.ts +0 -10
- package/dist/src/commands/space/create.d.ts.map +0 -1
- package/dist/src/commands/space/create.js +0 -25
- package/dist/src/commands/space/create.js.map +0 -1
- package/dist/src/commands/space/epoch.d.ts +0 -10
- package/dist/src/commands/space/epoch.d.ts.map +0 -1
- package/dist/src/commands/space/epoch.js +0 -18
- package/dist/src/commands/space/epoch.js.map +0 -1
- package/dist/src/commands/space/info.d.ts +0 -10
- package/dist/src/commands/space/info.d.ts.map +0 -1
- package/dist/src/commands/space/info.js +0 -26
- package/dist/src/commands/space/info.js.map +0 -1
- package/dist/src/commands/space/join.d.ts +0 -21
- package/dist/src/commands/space/join.d.ts.map +0 -1
- package/dist/src/commands/space/join.js +0 -71
- package/dist/src/commands/space/join.js.map +0 -1
- package/dist/src/commands/space/list.d.ts +0 -24
- package/dist/src/commands/space/list.d.ts.map +0 -1
- package/dist/src/commands/space/list.js +0 -90
- package/dist/src/commands/space/list.js.map +0 -1
- package/dist/src/commands/space/members.d.ts +0 -23
- package/dist/src/commands/space/members.d.ts.map +0 -1
- package/dist/src/commands/space/members.js +0 -27
- package/dist/src/commands/space/members.js.map +0 -1
- package/dist/src/commands/space/open.d.ts +0 -9
- package/dist/src/commands/space/open.d.ts.map +0 -1
- package/dist/src/commands/space/open.js +0 -17
- package/dist/src/commands/space/open.js.map +0 -1
- package/dist/src/commands/space/query.d.ts +0 -25
- package/dist/src/commands/space/query.d.ts.map +0 -1
- package/dist/src/commands/space/query.js +0 -44
- package/dist/src/commands/space/query.js.map +0 -1
- package/dist/src/commands/space/schema/list.d.ts +0 -21
- package/dist/src/commands/space/schema/list.d.ts.map +0 -1
- package/dist/src/commands/space/schema/list.js +0 -57
- package/dist/src/commands/space/schema/list.js.map +0 -1
- package/dist/src/commands/space/share.d.ts +0 -27
- package/dist/src/commands/space/share.d.ts.map +0 -1
- package/dist/src/commands/space/share.js +0 -80
- package/dist/src/commands/space/share.js.map +0 -1
- package/dist/src/commands/tunnel/index.d.ts +0 -22
- package/dist/src/commands/tunnel/index.d.ts.map +0 -1
- package/dist/src/commands/tunnel/index.js +0 -43
- package/dist/src/commands/tunnel/index.js.map +0 -1
- package/dist/src/commands/tunnel/list.d.ts +0 -21
- package/dist/src/commands/tunnel/list.d.ts.map +0 -1
- package/dist/src/commands/tunnel/list.js +0 -29
- package/dist/src/commands/tunnel/list.js.map +0 -1
- package/dist/src/components/App.d.ts +0 -10
- package/dist/src/components/App.d.ts.map +0 -1
- package/dist/src/components/App.js +0 -31
- package/dist/src/components/App.js.map +0 -1
- package/dist/src/components/SpaceTable.d.ts +0 -10
- package/dist/src/components/SpaceTable.d.ts.map +0 -1
- package/dist/src/components/SpaceTable.js +0 -33
- package/dist/src/components/SpaceTable.js.map +0 -1
- package/dist/src/components/SystemTable.d.ts +0 -8
- package/dist/src/components/SystemTable.d.ts.map +0 -1
- package/dist/src/components/SystemTable.js +0 -51
- package/dist/src/components/SystemTable.js.map +0 -1
- package/dist/src/components/index.d.ts +0 -4
- package/dist/src/components/index.d.ts.map +0 -1
- package/dist/src/components/index.js +0 -7
- package/dist/src/components/index.js.map +0 -1
- package/dist/src/help.d.ts +0 -6
- package/dist/src/help.d.ts.map +0 -1
- package/dist/src/help.js +0 -37
- package/dist/src/help.js.map +0 -1
- package/dist/src/hooks/command-not-found.d.ts +0 -4
- package/dist/src/hooks/command-not-found.d.ts.map +0 -1
- package/dist/src/hooks/command-not-found.js +0 -16
- package/dist/src/hooks/command-not-found.js.map +0 -1
- package/dist/src/index.d.ts +0 -3
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/index.js +0 -6
- package/dist/src/index.js.map +0 -1
- package/dist/src/util/function/bundle.d.ts +0 -5
- package/dist/src/util/function/bundle.d.ts.map +0 -1
- package/dist/src/util/function/bundle.js +0 -13
- package/dist/src/util/function/bundle.js.map +0 -1
- package/dist/src/util/function/index.d.ts +0 -3
- package/dist/src/util/function/index.d.ts.map +0 -1
- package/dist/src/util/function/index.js +0 -6
- package/dist/src/util/function/index.js.map +0 -1
- package/dist/src/util/function/lookup.d.ts +0 -18
- package/dist/src/util/function/lookup.d.ts.map +0 -1
- package/dist/src/util/function/lookup.js +0 -14
- package/dist/src/util/function/lookup.js.map +0 -1
- package/dist/src/util/index.d.ts +0 -6
- package/dist/src/util/index.d.ts.map +0 -1
- package/dist/src/util/index.js +0 -9
- package/dist/src/util/index.js.map +0 -1
- package/dist/src/util/provider/digital-ocean.d.ts +0 -14
- package/dist/src/util/provider/digital-ocean.d.ts.map +0 -1
- package/dist/src/util/provider/digital-ocean.js +0 -123
- package/dist/src/util/provider/digital-ocean.js.map +0 -1
- package/dist/src/util/provider/index.d.ts +0 -3
- package/dist/src/util/provider/index.d.ts.map +0 -1
- package/dist/src/util/provider/index.js +0 -6
- package/dist/src/util/provider/index.js.map +0 -1
- package/dist/src/util/provider/provider.d.ts +0 -27
- package/dist/src/util/provider/provider.d.ts.map +0 -1
- package/dist/src/util/provider/provider.js +0 -24
- package/dist/src/util/provider/provider.js.map +0 -1
- package/dist/src/util/publish/build.d.ts +0 -11
- package/dist/src/util/publish/build.d.ts.map +0 -1
- package/dist/src/util/publish/build.js +0 -24
- package/dist/src/util/publish/build.js.map +0 -1
- package/dist/src/util/publish/common.d.ts +0 -11
- package/dist/src/util/publish/common.d.ts.map +0 -1
- package/dist/src/util/publish/common.js +0 -23
- package/dist/src/util/publish/common.js.map +0 -1
- package/dist/src/util/publish/config.d.ts +0 -3
- package/dist/src/util/publish/config.d.ts.map +0 -1
- package/dist/src/util/publish/config.js +0 -27
- package/dist/src/util/publish/config.js.map +0 -1
- package/dist/src/util/publish/index.d.ts +0 -7
- package/dist/src/util/publish/index.d.ts.map +0 -1
- package/dist/src/util/publish/index.js +0 -10
- package/dist/src/util/publish/index.js.map +0 -1
- package/dist/src/util/publish/ipfs-upload.d.ts +0 -8
- package/dist/src/util/publish/ipfs-upload.d.ts.map +0 -1
- package/dist/src/util/publish/ipfs-upload.js +0 -50
- package/dist/src/util/publish/ipfs-upload.js.map +0 -1
- package/dist/src/util/publish/publish.d.ts +0 -14
- package/dist/src/util/publish/publish.d.ts.map +0 -1
- package/dist/src/util/publish/publish.js +0 -51
- package/dist/src/util/publish/publish.js.map +0 -1
- package/dist/src/util/publish/publisher-rpc-peer.d.ts +0 -15
- package/dist/src/util/publish/publisher-rpc-peer.d.ts.map +0 -1
- package/dist/src/util/publish/publisher-rpc-peer.js +0 -82
- package/dist/src/util/publish/publisher-rpc-peer.js.map +0 -1
- package/dist/src/util/supervisor/index.d.ts +0 -2
- package/dist/src/util/supervisor/index.d.ts.map +0 -1
- package/dist/src/util/supervisor/index.js +0 -5
- package/dist/src/util/supervisor/index.js.map +0 -1
- package/dist/src/util/supervisor/supervisor-rpc-peer.d.ts +0 -15
- package/dist/src/util/supervisor/supervisor-rpc-peer.d.ts.map +0 -1
- package/dist/src/util/supervisor/supervisor-rpc-peer.js +0 -83
- package/dist/src/util/supervisor/supervisor-rpc-peer.js.map +0 -1
- package/dist/src/util/tunnel/common.d.ts +0 -9
- package/dist/src/util/tunnel/common.d.ts.map +0 -1
- package/dist/src/util/tunnel/common.js +0 -26
- package/dist/src/util/tunnel/common.js.map +0 -1
- package/dist/src/util/tunnel/index.d.ts +0 -3
- package/dist/src/util/tunnel/index.d.ts.map +0 -1
- package/dist/src/util/tunnel/index.js +0 -6
- package/dist/src/util/tunnel/index.js.map +0 -1
- package/dist/src/util/tunnel/tunnel-rpc-peer.d.ts +0 -15
- package/dist/src/util/tunnel/tunnel-rpc-peer.d.ts.map +0 -1
- package/dist/src/util/tunnel/tunnel-rpc-peer.js +0 -83
- package/dist/src/util/tunnel/tunnel-rpc-peer.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/oclif.manifest.json +0 -5824
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright 2023 DXOS.org
|
|
3
|
-
//
|
|
4
|
-
// TODO(egorgripasov): Factor out.
|
|
5
|
-
import WebSocket from 'isomorphic-ws';
|
|
6
|
-
import { Event, Trigger } from '@dxos/async';
|
|
7
|
-
import { log } from '@dxos/log';
|
|
8
|
-
import { schema } from '@dxos/protocols/proto';
|
|
9
|
-
import { createProtoRpcPeer } from '@dxos/rpc';
|
|
10
|
-
export class TunnelRpcPeer {
|
|
11
|
-
_url;
|
|
12
|
-
_socket;
|
|
13
|
-
_rpc;
|
|
14
|
-
_connectTrigger = new Trigger();
|
|
15
|
-
connected = new Event();
|
|
16
|
-
disconnected = new Event();
|
|
17
|
-
error = new Event();
|
|
18
|
-
constructor(_url) {
|
|
19
|
-
this._url = _url;
|
|
20
|
-
this._socket = new WebSocket(this._url);
|
|
21
|
-
this._socket.onopen = async () => {
|
|
22
|
-
try {
|
|
23
|
-
await this._rpc.open();
|
|
24
|
-
log(`RPC open ${this._url}`);
|
|
25
|
-
this.connected.emit();
|
|
26
|
-
this._connectTrigger.wake();
|
|
27
|
-
}
|
|
28
|
-
catch (err) {
|
|
29
|
-
this.error.emit(err);
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
this._socket.onclose = async () => {
|
|
33
|
-
log(`Disconnected ${this._url}`);
|
|
34
|
-
this.disconnected.emit();
|
|
35
|
-
try {
|
|
36
|
-
await this._rpc.close();
|
|
37
|
-
}
|
|
38
|
-
catch (err) {
|
|
39
|
-
this.error.emit(err);
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
this._socket.onerror = (event) => {
|
|
43
|
-
log(`Publisher socket error ${this._url} ${event.message}`);
|
|
44
|
-
this.error.emit(event.error ?? new Error(event.message));
|
|
45
|
-
};
|
|
46
|
-
this._rpc = createProtoRpcPeer({
|
|
47
|
-
requested: {
|
|
48
|
-
Tunnel: schema.getService('dxos.service.tunnel.Tunnel'),
|
|
49
|
-
},
|
|
50
|
-
exposed: {},
|
|
51
|
-
handlers: {},
|
|
52
|
-
noHandshake: true,
|
|
53
|
-
timeout: 1_000_000,
|
|
54
|
-
port: {
|
|
55
|
-
send: (msg) => {
|
|
56
|
-
this._socket.send(msg);
|
|
57
|
-
},
|
|
58
|
-
subscribe: (cb) => {
|
|
59
|
-
this._socket.onmessage = async (msg) => {
|
|
60
|
-
if (typeof Blob !== 'undefined' && msg.data instanceof Blob) {
|
|
61
|
-
cb(Buffer.from(await msg.data.arrayBuffer()));
|
|
62
|
-
}
|
|
63
|
-
else {
|
|
64
|
-
cb(msg.data);
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
},
|
|
68
|
-
},
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
get rpc() {
|
|
72
|
-
return this._rpc.rpc.Tunnel;
|
|
73
|
-
}
|
|
74
|
-
async close() {
|
|
75
|
-
try {
|
|
76
|
-
await this._rpc.close();
|
|
77
|
-
}
|
|
78
|
-
finally {
|
|
79
|
-
this._socket.close();
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
//# sourceMappingURL=tunnel-rpc-peer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tunnel-rpc-peer.js","sourceRoot":"","sources":["../../../../src/util/tunnel/tunnel-rpc-peer.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;AAEF,kCAAkC;AAClC,OAAO,SAAS,MAAM,eAAe,CAAC;AAEtC,OA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