@dxos/cli 0.4.7 → 0.4.8-main.ac78619

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.
Files changed (68) hide show
  1. package/dist/src/base-command.js +2 -2
  2. package/dist/src/base-command.js.map +1 -1
  3. package/dist/src/commands/agent/agent.test.js.map +1 -1
  4. package/dist/src/commands/agent/invitations.d.ts +18 -0
  5. package/dist/src/commands/agent/invitations.d.ts.map +1 -0
  6. package/dist/src/commands/agent/invitations.js +94 -0
  7. package/dist/src/commands/agent/invitations.js.map +1 -0
  8. package/dist/src/commands/agent/list.js.map +1 -1
  9. package/dist/src/commands/agent/restart.js.map +1 -1
  10. package/dist/src/commands/agent/start.js.map +1 -1
  11. package/dist/src/commands/agent/stop.js.map +1 -1
  12. package/dist/src/commands/app/create.js.map +1 -1
  13. package/dist/src/commands/app/open.js.map +1 -1
  14. package/dist/src/commands/app/publish.js.map +1 -1
  15. package/dist/src/commands/config/index.js.map +1 -1
  16. package/dist/src/commands/debug/generate.js.map +1 -1
  17. package/dist/src/commands/debug/metrics.js.map +1 -1
  18. package/dist/src/commands/device/info.js.map +1 -1
  19. package/dist/src/commands/function/dev.js.map +1 -1
  20. package/dist/src/commands/function/exec.js.map +1 -1
  21. package/dist/src/commands/function/logs.js.map +1 -1
  22. package/dist/src/commands/halo/create.js.map +1 -1
  23. package/dist/src/commands/halo/credential/add.js.map +1 -1
  24. package/dist/src/commands/halo/credential/list.js.map +1 -1
  25. package/dist/src/commands/halo/identity.js.map +1 -1
  26. package/dist/src/commands/halo/join.js.map +1 -1
  27. package/dist/src/commands/halo/share.d.ts +3 -1
  28. package/dist/src/commands/halo/share.d.ts.map +1 -1
  29. package/dist/src/commands/halo/share.js +23 -4
  30. package/dist/src/commands/halo/share.js.map +1 -1
  31. package/dist/src/commands/halo/update.js.map +1 -1
  32. package/dist/src/commands/kube/auth.js.map +1 -1
  33. package/dist/src/commands/kube/deploy.js.map +1 -1
  34. package/dist/src/commands/reset/index.js.map +1 -1
  35. package/dist/src/commands/shell/index.js.map +1 -1
  36. package/dist/src/commands/space/info.js.map +1 -1
  37. package/dist/src/commands/space/join.js.map +1 -1
  38. package/dist/src/commands/space/list.js.map +1 -1
  39. package/dist/src/commands/space/members.js.map +1 -1
  40. package/dist/src/commands/space/query.js.map +1 -1
  41. package/dist/src/commands/space/share.d.ts +5 -1
  42. package/dist/src/commands/space/share.d.ts.map +1 -1
  43. package/dist/src/commands/space/share.js +38 -6
  44. package/dist/src/commands/space/share.js.map +1 -1
  45. package/dist/src/commands/tunnel/list.js.map +1 -1
  46. package/dist/src/components/App.js.map +1 -1
  47. package/dist/src/components/SpaceTable.js.map +1 -1
  48. package/dist/src/components/SystemTable.js.map +1 -1
  49. package/dist/src/help.js.map +1 -1
  50. package/dist/src/util/agents.js.map +1 -1
  51. package/dist/src/util/credentials.js.map +1 -1
  52. package/dist/src/util/invitations.d.ts +2 -1
  53. package/dist/src/util/invitations.d.ts.map +1 -1
  54. package/dist/src/util/invitations.js +10 -2
  55. package/dist/src/util/invitations.js.map +1 -1
  56. package/dist/src/util/provider/digital-ocean.js.map +1 -1
  57. package/dist/src/util/publish/build.js.map +1 -1
  58. package/dist/src/util/publish/ipfs-upload.js.map +1 -1
  59. package/dist/src/util/publish/publish.js.map +1 -1
  60. package/dist/src/util/publish/publisher-rpc-peer.js.map +1 -1
  61. package/dist/src/util/spaces.js +2 -2
  62. package/dist/src/util/spaces.js.map +1 -1
  63. package/dist/src/util/supervisor/supervisor-rpc-peer.js.map +1 -1
  64. package/dist/src/util/testing.js.map +1 -1
  65. package/dist/src/util/tree.js.map +1 -1
  66. package/dist/src/util/tunnel/tunnel-rpc-peer.js.map +1 -1
  67. package/oclif.manifest.json +123 -4
  68. package/package.json +23 -23
