@dxos/cli 0.5.5-main.7ae47fc → 0.5.5-main.9071bf4

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 (2) hide show
  1. package/oclif.manifest.json +323 -323
  2. package/package.json +28 -26
@@ -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,14 +640,19 @@
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.",
649
+ "args": {
650
+ "file": {
651
+ "name": "file",
652
+ "required": true
653
+ }
654
+ },
655
+ "description": "Import ECHO objects.",
718
656
  "flags": {
719
657
  "json": {
720
658
  "description": "Output as 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,32 @@
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
878
  },
965
- "interactive": {
966
- "char": "i",
967
- "description": "Customize app template options via interactive prompt.",
968
- "name": "interactive",
879
+ "extended": {
880
+ "name": "extended",
969
881
  "allowNo": false,
970
882
  "type": "boolean"
971
883
  }
972
884
  },
973
885
  "hasDynamicHelp": false,
974
886
  "hiddenAliases": [],
975
- "id": "app:create",
887
+ "id": "composer:query",
976
888
  "pluginAlias": "@dxos/cli",
977
889
  "pluginName": "@dxos/cli",
978
890
  "pluginType": "core",
979
- "state": "deprecated",
980
891
  "strict": true,
981
892
  "enableJsonFlag": true,
982
893
  "isESM": false,
@@ -984,14 +895,14 @@
984
895
  "dist",
985
896
  "src",
986
897
  "commands",
987
- "app",
988
- "create.js"
898
+ "composer",
899
+ "query.js"
989
900
  ]
990
901
  },
991
- "app:list": {
902
+ "composer:upload": {
992
903
  "aliases": [],
993
904
  "args": {},
994
- "description": "List apps.",
905
+ "description": "Upload IPFS file.",
995
906
  "flags": {
996
907
  "json": {
997
908
  "description": "Output as JSON.",
@@ -1081,15 +992,28 @@
1081
992
  "hasDynamicHelp": false,
1082
993
  "multiple": false,
1083
994
  "type": "option"
995
+ },
996
+ "key": {
997
+ "description": "Space key(s) head in hex.",
998
+ "name": "key",
999
+ "hasDynamicHelp": false,
1000
+ "multiple": true,
1001
+ "type": "option"
1002
+ },
1003
+ "file": {
1004
+ "name": "file",
1005
+ "required": true,
1006
+ "hasDynamicHelp": false,
1007
+ "multiple": false,
1008
+ "type": "option"
1084
1009
  }
1085
1010
  },
1086
1011
  "hasDynamicHelp": false,
1087
1012
  "hiddenAliases": [],
1088
- "id": "app:list",
1013
+ "id": "composer:upload",
1089
1014
  "pluginAlias": "@dxos/cli",
1090
1015
  "pluginName": "@dxos/cli",
1091
1016
  "pluginType": "core",
1092
- "state": "deprecated",
1093
1017
  "strict": true,
1094
1018
  "enableJsonFlag": true,
1095
1019
  "isESM": false,
@@ -1097,20 +1021,14 @@
1097
1021
  "dist",
1098
1022
  "src",
1099
1023
  "commands",
1100
- "app",
1101
- "list.js"
1024
+ "composer",
1025
+ "upload.js"
1102
1026
  ]
1103
1027
  },
1104
- "app:open": {
1028
+ "agent:invitations": {
1105
1029
  "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.",
1030
+ "args": {},
1031
+ "description": "List valid invitations.",
1114
1032
  "flags": {
1115
1033
  "json": {
1116
1034
  "description": "Output as JSON.",
@@ -1200,29 +1118,20 @@
1200
1118
  "hasDynamicHelp": false,
1201
1119
  "multiple": false,
1202
1120
  "type": "option"
1203
- },
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",
1121
+ },
1122
+ "no-truncate": {
1123
+ "description": "Do not truncate keys.",
1124
+ "name": "no-truncate",
1215
1125
  "allowNo": false,
1216
1126
  "type": "boolean"
1217
1127
  }
1218
1128
  },
1219
1129
  "hasDynamicHelp": false,
1220
1130
  "hiddenAliases": [],
1221
- "id": "app:open",
1131
+ "id": "agent:invitations",
1222
1132
  "pluginAlias": "@dxos/cli",
1223
1133
  "pluginName": "@dxos/cli",
1224
1134
  "pluginType": "core",
1225
- "state": "deprecated",
1226
1135
  "strict": true,
1227
1136
  "enableJsonFlag": true,
1228
1137
  "isESM": false,
@@ -1230,14 +1139,14 @@
1230
1139
  "dist",
1231
1140
  "src",
1232
1141
  "commands",
1233
- "app",
1234
- "open.js"
1142
+ "agent",
1143
+ "invitations.js"
1235
1144
  ]
