@dxos/cli 0.1.54 → 0.1.55-main.5edf62b
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 +41 -63
- package/dist/src/base-command.js +1 -1
- package/dist/src/base-command.js.map +1 -1
- package/dist/src/commands/debug/{stats.d.ts → diagnostics.d.ts} +3 -3
- package/dist/src/commands/debug/diagnostics.d.ts.map +1 -0
- package/dist/src/commands/debug/diagnostics.js +54 -0
- package/dist/src/commands/debug/diagnostics.js.map +1 -0
- package/dist/src/commands/halo/index.d.ts.map +1 -1
- package/dist/src/commands/halo/index.js +2 -1
- package/dist/src/commands/halo/index.js.map +1 -1
- package/dist/src/commands/halo/join.d.ts.map +1 -1
- package/dist/src/commands/halo/join.js +1 -0
- package/dist/src/commands/halo/join.js.map +1 -1
- package/dist/src/commands/halo/share.d.ts.map +1 -1
- package/dist/src/commands/halo/share.js +1 -0
- package/dist/src/commands/halo/share.js.map +1 -1
- package/dist/src/commands/space/create.d.ts.map +1 -1
- package/dist/src/commands/space/create.js +3 -1
- package/dist/src/commands/space/create.js.map +1 -1
- package/dist/src/commands/space/epoch.d.ts.map +1 -1
- package/dist/src/commands/space/epoch.js +3 -1
- package/dist/src/commands/space/epoch.js.map +1 -1
- package/dist/src/commands/space/invite.d.ts.map +1 -1
- package/dist/src/commands/space/invite.js +4 -1
- package/dist/src/commands/space/invite.js.map +1 -1
- package/dist/src/commands/space/join.d.ts.map +1 -1
- package/dist/src/commands/space/join.js +2 -8
- package/dist/src/commands/space/join.js.map +1 -1
- package/dist/src/commands/space/list.d.ts.map +1 -1
- package/dist/src/commands/space/list.js +3 -1
- package/dist/src/commands/space/list.js.map +1 -1
- package/dist/src/commands/space/members.d.ts.map +1 -1
- package/dist/src/commands/space/members.js +3 -1
- package/dist/src/commands/space/members.js.map +1 -1
- package/dist/src/timeouts.d.ts +3 -0
- package/dist/src/timeouts.d.ts.map +1 -0
- package/dist/src/timeouts.js +10 -0
- package/dist/src/timeouts.js.map +1 -0
- package/dist/src/util/telemetryrc.json +2 -2
- package/dist/src/util/util.d.ts.map +1 -1
- package/dist/src/util/util.js +3 -1
- package/dist/src/util/util.js.map +1 -1
- package/oclif.manifest.json +38 -106
- package/package.json +21 -21
- package/dist/src/commands/debug/stats.d.ts.map +0 -1
- package/dist/src/commands/debug/stats.js +0 -58
- package/dist/src/commands/debug/stats.js.map +0 -1
- package/dist/src/commands/space/index.d.ts +0 -6
- package/dist/src/commands/space/index.d.ts.map +0 -1
- package/dist/src/commands/space/index.js +0 -19
- package/dist/src/commands/space/index.js.map +0 -1
|
@@ -8,7 +8,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
const core_1 = require("@oclif/core");
|
|
10
10
|
const node_assert_1 = __importDefault(require("node:assert"));
|
|
11
|
+
const async_1 = require("@dxos/async");
|
|
11
12
|
const base_command_1 = require("../../base-command");
|
|
13
|
+
const timeouts_1 = require("../../timeouts");
|
|
12
14
|
const util_1 = require("../../util");
|
|
13
15
|
class Epoch extends base_command_1.BaseCommand {
|
|
14
16
|
async run() {
|
|
@@ -24,7 +26,7 @@ class Epoch extends base_command_1.BaseCommand {
|
|
|
24
26
|
this.log('Invalid key');
|
|
25
27
|
return;
|
|
26
28
|
}
|
|
27
|
-
await space.waitUntilReady();
|
|
29
|
+
await (0, async_1.asyncTimeout)(space.waitUntilReady(), timeouts_1.SPACE_WAIT_TIMEOUT, (0, timeouts_1.spaceWaitError)());
|
|
28
30
|
await space.internal.createEpoch();
|
|
29
31
|
});
|
|
30
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"epoch.js","sourceRoot":"","sources":["../../../../src/commands/space/epoch.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;AAEF,sCAAuC;AACvC,8DAAiC;
|
|
1
|
+
{"version":3,"file":"epoch.js","source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AAG,EAAE,WAAI,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,wBAAwB,EAAE,CAAC,EAAE,CAAC;kBARpE,KAAK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invite.d.ts","sourceRoot":"","sources":["../../../../src/commands/space/invite.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"invite.d.ts","sourceRoot":"","sources":["../../../../src/commands/space/invite.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAIjD,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,WAAW,CAAC,OAAO,MAAM,CAAC;IAC5D,OAAgB,WAAW,SAA8B;IACzD,OAAgB,IAAI;;MAA4C;IAE1D,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC;CAmC1B"}
|
|
@@ -8,9 +8,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
const core_1 = require("@oclif/core");
|
|
10
10
|
const chalk_1 = __importDefault(require("chalk"));
|
|
11
|
+
const async_1 = require("@dxos/async");
|
|
11
12
|
const invitations_1 = require("@dxos/client/invitations");
|
|
12
13
|
const debug_1 = require("@dxos/debug");
|
|
13
14
|
const base_command_1 = require("../../base-command");
|
|
15
|
+
const timeouts_1 = require("../../timeouts");
|
|
14
16
|
const util_1 = require("../../util");
|
|
15
17
|
class Invite extends base_command_1.BaseCommand {
|
|
16
18
|
async run() {
|
|
@@ -24,7 +26,7 @@ class Invite extends base_command_1.BaseCommand {
|
|
|
24
26
|
if (!space) {
|
|
25
27
|
throw new Error(`Invalid key: ${(0, debug_1.truncateKey)(key)}`);
|
|
26
28
|
}
|
|
27
|
-
await space.waitUntilReady();
|
|
29
|
+
await (0, async_1.asyncTimeout)(space.waitUntilReady(), timeouts_1.SPACE_WAIT_TIMEOUT, (0, timeouts_1.spaceWaitError)());
|
|
28
30
|
const observable = space.createInvitation();
|
|
29
31
|
const invitationSuccess = (0, util_1.hostInvitation)({
|
|
30
32
|
observable,
|
|
@@ -39,6 +41,7 @@ class Invite extends base_command_1.BaseCommand {
|
|
|
39
41
|
core_1.ux.action.start('Waiting for peer to connect...');
|
|
40
42
|
await invitationSuccess;
|
|
41
43
|
core_1.ux.action.stop();
|
|
44
|
+
this.log((0, chalk_1.default) `{green Invitation completed.}`);
|
|
42
45
|
});
|
|
43
46
|
}
|
|
44
47
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invite.js","sourceRoot":"","sources":["../../../../src/commands/space/invite.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;AAEF,sCAAuC;AACvC,kDAA0B;
|
|
1
|
+
{"version":3,"file":"invite.js","sourceRoot":"","sources":["../../../../src/commands/space/invite.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;AAEF,sCAAuC;AACvC,kDAA0B;AAE1B,uCAA2C;AAE3C,0DAA6D;AAC7D,uCAA0C;AAE1C,qDAAiD;AACjD,6CAAoE;AACpE,qCAAyD;AAEzD,MAAqB,MAAO,SAAQ,0BAA0B;IAI5D,KAAK,CAAC,GAAG;QACP,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC;QAExB,OAAO,MAAM,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE,MAAc,EAAE,EAAE;YACxD,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;YACnC,IAAI,CAAC,GAAG,EAAE;gBACR,GAAG,GAAG,MAAM,IAAA,kBAAW,EAAC,MAAM,CAAC,CAAC;aACjC;YAED,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC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,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGjD,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,WAAW,CAAC,OAAO,IAAI,CAAC;IACxD,OAAgB,cAAc,UAAQ;IACtC,OAAgB,WAAW,SAA2B;IACtD,OAAgB,KAAK;;;;;;;;;;MAQnB;IAEI,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"join.d.ts","sourceRoot":"","sources":["../../../../src/commands/space/join.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGjD,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,WAAW,CAAC,OAAO,IAAI,CAAC;IACxD,OAAgB,cAAc,UAAQ;IACtC,OAAgB,WAAW,SAA2B;IACtD,OAAgB,KAAK;;;;;;;;;;MAQnB;IAEI,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC;CAuC1B"}
|
|
@@ -16,7 +16,7 @@ class Join extends base_command_1.BaseCommand {
|
|
|
16
16
|
async run() {
|
|
17
17
|
return await this.execWithClient(async (client) => {
|
|
18
18
|
var _a;
|
|
19
|
-
let { invitation: encoded, secret
|
|
19
|
+
let { invitation: encoded, secret } = this.flags;
|
|
20
20
|
if (!encoded) {
|
|
21
21
|
encoded = await core_1.ux.prompt((0, chalk_1.default) `\n{blue Invitation}`);
|
|
22
22
|
}
|
|
@@ -41,15 +41,9 @@ class Join extends base_command_1.BaseCommand {
|
|
|
41
41
|
core_1.ux.action.stop();
|
|
42
42
|
(0, node_assert_1.default)(invitation.spaceKey);
|
|
43
43
|
const space = client.getSpace(invitation.spaceKey);
|
|
44
|
-
|
|
45
|
-
const members = space.members.get();
|
|
46
|
-
if (!json) {
|
|
47
|
-
(0, util_1.printMembers)(members);
|
|
48
|
-
}
|
|
44
|
+
this.log((0, chalk_1.default) `{green Invitation completed.}`);
|
|
49
45
|
return {
|
|
50
46
|
key: space.key.toHex(),
|
|
51
|
-
name: space.properties.name,
|
|
52
|
-
members: (0, util_1.mapMembers)(members),
|
|
53
47
|
};
|
|
54
48
|
});
|
|
55
49
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"join.js","sourceRoot":"","sources":["../../../../src/commands/space/join.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;AAEF,sCAAwC;AACxC,kDAA0B;AAC1B,8DAAiC;AAGjC,0DAA6D;AAE7D,qDAAiD;AACjD,
|
|
1
|
+
{"version":3,"file":"join.js","sourceRoot":"","sources":["../../../../src/commands/space/join.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;AAEF,sCAAwC;AACxC,kDAA0B;AAC1B,8DAAiC;AAGjC,0DAA6D;AAE7D,qDAAiD;AACjD,qCAA8C;AAE9C,MAAqB,IAAK,SAAQ,0BAAwB;IAaxD,KAAK,CAAC,GAAG;QACP,OAAO,MAAM,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE,MAAc,EAAE,EAAE;;YACxD,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC;YACjD,IAAI,CAAC,OAAO,EAAE;gBACZ,OAAO,GAAG,MAAM,SAAE,CAAC,MAAM,CAAC,IAAA,eAAK,EAAA,qBAAqB,CAAC,CAAC;aACvD;YACD,IAAI,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE;gBAC9B,MAAM,YAAY,GAAG,IAAI,eAAe,CAAC,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;gBACtF,OAAO,GAAG,MAAA,YAAY,CAAC,GAAG,CAAC,qBAAqB,CAAC,mCAAI,OAAO,CAAC;aAC9D;YAED,IAAI,UAAU,GAAG,+BAAiB,CAAC,MAAM,CAAC,OAAQ,CAAC,CAAC;YAEpD,MAAM,UAAU,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
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/commands/space/list.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/commands/space/list.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAIjD,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,WAAW,CAAC,OAAO,IAAI,CAAC;IACxD,OAAgB,cAAc,UAAQ;IACtC,OAAgB,WAAW,SAAkB;IAC7C,OAAgB,KAAK;;;;;;;;;;;;;;;;MAGnB;IAEI,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC;CAa1B"}
|
|
@@ -4,13 +4,15 @@
|
|
|
4
4
|
//
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const core_1 = require("@oclif/core");
|
|
7
|
+
const async_1 = require("@dxos/async");
|
|
7
8
|
const base_command_1 = require("../../base-command");
|
|
9
|
+
const timeouts_1 = require("../../timeouts");
|
|
8
10
|
const util_1 = require("../../util");
|
|
9
11
|
class List extends base_command_1.BaseCommand {
|
|
10
12
|
async run() {
|
|
11
13
|
return await this.execWithClient(async (client) => {
|
|
12
14
|
const spaces = client.spaces.get();
|
|
13
|
-
await Promise.all(spaces.map((space) => space.waitUntilReady()));
|
|
15
|
+
await Promise.all(spaces.map((space) => (0, async_1.asyncTimeout)(space.waitUntilReady(), timeouts_1.SPACE_WAIT_TIMEOUT, (0, timeouts_1.spaceWaitError)())));
|
|
14
16
|
if (!this.flags.json) {
|
|
15
17
|
(0, util_1.printSpaces)(spaces, this.flags);
|
|
16
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../src/commands/space/list.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;AAEF,sCAAiC;
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../src/commands/space/list.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;AAEF,sCAAiC;AAEjC,uCAA2C;AAG3C,qDAAiD;AACjD,6CAAoE;AACpE,qCAAoD;AAEpD,MAAqB,IAAK,SAAQ,0BAAwB;IAQxD,KAAK,CAAC,GAAG;QACP,OAAO,MAAM,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE,MAAc,EAAE,EAAE;YACxD,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;YACnC,MAAM,OAAO,CAAC,GAAG,CACf,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,IAAA,oBAAY,EAAC,KAAK,CAAC,cAAc,EAAE,EAAE,6BAAkB,EAAE,IAAA,yBAAc,GAAE,CAAC,CAAC,CAClG,CAAC;YACF,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE;gBACpB,IAAA,kBAAW,EAAC,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;aACjC;YAED,OAAO,IAAA,gBAAS,EAAC,MAAM,CAAC,CAAC;QAC3B,CAAC,CAAC,CAAC;IACL,CAAC;;AAnBe,mBAAc,GAAG,IAAI,CAAC;AACtB,gBAAW,GAAG,cAAc,CAAC;AAC7B,UAAK,GAAG;IACtB,GAAG,0BAAW,CAAC,KAAK;IACpB,GAAG,SAAE,CAAC,KAAK,CAAC,KAAK,EAAE;CACpB,CAAC;kBANiB,IAAI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"members.d.ts","sourceRoot":"","sources":["../../../../src/commands/space/members.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"members.d.ts","sourceRoot":"","sources":["../../../../src/commands/space/members.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAIjD,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,WAAW,CAAC,OAAO,OAAO,CAAC;IAC9D,OAAgB,cAAc,UAAQ;IACtC,OAAgB,WAAW,SAAyB;IACpD,OAAgB,KAAK;;;;;;;;;;;;;;;;MAGnB;IAEF,OAAgB,IAAI;;MAAmE;IAEjF,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC;CA2B1B"}
|
|
@@ -8,7 +8,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
const core_1 = require("@oclif/core");
|
|
10
10
|
const node_assert_1 = __importDefault(require("node:assert"));
|
|
11
|
+
const async_1 = require("@dxos/async");
|
|
11
12
|
const base_command_1 = require("../../base-command");
|
|
13
|
+
const timeouts_1 = require("../../timeouts");
|
|
12
14
|
const util_1 = require("../../util");
|
|
13
15
|
class Members extends base_command_1.BaseCommand {
|
|
14
16
|
async run() {
|
|
@@ -24,7 +26,7 @@ class Members extends base_command_1.BaseCommand {
|
|
|
24
26
|
this.log('Invalid key');
|
|
25
27
|
return;
|
|
26
28
|
}
|
|
27
|
-
await space.waitUntilReady();
|
|
29
|
+
await (0, async_1.asyncTimeout)(space.waitUntilReady(), timeouts_1.SPACE_WAIT_TIMEOUT, (0, timeouts_1.spaceWaitError)());
|
|
28
30
|
const members = space.members.get();
|
|
29
31
|
if (!this.flags.json) {
|
|
30
32
|
(0, util_1.printMembers)(members, this.flags);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"members.js","sourceRoot":"","sources":["../../../../src/commands/space/members.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;AAEF,sCAAuC;AACvC,8DAAiC;
|
|
1
|
+
{"version":3,"file":"members.js","sourceRoot":"","sources":["../../../../src/commands/space/members.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;AAEF,sCAAuC;AACvC,8DAAiC;AAEjC,u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KAAK,CAAC,KAAK,EAAE;CACpB,CAAC;AAEc,YAAI,GAAG,EAAE,GAAG,EAAE,WAAI,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,wBAAwB,EAAE,CAAC,EAAE,CAAC;kBARpE,OAAO"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timeouts.d.ts","sourceRoot":"","sources":["../../src/timeouts.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB,OAAO,CAAC;AACvC,eAAO,MAAM,cAAc,aAA4D,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//
|
|
3
|
+
// Copyright 2023 DXOS.org
|
|
4
|
+
//
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.spaceWaitError = exports.SPACE_WAIT_TIMEOUT = void 0;
|
|
7
|
+
exports.SPACE_WAIT_TIMEOUT = 2000;
|
|
8
|
+
const spaceWaitError = () => new Error('Timeout waiting for space to be ready.');
|
|
9
|
+
exports.spaceWaitError = spaceWaitError;
|
|
10
|
+
//# sourceMappingURL=timeouts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timeouts.js","sourceRoot":"","sources":["../../src/timeouts.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;AAEW,QAAA,kBAAkB,GAAG,IAAI,CAAC;AAChC,MAAM,cAAc,GAAG,GAAG,EAAE,CAAC,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;AAA3E,QAAA,cAAc,kBAA6D"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"DX_ENVIRONMENT": "
|
|
3
|
-
"DX_RELEASE": "@dxos/cli@0.1.
|
|
2
|
+
"DX_ENVIRONMENT": "staging",
|
|
3
|
+
"DX_RELEASE": "@dxos/cli@0.1.55-main.5edf62b",
|
|
4
4
|
"SENTRY_DESTINATION": "https://2647916221e643869965e78469479aa4@o4504012000067584.ingest.sentry.io/4504012027265029",
|
|
5
5
|
"TELEMETRY_API_KEY": "B00QG6PtJJrJ0VVFe0H5a6bcUUShKyZM",
|
|
6
6
|
"IPDATA_API_KEY": "ccc5f0cd66dd34a7c31c2ddc61c2bbca2db73892a993982bb3a5f0e2"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../src/util/util.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../src/util/util.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAIvC,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/dist/src/util/util.js
CHANGED
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
//
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.selectSpace = exports.safeParseInt = exports.maybeTruncateKey = void 0;
|
|
7
|
+
const async_1 = require("@dxos/async");
|
|
7
8
|
const debug_1 = require("@dxos/debug");
|
|
9
|
+
const timeouts_1 = require("../timeouts");
|
|
8
10
|
const maybeTruncateKey = (key, truncate = false) => (truncate ? (0, debug_1.truncateKey)(key) : key.toHex());
|
|
9
11
|
exports.maybeTruncateKey = maybeTruncateKey;
|
|
10
12
|
const safeParseInt = (value, defaultValue) => {
|
|
@@ -21,7 +23,7 @@ exports.safeParseInt = safeParseInt;
|
|
|
21
23
|
// Spaces
|
|
22
24
|
//
|
|
23
25
|
const selectSpace = async (spaces) => {
|
|
24
|
-
await Promise.all(spaces.map((space) => space.waitUntilReady()));
|
|
26
|
+
await Promise.all(spaces.map((space) => (0, async_1.asyncTimeout)(space.waitUntilReady(), timeouts_1.SPACE_WAIT_TIMEOUT, (0, timeouts_1.spaceWaitError)())));
|
|
25
27
|
// eslint-disable-next-line no-eval
|
|
26
28
|
const inquirer = (await eval('import("inquirer")')).default;
|
|
27
29
|
const { key } = await inquirer.prompt([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.js","sourceRoot":"","sources":["../../../src/util/util.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;
|
|
1
|
+
{"version":3,"file":"util.js","sourceRoot":"","sources":["../../../src/util/util.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;AAEF,uCAA2C;AAE3C,uCAA0C;AAG1C,0CAAiE;AAE1D,MAAM,gBAAgB,GAAG,CAAC,GAAc,EAAE,QAAQ,GAAG,KAAK,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAA,mBAAW,EAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC,CAAC;AAArG,QAAA,gBAAgB,oBAAqF;AAE3G,MAAM,YAAY,GAAG,CAAC,KAAyB,EAAE,YAAqB,EAAsB,EAAE;IACnG,IAAI;QACF,MAAM,CAAC,GAAG,QAAQ,CAAC,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,EAAE,CAAC,CAAC;QAChC,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;KACpC;IAAC,OAAO,GAAG,EAAE;QACZ,OAAO,YAAY,CAAC;KACrB;AACH,CAAC,CAAC;AAPW,QAAA,YAAY,gBAOvB;AAEF,EAAE;AACF,SAAS;AACT,EAAE;AAEK,MAAM,WAAW,GAAG,KAAK,EAAE,MAAe,EAAE,EAAE;IACnD,MAAM,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,IAAA,oBAAY,EAAC,KAAK,CAAC,cAAc,EAAE,EAAE,6BAAkB,EAAE,IAAA,yBAAc,GAAE,CAAC,CAAC,CAAC,CAAC;IACrH,mCAAmC;IACnC,MAAM,QAAQ,GAAG,CAAC,MAAM,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,OAAO,CAAC;IAC5D,MAAM,EAAE,GAAG,EAAE,GAAG,MAAM,QAAQ,CAAC,MAAM,CAAC;QACpC;YACE,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,iBAAiB;YAC1B,OAAO,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;gBAC9B,IAAI,EAAE,IAAI,IAAA,mBAAW,EAAC,KAAK,CAAC,GAAG,CAAC,KAAK,KAAK,CAAC,UAAU,CAAC,IAAI,EAAE;gBAC5D,KAAK,EAAE,KAAK,CAAC,GAAG;aACjB,CAAC,CAAC;SACJ;KACF,CAAC,CAAC;IAEH,OAAO,GAAG,CAAC;AACb,CAAC,CAAC;AAjBW,QAAA,WAAW,eAiBtB"}
|
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.1.
|
|
2
|
+
"version": "0.1.55-main.5edf62b",
|
|
3
3
|
"commands": {
|
|
4
4
|
"agent:list": {
|
|
5
5
|
"id": "agent:list",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"no-agent": {
|
|
55
55
|
"name": "no-agent",
|
|
56
56
|
"type": "boolean",
|
|
57
|
-
"description": "
|
|
57
|
+
"description": "Run command without agent.",
|
|
58
58
|
"allowNo": false
|
|
59
59
|
},
|
|
60
60
|
"timeout": {
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"no-agent": {
|
|
123
123
|
"name": "no-agent",
|
|
124
124
|
"type": "boolean",
|
|
125
|
-
"description": "
|
|
125
|
+
"description": "Run command without agent.",
|
|
126
126
|
"allowNo": false
|
|
127
127
|
},
|
|
128
128
|
"timeout": {
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
"no-agent": {
|
|
197
197
|
"name": "no-agent",
|
|
198
198
|
"type": "boolean",
|
|
199
|
-
"description": "
|
|
199
|
+
"description": "Run command without agent.",
|
|
200
200
|
"allowNo": false
|
|
201
201
|
},
|
|
202
202
|
"timeout": {
|
|
@@ -294,7 +294,7 @@
|
|
|
294
294
|
"no-agent": {
|
|
295
295
|
"name": "no-agent",
|
|
296
296
|
"type": "boolean",
|
|
297
|
-
"description": "
|
|
297
|
+
"description": "Run command without agent.",
|
|
298
298
|
"allowNo": false
|
|
299
299
|
},
|
|
300
300
|
"timeout": {
|
|
@@ -374,7 +374,7 @@
|
|
|
374
374
|
"no-agent": {
|
|
375
375
|
"name": "no-agent",
|
|
376
376
|
"type": "boolean",
|
|
377
|
-
"description": "
|
|
377
|
+
"description": "Run command without agent.",
|
|
378
378
|
"allowNo": false
|
|
379
379
|
},
|
|
380
380
|
"timeout": {
|
|
@@ -475,7 +475,7 @@
|
|
|
475
475
|
"no-agent": {
|
|
476
476
|
"name": "no-agent",
|
|
477
477
|
"type": "boolean",
|
|
478
|
-
"description": "
|
|
478
|
+
"description": "Run command without agent.",
|
|
479
479
|
"allowNo": false
|
|
480
480
|
},
|
|
481
481
|
"timeout": {
|
|
@@ -544,7 +544,7 @@
|
|
|
544
544
|
"no-agent": {
|
|
545
545
|
"name": "no-agent",
|
|
546
546
|
"type": "boolean",
|
|
547
|
-
"description": "
|
|
547
|
+
"description": "Run command without agent.",
|
|
548
548
|
"allowNo": false
|
|
549
549
|
},
|
|
550
550
|
"timeout": {
|
|
@@ -631,7 +631,7 @@
|
|
|
631
631
|
"no-agent": {
|
|
632
632
|
"name": "no-agent",
|
|
633
633
|
"type": "boolean",
|
|
634
|
-
"description": "
|
|
634
|
+
"description": "Run command without agent.",
|
|
635
635
|
"allowNo": false
|
|
636
636
|
},
|
|
637
637
|
"timeout": {
|
|
@@ -724,7 +724,7 @@
|
|
|
724
724
|
"no-agent": {
|
|
725
725
|
"name": "no-agent",
|
|
726
726
|
"type": "boolean",
|
|
727
|
-
"description": "
|
|
727
|
+
"description": "Run command without agent.",
|
|
728
728
|
"allowNo": false
|
|
729
729
|
},
|
|
730
730
|
"timeout": {
|
|
@@ -740,9 +740,9 @@
|
|
|
740
740
|
},
|
|
741
741
|
"args": {}
|
|
742
742
|
},
|
|
743
|
-
"debug:
|
|
744
|
-
"id": "debug:
|
|
745
|
-
"description": "Output debug
|
|
743
|
+
"debug:diagnostics": {
|
|
744
|
+
"id": "debug:diagnostics",
|
|
745
|
+
"description": "Output debug diagnostics.",
|
|
746
746
|
"strict": true,
|
|
747
747
|
"pluginName": "@dxos/cli",
|
|
748
748
|
"pluginAlias": "@dxos/cli",
|
|
@@ -791,7 +791,7 @@
|
|
|
791
791
|
"no-agent": {
|
|
792
792
|
"name": "no-agent",
|
|
793
793
|
"type": "boolean",
|
|
794
|
-
"description": "
|
|
794
|
+
"description": "Run command without agent.",
|
|
795
795
|
"allowNo": false
|
|
796
796
|
},
|
|
797
797
|
"timeout": {
|
|
@@ -872,7 +872,7 @@
|
|
|
872
872
|
"no-agent": {
|
|
873
873
|
"name": "no-agent",
|
|
874
874
|
"type": "boolean",
|
|
875
|
-
"description": "
|
|
875
|
+
"description": "Run command without agent.",
|
|
876
876
|
"allowNo": false
|
|
877
877
|
},
|
|
878
878
|
"timeout": {
|
|
@@ -941,7 +941,7 @@
|
|
|
941
941
|
"no-agent": {
|
|
942
942
|
"name": "no-agent",
|
|
943
943
|
"type": "boolean",
|
|
944
|
-
"description": "
|
|
944
|
+
"description": "Run command without agent.",
|
|
945
945
|
"allowNo": false
|
|
946
946
|
},
|
|
947
947
|
"timeout": {
|
|
@@ -1017,7 +1017,7 @@
|
|
|
1017
1017
|
"no-agent": {
|
|
1018
1018
|
"name": "no-agent",
|
|
1019
1019
|
"type": "boolean",
|
|
1020
|
-
"description": "
|
|
1020
|
+
"description": "Run command without agent.",
|
|
1021
1021
|
"allowNo": false
|
|
1022
1022
|
},
|
|
1023
1023
|
"timeout": {
|
|
@@ -1104,7 +1104,7 @@
|
|
|
1104
1104
|
"no-agent": {
|
|
1105
1105
|
"name": "no-agent",
|
|
1106
1106
|
"type": "boolean",
|
|
1107
|
-
"description": "
|
|
1107
|
+
"description": "Run command without agent.",
|
|
1108
1108
|
"allowNo": false
|
|
1109
1109
|
},
|
|
1110
1110
|
"timeout": {
|
|
@@ -1180,7 +1180,7 @@
|
|
|
1180
1180
|
"no-agent": {
|
|
1181
1181
|
"name": "no-agent",
|
|
1182
1182
|
"type": "boolean",
|
|
1183
|
-
"description": "
|
|
1183
|
+
"description": "Run command without agent.",
|
|
1184
1184
|
"allowNo": false
|
|
1185
1185
|
},
|
|
1186
1186
|
"timeout": {
|
|
@@ -1250,7 +1250,7 @@
|
|
|
1250
1250
|
"no-agent": {
|
|
1251
1251
|
"name": "no-agent",
|
|
1252
1252
|
"type": "boolean",
|
|
1253
|
-
"description": "
|
|
1253
|
+
"description": "Run command without agent.",
|
|
1254
1254
|
"allowNo": false
|
|
1255
1255
|
},
|
|
1256
1256
|
"timeout": {
|
|
@@ -1325,7 +1325,7 @@
|
|
|
1325
1325
|
"no-agent": {
|
|
1326
1326
|
"name": "no-agent",
|
|
1327
1327
|
"type": "boolean",
|
|
1328
|
-
"description": "
|
|
1328
|
+
"description": "Run command without agent.",
|
|
1329
1329
|
"allowNo": false
|
|
1330
1330
|
},
|
|
1331
1331
|
"timeout": {
|
|
@@ -1400,7 +1400,7 @@
|
|
|
1400
1400
|
"no-agent": {
|
|
1401
1401
|
"name": "no-agent",
|
|
1402
1402
|
"type": "boolean",
|
|
1403
|
-
"description": "
|
|
1403
|
+
"description": "Run command without agent.",
|
|
1404
1404
|
"allowNo": false
|
|
1405
1405
|
},
|
|
1406
1406
|
"timeout": {
|
|
@@ -1468,7 +1468,7 @@
|
|
|
1468
1468
|
"no-agent": {
|
|
1469
1469
|
"name": "no-agent",
|
|
1470
1470
|
"type": "boolean",
|
|
1471
|
-
"description": "
|
|
1471
|
+
"description": "Run command without agent.",
|
|
1472
1472
|
"allowNo": false
|
|
1473
1473
|
},
|
|
1474
1474
|
"timeout": {
|
|
@@ -1543,7 +1543,7 @@
|
|
|
1543
1543
|
"no-agent": {
|
|
1544
1544
|
"name": "no-agent",
|
|
1545
1545
|
"type": "boolean",
|
|
1546
|
-
"description": "
|
|
1546
|
+
"description": "Run command without agent.",
|
|
1547
1547
|
"allowNo": false
|
|
1548
1548
|
},
|
|
1549
1549
|
"timeout": {
|
|
@@ -1618,7 +1618,7 @@
|
|
|
1618
1618
|
"no-agent": {
|
|
1619
1619
|
"name": "no-agent",
|
|
1620
1620
|
"type": "boolean",
|
|
1621
|
-
"description": "
|
|
1621
|
+
"description": "Run command without agent.",
|
|
1622
1622
|
"allowNo": false
|
|
1623
1623
|
},
|
|
1624
1624
|
"timeout": {
|
|
@@ -1686,7 +1686,7 @@
|
|
|
1686
1686
|
"no-agent": {
|
|
1687
1687
|
"name": "no-agent",
|
|
1688
1688
|
"type": "boolean",
|
|
1689
|
-
"description": "
|
|
1689
|
+
"description": "Run command without agent.",
|
|
1690
1690
|
"allowNo": false
|
|
1691
1691
|
},
|
|
1692
1692
|
"timeout": {
|
|
@@ -1780,7 +1780,7 @@
|
|
|
1780
1780
|
"no-agent": {
|
|
1781
1781
|
"name": "no-agent",
|
|
1782
1782
|
"type": "boolean",
|
|
1783
|
-
"description": "
|
|
1783
|
+
"description": "Run command without agent.",
|
|
1784
1784
|
"allowNo": false
|
|
1785
1785
|
},
|
|
1786
1786
|
"timeout": {
|
|
@@ -1854,7 +1854,7 @@
|
|
|
1854
1854
|
"no-agent": {
|
|
1855
1855
|
"name": "no-agent",
|
|
1856
1856
|
"type": "boolean",
|
|
1857
|
-
"description": "
|
|
1857
|
+
"description": "Run command without agent.",
|
|
1858
1858
|
"allowNo": false
|
|
1859
1859
|
},
|
|
1860
1860
|
"timeout": {
|
|
@@ -1923,7 +1923,7 @@
|
|
|
1923
1923
|
"no-agent": {
|
|
1924
1924
|
"name": "no-agent",
|
|
1925
1925
|
"type": "boolean",
|
|
1926
|
-
"description": "
|
|
1926
|
+
"description": "Run command without agent.",
|
|
1927
1927
|
"allowNo": false
|
|
1928
1928
|
},
|
|
1929
1929
|
"timeout": {
|
|
@@ -1995,7 +1995,7 @@
|
|
|
1995
1995
|
"no-agent": {
|
|
1996
1996
|
"name": "no-agent",
|
|
1997
1997
|
"type": "boolean",
|
|
1998
|
-
"description": "
|
|
1998
|
+
"description": "Run command without agent.",
|
|
1999
1999
|
"allowNo": false
|
|
2000
2000
|
},
|
|
2001
2001
|
"timeout": {
|
|
@@ -2089,74 +2089,6 @@
|
|
|
2089
2089
|
}
|
|
2090
2090
|
}
|
|
2091
2091
|
},
|
|
2092
|
-
"space": {
|
|
2093
|
-
"id": "space",
|
|
2094
|
-
"description": "List spaces.",
|
|
2095
|
-
"strict": true,
|
|
2096
|
-
"pluginName": "@dxos/cli",
|
|
2097
|
-
"pluginAlias": "@dxos/cli",
|
|
2098
|
-
"pluginType": "core",
|
|
2099
|
-
"aliases": [],
|
|
2100
|
-
"flags": {
|
|
2101
|
-
"json": {
|
|
2102
|
-
"name": "json",
|
|
2103
|
-
"type": "boolean",
|
|
2104
|
-
"description": "Output as JSON.",
|
|
2105
|
-
"allowNo": false
|
|
2106
|
-
},
|
|
2107
|
-
"dry-run": {
|
|
2108
|
-
"name": "dry-run",
|
|
2109
|
-
"type": "boolean",
|
|
2110
|
-
"description": "Dry run.",
|
|
2111
|
-
"allowNo": false
|
|
2112
|
-
},
|
|
2113
|
-
"verbose": {
|
|
2114
|
-
"name": "verbose",
|
|
2115
|
-
"type": "boolean",
|
|
2116
|
-
"char": "v",
|
|
2117
|
-
"description": "Verbose output",
|
|
2118
|
-
"allowNo": false
|
|
2119
|
-
},
|
|
2120
|
-
"profile": {
|
|
2121
|
-
"name": "profile",
|
|
2122
|
-
"type": "option",
|
|
2123
|
-
"description": "User profile.",
|
|
2124
|
-
"multiple": false,
|
|
2125
|
-
"default": "default"
|
|
2126
|
-
},
|
|
2127
|
-
"config": {
|
|
2128
|
-
"name": "config",
|
|
2129
|
-
"type": "option",
|
|
2130
|
-
"description": "Config file.",
|
|
2131
|
-
"helpValue": "path",
|
|
2132
|
-
"multiple": false,
|
|
2133
|
-
"dependsOn": [
|
|
2134
|
-
"profile"
|
|
2135
|
-
],
|
|
2136
|
-
"default": "/home/runner/.config/dx/profile/default.yml",
|
|
2137
|
-
"aliases": [
|
|
2138
|
-
"c"
|
|
2139
|
-
]
|
|
2140
|
-
},
|
|
2141
|
-
"no-agent": {
|
|
2142
|
-
"name": "no-agent",
|
|
2143
|
-
"type": "boolean",
|
|
2144
|
-
"description": "Auto-start agent.",
|
|
2145
|
-
"allowNo": false
|
|
2146
|
-
},
|
|
2147
|
-
"timeout": {
|
|
2148
|
-
"name": "timeout",
|
|
2149
|
-
"type": "option",
|
|
2150
|
-
"description": "Timeout in seconds.",
|
|
2151
|
-
"multiple": false,
|
|
2152
|
-
"default": 30,
|
|
2153
|
-
"aliases": [
|
|
2154
|
-
"t"
|
|
2155
|
-
]
|
|
2156
|
-
}
|
|
2157
|
-
},
|
|
2158
|
-
"args": {}
|
|
2159
|
-
},
|
|
2160
2092
|
"space:invite": {
|
|
2161
2093
|
"id": "space:invite",
|
|
2162
2094
|
"description": "Create space invitation.",
|
|
@@ -2209,7 +2141,7 @@
|
|
|
2209
2141
|
"no-agent": {
|
|
2210
2142
|
"name": "no-agent",
|
|
2211
2143
|
"type": "boolean",
|
|
2212
|
-
"description": "
|
|
2144
|
+
"description": "Run command without agent.",
|
|
2213
2145
|
"allowNo": false
|
|
2214
2146
|
},
|
|
2215
2147
|
"timeout": {
|
|
@@ -2282,7 +2214,7 @@
|
|
|
2282
2214
|
"no-agent": {
|
|
2283
2215
|
"name": "no-agent",
|
|
2284
2216
|
"type": "boolean",
|
|
2285
|
-
"description": "
|
|
2217
|
+
"description": "Run command without agent.",
|
|
2286
2218
|
"allowNo": false
|
|
2287
2219
|
},
|
|
2288
2220
|
"timeout": {
|
|
@@ -2362,7 +2294,7 @@
|
|
|
2362
2294
|
"no-agent": {
|
|
2363
2295
|
"name": "no-agent",
|
|
2364
2296
|
"type": "boolean",
|
|
2365
|
-
"description": "
|
|
2297
|
+
"description": "Run command without agent.",
|
|
2366
2298
|
"allowNo": false
|
|
2367
2299
|
},
|
|
2368
2300
|
"timeout": {
|
|
@@ -2503,7 +2435,7 @@
|
|
|
2503
2435
|
"no-agent": {
|
|
2504
2436
|
"name": "no-agent",
|
|
2505
2437
|
"type": "boolean",
|
|
2506
|
-
"description": "
|
|
2438
|
+
"description": "Run command without agent.",
|
|
2507
2439
|
"allowNo": false
|
|
2508
2440
|
},
|
|
2509
2441
|
"timeout": {
|
|
@@ -2650,7 +2582,7 @@
|
|
|
2650
2582
|
"no-agent": {
|
|
2651
2583
|
"name": "no-agent",
|
|
2652
2584
|
"type": "boolean",
|
|
2653
|
-
"description": "
|
|
2585
|
+
"description": "Run command without agent.",
|
|
2654
2586
|
"allowNo": false
|
|
2655
2587
|
},
|
|
2656
2588
|
"timeout": {
|
|
@@ -2718,7 +2650,7 @@
|
|
|
2718
2650
|
"no-agent": {
|
|
2719
2651
|
"name": "no-agent",
|
|
2720
2652
|
"type": "boolean",
|
|
2721
|
-
"description": "
|
|
2653
|
+
"description": "Run command without agent.",
|
|
2722
2654
|
"allowNo": false
|
|
2723
2655
|
},
|
|
2724
2656
|
"timeout": {
|
|
@@ -2805,7 +2737,7 @@
|
|
|
2805
2737
|
"no-agent": {
|
|
2806
2738
|
"name": "no-agent",
|
|
2807
2739
|
"type": "boolean",
|
|
2808
|
-
"description": "
|
|
2740
|
+
"description": "Run command without agent.",
|
|
2809
2741
|
"allowNo": false
|
|
2810
2742
|
},
|
|
2811
2743
|
"timeout": {
|
|
@@ -2879,7 +2811,7 @@
|
|
|
2879
2811
|
"no-agent": {
|
|
2880
2812
|
"name": "no-agent",
|
|
2881
2813
|
"type": "boolean",
|
|
2882
|
-
"description": "
|
|
2814
|
+
"description": "Run command without agent.",
|
|
2883
2815
|
"allowNo": false
|
|
2884
2816
|
},
|
|
2885
2817
|
"timeout": {
|