@dxos/cli 0.5.3-main.bc67fdb → 0.5.3-main.bfb5bca

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 (248) 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 +3 -3
  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 +3 -3
  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 -9
  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 +2 -2
  99. package/dist/src/commands/function/dev.d.ts.map +1 -1
  100. package/dist/src/commands/function/dev.js +31 -16
  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 +10 -7
  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 +1 -1
  131. package/dist/src/commands/halo/keys.d.ts.map +1 -1
  132. package/dist/src/commands/halo/keys.js +2 -2
  133. package/dist/src/commands/halo/keys.js.map +1 -1
  134. package/dist/src/commands/halo/share.d.ts +1 -2
  135. package/dist/src/commands/halo/share.d.ts.map +1 -1
  136. package/dist/src/commands/halo/share.js +3 -3
  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 +1 -2
  187. package/dist/src/commands/space/share.d.ts.map +1 -1
  188. package/dist/src/commands/space/share.js +6 -4
  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/help.js.map +1 -1
  202. package/dist/src/hooks/command-not-found.js +1 -1
  203. package/dist/src/hooks/command-not-found.js.map +1 -1
  204. package/dist/src/util/agents.js.map +1 -1
  205. package/dist/src/util/credentials.js +4 -4
  206. package/dist/src/util/credentials.js.map +1 -1
  207. package/dist/src/util/devices.js +2 -2
  208. package/dist/src/util/devices.js.map +1 -1
  209. package/dist/src/util/index.d.ts +1 -1
  210. package/dist/src/util/index.d.ts.map +1 -1
  211. package/dist/src/util/index.js +1 -1
  212. package/dist/src/util/index.js.map +1 -1
  213. package/dist/src/util/invitations.d.ts +9 -9
  214. package/dist/src/util/invitations.d.ts.map +1 -1
  215. package/dist/src/util/invitations.js.map +1 -1
  216. package/dist/src/util/{types.d.ts → keys.d.ts} +2 -1
  217. package/dist/src/util/keys.d.ts.map +1 -0
  218. package/dist/src/util/{types.js → keys.js} +4 -2
  219. package/dist/src/util/keys.js.map +1 -0
  220. package/dist/src/util/provider/digital-ocean.js.map +1 -1
  221. package/dist/src/util/publish/build.js.map +1 -1
  222. package/dist/src/util/publish/ipfs-upload.d.ts +3 -4
  223. package/dist/src/util/publish/ipfs-upload.d.ts.map +1 -1
  224. package/dist/src/util/publish/ipfs-upload.js +7 -12
  225. package/dist/src/util/publish/ipfs-upload.js.map +1 -1
  226. package/dist/src/util/publish/publish.d.ts +5 -8
  227. package/dist/src/util/publish/publish.d.ts.map +1 -1
  228. package/dist/src/util/publish/publish.js +41 -34
  229. package/dist/src/util/publish/publish.js.map +1 -1
  230. package/dist/src/util/publish/publisher-rpc-peer.js.map +1 -1
  231. package/dist/src/util/spaces.d.ts +1 -1
  232. package/dist/src/util/spaces.d.ts.map +1 -1
  233. package/dist/src/util/spaces.js +5 -5
  234. package/dist/src/util/spaces.js.map +1 -1
  235. package/dist/src/util/supervisor/supervisor-rpc-peer.js.map +1 -1
  236. package/dist/src/util/testing.js.map +1 -1
  237. package/dist/src/util/tree.js.map +1 -1
  238. package/dist/src/util/tunnel/tunnel-rpc-peer.js.map +1 -1
  239. package/oclif.manifest.json +875 -702
  240. package/package.json +40 -37
  241. package/dist/src/base-command.d.ts.map +0 -1
  242. package/dist/src/base-command.js.map +0 -1
  243. package/dist/src/commands/function/exec.d.ts +0 -13
  244. package/dist/src/commands/function/exec.d.ts.map +0 -1
  245. package/dist/src/commands/function/exec.js +0 -48
  246. package/dist/src/commands/function/exec.js.map +0 -1
  247. package/dist/src/util/types.d.ts.map +0 -1
  248. package/dist/src/util/types.js.map +0 -1
