@dxos/cli 0.1.54 → 0.1.55-main.0d3b09d

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 (127) hide show
  1. package/README.md +178 -126
  2. package/dist/src/base-command.d.ts +9 -1
  3. package/dist/src/base-command.d.ts.map +1 -1
  4. package/dist/src/base-command.js +52 -9
  5. package/dist/src/base-command.js.map +1 -1
  6. package/dist/src/commands/agent/restart.js +2 -2
  7. package/dist/src/commands/agent/restart.js.map +1 -1
  8. package/dist/src/commands/agent/start.d.ts.map +1 -1
  9. package/dist/src/commands/agent/start.js +8 -3
  10. package/dist/src/commands/agent/start.js.map +1 -1
  11. package/dist/src/commands/agent/stop.d.ts.map +1 -1
  12. package/dist/src/commands/agent/stop.js +10 -5
  13. package/dist/src/commands/agent/stop.js.map +1 -1
  14. package/dist/src/commands/app/create.js +3 -3
  15. package/dist/src/commands/app/create.js.map +1 -1
  16. package/dist/src/commands/debug/{stats.d.ts → diagnostics.d.ts} +3 -3
  17. package/dist/src/commands/debug/diagnostics.d.ts.map +1 -0
  18. package/dist/src/commands/debug/diagnostics.js +54 -0
  19. package/dist/src/commands/debug/diagnostics.js.map +1 -0
  20. package/dist/src/commands/debug/generate.d.ts +22 -0
  21. package/dist/src/commands/debug/generate.d.ts.map +1 -0
  22. package/dist/src/commands/debug/generate.js +68 -0
  23. package/dist/src/commands/debug/generate.js.map +1 -0
  24. package/dist/src/commands/device/list.d.ts +17 -0
  25. package/dist/src/commands/device/list.d.ts.map +1 -1
  26. package/dist/src/commands/device/list.js +5 -0
  27. package/dist/src/commands/device/list.js.map +1 -1
  28. package/dist/src/commands/halo/credential/list.d.ts +8 -0
  29. package/dist/src/commands/halo/credential/list.d.ts.map +1 -1
  30. package/dist/src/commands/halo/credential/list.js +7 -7
  31. package/dist/src/commands/halo/credential/list.js.map +1 -1
  32. package/dist/src/commands/halo/{index.d.ts → info.d.ts} +2 -2
  33. package/dist/src/commands/halo/info.d.ts.map +1 -0
  34. package/dist/src/commands/halo/{index.js → info.js} +7 -6
  35. package/dist/src/commands/halo/info.js.map +1 -0
  36. package/dist/src/commands/halo/join.d.ts +1 -0
  37. package/dist/src/commands/halo/join.d.ts.map +1 -1
  38. package/dist/src/commands/halo/join.js +20 -13
  39. package/dist/src/commands/halo/join.js.map +1 -1
  40. package/dist/src/commands/halo/share.js +1 -1
  41. package/dist/src/commands/halo/share.js.map +1 -1
  42. package/dist/src/commands/kube/auth.js +1 -1
  43. package/dist/src/commands/kube/auth.js.map +1 -1
  44. package/dist/src/commands/kube/deploy.d.ts.map +1 -1
  45. package/dist/src/commands/kube/deploy.js +16 -25
  46. package/dist/src/commands/kube/deploy.js.map +1 -1
  47. package/dist/src/commands/reset/index.d.ts.map +1 -1
  48. package/dist/src/commands/reset/index.js +12 -7
  49. package/dist/src/commands/reset/index.js.map +1 -1
  50. package/dist/src/commands/shell/index.d.ts +0 -1
  51. package/dist/src/commands/shell/index.d.ts.map +1 -1
  52. package/dist/src/commands/shell/index.js +0 -4
  53. package/dist/src/commands/shell/index.js.map +1 -1
  54. package/dist/src/commands/space/create.d.ts.map +1 -1
  55. package/dist/src/commands/space/create.js +9 -5
  56. package/dist/src/commands/space/create.js.map +1 -1
  57. package/dist/src/commands/space/epoch.d.ts +0 -17
  58. package/dist/src/commands/space/epoch.d.ts.map +1 -1
  59. package/dist/src/commands/space/epoch.js +2 -21
  60. package/dist/src/commands/space/epoch.js.map +1 -1
  61. package/dist/src/commands/space/join.d.ts.map +1 -1
  62. package/dist/src/commands/space/join.js +18 -22
  63. package/dist/src/commands/space/join.js.map +1 -1
  64. package/dist/src/commands/space/list.d.ts.map +1 -1
  65. package/dist/src/commands/space/list.js +5 -4
  66. package/dist/src/commands/space/list.js.map +1 -1
  67. package/dist/src/commands/space/members.d.ts +3 -3
  68. package/dist/src/commands/space/members.d.ts.map +1 -1
  69. package/dist/src/commands/space/members.js +6 -19
  70. package/dist/src/commands/space/members.js.map +1 -1
  71. package/dist/src/commands/space/{invite.d.ts → query.d.ts} +4 -3
  72. package/dist/src/commands/space/query.d.ts.map +1 -0
  73. package/dist/src/commands/space/query.js +39 -0
  74. package/dist/src/commands/space/query.js.map +1 -0
  75. package/dist/src/commands/space/share.d.ts +20 -0
  76. package/dist/src/commands/space/share.d.ts.map +1 -0
  77. package/dist/src/commands/space/share.js +62 -0
  78. package/dist/src/commands/space/share.js.map +1 -0
  79. package/dist/src/commands/tunnel/list.d.ts.map +1 -1
  80. package/dist/src/commands/tunnel/list.js +3 -4
  81. package/dist/src/commands/tunnel/list.js.map +1 -1
  82. package/dist/src/commands/tunnel/set.d.ts.map +1 -1
  83. package/dist/src/commands/tunnel/set.js +1 -1
  84. package/dist/src/commands/tunnel/set.js.map +1 -1
  85. package/dist/src/errors.d.ts +4 -0
  86. package/dist/src/errors.d.ts.map +1 -0
  87. package/dist/src/errors.js +13 -0
  88. package/dist/src/errors.js.map +1 -0
  89. package/dist/src/timeouts.d.ts +2 -0
  90. package/dist/src/timeouts.d.ts.map +1 -0
  91. package/dist/src/timeouts.js +8 -0
  92. package/dist/src/timeouts.js.map +1 -0
  93. package/dist/src/util/index.d.ts +1 -0
  94. package/dist/src/util/index.d.ts.map +1 -1
  95. package/dist/src/util/index.js +1 -0
  96. package/dist/src/util/index.js.map +1 -1
  97. package/dist/src/util/invitation.js +1 -1
  98. package/dist/src/util/invitation.js.map +1 -1
  99. package/dist/src/util/print.d.ts +14 -2
  100. package/dist/src/util/print.d.ts.map +1 -1
  101. package/dist/src/util/print.js +78 -6
  102. package/dist/src/util/print.js.map +1 -1
  103. package/dist/src/util/provider/digital-ocean.js +11 -7
  104. package/dist/src/util/provider/digital-ocean.js.map +1 -1
  105. package/dist/src/util/random.d.ts +13 -0
  106. package/dist/src/util/random.d.ts.map +1 -0
  107. package/dist/src/util/random.js +27 -0
  108. package/dist/src/util/random.js.map +1 -0
  109. package/dist/src/util/telemetryrc.json +2 -2
  110. package/dist/src/util/util.d.ts +1 -0
  111. package/dist/src/util/util.d.ts.map +1 -1
  112. package/dist/src/util/util.js +25 -6
  113. package/dist/src/util/util.js.map +1 -1
  114. package/oclif.manifest.json +446 -259
  115. package/package.json +21 -21
  116. package/dist/src/commands/debug/stats.d.ts.map +0 -1
  117. package/dist/src/commands/debug/stats.js +0 -58
  118. package/dist/src/commands/debug/stats.js.map +0 -1
  119. package/dist/src/commands/halo/index.d.ts.map +0 -1
  120. package/dist/src/commands/halo/index.js.map +0 -1
  121. package/dist/src/commands/space/index.d.ts +0 -6
  122. package/dist/src/commands/space/index.d.ts.map +0 -1
  123. package/dist/src/commands/space/index.js +0 -19
  124. package/dist/src/commands/space/index.js.map +0 -1
  125. package/dist/src/commands/space/invite.d.ts.map +0 -1
  126. package/dist/src/commands/space/invite.js +0 -48
  127. package/dist/src/commands/space/invite.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.54",
