@dxos/cli 0.5.5-main.9071bf4 → 0.5.5-main.97acb7f

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 +322 -322
  2. package/package.json +25 -25
@@ -1,15 +1,9 @@
1
1
  {
2
2
  "commands": {
3
- "app:create": {
3
+ "agent:invitations": {
4
4
  "aliases": [],
5
- "args": {
6
- "name": {
7
- "description": "App name.",
8
- "name": "name",
9
- "required": true
10
- }
11
- },
12
- "description": "Manage applications (deprecated).",
5
+ "args": {},
6
+ "description": "List valid invitations.",
13
7
  "flags": {
14
8
  "json": {
15
9
  "description": "Output as JSON.",
@@ -100,42 +94,19 @@
100
94
  "multiple": false,
101
95
  "type": "option"
102
96
  },
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",
97
+ "no-truncate": {
98
+ "description": "Do not truncate keys.",
99
+ "name": "no-truncate",
128
100
  "allowNo": false,
129
101
  "type": "boolean"
130
102
  }
131
103
  },
132
104
  "hasDynamicHelp": false,
133
105
  "hiddenAliases": [],
134
- "id": "app:create",
106
+ "id": "agent:invitations",
135
107
  "pluginAlias": "@dxos/cli",
136
108
  "pluginName": "@dxos/cli",
137
109
  "pluginType": "core",
138
- "state": "deprecated",
139
110
  "strict": true,
140
111
  "enableJsonFlag": true,
141
112
  "isESM": false,
@@ -143,14 +114,14 @@
143
114
  "dist",
144
115
  "src",
145
116
  "commands",
146
- "app",
147
- "create.js"
117
+ "agent",
118
+ "invitations.js"
148
119
  ]
149
120
  },
150
- "app:list": {
121
+ "agent:list": {
151
122
  "aliases": [],
152
123
  "args": {},
153
- "description": "List apps.",
124
+ "description": "List agents.",
154
125
  "flags": {
155
126
  "json": {
156
127
  "description": "Output as JSON.",
@@ -240,15 +211,103 @@
240
211
  "hasDynamicHelp": false,
241
212
  "multiple": false,
242
213
  "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"
243
303
  }
244
304
  },
245
305
  "hasDynamicHelp": false,
246
306
  "hiddenAliases": [],
247
- "id": "app:list",
307
+ "id": "agent:list",
248
308
  "pluginAlias": "@dxos/cli",
249
309
  "pluginName": "@dxos/cli",
250
310
  "pluginType": "core",
251
- "state": "deprecated",
252
311
  "strict": true,
253
312
  "enableJsonFlag": true,
254
313
  "isESM": false,
@@ -256,20 +315,14 @@
256
315
  "dist",
257
316
  "src",
258
317
  "commands",
259
- "app",
318
+ "agent",
260
319
  "list.js"
261
320
  ]
262
321
  },
263
- "app:open": {
322
+ "agent:restart": {
264
323
  "aliases": [],
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.",
324
+ "args": {},
325
+ "description": "Restart agent daemon.",
273
326
  "flags": {
274
327
  "json": {
275
328
  "description": "Output as JSON.",
@@ -360,28 +413,25 @@
360
413
  "multiple": false,
361
414
  "type": "option"
362
415
  },
363
- "instances": {
364
- "description": "Amount of test instances.",
365
- "name": "instances",
366
- "default": 1,
367
- "hasDynamicHelp": false,
368
- "multiple": false,
369
- "type": "option"
416
+ "force": {
417
+ "description": "Force restart.",
418
+ "name": "force",
419
+ "allowNo": false,
420
+ "type": "boolean"
370
421
  },
371
- "invite": {
372
- "description": "If `true` proceed device invitation for all instances.",
373
- "name": "invite",
422
+ "system": {
423
+ "description": "Run as system daemon.",
424
+ "name": "system",
374
425
  "allowNo": false,
375
426
  "type": "boolean"
376
427
  }
377
428
  },
378
429
  "hasDynamicHelp": false,
379
430
  "hiddenAliases": [],
380
- "id": "app:open",
431
+ "id": "agent:restart",
381
432
  "pluginAlias": "@dxos/cli",
382
433
  "pluginName": "@dxos/cli",
383
434
  "pluginType": "core",
384
- "state": "deprecated",
385
435
  "strict": true,
386
436
  "enableJsonFlag": true,
387
437
  "isESM": false,
@@ -389,14 +439,20 @@
389
439
  "dist",
390
440
  "src",
391
441
  "commands",
392
- "app",
393
- "open.js"
442
+ "agent",
443
+ "restart.js"
394
444
  ]
395
445
  },
396
- "app:publish": {
446
+ "agent:start": {
397
447
  "aliases": [],
398
448
  "args": {},
399
- "description": "Publish apps.",
449
+ "description": "Starts the agent.",
450
+ "examples": [
451
+ {
452
+ "description": "Run with .",
453
+ "command": "dx agent start -f --ws=5001"
454
+ }
455
+ ],
400
456
  "flags": {
401
457
  "json": {
402
458
  "description": "Output as JSON.",
@@ -487,41 +543,51 @@
487
543
  "multiple": false,
488
544
  "type": "option"
489
545
  },
490
- "configPath": {
491
- "description": "Path to dx.yml",
492
- "name": "configPath",
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",
493
565
  "hasDynamicHelp": false,
566
+ "helpValue": "port",
494
567
  "multiple": false,
495
568
  "type": "option"
496
569
  },
497
- "accessToken": {
498
- "description": "Access token for publishing.",
499
- "name": "accessToken",
570
+ "http": {
571
+ "description": "Expose http port.",
572
+ "name": "http",
500
573
  "hasDynamicHelp": false,
574
+ "helpValue": "port",
501
575
  "multiple": false,
502
576
  "type": "option"
503
577
  },
504
- "skipExisting": {
505
- "description": "Do not update content on KUBE if version already exists.",
506
- "name": "skipExisting",
578
+ "metrics": {
579
+ "description": "Start metrics recording.",
580
+ "name": "metrics",
507
581
  "allowNo": false,
508
582
  "type": "boolean"
509
- },
510
- "version": {
511
- "description": "Version of modules to publish.",
512
- "name": "version",
513
- "hasDynamicHelp": false,
514
- "multiple": false,
515
- "type": "option"
516
583
  }
517
584
  },
518
585
  "hasDynamicHelp": false,
519
586
  "hiddenAliases": [],
520
- "id": "app:publish",
587
+ "id": "agent:start",
521
588
  "pluginAlias": "@dxos/cli",
522
589
  "pluginName": "@dxos/cli",
523
590
  "pluginType": "core",
524
- "state": "deprecated",
525
591
  "strict": true,
526
592
  "enableJsonFlag": true,
527
593
  "isESM": false,
@@ -529,13 +595,14 @@
529
595
  "dist",
530
596
  "src",
531
597
  "commands",
532
- "app",
533
- "publish.js"
598
+ "agent",
599
+ "start.js"
534
600
  ]
535
601
  },
536
- "composer:base": {
602
+ "agent:status": {
537
603
  "aliases": [],
538
604
  "args": {},
605
+ "description": "Show agent status",
539
606
  "flags": {
540
607
  "json": {
541
608
  "description": "Output as JSON.",
@@ -629,7 +696,7 @@
629
696
  },
630
697
  "hasDynamicHelp": false,
631
698
  "hiddenAliases": [],
632
- "id": "composer:base",
699
+ "id": "agent:status",
633
700
  "pluginAlias": "@dxos/cli",
634
701
  "pluginName": "@dxos/cli",
635
702
  "pluginType": "core",
@@ -640,19 +707,14 @@
640
707
  "dist",
641
708
  "src",
642
709
  "commands",
643
- "composer",
644
- "base.js"
710
+ "agent",
711
+ "status.js"
645
712
  ]
646
713
  },
647
- "composer:import": {
714
+ "agent:stop": {
648
715
  "aliases": [],
649
- "args": {
650
- "file": {
651
- "name": "file",
652
- "required": true
653
- }
654
- },
655
- "description": "Import ECHO objects.",
716
+ "args": {},
717
+ "description": "Stop agent daemon.",
656
718
  "flags": {
657
719
  "json": {
658
720
  "description": "Output as JSON.",
@@ -743,17 +805,28 @@
743
805
  "multiple": false,
744
806
  "type": "option"
745
807
  },
746
- "key": {
747
- "description": "Space key(s) head in hex.",
748
- "name": "key",
749
- "hasDynamicHelp": false,
750
- "multiple": true,
751
- "type": "option"
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"
752
825
  }
753
826
  },
754
827
  "hasDynamicHelp": false,
755
828
  "hiddenAliases": [],
756
- "id": "composer:import",
829
+ "id": "agent:stop",
757
830
  "pluginAlias": "@dxos/cli",
758
831
  "pluginName": "@dxos/cli",
759
832
  "pluginType": "core",
@@ -764,14 +837,20 @@
764
837
  "dist",
765
838
  "src",
766
839
  "commands",
767
- "composer",
768
- "import.js"
840
+ "agent",
841
+ "stop.js"
769
842
  ]
770
843
  },
771
- "composer:query": {
844
+ "app:create": {
772
845
  "aliases": [],
773
- "args": {},
774
- "description": "Query database.",
846
+ "args": {
847
+ "name": {
848
+ "description": "App name.",
849
+ "name": "name",
850
+ "required": true
851
+ }
852
+ },
853
+ "description": "Manage applications (deprecated).",
775
854
  "flags": {
776
855
  "json": {
777
856
  "description": "Output as JSON.",
@@ -862,32 +941,42 @@
862
941
  "multiple": false,
863
942
  "type": "option"
864
943
  },
865
- "key": {
866
- "description": "Space key(s) head in hex.",
867
- "name": "key",
944
+ "tag": {
945
+ "description": "Git tag or branch of the DXOS repo to checkout.",
946
+ "name": "tag",
868
947
  "hasDynamicHelp": false,
869
- "multiple": true,
948
+ "multiple": false,
870
949
  "type": "option"
871
950
  },
872
- "type": {
873
- "description": "Data type.",
874
- "name": "type",
951
+ "template": {
952
+ "char": "t",
953
+ "description": "Template to use when creating the project.",
954
+ "name": "template",
955
+ "default": "hello",
875
956
  "hasDynamicHelp": false,
876
957
  "multiple": false,
958
+ "options": [
959
+ "hello",
960
+ "bare",
961
+ "tasks"
962
+ ],
877
963
  "type": "option"
878
964
  },
879
- "extended": {
880
- "name": "extended",
965
+ "interactive": {
966
+ "char": "i",
967
+ "description": "Customize app template options via interactive prompt.",
968
+ "name": "interactive",
881
969
  "allowNo": false,
882
970
  "type": "boolean"
883
971
  }
884
972
  },
885
973
  "hasDynamicHelp": false,
886
974
  "hiddenAliases": [],
887
- "id": "composer:query",
975
+ "id": "app:create",
888
976
  "pluginAlias": "@dxos/cli",
889
977
  "pluginName": "@dxos/cli",
890
978
  "pluginType": "core",
979
+ "state": "deprecated",
891
980
  "strict": true,
892
981
  "enableJsonFlag": true,
893
982
  "isESM": false,
@@ -895,14 +984,14 @@
895
984
  "dist",
896
985
  "src",
897
986
  "commands",
898
- "composer",
899
- "query.js"
987
+ "app",
988
+ "create.js"
900
989
  ]
901
990
  },
902
- "composer:upload": {
991
+ "app:list": {
903
992
  "aliases": [],
904
993
  "args": {},
905
- "description": "Upload IPFS file.",
994
+ "description": "List apps.",
906
995
  "flags": {
907
996
  "json": {
908
997
  "description": "Output as JSON.",
@@ -992,28 +1081,15 @@
992
1081
  "hasDynamicHelp": false,
993
1082
  "multiple": false,
994
1083
  "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"
1009
1084
  }
1010
1085
  },
1011
1086
  "hasDynamicHelp": false,
1012
1087
  "hiddenAliases": [],
1013
- "id": "composer:upload",
1088
+ "id": "app:list",
1014
1089
  "pluginAlias": "@dxos/cli",
1015
1090
  "pluginName": "@dxos/cli",
1016
1091
  "pluginType": "core",
1092
+ "state": "deprecated",
1017
1093
  "strict": true,
1018
1094
  "enableJsonFlag": true,
1019
1095
  "isESM": false,
@@ -1021,14 +1097,20 @@
1021
1097
  "dist",
1022
1098
  "src",
1023
1099
  "commands",
1024
- "composer",
1025
- "upload.js"
1100
+ "app",
1101
+ "list.js"
1026
1102
  ]
1027
1103
  },
1028
- "agent:invitations": {
1104
+ "app:open": {
1029
1105
  "aliases": [],
1030
- "args": {},
1031
- "description": "List valid invitations.",
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.",
1032
1114
  "flags": {
1033
1115
  "json": {
1034
1116
  "description": "Output as JSON.",
@@ -1119,19 +1201,28 @@
1119
1201
  "multiple": false,
1120
1202
  "type": "option"
1121
1203
  },
1122
- "no-truncate": {
1123
- "description": "Do not truncate keys.",
1124
- "name": "no-truncate",
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",
1125
1215
  "allowNo": false,
1126
1216
  "type": "boolean"
1127
1217
  }
1128
1218
  },
1129
1219
  "hasDynamicHelp": false,
1130
1220
  "hiddenAliases": [],
1131
- "id": "agent:invitations",
1221
+ "id": "app:open",
1132
1222
  "pluginAlias": "@dxos/cli",
1133
1223
  "pluginName": "@dxos/cli",
1134
1224
  "pluginType": "core",
1225
+ "state": "deprecated",
1135
1226
  "strict": true,
1136
1227
  "enableJsonFlag": true,
1137
1228
  "isESM": false,
@@ -1139,14 +1230,14 @@
1139
1230
  "dist",
1140
1231
  "src",
1141
1232
  "commands",
1142
- "agent",
1143
- "invitations.js"
1233
+ "app",
1234
+ "open.js"
1144
1235
  ]
1145
1236
  },
1146
- "agent:list": {
1237
+ "app:publish": {
1147
1238
  "aliases": [],
1148
1239
  "args": {},
1149
- "description": "List agents.",
1240
+ "description": "Publish apps.",
1150
1241
  "flags": {
1151
1242
  "json": {
1152
1243
  "description": "Output as JSON.",
@@ -1237,102 +1328,41 @@
1237
1328
  "multiple": false,
1238
1329
  "type": "option"
1239
1330
  },
1240
- "columns": {
1241
- "description": "only show provided columns (comma-separated)",
1242
- "exclusive": [
1243
- "extended"
1244
- ],
1245
- "name": "columns",
1331
+ "configPath": {
1332
+ "description": "Path to dx.yml",
1333
+ "name": "configPath",
1246
1334
  "hasDynamicHelp": false,
1247
1335
  "multiple": false,
1248
1336
  "type": "option"
1249
1337
  },
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",
1338
+ "accessToken": {
1339
+ "description": "Access token for publishing.",
1340
+ "name": "accessToken",
1272
1341
  "hasDynamicHelp": false,
1273
1342
  "multiple": false,
1274
1343
  "type": "option"
1275
1344
  },
1276
- "no-header": {
1277
- "description": "hide table header from output",
1278
- "exclusive": [
1279
- "csv"
1280
- ],
1281
- "name": "no-header",
1282
- "allowNo": false,
1283
- "type": "boolean"
1284
- },
1285
- "no-truncate": {
1286
- "description": "do not truncate output to fit screen",
1287
- "exclusive": [
1288
- "csv"
1289
- ],
1290
- "name": "no-truncate",
1345
+ "skipExisting": {
1346
+ "description": "Do not update content on KUBE if version already exists.",
1347
+ "name": "skipExisting",
1291
1348
  "allowNo": false,
1292
1349
  "type": "boolean"
1293
1350
  },
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",
1351
+ "version": {
1352
+ "description": "Version of modules to publish.",
1353
+ "name": "version",
1313
1354
  "hasDynamicHelp": false,
1314
1355
  "multiple": false,
1315
1356
  "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"
1328
1357
  }
1329
1358
  },
1330
1359
  "hasDynamicHelp": false,
1331
1360
  "hiddenAliases": [],
1332
- "id": "agent:list",
1361
+ "id": "app:publish",
1333
1362
  "pluginAlias": "@dxos/cli",
1334
1363
  "pluginName": "@dxos/cli",
1335
1364
  "pluginType": "core",
1365
+ "state": "deprecated",
1336
1366
  "strict": true,
1337
1367
  "enableJsonFlag": true,
1338
1368
  "isESM": false,
@@ -1340,14 +1370,13 @@
1340
1370
  "dist",
1341
1371
  "src",
1342
1372
  "commands",
1343
- "agent",
1344
- "list.js"
1373
+ "app",
1374
+ "publish.js"
1345
1375
  ]
1346
1376
  },
1347
- "agent:restart": {
1377
+ "composer:base": {
1348
1378
  "aliases": [],
1349
1379
  "args": {},
1350
- "description": "Restart agent daemon.",
1351
1380
  "flags": {
1352
1381
  "json": {
1353
1382
  "description": "Output as JSON.",
@@ -1437,23 +1466,11 @@
1437
1466
  "hasDynamicHelp": false,
1438
1467
  "multiple": false,
1439
1468
  "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"
1452
1469
  }
1453
1470
  },
1454
1471
  "hasDynamicHelp": false,
1455
1472
  "hiddenAliases": [],
1456
- "id": "agent:restart",
1473
+ "id": "composer:base",
1457
1474
  "pluginAlias": "@dxos/cli",
1458
1475
  "pluginName": "@dxos/cli",
1459
1476
  "pluginType": "core",
@@ -1464,20 +1481,19 @@
1464
1481
  "dist",
1465
1482
  "src",
1466
1483
  "commands",
1467
- "agent",
1468
- "restart.js"
1484
+ "composer",
1485
+ "base.js"
1469
1486
  ]
1470
1487
  },
1471
- "agent:start": {
1488
+ "composer:import": {
1472
1489
  "aliases": [],
1473
- "args": {},
1474
- "description": "Starts the agent.",
1475
- "examples": [
1476
- {
1477
- "description": "Run with .",
1478
- "command": "dx agent start -f --ws=5001"
1490
+ "args": {
1491
+ "file": {
1492
+ "name": "file",
1493
+ "required": true
1479
1494
  }
1480
- ],
1495
+ },
1496
+ "description": "Import ECHO objects.",
1481
1497
  "flags": {
1482
1498
  "json": {
1483
1499
  "description": "Output as JSON.",
@@ -1568,48 +1584,17 @@
1568
1584
  "multiple": false,
1569
1585
  "type": "option"
1570
1586
  },
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
- "hasDynamicHelp": false,
1591
- "helpValue": "port",
1592
- "multiple": false,
1593
- "type": "option"
1594
- },
1595
- "http": {
1596
- "description": "Expose http port.",
1597
- "name": "http",
1587
+ "key": {
1588
+ "description": "Space key(s) head in hex.",
1589
+ "name": "key",
1598
1590
  "hasDynamicHelp": false,
1599
- "helpValue": "port",
1600
- "multiple": false,
1591
+ "multiple": true,
1601
1592
  "type": "option"
1602
- },
1603
- "metrics": {
1604
- "description": "Start metrics recording.",
1605
- "name": "metrics",
1606
- "allowNo": false,
1607
- "type": "boolean"
1608
1593
  }
1609
1594
  },
1610
1595
  "hasDynamicHelp": false,
1611
1596
  "hiddenAliases": [],
1612
- "id": "agent:start",
1597
+ "id": "composer:import",
1613
1598
  "pluginAlias": "@dxos/cli",
1614
1599
  "pluginName": "@dxos/cli",
1615
1600
  "pluginType": "core",
@@ -1620,14 +1605,14 @@
1620
1605
  "dist",
1621
1606
  "src",
1622
1607
  "commands",
1623
- "agent",
1624
- "start.js"
1608
+ "composer",
1609
+ "import.js"
1625
1610
  ]
1626
1611
  },
1627
- "agent:status": {
1612
+ "composer:query": {
1628
1613
  "aliases": [],
1629
1614
  "args": {},
1630
- "description": "Show agent status",
1615
+ "description": "Query database.",
1631
1616
  "flags": {
1632
1617
  "json": {
1633
1618
  "description": "Output as JSON.",
@@ -1717,11 +1702,30 @@
1717
1702
  "hasDynamicHelp": false,
1718
1703
  "multiple": false,
1719
1704
  "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"
1720
1724
  }
1721
1725
  },
1722
1726
  "hasDynamicHelp": false,
1723
1727
  "hiddenAliases": [],
1724
- "id": "agent:status",
1728
+ "id": "composer:query",
1725
1729
  "pluginAlias": "@dxos/cli",
1726
1730
  "pluginName": "@dxos/cli",
1727
1731
  "pluginType": "core",
@@ -1732,14 +1736,14 @@
1732
1736
  "dist",
1733
1737
  "src",
1734
1738
  "commands",
1735
- "agent",
1736
- "status.js"
1739
+ "composer",
1740
+ "query.js"
1737
1741
  ]
1738
1742
  },
1739
- "agent:stop": {
1743
+ "composer:upload": {
1740
1744
  "aliases": [],
1741
1745
  "args": {},
1742
- "description": "Stop agent daemon.",
1746
+ "description": "Upload IPFS file.",
1743
1747
  "flags": {
1744
1748
  "json": {
1745
1749
  "description": "Output as JSON.",
@@ -1830,28 +1834,24 @@
1830
1834
  "multiple": false,
1831
1835
  "type": "option"
1832
1836
  },
1833
- "all": {
1834
- "description": "Stop all agents.",
1835
- "name": "all",
1836
- "allowNo": false,
1837
- "type": "boolean"
1838
- },
1839
- "force": {
1840
- "description": "Force stop.",
1841
- "name": "force",
1842
- "allowNo": false,
1843
- "type": "boolean"
1837
+ "key": {
1838
+ "description": "Space key(s) head in hex.",
1839
+ "name": "key",
1840
+ "hasDynamicHelp": false,
1841
+ "multiple": true,
1842
+ "type": "option"
1844
1843
  },
1845
- "system": {
1846
- "description": "Run as system daemon.",
1847
- "name": "system",
1848
- "allowNo": false,
1849
- "type": "boolean"
1844
+ "file": {
1845
+ "name": "file",
1846
+ "required": true,
1847
+ "hasDynamicHelp": false,
1848
+ "multiple": false,
1849
+ "type": "option"
1850
1850
  }
1851
1851
  },
1852
1852
  "hasDynamicHelp": false,
1853
1853
  "hiddenAliases": [],
1854
- "id": "agent:stop",
1854
+ "id": "composer:upload",
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
- "agent",
1866
- "stop.js"
1865
+ "composer",
1866
+ "upload.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": "uranus-mockingbird-diet-rugby",
6048
+ "default": "spring-utah-eighteen-tennessee",
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.9071bf4"
6507
+ "version": "0.5.5-main.97acb7f"
6508
6508
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/cli",
3
- "version": "0.5.5-main.9071bf4",
3
+ "version": "0.5.5-main.97acb7f",
4
4
  "description": "DXOS CLI",
5
5
  "keywords": [
6
6
  "dxos",
@@ -52,30 +52,30 @@
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.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"
55
+ "@braneframe/types": "0.5.5-main.97acb7f",
56
+ "@dxos/async": "0.5.5-main.97acb7f",
57
+ "@dxos/bare-template": "0.5.5-main.97acb7f",
58
+ "@dxos/client": "0.5.5-main.97acb7f",
59
+ "@dxos/agent": "0.5.5-main.97acb7f",
60
+ "@dxos/client-protocol": "0.5.5-main.97acb7f",
61
+ "@dxos/config": "0.5.5-main.97acb7f",
62
+ "@dxos/client-services": "0.5.5-main.97acb7f",
63
+ "@dxos/context": "0.5.5-main.97acb7f",
64
+ "@dxos/echo-schema": "0.5.5-main.97acb7f",
65
+ "@dxos/functions": "0.5.5-main.97acb7f",
66
+ "@dxos/debug": "0.5.5-main.97acb7f",
67
+ "@dxos/hello-template": "0.5.5-main.97acb7f",
68
+ "@dxos/log": "0.5.5-main.97acb7f",
69
+ "@dxos/network-manager": "0.5.5-main.97acb7f",
70
+ "@dxos/invariant": "0.5.5-main.97acb7f",
71
+ "@dxos/observability": "0.5.5-main.97acb7f",
72
+ "@dxos/process": "0.5.5-main.97acb7f",
73
+ "@dxos/plate": "0.5.5-main.97acb7f",
74
+ "@dxos/protocols": "0.5.5-main.97acb7f",
75
+ "@dxos/rpc": "0.5.5-main.97acb7f",
76
+ "@dxos/random": "0.5.5-main.97acb7f",
77
+ "@dxos/util": "0.5.5-main.97acb7f",
78
+ "@dxos/tasks-template": "0.5.5-main.97acb7f"
79
79
  },
80
80
  "devDependencies": {
81
81
  "@effect/schema": "^0.67.16",