@@ -1,6 +1,87 @@
1
1
  {
2
- "version": "0.4.7",
2
+ "version": "0.4.8-main.ac78619",
3
3
  "commands": {
4
+ "agent:invitations": {
5
+ "id": "agent:invitations",
6
+ "description": "List valid invitations.",
7
+ "strict": true,
8
+ "pluginName": "@dxos/cli",
9
+ "pluginAlias": "@dxos/cli",
10
+ "pluginType": "core",
11
+ "aliases": [],
12
+ "flags": {
13
+ "json": {
14
+ "name": "json",
15
+ "type": "boolean",
16
+ "description": "Format output as json.",
17
+ "helpGroup": "GLOBAL",
18
+ "allowNo": false
19
+ },
20
+ "dry-run": {
21
+ "name": "dry-run",
22
+ "type": "boolean",
23
+ "description": "Dry run.",
24
+ "allowNo": false
25
+ },
26
+ "verbose": {
27
+ "name": "verbose",
28
+ "type": "boolean",
29
+ "char": "v",
30
+ "description": "Verbose output",
31
+ "allowNo": false
32
+ },
33
+ "profile": {
34
+ "name": "profile",
35
+ "type": "option",
36
+ "description": "User profile.",
37
+ "multiple": false,
38
+ "default": "default"
39
+ },
40
+ "config": {
41
+ "name": "config",
42
+ "type": "option",
43
+ "description": "Config file.",
44
+ "helpValue": "path",
45
+ "multiple": false,
46
+ "dependsOn": [
47
+ "profile"
48
+ ],
49
+ "default": "/home/runner/.config/dx/profile/default.yml",
50
+ "aliases": [
51
+ "c"
52
+ ]
53
+ },
54
+ "no-agent": {
55
+ "name": "no-agent",
56
+ "type": "boolean",
57
+ "description": "Run command without using or starting agent.",
58
+ "allowNo": false
59
+ },
60
+ "timeout": {
61
+ "name": "timeout",
62
+ "type": "option",
63
+ "description": "Timeout (ms).",
64
+ "multiple": false,
65
+ "default": 60000,
66
+ "aliases": [
67
+ "t"
68
+ ]
69
+ },
70
+ "no-wait": {
71
+ "name": "no-wait",
72
+ "type": "boolean",
73
+ "description": "Do not wait for space to be ready.",
74
+ "allowNo": false
75
+ },
76
+ "no-truncate": {
77
+ "name": "no-truncate",
78
+ "type": "boolean",
79
+ "description": "Do not truncate keys.",
80
+ "allowNo": false
81
+ }
82
+ },
83
+ "args": {}
84
+ },
4
85
  "agent:list": {
5
86
  "id": "agent:list",
6
87
  "description": "List agents.",
@@ -2322,7 +2403,7 @@
2322
2403
  "no-wait": {
2323
2404
  "name": "no-wait",
2324
2405
  "type": "boolean",
2325
- "description": "Do not wait for space to be ready.",
2406
+ "description": "Don't wait for a peer to connect before exiting CLI.",
2326
2407
  "allowNo": false
2327
2408
  },
2328
2409
  "noCode": {
@@ -2336,6 +2417,19 @@
2336
2417
  "type": "option",
2337
2418
  "description": "Base URL of the application to join the invitation, e.g. https://composer.dxos.org",
2338
2419
  "multiple": false
2420
+ },
2421
+ "lifetime": {
2422
+ "name": "lifetime",
2423
+ "type": "option",
2424
+ "description": "Lifetime of the invitation in seconds",
2425
+ "multiple": false,
2426
+ "default": 86400
2427
+ },
2428
+ "no-persistent": {
2429
+ "name": "no-persistent",
2430
+ "type": "boolean",
2431
+ "description": "Don't resume invitation if client restarts",
2432
+ "allowNo": false
2339
2433
  }
2340
2434
  },
2341
2435
  "args": {}
@@ -3685,7 +3779,7 @@
3685
3779
  "no-wait": {
3686
3780
  "name": "no-wait",
3687
3781
  "type": "boolean",
3688
- "description": "Do not wait for space to be ready.",
3782
+ "description": "Don't wait for a peer to connect before exiting CLI.",
3689
3783
  "allowNo": false
3690
3784
  },
3691
3785
  "multiple": {
@@ -3699,6 +3793,31 @@
3699
3793
  "type": "boolean",
3700
3794
  "description": "Skip authentication challenge.",
3701
3795
  "allowNo": false
3796
+ },
3797
+ "origin": {
3798
+ "name": "origin",
3799
+ "type": "option",
3800
+ "description": "Base URL of the application to join the invitation, e.g. https://composer.dxos.org",
3801
+ "multiple": false
3802
+ },
3803
+ "lifetime": {
3804
+ "name": "lifetime",
3805
+ "type": "option",
3806
+ "description": "Lifetime of the invitation in seconds",
3807
+ "multiple": false,
3808
+ "default": 86400
3809
+ },
3810
+ "persistent": {
3811
+ "name": "persistent",
3812
+ "type": "boolean",
3813
+ "description": "Invitation should resume if client restarts",
3814
+ "allowNo": false
3815
+ },
3816
+ "no-persistent": {
3817
+ "name": "no-persistent",
3818
+ "type": "boolean",
3819
+ "description": "Don't resume invitation if client restarts",
3820
+ "allowNo": false
3702
3821
  }
3703
3822
  },
3704
3823
  "args": {
@@ -3784,7 +3903,7 @@
3784
3903
  "type": "option",
3785
3904
  "description": "Tunnel name",
3786
3905
  "multiple": false,
3787
- "default": "washington-east-sweet-april"
3906
+ "default": "white-tango-charlie-cold"
3788
3907
  }
3789
3908
  },