2
+ "version": "0.1.55-main.0d3b09d",
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": "Auto-start agent.",
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": "Auto-start agent.",
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": "Auto-start agent.",
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": "Auto-start agent.",
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": "Auto-start agent.",
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": "Auto-start agent.",
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": "Auto-start agent.",
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": "Auto-start agent.",
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": "Auto-start agent.",
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:stats": {
744
- "id": "debug:stats",
745
- "description": "Output debug stats.",
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": "Auto-start agent.",
794
+ "description": "Run command without agent.",
795
795
  "allowNo": false
796
796
  },
797
797
  "timeout": {
@@ -819,6 +819,99 @@
819
819
  },
820
820
  "args": {}
821
821
  },
822
+ "debug:generate": {
823
+ "id": "debug:generate",
824
+ "description": "Generate test data.",
825
+ "strict": true,
826
+ "pluginName": "@dxos/cli",
827
+ "pluginAlias": "@dxos/cli",
828
+ "pluginType": "core",
829
+ "aliases": [],
830
+ "flags": {
831
+ "json": {
832
+ "name": "json",
833
+ "type": "boolean",
834
+ "description": "Output as JSON.",
835
+ "allowNo": false
836
+ },
837
+ "dry-run": {
838
+ "name": "dry-run",
839
+ "type": "boolean",
840
+ "description": "Dry run.",
841
+ "allowNo": false
842
+ },
843
+ "verbose": {
844
+ "name": "verbose",
845
+ "type": "boolean",
846
+ "char": "v",
847
+ "description": "Verbose output",
848
+ "allowNo": false
849
+ },
850
+ "profile": {
851
+ "name": "profile",
852
+ "type": "option",
853
+ "description": "User profile.",
854
+ "multiple": false,
855
+ "default": "default"
856
+ },
857
+ "config": {
858
+ "name": "config",
859
+ "type": "option",
860
+ "description": "Config file.",
861
+ "helpValue": "path",
862
+ "multiple": false,
863
+ "dependsOn": [
864
+ "profile"
865
+ ],
866
+ "default": "/home/runner/.config/dx/profile/default.yml",
867
+ "aliases": [
868
+ "c"
869
+ ]
870
+ },
871
+ "no-agent": {
872
+ "name": "no-agent",
873
+ "type": "boolean",
874
+ "description": "Run command without agent.",
875
+ "allowNo": false
876
+ },
877
+ "timeout": {
878
+ "name": "timeout",
879
+ "type": "option",
880
+ "description": "Timeout in seconds.",
881
+ "multiple": false,
882
+ "default": 30,
883
+ "aliases": [
884
+ "t"
885
+ ]
886
+ },
887
+ "objects": {
888
+ "name": "objects",
889
+ "type": "option",
890
+ "description": "Number of objects.",
891
+ "multiple": false,
892
+ "default": 0
893
+ },
894
+ "mutations": {
895
+ "name": "mutations",
896
+ "type": "option",
897
+ "description": "Number of mutations.",
898
+ "multiple": false,
899
+ "default": 0
900
+ },
901
+ "mutationsPerEpoch": {
902
+ "name": "mutationsPerEpoch",
903
+ "type": "option",
904
+ "description": "Number of mutations per epoch.",
905
+ "multiple": false
906
+ }
907
+ },
908
+ "args": {
909
+ "key": {
910
+ "name": "key",
911
+ "description": "Space key head in hex."
912
+ }
913
+ }
914
+ },
822
915
  "device": {
823
916
  "id": "device",
824
917
  "description": "Show device info.",
@@ -872,7 +965,7 @@
872
965
  "no-agent": {
873
966
  "name": "no-agent",
874
967
  "type": "boolean",
875
- "description": "Auto-start agent.",
968
+ "description": "Run command without agent.",
876
969
  "allowNo": false
877
970
  },
878
971
  "timeout": {
@@ -900,8 +993,7 @@
900
993
  "json": {
901
994
  "name": "json",
902
995
  "type": "boolean",
903
- "description": "Format output as json.",
904
- "helpGroup": "GLOBAL",
996
+ "description": "Output as JSON.",
905
997
  "allowNo": false
906
998
  },
907
999
  "dry-run": {
@@ -941,7 +1033,7 @@
941
1033
  "no-agent": {
942
1034
  "name": "no-agent",
943
1035
  "type": "boolean",
944
- "description": "Auto-start agent.",
1036
+ "description": "Run command without agent.",
945
1037
  "allowNo": false
946
1038
  },
947
1039
  "timeout": {
@@ -953,6 +1045,79 @@
953
1045
  "aliases": [
954
1046
  "t"
955
1047
  ]
1048
+ },
1049
+ "columns": {
1050
+ "name": "columns",
1051
+ "type": "option",
1052
+ "description": "only show provided columns (comma-separated)",
1053
+ "multiple": false,
1054
+ "exclusive": [
1055
+ "extended"
1056
+ ]
1057
+ },
1058
+ "sort": {
1059
+ "name": "sort",
1060
+ "type": "option",
1061
+ "description": "property to sort by (prepend '-' for descending)",
1062
+ "multiple": false
1063
+ },
1064
+ "filter": {
1065
+ "name": "filter",
1066
+ "type": "option",
1067
+ "description": "filter property by partial string matching, ex: name=foo",
1068
+ "multiple": false
1069
+ },
1070
+ "csv": {
1071
+ "name": "csv",
1072
+ "type": "boolean",
1073
+ "description": "output is csv format [alias: --output=csv]",
1074
+ "allowNo": false,
1075
+ "exclusive": [
1076
+ "no-truncate"
1077
+ ]
1078
+ },
1079
+ "output": {
1080
+ "name": "output",
1081
+ "type": "option",
1082
+ "description": "output in a more machine friendly format",
1083
+ "multiple": false,
1084
+ "options": [
1085
+ "csv",
1086
+ "json",
1087
+ "yaml"
1088
+ ],
1089
+ "exclusive": [
1090
+ "no-truncate",
1091
+ "csv"
1092
+ ]
1093
+ },
1094
+ "extended": {
1095
+ "name": "extended",
1096
+ "type": "boolean",
1097
+ "char": "x",
1098
+ "description": "show extra columns",
1099
+ "allowNo": false,
1100
+ "exclusive": [
1101
+ "columns"
1102
+ ]
1103
+ },
1104
+ "no-truncate": {
1105
+ "name": "no-truncate",
1106
+ "type": "boolean",
1107
+ "description": "do not truncate output to fit screen",
1108
+ "allowNo": false,
1109
+ "exclusive": [
1110
+ "csv"
1111
+ ]
1112
+ },
1113
+ "no-header": {
1114
+ "name": "no-header",
1115
+ "type": "boolean",
1116
+ "description": "hide table header from output",
1117
+ "allowNo": false,
1118
+ "exclusive": [
1119
+ "csv"
1120
+ ]
956
1121
  }
957
1122
  },
958
1123
  "args": {}
@@ -1017,7 +1182,7 @@
1017
1182
  "no-agent": {
1018
1183
  "name": "no-agent",
1019
1184
  "type": "boolean",
1020
- "description": "Auto-start agent.",
1185
+ "description": "Run command without agent.",
1021
1186
  "allowNo": false
1022
1187
  },
1023
1188
  "timeout": {
@@ -1104,7 +1269,7 @@
1104
1269
  "no-agent": {
1105
1270
  "name": "no-agent",
1106
1271
  "type": "boolean",
1107
- "description": "Auto-start agent.",
1272
+ "description": "Run command without agent.",
1108
1273
  "allowNo": false
1109
1274
  },
1110
1275
  "timeout": {
@@ -1180,7 +1345,7 @@
1180
1345
  "no-agent": {
1181
1346
  "name": "no-agent",
1182
1347
  "type": "boolean",
1183
- "description": "Auto-start agent.",
1348
+ "description": "Run command without agent.",
1184
1349
  "allowNo": false
1185
1350
  },
1186
1351
  "timeout": {
@@ -1250,7 +1415,7 @@
1250
1415
  "no-agent": {
1251
1416
  "name": "no-agent",
1252
1417
  "type": "boolean",
1253
- "description": "Auto-start agent.",
1418
+ "description": "Run command without agent.",
1254
1419
  "allowNo": false
1255
1420
  },
1256
1421
  "timeout": {
@@ -1325,7 +1490,7 @@
1325
1490
  "no-agent": {
1326
1491
  "name": "no-agent",
1327
1492
  "type": "boolean",
1328
- "description": "Auto-start agent.",
1493
+ "description": "Run command without agent.",
1329
1494
  "allowNo": false
1330
1495
  },
1331
1496
  "timeout": {
@@ -1347,8 +1512,8 @@
1347
1512
  }
1348
1513
  }
1349
1514
  },
1350
- "halo": {
1351
- "id": "halo",
1515
+ "halo:info": {
1516
+ "id": "halo:info",
1352
1517
  "description": "Show HALO profile.",
1353
1518
  "strict": true,
1354
1519
  "pluginName": "@dxos/cli",
@@ -1400,7 +1565,7 @@
1400
1565
  "no-agent": {
1401
1566
  "name": "no-agent",
1402
1567
  "type": "boolean",
1403
- "description": "Auto-start agent.",
1568
+ "description": "Run command without agent.",
1404
1569
  "allowNo": false
1405
1570
  },
1406
1571
  "timeout": {
@@ -1468,7 +1633,7 @@
1468
1633
  "no-agent": {
1469
1634
  "name": "no-agent",
1470
1635
  "type": "boolean",
1471
- "description": "Auto-start agent.",
1636
+ "description": "Run command without agent.",
1472
1637
  "allowNo": false
1473
1638
  },
1474
1639
  "timeout": {
@@ -1486,6 +1651,12 @@
1486
1651
  "type": "option",
1487
1652
  "description": "Invitation code",
1488
1653
  "multiple": false
1654
+ },
1655
+ "secret": {
1656
+ "name": "secret",
1657
+ "type": "option",
1658
+ "description": "Invitation secret",
1659
+ "multiple": false
1489
1660
  }
1490
1661
  },
1491
1662
  "args": {}
@@ -1543,7 +1714,7 @@
1543
1714
  "no-agent": {
1544
1715
  "name": "no-agent",
1545
1716
  "type": "boolean",
1546
- "description": "Auto-start agent.",
1717
+ "description": "Run command without agent.",
1547
1718
  "allowNo": false
1548
1719
  },
1549
1720
  "timeout": {
@@ -1618,7 +1789,7 @@
1618
1789
  "no-agent": {
1619
1790
  "name": "no-agent",
1620
1791
  "type": "boolean",
1621
- "description": "Auto-start agent.",
1792
+ "description": "Run command without agent.",
1622
1793
  "allowNo": false
1623
1794
  },
1624
1795
  "timeout": {
@@ -1686,7 +1857,7 @@
1686
1857
  "no-agent": {
1687
1858
  "name": "no-agent",
1688
1859
  "type": "boolean",
1689
- "description": "Auto-start agent.",
1860
+ "description": "Run command without agent.",
1690
1861
  "allowNo": false
1691
1862
  },
1692
1863
  "timeout": {
@@ -1780,7 +1951,7 @@
1780
1951
  "no-agent": {
1781
1952
  "name": "no-agent",
1782
1953
  "type": "boolean",
1783
- "description": "Auto-start agent.",
1954
+ "description": "Run command without agent.",
1784
1955
  "allowNo": false
1785
1956
  },
1786
1957
  "timeout": {
@@ -1854,7 +2025,7 @@
1854
2025
  "no-agent": {
1855
2026
  "name": "no-agent",
1856
2027
  "type": "boolean",
1857
- "description": "Auto-start agent.",
2028
+ "description": "Run command without agent.",
1858
2029
  "allowNo": false
1859
2030
  },
1860
2031
  "timeout": {
@@ -1923,7 +2094,7 @@
1923
2094
  "no-agent": {
1924
2095
  "name": "no-agent",
1925
2096
  "type": "boolean",
1926
- "description": "Auto-start agent.",
2097
+ "description": "Run command without agent.",
1927
2098
  "allowNo": false
1928
2099
  },
1929
2100
  "timeout": {
@@ -1955,7 +2126,8 @@
1955
2126
  "json": {
1956
2127
  "name": "json",
1957
2128
  "type": "boolean",
1958
- "description": "Output as JSON.",
2129
+ "description": "Format output as json.",
2130
+ "helpGroup": "GLOBAL",
1959
2131
  "allowNo": false
1960
2132
  },
1961
2133
  "dry-run": {
@@ -1995,7 +2167,7 @@
1995
2167
  "no-agent": {
1996
2168
  "name": "no-agent",
1997
2169
  "type": "boolean",
1998
- "description": "Auto-start agent.",
2170
+ "description": "Run command without agent.",
1999
2171
  "allowNo": false
2000
2172
  },
2001
2173
  "timeout": {
@@ -2007,79 +2179,6 @@
2007
2179
  "aliases": [
2008
2180
  "t"
2009
2181
  ]
2010
- },
2011
- "columns": {
2012
- "name": "columns",
2013
- "type": "option",
2014
- "description": "only show provided columns (comma-separated)",
2015
- "multiple": false,
2016
- "exclusive": [
2017
- "extended"
2018
- ]
2019
- },
2020
- "sort": {
2021
- "name": "sort",
2022
- "type": "option",
2023
- "description": "property to sort by (prepend '-' for descending)",
2024
- "multiple": false
2025
- },
2026
- "filter": {
2027
- "name": "filter",
2028
- "type": "option",
2029
- "description": "filter property by partial string matching, ex: name=foo",
2030
- "multiple": false
2031
- },
2032
- "csv": {
2033
- "name": "csv",
2034
- "type": "boolean",
2035
- "description": "output is csv format [alias: --output=csv]",
2036
- "allowNo": false,
2037
- "exclusive": [
2038
- "no-truncate"
2039
- ]
2040
- },
2041
- "output": {
2042
- "name": "output",
2043
- "type": "option",
2044
- "description": "output in a more machine friendly format",
2045
- "multiple": false,
2046
- "options": [
2047
- "csv",
2048
- "json",
2049
- "yaml"
2050
- ],
2051
- "exclusive": [
2052
- "no-truncate",
2053
- "csv"
2054
- ]
2055
- },
2056
- "extended": {
2057
- "name": "extended",
2058
- "type": "boolean",
2059
- "char": "x",
2060
- "description": "show extra columns",
2061
- "allowNo": false,
2062
- "exclusive": [
2063
- "columns"
2064
- ]
2065
- },
2066
- "no-truncate": {
2067
- "name": "no-truncate",
2068
- "type": "boolean",
2069
- "description": "do not truncate output to fit screen",
2070
- "allowNo": false,
2071
- "exclusive": [
2072
- "csv"
2073
- ]
2074
- },
2075
- "no-header": {
2076
- "name": "no-header",
2077
- "type": "boolean",
2078
- "description": "hide table header from output",
2079
- "allowNo": false,
2080
- "exclusive": [
2081
- "csv"
2082
- ]
2083
2182
  }
2084
2183
  },
2085
2184
  "args": {
@@ -2089,9 +2188,9 @@
2089
2188
  }
2090
2189
  }
2091
2190
  },
2092
- "space": {
2093
- "id": "space",
2094
- "description": "List spaces.",
2191
+ "space:join": {
2192
+ "id": "space:join",
2193
+ "description": "Join space invitation",
2095
2194
  "strict": true,
2096
2195
  "pluginName": "@dxos/cli",
2097
2196
  "pluginAlias": "@dxos/cli",
@@ -2141,7 +2240,7 @@
2141
2240
  "no-agent": {
2142
2241
  "name": "no-agent",
2143
2242
  "type": "boolean",
2144
- "description": "Auto-start agent.",
2243
+ "description": "Run command without agent.",
2145
2244
  "allowNo": false
2146
2245
  },
2147
2246
  "timeout": {
@@ -2153,13 +2252,25 @@
2153
2252
  "aliases": [
2154
2253
  "t"
2155
2254
  ]
2255
+ },
2256
+ "invitation": {
2257
+ "name": "invitation",
2258
+ "type": "option",
2259
+ "description": "Invitation code",
2260
+ "multiple": false
2261
+ },
2262
+ "secret": {
2263
+ "name": "secret",
2264
+ "type": "option",
2265
+ "description": "Invitation secret",
2266
+ "multiple": false
2156
2267
  }
2157
2268
  },
2158
2269
  "args": {}
2159
2270
  },
2160
- "space:invite": {
2161
- "id": "space:invite",
2162
- "description": "Create space invitation.",
2271
+ "space:list": {
2272
+ "id": "space:list",
2273
+ "description": "List spaces.",
2163
2274
  "strict": true,
2164
2275
  "pluginName": "@dxos/cli",
2165
2276
  "pluginAlias": "@dxos/cli",
@@ -2209,7 +2320,7 @@
2209
2320
  "no-agent": {
2210
2321
  "name": "no-agent",
2211
2322
  "type": "boolean",
2212
- "description": "Auto-start agent.",
2323
+ "description": "Run command without agent.",
2213
2324
  "allowNo": false
2214
2325
  },
2215
2326
  "timeout": {
@@ -2221,98 +2332,86 @@
2221
2332
  "aliases": [
2222
2333
  "t"
2223
2334
  ]
2224
- }
2225
- },
2226
- "args": {
2227
- "key": {
2228
- "name": "key",
2229
- "required": true
2230
- }
2231
- }
2232
- },
2233
- "space:join": {
2234
- "id": "space:join",
2235
- "description": "Join space invitation",
2236
- "strict": true,
2237
- "pluginName": "@dxos/cli",
2238
- "pluginAlias": "@dxos/cli",
2239
- "pluginType": "core",
2240
- "aliases": [],
2241
- "flags": {
2242
- "json": {
2243
- "name": "json",
2244
- "type": "boolean",
2245
- "description": "Output as JSON.",
2246
- "allowNo": false
2247
2335
  },
2248
- "dry-run": {
2249
- "name": "dry-run",
2250
- "type": "boolean",
2251
- "description": "Dry run.",
2252
- "allowNo": false
2336
+ "columns": {
2337
+ "name": "columns",
2338
+ "type": "option",
2339
+ "description": "only show provided columns (comma-separated)",
2340
+ "multiple": false,
2341
+ "exclusive": [
2342
+ "extended"
2343
+ ]
2253
2344
  },
2254
- "verbose": {
2255
- "name": "verbose",
2256
- "type": "boolean",
2257
- "char": "v",
2258
- "description": "Verbose output",
2259
- "allowNo": false
2345
+ "sort": {
2346
+ "name": "sort",
2347
+ "type": "option",
2348
+ "description": "property to sort by (prepend '-' for descending)",
2349
+ "multiple": false
2260
2350
  },
2261
- "profile": {
2262
- "name": "profile",
2351
+ "filter": {
2352
+ "name": "filter",
2263
2353
  "type": "option",
2264
- "description": "User profile.",
2265
- "multiple": false,
2266
- "default": "default"
2354
+ "description": "filter property by partial string matching, ex: name=foo",
2355
+ "multiple": false
2267
2356
  },
2268
- "config": {
2269
- "name": "config",
2357
+ "csv": {
2358
+ "name": "csv",
2359
+ "type": "boolean",
2360
+ "description": "output is csv format [alias: --output=csv]",
2361
+ "allowNo": false,
2362
+ "exclusive": [
2363
+ "no-truncate"
2364
+ ]
2365
+ },
2366
+ "output": {
2367
+ "name": "output",
2270
2368
  "type": "option",
2271
- "description": "Config file.",
2272
- "helpValue": "path",
2369
+ "description": "output in a more machine friendly format",
2273
2370
  "multiple": false,
2274
- "dependsOn": [
2275
- "profile"
2371
+ "options": [
2372
+ "csv",
2373
+ "json",
2374
+ "yaml"
2276
2375
  ],
2277
- "default": "/home/runner/.config/dx/profile/default.yml",
2278
- "aliases": [
2279
- "c"
2376
+ "exclusive": [
2377
+ "no-truncate",
2378
+ "csv"
2280
2379
  ]
2281
2380
  },
2282
- "no-agent": {
2283
- "name": "no-agent",
2381
+ "extended": {
2382
+ "name": "extended",
2284
2383
  "type": "boolean",
2285
- "description": "Auto-start agent.",
2286
- "allowNo": false
2287
- },
2288
- "timeout": {
2289
- "name": "timeout",
2290
- "type": "option",
2291
- "description": "Timeout in seconds.",
2292
- "multiple": false,
2293
- "default": 30,
2294
- "aliases": [
2295
- "t"
2384
+ "char": "x",
2385
+ "description": "show extra columns",
2386
+ "allowNo": false,
2387
+ "exclusive": [
2388
+ "columns"
2296
2389
  ]
2297
2390
  },
2298
- "invitation": {
2299
- "name": "invitation",
2300
- "type": "option",
2301
- "description": "Invitation code",
2302
- "multiple": false
2391
+ "no-truncate": {
2392
+ "name": "no-truncate",
2393
+ "type": "boolean",
2394
+ "description": "do not truncate output to fit screen",
2395
+ "allowNo": false,
2396
+ "exclusive": [
2397
+ "csv"
2398
+ ]
2303
2399
  },
2304
- "secret": {
2305
- "name": "secret",
2306
- "type": "option",
2307
- "description": "Invitation secret",
2308
- "multiple": false
2400
+ "no-header": {
2401
+ "name": "no-header",
2402
+ "type": "boolean",
2403
+ "description": "hide table header from output",
2404
+ "allowNo": false,
2405
+ "exclusive": [
2406
+ "csv"
2407
+ ]
2309
2408
  }
2310
2409
  },
2311
2410
  "args": {}
2312
2411
  },
2313
- "space:list": {
2314
- "id": "space:list",
2315
- "description": "List spaces.",
2412
+ "space:members": {
2413
+ "id": "space:members",
2414
+ "description": "List space members.",
2316
2415
  "strict": true,
2317
2416
  "pluginName": "@dxos/cli",
2318
2417
  "pluginAlias": "@dxos/cli",
@@ -2362,7 +2461,7 @@
2362
2461
  "no-agent": {
2363
2462
  "name": "no-agent",
2364
2463
  "type": "boolean",
2365
- "description": "Auto-start agent.",
2464
+ "description": "Run command without agent.",
2366
2465
  "allowNo": false
2367
2466
  },
2368
2467
  "timeout": {
@@ -2449,11 +2548,16 @@
2449
2548
  ]
2450
2549
  }
2451
2550
  },
2452
- "args": {}
2551
+ "args": {
2552
+ "key": {
2553
+ "name": "key",
2554
+ "description": "Space key head in hex."
2555
+ }
2556
+ }
2453
2557
  },
2454
- "space:members": {
2455
- "id": "space:members",
2456
- "description": "List space members.",
2558
+ "space:query": {
2559
+ "id": "space:query",
2560
+ "description": "Query database.",
2457
2561
  "strict": true,
2458
2562
  "pluginName": "@dxos/cli",
2459
2563
  "pluginAlias": "@dxos/cli",
@@ -2463,7 +2567,8 @@
2463
2567
  "json": {
2464
2568
  "name": "json",
2465
2569
  "type": "boolean",
2466
- "description": "Output as JSON.",
2570
+ "description": "Format output as json.",
2571
+ "helpGroup": "GLOBAL",
2467
2572
  "allowNo": false
2468
2573
  },
2469
2574
  "dry-run": {
@@ -2503,7 +2608,7 @@
2503
2608
  "no-agent": {
2504
2609
  "name": "no-agent",
2505
2610
  "type": "boolean",
2506
- "description": "Auto-start agent.",
2611
+ "description": "Run command without agent.",
2507
2612
  "allowNo": false
2508
2613
  },
2509
2614
  "timeout": {
@@ -2515,79 +2620,88 @@
2515
2620
  "aliases": [
2516
2621
  "t"
2517
2622
  ]
2623
+ }
2624
+ },
2625
+ "args": {
2626
+ "key": {
2627
+ "name": "key",
2628
+ "description": "Space key head in hex."
2629
+ }
2630
+ }
2631
+ },
2632
+ "space:share": {
2633
+ "id": "space:share",
2634
+ "description": "Create space invitation.",
2635
+ "strict": true,
2636
+ "pluginName": "@dxos/cli",
2637
+ "pluginAlias": "@dxos/cli",
2638
+ "pluginType": "core",
2639
+ "aliases": [],
2640
+ "flags": {
2641
+ "json": {
2642
+ "name": "json",
2643
+ "type": "boolean",
2644
+ "description": "Output as JSON.",
2645
+ "allowNo": false
2518
2646
  },
2519
- "columns": {
2520
- "name": "columns",
2521
- "type": "option",
2522
- "description": "only show provided columns (comma-separated)",
2523
- "multiple": false,
2524
- "exclusive": [
2525
- "extended"
2526
- ]
2647
+ "dry-run": {
2648
+ "name": "dry-run",
2649
+ "type": "boolean",
2650
+ "description": "Dry run.",
2651
+ "allowNo": false
2527
2652
  },
2528
- "sort": {
2529
- "name": "sort",
2530
- "type": "option",
2531
- "description": "property to sort by (prepend '-' for descending)",
2532
- "multiple": false
2653
+ "verbose": {
2654
+ "name": "verbose",
2655
+ "type": "boolean",
2656
+ "char": "v",
2657
+ "description": "Verbose output",
2658
+ "allowNo": false
2533
2659
  },
2534
- "filter": {
2535
- "name": "filter",
2660
+ "profile": {
2661
+ "name": "profile",
2536
2662
  "type": "option",
2537
- "description": "filter property by partial string matching, ex: name=foo",
2538
- "multiple": false
2539
- },
2540
- "csv": {
2541
- "name": "csv",
2542
- "type": "boolean",
2543
- "description": "output is csv format [alias: --output=csv]",
2544
- "allowNo": false,
2545
- "exclusive": [
2546
- "no-truncate"
2547
- ]
2663
+ "description": "User profile.",
2664
+ "multiple": false,
2665
+ "default": "default"
2548
2666
  },
2549
- "output": {
2550
- "name": "output",
2667
+ "config": {
2668
+ "name": "config",
2551
2669
  "type": "option",
2552
- "description": "output in a more machine friendly format",
2670
+ "description": "Config file.",
2671
+ "helpValue": "path",
2553
2672
  "multiple": false,
2554
- "options": [
2555
- "csv",
2556
- "json",
2557
- "yaml"
2673
+ "dependsOn": [
2674
+ "profile"
2558
2675
  ],
2559
- "exclusive": [
2560
- "no-truncate",
2561
- "csv"
2676
+ "default": "/home/runner/.config/dx/profile/default.yml",
2677
+ "aliases": [
2678
+ "c"
2562
2679
  ]
2563
2680
  },
2564
- "extended": {
2565
- "name": "extended",
2681
+ "no-agent": {
2682
+ "name": "no-agent",
2566
2683
  "type": "boolean",
2567
- "char": "x",
2568
- "description": "show extra columns",
2569
- "allowNo": false,
2570
- "exclusive": [
2571
- "columns"
2572
- ]
2684
+ "description": "Run command without agent.",
2685
+ "allowNo": false
2573
2686
  },
2574
- "no-truncate": {
2575
- "name": "no-truncate",
2687
+ "timeout": {
2688
+ "name": "timeout",
2689
+ "type": "option",
2690
+ "description": "Timeout in milliseconds.",
2691
+ "multiple": false,
2692
+ "default": 5000
2693
+ },
2694
+ "multiple": {
2695
+ "name": "multiple",
2576
2696
  "type": "boolean",
2577
- "description": "do not truncate output to fit screen",
2578
- "allowNo": false,
2579
- "exclusive": [
2580
- "csv"
2581
- ]
2697
+ "description": "Multiple use.",
2698
+ "allowNo": false
2582
2699
  },
2583
- "no-header": {
2584
- "name": "no-header",
2700
+ "no-auth": {
2701
+ "name": "no-auth",
2585
2702
  "type": "boolean",
2586
- "description": "hide table header from output",
2587
- "allowNo": false,
2588
- "exclusive": [
2589
- "csv"
2590
- ]
2703
+ "description": "Skip authentication challenge.",
2704
+ "allowNo": false
2591
2705
  }
2592
2706
  },
2593
2707
  "args": {
@@ -2650,7 +2764,7 @@
2650
2764
  "no-agent": {
2651
2765
  "name": "no-agent",
2652
2766
  "type": "boolean",
2653
- "description": "Auto-start agent.",
2767
+ "description": "Run command without agent.",
2654
2768
  "allowNo": false
2655
2769
  },
2656
2770
  "timeout": {
@@ -2718,7 +2832,7 @@
2718
2832
  "no-agent": {
2719
2833
  "name": "no-agent",
2720
2834
  "type": "boolean",
2721
- "description": "Auto-start agent.",
2835
+ "description": "Run command without agent.",
2722
2836
  "allowNo": false
2723
2837
  },
2724
2838
  "timeout": {
@@ -2805,7 +2919,7 @@
2805
2919
  "no-agent": {
2806
2920
  "name": "no-agent",
2807
2921
  "type": "boolean",
2808
- "description": "Auto-start agent.",
2922
+ "description": "Run command without agent.",
2809
2923
  "allowNo": false
2810
2924
  },
2811
2925
  "timeout": {
@@ -2879,7 +2993,7 @@
2879
2993
  "no-agent": {
2880
2994
  "name": "no-agent",
2881
2995
  "type": "boolean",
2882
- "description": "Auto-start agent.",
2996
+ "description": "Run command without agent.",
2883
2997
  "allowNo": false
2884
2998
  },
2885
2999
  "timeout": {
@@ -2892,6 +3006,79 @@
2892
3006
  "t"
2893
3007
  ]
2894
3008
  },
3009
+ "columns": {
3010
+ "name": "columns",
3011
+ "type": "option",
3012
+ "description": "only show provided columns (comma-separated)",
3013
+ "multiple": false,
3014
+ "exclusive": [
3015
+ "extended"
3016
+ ]
3017
+ },
3018
+ "sort": {
3019
+ "name": "sort",
3020
+ "type": "option",
3021
+ "description": "property to sort by (prepend '-' for descending)",
3022
+ "multiple": false
3023
+ },
3024
+ "filter": {
3025
+ "name": "filter",
3026
+ "type": "option",
3027
+ "description": "filter property by partial string matching, ex: name=foo",
3028
+ "multiple": false
3029
+ },
3030
+ "csv": {
3031
+ "name": "csv",
3032
+ "type": "boolean",
3033
+ "description": "output is csv format [alias: --output=csv]",
3034
+ "allowNo": false,
3035
+ "exclusive": [
3036
+ "no-truncate"
3037
+ ]
3038
+ },
3039
+ "output": {
3040
+ "name": "output",
3041
+ "type": "option",
3042
+ "description": "output in a more machine friendly format",
3043
+ "multiple": false,
3044
+ "options": [
3045
+ "csv",
3046
+ "json",
3047
+ "yaml"
3048
+ ],
3049
+ "exclusive": [
3050
+ "no-truncate",
3051
+ "csv"
3052
+ ]
3053
+ },
3054
+ "extended": {
3055
+ "name": "extended",
3056
+ "type": "boolean",
3057
+ "char": "x",
3058
+ "description": "show extra columns",
3059
+ "allowNo": false,
3060
+ "exclusive": [
3061
+ "columns"
3062
+ ]
3063
+ },
3064
+ "no-truncate": {
3065
+ "name": "no-truncate",
3066
+ "type": "boolean",
3067
+ "description": "do not truncate output to fit screen",
3068
+ "allowNo": false,
3069
+ "exclusive": [
3070
+ "csv"
3071
+ ]
3072
+ },
3073
+ "no-header": {
3074
+ "name": "no-header",
3075
+ "type": "boolean",
3076
+ "description": "hide table header from output",
3077
+ "allowNo": false,
3078
+ "exclusive": [
3079
+ "csv"
3080
+ ]
3081
+ },
2895
3082
  "type": {
2896
3083
  "name": "type",
2897
3084
  "type": "option",