@dxos/cli 0.5.3-main.43e79dd → 0.5.3-main.4490e2f

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 (252) hide show
  1. package/dist/src/{base-command.d.ts → base.d.ts} +35 -5
  2. package/dist/src/base.d.ts.map +1 -0
  3. package/dist/src/{base-command.js → base.js} +97 -19
  4. package/dist/src/base.js.map +1 -0
  5. package/dist/src/commands/agent/agent.test.js.map +1 -1
  6. package/dist/src/commands/agent/invitations.d.ts +1 -2
  7. package/dist/src/commands/agent/invitations.d.ts.map +1 -1
  8. package/dist/src/commands/agent/invitations.js +4 -6
  9. package/dist/src/commands/agent/invitations.js.map +1 -1
  10. package/dist/src/commands/agent/list.d.ts +1 -2
  11. package/dist/src/commands/agent/list.d.ts.map +1 -1
  12. package/dist/src/commands/agent/list.js +3 -3
  13. package/dist/src/commands/agent/list.js.map +1 -1
  14. package/dist/src/commands/agent/restart.d.ts +1 -2
  15. package/dist/src/commands/agent/restart.d.ts.map +1 -1
  16. package/dist/src/commands/agent/restart.js +3 -3
  17. package/dist/src/commands/agent/restart.js.map +1 -1
  18. package/dist/src/commands/agent/start.d.ts +1 -2
  19. package/dist/src/commands/agent/start.d.ts.map +1 -1
  20. package/dist/src/commands/agent/start.js +4 -4
  21. package/dist/src/commands/agent/start.js.map +1 -1
  22. package/dist/src/commands/agent/status.d.ts +1 -2
  23. package/dist/src/commands/agent/status.d.ts.map +1 -1
  24. package/dist/src/commands/agent/status.js +3 -11
  25. package/dist/src/commands/agent/status.js.map +1 -1
  26. package/dist/src/commands/agent/stop.d.ts +1 -2
  27. package/dist/src/commands/agent/stop.d.ts.map +1 -1
  28. package/dist/src/commands/agent/stop.js +3 -3
  29. package/dist/src/commands/agent/stop.js.map +1 -1
  30. package/dist/src/commands/app/create.d.ts +5 -2
  31. package/dist/src/commands/app/create.d.ts.map +1 -1
  32. package/dist/src/commands/app/create.js +10 -6
  33. package/dist/src/commands/app/create.js.map +1 -1
  34. package/dist/src/commands/app/list.d.ts +5 -1
  35. package/dist/src/commands/app/list.d.ts.map +1 -1
  36. package/dist/src/commands/app/list.js +6 -2
  37. package/dist/src/commands/app/list.js.map +1 -1
  38. package/dist/src/commands/app/open.d.ts +5 -2
  39. package/dist/src/commands/app/open.d.ts.map +1 -1
  40. package/dist/src/commands/app/open.js +7 -3
  41. package/dist/src/commands/app/open.js.map +1 -1
  42. package/dist/src/commands/app/publish.d.ts +5 -2
  43. package/dist/src/commands/app/publish.d.ts.map +1 -1
  44. package/dist/src/commands/app/publish.js +14 -5
  45. package/dist/src/commands/app/publish.js.map +1 -1
  46. package/dist/src/commands/composer/base.d.ts +18 -0
  47. package/dist/src/commands/composer/base.d.ts.map +1 -0
  48. package/dist/src/commands/composer/base.js +109 -0
  49. package/dist/src/commands/composer/base.js.map +1 -0
  50. package/dist/src/commands/composer/import.d.ts +30 -0
  51. package/dist/src/commands/composer/import.d.ts.map +1 -0
  52. package/dist/src/commands/composer/import.js +71 -0
  53. package/dist/src/commands/composer/import.js.map +1 -0
  54. package/dist/src/commands/composer/query.d.ts +22 -0
  55. package/dist/src/commands/composer/query.d.ts.map +1 -0
  56. package/dist/src/commands/composer/query.js +70 -0
  57. package/dist/src/commands/composer/query.js.map +1 -0
  58. package/dist/src/commands/composer/upload.d.ts +24 -0
  59. package/dist/src/commands/composer/upload.d.ts.map +1 -0
  60. package/dist/src/commands/composer/upload.js +42 -0
  61. package/dist/src/commands/composer/upload.js.map +1 -0
  62. package/dist/src/commands/config/index.d.ts +1 -1
  63. package/dist/src/commands/config/index.d.ts.map +1 -1
  64. package/dist/src/commands/config/index.js +2 -2
  65. package/dist/src/commands/config/index.js.map +1 -1
  66. package/dist/src/commands/debug/diagnostics.d.ts +1 -2
  67. package/dist/src/commands/debug/diagnostics.d.ts.map +1 -1
  68. package/dist/src/commands/debug/diagnostics.js +3 -3
  69. package/dist/src/commands/debug/diagnostics.js.map +1 -1
  70. package/dist/src/commands/debug/error.d.ts +1 -1
  71. package/dist/src/commands/debug/error.d.ts.map +1 -1
  72. package/dist/src/commands/debug/error.js +2 -2
  73. package/dist/src/commands/debug/error.js.map +1 -1
  74. package/dist/src/commands/debug/generate.d.ts +1 -2
  75. package/dist/src/commands/debug/generate.d.ts.map +1 -1
  76. package/dist/src/commands/debug/generate.js +4 -5
  77. package/dist/src/commands/debug/generate.js.map +1 -1
  78. package/dist/src/commands/debug/metrics.d.ts +1 -1
  79. package/dist/src/commands/debug/metrics.d.ts.map +1 -1
  80. package/dist/src/commands/debug/metrics.js +2 -2
  81. package/dist/src/commands/debug/metrics.js.map +1 -1
  82. package/dist/src/commands/debug/status.d.ts +1 -2
  83. package/dist/src/commands/debug/status.d.ts.map +1 -1
  84. package/dist/src/commands/debug/status.js +3 -3
  85. package/dist/src/commands/debug/status.js.map +1 -1
  86. package/dist/src/commands/device/info.d.ts +1 -1
  87. package/dist/src/commands/device/info.d.ts.map +1 -1
  88. package/dist/src/commands/device/info.js +2 -2
  89. package/dist/src/commands/device/info.js.map +1 -1
  90. package/dist/src/commands/device/list.d.ts +1 -2
  91. package/dist/src/commands/device/list.d.ts.map +1 -1
  92. package/dist/src/commands/device/list.js +3 -3
  93. package/dist/src/commands/device/list.js.map +1 -1
  94. package/dist/src/commands/device/update.d.ts +1 -2
  95. package/dist/src/commands/device/update.d.ts.map +1 -1
  96. package/dist/src/commands/device/update.js +3 -3
  97. package/dist/src/commands/device/update.js.map +1 -1
  98. package/dist/src/commands/function/dev.d.ts +3 -3
  99. package/dist/src/commands/function/dev.d.ts.map +1 -1
  100. package/dist/src/commands/function/dev.js +37 -18
  101. package/dist/src/commands/function/dev.js.map +1 -1
  102. package/dist/src/commands/function/list.d.ts +1 -1
  103. package/dist/src/commands/function/list.d.ts.map +1 -1
  104. package/dist/src/commands/function/list.js +15 -10
  105. package/dist/src/commands/function/list.js.map +1 -1
  106. package/dist/src/commands/function/logs.d.ts +1 -1
  107. package/dist/src/commands/function/logs.d.ts.map +1 -1
  108. package/dist/src/commands/function/logs.js +2 -2
  109. package/dist/src/commands/function/logs.js.map +1 -1
  110. package/dist/src/commands/halo/create.d.ts +1 -2
  111. package/dist/src/commands/halo/create.d.ts.map +1 -1
  112. package/dist/src/commands/halo/create.js +3 -3
  113. package/dist/src/commands/halo/create.js.map +1 -1
  114. package/dist/src/commands/halo/credential/add.d.ts +1 -1
  115. package/dist/src/commands/halo/credential/add.d.ts.map +1 -1
  116. package/dist/src/commands/halo/credential/add.js +2 -2
  117. package/dist/src/commands/halo/credential/add.js.map +1 -1
  118. package/dist/src/commands/halo/credential/list.d.ts +1 -2
  119. package/dist/src/commands/halo/credential/list.d.ts.map +1 -1
  120. package/dist/src/commands/halo/credential/list.js +3 -3
  121. package/dist/src/commands/halo/credential/list.js.map +1 -1
  122. package/dist/src/commands/halo/identity.d.ts +1 -1
  123. package/dist/src/commands/halo/identity.d.ts.map +1 -1
  124. package/dist/src/commands/halo/identity.js +2 -2
  125. package/dist/src/commands/halo/identity.js.map +1 -1
  126. package/dist/src/commands/halo/join.d.ts +1 -2
  127. package/dist/src/commands/halo/join.d.ts.map +1 -1
  128. package/dist/src/commands/halo/join.js +3 -3
  129. package/dist/src/commands/halo/join.js.map +1 -1
  130. package/dist/src/commands/halo/keys.d.ts +7 -0
  131. package/dist/src/commands/halo/keys.d.ts.map +1 -0
  132. package/dist/src/commands/halo/keys.js +17 -0
  133. package/dist/src/commands/halo/keys.js.map +1 -0
  134. package/dist/src/commands/halo/share.d.ts +2 -3
  135. package/dist/src/commands/halo/share.d.ts.map +1 -1
  136. package/dist/src/commands/halo/share.js +8 -10
  137. package/dist/src/commands/halo/share.js.map +1 -1
  138. package/dist/src/commands/halo/update.d.ts +1 -2
  139. package/dist/src/commands/halo/update.d.ts.map +1 -1
  140. package/dist/src/commands/halo/update.js +3 -3
  141. package/dist/src/commands/halo/update.js.map +1 -1
  142. package/dist/src/commands/reset/index.d.ts +1 -2
  143. package/dist/src/commands/reset/index.d.ts.map +1 -1
  144. package/dist/src/commands/reset/index.js +3 -3
  145. package/dist/src/commands/reset/index.js.map +1 -1
  146. package/dist/src/commands/shell/index.d.ts +1 -1
  147. package/dist/src/commands/shell/index.d.ts.map +1 -1
  148. package/dist/src/commands/shell/index.js +2 -2
  149. package/dist/src/commands/shell/index.js.map +1 -1
  150. package/dist/src/commands/space/close.d.ts +1 -1
  151. package/dist/src/commands/space/close.d.ts.map +1 -1
  152. package/dist/src/commands/space/close.js +3 -4
  153. package/dist/src/commands/space/close.js.map +1 -1
  154. package/dist/src/commands/space/create.d.ts +1 -1
  155. package/dist/src/commands/space/create.d.ts.map +1 -1
  156. package/dist/src/commands/space/create.js +3 -3
  157. package/dist/src/commands/space/create.js.map +1 -1
  158. package/dist/src/commands/space/epoch.d.ts +1 -1
  159. package/dist/src/commands/space/epoch.d.ts.map +1 -1
  160. package/dist/src/commands/space/epoch.js +3 -4
  161. package/dist/src/commands/space/epoch.js.map +1 -1
  162. package/dist/src/commands/space/info.d.ts +1 -1
  163. package/dist/src/commands/space/info.d.ts.map +1 -1
  164. package/dist/src/commands/space/info.js +3 -4
  165. package/dist/src/commands/space/info.js.map +1 -1
  166. package/dist/src/commands/space/join.d.ts +1 -2
  167. package/dist/src/commands/space/join.d.ts.map +1 -1
  168. package/dist/src/commands/space/join.js +3 -3
  169. package/dist/src/commands/space/join.js.map +1 -1
  170. package/dist/src/commands/space/list.d.ts +1 -2
  171. package/dist/src/commands/space/list.d.ts.map +1 -1
  172. package/dist/src/commands/space/list.js +4 -4
  173. package/dist/src/commands/space/list.js.map +1 -1
  174. package/dist/src/commands/space/members.d.ts +1 -2
  175. package/dist/src/commands/space/members.d.ts.map +1 -1
  176. package/dist/src/commands/space/members.js +4 -4
  177. package/dist/src/commands/space/members.js.map +1 -1
  178. package/dist/src/commands/space/open.d.ts +1 -1
  179. package/dist/src/commands/space/open.d.ts.map +1 -1
  180. package/dist/src/commands/space/open.js +3 -4
  181. package/dist/src/commands/space/open.js.map +1 -1
  182. package/dist/src/commands/space/query.d.ts +17 -1
  183. package/dist/src/commands/space/query.d.ts.map +1 -1
  184. package/dist/src/commands/space/query.js +30 -24
  185. package/dist/src/commands/space/query.js.map +1 -1
  186. package/dist/src/commands/space/share.d.ts +3 -5
  187. package/dist/src/commands/space/share.d.ts.map +1 -1
  188. package/dist/src/commands/space/share.js +9 -18
  189. package/dist/src/commands/space/share.js.map +1 -1
  190. package/dist/src/commands/tunnel/index.d.ts +4 -7
  191. package/dist/src/commands/tunnel/index.d.ts.map +1 -1
  192. package/dist/src/commands/tunnel/index.js +16 -8
  193. package/dist/src/commands/tunnel/index.js.map +1 -1
  194. package/dist/src/commands/tunnel/list.d.ts +4 -3
  195. package/dist/src/commands/tunnel/list.d.ts.map +1 -1
  196. package/dist/src/commands/tunnel/list.js +12 -4
  197. package/dist/src/commands/tunnel/list.js.map +1 -1
  198. package/dist/src/components/App.js.map +1 -1
  199. package/dist/src/components/SpaceTable.js.map +1 -1
  200. package/dist/src/components/SystemTable.js.map +1 -1
  201. package/dist/src/errors.d.ts +1 -1
  202. package/dist/src/errors.d.ts.map +1 -1
  203. package/dist/src/errors.js +4 -4
  204. package/dist/src/errors.js.map +1 -1
  205. package/dist/src/help.js.map +1 -1
  206. package/dist/src/hooks/command-not-found.js +1 -1
  207. package/dist/src/hooks/command-not-found.js.map +1 -1
  208. package/dist/src/util/agents.js.map +1 -1
  209. package/dist/src/util/credentials.js +4 -4
  210. package/dist/src/util/credentials.js.map +1 -1
  211. package/dist/src/util/devices.js +2 -2
  212. package/dist/src/util/devices.js.map +1 -1
  213. package/dist/src/util/index.d.ts +1 -1
  214. package/dist/src/util/index.d.ts.map +1 -1
  215. package/dist/src/util/index.js +1 -1
  216. package/dist/src/util/index.js.map +1 -1
  217. package/dist/src/util/invitations.d.ts +9 -9
  218. package/dist/src/util/invitations.d.ts.map +1 -1
  219. package/dist/src/util/invitations.js.map +1 -1
  220. package/dist/src/util/{types.d.ts → keys.d.ts} +2 -1
  221. package/dist/src/util/keys.d.ts.map +1 -0
  222. package/dist/src/util/{types.js → keys.js} +4 -2
  223. package/dist/src/util/keys.js.map +1 -0
  224. package/dist/src/util/provider/digital-ocean.js.map +1 -1
  225. package/dist/src/util/publish/build.js.map +1 -1
  226. package/dist/src/util/publish/ipfs-upload.d.ts +3 -4
  227. package/dist/src/util/publish/ipfs-upload.d.ts.map +1 -1
  228. package/dist/src/util/publish/ipfs-upload.js +7 -12
  229. package/dist/src/util/publish/ipfs-upload.js.map +1 -1
  230. package/dist/src/util/publish/publish.d.ts +5 -8
  231. package/dist/src/util/publish/publish.d.ts.map +1 -1
  232. package/dist/src/util/publish/publish.js +41 -34
  233. package/dist/src/util/publish/publish.js.map +1 -1
  234. package/dist/src/util/publish/publisher-rpc-peer.js.map +1 -1
  235. package/dist/src/util/spaces.d.ts +1 -1
  236. package/dist/src/util/spaces.d.ts.map +1 -1
  237. package/dist/src/util/spaces.js +6 -6
  238. package/dist/src/util/spaces.js.map +1 -1
  239. package/dist/src/util/supervisor/supervisor-rpc-peer.js.map +1 -1
  240. package/dist/src/util/testing.js.map +1 -1
  241. package/dist/src/util/tree.js.map +1 -1
  242. package/dist/src/util/tunnel/tunnel-rpc-peer.js.map +1 -1
  243. package/oclif.manifest.json +965 -678
  244. package/package.json +41 -38
  245. package/dist/src/base-command.d.ts.map +0 -1
  246. package/dist/src/base-command.js.map +0 -1
  247. package/dist/src/commands/function/exec.d.ts +0 -13
  248. package/dist/src/commands/function/exec.d.ts.map +0 -1
  249. package/dist/src/commands/function/exec.js +0 -48
  250. package/dist/src/commands/function/exec.js.map +0 -1
  251. package/dist/src/util/types.d.ts.map +0 -1
  252. package/dist/src/util/types.js.map +0 -1
