@dxos/cli 0.8.4-main.70d3990 → 0.8.4-main.7ace549

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.
@@ -197,10 +197,20 @@
197
197
  "index.js"
198
198
  ]
199
199
  },
200
- "device:info": {
200
+ "debug:diagnostics": {
201
201
  "aliases": [],
202
202
  "args": {},
203
- "description": "Show device info.",
203
+ "description": "Create diagnostics report.",
204
+ "examples": [
205
+ {
206
+ "description": "Inspect diagnostics.",
207
+ "command": "dx debug diagnostics --json --truncate | jq -r '.metrics'"
208
+ },
209
+ {
210
+ "description": "Upload diagnostics to GitHub.",
211
+ "command": "dx debug diagnostics --json --truncate | gh gist create --filename diagnostics.json"
212
+ }
213
+ ],
204
214
  "flags": {
205
215
  "json": {
206
216
  "description": "Output as JSON.",
@@ -277,11 +287,23 @@
277
287
  "hasDynamicHelp": false,
278
288
  "multiple": false,
279
289
  "type": "option"
290
+ },
291
+ "humanize": {
292
+ "description": "Humanize keys.",
293
+ "name": "humanize",
294
+ "allowNo": false,
295
+ "type": "boolean"
296
+ },
297
+ "truncate": {
298
+ "description": "Truncate keys.",
299
+ "name": "truncate",
300
+ "allowNo": false,
301
+ "type": "boolean"
280
302
  }
281
303
  },
282
304
  "hasDynamicHelp": false,
283
305
  "hiddenAliases": [],
284
- "id": "device:info",
306
+ "id": "debug:diagnostics",
285
307
  "pluginAlias": "@dxos/cli",
286
308
  "pluginName": "@dxos/cli",
287
309
  "pluginType": "core",
@@ -292,14 +314,14 @@
292
314
  "dist",
293
315
  "src",
294
316
  "commands",
295
- "device",
296
- "info.js"
317
+ "debug",
318
+ "diagnostics.js"
297
319
  ]
298
320
  },
