@dxos/cli 0.5.3-main.bbd33a9 → 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.
@@ -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.",
@@ -94,19 +100,42 @@
94
100
  "multiple": false,
95
101
  "type": "option"
96
102
  },
97
- "no-truncate": {
98
- "description": "Do not truncate keys.",
99
- "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",
100
128
  "allowNo": false,
101
129
  "type": "boolean"
102
130
  }
103
131
  },
104
132
  "hasDynamicHelp": false,
105
133
  "hiddenAliases": [],
106
- "id": "agent:invitations",
134
+ "id": "app:create",
107
135
  "pluginAlias": "@dxos/cli",
108
136
  "pluginName": "@dxos/cli",
109
137
  "pluginType": "core",
138
+ "state": "deprecated",
110
139
  "strict": true,
111
140
  "enableJsonFlag": true,
112
141
  "isESM": false,
@@ -114,14 +143,14 @@
114
143
  "dist",
115
144
  "src",
116
145
  "commands",
117
- "agent",
118
- "invitations.js"
146
+ "app",
147
+ "create.js"
119
148
  ]
120
149
  },
121
- "agent:list": {
150
+ "app:list": {
122
151
  "aliases": [],
123
152
  "args": {},
124
- "description": "List agents.",
153
+ "description": "List apps.",
125
154
  "flags": {
126
155
  "json": {
127
156
  "description": "Output as JSON.",
@@ -211,103 +240,15 @@
211
240
  "hasDynamicHelp": false,
212
241
  "multiple": false,
213
242
  "type": "option"
214
- },
215
- "columns": {
216
- "description": "only show provided columns (comma-separated)",
217
- "exclusive": [
218
- "extended"
219
- ],
220
- "name": "columns",
221
- "hasDynamicHelp": false,
222
- "multiple": false,
223
- "type": "option"
224
- },
225
- "csv": {
226
- "description": "output is csv format [alias: --output=csv]",
227
- "exclusive": [
228
- "no-truncate"
229
- ],
230
- "name": "csv",
231
- "allowNo": false,
232
- "type": "boolean"
233
- },
234
- "extended": {
235
- "char": "x",
236
- "description": "show extra columns",
237
- "exclusive": [
238
- "columns"
239
- ],
240
- "name": "extended",
241
- "allowNo": false,
242
- "type": "boolean"
243
- },
244
- "filter": {
245
- "description": "filter property by partial string matching, ex: name=foo",
246
- "name": "filter",
247
- "hasDynamicHelp": false,
248
- "multiple": false,
249
- "type": "option"
250
- },
251
- "no-header": {
252
- "description": "hide table header from output",
253
- "exclusive": [
254
- "csv"
255
- ],
256
- "name": "no-header",
257
- "allowNo": false,
258
- "type": "boolean"
259
- },
260
- "no-truncate": {
261
- "description": "do not truncate output to fit screen",
262
- "exclusive": [
263
- "csv"
264
- ],
265
- "name": "no-truncate",
266
- "allowNo": false,
267
- "type": "boolean"
268
- },
269
- "output": {
270
- "description": "output in a more machine friendly format",
271
- "exclusive": [
272
- "no-truncate",
273
- "csv"
274
- ],
275
- "name": "output",
276
- "hasDynamicHelp": false,
277
- "multiple": false,
278
- "options": [
279
- "csv",
280
- "json",
281
- "yaml"
282
- ],
283
- "type": "option"
284
- },
285
- "sort": {
286
- "description": "property to sort by (prepend '-' for descending)",
287
- "name": "sort",
288
- "hasDynamicHelp": false,
289
- "multiple": false,
290
- "type": "option"
291
- },
292
- "live": {
293
- "description": "Live update.",
294
- "name": "live",
295
- "allowNo": false,
296
- "type": "boolean"
297
- },
298
- "system": {
299
- "description": "Run as system daemon.",
300
- "name": "system",
301
- "allowNo": false,
302
- "type": "boolean"
303
243
  }
304
244
  },
305
245
  "hasDynamicHelp": false,
306
246
  "hiddenAliases": [],
307
- "id": "agent:list",
247
+ "id": "app:list",
308
248
  "pluginAlias": "@dxos/cli",
309
249
  "pluginName": "@dxos/cli",
310
250
  "pluginType": "core",
251
+ "state": "deprecated",
311
252
  "strict": true,
312
253
  "enableJsonFlag": true,
313
254
  "isESM": false,
@@ -315,14 +256,20 @@
315
256
  "dist",
316
257
  "src",
317
258
  "commands",
318
- "agent",
259
+ "app",
319
260
  "list.js"
320
261
  ]
321
262
  },