@@ -57,17 +57,12 @@
57
57
  "type": "option"
58
58
  },
59
59
  "no-agent": {
60
- "description": "Run command without using an agent.",
60
+ "description": "Run command without starting an agent.",
61
+ "env": "DX_NO_AGENT",
61
62
  "name": "no-agent",
62
63
  "allowNo": false,
63
64
  "type": "boolean"
64
65
  },
65
- "no-start-agent": {
66
- "description": "Do not automatically start an agent if one is not running.",
67
- "name": "no-start-agent",
68
- "allowNo": false,
69
- "type": "boolean"
70
- },
71
66
  "timeout": {
72
67
  "aliases": [
73
68
  "t"
@@ -180,17 +175,12 @@
180
175
  "type": "option"
181
176
  },
182
177
  "no-agent": {
183
- "description": "Run command without using an agent.",
178
+ "description": "Run command without starting an agent.",
179
+ "env": "DX_NO_AGENT",
184
180
  "name": "no-agent",
185
181
  "allowNo": false,
186
182
  "type": "boolean"
187
183
  },
188
- "no-start-agent": {
189
- "description": "Do not automatically start an agent if one is not running.",
190
- "name": "no-start-agent",
191
- "allowNo": false,
192
- "type": "boolean"
193
- },
194
184
  "timeout": {
195
185
  "aliases": [
196
186
  "t"
@@ -386,17 +376,12 @@
386
376
  "type": "option"
387
377
  },
388
378
  "no-agent": {
389
- "description": "Run command without using an agent.",
379
+ "description": "Run command without starting an agent.",
380
+ "env": "DX_NO_AGENT",
390
381
  "name": "no-agent",
391
382
  "allowNo": false,
392
383
  "type": "boolean"
393
384
  },
394
- "no-start-agent": {
395
- "description": "Do not automatically start an agent if one is not running.",
396
- "name": "no-start-agent",
397
- "allowNo": false,
398
- "type": "boolean"
399
- },
400
385
  "timeout": {
401
386
  "aliases": [
402
387
  "t"
@@ -521,17 +506,12 @@
521
506
  "type": "option"
522
507
  },
523
508
  "no-agent": {
524
- "description": "Run command without using an agent.",
509
+ "description": "Run command without starting an agent.",
510
+ "env": "DX_NO_AGENT",
525
511
  "name": "no-agent",
526
512
  "allowNo": false,
527
513
  "type": "boolean"
528
514
  },
529
- "no-start-agent": {
530
- "description": "Do not automatically start an agent if one is not running.",
531
- "name": "no-start-agent",
532
- "allowNo": false,
533
- "type": "boolean"
534
- },
535
515
  "timeout": {
536
516
  "aliases": [
537
517
  "t"
@@ -676,17 +656,12 @@
676
656
  "type": "option"
677
657
  },
678
658
  "no-agent": {
679
- "description": "Run command without using an agent.",
659
+ "description": "Run command without starting an agent.",
660
+ "env": "DX_NO_AGENT",
680
661
  "name": "no-agent",
681
662
  "allowNo": false,
682
663
  "type": "boolean"
683
664
  },
684
- "no-start-agent": {
685
- "description": "Do not automatically start an agent if one is not running.",
686
- "name": "no-start-agent",
687
- "allowNo": false,
688
- "type": "boolean"
689
- },
690
665
  "timeout": {
691
666
  "aliases": [
692
667
  "t"
@@ -793,17 +768,12 @@
793
768
  "type": "option"
794
769
  },
795
770
  "no-agent": {
796
- "description": "Run command without using an agent.",
771
+ "description": "Run command without starting an agent.",
772
+ "env": "DX_NO_AGENT",
797
773
  "name": "no-agent",
798
774
  "allowNo": false,
799
775
  "type": "boolean"
800
776
  },
801
- "no-start-agent": {
802
- "description": "Do not automatically start an agent if one is not running.",
803
- "name": "no-start-agent",
804
- "allowNo": false,
805
- "type": "boolean"
806
- },
807
777
  "timeout": {
808
778
  "aliases": [
809
779
  "t"
@@ -871,123 +841,6 @@
871
841
  "stop.js"
872
842
  ]
873
843
  },
874
- "config": {
875
- "aliases": [],
876
- "args": {},
877
- "description": "Show config file.",
878
- "flags": {
879
- "json": {
880
- "description": "Output as JSON.",
881
- "name": "json",
882
- "allowNo": false,
883
- "type": "boolean"
884
- },
885
- "dry-run": {
886
- "description": "Dry run.",
887
- "name": "dry-run",
888
- "allowNo": false,
889
- "type": "boolean"
890
- },
891
- "verbose": {
892
- "char": "v",
893
- "description": "Verbose output",
894
- "name": "verbose",
895
- "allowNo": false,
896
- "type": "boolean"
897
- },
898
- "profile": {
899
- "description": "User profile.",
900
- "env": "DX_PROFILE",
901
- "name": "profile",
902
- "default": "default",
903
- "hasDynamicHelp": false,
904
- "multiple": false,
905
- "type": "option"
906
- },
907
- "config": {
908
- "aliases": [
909
- "c"
910
- ],
911
- "dependsOn": [
912
- "profile"
913
- ],
914
- "description": "Config file.",
915
- "env": "DX_CONFIG",
916
- "name": "config",
917
- "default": "/home/runner/.config/dx/profile/default.yml",
918
- "hasDynamicHelp": false,
919
- "helpValue": "path",
920
- "multiple": false,
921
- "type": "option"
922
- },
923
- "target": {
924
- "description": "Target websocket server.",
925
- "name": "target",
926
- "hasDynamicHelp": false,
927
- "multiple": false,
928
- "type": "option"
929
- },
930
- "no-agent": {
931
- "description": "Run command without using an agent.",
932
- "name": "no-agent",
933
- "allowNo": false,
934
- "type": "boolean"
935
- },
936
- "no-start-agent": {
937
- "description": "Do not automatically start an agent if one is not running.",
938
- "name": "no-start-agent",
939
- "allowNo": false,
940
- "type": "boolean"
941
- },
942
- "timeout": {
943
- "aliases": [
944
- "t"
945
- ],
946
- "description": "Timeout (ms).",
947
- "name": "timeout",
948
- "default": 60000,
949
- "hasDynamicHelp": false,
950
- "multiple": false,
951
- "type": "option"
952
- },
953
- "no-wait": {
954
- "description": "Do not wait for space to be ready.",
955
- "name": "no-wait",
956
- "allowNo": false,
957
- "type": "boolean"
958
- },
959
- "json-log": {
960
- "description": "When running in foreground, log JSON format",
961
- "name": "json-log",
962
- "allowNo": false,
963
- "type": "boolean"
964
- },
965
- "json-logfile": {
966
- "description": "JSON log file destination, or 'stdout' or 'stderr'",
967
- "name": "json-logfile",
968
- "default": "stderr",
969
- "hasDynamicHelp": false,
970
- "multiple": false,
971
- "type": "option"
972
- }
973
- },
974
- "hasDynamicHelp": false,
975
- "hiddenAliases": [],
976
- "id": "config",
977
- "pluginAlias": "@dxos/cli",
978
- "pluginName": "@dxos/cli",
979
- "pluginType": "core",
980
- "strict": true,
981
- "enableJsonFlag": true,
982
- "isESM": false,
983
- "relativePath": [
984
- "dist",
985
- "src",
986
- "commands",
987
- "config",
988
- "index.js"
989
- ]
990
- },
991
844
  "app:create": {
992
845
  "aliases": [],
993
846
  "args": {
@@ -997,7 +850,7 @@
997
850
  "required": true
998
851
  }
999
852
  },
1000
- "description": "Manage applications.",
853
+ "description": "Manage applications (deprecated).",
1001
854
  "flags": {
1002
855
  "json": {
1003
856
  "description": "Output as JSON.",
@@ -1051,17 +904,12 @@
1051
904
  "type": "option"
1052
905
  },
1053
906
  "no-agent": {
1054
- "description": "Run command without using an agent.",
907
+ "description": "Run command without starting an agent.",
908
+ "env": "DX_NO_AGENT",
1055
909
  "name": "no-agent",
1056
910
  "allowNo": false,
1057
911
  "type": "boolean"
1058
912
  },
1059
- "no-start-agent": {
1060
- "description": "Do not automatically start an agent if one is not running.",
1061
- "name": "no-start-agent",
1062
- "allowNo": false,
1063
- "type": "boolean"
1064
- },
1065
913
  "timeout": {
1066
914
  "aliases": [
1067
915
  "t"
@@ -1128,6 +976,7 @@
1128
976
  "pluginAlias": "@dxos/cli",
1129
977
  "pluginName": "@dxos/cli",
1130
978
  "pluginType": "core",
979
+ "state": "deprecated",
1131
980
  "strict": true,
1132
981
  "enableJsonFlag": true,
1133
982
  "isESM": false,
@@ -1196,17 +1045,12 @@
1196
1045
  "type": "option"
1197
1046
  },
1198
1047
  "no-agent": {
1199
- "description": "Run command without using an agent.",
1048
+ "description": "Run command without starting an agent.",
1049
+ "env": "DX_NO_AGENT",
1200
1050
  "name": "no-agent",
1201
1051
  "allowNo": false,
1202
1052
  "type": "boolean"
1203
1053
  },
1204
- "no-start-agent": {
1205
- "description": "Do not automatically start an agent if one is not running.",
1206
- "name": "no-start-agent",
1207
- "allowNo": false,
1208
- "type": "boolean"
1209
- },
1210
1054
  "timeout": {
1211
1055
  "aliases": [
1212
1056
  "t"
@@ -1245,6 +1089,7 @@
1245
1089
  "pluginAlias": "@dxos/cli",
1246
1090
  "pluginName": "@dxos/cli",
1247
1091
  "pluginType": "core",
1092
+ "state": "deprecated",
1248
1093
  "strict": true,
1249
1094
  "enableJsonFlag": true,
1250
1095
  "isESM": false,
@@ -1319,17 +1164,12 @@
1319
1164
  "type": "option"
1320
1165
  },
1321
1166
  "no-agent": {
1322
- "description": "Run command without using an agent.",
1167
+ "description": "Run command without starting an agent.",
1168
+ "env": "DX_NO_AGENT",
1323
1169
  "name": "no-agent",
1324
1170
  "allowNo": false,
1325
1171
  "type": "boolean"
1326
1172
  },
1327
- "no-start-agent": {
1328
- "description": "Do not automatically start an agent if one is not running.",
1329
- "name": "no-start-agent",
1330
- "allowNo": false,
1331
- "type": "boolean"
1332
- },
1333
1173
  "timeout": {
1334
1174
  "aliases": [
1335
1175
  "t"
@@ -1382,6 +1222,7 @@
1382
1222
  "pluginAlias": "@dxos/cli",
1383
1223
  "pluginName": "@dxos/cli",
1384
1224
  "pluginType": "core",
1225
+ "state": "deprecated",
1385
1226
  "strict": true,
1386
1227
  "enableJsonFlag": true,
1387
1228
  "isESM": false,
@@ -1450,17 +1291,12 @@
1450
1291
  "type": "option"
1451
1292
  },
1452
1293
  "no-agent": {
1453
- "description": "Run command without using an agent.",
1294
+ "description": "Run command without starting an agent.",
1295
+ "env": "DX_NO_AGENT",
1454
1296
  "name": "no-agent",
1455
1297
  "allowNo": false,
1456
1298
  "type": "boolean"
1457
1299
  },
1458
- "no-start-agent": {
1459
- "description": "Do not automatically start an agent if one is not running.",
1460
- "name": "no-start-agent",
1461
- "allowNo": false,
1462
- "type": "boolean"
1463
- },
1464
1300
  "timeout": {
1465
1301
  "aliases": [
1466
1302
  "t"
@@ -1526,6 +1362,7 @@
1526
1362
  "pluginAlias": "@dxos/cli",
1527
1363
  "pluginName": "@dxos/cli",
1528
1364
  "pluginType": "core",
1365
+ "state": "deprecated",
1529
1366
  "strict": true,
1530
1367
  "enableJsonFlag": true,
1531
1368
  "isESM": false,
@@ -1537,20 +1374,9 @@
1537
1374
  "publish.js"
1538
1375
  ]
1539
1376
  },
1540
- "debug:diagnostics": {
1377
+ "composer:base": {
1541
1378
  "aliases": [],
1542
1379
  "args": {},
1543
- "description": "Create diagnostics report.",
1544
- "examples": [
1545
- {
1546
- "description": "Inspect diagnostics.",
1547
- "command": "dx debug diagnostics --json --truncate | jq -r '.metrics'"
1548
- },
1549
- {
1550
- "description": "Upload diagnostics to GitHub.",
1551
- "command": "dx debug diagnostics --json --truncate | gh gist create --filename diagnostics.json"
1552
- }
1553
- ],
1554
1380
  "flags": {
1555
1381
  "json": {
1556
1382
  "description": "Output as JSON.",
@@ -1604,17 +1430,12 @@
1604
1430
  "type": "option"
1605
1431
  },
1606
1432
  "no-agent": {
1607
- "description": "Run command without using an agent.",
1433
+ "description": "Run command without starting an agent.",
1434
+ "env": "DX_NO_AGENT",
1608
1435
  "name": "no-agent",
1609
1436
  "allowNo": false,
1610
1437
  "type": "boolean"
1611
1438
  },
1612
- "no-start-agent": {
1613
- "description": "Do not automatically start an agent if one is not running.",
1614
- "name": "no-start-agent",
1615
- "allowNo": false,
1616
- "type": "boolean"
1617
- },
1618
1439
  "timeout": {
1619
1440
  "aliases": [
1620
1441
  "t"
@@ -1645,23 +1466,11 @@
1645
1466
  "hasDynamicHelp": false,
1646
1467
  "multiple": false,
1647
1468
  "type": "option"
1648
- },
1649
- "humanize": {
1650
- "description": "Humanize keys.",
1651
- "name": "humanize",
1652
- "allowNo": false,
1653
- "type": "boolean"
1654
- },
1655
- "truncate": {
1656
- "description": "Truncate keys.",
1657
- "name": "truncate",
1658
- "allowNo": false,
1659
- "type": "boolean"
1660
1469
  }
1661
1470
  },
1662
1471
  "hasDynamicHelp": false,
1663
1472
  "hiddenAliases": [],
1664
- "id": "debug:diagnostics",
1473
+ "id": "composer:base",
1665
1474
  "pluginAlias": "@dxos/cli",
1666
1475
  "pluginName": "@dxos/cli",
1667
1476
  "pluginType": "core",
@@ -1672,14 +1481,19 @@
1672
1481
  "dist",
1673
1482
  "src",
1674
1483
  "commands",
1675
- "debug",
1676
- "diagnostics.js"
1484
+ "composer",
1485
+ "base.js"
1677
1486
  ]
1678
1487
  },
1679
- "debug:error": {
1488
+ "composer:import": {
1680
1489
  "aliases": [],
1681
- "args": {},
1682
- "description": "Throw error for debugging.",
1490
+ "args": {
1491
+ "file": {
1492
+ "name": "file",
1493
+ "required": true
1494
+ }
1495
+ },
1496
+ "description": "Import ECHO objects.",
1683
1497
  "flags": {
1684
1498
  "json": {
1685
1499
  "description": "Output as JSON.",
@@ -1733,17 +1547,12 @@
1733
1547
  "type": "option"
1734
1548
  },
1735
1549
  "no-agent": {
1736
- "description": "Run command without using an agent.",
1550
+ "description": "Run command without starting an agent.",
1551
+ "env": "DX_NO_AGENT",
1737
1552
  "name": "no-agent",
1738
1553
  "allowNo": false,
1739
1554
  "type": "boolean"
1740
1555
  },
1741
- "no-start-agent": {
1742
- "description": "Do not automatically start an agent if one is not running.",
1743
- "name": "no-start-agent",
1744
- "allowNo": false,
1745
- "type": "boolean"
1746
- },
1747
1556
  "timeout": {
1748
1557
  "aliases": [
1749
1558
  "t"
@@ -1774,11 +1583,18 @@
1774
1583
  "hasDynamicHelp": false,
1775
1584
  "multiple": false,
1776
1585
  "type": "option"
1586
+ },
1587
+ "key": {
1588
+ "description": "Space key(s) head in hex.",
1589
+ "name": "key",
1590
+ "hasDynamicHelp": false,
1591
+ "multiple": true,
1592
+ "type": "option"
1777
1593
  }
1778
1594
  },
1779
1595
  "hasDynamicHelp": false,
1780
1596
  "hiddenAliases": [],
1781
- "id": "debug:error",
1597
+ "id": "composer:import",
1782
1598
  "pluginAlias": "@dxos/cli",
1783
1599
  "pluginName": "@dxos/cli",
1784
1600
  "pluginType": "core",
@@ -1789,19 +1605,14 @@
1789
1605
  "dist",
1790
1606
  "src",
1791
1607
  "commands",
1792
- "debug",
1793
- "error.js"
1608
+ "composer",
1609
+ "import.js"
1794
1610
  ]
1795
1611
  },
1796
- "debug:generate": {
1612
+ "composer:query": {
1797
1613
  "aliases": [],
1798
- "args": {
1799
- "key": {
1800
- "description": "Space key head in hex.",
1801
- "name": "key"
1802
- }
1803
- },
1804
- "description": "Generate test data.",
1614
+ "args": {},
1615
+ "description": "Query database.",
1805
1616
  "flags": {
1806
1617
  "json": {
1807
1618
  "description": "Output as JSON.",
@@ -1855,17 +1666,12 @@
1855
1666
  "type": "option"
1856
1667
  },
1857
1668
  "no-agent": {
1858
- "description": "Run command without using an agent.",
1669
+ "description": "Run command without starting an agent.",
1670
+ "env": "DX_NO_AGENT",
1859
1671
  "name": "no-agent",
1860
1672
  "allowNo": false,
1861
1673
  "type": "boolean"
1862
1674
  },
1863
- "no-start-agent": {
1864
- "description": "Do not automatically start an agent if one is not running.",
1865
- "name": "no-start-agent",
1866
- "allowNo": false,
1867
- "type": "boolean"
1868
- },
1869
1675
  "timeout": {
1870
1676
  "aliases": [
1871
1677
  "t"
@@ -1897,41 +1703,16 @@
1897
1703
  "multiple": false,
1898
1704
  "type": "option"
1899
1705
  },
1900
- "interval": {
1901
- "description": "Interval between mutations (ms).",
1902
- "name": "interval",
1903
- "default": 0,
1904
- "hasDynamicHelp": false,
1905
- "multiple": false,
1906
- "type": "option"
1907
- },
1908
- "jitter": {
1909
- "description": "Interval variance (ms).",
1910
- "name": "jitter",
1911
- "default": 0,
1912
- "hasDynamicHelp": false,
1913
- "multiple": false,
1914
- "type": "option"
1915
- },
1916
- "objects": {
1917
- "description": "Number of objects.",
1918
- "name": "objects",
1919
- "default": 0,
1920
- "hasDynamicHelp": false,
1921
- "multiple": false,
1922
- "type": "option"
1923
- },
1924
- "mutations": {
1925
- "description": "Number of mutations.",
1926
- "name": "mutations",
1927
- "default": 0,
1706
+ "key": {
1707
+ "description": "Space key(s) head in hex.",
1708
+ "name": "key",
1928
1709
  "hasDynamicHelp": false,
1929
- "multiple": false,
1710
+ "multiple": true,
1930
1711
  "type": "option"
1931
1712
  },
1932
- "epoch": {
1933
- "description": "Number of mutations per epoch.",
1934
- "name": "epoch",
1713
+ "type": {
1714
+ "description": "Data type.",
1715
+ "name": "type",
1935
1716
  "hasDynamicHelp": false,
1936
1717
  "multiple": false,
1937
1718
  "type": "option"
@@ -1939,7 +1720,7 @@
1939
1720
  },
1940
1721
  "hasDynamicHelp": false,
1941
1722
  "hiddenAliases": [],
1942
- "id": "debug:generate",
1723
+ "id": "composer:query",
1943
1724
  "pluginAlias": "@dxos/cli",
1944
1725
  "pluginName": "@dxos/cli",
1945
1726
  "pluginType": "core",
@@ -1950,19 +1731,14 @@
1950
1731
  "dist",
1951
1732
  "src",
1952
1733
  "commands",
1953
- "debug",
1954
- "generate.js"
1734
+ "composer",
1735
+ "query.js"
1955
1736
  ]
1956
1737
  },
1957
- "debug:metrics": {
1738
+ "composer:upload": {
1958
1739
  "aliases": [],
1959
- "args": {
1960
- "command": {
1961
- "description": "Control metrics recording.",
1962
- "name": "command"
1963
- }
1964
- },
1965
- "description": "Control metrics.",
1740
+ "args": {},
1741
+ "description": "Upload IPFS file.",
1966
1742
  "flags": {
1967
1743
  "json": {
1968
1744
  "description": "Output as JSON.",
@@ -2016,14 +1792,654 @@
2016
1792
  "type": "option"
2017
1793
  },
2018
1794
  "no-agent": {
2019
- "description": "Run command without using an agent.",
1795
+ "description": "Run command without starting an agent.",
1796
+ "env": "DX_NO_AGENT",
2020
1797
  "name": "no-agent",
2021
1798
  "allowNo": false,
2022
1799
  "type": "boolean"
2023
1800
  },
2024
- "no-start-agent": {
2025
- "description": "Do not automatically start an agent if one is not running.",
2026
- "name": "no-start-agent",
1801
+ "timeout": {
1802
+ "aliases": [
1803
+ "t"
1804
+ ],
1805
+ "description": "Timeout (ms).",
1806
+ "name": "timeout",
1807
+ "default": 60000,
1808
+ "hasDynamicHelp": false,
1809
+ "multiple": false,
1810
+ "type": "option"
1811
+ },
1812
+ "no-wait": {
1813
+ "description": "Do not wait for space to be ready.",
1814
+ "name": "no-wait",
1815
+ "allowNo": false,
1816
+ "type": "boolean"
1817
+ },
1818
+ "json-log": {
1819
+ "description": "When running in foreground, log JSON format",
1820
+ "name": "json-log",
1821
+ "allowNo": false,
1822
+ "type": "boolean"
1823
+ },
1824
+ "json-logfile": {
1825
+ "description": "JSON log file destination, or 'stdout' or 'stderr'",
1826
+ "name": "json-logfile",
1827
+ "default": "stderr",
1828
+ "hasDynamicHelp": false,
1829
+ "multiple": false,
1830
+ "type": "option"
1831
+ },
1832
+ "key": {
1833
+ "description": "Space key(s) head in hex.",
1834
+ "name": "key",
1835
+ "hasDynamicHelp": false,
1836
+ "multiple": true,
1837
+ "type": "option"
1838
+ },
1839
+ "file": {
1840
+ "name": "file",
1841
+ "required": true,
1842
+ "hasDynamicHelp": false,
1843
+ "multiple": false,
1844
+ "type": "option"
1845
+ }
1846
+ },
1847
+ "hasDynamicHelp": false,
1848
+ "hiddenAliases": [],
1849
+ "id": "composer:upload",
1850
+ "pluginAlias": "@dxos/cli",
1851
+ "pluginName": "@dxos/cli",
1852
+ "pluginType": "core",
1853
+ "strict": true,
1854
+ "enableJsonFlag": true,
1855
+ "isESM": false,
1856
+ "relativePath": [
1857
+ "dist",
1858
+ "src",
1859
+ "commands",
1860
+ "composer",
1861
+ "upload.js"
1862
+ ]
1863
+ },
1864
+ "config": {
1865
+ "aliases": [],
1866
+ "args": {},
1867
+ "description": "Show config file.",
1868
+ "flags": {
1869
+ "json": {
1870
+ "description": "Output as JSON.",
1871
+ "name": "json",
1872
+ "allowNo": false,
1873
+ "type": "boolean"
1874
+ },
1875
+ "dry-run": {
1876
+ "description": "Dry run.",
1877
+ "name": "dry-run",
1878
+ "allowNo": false,
1879
+ "type": "boolean"
1880
+ },
1881
+ "verbose": {
1882
+ "char": "v",
1883
+ "description": "Verbose output",
1884
+ "name": "verbose",
1885
+ "allowNo": false,
1886
+ "type": "boolean"
1887
+ },
1888
+ "profile": {
1889
+ "description": "User profile.",
1890
+ "env": "DX_PROFILE",
1891
+ "name": "profile",
1892
+ "default": "default",
1893
+ "hasDynamicHelp": false,
1894
+ "multiple": false,
1895
+ "type": "option"
1896
+ },
1897
+ "config": {
1898
+ "aliases": [
1899
+ "c"
1900
+ ],
1901
+ "dependsOn": [
1902
+ "profile"
1903
+ ],
1904
+ "description": "Config file.",
1905
+ "env": "DX_CONFIG",
1906
+ "name": "config",
1907
+ "default": "/home/runner/.config/dx/profile/default.yml",
1908
+ "hasDynamicHelp": false,
1909
+ "helpValue": "path",
1910
+ "multiple": false,
1911
+ "type": "option"
1912
+ },
1913
+ "target": {
1914
+ "description": "Target websocket server.",
1915
+ "name": "target",
1916
+ "hasDynamicHelp": false,
1917
+ "multiple": false,
1918
+ "type": "option"
1919
+ },
1920
+ "no-agent": {
1921
+ "description": "Run command without starting an agent.",
1922
+ "env": "DX_NO_AGENT",
1923
+ "name": "no-agent",
1924
+ "allowNo": false,
1925
+ "type": "boolean"
1926
+ },
1927
+ "timeout": {
1928
+ "aliases": [
1929
+ "t"
1930
+ ],
1931
+ "description": "Timeout (ms).",
1932
+ "name": "timeout",
1933
+ "default": 60000,
1934
+ "hasDynamicHelp": false,
1935
+ "multiple": false,
1936
+ "type": "option"
1937
+ },
1938
+ "no-wait": {
1939
+ "description": "Do not wait for space to be ready.",
1940
+ "name": "no-wait",
1941
+ "allowNo": false,
1942
+ "type": "boolean"
1943
+ },
1944
+ "json-log": {
1945
+ "description": "When running in foreground, log JSON format",
1946
+ "name": "json-log",
1947
+ "allowNo": false,
1948
+ "type": "boolean"
1949
+ },
1950
+ "json-logfile": {
1951
+ "description": "JSON log file destination, or 'stdout' or 'stderr'",
1952
+ "name": "json-logfile",
1953
+ "default": "stderr",
1954
+ "hasDynamicHelp": false,
1955
+ "multiple": false,
1956
+ "type": "option"
1957
+ }
1958
+ },
1959
+ "hasDynamicHelp": false,
1960
+ "hiddenAliases": [],
1961
+ "id": "config",
1962
+ "pluginAlias": "@dxos/cli",
1963
+ "pluginName": "@dxos/cli",
1964
+ "pluginType": "core",
1965
+ "strict": true,
1966
+ "enableJsonFlag": true,
1967
+ "isESM": false,
1968
+ "relativePath": [
1969
+ "dist",
1970
+ "src",
1971
+ "commands",
1972
+ "config",
1973
+ "index.js"
1974
+ ]
1975
+ },
1976
+ "debug:diagnostics": {
1977
+ "aliases": [],
1978
+ "args": {},
1979
+ "description": "Create diagnostics report.",
1980
+ "examples": [
1981
+ {
1982
+ "description": "Inspect diagnostics.",
1983
+ "command": "dx debug diagnostics --json --truncate | jq -r '.metrics'"
1984
+ },
1985
+ {
1986
+ "description": "Upload diagnostics to GitHub.",
1987
+ "command": "dx debug diagnostics --json --truncate | gh gist create --filename diagnostics.json"
1988
+ }
1989
+ ],
1990
+ "flags": {
1991
+ "json": {
1992
+ "description": "Output as JSON.",
1993
+ "name": "json",
1994
+ "allowNo": false,
1995
+ "type": "boolean"
1996
+ },
1997
+ "dry-run": {
1998
+ "description": "Dry run.",
1999
+ "name": "dry-run",
2000
+ "allowNo": false,
2001
+ "type": "boolean"
2002
+ },
2003
+ "verbose": {
2004
+ "char": "v",
2005
+ "description": "Verbose output",
2006
+ "name": "verbose",
2007
+ "allowNo": false,
2008
+ "type": "boolean"
2009
+ },
2010
+ "profile": {
2011
+ "description": "User profile.",
2012
+ "env": "DX_PROFILE",
2013
+ "name": "profile",
2014
+ "default": "default",
2015
+ "hasDynamicHelp": false,
2016
+ "multiple": false,
2017
+ "type": "option"
2018
+ },
2019
+ "config": {
2020
+ "aliases": [
2021
+ "c"
2022
+ ],
2023
+ "dependsOn": [
2024
+ "profile"
2025
+ ],
2026
+ "description": "Config file.",
2027
+ "env": "DX_CONFIG",
2028
+ "name": "config",
2029
+ "default": "/home/runner/.config/dx/profile/default.yml",
2030
+ "hasDynamicHelp": false,
2031
+ "helpValue": "path",
2032
+ "multiple": false,
2033
+ "type": "option"
2034
+ },
2035
+ "target": {
2036
+ "description": "Target websocket server.",
2037
+ "name": "target",
2038
+ "hasDynamicHelp": false,
2039
+ "multiple": false,
2040
+ "type": "option"
2041
+ },
2042
+ "no-agent": {
2043
+ "description": "Run command without starting an agent.",
2044
+ "env": "DX_NO_AGENT",
2045
+ "name": "no-agent",
2046
+ "allowNo": false,
2047
+ "type": "boolean"
2048
+ },
2049
+ "timeout": {
2050
+ "aliases": [
2051
+ "t"
2052
+ ],
2053
+ "description": "Timeout (ms).",
2054
+ "name": "timeout",
2055
+ "default": 60000,
2056
+ "hasDynamicHelp": false,
2057
+ "multiple": false,
2058
+ "type": "option"
2059
+ },
2060
+ "no-wait": {
2061
+ "description": "Do not wait for space to be ready.",
2062
+ "name": "no-wait",
2063
+ "allowNo": false,
2064
+ "type": "boolean"
2065
+ },
2066
+ "json-log": {
2067
+ "description": "When running in foreground, log JSON format",
2068
+ "name": "json-log",
2069
+ "allowNo": false,
2070
+ "type": "boolean"
2071
+ },
2072
+ "json-logfile": {
2073
+ "description": "JSON log file destination, or 'stdout' or 'stderr'",
2074
+ "name": "json-logfile",
2075
+ "default": "stderr",
2076
+ "hasDynamicHelp": false,
2077
+ "multiple": false,
2078
+ "type": "option"
2079
+ },
2080
+ "humanize": {
2081
+ "description": "Humanize keys.",
2082
+ "name": "humanize",
2083
+ "allowNo": false,
2084
+ "type": "boolean"
2085
+ },
2086
+ "truncate": {
2087
+ "description": "Truncate keys.",
2088
+ "name": "truncate",
2089
+ "allowNo": false,
2090
+ "type": "boolean"
2091
+ }
2092
+ },
2093
+ "hasDynamicHelp": false,
2094
+ "hiddenAliases": [],
2095
+ "id": "debug:diagnostics",
2096
+ "pluginAlias": "@dxos/cli",
2097
+ "pluginName": "@dxos/cli",
2098
+ "pluginType": "core",
2099
+ "strict": true,
2100
+ "enableJsonFlag": true,
2101
+ "isESM": false,
2102
+ "relativePath": [
2103
+ "dist",
2104
+ "src",
2105
+ "commands",
2106
+ "debug",
2107
+ "diagnostics.js"
2108
+ ]
2109
+ },
2110
+ "debug:error": {
2111
+ "aliases": [],
2112
+ "args": {},
2113
+ "description": "Throw error for debugging.",
2114
+ "flags": {
2115
+ "json": {
2116
+ "description": "Output as JSON.",
2117
+ "name": "json",
2118
+ "allowNo": false,
2119
+ "type": "boolean"
2120
+ },
2121
+ "dry-run": {
2122
+ "description": "Dry run.",
2123
+ "name": "dry-run",
2124
+ "allowNo": false,
2125
+ "type": "boolean"
2126
+ },
2127
+ "verbose": {
2128
+ "char": "v",
2129
+ "description": "Verbose output",
2130
+ "name": "verbose",
2131
+ "allowNo": false,
2132
+ "type": "boolean"
2133
+ },
2134
+ "profile": {
2135
+ "description": "User profile.",
2136
+ "env": "DX_PROFILE",
2137
+ "name": "profile",
2138
+ "default": "default",
2139
+ "hasDynamicHelp": false,
2140
+ "multiple": false,
2141
+ "type": "option"
2142
+ },
2143
+ "config": {
2144
+ "aliases": [
2145
+ "c"
2146
+ ],
2147
+ "dependsOn": [
2148
+ "profile"
2149
+ ],
2150
+ "description": "Config file.",
2151
+ "env": "DX_CONFIG",
2152
+ "name": "config",
2153
+ "default": "/home/runner/.config/dx/profile/default.yml",
2154
+ "hasDynamicHelp": false,
2155
+ "helpValue": "path",
2156
+ "multiple": false,
2157
+ "type": "option"
2158
+ },
2159
+ "target": {
2160
+ "description": "Target websocket server.",
2161
+ "name": "target",
2162
+ "hasDynamicHelp": false,
2163
+ "multiple": false,
2164
+ "type": "option"
2165
+ },
2166
+ "no-agent": {
2167
+ "description": "Run command without starting an agent.",
2168
+ "env": "DX_NO_AGENT",
2169
+ "name": "no-agent",
2170
+ "allowNo": false,
2171
+ "type": "boolean"
2172
+ },
2173
+ "timeout": {
2174
+ "aliases": [
2175
+ "t"
2176
+ ],
2177
+ "description": "Timeout (ms).",
2178
+ "name": "timeout",
2179
+ "default": 60000,
2180
+ "hasDynamicHelp": false,
2181
+ "multiple": false,
2182
+ "type": "option"
2183
+ },
2184
+ "no-wait": {
2185
+ "description": "Do not wait for space to be ready.",
2186
+ "name": "no-wait",
2187
+ "allowNo": false,
2188
+ "type": "boolean"
2189
+ },
2190
+ "json-log": {
2191
+ "description": "When running in foreground, log JSON format",
2192
+ "name": "json-log",
2193
+ "allowNo": false,
2194
+ "type": "boolean"
2195
+ },
2196
+ "json-logfile": {
2197
+ "description": "JSON log file destination, or 'stdout' or 'stderr'",
2198
+ "name": "json-logfile",
2199
+ "default": "stderr",
2200
+ "hasDynamicHelp": false,
2201
+ "multiple": false,
2202
+ "type": "option"
2203
+ }
2204
+ },
2205
+ "hasDynamicHelp": false,
2206
+ "hiddenAliases": [],
2207
+ "id": "debug:error",
2208
+ "pluginAlias": "@dxos/cli",
2209
+ "pluginName": "@dxos/cli",
2210
+ "pluginType": "core",
2211
+ "strict": true,
2212
+ "enableJsonFlag": true,
2213
+ "isESM": false,
2214
+ "relativePath": [
2215
+ "dist",
2216
+ "src",
2217
+ "commands",
2218
+ "debug",
2219
+ "error.js"
2220
+ ]
2221
+ },
2222
+ "debug:generate": {
2223
+ "aliases": [],
2224
+ "args": {
2225
+ "key": {
2226
+ "description": "Space key(s) head in hex.",
2227
+ "name": "key"
2228
+ }
2229
+ },
2230
+ "description": "Generate test data.",
2231
+ "flags": {
2232
+ "json": {
2233
+ "description": "Output as JSON.",
2234
+ "name": "json",
2235
+ "allowNo": false,
2236
+ "type": "boolean"
2237
+ },
2238
+ "dry-run": {
2239
+ "description": "Dry run.",
2240
+ "name": "dry-run",
2241
+ "allowNo": false,
2242
+ "type": "boolean"
2243
+ },
2244
+ "verbose": {
2245
+ "char": "v",
2246
+ "description": "Verbose output",
2247
+ "name": "verbose",
2248
+ "allowNo": false,
2249
+ "type": "boolean"
2250
+ },
2251
+ "profile": {
2252
+ "description": "User profile.",
2253
+ "env": "DX_PROFILE",
2254
+ "name": "profile",
2255
+ "default": "default",
2256
+ "hasDynamicHelp": false,
2257
+ "multiple": false,
2258
+ "type": "option"
2259
+ },
2260
+ "config": {
2261
+ "aliases": [
2262
+ "c"
2263
+ ],
2264
+ "dependsOn": [
2265
+ "profile"
2266
+ ],
2267
+ "description": "Config file.",
2268
+ "env": "DX_CONFIG",
2269
+ "name": "config",
2270
+ "default": "/home/runner/.config/dx/profile/default.yml",
2271
+ "hasDynamicHelp": false,
2272
+ "helpValue": "path",
2273
+ "multiple": false,
2274
+ "type": "option"
2275
+ },
2276
+ "target": {
2277
+ "description": "Target websocket server.",
2278
+ "name": "target",
2279
+ "hasDynamicHelp": false,
2280
+ "multiple": false,
2281
+ "type": "option"
2282
+ },
2283
+ "no-agent": {
2284
+ "description": "Run command without starting an agent.",
2285
+ "env": "DX_NO_AGENT",
2286
+ "name": "no-agent",
2287
+ "allowNo": false,
2288
+ "type": "boolean"
2289
+ },
2290
+ "timeout": {
2291
+ "aliases": [
2292
+ "t"
2293
+ ],
2294
+ "description": "Timeout (ms).",
2295
+ "name": "timeout",
2296
+ "default": 60000,
2297
+ "hasDynamicHelp": false,
2298
+ "multiple": false,
2299
+ "type": "option"
2300
+ },
2301
+ "no-wait": {
2302
+ "description": "Do not wait for space to be ready.",
2303
+ "name": "no-wait",
2304
+ "allowNo": false,
2305
+ "type": "boolean"
2306
+ },
2307
+ "json-log": {
2308
+ "description": "When running in foreground, log JSON format",
2309
+ "name": "json-log",
2310
+ "allowNo": false,
2311
+ "type": "boolean"
2312
+ },
2313
+ "json-logfile": {
2314
+ "description": "JSON log file destination, or 'stdout' or 'stderr'",
2315
+ "name": "json-logfile",
2316
+ "default": "stderr",
2317
+ "hasDynamicHelp": false,
2318
+ "multiple": false,
2319
+ "type": "option"
2320
+ },
2321
+ "interval": {
2322
+ "description": "Interval between mutations (ms).",
2323
+ "name": "interval",
2324
+ "default": 0,
2325
+ "hasDynamicHelp": false,
2326
+ "multiple": false,
2327
+ "type": "option"
2328
+ },
2329
+ "jitter": {
2330
+ "description": "Interval variance (ms).",
2331
+ "name": "jitter",
2332
+ "default": 0,
2333
+ "hasDynamicHelp": false,
2334
+ "multiple": false,
2335
+ "type": "option"
2336
+ },
2337
+ "objects": {
2338
+ "description": "Number of objects.",
2339
+ "name": "objects",
2340
+ "default": 0,
2341
+ "hasDynamicHelp": false,
2342
+ "multiple": false,
2343
+ "type": "option"
2344
+ },
2345
+ "mutations": {
2346
+ "description": "Number of mutations.",
2347
+ "name": "mutations",
2348
+ "default": 0,
2349
+ "hasDynamicHelp": false,
2350
+ "multiple": false,
2351
+ "type": "option"
2352
+ },
2353
+ "epoch": {
2354
+ "description": "Number of mutations per epoch.",
2355
+ "name": "epoch",
2356
+ "hasDynamicHelp": false,
2357
+ "multiple": false,
2358
+ "type": "option"
2359
+ }
2360
+ },
2361
+ "hasDynamicHelp": false,
2362
+ "hiddenAliases": [],
2363
+ "id": "debug:generate",
2364
+ "pluginAlias": "@dxos/cli",
2365
+ "pluginName": "@dxos/cli",
2366
+ "pluginType": "core",
2367
+ "strict": true,
2368
+ "enableJsonFlag": true,
2369
+ "isESM": false,
2370
+ "relativePath": [
2371
+ "dist",
2372
+ "src",
2373
+ "commands",
2374
+ "debug",
2375
+ "generate.js"
2376
+ ]
2377
+ },
2378
+ "debug:metrics": {
2379
+ "aliases": [],
2380
+ "args": {
2381
+ "command": {
2382
+ "description": "Control metrics recording.",
2383
+ "name": "command"
2384
+ }
2385
+ },
2386
+ "description": "Control metrics.",
2387
+ "flags": {
2388
+ "json": {
2389
+ "description": "Output as JSON.",
2390
+ "name": "json",
2391
+ "allowNo": false,
2392
+ "type": "boolean"
2393
+ },
2394
+ "dry-run": {
2395
+ "description": "Dry run.",
2396
+ "name": "dry-run",
2397
+ "allowNo": false,
2398
+ "type": "boolean"
2399
+ },
2400
+ "verbose": {
2401
+ "char": "v",
2402
+ "description": "Verbose output",
2403
+ "name": "verbose",
2404
+ "allowNo": false,
2405
+ "type": "boolean"
2406
+ },
2407
+ "profile": {
2408
+ "description": "User profile.",
2409
+ "env": "DX_PROFILE",
2410
+ "name": "profile",
2411
+ "default": "default",
2412
+ "hasDynamicHelp": false,
2413
+ "multiple": false,
2414
+ "type": "option"
2415
+ },
2416
+ "config": {
2417
+ "aliases": [
2418
+ "c"
2419
+ ],
2420
+ "dependsOn": [
2421
+ "profile"
2422
+ ],
2423
+ "description": "Config file.",
2424
+ "env": "DX_CONFIG",
2425
+ "name": "config",
2426
+ "default": "/home/runner/.config/dx/profile/default.yml",
2427
+ "hasDynamicHelp": false,
2428
+ "helpValue": "path",
2429
+ "multiple": false,
2430
+ "type": "option"
2431
+ },
2432
+ "target": {
2433
+ "description": "Target websocket server.",
2434
+ "name": "target",
2435
+ "hasDynamicHelp": false,
2436
+ "multiple": false,
2437
+ "type": "option"
2438
+ },
2439
+ "no-agent": {
2440
+ "description": "Run command without starting an agent.",
2441
+ "env": "DX_NO_AGENT",
2442
+ "name": "no-agent",
2027
2443
  "allowNo": false,
2028
2444
  "type": "boolean"
2029
2445
  },
@@ -2133,17 +2549,12 @@
2133
2549
  "type": "option"
2134
2550
  },
2135
2551
  "no-agent": {
2136
- "description": "Run command without using an agent.",
2552
+ "description": "Run command without starting an agent.",
2553
+ "env": "DX_NO_AGENT",
2137
2554
  "name": "no-agent",
2138
2555
  "allowNo": false,
2139
2556
  "type": "boolean"
2140
2557
  },
2141
- "no-start-agent": {
2142
- "description": "Do not automatically start an agent if one is not running.",
2143
- "name": "no-start-agent",
2144
- "allowNo": false,
2145
- "type": "boolean"
2146
- },
2147
2558
  "timeout": {
2148
2559
  "aliases": [
2149
2560
  "t"
@@ -2258,17 +2669,12 @@
2258
2669
  "type": "option"
2259
2670
  },
2260
2671
  "no-agent": {
2261
- "description": "Run command without using an agent.",
2672
+ "description": "Run command without starting an agent.",
2673
+ "env": "DX_NO_AGENT",
2262
2674
  "name": "no-agent",
2263
2675
  "allowNo": false,
2264
2676
  "type": "boolean"
2265
2677
  },
2266
- "no-start-agent": {
2267
- "description": "Do not automatically start an agent if one is not running.",
2268
- "name": "no-start-agent",
2269
- "allowNo": false,
2270
- "type": "boolean"
2271
- },
2272
2678
  "timeout": {
2273
2679
  "aliases": [
2274
2680
  "t"
@@ -2375,17 +2781,12 @@
2375
2781
  "type": "option"
2376
2782
  },
2377
2783
  "no-agent": {
2378
- "description": "Run command without using an agent.",
2784
+ "description": "Run command without starting an agent.",
2785
+ "env": "DX_NO_AGENT",
2379
2786
  "name": "no-agent",
2380
2787
  "allowNo": false,
2381
2788
  "type": "boolean"
2382
2789
  },
2383
- "no-start-agent": {
2384
- "description": "Do not automatically start an agent if one is not running.",
2385
- "name": "no-start-agent",
2386
- "allowNo": false,
2387
- "type": "boolean"
2388
- },
2389
2790
  "timeout": {
2390
2791
  "aliases": [
2391
2792
  "t"
@@ -2569,17 +2970,12 @@
2569
2970
  "type": "option"
2570
2971
  },
2571
2972
  "no-agent": {
2572
- "description": "Run command without using an agent.",
2973
+ "description": "Run command without starting an agent.",
2974
+ "env": "DX_NO_AGENT",
2573
2975
  "name": "no-agent",
2574
2976
  "allowNo": false,
2575
2977
  "type": "boolean"
2576
2978
  },
2577
- "no-start-agent": {
2578
- "description": "Do not automatically start an agent if one is not running.",
2579
- "name": "no-start-agent",
2580
- "allowNo": false,
2581
- "type": "boolean"
2582
- },
2583
2979
  "timeout": {
2584
2980
  "aliases": [
2585
2981
  "t"
@@ -2646,164 +3042,9 @@
2646
3042
  "examples": [
2647
3043
  {
2648
3044
  "description": "Run with TypeScript support.",
2649
- "command": "dx function dev -r ts-node/register --verbose"
2650
- }
2651
- ],
2652
- "flags": {
2653
- "json": {
2654
- "description": "Output as JSON.",
2655
- "name": "json",
2656
- "allowNo": false,
2657
- "type": "boolean"
2658
- },
2659
- "dry-run": {
2660
- "description": "Dry run.",
2661
- "name": "dry-run",
2662
- "allowNo": false,
2663
- "type": "boolean"
2664
- },
2665
- "verbose": {
2666
- "char": "v",
2667
- "description": "Verbose output",
2668
- "name": "verbose",
2669
- "allowNo": false,
2670
- "type": "boolean"
2671
- },
2672
- "profile": {
2673
- "description": "User profile.",
2674
- "env": "DX_PROFILE",
2675
- "name": "profile",
2676
- "default": "default",
2677
- "hasDynamicHelp": false,
2678
- "multiple": false,
2679
- "type": "option"
2680
- },
2681
- "config": {
2682
- "aliases": [
2683
- "c"
2684
- ],
2685
- "dependsOn": [
2686
- "profile"
2687
- ],
2688
- "description": "Config file.",
2689
- "env": "DX_CONFIG",
2690
- "name": "config",
2691
- "default": "/home/runner/.config/dx/profile/default.yml",
2692
- "hasDynamicHelp": false,
2693
- "helpValue": "path",
2694
- "multiple": false,
2695
- "type": "option"
2696
- },
2697
- "target": {
2698
- "description": "Target websocket server.",
2699
- "name": "target",
2700
- "hasDynamicHelp": false,
2701
- "multiple": false,
2702
- "type": "option"
2703
- },
2704
- "no-agent": {
2705
- "description": "Run command without using an agent.",
2706
- "name": "no-agent",
2707
- "allowNo": false,
2708
- "type": "boolean"
2709
- },
2710
- "no-start-agent": {
2711
- "description": "Do not automatically start an agent if one is not running.",
2712
- "name": "no-start-agent",
2713
- "allowNo": false,
2714
- "type": "boolean"
2715
- },
2716
- "timeout": {
2717
- "aliases": [
2718
- "t"
2719
- ],
2720
- "description": "Timeout (ms).",
2721
- "name": "timeout",
2722
- "default": 60000,
2723
- "hasDynamicHelp": false,
2724
- "multiple": false,
2725
- "type": "option"
2726
- },
2727
- "no-wait": {
2728
- "description": "Do not wait for space to be ready.",
2729
- "name": "no-wait",
2730
- "allowNo": false,
2731
- "type": "boolean"
2732
- },
2733
- "json-log": {
2734
- "description": "When running in foreground, log JSON format",
2735
- "name": "json-log",
2736
- "allowNo": false,
2737
- "type": "boolean"
2738
- },
2739
- "json-logfile": {
2740
- "description": "JSON log file destination, or 'stdout' or 'stderr'",
2741
- "name": "json-logfile",
2742
- "default": "stderr",
2743
- "hasDynamicHelp": false,
2744
- "multiple": false,
2745
- "type": "option"
2746
- },
2747
- "require": {
2748
- "aliases": [
2749
- "r"
2750
- ],
2751
- "name": "require",
2752
- "default": [
2753
- "ts-node/register"
2754
- ],
2755
- "hasDynamicHelp": false,
2756
- "multiple": true,
2757
- "type": "option"
2758
- },
2759
- "baseDir": {
2760
- "description": "Base directory for function handlers.",
2761
- "name": "baseDir",
2762
- "hasDynamicHelp": false,
2763
- "multiple": false,
2764
- "type": "option"
2765
- },
2766
- "manifest": {
2767
- "description": "Functions manifest file.",
2768
- "name": "manifest",
2769
- "hasDynamicHelp": false,
2770
- "multiple": false,
2771
- "type": "option"
2772
- },
2773
- "reload": {
2774
- "description": "Reload functions on change.",
2775
- "name": "reload",
2776
- "allowNo": false,
2777
- "type": "boolean"
2778
- }
2779
- },
2780
- "hasDynamicHelp": false,
2781
- "hiddenAliases": [],
2782
- "id": "function:dev",
2783
- "pluginAlias": "@dxos/cli",
2784
- "pluginName": "@dxos/cli",
2785
- "pluginType": "core",
2786
- "strict": true,
2787
- "enableJsonFlag": true,
2788
- "isESM": false,
2789
- "relativePath": [
2790
- "dist",
2791
- "src",
2792
- "commands",
2793
- "function",
2794
- "dev.js"
2795
- ]
2796
- },
2797
- "function:exec": {
2798
- "aliases": [],
2799
- "args": {
2800
- "name": {
2801
- "description": "Function name.",
2802
- "name": "name",
2803
- "required": true
3045
+ "command": "dx function dev -r ts-node/register --verbose"
2804
3046
  }
2805
- },
2806
- "description": "Invoke function.",
3047
+ ],
2807
3048
  "flags": {
2808
3049
  "json": {
2809
3050
  "description": "Output as JSON.",
@@ -2857,17 +3098,12 @@
2857
3098
  "type": "option"
2858
3099
  },
2859
3100
  "no-agent": {
2860
- "description": "Run command without using an agent.",
3101
+ "description": "Run command without starting an agent.",
3102
+ "env": "DX_NO_AGENT",
2861
3103
  "name": "no-agent",
2862
3104
  "allowNo": false,
2863
3105
  "type": "boolean"
2864
3106
  },
2865
- "no-start-agent": {
2866
- "description": "Do not automatically start an agent if one is not running.",
2867
- "name": "no-start-agent",
2868
- "allowNo": false,
2869
- "type": "boolean"
2870
- },
2871
3107
  "timeout": {
2872
3108
  "aliases": [
2873
3109
  "t"
@@ -2898,11 +3134,50 @@
2898
3134
  "hasDynamicHelp": false,
2899
3135
  "multiple": false,
2900
3136
  "type": "option"
3137
+ },
3138
+ "key": {
3139
+ "description": "Space key(s) head in hex.",
3140
+ "name": "key",
3141
+ "hasDynamicHelp": false,
3142
+ "multiple": true,
3143
+ "type": "option"
3144
+ },
3145
+ "require": {
3146
+ "aliases": [
3147
+ "r"
3148
+ ],
3149
+ "name": "require",
3150
+ "default": [
3151
+ "ts-node/register"
3152
+ ],
3153
+ "hasDynamicHelp": false,
3154
+ "multiple": true,
3155
+ "type": "option"
3156
+ },
3157
+ "manifest": {
3158
+ "description": "Functions manifest file.",
3159
+ "name": "manifest",
3160
+ "hasDynamicHelp": false,
3161
+ "multiple": false,
3162
+ "type": "option"
3163
+ },
3164
+ "baseDir": {
3165
+ "description": "Base directory for function handlers.",
3166
+ "name": "baseDir",
3167
+ "hasDynamicHelp": false,
3168
+ "multiple": false,
3169
+ "type": "option"
3170
+ },
3171
+ "reload": {
3172
+ "description": "Reload functions on change.",
3173
+ "name": "reload",
3174
+ "allowNo": false,
3175
+ "type": "boolean"
2901
3176
  }
2902
3177
  },
2903
3178
  "hasDynamicHelp": false,
2904
3179
  "hiddenAliases": [],
2905
- "id": "function:exec",
3180
+ "id": "function:dev",
2906
3181
  "pluginAlias": "@dxos/cli",
2907
3182
  "pluginName": "@dxos/cli",
2908
3183
  "pluginType": "core",
@@ -2914,7 +3189,7 @@
2914
3189
  "src",
2915
3190
  "commands",
2916
3191
  "function",
2917
- "exec.js"
3192
+ "dev.js"
2918
3193
  ]
2919
3194
  },
2920
3195
  "function:list": {
@@ -2974,17 +3249,12 @@
2974
3249
  "type": "option"
2975
3250
  },
2976
3251
  "no-agent": {
2977
- "description": "Run command without using an agent.",
3252
+ "description": "Run command without starting an agent.",
3253
+ "env": "DX_NO_AGENT",
2978
3254
  "name": "no-agent",
2979
3255
  "allowNo": false,
2980
3256
  "type": "boolean"
2981
3257
  },
2982
- "no-start-agent": {
2983
- "description": "Do not automatically start an agent if one is not running.",
2984
- "name": "no-start-agent",
2985
- "allowNo": false,
2986
- "type": "boolean"
2987
- },
2988
3258
  "timeout": {
2989
3259
  "aliases": [
2990
3260
  "t"
@@ -3097,17 +3367,12 @@
3097
3367
  "type": "option"
3098
3368
  },
3099
3369
  "no-agent": {
3100
- "description": "Run command without using an agent.",
3370
+ "description": "Run command without starting an agent.",
3371
+ "env": "DX_NO_AGENT",
3101
3372
  "name": "no-agent",
3102
3373
  "allowNo": false,
3103
3374
  "type": "boolean"
3104
3375
  },
3105
- "no-start-agent": {
3106
- "description": "Do not automatically start an agent if one is not running.",
3107
- "name": "no-start-agent",
3108
- "allowNo": false,
3109
- "type": "boolean"
3110
- },
3111
3376
  "timeout": {
3112
3377
  "aliases": [
3113
3378
  "t"
@@ -3221,17 +3486,12 @@
3221
3486
  "type": "option"
3222
3487
  },
3223
3488
  "no-agent": {
3224
- "description": "Run command without using an agent.",
3489
+ "description": "Run command without starting an agent.",
3490
+ "env": "DX_NO_AGENT",
3225
3491
  "name": "no-agent",
3226
3492
  "allowNo": false,
3227
3493
  "type": "boolean"
3228
3494
  },
3229
- "no-start-agent": {
3230
- "description": "Do not automatically start an agent if one is not running.",
3231
- "name": "no-start-agent",
3232
- "allowNo": false,
3233
- "type": "boolean"
3234
- },
3235
3495
  "timeout": {
3236
3496
  "aliases": [
3237
3497
  "t"
@@ -3351,17 +3611,12 @@
3351
3611
  "type": "option"
3352
3612
  },
3353
3613
  "no-agent": {
3354
- "description": "Run command without using an agent.",
3614
+ "description": "Run command without starting an agent.",
3615
+ "env": "DX_NO_AGENT",
3355
3616
  "name": "no-agent",
3356
3617
  "allowNo": false,
3357
3618
  "type": "boolean"
3358
3619
  },
3359
- "no-start-agent": {
3360
- "description": "Do not automatically start an agent if one is not running.",
3361
- "name": "no-start-agent",
3362
- "allowNo": false,
3363
- "type": "boolean"
3364
- },
3365
3620
  "timeout": {
3366
3621
  "aliases": [
3367
3622
  "t"
@@ -3468,17 +3723,12 @@
3468
3723
  "type": "option"
3469
3724
  },
3470
3725
  "no-agent": {
3471
- "description": "Run command without using an agent.",
3726
+ "description": "Run command without starting an agent.",
3727
+ "env": "DX_NO_AGENT",
3472
3728
  "name": "no-agent",
3473
3729
  "allowNo": false,
3474
3730
  "type": "boolean"
3475
3731
  },
3476
- "no-start-agent": {
3477
- "description": "Do not automatically start an agent if one is not running.",
3478
- "name": "no-start-agent",
3479
- "allowNo": false,
3480
- "type": "boolean"
3481
- },
3482
3732
  "timeout": {
3483
3733
  "description": "Timeout in seconds",
3484
3734
  "name": "timeout",
@@ -3552,10 +3802,10 @@
3552
3802
  "join.js"
3553
3803
  ]
3554
3804
  },
3555
- "halo:share": {
3805
+ "halo:keys": {
3556
3806
  "aliases": [],
3557
3807
  "args": {},
3558
- "description": "Create HALO (device) invitation.",
3808
+ "description": "Show HALO keys.",
3559
3809
  "flags": {
3560
3810
  "json": {
3561
3811
  "description": "Output as JSON.",
@@ -3609,14 +3859,121 @@
3609
3859
  "type": "option"
3610
3860
  },
3611
3861
  "no-agent": {
3612
- "description": "Run command without using an agent.",
3862
+ "description": "Run command without starting an agent.",
3863
+ "env": "DX_NO_AGENT",
3613
3864
  "name": "no-agent",
3614
3865
  "allowNo": false,
3615
3866
  "type": "boolean"
3616
3867
  },
3617
- "no-start-agent": {
3618
- "description": "Do not automatically start an agent if one is not running.",
3619
- "name": "no-start-agent",
3868
+ "timeout": {
3869
+ "aliases": [
3870
+ "t"
3871
+ ],
3872
+ "description": "Timeout (ms).",
3873
+ "name": "timeout",
3874
+ "default": 60000,
3875
+ "hasDynamicHelp": false,
3876
+ "multiple": false,
3877
+ "type": "option"
3878
+ },
3879
+ "no-wait": {
3880
+ "description": "Do not wait for space to be ready.",
3881
+ "name": "no-wait",
3882
+ "allowNo": false,
3883
+ "type": "boolean"
3884
+ },
3885
+ "json-log": {
3886
+ "description": "When running in foreground, log JSON format",
3887
+ "name": "json-log",
3888
+ "allowNo": false,
3889
+ "type": "boolean"
3890
+ },
3891
+ "json-logfile": {
3892
+ "description": "JSON log file destination, or 'stdout' or 'stderr'",
3893
+ "name": "json-logfile",
3894
+ "default": "stderr",
3895
+ "hasDynamicHelp": false,
3896
+ "multiple": false,
3897
+ "type": "option"
3898
+ }
3899
+ },
3900
+ "hasDynamicHelp": false,
3901
+ "hiddenAliases": [],
3902
+ "id": "halo:keys",
3903
+ "pluginAlias": "@dxos/cli",
3904
+ "pluginName": "@dxos/cli",
3905
+ "pluginType": "core",
3906
+ "strict": true,
3907
+ "enableJsonFlag": true,
3908
+ "isESM": false,
3909
+ "relativePath": [
3910
+ "dist",
3911
+ "src",
3912
+ "commands",
3913
+ "halo",
3914
+ "keys.js"
3915
+ ]
3916
+ },
3917
+ "halo:share": {
3918
+ "aliases": [],
3919
+ "args": {},
3920
+ "description": "Create HALO (device) invitation.",
3921
+ "flags": {
3922
+ "json": {
3923
+ "description": "Output as JSON.",
3924
+ "name": "json",
3925
+ "allowNo": false,
3926
+ "type": "boolean"
3927
+ },
3928
+ "dry-run": {
3929
+ "description": "Dry run.",
3930
+ "name": "dry-run",
3931
+ "allowNo": false,
3932
+ "type": "boolean"
3933
+ },
3934
+ "verbose": {
3935
+ "char": "v",
3936
+ "description": "Verbose output",
3937
+ "name": "verbose",
3938
+ "allowNo": false,
3939
+ "type": "boolean"
3940
+ },
3941
+ "profile": {
3942
+ "description": "User profile.",
3943
+ "env": "DX_PROFILE",
3944
+ "name": "profile",
3945
+ "default": "default",
3946
+ "hasDynamicHelp": false,
3947
+ "multiple": false,
3948
+ "type": "option"
3949
+ },
3950
+ "config": {
3951
+ "aliases": [
3952
+ "c"
3953
+ ],
3954
+ "dependsOn": [
3955
+ "profile"
3956
+ ],
3957
+ "description": "Config file.",
3958
+ "env": "DX_CONFIG",
3959
+ "name": "config",
3960
+ "default": "/home/runner/.config/dx/profile/default.yml",
3961
+ "hasDynamicHelp": false,
3962
+ "helpValue": "path",
3963
+ "multiple": false,
3964
+ "type": "option"
3965
+ },
3966
+ "target": {
3967
+ "description": "Target websocket server.",
3968
+ "name": "target",
3969
+ "hasDynamicHelp": false,
3970
+ "multiple": false,
3971
+ "type": "option"
3972
+ },
3973
+ "no-agent": {
3974
+ "description": "Run command without starting an agent.",
3975
+ "env": "DX_NO_AGENT",
3976
+ "name": "no-agent",
3620
3977
  "allowNo": false,
3621
3978
  "type": "boolean"
3622
3979
  },
@@ -3659,6 +4016,12 @@
3659
4016
  "multiple": false,
3660
4017
  "type": "option"
3661
4018
  },
4019
+ "persistent": {
4020
+ "description": "Invitation should resume if client restarts",
4021
+ "name": "persistent",
4022
+ "allowNo": false,
4023
+ "type": "boolean"
4024
+ },
3662
4025
  "open": {
3663
4026
  "description": "Open browser with invitation.",
3664
4027
  "name": "open",
@@ -3678,12 +4041,6 @@
3678
4041
  "name": "no-auth",
3679
4042
  "allowNo": false,
3680
4043
  "type": "boolean"
3681
- },
3682
- "no-persistent": {
3683
- "description": "Don't resume invitation if client restarts",
3684
- "name": "no-persistent",
3685
- "allowNo": false,
3686
- "type": "boolean"
3687
4044
  }
3688
4045
  },
3689
4046
  "hasDynamicHelp": false,
@@ -3760,17 +4117,12 @@
3760
4117
  "type": "option"
3761
4118
  },
3762
4119
  "no-agent": {
3763
- "description": "Run command without using an agent.",
4120
+ "description": "Run command without starting an agent.",
4121
+ "env": "DX_NO_AGENT",
3764
4122
  "name": "no-agent",
3765
4123
  "allowNo": false,
3766
4124
  "type": "boolean"
3767
4125
  },
3768
- "no-start-agent": {
3769
- "description": "Do not automatically start an agent if one is not running.",
3770
- "name": "no-start-agent",
3771
- "allowNo": false,
3772
- "type": "boolean"
3773
- },
3774
4126
  "timeout": {
3775
4127
  "aliases": [
3776
4128
  "t"
@@ -3884,17 +4236,12 @@
3884
4236
  "type": "option"
3885
4237
  },
3886
4238
  "no-agent": {
3887
- "description": "Run command without using an agent.",
4239
+ "description": "Run command without starting an agent.",
4240
+ "env": "DX_NO_AGENT",
3888
4241
  "name": "no-agent",
3889
4242
  "allowNo": false,
3890
4243
  "type": "boolean"
3891
4244
  },
3892
- "no-start-agent": {
3893
- "description": "Do not automatically start an agent if one is not running.",
3894
- "name": "no-start-agent",
3895
- "allowNo": false,
3896
- "type": "boolean"
3897
- },
3898
4245
  "timeout": {
3899
4246
  "aliases": [
3900
4247
  "t"
@@ -4013,17 +4360,12 @@
4013
4360
  "type": "option"
4014
4361
  },
4015
4362
  "no-agent": {
4016
- "description": "Run command without using an agent.",
4363
+ "description": "Run command without starting an agent.",
4364
+ "env": "DX_NO_AGENT",
4017
4365
  "name": "no-agent",
4018
4366
  "allowNo": false,
4019
4367
  "type": "boolean"
4020
4368
  },
4021
- "no-start-agent": {
4022
- "description": "Do not automatically start an agent if one is not running.",
4023
- "name": "no-start-agent",
4024
- "allowNo": false,
4025
- "type": "boolean"
4026
- },
4027
4369
  "timeout": {
4028
4370
  "aliases": [
4029
4371
  "t"
@@ -4077,6 +4419,7 @@
4077
4419
  "aliases": [],
4078
4420
  "args": {
4079
4421
  "key": {
4422
+ "description": "Space key(s) head in hex.",
4080
4423
  "name": "key"
4081
4424
  }
4082
4425
  },
@@ -4134,17 +4477,12 @@
4134
4477
  "type": "option"
4135
4478
  },
4136
4479
  "no-agent": {
4137
- "description": "Run command without using an agent.",
4480
+ "description": "Run command without starting an agent.",
4481
+ "env": "DX_NO_AGENT",
4138
4482
  "name": "no-agent",
4139
4483
  "allowNo": false,
4140
4484
  "type": "boolean"
4141
4485
  },
4142
- "no-start-agent": {
4143
- "description": "Do not automatically start an agent if one is not running.",
4144
- "name": "no-start-agent",
4145
- "allowNo": false,
4146
- "type": "boolean"
4147
- },
4148
4486
  "timeout": {
4149
4487
  "aliases": [
4150
4488
  "t"
@@ -4255,17 +4593,12 @@
4255
4593
  "type": "option"
4256
4594
  },
4257
4595
  "no-agent": {
4258
- "description": "Run command without using an agent.",
4596
+ "description": "Run command without starting an agent.",
4597
+ "env": "DX_NO_AGENT",
4259
4598
  "name": "no-agent",
4260
4599
  "allowNo": false,
4261
4600
  "type": "boolean"
4262
4601
  },
4263
- "no-start-agent": {
4264
- "description": "Do not automatically start an agent if one is not running.",
4265
- "name": "no-start-agent",
4266
- "allowNo": false,
4267
- "type": "boolean"
4268
- },
4269
4602
  "timeout": {
4270
4603
  "aliases": [
4271
4604
  "t"
@@ -4319,7 +4652,7 @@
4319
4652
  "aliases": [],
4320
4653
  "args": {
4321
4654
  "key": {
4322
- "description": "Space key head in hex.",
4655
+ "description": "Space key(s) head in hex.",
4323
4656
  "name": "key"
4324
4657
  }
4325
4658
  },
@@ -4377,17 +4710,12 @@
4377
4710
  "type": "option"
4378
4711
  },
4379
4712
  "no-agent": {
4380
- "description": "Run command without using an agent.",
4713
+ "description": "Run command without starting an agent.",
4714
+ "env": "DX_NO_AGENT",
4381
4715
  "name": "no-agent",
4382
4716
  "allowNo": false,
4383
4717
  "type": "boolean"
4384
4718
  },
4385
- "no-start-agent": {
4386
- "description": "Do not automatically start an agent if one is not running.",
4387
- "name": "no-start-agent",
4388
- "allowNo": false,
4389
- "type": "boolean"
4390
- },
4391
4719
  "timeout": {
4392
4720
  "aliases": [
4393
4721
  "t"
@@ -4441,6 +4769,7 @@
4441
4769
  "aliases": [],
4442
4770
  "args": {
4443
4771
  "key": {
4772
+ "description": "Space key(s) head in hex.",
4444
4773
  "name": "key"
4445
4774
  }
4446
4775
  },
@@ -4498,17 +4827,12 @@
4498
4827
  "type": "option"
4499
4828
  },
4500
4829
  "no-agent": {
4501
- "description": "Run command without using an agent.",
4830
+ "description": "Run command without starting an agent.",
4831
+ "env": "DX_NO_AGENT",
4502
4832
  "name": "no-agent",
4503
4833
  "allowNo": false,
4504
4834
  "type": "boolean"
4505
4835
  },
4506
- "no-start-agent": {
4507
- "description": "Do not automatically start an agent if one is not running.",
4508
- "name": "no-start-agent",
4509
- "allowNo": false,
4510
- "type": "boolean"
4511
- },
4512
4836
  "timeout": {
4513
4837
  "aliases": [
4514
4838
  "t"
@@ -4615,17 +4939,12 @@
4615
4939
  "type": "option"
4616
4940
  },
4617
4941
  "no-agent": {
4618
- "description": "Run command without using an agent.",
4942
+ "description": "Run command without starting an agent.",
4943
+ "env": "DX_NO_AGENT",
4619
4944
  "name": "no-agent",
4620
4945
  "allowNo": false,
4621
4946
  "type": "boolean"
4622
4947
  },
4623
- "no-start-agent": {
4624
- "description": "Do not automatically start an agent if one is not running.",
4625
- "name": "no-start-agent",
4626
- "allowNo": false,
4627
- "type": "boolean"
4628
- },
4629
4948
  "timeout": {
4630
4949
  "aliases": [
4631
4950
  "t"
@@ -4746,17 +5065,12 @@
4746
5065
  "type": "option"
4747
5066
  },
4748
5067
  "no-agent": {
4749
- "description": "Run command without using an agent.",
5068
+ "description": "Run command without starting an agent.",
5069
+ "env": "DX_NO_AGENT",
4750
5070
  "name": "no-agent",
4751
5071
  "allowNo": false,
4752
5072
  "type": "boolean"
4753
5073
  },
4754
- "no-start-agent": {
4755
- "description": "Do not automatically start an agent if one is not running.",
4756
- "name": "no-start-agent",
4757
- "allowNo": false,
4758
- "type": "boolean"
4759
- },
4760
5074
  "timeout": {
4761
5075
  "aliases": [
4762
5076
  "t"
@@ -4893,7 +5207,7 @@
4893
5207
  "aliases": [],
4894
5208
  "args": {
4895
5209
  "key": {
4896
- "description": "Space key head in hex.",
5210
+ "description": "Space key(s) head in hex.",
4897
5211
  "name": "key"
4898
5212
  }
4899
5213
  },
@@ -4951,17 +5265,12 @@
4951
5265
  "type": "option"
4952
5266
  },
4953
5267
  "no-agent": {
4954
- "description": "Run command without using an agent.",
5268
+ "description": "Run command without starting an agent.",
5269
+ "env": "DX_NO_AGENT",
4955
5270
  "name": "no-agent",
4956
5271
  "allowNo": false,
4957
5272
  "type": "boolean"
4958
5273
  },
4959
- "no-start-agent": {
4960
- "description": "Do not automatically start an agent if one is not running.",
4961
- "name": "no-start-agent",
4962
- "allowNo": false,
4963
- "type": "boolean"
4964
- },
4965
5274
  "timeout": {
4966
5275
  "aliases": [
4967
5276
  "t"
@@ -5092,6 +5401,7 @@
5092
5401
  "aliases": [],
5093
5402
  "args": {
5094
5403
  "key": {
5404
+ "description": "Space key(s) head in hex.",
5095
5405
  "name": "key"
5096
5406
  }
5097
5407
  },
@@ -5149,17 +5459,12 @@
5149
5459
  "type": "option"
5150
5460
  },
5151
5461
  "no-agent": {
5152
- "description": "Run command without using an agent.",
5462
+ "description": "Run command without starting an agent.",
5463
+ "env": "DX_NO_AGENT",
5153
5464
  "name": "no-agent",
5154
5465
  "allowNo": false,
5155
5466
  "type": "boolean"
5156
5467
  },
5157
- "no-start-agent": {
5158
- "description": "Do not automatically start an agent if one is not running.",
5159
- "name": "no-start-agent",
5160
- "allowNo": false,
5161
- "type": "boolean"
5162
- },
5163
5468
  "timeout": {
5164
5469
  "aliases": [
5165
5470
  "t"
@@ -5213,7 +5518,7 @@
5213
5518
  "aliases": [],
5214
5519
  "args": {
5215
5520
  "key": {
5216
- "description": "Space key head in hex.",
5521
+ "description": "Space key(s) head in hex.",
5217
5522
  "name": "key"
5218
5523
  }
5219
5524
  },
@@ -5271,17 +5576,12 @@
5271
5576
  "type": "option"
5272
5577
  },
5273
5578
  "no-agent": {
5274
- "description": "Run command without using an agent.",
5579
+ "description": "Run command without starting an agent.",
5580
+ "env": "DX_NO_AGENT",
5275
5581
  "name": "no-agent",
5276
5582
  "allowNo": false,
5277
5583
  "type": "boolean"
5278
5584
  },
5279
- "no-start-agent": {
5280
- "description": "Do not automatically start an agent if one is not running.",
5281
- "name": "no-start-agent",
5282
- "allowNo": false,
5283
- "type": "boolean"
5284
- },
5285
5585
  "timeout": {
5286
5586
  "aliases": [
5287
5587
  "t"
@@ -5312,6 +5612,19 @@
5312
5612
  "hasDynamicHelp": false,
5313
5613
  "multiple": false,
5314
5614
  "type": "option"
5615
+ },
5616
+ "data": {
5617
+ "description": "Print serialized object representation.",
5618
+ "name": "data",
5619
+ "allowNo": false,
5620
+ "type": "boolean"
5621
+ },
5622
+ "typename": {
5623
+ "description": "Filter objects by typename.",
5624
+ "name": "typename",
5625
+ "hasDynamicHelp": false,
5626
+ "multiple": false,
5627
+ "type": "option"
5315
5628
  }
5316
5629
  },
5317
5630
  "hasDynamicHelp": false,
@@ -5335,7 +5648,7 @@
5335
5648
  "aliases": [],
5336
5649
  "args": {
5337
5650
  "key": {
5338
- "description": "Space key head in hex.",
5651
+ "description": "Space key(s) head in hex.",
5339
5652
  "name": "key"
5340
5653
  }
5341
5654
  },
@@ -5393,21 +5706,19 @@
5393
5706
  "type": "option"
5394
5707
  },
5395
5708
  "no-agent": {
5396
- "description": "Run command without using an agent.",
5709
+ "description": "Run command without starting an agent.",
5710
+ "env": "DX_NO_AGENT",
5397
5711
  "name": "no-agent",
5398
5712
  "allowNo": false,
5399
5713
  "type": "boolean"
5400
5714
  },
5401
- "no-start-agent": {
5402
- "description": "Do not automatically start an agent if one is not running.",
5403
- "name": "no-start-agent",
5404
- "allowNo": false,
5405
- "type": "boolean"
5406
- },
5407
5715
  "timeout": {
5408
- "description": "Timeout in milliseconds.",
5716
+ "aliases": [
5717
+ "t"
5718
+ ],
5719
+ "description": "Timeout (ms).",
5409
5720
  "name": "timeout",
5410
- "default": 5000,
5721
+ "default": 60000,
5411
5722
  "hasDynamicHelp": false,
5412
5723
  "multiple": false,
5413
5724
  "type": "option"
@@ -5432,6 +5743,12 @@
5432
5743
  "multiple": false,
5433
5744
  "type": "option"
5434
5745
  },
5746
+ "multiple": {
5747
+ "description": "Multiple use.",
5748
+ "name": "multiple",
5749
+ "allowNo": false,
5750
+ "type": "boolean"
5751
+ },
5435
5752
  "lifetime": {
5436
5753
  "description": "Lifetime of the invitation in seconds",
5437
5754
  "name": "lifetime",
@@ -5440,24 +5757,12 @@
5440
5757
  "multiple": false,
5441
5758
  "type": "option"
5442
5759
  },
5443
- "multiple": {
5444
- "description": "Multiple use.",
5445
- "name": "multiple",
5446
- "allowNo": false,
5447
- "type": "boolean"
5448
- },
5449
5760
  "persistent": {
5450
5761
  "description": "Invitation should resume if client restarts",
5451
5762
  "name": "persistent",
5452
5763
  "allowNo": false,
5453
5764
  "type": "boolean"
5454
5765
  },
5455
- "no-persistent": {
5456
- "description": "Don't resume invitation if client restarts",
5457
- "name": "no-persistent",
5458
- "allowNo": false,
5459
- "type": "boolean"
5460
- },
5461
5766
  "open": {
5462
5767
  "description": "Open browser with invitation.",
5463
5768
  "name": "open",
@@ -5505,7 +5810,7 @@
5505
5810
  "required": true
5506
5811
  }
5507
5812
  },
5508
- "description": "Enable or disable tunnel.",
5813
+ "description": "Enable or disable tunnel (deprecated).",
5509
5814
  "flags": {
5510
5815
  "json": {
5511
5816
  "description": "Output as JSON.",
@@ -5559,17 +5864,12 @@
5559
5864
  "type": "option"
5560
5865
  },
5561
5866
  "no-agent": {
5562
- "description": "Run command without using an agent.",
5867
+ "description": "Run command without starting an agent.",
5868
+ "env": "DX_NO_AGENT",
5563
5869
  "name": "no-agent",
5564
5870
  "allowNo": false,
5565
5871
  "type": "boolean"
5566
5872
  },
5567
- "no-start-agent": {
5568
- "description": "Do not automatically start an agent if one is not running.",
5569
- "name": "no-start-agent",
5570
- "allowNo": false,
5571
- "type": "boolean"
5572
- },
5573
5873
  "timeout": {
5574
5874
  "aliases": [
5575
5875
  "t"
@@ -5604,7 +5904,7 @@
5604
5904
  "name": {
5605
5905
  "description": "Tunnel name",
5606
5906
  "name": "name",
5607
- "default": "tennessee-zulu-winner-saturn",
5907
+ "default": "avocado-mango-sweet-stream",
5608
5908
  "hasDynamicHelp": false,
5609
5909
  "multiple": false,
5610
5910
  "type": "option"
@@ -5616,6 +5916,7 @@
5616
5916
  "pluginAlias": "@dxos/cli",
5617
5917
  "pluginName": "@dxos/cli",
5618
5918
  "pluginType": "core",
5919
+ "state": "deprecated",
5619
5920
  "strict": true,
5620
5921
  "enableJsonFlag": true,
5621
5922
  "isESM": false,
@@ -5684,17 +5985,12 @@
5684
5985
  "type": "option"
5685
5986
  },
5686
5987
  "no-agent": {
5687
- "description": "Run command without using an agent.",
5988
+ "description": "Run command without starting an agent.",
5989
+ "env": "DX_NO_AGENT",
5688
5990
  "name": "no-agent",
5689
5991
  "allowNo": false,
5690
5992
  "type": "boolean"
5691
5993
  },
5692
- "no-start-agent": {
5693
- "description": "Do not automatically start an agent if one is not running.",
5694
- "name": "no-start-agent",
5695
- "allowNo": false,
5696
- "type": "boolean"
5697
- },
5698
5994
  "timeout": {
5699
5995
  "aliases": [
5700
5996
  "t"
@@ -5733,6 +6029,7 @@
5733
6029
  "pluginAlias": "@dxos/cli",
5734
6030
  "pluginName": "@dxos/cli",
5735
6031
  "pluginType": "core",
6032
+ "state": "deprecated",
5736
6033
  "strict": true,
5737
6034
  "enableJsonFlag": true,
5738
6035
  "isESM": false,
@@ -5807,17 +6104,12 @@
5807
6104
  "type": "option"
5808
6105
  },
5809
6106
  "no-agent": {
5810
- "description": "Run command without using an agent.",
6107
+ "description": "Run command without starting an agent.",
6108
+ "env": "DX_NO_AGENT",
5811
6109
  "name": "no-agent",
5812
6110
  "allowNo": false,
5813
6111
  "type": "boolean"
5814
6112
  },
5815
- "no-start-agent": {
5816
- "description": "Do not automatically start an agent if one is not running.",
5817
- "name": "no-start-agent",
5818
- "allowNo": false,
5819
- "type": "boolean"
5820
- },
5821
6113
  "timeout": {
5822
6114
  "aliases": [
5823
6115
  "t"
@@ -5925,17 +6217,12 @@
5925
6217
  "type": "option"
5926
6218
  },
5927
6219
  "no-agent": {
5928
- "description": "Run command without using an agent.",
6220
+ "description": "Run command without starting an agent.",
6221
+ "env": "DX_NO_AGENT",
5929
6222
  "name": "no-agent",
5930
6223
  "allowNo": false,
5931
6224
  "type": "boolean"
5932
6225
  },
5933
- "no-start-agent": {
5934
- "description": "Do not automatically start an agent if one is not running.",
5935
- "name": "no-start-agent",
5936
- "allowNo": false,
5937
- "type": "boolean"
5938
- },
5939
6226
  "timeout": {
5940
6227
  "description": "Time in milliseconds to wait for at least one credential before listing.",
5941
6228
  "name": "timeout",
@@ -6076,5 +6363,5 @@
6076
6363
  ]
6077
6364
  }
6078
6365
  },
6079
- "version": "0.5.3-main.43e79dd"
6366
+ "version": "0.5.3-main.4490e2f"
6080
6367
  }