@dxos/cli 0.6.14-main.7bd9c89 → 0.6.14-staging.4b6f9cf
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/bin/dev.js +26 -0
- package/bin/dx.js +17 -0
- package/dist/src/base.js +11 -16
- package/dist/src/base.js.map +1 -1
- package/dist/src/commands/agent/agent.node.test.js +54 -59
- package/dist/src/commands/agent/agent.node.test.js.map +1 -1
- package/dist/src/commands/agent/invitations.d.ts +11 -11
- package/dist/src/commands/agent/invitations.js +19 -24
- package/dist/src/commands/agent/invitations.js.map +1 -1
- package/dist/src/commands/agent/list.d.ts +12 -12
- package/dist/src/commands/agent/list.js +11 -13
- package/dist/src/commands/agent/list.js.map +1 -1
- package/dist/src/commands/agent/restart.d.ts +12 -12
- package/dist/src/commands/agent/restart.js +7 -9
- package/dist/src/commands/agent/restart.js.map +1 -1
- package/dist/src/commands/agent/start.d.ts +15 -15
- package/dist/src/commands/agent/start.js +38 -43
- package/dist/src/commands/agent/start.js.map +1 -1
- package/dist/src/commands/agent/status.d.ts +10 -10
- package/dist/src/commands/agent/status.js +7 -9
- package/dist/src/commands/agent/status.js.map +1 -1
- package/dist/src/commands/agent/stop.d.ts +13 -13
- package/dist/src/commands/agent/stop.js +10 -15
- package/dist/src/commands/agent/stop.js.map +1 -1
- package/dist/src/commands/app/app.node.test.js +11 -16
- package/dist/src/commands/app/app.node.test.js.map +1 -1
- package/dist/src/commands/app/create.d.ts +14 -14
- package/dist/src/commands/app/create.js +23 -52
- package/dist/src/commands/app/create.js.map +1 -1
- package/dist/src/commands/app/list.d.ts +10 -10
- package/dist/src/commands/app/list.js +10 -12
- package/dist/src/commands/app/list.js.map +1 -1
- package/dist/src/commands/app/open.d.ts +13 -13
- package/dist/src/commands/app/open.js +23 -28
- package/dist/src/commands/app/open.js.map +1 -1
- package/dist/src/commands/app/publish.d.ts +14 -14
- package/dist/src/commands/app/publish.js +19 -24
- package/dist/src/commands/app/publish.js.map +1 -1
- package/dist/src/commands/config/index.js +3 -5
- package/dist/src/commands/config/index.js.map +1 -1
- package/dist/src/commands/config/index.node.test.js +11 -39
- package/dist/src/commands/config/index.node.test.js.map +1 -1
- package/dist/src/commands/debug/diagnostics.d.ts +12 -12
- package/dist/src/commands/debug/diagnostics.js +15 -20
- package/dist/src/commands/debug/diagnostics.js.map +1 -1
- package/dist/src/commands/debug/error.js +5 -7
- package/dist/src/commands/debug/error.js.map +1 -1
- package/dist/src/commands/debug/generate.d.ts +16 -16
- package/dist/src/commands/debug/generate.js +20 -22
- package/dist/src/commands/debug/generate.js.map +1 -1
- package/dist/src/commands/debug/metrics.d.ts +1 -1
- package/dist/src/commands/debug/metrics.js +5 -7
- package/dist/src/commands/debug/metrics.js.map +1 -1
- package/dist/src/commands/debug/status.d.ts +11 -11
- package/dist/src/commands/debug/status.js +10 -15
- package/dist/src/commands/debug/status.js.map +1 -1
- package/dist/src/commands/device/info.js +11 -16
- package/dist/src/commands/device/info.js.map +1 -1
- package/dist/src/commands/device/list.d.ts +10 -10
- package/dist/src/commands/device/list.js +9 -11
- package/dist/src/commands/device/list.js.map +1 -1
- package/dist/src/commands/device/update.d.ts +11 -11
- package/dist/src/commands/device/update.js +11 -13
- package/dist/src/commands/device/update.js.map +1 -1
- package/dist/src/commands/function/list.js +15 -19
- package/dist/src/commands/function/list.js.map +1 -1
- package/dist/src/commands/function/logs.d.ts +1 -1
- package/dist/src/commands/function/logs.js +5 -7
- package/dist/src/commands/function/logs.js.map +1 -1
- package/dist/src/commands/function/trigger/list.d.ts +14 -14
- package/dist/src/commands/function/trigger/list.js +21 -28
- package/dist/src/commands/function/trigger/list.js.map +1 -1
- package/dist/src/commands/halo/create.d.ts +13 -13
- package/dist/src/commands/halo/create.js +10 -12
- package/dist/src/commands/halo/create.js.map +1 -1
- package/dist/src/commands/halo/credential/add.d.ts +1 -1
- package/dist/src/commands/halo/credential/add.js +9 -11
- package/dist/src/commands/halo/credential/add.js.map +1 -1
- package/dist/src/commands/halo/credential/list.d.ts +12 -12
- package/dist/src/commands/halo/credential/list.js +15 -17
- package/dist/src/commands/halo/credential/list.js.map +1 -1
- package/dist/src/commands/halo/identity.js +5 -10
- package/dist/src/commands/halo/identity.js.map +1 -1
- package/dist/src/commands/halo/join.d.ts +14 -14
- package/dist/src/commands/halo/join.d.ts.map +1 -1
- package/dist/src/commands/halo/join.js +34 -37
- package/dist/src/commands/halo/join.js.map +1 -1
- package/dist/src/commands/halo/keys.js +3 -5
- package/dist/src/commands/halo/keys.js.map +1 -1
- package/dist/src/commands/halo/recovery/generate.js +3 -5
- package/dist/src/commands/halo/recovery/generate.js.map +1 -1
- package/dist/src/commands/halo/recovery/use.d.ts +11 -11
- package/dist/src/commands/halo/recovery/use.js +6 -8
- package/dist/src/commands/halo/recovery/use.js.map +1 -1
- package/dist/src/commands/halo/share.d.ts +15 -15
- package/dist/src/commands/halo/share.js +27 -32
- package/dist/src/commands/halo/share.js.map +1 -1
- package/dist/src/commands/halo/update.d.ts +11 -11
- package/dist/src/commands/halo/update.js +11 -16
- package/dist/src/commands/halo/update.js.map +1 -1
- package/dist/src/commands/info.d.ts +10 -10
- package/dist/src/commands/info.d.ts.map +1 -1
- package/dist/src/commands/info.js +8 -13
- package/dist/src/commands/info.js.map +1 -1
- package/dist/src/commands/profile/import.d.ts +12 -12
- package/dist/src/commands/profile/import.js +20 -48
- package/dist/src/commands/profile/import.js.map +1 -1
- package/dist/src/commands/profile/inspect.d.ts +12 -12
- package/dist/src/commands/profile/inspect.js +14 -39
- package/dist/src/commands/profile/inspect.js.map +1 -1
- package/dist/src/commands/reset/index.d.ts +12 -12
- package/dist/src/commands/reset/index.js +22 -27
- package/dist/src/commands/reset/index.js.map +1 -1
- package/dist/src/commands/shell/index.d.ts.map +1 -1
- package/dist/src/commands/shell/index.js +11 -12
- package/dist/src/commands/shell/index.js.map +1 -1
- package/dist/src/commands/space/close.d.ts +1 -1
- package/dist/src/commands/space/close.js +5 -7
- package/dist/src/commands/space/close.js.map +1 -1
- package/dist/src/commands/space/create.d.ts +1 -1
- package/dist/src/commands/space/create.js +9 -14
- package/dist/src/commands/space/create.js.map +1 -1
- package/dist/src/commands/space/epoch.d.ts +1 -1
- package/dist/src/commands/space/epoch.js +5 -7
- package/dist/src/commands/space/epoch.js.map +1 -1
- package/dist/src/commands/space/info.d.ts +1 -1
- package/dist/src/commands/space/info.js +5 -7
- package/dist/src/commands/space/info.js.map +1 -1
- package/dist/src/commands/space/join.d.ts +12 -12
- package/dist/src/commands/space/join.d.ts.map +1 -1
- package/dist/src/commands/space/join.js +22 -25
- package/dist/src/commands/space/join.js.map +1 -1
- package/dist/src/commands/space/list.d.ts +11 -11
- package/dist/src/commands/space/list.js +16 -18
- package/dist/src/commands/space/list.js.map +1 -1
- package/dist/src/commands/space/members.d.ts +11 -11
- package/dist/src/commands/space/members.js +9 -11
- package/dist/src/commands/space/members.js.map +1 -1
- package/dist/src/commands/space/open.d.ts +1 -1
- package/dist/src/commands/space/open.js +5 -7
- package/dist/src/commands/space/open.js.map +1 -1
- package/dist/src/commands/space/query.d.ts +12 -12
- package/dist/src/commands/space/query.js +15 -17
- package/dist/src/commands/space/query.js.map +1 -1
- package/dist/src/commands/space/schema/list.d.ts +12 -12
- package/dist/src/commands/space/schema/list.js +12 -14
- package/dist/src/commands/space/schema/list.js.map +1 -1
- package/dist/src/commands/space/share.d.ts +17 -17
- package/dist/src/commands/space/share.js +30 -35
- package/dist/src/commands/space/share.js.map +1 -1
- package/dist/src/commands/tunnel/index.d.ts +11 -11
- package/dist/src/commands/tunnel/index.js +16 -18
- package/dist/src/commands/tunnel/index.js.map +1 -1
- package/dist/src/commands/tunnel/list.d.ts +10 -10
- package/dist/src/commands/tunnel/list.js +8 -10
- package/dist/src/commands/tunnel/list.js.map +1 -1
- package/dist/src/commands/userfunction/upload.d.ts +15 -15
- package/dist/src/commands/userfunction/upload.js +29 -34
- package/dist/src/commands/userfunction/upload.js.map +1 -1
- package/dist/src/components/App.js +11 -18
- package/dist/src/components/App.js.map +1 -1
- package/dist/src/components/SpaceTable.js +8 -38
- package/dist/src/components/SpaceTable.js.map +1 -1
- package/dist/src/components/SystemTable.js +6 -36
- package/dist/src/components/SystemTable.js.map +1 -1
- package/dist/src/components/index.js +3 -19
- package/dist/src/components/index.js.map +1 -1
- package/dist/src/help.js +8 -15
- package/dist/src/help.js.map +1 -1
- package/dist/src/hooks/command-not-found.js +4 -9
- package/dist/src/hooks/command-not-found.js.map +1 -1
- package/dist/src/index.js +2 -20
- package/dist/src/index.js.map +1 -1
- package/dist/src/util/index.js +4 -20
- package/dist/src/util/index.js.map +1 -1
- package/dist/src/util/provider/digital-ocean.js +11 -18
- package/dist/src/util/provider/digital-ocean.js.map +1 -1
- package/dist/src/util/provider/index.js +2 -18
- package/dist/src/util/provider/index.js.map +1 -1
- package/dist/src/util/provider/provider.js +7 -12
- package/dist/src/util/provider/provider.js.map +1 -1
- package/dist/src/util/publish/build.js +7 -14
- package/dist/src/util/publish/build.js.map +1 -1
- package/dist/src/util/publish/common.js +6 -34
- package/dist/src/util/publish/common.js.map +1 -1
- package/dist/src/util/publish/config.js +14 -21
- package/dist/src/util/publish/config.js.map +1 -1
- package/dist/src/util/publish/index.js +6 -22
- package/dist/src/util/publish/index.js.map +1 -1
- package/dist/src/util/publish/ipfs-upload.js +11 -18
- package/dist/src/util/publish/ipfs-upload.js.map +1 -1
- package/dist/src/util/publish/publish.js +20 -27
- package/dist/src/util/publish/publish.js.map +1 -1
- package/dist/src/util/publish/publisher-rpc-peer.js +16 -23
- package/dist/src/util/publish/publisher-rpc-peer.js.map +1 -1
- package/dist/src/util/supervisor/index.js +1 -17
- package/dist/src/util/supervisor/index.js.map +1 -1
- package/dist/src/util/supervisor/supervisor-rpc-peer.js +16 -23
- package/dist/src/util/supervisor/supervisor-rpc-peer.js.map +1 -1
- package/dist/src/util/tunnel/common.js +5 -10
- package/dist/src/util/tunnel/common.js.map +1 -1
- package/dist/src/util/tunnel/index.js +2 -18
- package/dist/src/util/tunnel/index.js.map +1 -1
- package/dist/src/util/tunnel/tunnel-rpc-peer.js +16 -23
- package/dist/src/util/tunnel/tunnel-rpc-peer.js.map +1 -1
- package/oclif.manifest.json +157 -157
- package/package.json +43 -41
- package/bin/dev +0 -22
- package/bin/dx +0 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/cli",
|
|
3
|
-
"version": "0.6.14-
|
|
3
|
+
"version": "0.6.14-staging.4b6f9cf",
|
|
4
4
|
"description": "DXOS CLI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dxos",
|
|
@@ -11,10 +11,12 @@
|
|
|
11
11
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"author": "info@dxos.org",
|
|
14
|
+
"sideEffects": false,
|
|
15
|
+
"type": "module",
|
|
14
16
|
"main": "dist/src/index.js",
|
|
15
17
|
"types": "dist/src/index.d.ts",
|
|
16
18
|
"bin": {
|
|
17
|
-
"dx": "./bin/dx"
|
|
19
|
+
"dx": "./bin/dx.js"
|
|
18
20
|
},
|
|
19
21
|
"files": [
|
|
20
22
|
"/bin",
|
|
@@ -23,22 +25,23 @@
|
|
|
23
25
|
"/oclif.manifest.json"
|
|
24
26
|
],
|
|
25
27
|
"dependencies": {
|
|
26
|
-
"@oclif/core": "^4.0.
|
|
27
|
-
"@oclif/plugin-autocomplete": "^3.
|
|
28
|
-
"@oclif/plugin-help": "^6.2.
|
|
29
|
-
"@oclif/plugin-plugins": "^5.
|
|
30
|
-
"@oclif/plugin-update": "^4.
|
|
28
|
+
"@oclif/core": "^4.0.30",
|
|
29
|
+
"@oclif/plugin-autocomplete": "^3.2.6",
|
|
30
|
+
"@oclif/plugin-help": "^6.2.16",
|
|
31
|
+
"@oclif/plugin-plugins": "^5.4.15",
|
|
32
|
+
"@oclif/plugin-update": "^4.6.6",
|
|
31
33
|
"@octokit/core": "^4.0.4",
|
|
32
34
|
"chalk": "^4.1.0",
|
|
33
35
|
"cli-progress": "^3.11.2",
|
|
34
36
|
"date-fns": "^3.3.1",
|
|
35
37
|
"do-wrapper": "^4.5.1",
|
|
38
|
+
"extensionless": "^1.9.9",
|
|
36
39
|
"fs-extra": "^8.1.0",
|
|
37
40
|
"get-folder-size": "^2.0.1",
|
|
38
41
|
"git-rev-sync": "^3.0.2",
|
|
39
42
|
"ink": "^3.2.0",
|
|
40
43
|
"ink-table": "~3.0.0",
|
|
41
|
-
"inquirer": "^
|
|
44
|
+
"inquirer": "^12.0.0",
|
|
42
45
|
"isomorphic-ws": "^5.0.0",
|
|
43
46
|
"js-yaml": "^4.1.0",
|
|
44
47
|
"kubo-rpc-client": "^4.1.1",
|
|
@@ -50,46 +53,45 @@
|
|
|
50
53
|
"react": "~18.2.0",
|
|
51
54
|
"ws": "^8.14.2",
|
|
52
55
|
"wtfnode": "^0.9.1",
|
|
53
|
-
"@dxos/agent": "0.6.14-
|
|
54
|
-
"@dxos/async": "0.6.14-
|
|
55
|
-
"@dxos/
|
|
56
|
-
"@dxos/cli-composer": "0.6.14-
|
|
57
|
-
"@dxos/
|
|
58
|
-
"@dxos/client-protocol": "0.6.14-
|
|
59
|
-
"@dxos/client": "0.6.14-
|
|
60
|
-
"@dxos/client-services": "0.6.14-
|
|
61
|
-
"@dxos/config": "0.6.14-
|
|
62
|
-
"@dxos/
|
|
63
|
-
"@dxos/
|
|
64
|
-
"@dxos/
|
|
65
|
-
"@dxos/
|
|
66
|
-
"@dxos/
|
|
67
|
-
"@dxos/
|
|
68
|
-
"@dxos/
|
|
69
|
-
"@dxos/network-manager": "0.6.14-
|
|
70
|
-
"@dxos/observability": "0.6.14-
|
|
71
|
-
"@dxos/node-std": "0.6.14-
|
|
72
|
-
"@dxos/plate": "0.6.14-
|
|
73
|
-
"@dxos/plugin-markdown": "0.6.14-
|
|
74
|
-
"@dxos/plugin-script": "0.6.14-
|
|
75
|
-
"@dxos/process": "0.6.14-
|
|
76
|
-
"@dxos/
|
|
77
|
-
"@dxos/
|
|
78
|
-
"@dxos/
|
|
79
|
-
"@dxos/tasks-template": "0.6.14-
|
|
80
|
-
"@dxos/util": "0.6.14-
|
|
56
|
+
"@dxos/agent": "0.6.14-staging.4b6f9cf",
|
|
57
|
+
"@dxos/async": "0.6.14-staging.4b6f9cf",
|
|
58
|
+
"@dxos/cli-base": "0.6.14-staging.4b6f9cf",
|
|
59
|
+
"@dxos/cli-composer": "0.6.14-staging.4b6f9cf",
|
|
60
|
+
"@dxos/bare-template": "0.6.14-staging.4b6f9cf",
|
|
61
|
+
"@dxos/client-protocol": "0.6.14-staging.4b6f9cf",
|
|
62
|
+
"@dxos/client": "0.6.14-staging.4b6f9cf",
|
|
63
|
+
"@dxos/client-services": "0.6.14-staging.4b6f9cf",
|
|
64
|
+
"@dxos/config": "0.6.14-staging.4b6f9cf",
|
|
65
|
+
"@dxos/debug": "0.6.14-staging.4b6f9cf",
|
|
66
|
+
"@dxos/context": "0.6.14-staging.4b6f9cf",
|
|
67
|
+
"@dxos/functions": "0.6.14-staging.4b6f9cf",
|
|
68
|
+
"@dxos/echo-schema": "0.6.14-staging.4b6f9cf",
|
|
69
|
+
"@dxos/invariant": "0.6.14-staging.4b6f9cf",
|
|
70
|
+
"@dxos/hello-template": "0.6.14-staging.4b6f9cf",
|
|
71
|
+
"@dxos/log": "0.6.14-staging.4b6f9cf",
|
|
72
|
+
"@dxos/network-manager": "0.6.14-staging.4b6f9cf",
|
|
73
|
+
"@dxos/observability": "0.6.14-staging.4b6f9cf",
|
|
74
|
+
"@dxos/node-std": "0.6.14-staging.4b6f9cf",
|
|
75
|
+
"@dxos/plate": "0.6.14-staging.4b6f9cf",
|
|
76
|
+
"@dxos/plugin-markdown": "0.6.14-staging.4b6f9cf",
|
|
77
|
+
"@dxos/plugin-script": "0.6.14-staging.4b6f9cf",
|
|
78
|
+
"@dxos/process": "0.6.14-staging.4b6f9cf",
|
|
79
|
+
"@dxos/rpc": "0.6.14-staging.4b6f9cf",
|
|
80
|
+
"@dxos/protocols": "0.6.14-staging.4b6f9cf",
|
|
81
|
+
"@dxos/random": "0.6.14-staging.4b6f9cf",
|
|
82
|
+
"@dxos/tasks-template": "0.6.14-staging.4b6f9cf",
|
|
83
|
+
"@dxos/util": "0.6.14-staging.4b6f9cf"
|
|
81
84
|
},
|
|
82
85
|
"devDependencies": {
|
|
83
|
-
"@oclif/test": "^4.0
|
|
86
|
+
"@oclif/test": "^4.1.0",
|
|
84
87
|
"@types/cli-progress": "^3.11.0",
|
|
85
88
|
"@types/fs-extra": "^9.0.4",
|
|
86
|
-
"@types/inquirer": "^8.2.10",
|
|
87
89
|
"@types/js-yaml": "^4.0.5",
|
|
88
90
|
"@types/lodash.defaultsdeep": "^4.6.6",
|
|
89
91
|
"@types/node-fetch": "^2.5.10",
|
|
90
92
|
"@types/platform": "^1.3.4",
|
|
91
93
|
"@types/react-dom": "~18.2.0",
|
|
92
|
-
"oclif": "^4.
|
|
94
|
+
"oclif": "^4.15.12",
|
|
93
95
|
"shx": "^0.3.3",
|
|
94
96
|
"undici": "*"
|
|
95
97
|
},
|
|
@@ -140,8 +142,8 @@
|
|
|
140
142
|
}
|
|
141
143
|
},
|
|
142
144
|
"scripts": {
|
|
143
|
-
"bin": "./bin/dx",
|
|
144
|
-
"manifest": "oclif manifest",
|
|
145
|
+
"bin": "./bin/dx.js",
|
|
146
|
+
"manifest": "NODE_OPTIONS='--import=extensionless/register' oclif manifest",
|
|
145
147
|
"readme": "oclif readme --multi"
|
|
146
148
|
}
|
|
147
149
|
}
|
package/bin/dev
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env -S node --no-warnings
|
|
2
|
-
// NOTE: Specify --no-warnings in production script.
|
|
3
|
-
|
|
4
|
-
if (process.env.DX_TRACK_LEAKS) {
|
|
5
|
-
globalThis.wtf = require('wtfnode')
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
const oclif = require('@oclif/core')
|
|
9
|
-
const path = require('path')
|
|
10
|
-
const project = path.join(__dirname, '..', 'tsconfig.json')
|
|
11
|
-
|
|
12
|
-
process.env.DX_ENVIRONMENT = process.env.DX_ENVIRONMENT ?? 'development'
|
|
13
|
-
process.env.NODE_ENV = 'development'
|
|
14
|
-
|
|
15
|
-
// In dev mode, use ts-node and dev plugins.
|
|
16
|
-
require('ts-node').register({ project })
|
|
17
|
-
|
|
18
|
-
// In dev mode, always show stack traces.
|
|
19
|
-
oclif.settings.debug = true;
|
|
20
|
-
|
|
21
|
-
// Start the CLI.
|
|
22
|
-
oclif.run().then(oclif.flush).catch(oclif.Errors.handle)
|
package/bin/dx
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env -S node --no-warnings
|
|
2
|
-
|
|
3
|
-
// Note: `npm publish` or `pnpm deploy` will change the default depending on the DX_ENVIRONMENT at time of invocation.
|
|
4
|
-
process.env.DX_ENVIRONMENT = process.env.DX_ENVIRONMENT ?? 'development'
|
|
5
|
-
|
|
6
|
-
const oclif = require('@oclif/core')
|
|
7
|
-
|
|
8
|
-
oclif.run().then(require('@oclif/core/flush')).catch(require('@oclif/core/handle'))
|