322
- "agent:restart": {
263
+ "app:open": {
323
264
  "aliases": [],
324
- "args": {},
325
- "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.",
326
273
  "flags": {
327
274
  "json": {
328
275
  "description": "Output as JSON.",
@@ -413,25 +360,28 @@
413
360
  "multiple": false,
414
361
  "type": "option"
415
362
  },
416
- "force": {
417
- "description": "Force restart.",
418
- "name": "force",
419
- "allowNo": false,
420
- "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"
421
370
  },
422
- "system": {
423
- "description": "Run as system daemon.",
424
- "name": "system",
371
+ "invite": {
372
+ "description": "If `true` proceed device invitation for all instances.",
373
+ "name": "invite",
425
374
  "allowNo": false,
426
375
  "type": "boolean"
427
376
  }
428
377
  },
429
378
  "hasDynamicHelp": false,
430
379
  "hiddenAliases": [],
431
- "id": "agent:restart",
380
+ "id": "app:open",
432
381
  "pluginAlias": "@dxos/cli",
433
382
  "pluginName": "@dxos/cli",
434
383
  "pluginType": "core",
384
+ "state": "deprecated",
435
385
  "strict": true,
436
386
  "enableJsonFlag": true,
437
387
  "isESM": false,
@@ -439,20 +389,14 @@
439
389
  "dist",
440
390
  "src",
441
391
  "commands",
442
- "agent",
443
- "restart.js"
392
+ "app",
393
+ "open.js"
444
394
  ]
445
395
  },
446
- "agent:start": {
396
+ "app:publish": {
447
397
  "aliases": [],
448
398
  "args": {},
449
- "description": "Starts the agent.",
450
- "examples": [
451
- {
452
- "description": "Run with .",
453
- "command": "dx agent start -f --ws=5001"
454
- }
455
- ],
399
+ "description": "Publish apps.",
456
400
  "flags": {
457
401
  "json": {
458
402
  "description": "Output as JSON.",
@@ -543,51 +487,41 @@
543
487
  "multiple": false,
544
488
  "type": "option"
545
489
  },
546
- "foreground": {
547
- "char": "f",
548
- "description": "Run in foreground.",
549
- "name": "foreground",
550
- "allowNo": false,
551
- "type": "boolean"
552
- },
553
- "system": {
554
- "description": "Run as system daemon.",
555
- "name": "system",
556
- "allowNo": false,
557
- "type": "boolean"
558
- },
559
- "ws": {
560
- "aliases": [
561
- "web-socket"
562
- ],
563
- "description": "Expose web socket port.",
564
- "name": "ws",
490
+ "configPath": {
491
+ "description": "Path to dx.yml",
492
+ "name": "configPath",
565
493
  "hasDynamicHelp": false,
566
- "helpValue": "port",
567
494
  "multiple": false,
568
495
  "type": "option"
569
496
  },
570
- "http": {
571
- "description": "Expose http port.",
572
- "name": "http",
497
+ "accessToken": {
498
+ "description": "Access token for publishing.",
499
+ "name": "accessToken",
573
500
  "hasDynamicHelp": false,
574
- "helpValue": "port",
575
501
  "multiple": false,
576
502
  "type": "option"
577
503
  },
578
- "metrics": {
579
- "description": "Start metrics recording.",
580
- "name": "metrics",
504
+ "skipExisting": {
505
+ "description": "Do not update content on KUBE if version already exists.",
506
+ "name": "skipExisting",
581
507
  "allowNo": false,
582
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"
583
516
  }
584
517
  },
585
518
  "hasDynamicHelp": false,
586
519
  "hiddenAliases": [],
587
- "id": "agent:start",
520
+ "id": "app:publish",
588
521
  "pluginAlias": "@dxos/cli",
589
522
  "pluginName": "@dxos/cli",
590
523
  "pluginType": "core",
524
+ "state": "deprecated",
591
525
  "strict": true,
592
526
  "enableJsonFlag": true,
593
527
  "isESM": false,
@@ -595,14 +529,13 @@
595
529
  "dist",
596
530
  "src",
597
531
  "commands",
598
- "agent",
599
- "start.js"
532
+ "app",
533
+ "publish.js"
600
534
  ]
601
535
  },
602
- "agent:status": {
536
+ "composer:base": {
603
537
  "aliases": [],
604
538
  "args": {},
605
- "description": "Show agent status",
606
539
  "flags": {
607
540
  "json": {
608
541
  "description": "Output as JSON.",
@@ -696,7 +629,7 @@
696
629
  },
697
630
  "hasDynamicHelp": false,
698
631
  "hiddenAliases": [],
699
- "id": "agent:status",
632
+ "id": "composer:base",
700
633
  "pluginAlias": "@dxos/cli",
701
634
  "pluginName": "@dxos/cli",
702
635
  "pluginType": "core",
@@ -707,15 +640,20 @@
707
640
  "dist",
708
641
  "src",
709
642
  "commands",
710
- "agent",
711
- "status.js"
643
+ "composer",
644
+ "base.js"
712
645
  ]
713
646
  },
714
- "agent:stop": {
647
+ "composer:import": {
715
648
  "aliases": [],
716
- "args": {},
717
- "description": "Stop agent daemon.",
718
- "flags": {
649
+ "args": {
650
+ "file": {
651
+ "name": "file",
652
+ "required": true
653
+ }
654
+ },
655
+ "description": "Import ECHO objects.",
656
+ "flags": {
719
657
  "json": {
720
658
  "description": "Output as JSON.",
721
659
  "name": "json",
@@ -805,28 +743,17 @@
805
743
  "multiple": false,
806
744
  "type": "option"
807
745
  },
808
- "all": {
809
- "description": "Stop all agents.",
810
- "name": "all",
811
- "allowNo": false,
812
- "type": "boolean"
813
- },
814
- "force": {
815
- "description": "Force stop.",
816
- "name": "force",
817
- "allowNo": false,
818
- "type": "boolean"
819
- },
820
- "system": {
821
- "description": "Run as system daemon.",
822
- "name": "system",
823
- "allowNo": false,
824
- "type": "boolean"
746
+ "key": {
747
+ "description": "Space key(s) head in hex.",
748
+ "name": "key",
749
+ "hasDynamicHelp": false,
750
+ "multiple": true,
751
+ "type": "option"
825
752
  }
826
753
  },
827
754
  "hasDynamicHelp": false,
828
755
  "hiddenAliases": [],
829
- "id": "agent:stop",
756
+ "id": "composer:import",
830
757
  "pluginAlias": "@dxos/cli",
831
758
  "pluginName": "@dxos/cli",
832
759
  "pluginType": "core",
@@ -837,20 +764,14 @@
837
764
  "dist",
838
765
  "src",
839
766
  "commands",
840
- "agent",
841
- "stop.js"
767
+ "composer",
768
+ "import.js"
842
769
  ]
843
770
  },
844
- "app:create": {
771
+ "composer:query": {
845
772
  "aliases": [],
846
- "args": {
847
- "name": {
848
- "description": "App name.",
849
- "name": "name",
850
- "required": true
851
- }
852
- },
853
- "description": "Manage applications (deprecated).",
773
+ "args": {},
774
+ "description": "Query database.",
854
775
  "flags": {
855
776
  "json": {
856
777
  "description": "Output as JSON.",
@@ -941,42 +862,27 @@
941
862
  "multiple": false,
942
863
  "type": "option"
943
864
  },
944
- "tag": {
945
- "description": "Git tag or branch of the DXOS repo to checkout.",
946
- "name": "tag",
865
+ "key": {
866
+ "description": "Space key(s) head in hex.",
867
+ "name": "key",
947
868
  "hasDynamicHelp": false,
948
- "multiple": false,
869
+ "multiple": true,
949
870
  "type": "option"
950
871
  },
951
- "template": {
952
- "char": "t",
953
- "description": "Template to use when creating the project.",
954
- "name": "template",
955
- "default": "hello",
872
+ "type": {
873
+ "description": "Data type.",
874
+ "name": "type",
956
875
  "hasDynamicHelp": false,
957
876
  "multiple": false,
958
- "options": [
959
- "hello",
960
- "bare",
961
- "tasks"
962
- ],
963
877
  "type": "option"
964
- },
965
- "interactive": {
966
- "char": "i",
967
- "description": "Customize app template options via interactive prompt.",
968
- "name": "interactive",
969
- "allowNo": false,
970
- "type": "boolean"
971
878
  }
972
879
  },
973
880
  "hasDynamicHelp": false,
974
881
  "hiddenAliases": [],
975
- "id": "app:create",
882
+ "id": "composer:query",
976
883
  "pluginAlias": "@dxos/cli",
977
884
  "pluginName": "@dxos/cli",
978
885
  "pluginType": "core",
979
- "state": "deprecated",
980
886
  "strict": true,
981
887
  "enableJsonFlag": true,
982
888
  "isESM": false,
@@ -984,14 +890,14 @@
984
890
  "dist",
985
891
  "src",
986
892
  "commands",
987
- "app",
988
- "create.js"
893
+ "composer",
894
+ "query.js"
989
895
  ]
990
896
  },
991
- "app:list": {
897
+ "composer:upload": {
992
898
  "aliases": [],
993
899
  "args": {},
994
- "description": "List apps.",
900
+ "description": "Upload IPFS file.",
995
901
  "flags": {
996
902
  "json": {
997
903
  "description": "Output as JSON.",
@@ -1081,15 +987,28 @@
1081
987
  "hasDynamicHelp": false,
1082
988
  "multiple": false,
1083
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"
1084
1004
  }
1085
1005
  },
1086
1006
  "hasDynamicHelp": false,
1087
1007
  "hiddenAliases": [],
1088
- "id": "app:list",
1008
+ "id": "composer:upload",
1089
1009
  "pluginAlias": "@dxos/cli",
1090
1010
  "pluginName": "@dxos/cli",
1091
1011
  "pluginType": "core",
1092
- "state": "deprecated",
1093
1012
  "strict": true,
1094
1013
  "enableJsonFlag": true,
1095
1014
  "isESM": false,
@@ -1097,20 +1016,14 @@
1097
1016
  "dist",
1098
1017
  "src",
1099
1018
  "commands",
1100
- "app",
1101
- "list.js"
1019
+ "composer",
1020
+ "upload.js"
1102
1021
  ]
1103
1022
  },
1104
- "app:open": {
1023
+ "agent:invitations": {
1105
1024
  "aliases": [],
1106
- "args": {
1107
- "url": {
1108
- "description": "App URL.",
1109
- "name": "url",
1110
- "required": true
1111
- }
1112
- },
1113
- "description": "Opens app with provided url and process device invitation.",
1025
+ "args": {},
1026
+ "description": "List valid invitations.",
1114
1027
  "flags": {
1115
1028
  "json": {
1116
1029
  "description": "Output as JSON.",
@@ -1201,28 +1114,19 @@
1201
1114
  "multiple": false,
1202
1115
  "type": "option"
1203
1116
  },
1204
- "instances": {
1205
- "description": "Amount of test instances.",
1206
- "name": "instances",
1207
- "default": 1,
1208
- "hasDynamicHelp": false,
1209
- "multiple": false,
1210
- "type": "option"
1211
- },
1212
- "invite": {
1213
- "description": "If `true` proceed device invitation for all instances.",
1214
- "name": "invite",
1117
+ "no-truncate": {
1118
+ "description": "Do not truncate keys.",
1119
+ "name": "no-truncate",
1215
1120
  "allowNo": false,
1216
1121
  "type": "boolean"
1217
1122
  }
1218
1123
  },
1219
1124
  "hasDynamicHelp": false,
1220
1125
  "hiddenAliases": [],
1221
- "id": "app:open",
1126
+ "id": "agent:invitations",
1222
1127
  "pluginAlias": "@dxos/cli",
1223
1128
  "pluginName": "@dxos/cli",
1224
1129
  "pluginType": "core",
1225
- "state": "deprecated",
1226
1130
  "strict": true,
1227
1131
  "enableJsonFlag": true,
1228
1132
  "isESM": false,
@@ -1230,14 +1134,14 @@
1230
1134
  "dist",
1231
1135
  "src",
1232
1136
  "commands",
1233
- "app",
1234
- "open.js"
1137
+ "agent",
1138
+ "invitations.js"
1235
1139
  ]
1236
1140
  },
1237
- "app:publish": {
1141
+ "agent:list": {
1238
1142
  "aliases": [],
1239
1143
  "args": {},
1240
- "description": "Publish apps.",
1144
+ "description": "List agents.",
1241
1145
  "flags": {
1242
1146
  "json": {
1243
1147
  "description": "Output as JSON.",
@@ -1328,41 +1232,102 @@
1328
1232
  "multiple": false,
1329
1233
  "type": "option"
1330
1234
  },
1331
- "configPath": {
1332
- "description": "Path to dx.yml",
1333
- "name": "configPath",
1235
+ "columns": {
1236
+ "description": "only show provided columns (comma-separated)",
1237
+ "exclusive": [
1238
+ "extended"
1239
+ ],
1240
+ "name": "columns",
1334
1241
  "hasDynamicHelp": false,
1335
1242
  "multiple": false,
1336
1243
  "type": "option"
1337
1244
  },
1338
- "accessToken": {
1339
- "description": "Access token for publishing.",
1340
- "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",
1341
1267
  "hasDynamicHelp": false,
1342
1268
  "multiple": false,
1343
1269
  "type": "option"
1344
1270
  },
1345
- "skipExisting": {
1346
- "description": "Do not update content on KUBE if version already exists.",
1347
- "name": "skipExisting",
1271
+ "no-header": {
1272
+ "description": "hide table header from output",
1273
+ "exclusive": [
1274
+ "csv"
1275
+ ],
1276
+ "name": "no-header",
1348
1277
  "allowNo": false,
1349
1278
  "type": "boolean"
1350
1279
  },
1351
- "version": {
1352
- "description": "Version of modules to publish.",
1353
- "name": "version",
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",
1354
1308
  "hasDynamicHelp": false,
1355
1309
  "multiple": false,
1356
1310
  "type": "option"
1311
+ },
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"
1357
1323
  }
1358
1324
  },
1359
1325
  "hasDynamicHelp": false,
1360
1326
  "hiddenAliases": [],
1361
- "id": "app:publish",
1327
+ "id": "agent:list",
1362
1328
  "pluginAlias": "@dxos/cli",
1363
1329
  "pluginName": "@dxos/cli",
1364
1330
  "pluginType": "core",
1365
- "state": "deprecated",
1366
1331
  "strict": true,
1367
1332
  "enableJsonFlag": true,
1368
1333
  "isESM": false,
@@ -1370,13 +1335,14 @@
1370
1335
  "dist",
1371
1336
  "src",
1372
1337
  "commands",
1373
- "app",
1374
- "publish.js"
1338
+ "agent",
1339
+ "list.js"
1375
1340
  ]
1376
1341
  },
1377
- "composer:base": {
1342
+ "agent:restart": {
1378
1343
  "aliases": [],
1379
1344
  "args": {},
1345
+ "description": "Restart agent daemon.",
1380
1346
  "flags": {
1381
1347
  "json": {
1382
1348
  "description": "Output as JSON.",
@@ -1466,11 +1432,23 @@
1466
1432
  "hasDynamicHelp": false,
1467
1433
  "multiple": false,
1468
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"
1469
1447
  }
1470
1448
  },
1471
1449
  "hasDynamicHelp": false,
1472
1450
  "hiddenAliases": [],
1473
- "id": "composer:base",
1451
+ "id": "agent:restart",
1474
1452
  "pluginAlias": "@dxos/cli",
1475
1453
  "pluginName": "@dxos/cli",
1476
1454
  "pluginType": "core",
@@ -1481,19 +1459,20 @@
1481
1459
  "dist",
1482
1460
  "src",
1483
1461
  "commands",
1484
- "composer",
1485
- "base.js"
1462
+ "agent",
1463
+ "restart.js"
1486
1464
  ]
1487
1465
  },
1488
- "composer:import": {
1466
+ "agent:start": {
1489
1467
  "aliases": [],
1490
- "args": {
1491
- "file": {
1492
- "name": "file",
1493
- "required": true
1468
+ "args": {},
1469
+ "description": "Starts the agent.",
1470
+ "examples": [
1471
+ {
1472
+ "description": "Run with .",
1473
+ "command": "dx agent start -f --ws=5001"
1494
1474
  }
1495
- },
1496
- "description": "Import ECHO objects.",
1475
+ ],
1497
1476
  "flags": {
1498
1477
  "json": {
1499
1478
  "description": "Output as JSON.",
@@ -1584,17 +1563,48 @@
1584
1563
  "multiple": false,
1585
1564
  "type": "option"
1586
1565
  },
1587
- "key": {
1588
- "description": "Space key(s) head in hex.",
1589
- "name": "key",
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",
1590
1585
  "hasDynamicHelp": false,
1591
- "multiple": true,
1586
+ "helpValue": "port",
1587
+ "multiple": false,
1592
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"
1593
1603
  }
1594
1604
  },
1595
1605
  "hasDynamicHelp": false,
1596
1606
  "hiddenAliases": [],
1597
- "id": "composer:import",
1607
+ "id": "agent:start",
1598
1608
  "pluginAlias": "@dxos/cli",
1599
1609
  "pluginName": "@dxos/cli",
1600
1610
  "pluginType": "core",
@@ -1605,14 +1615,14 @@
1605
1615
  "dist",
1606
1616
  "src",
1607
1617
  "commands",
1608
- "composer",
1609
- "import.js"
1618
+ "agent",
1619
+ "start.js"
1610
1620
  ]
1611
1621
  },
1612
- "composer:query": {
1622
+ "agent:status": {
1613
1623
  "aliases": [],
1614
1624
  "args": {},
1615
- "description": "Query database.",
1625
+ "description": "Show agent status",
1616
1626
  "flags": {
1617
1627
  "json": {
1618
1628
  "description": "Output as JSON.",
@@ -1702,25 +1712,141 @@
1702
1712
  "hasDynamicHelp": false,
1703
1713
  "multiple": false,
1704
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"
1705
1766
  },
1706
- "key": {
1707
- "description": "Space key(s) head in hex.",
1708
- "name": "key",
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",
1709
1778
  "hasDynamicHelp": false,
1710
- "multiple": true,
1779
+ "helpValue": "path",
1780
+ "multiple": false,
1711
1781
  "type": "option"
1712
1782
  },
1713
- "type": {
1714
- "description": "Data type.",
1715
- "name": "type",
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,
1716
1804
  "hasDynamicHelp": false,
1717
1805
  "multiple": false,
1718
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",
1837
+ "allowNo": false,
1838
+ "type": "boolean"
1839
+ },
1840
+ "system": {
1841
+ "description": "Run as system daemon.",
1842
+ "name": "system",
1843
+ "allowNo": false,
1844
+ "type": "boolean"
1719
1845
  }
1720
1846
  },
1721
1847
  "hasDynamicHelp": false,
1722
1848
  "hiddenAliases": [],
1723
- "id": "composer:query",
1849
+ "id": "agent:stop",
1724
1850
  "pluginAlias": "@dxos/cli",
1725
1851
  "pluginName": "@dxos/cli",
1726
1852
  "pluginType": "core",
@@ -1731,8 +1857,8 @@
1731
1857
  "dist",
1732
1858
  "src",
1733
1859
  "commands",
1734
- "composer",
1735
- "query.js"
1860
+ "agent",
1861
+ "stop.js"
1736
1862
  ]
1737
1863
  },
1738
1864
  "config": {
@@ -5778,7 +5904,7 @@
5778
5904
  "name": {
5779
5905
  "description": "Tunnel name",
5780
5906
  "name": "name",
5781
- "default": "sodium-snake-thirteen-william",
5907
+ "default": "massachusetts-kansas-three-lithium",
5782
5908
  "hasDynamicHelp": false,
5783
5909
  "multiple": false,
5784
5910
  "type": "option"
@@ -6237,5 +6363,5 @@
6237
6363
  ]
6238
6364
  }
6239
6365
  },
6240
- "version": "0.5.3-main.bbd33a9"
6366
+ "version": "0.5.3-main.bfb5bca"
6241
6367
  }