@dxos/cli 0.1.53 → 0.1.54-main.1661511
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/README.md +96 -133
- package/dist/src/base-command.d.ts +3 -1
- package/dist/src/base-command.d.ts.map +1 -1
- package/dist/src/base-command.js +24 -14
- package/dist/src/base-command.js.map +1 -1
- package/dist/src/commands/agent/agent.test.d.ts +2 -0
- package/dist/src/commands/agent/agent.test.d.ts.map +1 -0
- package/dist/src/commands/agent/agent.test.js +186 -0
- package/dist/src/commands/agent/agent.test.js.map +1 -0
- package/dist/src/commands/agent/list.d.ts.map +1 -1
- package/dist/src/commands/agent/list.js +22 -1
- package/dist/src/commands/agent/list.js.map +1 -1
- package/dist/src/commands/agent/restart.d.ts +10 -0
- package/dist/src/commands/agent/restart.d.ts.map +1 -1
- package/dist/src/commands/agent/restart.js +9 -2
- package/dist/src/commands/agent/restart.js.map +1 -1
- package/dist/src/commands/agent/start.d.ts +1 -0
- package/dist/src/commands/agent/start.d.ts.map +1 -1
- package/dist/src/commands/agent/start.js +29 -27
- package/dist/src/commands/agent/start.js.map +1 -1
- package/dist/src/commands/agent/stop.d.ts +2 -0
- package/dist/src/commands/agent/stop.d.ts.map +1 -1
- package/dist/src/commands/agent/stop.js +17 -7
- package/dist/src/commands/agent/stop.js.map +1 -1
- package/dist/src/commands/app/create.d.ts +1 -0
- package/dist/src/commands/app/create.d.ts.map +1 -1
- package/dist/src/commands/app/open.d.ts +1 -0
- package/dist/src/commands/app/open.d.ts.map +1 -1
- package/dist/src/commands/app/open.js +6 -6
- package/dist/src/commands/app/open.js.map +1 -1
- package/dist/src/commands/app/publish.d.ts +1 -0
- package/dist/src/commands/app/publish.d.ts.map +1 -1
- package/dist/src/commands/config/index.d.ts.map +1 -1
- package/dist/src/commands/config/index.js +3 -1
- package/dist/src/commands/config/index.js.map +1 -1
- package/dist/src/commands/debug/stats.d.ts +1 -0
- package/dist/src/commands/debug/stats.d.ts.map +1 -1
- package/dist/src/commands/debug/stats.js +21 -16
- package/dist/src/commands/debug/stats.js.map +1 -1
- package/dist/src/commands/function/dev-server.d.ts +2 -1
- package/dist/src/commands/function/dev-server.d.ts.map +1 -1
- package/dist/src/commands/function/dev-server.js +3 -3
- package/dist/src/commands/function/dev-server.js.map +1 -1
- package/dist/src/commands/halo/credential/list.d.ts +1 -0
- package/dist/src/commands/halo/credential/list.d.ts.map +1 -1
- package/dist/src/commands/halo/join.d.ts +1 -0
- package/dist/src/commands/halo/join.d.ts.map +1 -1
- package/dist/src/commands/halo/join.js +2 -2
- package/dist/src/commands/halo/join.js.map +1 -1
- package/dist/src/commands/halo/share.d.ts +1 -0
- package/dist/src/commands/halo/share.d.ts.map +1 -1
- package/dist/src/commands/halo/share.js +4 -4
- package/dist/src/commands/halo/share.js.map +1 -1
- package/dist/src/commands/kube/deploy.d.ts +1 -0
- package/dist/src/commands/kube/deploy.d.ts.map +1 -1
- package/dist/src/commands/reset/index.d.ts +1 -0
- package/dist/src/commands/reset/index.d.ts.map +1 -1
- package/dist/src/commands/reset/index.js +1 -1
- package/dist/src/commands/reset/index.js.map +1 -1
- package/dist/src/commands/space/create.d.ts.map +1 -1
- package/dist/src/commands/space/create.js +1 -29
- package/dist/src/commands/space/create.js.map +1 -1
- package/dist/src/commands/space/epoch.d.ts +1 -0
- package/dist/src/commands/space/epoch.d.ts.map +1 -1
- package/dist/src/commands/space/invite.d.ts.map +1 -1
- package/dist/src/commands/space/invite.js +2 -2
- package/dist/src/commands/space/invite.js.map +1 -1
- package/dist/src/commands/space/join.d.ts +1 -0
- package/dist/src/commands/space/join.d.ts.map +1 -1
- package/dist/src/commands/space/join.js +2 -2
- package/dist/src/commands/space/join.js.map +1 -1
- package/dist/src/commands/space/list.d.ts +1 -0
- package/dist/src/commands/space/list.d.ts.map +1 -1
- package/dist/src/commands/space/members.d.ts +1 -0
- package/dist/src/commands/space/members.d.ts.map +1 -1
- package/dist/src/commands/tunnel/set.d.ts +1 -0
- package/dist/src/commands/tunnel/set.d.ts.map +1 -1
- package/dist/src/help.d.ts +6 -0
- package/dist/src/help.d.ts.map +1 -0
- package/dist/src/help.js +31 -0
- package/dist/src/help.js.map +1 -0
- package/dist/src/hooks/command-not-found.d.ts +4 -0
- package/dist/src/hooks/command-not-found.d.ts.map +1 -0
- package/dist/src/hooks/command-not-found.js +14 -0
- package/dist/src/hooks/command-not-found.js.map +1 -0
- package/dist/src/util/invitation.d.ts +1 -1
- package/dist/src/util/invitation.d.ts.map +1 -1
- package/dist/src/util/invitation.js +7 -7
- package/dist/src/util/invitation.js.map +1 -1
- package/dist/src/util/print.d.ts +3 -4
- package/dist/src/util/print.d.ts.map +1 -1
- package/dist/src/util/print.js +2 -2
- package/dist/src/util/print.js.map +1 -1
- package/dist/src/util/publish/publisher-rpc-peer.d.ts.map +1 -1
- package/dist/src/util/publish/publisher-rpc-peer.js +4 -5
- package/dist/src/util/publish/publisher-rpc-peer.js.map +1 -1
- package/dist/src/util/supervisor/supervisor-rpc-peer.d.ts.map +1 -1
- package/dist/src/util/supervisor/supervisor-rpc-peer.js +4 -5
- package/dist/src/util/supervisor/supervisor-rpc-peer.js.map +1 -1
- package/dist/src/util/telemetry.d.ts.map +1 -1
- package/dist/src/util/telemetry.js.map +1 -1
- package/dist/src/util/telemetryrc.json +2 -2
- package/dist/src/util/test-util.d.ts +1 -0
- package/dist/src/util/test-util.d.ts.map +1 -1
- package/dist/src/util/test-util.js +14 -5
- package/dist/src/util/test-util.js.map +1 -1
- package/dist/src/util/tunnel/tunnel-rpc-peer.d.ts.map +1 -1
- package/dist/src/util/tunnel/tunnel-rpc-peer.js +4 -5
- package/dist/src/util/tunnel/tunnel-rpc-peer.js.map +1 -1
- package/dist/src/util/util.d.ts +1 -1
- package/dist/src/util/util.d.ts.map +1 -1
- package/oclif.manifest.json +36 -199
- package/package.json +31 -32
- package/dist/src/commands/debug/echo-test-data.d.ts +0 -19
- package/dist/src/commands/debug/echo-test-data.d.ts.map +0 -1
- package/dist/src/commands/debug/echo-test-data.js +0 -63
- package/dist/src/commands/debug/echo-test-data.js.map +0 -1
- package/dist/src/commands/device/invite.d.ts +0 -6
- package/dist/src/commands/device/invite.d.ts.map +0 -1
- package/dist/src/commands/device/invite.js +0 -36
- package/dist/src/commands/device/invite.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tunnel-rpc-peer.d.ts","sourceRoot":"","sources":["../../../../src/util/tunnel/tunnel-rpc-peer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tunnel-rpc-peer.d.ts","sourceRoot":"","sources":["../../../../src/util/tunnel/tunnel-rpc-peer.ts"],"names":[],"mappings":"AAOA,OAAO,EAAW,KAAK,EAAE,MAAM,aAAa,CAAC;AAG7C,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AAGnE,qBAAa,aAAa;IASZ,OAAO,CAAC,QAAQ,CAAC,IAAI;IARjC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAY;IACpC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAmC;IACxD,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAiB;IAEjD,QAAQ,CAAC,SAAS,cAAe;IACjC,QAAQ,CAAC,YAAY,cAAe;IACpC,QAAQ,CAAC,KAAK,eAAsB;gBAEP,IAAI,EAAE,MAAM;IAqDzC,IAAI,GAAG,IAAI,MAAM,CAEhB;IAEK,KAAK;CAOZ"}
|
|
@@ -8,12 +8,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.TunnelRpcPeer = void 0;
|
|
10
10
|
// TODO(egorgripasov): Factor out.
|
|
11
|
-
const debug_1 = __importDefault(require("debug"));
|
|
12
11
|
const isomorphic_ws_1 = __importDefault(require("isomorphic-ws"));
|
|
13
12
|
const async_1 = require("@dxos/async");
|
|
13
|
+
const log_1 = require("@dxos/log");
|
|
14
14
|
const protocols_1 = require("@dxos/protocols");
|
|
15
15
|
const rpc_1 = require("@dxos/rpc");
|
|
16
|
-
const log = (0, debug_1.default)('dxos:cli:tunnel-rpc-peer');
|
|
17
16
|
class TunnelRpcPeer {
|
|
18
17
|
constructor(_url) {
|
|
19
18
|
this._url = _url;
|
|
@@ -25,7 +24,7 @@ class TunnelRpcPeer {
|
|
|
25
24
|
this._socket.onopen = async () => {
|
|
26
25
|
try {
|
|
27
26
|
await this._rpc.open();
|
|
28
|
-
log(`RPC open ${this._url}
|
|
27
|
+
(0, log_1.log)(`RPC open ${this._url}`, {}, { file: "packages/devtools/cli/src/util/tunnel/tunnel-rpc-peer.ts", line: 28, scope: this, bugcheck: "If you see this message then it means that the source code preprocessor for @dxos/log is broken. It probably has misinterpreted an unrelated call for a logger invocation.", callSite: (fn, args) => fn(...args) });
|
|
29
28
|
this.connected.emit();
|
|
30
29
|
this._connectTrigger.wake();
|
|
31
30
|
}
|
|
@@ -34,7 +33,7 @@ class TunnelRpcPeer {
|
|
|
34
33
|
}
|
|
35
34
|
};
|
|
36
35
|
this._socket.onclose = async () => {
|
|
37
|
-
log(`Disconnected ${this._url}
|
|
36
|
+
(0, log_1.log)(`Disconnected ${this._url}`, {}, { file: "packages/devtools/cli/src/util/tunnel/tunnel-rpc-peer.ts", line: 37, scope: this, bugcheck: "If you see this message then it means that the source code preprocessor for @dxos/log is broken. It probably has misinterpreted an unrelated call for a logger invocation.", callSite: (fn, args) => fn(...args) });
|
|
38
37
|
this.disconnected.emit();
|
|
39
38
|
try {
|
|
40
39
|
await this._rpc.close();
|
|
@@ -45,7 +44,7 @@ class TunnelRpcPeer {
|
|
|
45
44
|
};
|
|
46
45
|
this._socket.onerror = (event) => {
|
|
47
46
|
var _a;
|
|
48
|
-
log(`Publisher socket error ${this._url} ${event.message}
|
|
47
|
+
(0, log_1.log)(`Publisher socket error ${this._url} ${event.message}`, {}, { file: "packages/devtools/cli/src/util/tunnel/tunnel-rpc-peer.ts", line: 47, scope: this, bugcheck: "If you see this message then it means that the source code preprocessor for @dxos/log is broken. It probably has misinterpreted an unrelated call for a logger invocation.", callSite: (fn, args) => fn(...args) });
|
|
49
48
|
this.error.emit((_a = event.error) !== null && _a !== void 0 ? _a : new Error(event.message));
|
|
50
49
|
};
|
|
51
50
|
this._rpc = (0, rpc_1.createProtoRpcPeer)({
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
1
|
+
{"version":3,"file":"tunnel-rpc-peer.js","sourceRoot":"","sources":["../../../../src/util/tunnel/tunnel-rpc-peer.ts"],"names":[],"mappings":"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"}
|
package/dist/src/util/util.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Space } from '@dxos/client';
|
|
1
|
+
import { Space } from '@dxos/client/echo';
|
|
2
2
|
import { PublicKey } from '@dxos/keys';
|
|
3
3
|
export declare const maybeTruncateKey: (key: PublicKey, truncate?: boolean) => string;
|
|
4
4
|
export declare const safeParseInt: (value: string | undefined, defaultValue?: number) => number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../src/util/util.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../src/util/util.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC,eAAO,MAAM,gBAAgB,QAAS,SAAS,+BAAkE,CAAC;AAElH,eAAO,MAAM,YAAY,UAAW,MAAM,GAAG,SAAS,iBAAiB,MAAM,KAAG,MAAM,GAAG,SAOxF,CAAC;AAMF,eAAO,MAAM,WAAW,WAAkB,KAAK,EAAE,iBAiBhD,CAAC"}
|
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.1.
|
|
2
|
+
"version": "0.1.54-main.1661511",
|
|
3
3
|
"commands": {
|
|
4
4
|
"agent:list": {
|
|
5
5
|
"id": "agent:list",
|
|
@@ -82,8 +82,7 @@
|
|
|
82
82
|
"json": {
|
|
83
83
|
"name": "json",
|
|
84
84
|
"type": "boolean",
|
|
85
|
-
"description": "
|
|
86
|
-
"helpGroup": "GLOBAL",
|
|
85
|
+
"description": "Output as JSON.",
|
|
87
86
|
"allowNo": false
|
|
88
87
|
},
|
|
89
88
|
"dry-run": {
|
|
@@ -135,6 +134,12 @@
|
|
|
135
134
|
"aliases": [
|
|
136
135
|
"t"
|
|
137
136
|
]
|
|
137
|
+
},
|
|
138
|
+
"force": {
|
|
139
|
+
"name": "force",
|
|
140
|
+
"type": "boolean",
|
|
141
|
+
"description": "Force restart.",
|
|
142
|
+
"allowNo": false
|
|
138
143
|
}
|
|
139
144
|
},
|
|
140
145
|
"args": {}
|
|
@@ -151,8 +156,7 @@
|
|
|
151
156
|
"json": {
|
|
152
157
|
"name": "json",
|
|
153
158
|
"type": "boolean",
|
|
154
|
-
"description": "
|
|
155
|
-
"helpGroup": "GLOBAL",
|
|
159
|
+
"description": "Output as JSON.",
|
|
156
160
|
"allowNo": false
|
|
157
161
|
},
|
|
158
162
|
"dry-run": {
|
|
@@ -250,8 +254,7 @@
|
|
|
250
254
|
"json": {
|
|
251
255
|
"name": "json",
|
|
252
256
|
"type": "boolean",
|
|
253
|
-
"description": "
|
|
254
|
-
"helpGroup": "GLOBAL",
|
|
257
|
+
"description": "Output as JSON.",
|
|
255
258
|
"allowNo": false
|
|
256
259
|
},
|
|
257
260
|
"dry-run": {
|
|
@@ -307,9 +310,14 @@
|
|
|
307
310
|
"all": {
|
|
308
311
|
"name": "all",
|
|
309
312
|
"type": "boolean",
|
|
310
|
-
"char": "a",
|
|
311
313
|
"description": "Stop all agents.",
|
|
312
314
|
"allowNo": false
|
|
315
|
+
},
|
|
316
|
+
"force": {
|
|
317
|
+
"name": "force",
|
|
318
|
+
"type": "boolean",
|
|
319
|
+
"description": "Force stop.",
|
|
320
|
+
"allowNo": false
|
|
313
321
|
}
|
|
314
322
|
},
|
|
315
323
|
"args": {}
|
|
@@ -326,8 +334,7 @@
|
|
|
326
334
|
"json": {
|
|
327
335
|
"name": "json",
|
|
328
336
|
"type": "boolean",
|
|
329
|
-
"description": "
|
|
330
|
-
"helpGroup": "GLOBAL",
|
|
337
|
+
"description": "Output as JSON.",
|
|
331
338
|
"allowNo": false
|
|
332
339
|
},
|
|
333
340
|
"dry-run": {
|
|
@@ -584,8 +591,7 @@
|
|
|
584
591
|
"json": {
|
|
585
592
|
"name": "json",
|
|
586
593
|
"type": "boolean",
|
|
587
|
-
"description": "
|
|
588
|
-
"helpGroup": "GLOBAL",
|
|
594
|
+
"description": "Output as JSON.",
|
|
589
595
|
"allowNo": false
|
|
590
596
|
},
|
|
591
597
|
"dry-run": {
|
|
@@ -734,94 +740,6 @@
|
|
|
734
740
|
},
|
|
735
741
|
"args": {}
|
|
736
742
|
},
|
|
737
|
-
"debug:echo-test-data": {
|
|
738
|
-
"id": "debug:echo-test-data",
|
|
739
|
-
"description": "Pollutes selected space with test data.",
|
|
740
|
-
"strict": true,
|
|
741
|
-
"pluginName": "@dxos/cli",
|
|
742
|
-
"pluginAlias": "@dxos/cli",
|
|
743
|
-
"pluginType": "core",
|
|
744
|
-
"aliases": [],
|
|
745
|
-
"flags": {
|
|
746
|
-
"json": {
|
|
747
|
-
"name": "json",
|
|
748
|
-
"type": "boolean",
|
|
749
|
-
"description": "Format output as json.",
|
|
750
|
-
"helpGroup": "GLOBAL",
|
|
751
|
-
"allowNo": false
|
|
752
|
-
},
|
|
753
|
-
"dry-run": {
|
|
754
|
-
"name": "dry-run",
|
|
755
|
-
"type": "boolean",
|
|
756
|
-
"description": "Dry run.",
|
|
757
|
-
"allowNo": false
|
|
758
|
-
},
|
|
759
|
-
"verbose": {
|
|
760
|
-
"name": "verbose",
|
|
761
|
-
"type": "boolean",
|
|
762
|
-
"char": "v",
|
|
763
|
-
"description": "Verbose output",
|
|
764
|
-
"allowNo": false
|
|
765
|
-
},
|
|
766
|
-
"profile": {
|
|
767
|
-
"name": "profile",
|
|
768
|
-
"type": "option",
|
|
769
|
-
"description": "User profile.",
|
|
770
|
-
"multiple": false,
|
|
771
|
-
"default": "default"
|
|
772
|
-
},
|
|
773
|
-
"config": {
|
|
774
|
-
"name": "config",
|
|
775
|
-
"type": "option",
|
|
776
|
-
"description": "Config file.",
|
|
777
|
-
"helpValue": "path",
|
|
778
|
-
"multiple": false,
|
|
779
|
-
"dependsOn": [
|
|
780
|
-
"profile"
|
|
781
|
-
],
|
|
782
|
-
"default": "/home/runner/.config/dx/profile/default.yml",
|
|
783
|
-
"aliases": [
|
|
784
|
-
"c"
|
|
785
|
-
]
|
|
786
|
-
},
|
|
787
|
-
"no-agent": {
|
|
788
|
-
"name": "no-agent",
|
|
789
|
-
"type": "boolean",
|
|
790
|
-
"description": "Auto-start agent.",
|
|
791
|
-
"allowNo": false
|
|
792
|
-
},
|
|
793
|
-
"timeout": {
|
|
794
|
-
"name": "timeout",
|
|
795
|
-
"type": "option",
|
|
796
|
-
"description": "Timeout in seconds.",
|
|
797
|
-
"multiple": false,
|
|
798
|
-
"default": 30,
|
|
799
|
-
"aliases": [
|
|
800
|
-
"t"
|
|
801
|
-
]
|
|
802
|
-
},
|
|
803
|
-
"mutations": {
|
|
804
|
-
"name": "mutations",
|
|
805
|
-
"type": "option",
|
|
806
|
-
"description": "Number of mutations.",
|
|
807
|
-
"multiple": false,
|
|
808
|
-
"default": 10000
|
|
809
|
-
},
|
|
810
|
-
"epochEach": {
|
|
811
|
-
"name": "epochEach",
|
|
812
|
-
"type": "option",
|
|
813
|
-
"description": "Epoch each N mutations.",
|
|
814
|
-
"multiple": false,
|
|
815
|
-
"default": 100
|
|
816
|
-
}
|
|
817
|
-
},
|
|
818
|
-
"args": {
|
|
819
|
-
"key": {
|
|
820
|
-
"name": "key",
|
|
821
|
-
"description": "Space key head in hex."
|
|
822
|
-
}
|
|
823
|
-
}
|
|
824
|
-
},
|
|
825
743
|
"debug:stats": {
|
|
826
744
|
"id": "debug:stats",
|
|
827
745
|
"description": "Output debug stats.",
|
|
@@ -834,8 +752,7 @@
|
|
|
834
752
|
"json": {
|
|
835
753
|
"name": "json",
|
|
836
754
|
"type": "boolean",
|
|
837
|
-
"description": "
|
|
838
|
-
"helpGroup": "GLOBAL",
|
|
755
|
+
"description": "Output as JSON.",
|
|
839
756
|
"allowNo": false
|
|
840
757
|
},
|
|
841
758
|
"dry-run": {
|
|
@@ -971,75 +888,6 @@
|
|
|
971
888
|
},
|
|
972
889
|
"args": {}
|
|
973
890
|
},
|
|
974
|
-
"device:invite": {
|
|
975
|
-
"id": "device:invite",
|
|
976
|
-
"description": "Create device invitation.",
|
|
977
|
-
"strict": true,
|
|
978
|
-
"pluginName": "@dxos/cli",
|
|
979
|
-
"pluginAlias": "@dxos/cli",
|
|
980
|
-
"pluginType": "core",
|
|
981
|
-
"aliases": [],
|
|
982
|
-
"flags": {
|
|
983
|
-
"json": {
|
|
984
|
-
"name": "json",
|
|
985
|
-
"type": "boolean",
|
|
986
|
-
"description": "Format output as json.",
|
|
987
|
-
"helpGroup": "GLOBAL",
|
|
988
|
-
"allowNo": false
|
|
989
|
-
},
|
|
990
|
-
"dry-run": {
|
|
991
|
-
"name": "dry-run",
|
|
992
|
-
"type": "boolean",
|
|
993
|
-
"description": "Dry run.",
|
|
994
|
-
"allowNo": false
|
|
995
|
-
},
|
|
996
|
-
"verbose": {
|
|
997
|
-
"name": "verbose",
|
|
998
|
-
"type": "boolean",
|
|
999
|
-
"char": "v",
|
|
1000
|
-
"description": "Verbose output",
|
|
1001
|
-
"allowNo": false
|
|
1002
|
-
},
|
|
1003
|
-
"profile": {
|
|
1004
|
-
"name": "profile",
|
|
1005
|
-
"type": "option",
|
|
1006
|
-
"description": "User profile.",
|
|
1007
|
-
"multiple": false,
|
|
1008
|
-
"default": "default"
|
|
1009
|
-
},
|
|
1010
|
-
"config": {
|
|
1011
|
-
"name": "config",
|
|
1012
|
-
"type": "option",
|
|
1013
|
-
"description": "Config file.",
|
|
1014
|
-
"helpValue": "path",
|
|
1015
|
-
"multiple": false,
|
|
1016
|
-
"dependsOn": [
|
|
1017
|
-
"profile"
|
|
1018
|
-
],
|
|
1019
|
-
"default": "/home/runner/.config/dx/profile/default.yml",
|
|
1020
|
-
"aliases": [
|
|
1021
|
-
"c"
|
|
1022
|
-
]
|
|
1023
|
-
},
|
|
1024
|
-
"no-agent": {
|
|
1025
|
-
"name": "no-agent",
|
|
1026
|
-
"type": "boolean",
|
|
1027
|
-
"description": "Auto-start agent.",
|
|
1028
|
-
"allowNo": false
|
|
1029
|
-
},
|
|
1030
|
-
"timeout": {
|
|
1031
|
-
"name": "timeout",
|
|
1032
|
-
"type": "option",
|
|
1033
|
-
"description": "Timeout in seconds.",
|
|
1034
|
-
"multiple": false,
|
|
1035
|
-
"default": 30,
|
|
1036
|
-
"aliases": [
|
|
1037
|
-
"t"
|
|
1038
|
-
]
|
|
1039
|
-
}
|
|
1040
|
-
},
|
|
1041
|
-
"args": {}
|
|
1042
|
-
},
|
|
1043
891
|
"device:list": {
|
|
1044
892
|
"id": "device:list",
|
|
1045
893
|
"description": "Show device info.",
|
|
@@ -1129,8 +977,7 @@
|
|
|
1129
977
|
"json": {
|
|
1130
978
|
"name": "json",
|
|
1131
979
|
"type": "boolean",
|
|
1132
|
-
"description": "
|
|
1133
|
-
"helpGroup": "GLOBAL",
|
|
980
|
+
"description": "Output as JSON.",
|
|
1134
981
|
"allowNo": false
|
|
1135
982
|
},
|
|
1136
983
|
"dry-run": {
|
|
@@ -1187,6 +1034,9 @@
|
|
|
1187
1034
|
"name": "require",
|
|
1188
1035
|
"type": "option",
|
|
1189
1036
|
"multiple": true,
|
|
1037
|
+
"default": [
|
|
1038
|
+
"ts-node/register"
|
|
1039
|
+
],
|
|
1190
1040
|
"aliases": [
|
|
1191
1041
|
"r"
|
|
1192
1042
|
]
|
|
@@ -1578,8 +1428,7 @@
|
|
|
1578
1428
|
"json": {
|
|
1579
1429
|
"name": "json",
|
|
1580
1430
|
"type": "boolean",
|
|
1581
|
-
"description": "
|
|
1582
|
-
"helpGroup": "GLOBAL",
|
|
1431
|
+
"description": "Output as JSON.",
|
|
1583
1432
|
"allowNo": false
|
|
1584
1433
|
},
|
|
1585
1434
|
"dry-run": {
|
|
@@ -1797,8 +1646,7 @@
|
|
|
1797
1646
|
"json": {
|
|
1798
1647
|
"name": "json",
|
|
1799
1648
|
"type": "boolean",
|
|
1800
|
-
"description": "
|
|
1801
|
-
"helpGroup": "GLOBAL",
|
|
1649
|
+
"description": "Output as JSON.",
|
|
1802
1650
|
"allowNo": false
|
|
1803
1651
|
},
|
|
1804
1652
|
"dry-run": {
|
|
@@ -1892,8 +1740,7 @@
|
|
|
1892
1740
|
"json": {
|
|
1893
1741
|
"name": "json",
|
|
1894
1742
|
"type": "boolean",
|
|
1895
|
-
"description": "
|
|
1896
|
-
"helpGroup": "GLOBAL",
|
|
1743
|
+
"description": "Output as JSON.",
|
|
1897
1744
|
"allowNo": false
|
|
1898
1745
|
},
|
|
1899
1746
|
"dry-run": {
|
|
@@ -1967,8 +1814,7 @@
|
|
|
1967
1814
|
"json": {
|
|
1968
1815
|
"name": "json",
|
|
1969
1816
|
"type": "boolean",
|
|
1970
|
-
"description": "
|
|
1971
|
-
"helpGroup": "GLOBAL",
|
|
1817
|
+
"description": "Output as JSON.",
|
|
1972
1818
|
"allowNo": false
|
|
1973
1819
|
},
|
|
1974
1820
|
"dry-run": {
|
|
@@ -2109,8 +1955,7 @@
|
|
|
2109
1955
|
"json": {
|
|
2110
1956
|
"name": "json",
|
|
2111
1957
|
"type": "boolean",
|
|
2112
|
-
"description": "
|
|
2113
|
-
"helpGroup": "GLOBAL",
|
|
1958
|
+
"description": "Output as JSON.",
|
|
2114
1959
|
"allowNo": false
|
|
2115
1960
|
},
|
|
2116
1961
|
"dry-run": {
|
|
@@ -2256,8 +2101,7 @@
|
|
|
2256
2101
|
"json": {
|
|
2257
2102
|
"name": "json",
|
|
2258
2103
|
"type": "boolean",
|
|
2259
|
-
"description": "
|
|
2260
|
-
"helpGroup": "GLOBAL",
|
|
2104
|
+
"description": "Output as JSON.",
|
|
2261
2105
|
"allowNo": false
|
|
2262
2106
|
},
|
|
2263
2107
|
"dry-run": {
|
|
@@ -2325,8 +2169,7 @@
|
|
|
2325
2169
|
"json": {
|
|
2326
2170
|
"name": "json",
|
|
2327
2171
|
"type": "boolean",
|
|
2328
|
-
"description": "
|
|
2329
|
-
"helpGroup": "GLOBAL",
|
|
2172
|
+
"description": "Output as JSON.",
|
|
2330
2173
|
"allowNo": false
|
|
2331
2174
|
},
|
|
2332
2175
|
"dry-run": {
|
|
@@ -2399,8 +2242,7 @@
|
|
|
2399
2242
|
"json": {
|
|
2400
2243
|
"name": "json",
|
|
2401
2244
|
"type": "boolean",
|
|
2402
|
-
"description": "
|
|
2403
|
-
"helpGroup": "GLOBAL",
|
|
2245
|
+
"description": "Output as JSON.",
|
|
2404
2246
|
"allowNo": false
|
|
2405
2247
|
},
|
|
2406
2248
|
"dry-run": {
|
|
@@ -2480,8 +2322,7 @@
|
|
|
2480
2322
|
"json": {
|
|
2481
2323
|
"name": "json",
|
|
2482
2324
|
"type": "boolean",
|
|
2483
|
-
"description": "
|
|
2484
|
-
"helpGroup": "GLOBAL",
|
|
2325
|
+
"description": "Output as JSON.",
|
|
2485
2326
|
"allowNo": false
|
|
2486
2327
|
},
|
|
2487
2328
|
"dry-run": {
|
|
@@ -2622,8 +2463,7 @@
|
|
|
2622
2463
|
"json": {
|
|
2623
2464
|
"name": "json",
|
|
2624
2465
|
"type": "boolean",
|
|
2625
|
-
"description": "
|
|
2626
|
-
"helpGroup": "GLOBAL",
|
|
2466
|
+
"description": "Output as JSON.",
|
|
2627
2467
|
"allowNo": false
|
|
2628
2468
|
},
|
|
2629
2469
|
"dry-run": {
|
|
@@ -2838,8 +2678,7 @@
|
|
|
2838
2678
|
"json": {
|
|
2839
2679
|
"name": "json",
|
|
2840
2680
|
"type": "boolean",
|
|
2841
|
-
"description": "
|
|
2842
|
-
"helpGroup": "GLOBAL",
|
|
2681
|
+
"description": "Output as JSON.",
|
|
2843
2682
|
"allowNo": false
|
|
2844
2683
|
},
|
|
2845
2684
|
"dry-run": {
|
|
@@ -2926,8 +2765,7 @@
|
|
|
2926
2765
|
"json": {
|
|
2927
2766
|
"name": "json",
|
|
2928
2767
|
"type": "boolean",
|
|
2929
|
-
"description": "
|
|
2930
|
-
"helpGroup": "GLOBAL",
|
|
2768
|
+
"description": "Output as JSON.",
|
|
2931
2769
|
"allowNo": false
|
|
2932
2770
|
},
|
|
2933
2771
|
"dry-run": {
|
|
@@ -3001,8 +2839,7 @@
|
|
|
3001
2839
|
"json": {
|
|
3002
2840
|
"name": "json",
|
|
3003
2841
|
"type": "boolean",
|
|
3004
|
-
"description": "
|
|
3005
|
-
"helpGroup": "GLOBAL",
|
|
2842
|
+
"description": "Output as JSON.",
|
|
3006
2843
|
"allowNo": false
|
|
3007
2844
|
},
|
|
3008
2845
|
"dry-run": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.54-main.1661511",
|
|
4
4
|
"description": "DXOS CLI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dxos",
|
|
@@ -23,18 +23,17 @@
|
|
|
23
23
|
"/oclif.manifest.json"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@
|
|
27
|
-
"@oclif/
|
|
28
|
-
"@oclif/plugin-
|
|
29
|
-
"@oclif/plugin-plugins": "^2.4.3",
|
|
26
|
+
"@oclif/core": "^2.9.4",
|
|
27
|
+
"@oclif/plugin-help": "^5.2.14",
|
|
28
|
+
"@oclif/plugin-plugins": "^3.1.8",
|
|
30
29
|
"@octokit/core": "^4.0.4",
|
|
31
30
|
"chalk": "^4.1.0",
|
|
32
31
|
"cli-progress": "^3.11.2",
|
|
33
32
|
"date-fns": "^2.29.3",
|
|
34
|
-
"debug": "^4.3.3",
|
|
35
33
|
"do-wrapper": "^4.5.1",
|
|
36
34
|
"fs-extra": "^8.1.0",
|
|
37
35
|
"get-folder-size": "^2.0.1",
|
|
36
|
+
"git-rev-sync": "^3.0.2",
|
|
38
37
|
"inquirer": "^8.2.0",
|
|
39
38
|
"ipfs-http-client": "~56.0.1",
|
|
40
39
|
"isomorphic-ws": "^4.0.1",
|
|
@@ -45,37 +44,33 @@
|
|
|
45
44
|
"pkg-up": "^3.1.0",
|
|
46
45
|
"react": "^18.2.0",
|
|
47
46
|
"tempy": "^1.0.1",
|
|
47
|
+
"tiny-invariant": "^1.3.1",
|
|
48
48
|
"uuid": "^8.3.2",
|
|
49
49
|
"ws": "^7.4.4",
|
|
50
|
-
"@dxos/agent": "0.1.
|
|
51
|
-
"@dxos/async": "0.1.
|
|
52
|
-
"@dxos/bare-template": "0.1.
|
|
53
|
-
"@dxos/client": "0.1.
|
|
54
|
-
"@dxos/client-protocol": "0.1.
|
|
55
|
-
"@dxos/
|
|
56
|
-
"@dxos/
|
|
57
|
-
"@dxos/
|
|
58
|
-
"@dxos/
|
|
59
|
-
"@dxos/
|
|
60
|
-
"@dxos/
|
|
61
|
-
"@dxos/
|
|
62
|
-
"@dxos/
|
|
63
|
-
"@dxos/
|
|
64
|
-
"@dxos/
|
|
65
|
-
"@dxos/
|
|
66
|
-
"@dxos/
|
|
67
|
-
"@dxos/
|
|
68
|
-
"@dxos/
|
|
69
|
-
"@dxos/
|
|
70
|
-
"@dxos/telemetry": "0.1.53",
|
|
71
|
-
"@dxos/util": "0.1.53",
|
|
72
|
-
"@dxos/websocket-rpc": "0.1.53"
|
|
50
|
+
"@dxos/agent": "0.1.54-main.1661511",
|
|
51
|
+
"@dxos/async": "0.1.54-main.1661511",
|
|
52
|
+
"@dxos/bare-template": "0.1.54-main.1661511",
|
|
53
|
+
"@dxos/client": "0.1.54-main.1661511",
|
|
54
|
+
"@dxos/client-protocol": "0.1.54-main.1661511",
|
|
55
|
+
"@dxos/codec-protobuf": "0.1.54-main.1661511",
|
|
56
|
+
"@dxos/config": "0.1.54-main.1661511",
|
|
57
|
+
"@dxos/context": "0.1.54-main.1661511",
|
|
58
|
+
"@dxos/debug": "0.1.54-main.1661511",
|
|
59
|
+
"@dxos/functions": "0.1.54-main.1661511",
|
|
60
|
+
"@dxos/hello-template": "0.1.54-main.1661511",
|
|
61
|
+
"@dxos/log": "0.1.54-main.1661511",
|
|
62
|
+
"@dxos/protocols": "0.1.54-main.1661511",
|
|
63
|
+
"@dxos/plate": "0.1.54-main.1661511",
|
|
64
|
+
"@dxos/sentry": "0.1.54-main.1661511",
|
|
65
|
+
"@dxos/rpc": "0.1.54-main.1661511",
|
|
66
|
+
"@dxos/tasks-template": "0.1.54-main.1661511",
|
|
67
|
+
"@dxos/util": "0.1.54-main.1661511",
|
|
68
|
+
"@dxos/telemetry": "0.1.54-main.1661511",
|
|
69
|
+
"@dxos/websocket-rpc": "0.1.54-main.1661511"
|
|
73
70
|
},
|
|
74
71
|
"devDependencies": {
|
|
75
|
-
"@oclif/test": "^2.3.
|
|
72
|
+
"@oclif/test": "^2.3.31",
|
|
76
73
|
"@types/cli-progress": "^3.11.0",
|
|
77
|
-
"@types/debug": "^4.1.7",
|
|
78
|
-
"@types/faker": "^5.5.9",
|
|
79
74
|
"@types/fs-extra": "^9.0.4",
|
|
80
75
|
"@types/js-yaml": "^4.0.5",
|
|
81
76
|
"@types/lodash.defaultsdeep": "^4.6.6",
|
|
@@ -96,10 +91,14 @@
|
|
|
96
91
|
"bin": "dx",
|
|
97
92
|
"dirname": "dx",
|
|
98
93
|
"commands": "./dist/src/commands",
|
|
94
|
+
"hooks": {
|
|
95
|
+
"command_not_found": "./dist/src/hooks/command-not-found"
|
|
96
|
+
},
|
|
99
97
|
"plugins": [
|
|
100
98
|
"@oclif/plugin-help",
|
|
101
99
|
"@oclif/plugin-plugins"
|
|
102
100
|
],
|
|
101
|
+
"helpClass": "./dist/src/help",
|
|
103
102
|
"topicSeparator": " ",
|
|
104
103
|
"topics": {
|
|
105
104
|
"config": {
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { BaseCommand } from '../../base-command';
|
|
2
|
-
export default class EchoTestData extends BaseCommand<typeof EchoTestData> {
|
|
3
|
-
static description: string;
|
|
4
|
-
static flags: {
|
|
5
|
-
mutations: import("@oclif/core/lib/interfaces").OptionFlag<number, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
6
|
-
epochEach: import("@oclif/core/lib/interfaces").OptionFlag<number, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
7
|
-
'dry-run': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
8
|
-
verbose: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
9
|
-
profile: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
10
|
-
config: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
11
|
-
'no-agent': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
12
|
-
timeout: import("@oclif/core/lib/interfaces").OptionFlag<number, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
13
|
-
};
|
|
14
|
-
static args: {
|
|
15
|
-
key: import("@oclif/core/lib/interfaces/parser").Arg<string | undefined, Record<string, unknown>>;
|
|
16
|
-
};
|
|
17
|
-
run(): Promise<any>;
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=echo-test-data.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"echo-test-data.d.ts","sourceRoot":"","sources":["../../../../src/commands/debug/echo-test-data.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGjD,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,WAAW,CAAC,OAAO,YAAY,CAAC;IACxE,OAAgB,WAAW,SAA6C;IACxE,OAAgB,KAAK;;;;;;;;;MAUnB;IAEF,OAAgB,IAAI;;MAKlB;IAEI,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC;CAgC1B"}
|