1236
1145
  },
1237
- "app:publish": {
1146
+ "agent:list": {
1238
1147
  "aliases": [],
1239
1148
  "args": {},
1240
- "description": "Publish apps.",
1149
+ "description": "List agents.",
1241
1150
  "flags": {
1242
1151
  "json": {
1243
1152
  "description": "Output as JSON.",
@@ -1328,41 +1237,102 @@
1328
1237
  "multiple": false,
1329
1238
  "type": "option"
1330
1239
  },
1331
- "configPath": {
1332
- "description": "Path to dx.yml",
1333
- "name": "configPath",
1240
+ "columns": {
1241
+ "description": "only show provided columns (comma-separated)",
1242
+ "exclusive": [
1243
+ "extended"
1244
+ ],
1245
+ "name": "columns",
1334
1246
  "hasDynamicHelp": false,
1335
1247
  "multiple": false,
1336
1248
  "type": "option"
1337
1249
  },
1338
- "accessToken": {
1339
- "description": "Access token for publishing.",
1340
- "name": "accessToken",
1250
+ "csv": {
1251
+ "description": "output is csv format [alias: --output=csv]",
1252
+ "exclusive": [
1253
+ "no-truncate"
1254
+ ],
1255
+ "name": "csv",
1256
+ "allowNo": false,
1257
+ "type": "boolean"
1258
+ },
1259
+ "extended": {
1260
+ "char": "x",
1261
+ "description": "show extra columns",
1262
+ "exclusive": [
1263
+ "columns"
1264
+ ],
1265
+ "name": "extended",
1266
+ "allowNo": false,
1267
+ "type": "boolean"
1268
+ },
1269
+ "filter": {
1270
+ "description": "filter property by partial string matching, ex: name=foo",
1271
+ "name": "filter",
1341
1272
  "hasDynamicHelp": false,
1342
1273
  "multiple": false,
1343
1274
  "type": "option"
1344
1275
  },
1345
- "skipExisting": {
1346
- "description": "Do not update content on KUBE if version already exists.",
1347
- "name": "skipExisting",
1276
+ "no-header": {
1277
+ "description": "hide table header from output",
1278
+ "exclusive": [
1279
+ "csv"
1280
+ ],
1281
+ "name": "no-header",
1348
1282
  "allowNo": false,
1349
1283
  "type": "boolean"
1350
1284
  },
1351
- "version": {
1352
- "description": "Version of modules to publish.",
1353
- "name": "version",
1285
+ "no-truncate": {
1286
+ "description": "do not truncate output to fit screen",
1287
+ "exclusive": [
1288
+ "csv"
1289
+ ],
1290
+ "name": "no-truncate",
1291
+ "allowNo": false,
1292
+ "type": "boolean"
1293
+ },
1294
+ "output": {
1295
+ "description": "output in a more machine friendly format",
1296
+ "exclusive": [
1297
+ "no-truncate",
1298
+ "csv"
1299
+ ],
1300
+ "name": "output",
1301
+ "hasDynamicHelp": false,
1302
+ "multiple": false,
1303
+ "options": [
1304
+ "csv",
1305
+ "json",
1306
+ "yaml"
1307
+ ],
1308
+ "type": "option"
1309
+ },
1310
+ "sort": {
1311
+ "description": "property to sort by (prepend '-' for descending)",
1312
+ "name": "sort",
1354
1313
  "hasDynamicHelp": false,
1355
1314
  "multiple": false,
1356
1315
  "type": "option"
1316
+ },
1317
+ "live": {
1318
+ "description": "Live update.",
1319
+ "name": "live",
1320
+ "allowNo": false,
1321
+ "type": "boolean"
1322
+ },
1323
+ "system": {
1324
+ "description": "Run as system daemon.",
1325
+ "name": "system",
1326
+ "allowNo": false,
1327
+ "type": "boolean"
1357
1328
  }
1358
1329
  },
1359
1330
  "hasDynamicHelp": false,
1360
1331
  "hiddenAliases": [],
1361
- "id": "app:publish",
1332
+ "id": "agent:list",
1362
1333
  "pluginAlias": "@dxos/cli",
1363
1334
  "pluginName": "@dxos/cli",
1364
1335
  "pluginType": "core",
1365
- "state": "deprecated",
1366
1336
  "strict": true,
1367
1337
  "enableJsonFlag": true,
1368
1338
  "isESM": false,
@@ -1370,13 +1340,14 @@
1370
1340
  "dist",
1371
1341
  "src",
1372
1342
  "commands",
1373
- "app",
1374
- "publish.js"
1343
+ "agent",
1344
+ "list.js"
1375
1345
  ]
1376
1346
  },
1377
- "composer:base": {
1347
+ "agent:restart": {
1378
1348
  "aliases": [],
1379
1349
  "args": {},
1350
+ "description": "Restart agent daemon.",
1380
1351
  "flags": {
1381
1352
  "json": {
1382
1353
  "description": "Output as JSON.",
@@ -1466,11 +1437,23 @@
1466
1437
  "hasDynamicHelp": false,
1467
1438
  "multiple": false,
1468
1439
  "type": "option"
1440
+ },
1441
+ "force": {
1442
+ "description": "Force restart.",
1443
+ "name": "force",
1444
+ "allowNo": false,
1445
+ "type": "boolean"
1446
+ },
1447
+ "system": {
1448
+ "description": "Run as system daemon.",
1449
+ "name": "system",
1450
+ "allowNo": false,
1451
+ "type": "boolean"
1469
1452
  }
1470
1453
  },
1471
1454
  "hasDynamicHelp": false,
1472
1455
  "hiddenAliases": [],
1473
- "id": "composer:base",
1456
+ "id": "agent:restart",
1474
1457
  "pluginAlias": "@dxos/cli",
1475
1458
  "pluginName": "@dxos/cli",
1476
1459
  "pluginType": "core",
@@ -1481,19 +1464,20 @@
1481
1464
  "dist",
1482
1465
  "src",
1483
1466
  "commands",
1484
- "composer",
1485
- "base.js"
1467
+ "agent",
1468
+ "restart.js"
1486
1469
  ]
1487
1470
  },
1488
- "composer:import": {
1471
+ "agent:start": {
1489
1472
  "aliases": [],
1490
- "args": {
1491
- "file": {
1492
- "name": "file",
1493
- "required": true
1473
+ "args": {},
1474
+ "description": "Starts the agent.",
1475
+ "examples": [
1476
+ {
1477
+ "description": "Run with .",
1478
+ "command": "dx agent start -f --ws=5001"
1494
1479
  }
1495
- },
1496
- "description": "Import ECHO objects.",
1480
+ ],
1497
1481
  "flags": {
1498
1482
  "json": {
1499
1483
  "description": "Output as JSON.",
@@ -1584,17 +1568,48 @@
1584
1568
  "multiple": false,
1585
1569
  "type": "option"
1586
1570
  },
1587
- "key": {
1588
- "description": "Space key(s) head in hex.",
1589
- "name": "key",
1571
+ "foreground": {
1572
+ "char": "f",
1573
+ "description": "Run in foreground.",
1574
+ "name": "foreground",
1575
+ "allowNo": false,
1576
+ "type": "boolean"
1577
+ },
1578
+ "system": {
1579
+ "description": "Run as system daemon.",
1580
+ "name": "system",
1581
+ "allowNo": false,
1582
+ "type": "boolean"
1583
+ },
1584
+ "ws": {
1585
+ "aliases": [
1586
+ "web-socket"
1587
+ ],
1588
+ "description": "Expose web socket port.",
1589
+ "name": "ws",
1590
1590
  "hasDynamicHelp": false,
1591
- "multiple": true,
1591
+ "helpValue": "port",
1592
+ "multiple": false,
1593
+ "type": "option"
1594
+ },
1595
+ "http": {
1596
+ "description": "Expose http port.",
1597
+ "name": "http",
1598
+ "hasDynamicHelp": false,
1599
+ "helpValue": "port",
1600
+ "multiple": false,
1592
1601
  "type": "option"
1602
+ },
1603
+ "metrics": {
1604
+ "description": "Start metrics recording.",
1605
+ "name": "metrics",
1606
+ "allowNo": false,
1607
+ "type": "boolean"
1593
1608
  }
1594
1609
  },
1595
1610
  "hasDynamicHelp": false,
1596
1611
  "hiddenAliases": [],
1597
- "id": "composer:import",
1612
+ "id": "agent:start",
1598
1613
  "pluginAlias": "@dxos/cli",
1599
1614
  "pluginName": "@dxos/cli",
1600
1615
  "pluginType": "core",
@@ -1605,14 +1620,14 @@
1605
1620
  "dist",
1606
1621
  "src",
1607
1622
  "commands",
1608
- "composer",
1609
- "import.js"
1623
+ "agent",
1624
+ "start.js"
1610
1625
  ]
1611
1626
  },
1612
- "composer:query": {
1627
+ "agent:status": {
1613
1628
  "aliases": [],
1614
1629
  "args": {},
1615
- "description": "Query database.",
1630
+ "description": "Show agent status",
1616
1631
  "flags": {
1617
1632
  "json": {
1618
1633
  "description": "Output as JSON.",
@@ -1702,30 +1717,11 @@
1702
1717
  "hasDynamicHelp": false,
1703
1718
  "multiple": false,
1704
1719
  "type": "option"
1705
- },
1706
- "key": {
1707
- "description": "Space key(s) head in hex.",
1708
- "name": "key",
1709
- "hasDynamicHelp": false,
1710
- "multiple": true,
1711
- "type": "option"
1712
- },
1713
- "type": {
1714
- "description": "Data type.",
1715
- "name": "type",
1716
- "hasDynamicHelp": false,
1717
- "multiple": false,
1718
- "type": "option"
1719
- },
1720
- "extended": {
1721
- "name": "extended",
1722
- "allowNo": false,
1723
- "type": "boolean"
1724
1720
  }
1725
1721
  },
1726
1722
  "hasDynamicHelp": false,
1727
1723
  "hiddenAliases": [],
1728
- "id": "composer:query",
1724
+ "id": "agent:status",
1729
1725
  "pluginAlias": "@dxos/cli",
1730
1726
  "pluginName": "@dxos/cli",
1731
1727
  "pluginType": "core",
@@ -1736,14 +1732,14 @@
1736
1732
  "dist",
1737
1733
  "src",
1738
1734
  "commands",
1739
- "composer",
1740
- "query.js"
1735
+ "agent",
1736
+ "status.js"
1741
1737
  ]
1742
1738
  },
1743
- "composer:upload": {
1739
+ "agent:stop": {
1744
1740
  "aliases": [],
1745
1741
  "args": {},
1746
- "description": "Upload IPFS file.",
1742
+ "description": "Stop agent daemon.",
1747
1743
  "flags": {
1748
1744
  "json": {
1749
1745
  "description": "Output as JSON.",
@@ -1834,24 +1830,28 @@
1834
1830
  "multiple": false,
1835
1831
  "type": "option"
1836
1832
  },
1837
- "key": {
1838
- "description": "Space key(s) head in hex.",
1839
- "name": "key",
1840
- "hasDynamicHelp": false,
1841
- "multiple": true,
1842
- "type": "option"
1833
+ "all": {
1834
+ "description": "Stop all agents.",
1835
+ "name": "all",
1836
+ "allowNo": false,
1837
+ "type": "boolean"
1843
1838
  },
1844
- "file": {
1845
- "name": "file",
1846
- "required": true,
1847
- "hasDynamicHelp": false,
1848
- "multiple": false,
1849
- "type": "option"
1839
+ "force": {
1840
+ "description": "Force stop.",
1841
+ "name": "force",
1842
+ "allowNo": false,
1843
+ "type": "boolean"
1844
+ },
1845
+ "system": {
1846
+ "description": "Run as system daemon.",
1847
+ "name": "system",
1848
+ "allowNo": false,
1849
+ "type": "boolean"
1850
1850
  }
1851
1851
  },
1852
1852
  "hasDynamicHelp": false,
1853
1853
  "hiddenAliases": [],
1854
- "id": "composer:upload",
1854
+ "id": "agent:stop",
1855
1855
  "pluginAlias": "@dxos/cli",
1856
1856
  "pluginName": "@dxos/cli",
1857
1857
  "pluginType": "core",
@@ -1862,8 +1862,8 @@
1862
1862
  "dist",
1863
1863
  "src",
1864
1864
  "commands",
1865
- "composer",
1866
- "upload.js"
1865
+ "agent",
1866
+ "stop.js"
1867
1867
  ]
1868
1868
  },
1869
1869
  "config": {
@@ -6045,7 +6045,7 @@
6045
6045
  "name": {
6046
6046
  "description": "Tunnel name",
6047
6047
  "name": "name",
6048
- "default": "lion-black-quebec-solar",
6048
+ "default": "uranus-mockingbird-diet-rugby",
6049
6049
  "hasDynamicHelp": false,
6050
6050
  "multiple": false,
6051
6051
  "type": "option"
@@ -6504,5 +6504,5 @@
6504
6504
  ]
6505
6505
  }
6506
6506
  },
6507
- "version": "0.5.5-main.7ae47fc"
6507
+ "version": "0.5.5-main.9071bf4"
6508
6508
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/cli",
3
- "version": "0.5.5-main.7ae47fc",
3
+ "version": "0.5.5-main.9071bf4",
4
4
  "description": "DXOS CLI",
5
5
  "keywords": [
6
6
  "dxos",
@@ -52,32 +52,33 @@
52
52
  "uuid": "^8.3.2",
53
53
  "ws": "^8.14.2",
54
54
  "wtfnode": "^0.9.1",
55
- "@braneframe/types": "0.5.5-main.7ae47fc",
56
- "@dxos/agent": "0.5.5-main.7ae47fc",
57
- "@dxos/async": "0.5.5-main.7ae47fc",
58
- "@dxos/bare-template": "0.5.5-main.7ae47fc",
59
- "@dxos/client-protocol": "0.5.5-main.7ae47fc",
60
- "@dxos/client": "0.5.5-main.7ae47fc",
61
- "@dxos/client-services": "0.5.5-main.7ae47fc",
62
- "@dxos/context": "0.5.5-main.7ae47fc",
63
- "@dxos/config": "0.5.5-main.7ae47fc",
64
- "@dxos/debug": "0.5.5-main.7ae47fc",
65
- "@dxos/echo-schema": "0.5.5-main.7ae47fc",
66
- "@dxos/functions": "0.5.5-main.7ae47fc",
67
- "@dxos/hello-template": "0.5.5-main.7ae47fc",
68
- "@dxos/invariant": "0.5.5-main.7ae47fc",
69
- "@dxos/log": "0.5.5-main.7ae47fc",
70
- "@dxos/plate": "0.5.5-main.7ae47fc",
71
- "@dxos/network-manager": "0.5.5-main.7ae47fc",
72
- "@dxos/observability": "0.5.5-main.7ae47fc",
73
- "@dxos/process": "0.5.5-main.7ae47fc",
74
- "@dxos/protocols": "0.5.5-main.7ae47fc",
75
- "@dxos/random": "0.5.5-main.7ae47fc",
76
- "@dxos/tasks-template": "0.5.5-main.7ae47fc",
77
- "@dxos/util": "0.5.5-main.7ae47fc",
78
- "@dxos/rpc": "0.5.5-main.7ae47fc"
55
+ "@braneframe/types": "0.5.5-main.9071bf4",
56
+ "@dxos/async": "0.5.5-main.9071bf4",
57
+ "@dxos/bare-template": "0.5.5-main.9071bf4",
58
+ "@dxos/agent": "0.5.5-main.9071bf4",
59
+ "@dxos/client": "0.5.5-main.9071bf4",
60
+ "@dxos/client-protocol": "0.5.5-main.9071bf4",
61
+ "@dxos/client-services": "0.5.5-main.9071bf4",
62
+ "@dxos/config": "0.5.5-main.9071bf4",
63
+ "@dxos/context": "0.5.5-main.9071bf4",
64
+ "@dxos/debug": "0.5.5-main.9071bf4",
65
+ "@dxos/hello-template": "0.5.5-main.9071bf4",
66
+ "@dxos/functions": "0.5.5-main.9071bf4",
67
+ "@dxos/log": "0.5.5-main.9071bf4",
68
+ "@dxos/echo-schema": "0.5.5-main.9071bf4",
69
+ "@dxos/invariant": "0.5.5-main.9071bf4",
70
+ "@dxos/network-manager": "0.5.5-main.9071bf4",
71
+ "@dxos/observability": "0.5.5-main.9071bf4",
72
+ "@dxos/plate": "0.5.5-main.9071bf4",
73
+ "@dxos/protocols": "0.5.5-main.9071bf4",
74
+ "@dxos/random": "0.5.5-main.9071bf4",
75
+ "@dxos/rpc": "0.5.5-main.9071bf4",
76
+ "@dxos/tasks-template": "0.5.5-main.9071bf4",
77
+ "@dxos/process": "0.5.5-main.9071bf4",
78
+ "@dxos/util": "0.5.5-main.9071bf4"
79
79
  },
80
80
  "devDependencies": {
81
+ "@effect/schema": "^0.67.16",
81
82
  "@oclif/test": "^3.2.15",
82
83
  "@phosphor-icons/react": "^2.1.5",
83
84
  "@types/cli-progress": "^3.11.0",
@@ -88,7 +89,8 @@
88
89
  "@types/node-fetch": "^2.5.10",
89
90
  "@types/platform": "^1.3.4",
90
91
  "@types/react-dom": "^18.0.6",
91
- "fast-check": "^3.15.1",
92
+ "effect": "^3.2.7",
93
+ "fast-check": "^3.19.0",
92
94
  "oclif": "^4.10.11",
93
95
  "prettier": "^3.2.4",
94
96
  "shx": "^0.3.3",