299
- "device:list": {
321
+ "debug:error": {
300
322
  "aliases": [],
301
323
  "args": {},
302
- "description": "Show device info.",
324
+ "description": "Throw error for debugging.",
303
325
  "flags": {
304
326
  "json": {
305
327
  "description": "Output as JSON.",
@@ -376,35 +398,33 @@
376
398
  "hasDynamicHelp": false,
377
399
  "multiple": false,
378
400
  "type": "option"
379
- },
380
- "extended": {
381
- "description": "Show extended table columns.",
382
- "name": "extended",
383
- "allowNo": false,
384
- "type": "boolean"
385
401
  }
386
402
  },
387
403
  "hasDynamicHelp": false,
388
404
  "hiddenAliases": [],
389
- "id": "device:list",
405
+ "id": "debug:error",
390
406
  "pluginAlias": "@dxos/cli",
391
407
  "pluginName": "@dxos/cli",
392
408
  "pluginType": "core",
393
409
  "strict": true,
394
- "enableJsonFlag": true,
395
410
  "isESM": true,
396
411
  "relativePath": [
397
412
  "dist",
398
413
  "src",
399
414
  "commands",
400
- "device",
401
- "list.js"
415
+ "debug",
416
+ "error.js"
402
417
  ]
403
418
  },
404
- "device:update": {
419
+ "debug:generate": {
405
420
  "aliases": [],
406
- "args": {},
407
- "description": "Update device info.",
421
+ "args": {
422
+ "key": {
423
+ "description": "Space key(s) head in hex.",
424
+ "name": "key"
425
+ }
426
+ },
427
+ "description": "Generate test data.",
408
428
  "flags": {
409
429
  "json": {
410
430
  "description": "Output as JSON.",
@@ -482,10 +502,41 @@
482
502
  "multiple": false,
483
503
  "type": "option"
484
504
  },
485
- "label": {
486
- "description": "Set device label",
487
- "name": "label",
488
- "required": true,
505
+ "interval": {
506
+ "description": "Interval between mutations (ms).",
507
+ "name": "interval",
508
+ "default": 0,
509
+ "hasDynamicHelp": false,
510
+ "multiple": false,
511
+ "type": "option"
512
+ },
513
+ "jitter": {
514
+ "description": "Interval variance (ms).",
515
+ "name": "jitter",
516
+ "default": 0,
517
+ "hasDynamicHelp": false,
518
+ "multiple": false,
519
+ "type": "option"
520
+ },
521
+ "objects": {
522
+ "description": "Number of objects.",
523
+ "name": "objects",
524
+ "default": 0,
525
+ "hasDynamicHelp": false,
526
+ "multiple": false,
527
+ "type": "option"
528
+ },
529
+ "mutations": {
530
+ "description": "Number of mutations.",
531
+ "name": "mutations",
532
+ "default": 0,
533
+ "hasDynamicHelp": false,
534
+ "multiple": false,
535
+ "type": "option"
536
+ },
537
+ "epoch": {
538
+ "description": "Number of mutations per epoch.",
539
+ "name": "epoch",
489
540
  "hasDynamicHelp": false,
490
541
  "multiple": false,
491
542
  "type": "option"
@@ -493,34 +544,30 @@
493
544
  },
494
545
  "hasDynamicHelp": false,
495
546
  "hiddenAliases": [],
496
- "id": "device:update",
547
+ "id": "debug:generate",
497
548
  "pluginAlias": "@dxos/cli",
498
549
  "pluginName": "@dxos/cli",
499
550
  "pluginType": "core",
500
551
  "strict": true,
552
+ "enableJsonFlag": true,
501
553
  "isESM": true,
502
554
  "relativePath": [
503
555
  "dist",
504
556
  "src",
505
557
  "commands",
506
- "device",
507
- "update.js"
558
+ "debug",
559
+ "generate.js"
508
560
  ]
509
561
  },
510
- "debug:diagnostics": {
562
+ "debug:metrics": {
511
563
  "aliases": [],
512
- "args": {},
513
- "description": "Create diagnostics report.",
514
- "examples": [
515
- {
516
- "description": "Inspect diagnostics.",
517
- "command": "dx debug diagnostics --json --truncate | jq -r '.metrics'"
518
- },
519
- {
520
- "description": "Upload diagnostics to GitHub.",
521
- "command": "dx debug diagnostics --json --truncate | gh gist create --filename diagnostics.json"
564
+ "args": {
565
+ "command": {
566
+ "description": "Control metrics recording.",
567
+ "name": "command"
522
568
  }
523
- ],
569
+ },
570
+ "description": "Control metrics.",
524
571
  "flags": {
525
572
  "json": {
526
573
  "description": "Output as JSON.",
@@ -597,23 +644,11 @@
597
644
  "hasDynamicHelp": false,
598
645
  "multiple": false,
599
646
  "type": "option"
600
- },
601
- "humanize": {
602
- "description": "Humanize keys.",
603
- "name": "humanize",
604
- "allowNo": false,
605
- "type": "boolean"
606
- },
607
- "truncate": {
608
- "description": "Truncate keys.",
609
- "name": "truncate",
610
- "allowNo": false,
611
- "type": "boolean"
612
647
  }
613
648
  },
614
649
  "hasDynamicHelp": false,
615
650
  "hiddenAliases": [],
616
- "id": "debug:diagnostics",
651
+ "id": "debug:metrics",
617
652
  "pluginAlias": "@dxos/cli",
618
653
  "pluginName": "@dxos/cli",
619
654
  "pluginType": "core",
@@ -625,13 +660,13 @@
625
660
  "src",
626
661
  "commands",
627
662
  "debug",
628
- "diagnostics.js"
663
+ "metrics.js"
629
664
  ]
630
665
  },
631
- "debug:error": {
666
+ "debug:status": {
632
667
  "aliases": [],
633
668
  "args": {},
634
- "description": "Throw error for debugging.",
669
+ "description": "Display status.",
635
670
  "flags": {
636
671
  "json": {
637
672
  "description": "Output as JSON.",
@@ -708,33 +743,37 @@
708
743
  "hasDynamicHelp": false,
709
744
  "multiple": false,
710
745
  "type": "option"
746
+ },
747
+ "interval": {
748
+ "description": "Update interval (ms).",
749
+ "name": "interval",
750
+ "default": 1000,
751
+ "hasDynamicHelp": false,
752
+ "multiple": false,
753
+ "type": "option"
711
754
  }
712
755
  },
713
756
  "hasDynamicHelp": false,
714
757
  "hiddenAliases": [],
715
- "id": "debug:error",
758
+ "id": "debug:status",
716
759
  "pluginAlias": "@dxos/cli",
717
760
  "pluginName": "@dxos/cli",
718
761
  "pluginType": "core",
719
762
  "strict": true,
763
+ "enableJsonFlag": true,
720
764
  "isESM": true,
721
765
  "relativePath": [
722
766
  "dist",
723
767
  "src",
724
768
  "commands",
725
769
  "debug",
726
- "error.js"
770
+ "status.js"
727
771
  ]
728
772
  },
729
- "debug:generate": {
773
+ "device:info": {
730
774
  "aliases": [],
731
- "args": {
732
- "key": {
733
- "description": "Space key(s) head in hex.",
734
- "name": "key"
735
- }
736
- },
737
- "description": "Generate test data.",
775
+ "args": {},
776
+ "description": "Show device info.",
738
777
  "flags": {
739
778
  "json": {
740
779
  "description": "Output as JSON.",
@@ -811,50 +850,11 @@
811
850
  "hasDynamicHelp": false,
812
851
  "multiple": false,
813
852
  "type": "option"
814
- },
815
- "interval": {
816
- "description": "Interval between mutations (ms).",
817
- "name": "interval",
818
- "default": 0,
819
- "hasDynamicHelp": false,
820
- "multiple": false,
821
- "type": "option"
822
- },
823
- "jitter": {
824
- "description": "Interval variance (ms).",
825
- "name": "jitter",
826
- "default": 0,
827
- "hasDynamicHelp": false,
828
- "multiple": false,
829
- "type": "option"
830
- },
831
- "objects": {
832
- "description": "Number of objects.",
833
- "name": "objects",
834
- "default": 0,
835
- "hasDynamicHelp": false,
836
- "multiple": false,
837
- "type": "option"
838
- },
839
- "mutations": {
840
- "description": "Number of mutations.",
841
- "name": "mutations",
842
- "default": 0,
843
- "hasDynamicHelp": false,
844
- "multiple": false,
845
- "type": "option"
846
- },
847
- "epoch": {
848
- "description": "Number of mutations per epoch.",
849
- "name": "epoch",
850
- "hasDynamicHelp": false,
851
- "multiple": false,
852
- "type": "option"
853
853
  }
854
854
  },
855
855
  "hasDynamicHelp": false,
856
856
  "hiddenAliases": [],
857
- "id": "debug:generate",
857
+ "id": "device:info",
858
858
  "pluginAlias": "@dxos/cli",
859
859
  "pluginName": "@dxos/cli",
860
860
  "pluginType": "core",
@@ -865,19 +865,14 @@
865
865
  "dist",
866
866
  "src",
867
867
  "commands",
868
- "debug",
869
- "generate.js"
868
+ "device",
869
+ "info.js"
870
870
  ]
871
871
  },
872
- "debug:metrics": {
872
+ "device:list": {
873
873
  "aliases": [],
874
- "args": {
875
- "command": {
876
- "description": "Control metrics recording.",
877
- "name": "command"
878
- }
879
- },
880
- "description": "Control metrics.",
874
+ "args": {},
875
+ "description": "Show device info.",
881
876
  "flags": {
882
877
  "json": {
883
878
  "description": "Output as JSON.",
@@ -954,11 +949,17 @@
954
949
  "hasDynamicHelp": false,
955
950
  "multiple": false,
956
951
  "type": "option"
952
+ },
953
+ "extended": {
954
+ "description": "Show extended table columns.",
955
+ "name": "extended",
956
+ "allowNo": false,
957
+ "type": "boolean"
957
958
  }
958
959
  },
959
960
  "hasDynamicHelp": false,
960
961
  "hiddenAliases": [],
961
- "id": "debug:metrics",
962
+ "id": "device:list",
962
963
  "pluginAlias": "@dxos/cli",
963
964
  "pluginName": "@dxos/cli",
964
965
  "pluginType": "core",
@@ -969,14 +970,14 @@
969
970
  "dist",
970
971
  "src",
971
972
  "commands",
972
- "debug",
973
- "metrics.js"
973
+ "device",
974
+ "list.js"
974
975
  ]
975
976
  },
976
- "debug:status": {
977
+ "device:update": {
977
978
  "aliases": [],
978
979
  "args": {},
979
- "description": "Display status.",
980
+ "description": "Update device info.",
980
981
  "flags": {
981
982
  "json": {
982
983
  "description": "Output as JSON.",
@@ -1054,10 +1055,10 @@
1054
1055
  "multiple": false,
1055
1056
  "type": "option"
1056
1057
  },
1057
- "interval": {
1058
- "description": "Update interval (ms).",
1059
- "name": "interval",
1060
- "default": 1000,
1058
+ "label": {
1059
+ "description": "Set device label",
1060
+ "name": "label",
1061
+ "required": true,
1061
1062
  "hasDynamicHelp": false,
1062
1063
  "multiple": false,
1063
1064
  "type": "option"
@@ -1065,19 +1066,18 @@
1065
1066
  },
1066
1067
  "hasDynamicHelp": false,
1067
1068
  "hiddenAliases": [],
1068
- "id": "debug:status",
1069
+ "id": "device:update",
1069
1070
  "pluginAlias": "@dxos/cli",
1070
1071
  "pluginName": "@dxos/cli",
1071
1072
  "pluginType": "core",
1072
1073
  "strict": true,
1073
- "enableJsonFlag": true,
1074
1074
  "isESM": true,
1075
1075
  "relativePath": [
1076
1076
  "dist",
1077
1077
  "src",
1078
1078
  "commands",
1079
- "debug",
1080
- "status.js"
1079
+ "device",
1080
+ "update.js"
1081
1081
  ]
1082
1082
  },
1083
1083
  "edge:status": {
@@ -3828,7 +3828,7 @@
3828
3828
  "name": {
3829
3829
  "description": "Tunnel name",
3830
3830
  "name": "name",
3831
- "default": "fish-pennsylvania-tennis-dakota",
3831
+ "default": "fillet-august-seventeen-saturn",
3832
3832
  "hasDynamicHelp": false,
3833
3833
  "multiple": false,
3834
3834
  "type": "option"
@@ -3958,10 +3958,16 @@
3958
3958
  "list.js"
3959
3959
  ]
3960
3960
  },
3961
- "function:trigger:list": {
3961
+ "halo:credential:add": {
3962
3962
  "aliases": [],
3963
- "args": {},
3964
- "description": "List and manage triggers.",
3963
+ "args": {
3964
+ "credential": {
3965
+ "description": "credential",
3966
+ "name": "credential",
3967
+ "required": false
3968
+ }
3969
+ },
3970
+ "description": "Import credential into HALO.",
3965
3971
  "flags": {
3966
3972
  "json": {
3967
3973
  "description": "Output as JSON.",
@@ -4038,60 +4044,29 @@
4038
4044
  "hasDynamicHelp": false,
4039
4045
  "multiple": false,
4040
4046
  "type": "option"
4041
- },
4042
- "id": {
4043
- "description": "Trigger id",
4044
- "name": "id",
4045
- "hasDynamicHelp": false,
4046
- "multiple": false,
4047
- "type": "option"
4048
- },
4049
- "enable": {
4050
- "description": "Enable trigger(s)",
4051
- "name": "enable",
4052
- "allowNo": false,
4053
- "type": "boolean"
4054
- },
4055
- "disable": {
4056
- "description": "Disable trigger(s)",
4057
- "name": "disable",
4058
- "allowNo": false,
4059
- "type": "boolean"
4060
- },
4061
- "extended": {
4062
- "name": "extended",
4063
- "allowNo": false,
4064
- "type": "boolean"
4065
4047
  }
4066
4048
  },
4067
4049
  "hasDynamicHelp": false,
4068
4050
  "hiddenAliases": [],
4069
- "id": "function:trigger:list",
4051
+ "id": "halo:credential:add",
4070
4052
  "pluginAlias": "@dxos/cli",
4071
4053
  "pluginName": "@dxos/cli",
4072
4054
  "pluginType": "core",
4073
4055
  "strict": true,
4074
- "enableJsonFlag": true,
4075
4056
  "isESM": true,
4076
4057
  "relativePath": [
4077
4058
  "dist",
4078
4059
  "src",
4079
4060
  "commands",
4080
- "function",
4081
- "trigger",
4082
- "list.js"
4061
+ "halo",
4062
+ "credential",
4063
+ "add.js"
4083
4064
  ]
4084
4065
  },
4085
- "halo:credential:add": {
4066
+ "halo:credential:list": {
4086
4067
  "aliases": [],
4087
- "args": {
4088
- "credential": {
4089
- "description": "credential",
4090
- "name": "credential",
4091
- "required": false
4092
- }
4093
- },
4094
- "description": "Import credential into HALO.",
4068
+ "args": {},
4069
+ "description": "List HALO credentials.",
4095
4070
  "flags": {
4096
4071
  "json": {
4097
4072
  "description": "Output as JSON.",
@@ -4138,12 +4113,9 @@
4138
4113
  "type": "option"
4139
4114
  },
4140
4115
  "timeout": {
4141
- "aliases": [
4142
- "t"
4143
- ],
4144
- "description": "Timeout (ms).",
4116
+ "description": "Time in milliseconds to wait for at least one credential before listing.",
4145
4117
  "name": "timeout",
4146
- "default": 60000,
4118
+ "default": 500,
4147
4119
  "hasDynamicHelp": false,
4148
4120
  "multiple": false,
4149
4121
  "type": "option"
@@ -4168,15 +4140,44 @@
4168
4140
  "hasDynamicHelp": false,
4169
4141
  "multiple": false,
4170
4142
  "type": "option"
4143
+ },
4144
+ "extended": {
4145
+ "description": "Show extended table columns.",
4146
+ "name": "extended",
4147
+ "allowNo": false,
4148
+ "type": "boolean"
4149
+ },
4150
+ "type": {
4151
+ "description": "Type",
4152
+ "name": "type",
4153
+ "hasDynamicHelp": false,
4154
+ "multiple": false,
4155
+ "type": "option"
4156
+ },
4157
+ "delay": {
4158
+ "description": "Delay in milliseconds before listing.",
4159
+ "name": "delay",
4160
+ "default": 250,
4161
+ "hasDynamicHelp": false,
4162
+ "multiple": false,
4163
+ "type": "option"
4164
+ },
4165
+ "space": {
4166
+ "description": "Space ID of the space to show credentials from. By default, shows halo credentials.",
4167
+ "name": "space",
4168
+ "hasDynamicHelp": false,
4169
+ "multiple": false,
4170
+ "type": "option"
4171
4171
  }
4172
4172
  },
4173
4173
  "hasDynamicHelp": false,
4174
4174
  "hiddenAliases": [],
4175
- "id": "halo:credential:add",
4175
+ "id": "halo:credential:list",
4176
4176
  "pluginAlias": "@dxos/cli",
4177
4177
  "pluginName": "@dxos/cli",
4178
4178
  "pluginType": "core",
4179
4179
  "strict": true,
4180
+ "enableJsonFlag": true,
4180
4181
  "isESM": true,
4181
4182
  "relativePath": [
4182
4183
  "dist",
@@ -4184,13 +4185,13 @@
4184
4185
  "commands",
4185
4186
  "halo",
4186
4187
  "credential",
4187
- "add.js"
4188
+ "list.js"
4188
4189
  ]
4189
4190
  },
4190
- "halo:credential:list": {
4191
+ "function:trigger:list": {
4191
4192
  "aliases": [],
4192
4193
  "args": {},
4193
- "description": "List HALO credentials.",
4194
+ "description": "List and manage triggers.",
4194
4195
  "flags": {
4195
4196
  "json": {
4196
4197
  "description": "Output as JSON.",
@@ -4237,9 +4238,12 @@
4237
4238
  "type": "option"
4238
4239
  },
4239
4240
  "timeout": {
4240
- "description": "Time in milliseconds to wait for at least one credential before listing.",
4241
+ "aliases": [
4242
+ "t"
4243
+ ],
4244
+ "description": "Timeout (ms).",
4241
4245
  "name": "timeout",
4242
- "default": 500,
4246
+ "default": 60000,
4243
4247
  "hasDynamicHelp": false,
4244
4248
  "multiple": false,
4245
4249
  "type": "option"
@@ -4265,38 +4269,34 @@
4265
4269
  "multiple": false,
4266
4270
  "type": "option"
4267
4271
  },
4268
- "extended": {
4269
- "description": "Show extended table columns.",
4270
- "name": "extended",
4271
- "allowNo": false,
4272
- "type": "boolean"
4273
- },
4274
- "type": {
4275
- "description": "Type",
4276
- "name": "type",
4272
+ "id": {
4273
+ "description": "Trigger id",
4274
+ "name": "id",
4277
4275
  "hasDynamicHelp": false,
4278
4276
  "multiple": false,
4279
4277
  "type": "option"
4280
4278
  },
4281
- "delay": {
4282
- "description": "Delay in milliseconds before listing.",
4283
- "name": "delay",
4284
- "default": 250,
4285
- "hasDynamicHelp": false,
4286
- "multiple": false,
4287
- "type": "option"
4279
+ "enable": {
4280
+ "description": "Enable trigger(s)",
4281
+ "name": "enable",
4282
+ "allowNo": false,
4283
+ "type": "boolean"
4288
4284
  },
4289
- "space": {
4290
- "description": "Space ID of the space to show credentials from. By default, shows halo credentials.",
4291
- "name": "space",
4292
- "hasDynamicHelp": false,
4293
- "multiple": false,
4294
- "type": "option"
4285
+ "disable": {
4286
+ "description": "Disable trigger(s)",
4287
+ "name": "disable",
4288
+ "allowNo": false,
4289
+ "type": "boolean"
4290
+ },
4291
+ "extended": {
4292
+ "name": "extended",
4293
+ "allowNo": false,
4294
+ "type": "boolean"
4295
4295
  }
4296
4296
  },
4297
4297
  "hasDynamicHelp": false,
4298
4298
  "hiddenAliases": [],
4299
- "id": "halo:credential:list",
4299
+ "id": "function:trigger:list",
4300
4300
  "pluginAlias": "@dxos/cli",
4301
4301
  "pluginName": "@dxos/cli",
4302
4302
  "pluginType": "core",
@@ -4307,8 +4307,8 @@
4307
4307
  "dist",
4308
4308
  "src",
4309
4309
  "commands",
4310
- "halo",
4311
- "credential",
4310
+ "function",
4311
+ "trigger",
4312
4312
  "list.js"
4313
4313
  ]
4314
4314
  },
@@ -4641,5 +4641,5 @@
4641
4641
  ]
4642
4642
  }
4643
4643
  },
4644
- "version": "0.8.4-main.70d3990"
4644
+ "version": "0.8.4-main.7ace549"
4645
4645
  }