3790
3909
  "args": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/cli",
3
- "version": "0.4.7",
3
+ "version": "0.4.8-main.ac78619",
4
4
  "description": "DXOS CLI",
5
5
  "keywords": [
6
6
  "dxos",
@@ -46,28 +46,28 @@
46
46
  "react": "^18.2.0",
47
47
  "uuid": "^8.3.2",
48
48
  "ws": "^8.14.2",
49
- "@dxos/agent": "0.4.7",
50
- "@dxos/bare-template": "0.4.7",
51
- "@dxos/client": "0.4.7",
52
- "@dxos/async": "0.4.7",
53
- "@dxos/client-services": "0.4.7",
54
- "@dxos/config": "0.4.7",
55
- "@dxos/context": "0.4.7",
56
- "@dxos/debug": "0.4.7",
57
- "@dxos/client-protocol": "0.4.7",
58
- "@dxos/hello-template": "0.4.7",
59
- "@dxos/invariant": "0.4.7",
60
- "@dxos/functions": "0.4.7",
61
- "@dxos/network-manager": "0.4.7",
62
- "@dxos/log": "0.4.7",
63
- "@dxos/observability": "0.4.7",
64
- "@dxos/process": "0.4.7",
65
- "@dxos/plate": "0.4.7",
66
- "@dxos/protocols": "0.4.7",
67
- "@dxos/random": "0.4.7",
68
- "@dxos/rpc": "0.4.7",
69
- "@dxos/tasks-template": "0.4.7",
70
- "@dxos/util": "0.4.7"
49
+ "@dxos/agent": "0.4.8-main.ac78619",
50
+ "@dxos/async": "0.4.8-main.ac78619",
51
+ "@dxos/bare-template": "0.4.8-main.ac78619",
52
+ "@dxos/client-protocol": "0.4.8-main.ac78619",
53
+ "@dxos/client": "0.4.8-main.ac78619",
54
+ "@dxos/client-services": "0.4.8-main.ac78619",
55
+ "@dxos/config": "0.4.8-main.ac78619",
56
+ "@dxos/context": "0.4.8-main.ac78619",
57
+ "@dxos/debug": "0.4.8-main.ac78619",
58
+ "@dxos/hello-template": "0.4.8-main.ac78619",
59
+ "@dxos/invariant": "0.4.8-main.ac78619",
60
+ "@dxos/log": "0.4.8-main.ac78619",
61
+ "@dxos/functions": "0.4.8-main.ac78619",
62
+ "@dxos/observability": "0.4.8-main.ac78619",
63
+ "@dxos/network-manager": "0.4.8-main.ac78619",
64
+ "@dxos/plate": "0.4.8-main.ac78619",
65
+ "@dxos/process": "0.4.8-main.ac78619",
66
+ "@dxos/protocols": "0.4.8-main.ac78619",
67
+ "@dxos/random": "0.4.8-main.ac78619",
68
+ "@dxos/rpc": "0.4.8-main.ac78619",
69
+ "@dxos/tasks-template": "0.4.8-main.ac78619",
70
+ "@dxos/util": "0.4.8-main.ac78619"
71
71
  },
72
72
  "devDependencies": {
73
73
  "@oclif/test": "^2.3.31",