@@ -1,9 +1,15 @@
1
1
  {
2
2
  "commands": {
3
- "agent:invitations": {
3
+ "app:create": {
4
4
  "aliases": [],
5
- "args": {},
6
- "description": "List valid invitations.",
5
+ "args": {
6
+ "name": {
7
+ "description": "App name.",
8
+ "name": "name",
9
+ "required": true
10
+ }
11
+ },
12
+ "description": "Manage applications (deprecated).",
7
13
  "flags": {
8
14
  "json": {
9
15
  "description": "Output as JSON.",
@@ -57,17 +63,12 @@
57
63
  "type": "option"
58
64
  },
59
65
  "no-agent": {
60
- "description": "Run command without using an agent.",
66
+ "description": "Run command without starting an agent.",
67
+ "env": "DX_NO_AGENT",
61
68
  "name": "no-agent",
62
69
  "allowNo": false,
63
70
  "type": "boolean"
64
71
  },
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
72
  "timeout": {
72
73
  "aliases": [
73
74
  "t"
@@ -99,19 +100,42 @@
99
100
  "multiple": false,
100
101
  "type": "option"
101
102
  },
102
- "no-truncate": {
103
- "description": "Do not truncate keys.",
104
- "name": "no-truncate",
103
+ "tag": {
104
+ "description": "Git tag or branch of the DXOS repo to checkout.",
105
+ "name": "tag",
106
+ "hasDynamicHelp": false,
107
+ "multiple": false,
108
+ "type": "option"
109
+ },
110
+ "template": {
111
+ "char": "t",
112
+ "description": "Template to use when creating the project.",
113
+ "name": "template",
114
+ "default": "hello",
115
+ "hasDynamicHelp": false,
116
+ "multiple": false,
117
+ "options": [
118
+ "hello",
119
+ "bare",
120
+ "tasks"
121
+ ],
122
+ "type": "option"
123
+ },
124
+ "interactive": {
125
+ "char": "i",
126
+ "description": "Customize app template options via interactive prompt.",
127
+ "name": "interactive",
105
128
  "allowNo": false,
106
129
  "type": "boolean"
107
130
  }
108
131
  },
109
132
  "hasDynamicHelp": false,
110
133
  "hiddenAliases": [],
111
- "id": "agent:invitations",
134
+ "id": "app:create",
112
135
  "pluginAlias": "@dxos/cli",
113
136
  "pluginName": "@dxos/cli",
114
137
  "pluginType": "core",
138
+ "state": "deprecated",
115
139
  "strict": true,
116
140
  "enableJsonFlag": true,
117
141
  "isESM": false,
@@ -119,14 +143,14 @@
119
143
  "dist",
120
144
  "src",
121
145
  "commands",
122
- "agent",
123
- "invitations.js"
146
+ "app",
147
+ "create.js"
124
148
  ]
125
149
  },
126
- "agent:list": {
150
+ "app:list": {
127
151
  "aliases": [],
128
152
  "args": {},
129
- "description": "List agents.",
153
+ "description": "List apps.",
130
154
  "flags": {
131
155
  "json": {
132
156
  "description": "Output as JSON.",
@@ -180,17 +204,12 @@
180
204
  "type": "option"
181
205
  },
182
206
  "no-agent": {
183
- "description": "Run command without using an agent.",
207
+ "description": "Run command without starting an agent.",
208
+ "env": "DX_NO_AGENT",
184
209
  "name": "no-agent",
185
210
  "allowNo": false,
186
211
  "type": "boolean"
187
212
  },
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
213
  "timeout": {
195
214
  "aliases": [
196
215
  "t"
@@ -221,103 +240,15 @@
221
240
  "hasDynamicHelp": false,
222
241
  "multiple": false,
223
242
  "type": "option"
224
- },
225
- "columns": {
226
- "description": "only show provided columns (comma-separated)",
227
- "exclusive": [
228
- "extended"
229
- ],
230
- "name": "columns",
231
- "hasDynamicHelp": false,
232
- "multiple": false,
233
- "type": "option"
234
- },
235
- "csv": {
236
- "description": "output is csv format [alias: --output=csv]",
237
- "exclusive": [
238
- "no-truncate"
239
- ],
240
- "name": "csv",
241
- "allowNo": false,
242
- "type": "boolean"
243
- },
244
- "extended": {
245
- "char": "x",
246
- "description": "show extra columns",
247
- "exclusive": [
248
- "columns"
249
- ],
250
- "name": "extended",
251
- "allowNo": false,
252
- "type": "boolean"
253
- },
254
- "filter": {
255
- "description": "filter property by partial string matching, ex: name=foo",
256
- "name": "filter",
257
- "hasDynamicHelp": false,
258
- "multiple": false,
259
- "type": "option"
260
- },
261
- "no-header": {
262
- "description": "hide table header from output",
263
- "exclusive": [
264
- "csv"
265
- ],
266
- "name": "no-header",
267
- "allowNo": false,
268
- "type": "boolean"
269
- },
270
- "no-truncate": {
271
- "description": "do not truncate output to fit screen",
272
- "exclusive": [
273
- "csv"
274
- ],
275
- "name": "no-truncate",
276
- "allowNo": false,
277
- "type": "boolean"
278
- },
279
- "output": {
280
- "description": "output in a more machine friendly format",
281
- "exclusive": [
282
- "no-truncate",
283
- "csv"
284
- ],
285
- "name": "output",
286
- "hasDynamicHelp": false,
287
- "multiple": false,
288
- "options": [
289
- "csv",
290
- "json",
291
- "yaml"
292
- ],
293
- "type": "option"
294
- },
295
- "sort": {
296
- "description": "property to sort by (prepend '-' for descending)",
297
- "name": "sort",
298
- "hasDynamicHelp": false,
299
- "multiple": false,
300
- "type": "option"
301
- },
302
- "live": {
303
- "description": "Live update.",
304
- "name": "live",
305
- "allowNo": false,
306
- "type": "boolean"
307
- },
308
- "system": {
309
- "description": "Run as system daemon.",
310
- "name": "system",
311
- "allowNo": false,
312
- "type": "boolean"
313
243
  }
314
244
  },
315
245
  "hasDynamicHelp": false,
316
246
  "hiddenAliases": [],
317
- "id": "agent:list",
247
+ "id": "app:list",
318
248
  "pluginAlias": "@dxos/cli",
319
249
  "pluginName": "@dxos/cli",
320
250
  "pluginType": "core",
251
+ "state": "deprecated",
321
252
  "strict": true,
322
253
  "enableJsonFlag": true,
323
254
  "isESM": false,
@@ -325,14 +256,20 @@
325
256
  "dist",
326
257
  "src",
327
258
  "commands",
328
- "agent",
259
+ "app",
329
260
  "list.js"
330
261
  ]
331
262
  },
332
- "agent:restart": {
263
+ "app:open": {
333
264
  "aliases": [],
334
- "args": {},
335
- "description": "Restart agent daemon.",
265
+ "args": {
266
+ "url": {
267
+ "description": "App URL.",
268
+ "name": "url",
269
+ "required": true
270
+ }
271
+ },
272
+ "description": "Opens app with provided url and process device invitation.",
336
273
  "flags": {
337
274
  "json": {
338
275
  "description": "Output as JSON.",
@@ -386,17 +323,12 @@
386
323
  "type": "option"
387
324
  },
388
325
  "no-agent": {
389
- "description": "Run command without using an agent.",
326
+ "description": "Run command without starting an agent.",
327
+ "env": "DX_NO_AGENT",
390
328
  "name": "no-agent",
391
329
  "allowNo": false,
392
330
  "type": "boolean"
393
331
  },
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
332
  "timeout": {
401
333
  "aliases": [
402
334
  "t"
@@ -428,25 +360,28 @@
428
360
  "multiple": false,
429
361
  "type": "option"
430
362
  },
431
- "force": {
432
- "description": "Force restart.",
433
- "name": "force",
434
- "allowNo": false,
435
- "type": "boolean"
363
+ "instances": {
364
+ "description": "Amount of test instances.",
365
+ "name": "instances",
366
+ "default": 1,
367
+ "hasDynamicHelp": false,
368
+ "multiple": false,
369
+ "type": "option"
436
370
  },
437
- "system": {
438
- "description": "Run as system daemon.",
439
- "name": "system",
371
+ "invite": {
372
+ "description": "If `true` proceed device invitation for all instances.",
373
+ "name": "invite",
440
374
  "allowNo": false,
441
375
  "type": "boolean"
442
376
  }
443
377
  },
444
378
  "hasDynamicHelp": false,
445
379
  "hiddenAliases": [],
446
- "id": "agent:restart",
380
+ "id": "app:open",
447
381
  "pluginAlias": "@dxos/cli",
448
382
  "pluginName": "@dxos/cli",
449
383
  "pluginType": "core",
384
+ "state": "deprecated",
450
385
  "strict": true,
451
386
  "enableJsonFlag": true,
452
387
  "isESM": false,
@@ -454,20 +389,14 @@
454
389
  "dist",
455
390
  "src",
456
391
  "commands",
457
- "agent",
458
- "restart.js"
392
+ "app",
393
+ "open.js"
459
394
  ]
460
395
  },
461
- "agent:start": {
396
+ "app:publish": {
462
397
  "aliases": [],
463
398
  "args": {},
464
- "description": "Starts the agent.",
465
- "examples": [
466
- {
467
- "description": "Run with .",
468
- "command": "dx agent start -f --ws=5001"
469
- }
470
- ],
399
+ "description": "Publish apps.",
471
400
  "flags": {
472
401
  "json": {
473
402
  "description": "Output as JSON.",
@@ -521,17 +450,12 @@
521
450
  "type": "option"
522
451
  },
523
452
  "no-agent": {
524
- "description": "Run command without using an agent.",
453
+ "description": "Run command without starting an agent.",
454
+ "env": "DX_NO_AGENT",
525
455
  "name": "no-agent",
526
456
  "allowNo": false,
527
457
  "type": "boolean"
528
458
  },
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
459
  "timeout": {
536
460
  "aliases": [
537
461
  "t"
@@ -563,51 +487,41 @@
563
487
  "multiple": false,
564
488
  "type": "option"
565
489
  },
566
- "foreground": {
567
- "char": "f",
568
- "description": "Run in foreground.",
569
- "name": "foreground",
570
- "allowNo": false,
571
- "type": "boolean"
572
- },
573
- "system": {
574
- "description": "Run as system daemon.",
575
- "name": "system",
576
- "allowNo": false,
577
- "type": "boolean"
578
- },
579
- "ws": {
580
- "aliases": [
581
- "web-socket"
582
- ],
583
- "description": "Expose web socket port.",
584
- "name": "ws",
490
+ "configPath": {
491
+ "description": "Path to dx.yml",
492
+ "name": "configPath",
585
493
  "hasDynamicHelp": false,
586
- "helpValue": "port",
587
494
  "multiple": false,
588
495
  "type": "option"
589
496
  },
590
- "http": {
591
- "description": "Expose http port.",
592
- "name": "http",
497
+ "accessToken": {
498
+ "description": "Access token for publishing.",
499
+ "name": "accessToken",
593
500
  "hasDynamicHelp": false,
594
- "helpValue": "port",
595
501
  "multiple": false,
596
502
  "type": "option"
597
503
  },
598
- "metrics": {
599
- "description": "Start metrics recording.",
600
- "name": "metrics",
504
+ "skipExisting": {
505
+ "description": "Do not update content on KUBE if version already exists.",
506
+ "name": "skipExisting",
601
507
  "allowNo": false,
602
508
  "type": "boolean"
509
+ },
510
+ "version": {
511
+ "description": "Version of modules to publish.",
512
+ "name": "version",
513
+ "hasDynamicHelp": false,
514
+ "multiple": false,
515
+ "type": "option"
603
516
  }
604
517
  },
605
518
  "hasDynamicHelp": false,
606
519
  "hiddenAliases": [],
607
- "id": "agent:start",
520
+ "id": "app:publish",
608
521
  "pluginAlias": "@dxos/cli",
609
522
  "pluginName": "@dxos/cli",
610
523
  "pluginType": "core",
524
+ "state": "deprecated",
611
525
  "strict": true,
612
526
  "enableJsonFlag": true,
613
527
  "isESM": false,
@@ -615,14 +529,13 @@
615
529
  "dist",
616
530
  "src",
617
531
  "commands",
618
- "agent",
619
- "start.js"
532
+ "app",
533
+ "publish.js"
620
534
  ]
621
535
  },
622
- "agent:status": {
536
+ "composer:base": {
623
537
  "aliases": [],
624
538
  "args": {},
625
- "description": "Show agent status",
626
539
  "flags": {
627
540
  "json": {
628
541
  "description": "Output as JSON.",
@@ -676,17 +589,12 @@
676
589
  "type": "option"
677
590
  },
678
591
  "no-agent": {
679
- "description": "Run command without using an agent.",
592
+ "description": "Run command without starting an agent.",
593
+ "env": "DX_NO_AGENT",
680
594
  "name": "no-agent",
681
595
  "allowNo": false,
682
596
  "type": "boolean"
683
597
  },
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
598
  "timeout": {
691
599
  "aliases": [
692
600
  "t"
@@ -721,7 +629,7 @@
721
629
  },
722
630
  "hasDynamicHelp": false,
723
631
  "hiddenAliases": [],
724
- "id": "agent:status",
632
+ "id": "composer:base",
725
633
  "pluginAlias": "@dxos/cli",
726
634
  "pluginName": "@dxos/cli",
727
635
  "pluginType": "core",
@@ -732,14 +640,19 @@
732
640
  "dist",
733
641
  "src",
734
642
  "commands",
735
- "agent",
736
- "status.js"
643
+ "composer",
644
+ "base.js"
737
645
  ]
738
646
  },
739
- "agent:stop": {
647
+ "composer:import": {
740
648
  "aliases": [],
741
- "args": {},
742
- "description": "Stop agent daemon.",
649
+ "args": {
650
+ "file": {
651
+ "name": "file",
652
+ "required": true
653
+ }
654
+ },
655
+ "description": "Import ECHO objects.",
743
656
  "flags": {
744
657
  "json": {
745
658
  "description": "Output as JSON.",
@@ -793,17 +706,12 @@
793
706
  "type": "option"
794
707
  },
795
708
  "no-agent": {
796
- "description": "Run command without using an agent.",
709
+ "description": "Run command without starting an agent.",
710
+ "env": "DX_NO_AGENT",
797
711
  "name": "no-agent",
798
712
  "allowNo": false,
799
713
  "type": "boolean"
800
714
  },
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
715
  "timeout": {
808
716
  "aliases": [
809
717
  "t"
@@ -835,28 +743,17 @@
835
743
  "multiple": false,
836
744
  "type": "option"
837
745
  },
838
- "all": {
839
- "description": "Stop all agents.",
840
- "name": "all",
841
- "allowNo": false,
842
- "type": "boolean"
843
- },
844
- "force": {
845
- "description": "Force stop.",
846
- "name": "force",
847
- "allowNo": false,
848
- "type": "boolean"
849
- },
850
- "system": {
851
- "description": "Run as system daemon.",
852
- "name": "system",
853
- "allowNo": false,
854
- "type": "boolean"
746
+ "key": {
747
+ "description": "Space key(s) head in hex.",
748
+ "name": "key",
749
+ "hasDynamicHelp": false,
750
+ "multiple": true,
751
+ "type": "option"
855
752
  }
856
753
  },
857
754
  "hasDynamicHelp": false,
858
755
  "hiddenAliases": [],
859
- "id": "agent:stop",
756
+ "id": "composer:import",
860
757
  "pluginAlias": "@dxos/cli",
861
758
  "pluginName": "@dxos/cli",
862
759
  "pluginType": "core",
@@ -867,20 +764,14 @@
867
764
  "dist",
868
765
  "src",
869
766
  "commands",
870
- "agent",
871
- "stop.js"
767
+ "composer",
768
+ "import.js"
872
769
  ]
873
770
  },
874
- "app:create": {
771
+ "composer:query": {
875
772
  "aliases": [],
876
- "args": {
877
- "name": {
878
- "description": "App name.",
879
- "name": "name",
880
- "required": true
881
- }
882
- },
883
- "description": "Manage applications.",
773
+ "args": {},
774
+ "description": "Query database.",
884
775
  "flags": {
885
776
  "json": {
886
777
  "description": "Output as JSON.",
@@ -934,17 +825,12 @@
934
825
  "type": "option"
935
826
  },
936
827
  "no-agent": {
937
- "description": "Run command without using an agent.",
828
+ "description": "Run command without starting an agent.",
829
+ "env": "DX_NO_AGENT",
938
830
  "name": "no-agent",
939
831
  "allowNo": false,
940
832
  "type": "boolean"
941
833
  },
942
- "no-start-agent": {
943
- "description": "Do not automatically start an agent if one is not running.",
944
- "name": "no-start-agent",
945
- "allowNo": false,
946
- "type": "boolean"
947
- },
948
834
  "timeout": {
949
835
  "aliases": [
950
836
  "t"
@@ -976,38 +862,24 @@
976
862
  "multiple": false,
977
863
  "type": "option"
978
864
  },
979
- "tag": {
980
- "description": "Git tag or branch of the DXOS repo to checkout.",
981
- "name": "tag",
865
+ "key": {
866
+ "description": "Space key(s) head in hex.",
867
+ "name": "key",
982
868
  "hasDynamicHelp": false,
983
- "multiple": false,
869
+ "multiple": true,
984
870
  "type": "option"
985
871
  },
986
- "template": {
987
- "char": "t",
988
- "description": "Template to use when creating the project.",
989
- "name": "template",
990
- "default": "hello",
872
+ "type": {
873
+ "description": "Data type.",
874
+ "name": "type",
991
875
  "hasDynamicHelp": false,
992
876
  "multiple": false,
993
- "options": [
994
- "hello",
995
- "bare",
996
- "tasks"
997
- ],
998
877
  "type": "option"
999
- },
1000
- "interactive": {
1001
- "char": "i",
1002
- "description": "Customize app template options via interactive prompt.",
1003
- "name": "interactive",
1004
- "allowNo": false,
1005
- "type": "boolean"
1006
878
  }
1007
879
  },
1008
880
  "hasDynamicHelp": false,
1009
881
  "hiddenAliases": [],
1010
- "id": "app:create",
882
+ "id": "composer:query",
1011
883
  "pluginAlias": "@dxos/cli",
1012
884
  "pluginName": "@dxos/cli",
1013
885
  "pluginType": "core",
@@ -1018,14 +890,14 @@
1018
890
  "dist",
1019
891
  "src",
1020
892
  "commands",
1021
- "app",
1022
- "create.js"
893
+ "composer",
894
+ "query.js"
1023
895
  ]
1024
896
  },
1025
- "app:list": {
897
+ "composer:upload": {
1026
898
  "aliases": [],
1027
899
  "args": {},
1028
- "description": "List apps.",
900
+ "description": "Upload IPFS file.",
1029
901
  "flags": {
1030
902
  "json": {
1031
903
  "description": "Output as JSON.",
@@ -1079,17 +951,12 @@
1079
951
  "type": "option"
1080
952
  },
1081
953
  "no-agent": {
1082
- "description": "Run command without using an agent.",
954
+ "description": "Run command without starting an agent.",
955
+ "env": "DX_NO_AGENT",
1083
956
  "name": "no-agent",
1084
957
  "allowNo": false,
1085
958
  "type": "boolean"
1086
959
  },
1087
- "no-start-agent": {
1088
- "description": "Do not automatically start an agent if one is not running.",
1089
- "name": "no-start-agent",
1090
- "allowNo": false,
1091
- "type": "boolean"
1092
- },
1093
960
  "timeout": {
1094
961
  "aliases": [
1095
962
  "t"
@@ -1120,11 +987,25 @@
1120
987
  "hasDynamicHelp": false,
1121
988
  "multiple": false,
1122
989
  "type": "option"
990
+ },
991
+ "key": {
992
+ "description": "Space key(s) head in hex.",
993
+ "name": "key",
994
+ "hasDynamicHelp": false,
995
+ "multiple": true,
996
+ "type": "option"
997
+ },
998
+ "file": {
999
+ "name": "file",
1000
+ "required": true,
1001
+ "hasDynamicHelp": false,
1002
+ "multiple": false,
1003
+ "type": "option"
1123
1004
  }
1124
1005
  },
1125
1006
  "hasDynamicHelp": false,
1126
1007
  "hiddenAliases": [],
1127
- "id": "app:list",
1008
+ "id": "composer:upload",
1128
1009
  "pluginAlias": "@dxos/cli",
1129
1010
  "pluginName": "@dxos/cli",
1130
1011
  "pluginType": "core",
@@ -1135,20 +1016,14 @@
1135
1016
  "dist",
1136
1017
  "src",
1137
1018
  "commands",
1138
- "app",
1139
- "list.js"
1019
+ "composer",
1020
+ "upload.js"
1140
1021
  ]
1141
1022
  },
1142
- "app:open": {
1023
+ "agent:invitations": {
1143
1024
  "aliases": [],
1144
- "args": {
1145
- "url": {
1146
- "description": "App URL.",
1147
- "name": "url",
1148
- "required": true
1149
- }
1150
- },
1151
- "description": "Opens app with provided url and process device invitation.",
1025
+ "args": {},
1026
+ "description": "List valid invitations.",
1152
1027
  "flags": {
1153
1028
  "json": {
1154
1029
  "description": "Output as JSON.",
@@ -1202,17 +1077,12 @@
1202
1077
  "type": "option"
1203
1078
  },
1204
1079
  "no-agent": {
1205
- "description": "Run command without using an agent.",
1080
+ "description": "Run command without starting an agent.",
1081
+ "env": "DX_NO_AGENT",
1206
1082
  "name": "no-agent",
1207
1083
  "allowNo": false,
1208
1084
  "type": "boolean"
1209
1085
  },
1210
- "no-start-agent": {
1211
- "description": "Do not automatically start an agent if one is not running.",
1212
- "name": "no-start-agent",
1213
- "allowNo": false,
1214
- "type": "boolean"
1215
- },
1216
1086
  "timeout": {
1217
1087
  "aliases": [
1218
1088
  "t"
@@ -1244,24 +1114,16 @@
1244
1114
  "multiple": false,
1245
1115
  "type": "option"
1246
1116
  },
1247
- "instances": {
1248
- "description": "Amount of test instances.",
1249
- "name": "instances",
1250
- "default": 1,
1251
- "hasDynamicHelp": false,
1252
- "multiple": false,
1253
- "type": "option"
1254
- },
1255
- "invite": {
1256
- "description": "If `true` proceed device invitation for all instances.",
1257
- "name": "invite",
1117
+ "no-truncate": {
1118
+ "description": "Do not truncate keys.",
1119
+ "name": "no-truncate",
1258
1120
  "allowNo": false,
1259
1121
  "type": "boolean"
1260
1122
  }
1261
1123
  },
1262
1124
  "hasDynamicHelp": false,
1263
1125
  "hiddenAliases": [],
1264
- "id": "app:open",
1126
+ "id": "agent:invitations",
1265
1127
  "pluginAlias": "@dxos/cli",
1266
1128
  "pluginName": "@dxos/cli",
1267
1129
  "pluginType": "core",
@@ -1272,14 +1134,14 @@
1272
1134
  "dist",
1273
1135
  "src",
1274
1136
  "commands",
1275
- "app",
1276
- "open.js"
1137
+ "agent",
1138
+ "invitations.js"
1277
1139
  ]
1278
1140
  },
1279
- "app:publish": {
1141
+ "agent:list": {
1280
1142
  "aliases": [],
1281
1143
  "args": {},
1282
- "description": "Publish apps.",
1144
+ "description": "List agents.",
1283
1145
  "flags": {
1284
1146
  "json": {
1285
1147
  "description": "Output as JSON.",
@@ -1333,17 +1195,12 @@
1333
1195
  "type": "option"
1334
1196
  },
1335
1197
  "no-agent": {
1336
- "description": "Run command without using an agent.",
1198
+ "description": "Run command without starting an agent.",
1199
+ "env": "DX_NO_AGENT",
1337
1200
  "name": "no-agent",
1338
1201
  "allowNo": false,
1339
1202
  "type": "boolean"
1340
1203
  },
1341
- "no-start-agent": {
1342
- "description": "Do not automatically start an agent if one is not running.",
1343
- "name": "no-start-agent",
1344
- "allowNo": false,
1345
- "type": "boolean"
1346
- },
1347
1204
  "timeout": {
1348
1205
  "aliases": [
1349
1206
  "t"
@@ -1375,37 +1232,621 @@
1375
1232
  "multiple": false,
1376
1233
  "type": "option"
1377
1234
  },
1378
- "configPath": {
1379
- "description": "Path to dx.yml",
1380
- "name": "configPath",
1235
+ "columns": {
1236
+ "description": "only show provided columns (comma-separated)",
1237
+ "exclusive": [
1238
+ "extended"
1239
+ ],
1240
+ "name": "columns",
1381
1241
  "hasDynamicHelp": false,
1382
1242
  "multiple": false,
1383
1243
  "type": "option"
1384
1244
  },
1385
- "accessToken": {
1386
- "description": "Access token for publishing.",
1387
- "name": "accessToken",
1245
+ "csv": {
1246
+ "description": "output is csv format [alias: --output=csv]",
1247
+ "exclusive": [
1248
+ "no-truncate"
1249
+ ],
1250
+ "name": "csv",
1251
+ "allowNo": false,
1252
+ "type": "boolean"
1253
+ },
1254
+ "extended": {
1255
+ "char": "x",
1256
+ "description": "show extra columns",
1257
+ "exclusive": [
1258
+ "columns"
1259
+ ],
1260
+ "name": "extended",
1261
+ "allowNo": false,
1262
+ "type": "boolean"
1263
+ },
1264
+ "filter": {
1265
+ "description": "filter property by partial string matching, ex: name=foo",
1266
+ "name": "filter",
1267
+ "hasDynamicHelp": false,
1268
+ "multiple": false,
1269
+ "type": "option"
1270
+ },
1271
+ "no-header": {
1272
+ "description": "hide table header from output",
1273
+ "exclusive": [
1274
+ "csv"
1275
+ ],
1276
+ "name": "no-header",
1277
+ "allowNo": false,
1278
+ "type": "boolean"
1279
+ },
1280
+ "no-truncate": {
1281
+ "description": "do not truncate output to fit screen",
1282
+ "exclusive": [
1283
+ "csv"
1284
+ ],
1285
+ "name": "no-truncate",
1286
+ "allowNo": false,
1287
+ "type": "boolean"
1288
+ },
1289
+ "output": {
1290
+ "description": "output in a more machine friendly format",
1291
+ "exclusive": [
1292
+ "no-truncate",
1293
+ "csv"
1294
+ ],
1295
+ "name": "output",
1296
+ "hasDynamicHelp": false,
1297
+ "multiple": false,
1298
+ "options": [
1299
+ "csv",
1300
+ "json",
1301
+ "yaml"
1302
+ ],
1303
+ "type": "option"
1304
+ },
1305
+ "sort": {
1306
+ "description": "property to sort by (prepend '-' for descending)",
1307
+ "name": "sort",
1388
1308
  "hasDynamicHelp": false,
1389
1309
  "multiple": false,
1390
1310
  "type": "option"
1391
1311
  },
1392
- "skipExisting": {
1393
- "description": "Do not update content on KUBE if version already exists.",
1394
- "name": "skipExisting",
1312
+ "live": {
1313
+ "description": "Live update.",
1314
+ "name": "live",
1315
+ "allowNo": false,
1316
+ "type": "boolean"
1317
+ },
1318
+ "system": {
1319
+ "description": "Run as system daemon.",
1320
+ "name": "system",
1321
+ "allowNo": false,
1322
+ "type": "boolean"
1323
+ }
1324
+ },
1325
+ "hasDynamicHelp": false,
1326
+ "hiddenAliases": [],
1327
+ "id": "agent:list",
1328
+ "pluginAlias": "@dxos/cli",
1329
+ "pluginName": "@dxos/cli",
1330
+ "pluginType": "core",
1331
+ "strict": true,
1332
+ "enableJsonFlag": true,
1333
+ "isESM": false,
1334
+ "relativePath": [
1335
+ "dist",
1336
+ "src",
1337
+ "commands",
1338
+ "agent",
1339
+ "list.js"
1340
+ ]
1341
+ },
1342
+ "agent:restart": {
1343
+ "aliases": [],
1344
+ "args": {},
1345
+ "description": "Restart agent daemon.",
1346
+ "flags": {
1347
+ "json": {
1348
+ "description": "Output as JSON.",
1349
+ "name": "json",
1350
+ "allowNo": false,
1351
+ "type": "boolean"
1352
+ },
1353
+ "dry-run": {
1354
+ "description": "Dry run.",
1355
+ "name": "dry-run",
1356
+ "allowNo": false,
1357
+ "type": "boolean"
1358
+ },
1359
+ "verbose": {
1360
+ "char": "v",
1361
+ "description": "Verbose output",
1362
+ "name": "verbose",
1363
+ "allowNo": false,
1364
+ "type": "boolean"
1365
+ },
1366
+ "profile": {
1367
+ "description": "User profile.",
1368
+ "env": "DX_PROFILE",
1369
+ "name": "profile",
1370
+ "default": "default",
1371
+ "hasDynamicHelp": false,
1372
+ "multiple": false,
1373
+ "type": "option"
1374
+ },
1375
+ "config": {
1376
+ "aliases": [
1377
+ "c"
1378
+ ],
1379
+ "dependsOn": [
1380
+ "profile"
1381
+ ],
1382
+ "description": "Config file.",
1383
+ "env": "DX_CONFIG",
1384
+ "name": "config",
1385
+ "default": "/home/runner/.config/dx/profile/default.yml",
1386
+ "hasDynamicHelp": false,
1387
+ "helpValue": "path",
1388
+ "multiple": false,
1389
+ "type": "option"
1390
+ },
1391
+ "target": {
1392
+ "description": "Target websocket server.",
1393
+ "name": "target",
1394
+ "hasDynamicHelp": false,
1395
+ "multiple": false,
1396
+ "type": "option"
1397
+ },
1398
+ "no-agent": {
1399
+ "description": "Run command without starting an agent.",
1400
+ "env": "DX_NO_AGENT",
1401
+ "name": "no-agent",
1402
+ "allowNo": false,
1403
+ "type": "boolean"
1404
+ },
1405
+ "timeout": {
1406
+ "aliases": [
1407
+ "t"
1408
+ ],
1409
+ "description": "Timeout (ms).",
1410
+ "name": "timeout",
1411
+ "default": 60000,
1412
+ "hasDynamicHelp": false,
1413
+ "multiple": false,
1414
+ "type": "option"
1415
+ },
1416
+ "no-wait": {
1417
+ "description": "Do not wait for space to be ready.",
1418
+ "name": "no-wait",
1419
+ "allowNo": false,
1420
+ "type": "boolean"
1421
+ },
1422
+ "json-log": {
1423
+ "description": "When running in foreground, log JSON format",
1424
+ "name": "json-log",
1425
+ "allowNo": false,
1426
+ "type": "boolean"
1427
+ },
1428
+ "json-logfile": {
1429
+ "description": "JSON log file destination, or 'stdout' or 'stderr'",
1430
+ "name": "json-logfile",
1431
+ "default": "stderr",
1432
+ "hasDynamicHelp": false,
1433
+ "multiple": false,
1434
+ "type": "option"
1435
+ },
1436
+ "force": {
1437
+ "description": "Force restart.",
1438
+ "name": "force",
1439
+ "allowNo": false,
1440
+ "type": "boolean"
1441
+ },
1442
+ "system": {
1443
+ "description": "Run as system daemon.",
1444
+ "name": "system",
1445
+ "allowNo": false,
1446
+ "type": "boolean"
1447
+ }
1448
+ },
1449
+ "hasDynamicHelp": false,
1450
+ "hiddenAliases": [],
1451
+ "id": "agent:restart",
1452
+ "pluginAlias": "@dxos/cli",
1453
+ "pluginName": "@dxos/cli",
1454
+ "pluginType": "core",
1455
+ "strict": true,
1456
+ "enableJsonFlag": true,
1457
+ "isESM": false,
1458
+ "relativePath": [
1459
+ "dist",
1460
+ "src",
1461
+ "commands",
1462
+ "agent",
1463
+ "restart.js"
1464
+ ]
1465
+ },
1466
+ "agent:start": {
1467
+ "aliases": [],
1468
+ "args": {},
1469
+ "description": "Starts the agent.",
1470
+ "examples": [
1471
+ {
1472
+ "description": "Run with .",
1473
+ "command": "dx agent start -f --ws=5001"
1474
+ }
1475
+ ],
1476
+ "flags": {
1477
+ "json": {
1478
+ "description": "Output as JSON.",
1479
+ "name": "json",
1480
+ "allowNo": false,
1481
+ "type": "boolean"
1482
+ },
1483
+ "dry-run": {
1484
+ "description": "Dry run.",
1485
+ "name": "dry-run",
1486
+ "allowNo": false,
1487
+ "type": "boolean"
1488
+ },
1489
+ "verbose": {
1490
+ "char": "v",
1491
+ "description": "Verbose output",
1492
+ "name": "verbose",
1493
+ "allowNo": false,
1494
+ "type": "boolean"
1495
+ },
1496
+ "profile": {
1497
+ "description": "User profile.",
1498
+ "env": "DX_PROFILE",
1499
+ "name": "profile",
1500
+ "default": "default",
1501
+ "hasDynamicHelp": false,
1502
+ "multiple": false,
1503
+ "type": "option"
1504
+ },
1505
+ "config": {
1506
+ "aliases": [
1507
+ "c"
1508
+ ],
1509
+ "dependsOn": [
1510
+ "profile"
1511
+ ],
1512
+ "description": "Config file.",
1513
+ "env": "DX_CONFIG",
1514
+ "name": "config",
1515
+ "default": "/home/runner/.config/dx/profile/default.yml",
1516
+ "hasDynamicHelp": false,
1517
+ "helpValue": "path",
1518
+ "multiple": false,
1519
+ "type": "option"
1520
+ },
1521
+ "target": {
1522
+ "description": "Target websocket server.",
1523
+ "name": "target",
1524
+ "hasDynamicHelp": false,
1525
+ "multiple": false,
1526
+ "type": "option"
1527
+ },
1528
+ "no-agent": {
1529
+ "description": "Run command without starting an agent.",
1530
+ "env": "DX_NO_AGENT",
1531
+ "name": "no-agent",
1532
+ "allowNo": false,
1533
+ "type": "boolean"
1534
+ },
1535
+ "timeout": {
1536
+ "aliases": [
1537
+ "t"
1538
+ ],
1539
+ "description": "Timeout (ms).",
1540
+ "name": "timeout",
1541
+ "default": 60000,
1542
+ "hasDynamicHelp": false,
1543
+ "multiple": false,
1544
+ "type": "option"
1545
+ },
1546
+ "no-wait": {
1547
+ "description": "Do not wait for space to be ready.",
1548
+ "name": "no-wait",
1549
+ "allowNo": false,
1550
+ "type": "boolean"
1551
+ },
1552
+ "json-log": {
1553
+ "description": "When running in foreground, log JSON format",
1554
+ "name": "json-log",
1555
+ "allowNo": false,
1556
+ "type": "boolean"
1557
+ },
1558
+ "json-logfile": {
1559
+ "description": "JSON log file destination, or 'stdout' or 'stderr'",
1560
+ "name": "json-logfile",
1561
+ "default": "stderr",
1562
+ "hasDynamicHelp": false,
1563
+ "multiple": false,
1564
+ "type": "option"
1565
+ },
1566
+ "foreground": {
1567
+ "char": "f",
1568
+ "description": "Run in foreground.",
1569
+ "name": "foreground",
1570
+ "allowNo": false,
1571
+ "type": "boolean"
1572
+ },
1573
+ "system": {
1574
+ "description": "Run as system daemon.",
1575
+ "name": "system",
1576
+ "allowNo": false,
1577
+ "type": "boolean"
1578
+ },
1579
+ "ws": {
1580
+ "aliases": [
1581
+ "web-socket"
1582
+ ],
1583
+ "description": "Expose web socket port.",
1584
+ "name": "ws",
1585
+ "hasDynamicHelp": false,
1586
+ "helpValue": "port",
1587
+ "multiple": false,
1588
+ "type": "option"
1589
+ },
1590
+ "http": {
1591
+ "description": "Expose http port.",
1592
+ "name": "http",
1593
+ "hasDynamicHelp": false,
1594
+ "helpValue": "port",
1595
+ "multiple": false,
1596
+ "type": "option"
1597
+ },
1598
+ "metrics": {
1599
+ "description": "Start metrics recording.",
1600
+ "name": "metrics",
1601
+ "allowNo": false,
1602
+ "type": "boolean"
1603
+ }
1604
+ },
1605
+ "hasDynamicHelp": false,
1606
+ "hiddenAliases": [],
1607
+ "id": "agent:start",
1608
+ "pluginAlias": "@dxos/cli",
1609
+ "pluginName": "@dxos/cli",
1610
+ "pluginType": "core",
1611
+ "strict": true,
1612
+ "enableJsonFlag": true,
1613
+ "isESM": false,
1614
+ "relativePath": [
1615
+ "dist",
1616
+ "src",
1617
+ "commands",
1618
+ "agent",
1619
+ "start.js"
1620
+ ]
1621
+ },
1622
+ "agent:status": {
1623
+ "aliases": [],
1624
+ "args": {},
1625
+ "description": "Show agent status",
1626
+ "flags": {
1627
+ "json": {
1628
+ "description": "Output as JSON.",
1629
+ "name": "json",
1630
+ "allowNo": false,
1631
+ "type": "boolean"
1632
+ },
1633
+ "dry-run": {
1634
+ "description": "Dry run.",
1635
+ "name": "dry-run",
1636
+ "allowNo": false,
1637
+ "type": "boolean"
1638
+ },
1639
+ "verbose": {
1640
+ "char": "v",
1641
+ "description": "Verbose output",
1642
+ "name": "verbose",
1643
+ "allowNo": false,
1644
+ "type": "boolean"
1645
+ },
1646
+ "profile": {
1647
+ "description": "User profile.",
1648
+ "env": "DX_PROFILE",
1649
+ "name": "profile",
1650
+ "default": "default",
1651
+ "hasDynamicHelp": false,
1652
+ "multiple": false,
1653
+ "type": "option"
1654
+ },
1655
+ "config": {
1656
+ "aliases": [
1657
+ "c"
1658
+ ],
1659
+ "dependsOn": [
1660
+ "profile"
1661
+ ],
1662
+ "description": "Config file.",
1663
+ "env": "DX_CONFIG",
1664
+ "name": "config",
1665
+ "default": "/home/runner/.config/dx/profile/default.yml",
1666
+ "hasDynamicHelp": false,
1667
+ "helpValue": "path",
1668
+ "multiple": false,
1669
+ "type": "option"
1670
+ },
1671
+ "target": {
1672
+ "description": "Target websocket server.",
1673
+ "name": "target",
1674
+ "hasDynamicHelp": false,
1675
+ "multiple": false,
1676
+ "type": "option"
1677
+ },
1678
+ "no-agent": {
1679
+ "description": "Run command without starting an agent.",
1680
+ "env": "DX_NO_AGENT",
1681
+ "name": "no-agent",
1682
+ "allowNo": false,
1683
+ "type": "boolean"
1684
+ },
1685
+ "timeout": {
1686
+ "aliases": [
1687
+ "t"
1688
+ ],
1689
+ "description": "Timeout (ms).",
1690
+ "name": "timeout",
1691
+ "default": 60000,
1692
+ "hasDynamicHelp": false,
1693
+ "multiple": false,
1694
+ "type": "option"
1695
+ },
1696
+ "no-wait": {
1697
+ "description": "Do not wait for space to be ready.",
1698
+ "name": "no-wait",
1699
+ "allowNo": false,
1700
+ "type": "boolean"
1701
+ },
1702
+ "json-log": {
1703
+ "description": "When running in foreground, log JSON format",
1704
+ "name": "json-log",
1705
+ "allowNo": false,
1706
+ "type": "boolean"
1707
+ },
1708
+ "json-logfile": {
1709
+ "description": "JSON log file destination, or 'stdout' or 'stderr'",
1710
+ "name": "json-logfile",
1711
+ "default": "stderr",
1712
+ "hasDynamicHelp": false,
1713
+ "multiple": false,
1714
+ "type": "option"
1715
+ }
1716
+ },
1717
+ "hasDynamicHelp": false,
1718
+ "hiddenAliases": [],
1719
+ "id": "agent:status",
1720
+ "pluginAlias": "@dxos/cli",
1721
+ "pluginName": "@dxos/cli",
1722
+ "pluginType": "core",
1723
+ "strict": true,
1724
+ "enableJsonFlag": true,
1725
+ "isESM": false,
1726
+ "relativePath": [
1727
+ "dist",
1728
+ "src",
1729
+ "commands",
1730
+ "agent",
1731
+ "status.js"
1732
+ ]
1733
+ },
1734
+ "agent:stop": {
1735
+ "aliases": [],
1736
+ "args": {},
1737
+ "description": "Stop agent daemon.",
1738
+ "flags": {
1739
+ "json": {
1740
+ "description": "Output as JSON.",
1741
+ "name": "json",
1742
+ "allowNo": false,
1743
+ "type": "boolean"
1744
+ },
1745
+ "dry-run": {
1746
+ "description": "Dry run.",
1747
+ "name": "dry-run",
1748
+ "allowNo": false,
1749
+ "type": "boolean"
1750
+ },
1751
+ "verbose": {
1752
+ "char": "v",
1753
+ "description": "Verbose output",
1754
+ "name": "verbose",
1755
+ "allowNo": false,
1756
+ "type": "boolean"
1757
+ },
1758
+ "profile": {
1759
+ "description": "User profile.",
1760
+ "env": "DX_PROFILE",
1761
+ "name": "profile",
1762
+ "default": "default",
1763
+ "hasDynamicHelp": false,
1764
+ "multiple": false,
1765
+ "type": "option"
1766
+ },
1767
+ "config": {
1768
+ "aliases": [
1769
+ "c"
1770
+ ],
1771
+ "dependsOn": [
1772
+ "profile"
1773
+ ],
1774
+ "description": "Config file.",
1775
+ "env": "DX_CONFIG",
1776
+ "name": "config",
1777
+ "default": "/home/runner/.config/dx/profile/default.yml",
1778
+ "hasDynamicHelp": false,
1779
+ "helpValue": "path",
1780
+ "multiple": false,
1781
+ "type": "option"
1782
+ },
1783
+ "target": {
1784
+ "description": "Target websocket server.",
1785
+ "name": "target",
1786
+ "hasDynamicHelp": false,
1787
+ "multiple": false,
1788
+ "type": "option"
1789
+ },
1790
+ "no-agent": {
1791
+ "description": "Run command without starting an agent.",
1792
+ "env": "DX_NO_AGENT",
1793
+ "name": "no-agent",
1794
+ "allowNo": false,
1795
+ "type": "boolean"
1796
+ },
1797
+ "timeout": {
1798
+ "aliases": [
1799
+ "t"
1800
+ ],
1801
+ "description": "Timeout (ms).",
1802
+ "name": "timeout",
1803
+ "default": 60000,
1804
+ "hasDynamicHelp": false,
1805
+ "multiple": false,
1806
+ "type": "option"
1807
+ },
1808
+ "no-wait": {
1809
+ "description": "Do not wait for space to be ready.",
1810
+ "name": "no-wait",
1811
+ "allowNo": false,
1812
+ "type": "boolean"
1813
+ },
1814
+ "json-log": {
1815
+ "description": "When running in foreground, log JSON format",
1816
+ "name": "json-log",
1817
+ "allowNo": false,
1818
+ "type": "boolean"
1819
+ },
1820
+ "json-logfile": {
1821
+ "description": "JSON log file destination, or 'stdout' or 'stderr'",
1822
+ "name": "json-logfile",
1823
+ "default": "stderr",
1824
+ "hasDynamicHelp": false,
1825
+ "multiple": false,
1826
+ "type": "option"
1827
+ },
1828
+ "all": {
1829
+ "description": "Stop all agents.",
1830
+ "name": "all",
1831
+ "allowNo": false,
1832
+ "type": "boolean"
1833
+ },
1834
+ "force": {
1835
+ "description": "Force stop.",
1836
+ "name": "force",
1395
1837
  "allowNo": false,
1396
1838
  "type": "boolean"
1397
1839
  },
1398
- "version": {
1399
- "description": "Version of modules to publish.",
1400
- "name": "version",
1401
- "hasDynamicHelp": false,
1402
- "multiple": false,
1403
- "type": "option"
1840
+ "system": {
1841
+ "description": "Run as system daemon.",
1842
+ "name": "system",
1843
+ "allowNo": false,
1844
+ "type": "boolean"
1404
1845
  }
1405
1846
  },
1406
1847
  "hasDynamicHelp": false,
1407
1848
  "hiddenAliases": [],
1408
- "id": "app:publish",
1849
+ "id": "agent:stop",
1409
1850
  "pluginAlias": "@dxos/cli",
1410
1851
  "pluginName": "@dxos/cli",
1411
1852
  "pluginType": "core",
@@ -1416,8 +1857,8 @@
1416
1857
  "dist",
1417
1858
  "src",
1418
1859
  "commands",
1419
- "app",
1420
- "publish.js"
1860
+ "agent",
1861
+ "stop.js"
1421
1862
  ]
1422
1863
  },
1423
1864
  "config": {
@@ -1477,17 +1918,12 @@
1477
1918
  "type": "option"
1478
1919
  },
1479
1920
  "no-agent": {
1480
- "description": "Run command without using an agent.",
1921
+ "description": "Run command without starting an agent.",
1922
+ "env": "DX_NO_AGENT",
1481
1923
  "name": "no-agent",
1482
1924
  "allowNo": false,
1483
1925
  "type": "boolean"
1484
1926
  },
1485
- "no-start-agent": {
1486
- "description": "Do not automatically start an agent if one is not running.",
1487
- "name": "no-start-agent",
1488
- "allowNo": false,
1489
- "type": "boolean"
1490
- },
1491
1927
  "timeout": {
1492
1928
  "aliases": [
1493
1929
  "t"
@@ -1604,17 +2040,12 @@
1604
2040
  "type": "option"
1605
2041
  },
1606
2042
  "no-agent": {
1607
- "description": "Run command without using an agent.",
2043
+ "description": "Run command without starting an agent.",
2044
+ "env": "DX_NO_AGENT",
1608
2045
  "name": "no-agent",
1609
2046
  "allowNo": false,
1610
2047
  "type": "boolean"
1611
2048
  },
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
2049
  "timeout": {
1619
2050
  "aliases": [
1620
2051
  "t"
@@ -1733,17 +2164,12 @@
1733
2164
  "type": "option"
1734
2165
  },
1735
2166
  "no-agent": {
1736
- "description": "Run command without using an agent.",
2167
+ "description": "Run command without starting an agent.",
2168
+ "env": "DX_NO_AGENT",
1737
2169
  "name": "no-agent",
1738
2170
  "allowNo": false,
1739
2171
  "type": "boolean"
1740
2172
  },
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
2173
  "timeout": {
1748
2174
  "aliases": [
1749
2175
  "t"
@@ -1797,7 +2223,7 @@
1797
2223
  "aliases": [],
1798
2224
  "args": {
1799
2225
  "key": {
1800
- "description": "Space key head in hex.",
2226
+ "description": "Space key(s) head in hex.",
1801
2227
  "name": "key"
1802
2228
  }
1803
2229
  },
@@ -1855,17 +2281,12 @@
1855
2281
  "type": "option"
1856
2282
  },
1857
2283
  "no-agent": {
1858
- "description": "Run command without using an agent.",
2284
+ "description": "Run command without starting an agent.",
2285
+ "env": "DX_NO_AGENT",
1859
2286
  "name": "no-agent",
1860
2287
  "allowNo": false,
1861
2288
  "type": "boolean"
1862
2289
  },
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
2290
  "timeout": {
1870
2291
  "aliases": [
1871
2292
  "t"
@@ -2016,17 +2437,12 @@
2016
2437
  "type": "option"
2017
2438
  },
2018
2439
  "no-agent": {
2019
- "description": "Run command without using an agent.",
2440
+ "description": "Run command without starting an agent.",
2441
+ "env": "DX_NO_AGENT",
2020
2442
  "name": "no-agent",
2021
2443
  "allowNo": false,
2022
2444
  "type": "boolean"
2023
2445
  },
2024
- "no-start-agent": {
2025
- "description": "Do not automatically start an agent if one is not running.",
2026
- "name": "no-start-agent",
2027
- "allowNo": false,
2028
- "type": "boolean"
2029
- },
2030
2446
  "timeout": {
2031
2447
  "aliases": [
2032
2448
  "t"
@@ -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"
@@ -2702,17 +3098,12 @@
2702
3098
  "type": "option"
2703
3099
  },
2704
3100
  "no-agent": {
2705
- "description": "Run command without using an agent.",
3101
+ "description": "Run command without starting an agent.",
3102
+ "env": "DX_NO_AGENT",
2706
3103
  "name": "no-agent",
2707
3104
  "allowNo": false,
2708
3105
  "type": "boolean"
2709
3106
  },
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
3107
  "timeout": {
2717
3108
  "aliases": [
2718
3109
  "t"
@@ -2744,6 +3135,13 @@
2744
3135
  "multiple": false,
2745
3136
  "type": "option"
2746
3137
  },
3138
+ "key": {
3139
+ "description": "Space key(s) head in hex.",
3140
+ "name": "key",
3141
+ "hasDynamicHelp": false,
3142
+ "multiple": true,
3143
+ "type": "option"
3144
+ },
2747
3145
  "require": {
2748
3146
  "aliases": [
2749
3147
  "r"
@@ -2794,129 +3192,6 @@
2794
3192
  "dev.js"
2795
3193
  ]
2796
3194
  },
2797
- "function:exec": {
2798
- "aliases": [],
2799
- "args": {
2800
- "name": {
2801
- "description": "Function name.",
2802
- "name": "name",
2803
- "required": true
2804
- }
2805
- },
2806
- "description": "Invoke function.",
2807
- "flags": {
2808
- "json": {
2809
- "description": "Output as JSON.",
2810
- "name": "json",
2811
- "allowNo": false,
2812
- "type": "boolean"
2813
- },
2814
- "dry-run": {
2815
- "description": "Dry run.",
2816
- "name": "dry-run",
2817
- "allowNo": false,
2818
- "type": "boolean"
2819
- },
2820
- "verbose": {
2821
- "char": "v",
2822
- "description": "Verbose output",
2823
- "name": "verbose",
2824
- "allowNo": false,
2825
- "type": "boolean"
2826
- },
2827
- "profile": {
2828
- "description": "User profile.",
2829
- "env": "DX_PROFILE",
2830
- "name": "profile",
2831
- "default": "default",
2832
- "hasDynamicHelp": false,
2833
- "multiple": false,
2834
- "type": "option"
2835
- },
2836
- "config": {
2837
- "aliases": [
2838
- "c"
2839
- ],
2840
- "dependsOn": [
2841
- "profile"
2842
- ],
2843
- "description": "Config file.",
2844
- "env": "DX_CONFIG",
2845
- "name": "config",
2846
- "default": "/home/runner/.config/dx/profile/default.yml",
2847
- "hasDynamicHelp": false,
2848
- "helpValue": "path",
2849
- "multiple": false,
2850
- "type": "option"
2851
- },
2852
- "target": {
2853
- "description": "Target websocket server.",
2854
- "name": "target",
2855
- "hasDynamicHelp": false,
2856
- "multiple": false,
2857
- "type": "option"
2858
- },
2859
- "no-agent": {
2860
- "description": "Run command without using an agent.",
2861
- "name": "no-agent",
2862
- "allowNo": false,
2863
- "type": "boolean"
2864
- },
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
- "timeout": {
2872
- "aliases": [
2873
- "t"
2874
- ],
2875
- "description": "Timeout (ms).",
2876
- "name": "timeout",
2877
- "default": 60000,
2878
- "hasDynamicHelp": false,
2879
- "multiple": false,
2880
- "type": "option"
2881
- },
2882
- "no-wait": {
2883
- "description": "Do not wait for space to be ready.",
2884
- "name": "no-wait",
2885
- "allowNo": false,
2886
- "type": "boolean"
2887
- },
2888
- "json-log": {
2889
- "description": "When running in foreground, log JSON format",
2890
- "name": "json-log",
2891
- "allowNo": false,
2892
- "type": "boolean"
2893
- },
2894
- "json-logfile": {
2895
- "description": "JSON log file destination, or 'stdout' or 'stderr'",
2896
- "name": "json-logfile",
2897
- "default": "stderr",
2898
- "hasDynamicHelp": false,
2899
- "multiple": false,
2900
- "type": "option"
2901
- }
2902
- },
2903
- "hasDynamicHelp": false,
2904
- "hiddenAliases": [],
2905
- "id": "function:exec",
2906
- "pluginAlias": "@dxos/cli",
2907
- "pluginName": "@dxos/cli",
2908
- "pluginType": "core",
2909
- "strict": true,
2910
- "enableJsonFlag": true,
2911
- "isESM": false,
2912
- "relativePath": [
2913
- "dist",
2914
- "src",
2915
- "commands",
2916
- "function",
2917
- "exec.js"
2918
- ]
2919
- },
2920
3195
  "function:list": {
2921
3196
  "aliases": [],
2922
3197
  "args": {},
@@ -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",
@@ -3609,17 +3859,12 @@
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",
3620
- "allowNo": false,
3621
- "type": "boolean"
3622
- },
3623
3868
  "timeout": {
3624
3869
  "aliases": [
3625
3870
  "t"
@@ -3726,17 +3971,12 @@
3726
3971
  "type": "option"
3727
3972
  },
3728
3973
  "no-agent": {
3729
- "description": "Run command without using an agent.",
3974
+ "description": "Run command without starting an agent.",
3975
+ "env": "DX_NO_AGENT",
3730
3976
  "name": "no-agent",
3731
3977
  "allowNo": false,
3732
3978
  "type": "boolean"
3733
3979
  },
3734
- "no-start-agent": {
3735
- "description": "Do not automatically start an agent if one is not running.",
3736
- "name": "no-start-agent",
3737
- "allowNo": false,
3738
- "type": "boolean"
3739
- },
3740
3980
  "timeout": {
3741
3981
  "aliases": [
3742
3982
  "t"
@@ -3877,17 +4117,12 @@
3877
4117
  "type": "option"
3878
4118
  },
3879
4119
  "no-agent": {
3880
- "description": "Run command without using an agent.",
4120
+ "description": "Run command without starting an agent.",
4121
+ "env": "DX_NO_AGENT",
3881
4122
  "name": "no-agent",
3882
4123
  "allowNo": false,
3883
4124
  "type": "boolean"
3884
4125
  },
3885
- "no-start-agent": {
3886
- "description": "Do not automatically start an agent if one is not running.",
3887
- "name": "no-start-agent",
3888
- "allowNo": false,
3889
- "type": "boolean"
3890
- },
3891
4126
  "timeout": {
3892
4127
  "aliases": [
3893
4128
  "t"
@@ -4001,17 +4236,12 @@
4001
4236
  "type": "option"
4002
4237
  },
4003
4238
  "no-agent": {
4004
- "description": "Run command without using an agent.",
4239
+ "description": "Run command without starting an agent.",
4240
+ "env": "DX_NO_AGENT",
4005
4241
  "name": "no-agent",
4006
4242
  "allowNo": false,
4007
4243
  "type": "boolean"
4008
4244
  },
4009
- "no-start-agent": {
4010
- "description": "Do not automatically start an agent if one is not running.",
4011
- "name": "no-start-agent",
4012
- "allowNo": false,
4013
- "type": "boolean"
4014
- },
4015
4245
  "timeout": {
4016
4246
  "aliases": [
4017
4247
  "t"
@@ -4130,17 +4360,12 @@
4130
4360
  "type": "option"
4131
4361
  },
4132
4362
  "no-agent": {
4133
- "description": "Run command without using an agent.",
4363
+ "description": "Run command without starting an agent.",
4364
+ "env": "DX_NO_AGENT",
4134
4365
  "name": "no-agent",
4135
4366
  "allowNo": false,
4136
4367
  "type": "boolean"
4137
4368
  },
4138
- "no-start-agent": {
4139
- "description": "Do not automatically start an agent if one is not running.",
4140
- "name": "no-start-agent",
4141
- "allowNo": false,
4142
- "type": "boolean"
4143
- },
4144
4369
  "timeout": {
4145
4370
  "aliases": [
4146
4371
  "t"
@@ -4194,6 +4419,7 @@
4194
4419
  "aliases": [],
4195
4420
  "args": {
4196
4421
  "key": {
4422
+ "description": "Space key(s) head in hex.",
4197
4423
  "name": "key"
4198
4424
  }
4199
4425
  },
@@ -4251,17 +4477,12 @@
4251
4477
  "type": "option"
4252
4478
  },
4253
4479
  "no-agent": {
4254
- "description": "Run command without using an agent.",
4480
+ "description": "Run command without starting an agent.",
4481
+ "env": "DX_NO_AGENT",
4255
4482
  "name": "no-agent",
4256
4483
  "allowNo": false,
4257
4484
  "type": "boolean"
4258
4485
  },
4259
- "no-start-agent": {
4260
- "description": "Do not automatically start an agent if one is not running.",
4261
- "name": "no-start-agent",
4262
- "allowNo": false,
4263
- "type": "boolean"
4264
- },
4265
4486
  "timeout": {
4266
4487
  "aliases": [
4267
4488
  "t"
@@ -4372,17 +4593,12 @@
4372
4593
  "type": "option"
4373
4594
  },
4374
4595
  "no-agent": {
4375
- "description": "Run command without using an agent.",
4596
+ "description": "Run command without starting an agent.",
4597
+ "env": "DX_NO_AGENT",
4376
4598
  "name": "no-agent",
4377
4599
  "allowNo": false,
4378
4600
  "type": "boolean"
4379
4601
  },
4380
- "no-start-agent": {
4381
- "description": "Do not automatically start an agent if one is not running.",
4382
- "name": "no-start-agent",
4383
- "allowNo": false,
4384
- "type": "boolean"
4385
- },
4386
4602
  "timeout": {
4387
4603
  "aliases": [
4388
4604
  "t"
@@ -4436,7 +4652,7 @@
4436
4652
  "aliases": [],
4437
4653
  "args": {
4438
4654
  "key": {
4439
- "description": "Space key head in hex.",
4655
+ "description": "Space key(s) head in hex.",
4440
4656
  "name": "key"
4441
4657
  }
4442
4658
  },
@@ -4494,17 +4710,12 @@
4494
4710
  "type": "option"
4495
4711
  },
4496
4712
  "no-agent": {
4497
- "description": "Run command without using an agent.",
4713
+ "description": "Run command without starting an agent.",
4714
+ "env": "DX_NO_AGENT",
4498
4715
  "name": "no-agent",
4499
4716
  "allowNo": false,
4500
4717
  "type": "boolean"
4501
4718
  },
4502
- "no-start-agent": {
4503
- "description": "Do not automatically start an agent if one is not running.",
4504
- "name": "no-start-agent",
4505
- "allowNo": false,
4506
- "type": "boolean"
4507
- },
4508
4719
  "timeout": {
4509
4720
  "aliases": [
4510
4721
  "t"
@@ -4558,6 +4769,7 @@
4558
4769
  "aliases": [],
4559
4770
  "args": {
4560
4771
  "key": {
4772
+ "description": "Space key(s) head in hex.",
4561
4773
  "name": "key"
4562
4774
  }
4563
4775
  },
@@ -4615,17 +4827,12 @@
4615
4827
  "type": "option"
4616
4828
  },
4617
4829
  "no-agent": {
4618
- "description": "Run command without using an agent.",
4830
+ "description": "Run command without starting an agent.",
4831
+ "env": "DX_NO_AGENT",
4619
4832
  "name": "no-agent",
4620
4833
  "allowNo": false,
4621
4834
  "type": "boolean"
4622
4835
  },
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
4836
  "timeout": {
4630
4837
  "aliases": [
4631
4838
  "t"
@@ -4732,17 +4939,12 @@
4732
4939
  "type": "option"
4733
4940
  },
4734
4941
  "no-agent": {
4735
- "description": "Run command without using an agent.",
4942
+ "description": "Run command without starting an agent.",
4943
+ "env": "DX_NO_AGENT",
4736
4944
  "name": "no-agent",
4737
4945
  "allowNo": false,
4738
4946
  "type": "boolean"
4739
4947
  },
4740
- "no-start-agent": {
4741
- "description": "Do not automatically start an agent if one is not running.",
4742
- "name": "no-start-agent",
4743
- "allowNo": false,
4744
- "type": "boolean"
4745
- },
4746
4948
  "timeout": {
4747
4949
  "aliases": [
4748
4950
  "t"
@@ -4863,17 +5065,12 @@
4863
5065
  "type": "option"
4864
5066
  },
4865
5067
  "no-agent": {
4866
- "description": "Run command without using an agent.",
5068
+ "description": "Run command without starting an agent.",
5069
+ "env": "DX_NO_AGENT",
4867
5070
  "name": "no-agent",
4868
5071
  "allowNo": false,
4869
5072
  "type": "boolean"
4870
5073
  },
4871
- "no-start-agent": {
4872
- "description": "Do not automatically start an agent if one is not running.",
4873
- "name": "no-start-agent",
4874
- "allowNo": false,
4875
- "type": "boolean"
4876
- },
4877
5074
  "timeout": {
4878
5075
  "aliases": [
4879
5076
  "t"
@@ -5010,7 +5207,7 @@
5010
5207
  "aliases": [],
5011
5208
  "args": {
5012
5209
  "key": {
5013
- "description": "Space key head in hex.",
5210
+ "description": "Space key(s) head in hex.",
5014
5211
  "name": "key"
5015
5212
  }
5016
5213
  },
@@ -5068,17 +5265,12 @@
5068
5265
  "type": "option"
5069
5266
  },
5070
5267
  "no-agent": {
5071
- "description": "Run command without using an agent.",
5268
+ "description": "Run command without starting an agent.",
5269
+ "env": "DX_NO_AGENT",
5072
5270
  "name": "no-agent",
5073
5271
  "allowNo": false,
5074
5272
  "type": "boolean"
5075
5273
  },
5076
- "no-start-agent": {
5077
- "description": "Do not automatically start an agent if one is not running.",
5078
- "name": "no-start-agent",
5079
- "allowNo": false,
5080
- "type": "boolean"
5081
- },
5082
5274
  "timeout": {
5083
5275
  "aliases": [
5084
5276
  "t"
@@ -5209,6 +5401,7 @@
5209
5401
  "aliases": [],
5210
5402
  "args": {
5211
5403
  "key": {
5404
+ "description": "Space key(s) head in hex.",
5212
5405
  "name": "key"
5213
5406
  }
5214
5407
  },
@@ -5266,17 +5459,12 @@
5266
5459
  "type": "option"
5267
5460
  },
5268
5461
  "no-agent": {
5269
- "description": "Run command without using an agent.",
5462
+ "description": "Run command without starting an agent.",
5463
+ "env": "DX_NO_AGENT",
5270
5464
  "name": "no-agent",
5271
5465
  "allowNo": false,
5272
5466
  "type": "boolean"
5273
5467
  },
5274
- "no-start-agent": {
5275
- "description": "Do not automatically start an agent if one is not running.",
5276
- "name": "no-start-agent",
5277
- "allowNo": false,
5278
- "type": "boolean"
5279
- },
5280
5468
  "timeout": {
5281
5469
  "aliases": [
5282
5470
  "t"
@@ -5330,7 +5518,7 @@
5330
5518
  "aliases": [],
5331
5519
  "args": {
5332
5520
  "key": {
5333
- "description": "Space key head in hex.",
5521
+ "description": "Space key(s) head in hex.",
5334
5522
  "name": "key"
5335
5523
  }
5336
5524
  },
@@ -5388,17 +5576,12 @@
5388
5576
  "type": "option"
5389
5577
  },
5390
5578
  "no-agent": {
5391
- "description": "Run command without using an agent.",
5579
+ "description": "Run command without starting an agent.",
5580
+ "env": "DX_NO_AGENT",
5392
5581
  "name": "no-agent",
5393
5582
  "allowNo": false,
5394
5583
  "type": "boolean"
5395
5584
  },
5396
- "no-start-agent": {
5397
- "description": "Do not automatically start an agent if one is not running.",
5398
- "name": "no-start-agent",
5399
- "allowNo": false,
5400
- "type": "boolean"
5401
- },
5402
5585
  "timeout": {
5403
5586
  "aliases": [
5404
5587
  "t"
@@ -5429,6 +5612,19 @@
5429
5612
  "hasDynamicHelp": false,
5430
5613
  "multiple": false,
5431
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"
5432
5628
  }
5433
5629
  },
5434
5630
  "hasDynamicHelp": false,
@@ -5452,7 +5648,7 @@
5452
5648
  "aliases": [],
5453
5649
  "args": {
5454
5650
  "key": {
5455
- "description": "Space key head in hex.",
5651
+ "description": "Space key(s) head in hex.",
5456
5652
  "name": "key"
5457
5653
  }
5458
5654
  },
@@ -5510,17 +5706,12 @@
5510
5706
  "type": "option"
5511
5707
  },
5512
5708
  "no-agent": {
5513
- "description": "Run command without using an agent.",
5709
+ "description": "Run command without starting an agent.",
5710
+ "env": "DX_NO_AGENT",
5514
5711
  "name": "no-agent",
5515
5712
  "allowNo": false,
5516
5713
  "type": "boolean"
5517
5714
  },
5518
- "no-start-agent": {
5519
- "description": "Do not automatically start an agent if one is not running.",
5520
- "name": "no-start-agent",
5521
- "allowNo": false,
5522
- "type": "boolean"
5523
- },
5524
5715
  "timeout": {
5525
5716
  "aliases": [
5526
5717
  "t"
@@ -5619,7 +5810,7 @@
5619
5810
  "required": true
5620
5811
  }
5621
5812
  },
5622
- "description": "Enable or disable tunnel.",
5813
+ "description": "Enable or disable tunnel (deprecated).",
5623
5814
  "flags": {
5624
5815
  "json": {
5625
5816
  "description": "Output as JSON.",
@@ -5673,17 +5864,12 @@
5673
5864
  "type": "option"
5674
5865
  },
5675
5866
  "no-agent": {
5676
- "description": "Run command without using an agent.",
5867
+ "description": "Run command without starting an agent.",
5868
+ "env": "DX_NO_AGENT",
5677
5869
  "name": "no-agent",
5678
5870
  "allowNo": false,
5679
5871
  "type": "boolean"
5680
5872
  },
5681
- "no-start-agent": {
5682
- "description": "Do not automatically start an agent if one is not running.",
5683
- "name": "no-start-agent",
5684
- "allowNo": false,
5685
- "type": "boolean"
5686
- },
5687
5873
  "timeout": {
5688
5874
  "aliases": [
5689
5875
  "t"
@@ -5718,7 +5904,7 @@
5718
5904
  "name": {
5719
5905
  "description": "Tunnel name",
5720
5906
  "name": "name",
5721
- "default": "nebraska-four-minnesota-triple",
5907
+ "default": "massachusetts-kansas-three-lithium",
5722
5908
  "hasDynamicHelp": false,
5723
5909
  "multiple": false,
5724
5910
  "type": "option"
@@ -5730,6 +5916,7 @@
5730
5916
  "pluginAlias": "@dxos/cli",
5731
5917
  "pluginName": "@dxos/cli",
5732
5918
  "pluginType": "core",
5919
+ "state": "deprecated",
5733
5920
  "strict": true,
5734
5921
  "enableJsonFlag": true,
5735
5922
  "isESM": false,
@@ -5798,17 +5985,12 @@
5798
5985
  "type": "option"
5799
5986
  },
5800
5987
  "no-agent": {
5801
- "description": "Run command without using an agent.",
5988
+ "description": "Run command without starting an agent.",
5989
+ "env": "DX_NO_AGENT",
5802
5990
  "name": "no-agent",
5803
5991
  "allowNo": false,
5804
5992
  "type": "boolean"
5805
5993
  },
5806
- "no-start-agent": {
5807
- "description": "Do not automatically start an agent if one is not running.",
5808
- "name": "no-start-agent",
5809
- "allowNo": false,
5810
- "type": "boolean"
5811
- },
5812
5994
  "timeout": {
5813
5995
  "aliases": [
5814
5996
  "t"
@@ -5847,6 +6029,7 @@
5847
6029
  "pluginAlias": "@dxos/cli",
5848
6030
  "pluginName": "@dxos/cli",
5849
6031
  "pluginType": "core",
6032
+ "state": "deprecated",
5850
6033
  "strict": true,
5851
6034
  "enableJsonFlag": true,
5852
6035
  "isESM": false,
@@ -5921,17 +6104,12 @@
5921
6104
  "type": "option"
5922
6105
  },
5923
6106
  "no-agent": {
5924
- "description": "Run command without using an agent.",
6107
+ "description": "Run command without starting an agent.",
6108
+ "env": "DX_NO_AGENT",
5925
6109
  "name": "no-agent",
5926
6110
  "allowNo": false,
5927
6111
  "type": "boolean"
5928
6112
  },
5929
- "no-start-agent": {
5930
- "description": "Do not automatically start an agent if one is not running.",
5931
- "name": "no-start-agent",
5932
- "allowNo": false,
5933
- "type": "boolean"
5934
- },
5935
6113
  "timeout": {
5936
6114
  "aliases": [
5937
6115
  "t"
@@ -6039,17 +6217,12 @@
6039
6217
  "type": "option"
6040
6218
  },
6041
6219
  "no-agent": {
6042
- "description": "Run command without using an agent.",
6220
+ "description": "Run command without starting an agent.",
6221
+ "env": "DX_NO_AGENT",
6043
6222
  "name": "no-agent",
6044
6223
  "allowNo": false,
6045
6224
  "type": "boolean"
6046
6225
  },
6047
- "no-start-agent": {
6048
- "description": "Do not automatically start an agent if one is not running.",
6049
- "name": "no-start-agent",
6050
- "allowNo": false,
6051
- "type": "boolean"
6052
- },
6053
6226
  "timeout": {
6054
6227
  "description": "Time in milliseconds to wait for at least one credential before listing.",
6055
6228
  "name": "timeout",
@@ -6190,5 +6363,5 @@
6190
6363
  ]
6191
6364
  }
6192
6365
  },
6193
- "version": "0.5.3-main.bc67fdb"
6366
+ "version": "0.5.3-main.bfb5bca"
6194
6367
  }