@dxos/cli 0.8.2-main.f11618f → 0.8.2-staging.7ac8446

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 (42) hide show
  1. package/dist/src/commands/debug/generate.js +2 -2
  2. package/dist/src/commands/debug/generate.js.map +1 -1
  3. package/dist/src/commands/function/upload.d.ts +2 -7
  4. package/dist/src/commands/function/upload.d.ts.map +1 -1
  5. package/dist/src/commands/function/upload.js +97 -104
  6. package/dist/src/commands/function/upload.js.map +1 -1
  7. package/dist/src/commands/halo/credential/list.d.ts +0 -1
  8. package/dist/src/commands/halo/credential/list.d.ts.map +1 -1
  9. package/dist/src/commands/halo/credential/list.js +16 -25
  10. package/dist/src/commands/halo/credential/list.js.map +1 -1
  11. package/dist/src/commands/space/list.d.ts +0 -1
  12. package/dist/src/commands/space/list.d.ts.map +1 -1
  13. package/dist/src/commands/space/list.js +3 -7
  14. package/dist/src/commands/space/list.js.map +1 -1
  15. package/dist/src/components/SpaceTable.d.ts.map +1 -1
  16. package/dist/src/components/SpaceTable.js +4 -7
  17. package/dist/src/components/SpaceTable.js.map +1 -1
  18. package/dist/src/help.d.ts.map +1 -1
  19. package/dist/src/help.js +1 -6
  20. package/dist/src/help.js.map +1 -1
  21. package/dist/src/util/index.d.ts +0 -1
  22. package/dist/src/util/index.d.ts.map +1 -1
  23. package/dist/src/util/index.js +0 -1
  24. package/dist/src/util/index.js.map +1 -1
  25. package/oclif.manifest.json +334 -472
  26. package/package.json +25 -25
  27. package/dist/src/commands/function/watch.d.ts +0 -29
  28. package/dist/src/commands/function/watch.d.ts.map +0 -1
  29. package/dist/src/commands/function/watch.js +0 -130
  30. package/dist/src/commands/function/watch.js.map +0 -1
  31. package/dist/src/util/function/bundle.d.ts +0 -5
  32. package/dist/src/util/function/bundle.d.ts.map +0 -1
  33. package/dist/src/util/function/bundle.js +0 -13
  34. package/dist/src/util/function/bundle.js.map +0 -1
  35. package/dist/src/util/function/index.d.ts +0 -3
  36. package/dist/src/util/function/index.d.ts.map +0 -1
  37. package/dist/src/util/function/index.js +0 -6
  38. package/dist/src/util/function/index.js.map +0 -1
  39. package/dist/src/util/function/lookup.d.ts +0 -19
  40. package/dist/src/util/function/lookup.d.ts.map +0 -1
  41. package/dist/src/util/function/lookup.js +0 -14
  42. package/dist/src/util/function/lookup.js.map +0 -1
@@ -839,112 +839,6 @@
839
839
  "stop.js"
840
840
  ]
841
841
  },
842
- "config": {
843
- "aliases": [],
844
- "args": {},
845
- "description": "Show config file.",
846
- "flags": {
847
- "json": {
848
- "description": "Output as JSON.",
849
- "name": "json",
850
- "allowNo": false,
851
- "type": "boolean"
852
- },
853
- "verbose": {
854
- "char": "v",
855
- "description": "Verbose output",
856
- "name": "verbose",
857
- "allowNo": false,
858
- "type": "boolean"
859
- },
860
- "dry-run": {
861
- "description": "Dry run.",
862
- "name": "dry-run",
863
- "allowNo": false,
864
- "type": "boolean"
865
- },
866
- "profile": {
867
- "description": "User profile.",
868
- "env": "DX_PROFILE",
869
- "name": "profile",
870
- "default": "default",
871
- "hasDynamicHelp": false,
872
- "multiple": false,
873
- "type": "option"
874
- },
875
- "config": {
876
- "aliases": [
877
- "c"
878
- ],
879
- "dependsOn": [
880
- "profile"
881
- ],
882
- "description": "Config file.",
883
- "env": "DX_CONFIG",
884
- "name": "config",
885
- "default": "/home/runner/.config/dx/profile/default.yml",
886
- "hasDynamicHelp": false,
887
- "helpValue": "path",
888
- "multiple": false,
889
- "type": "option"
890
- },
891
- "timeout": {
892
- "aliases": [
893
- "t"
894
- ],
895
- "description": "Timeout (ms).",
896
- "name": "timeout",
897
- "default": 60000,
898
- "hasDynamicHelp": false,
899
- "multiple": false,
900
- "type": "option"
901
- },
902
- "target": {
903
- "description": "Target websocket server.",
904
- "name": "target",
905
- "hasDynamicHelp": false,
906
- "multiple": false,
907
- "type": "option"
908
- },
909
- "agent": {
910
- "description": "Run command with agent.",
911
- "env": "DX_NO_AGENT",
912
- "name": "agent",
913
- "allowNo": true,
914
- "type": "boolean"
915
- },
916
- "json-log": {
917
- "description": "When running in foreground, log JSON format",
918
- "name": "json-log",
919
- "allowNo": false,
920
- "type": "boolean"
921
- },
922
- "json-logfile": {
923
- "description": "JSON log file destination, or 'stdout' or 'stderr'",
924
- "name": "json-logfile",
925
- "default": "stderr",
926
- "hasDynamicHelp": false,
927
- "multiple": false,
928
- "type": "option"
929
- }
930
- },
931
- "hasDynamicHelp": false,
932
- "hiddenAliases": [],
933
- "id": "config",
934
- "pluginAlias": "@dxos/cli",
935
- "pluginName": "@dxos/cli",
936
- "pluginType": "core",
937
- "strict": true,
938
- "enableJsonFlag": true,
939
- "isESM": true,
940
- "relativePath": [
941
- "dist",
942
- "src",
943
- "commands",
944
- "config",
945
- "index.js"
946
- ]
947
- },
948
842
  "debug:diagnostics": {
949
843
  "aliases": [],
950
844
  "args": {},
@@ -1553,6 +1447,112 @@
1553
1447
  "status.js"
1554
1448
  ]
1555
1449
  },
1450
+ "config": {
1451
+ "aliases": [],
1452
+ "args": {},
1453
+ "description": "Show config file.",
1454
+ "flags": {
1455
+ "json": {
1456
+ "description": "Output as JSON.",
1457
+ "name": "json",
1458
+ "allowNo": false,
1459
+ "type": "boolean"
1460
+ },
1461
+ "verbose": {
1462
+ "char": "v",
1463
+ "description": "Verbose output",
1464
+ "name": "verbose",
1465
+ "allowNo": false,
1466
+ "type": "boolean"
1467
+ },
1468
+ "dry-run": {
1469
+ "description": "Dry run.",
1470
+ "name": "dry-run",
1471
+ "allowNo": false,
1472
+ "type": "boolean"
1473
+ },
1474
+ "profile": {
1475
+ "description": "User profile.",
1476
+ "env": "DX_PROFILE",
1477
+ "name": "profile",
1478
+ "default": "default",
1479
+ "hasDynamicHelp": false,
1480
+ "multiple": false,
1481
+ "type": "option"
1482
+ },
1483
+ "config": {
1484
+ "aliases": [
1485
+ "c"
1486
+ ],
1487
+ "dependsOn": [
1488
+ "profile"
1489
+ ],
1490
+ "description": "Config file.",
1491
+ "env": "DX_CONFIG",
1492
+ "name": "config",
1493
+ "default": "/home/runner/.config/dx/profile/default.yml",
1494
+ "hasDynamicHelp": false,
1495
+ "helpValue": "path",
1496
+ "multiple": false,
1497
+ "type": "option"
1498
+ },
1499
+ "timeout": {
1500
+ "aliases": [
1501
+ "t"
1502
+ ],
1503
+ "description": "Timeout (ms).",
1504
+ "name": "timeout",
1505
+ "default": 60000,
1506
+ "hasDynamicHelp": false,
1507
+ "multiple": false,
1508
+ "type": "option"
1509
+ },
1510
+ "target": {
1511
+ "description": "Target websocket server.",
1512
+ "name": "target",
1513
+ "hasDynamicHelp": false,
1514
+ "multiple": false,
1515
+ "type": "option"
1516
+ },
1517
+ "agent": {
1518
+ "description": "Run command with agent.",
1519
+ "env": "DX_NO_AGENT",
1520
+ "name": "agent",
1521
+ "allowNo": true,
1522
+ "type": "boolean"
1523
+ },
1524
+ "json-log": {
1525
+ "description": "When running in foreground, log JSON format",
1526
+ "name": "json-log",
1527
+ "allowNo": false,
1528
+ "type": "boolean"
1529
+ },
1530
+ "json-logfile": {
1531
+ "description": "JSON log file destination, or 'stdout' or 'stderr'",
1532
+ "name": "json-logfile",
1533
+ "default": "stderr",
1534
+ "hasDynamicHelp": false,
1535
+ "multiple": false,
1536
+ "type": "option"
1537
+ }
1538
+ },
1539
+ "hasDynamicHelp": false,
1540
+ "hiddenAliases": [],
1541
+ "id": "config",
1542
+ "pluginAlias": "@dxos/cli",
1543
+ "pluginName": "@dxos/cli",
1544
+ "pluginType": "core",
1545
+ "strict": true,
1546
+ "enableJsonFlag": true,
1547
+ "isESM": true,
1548
+ "relativePath": [
1549
+ "dist",
1550
+ "src",
1551
+ "commands",
1552
+ "config",
1553
+ "index.js"
1554
+ ]
1555
+ },
1556
1556
  "device:info": {
1557
1557
  "aliases": [],
1558
1558
  "args": {},
@@ -2210,22 +2210,23 @@
2210
2210
  "multiple": false,
2211
2211
  "type": "option"
2212
2212
  },
2213
- "composerScript": {
2214
- "description": "Loads the script into composer.",
2215
- "name": "composerScript",
2216
- "allowNo": false,
2217
- "type": "boolean"
2213
+ "spaceKey": {
2214
+ "description": "Space key to create/update Script source in.",
2215
+ "name": "spaceKey",
2216
+ "hasDynamicHelp": false,
2217
+ "multiple": false,
2218
+ "type": "option"
2218
2219
  },
2219
- "functionId": {
2220
- "description": "Existing UserFunction ID to update.",
2221
- "name": "functionId",
2220
+ "objectId": {
2221
+ "description": "Existing Script Object ID to update.",
2222
+ "name": "objectId",
2222
2223
  "hasDynamicHelp": false,
2223
2224
  "multiple": false,
2224
2225
  "type": "option"
2225
2226
  },
2226
- "spaceKey": {
2227
- "description": "Space key to create/update Script source in.",
2228
- "name": "spaceKey",
2227
+ "functionId": {
2228
+ "description": "Existing UserFunction ID to update.",
2229
+ "name": "functionId",
2229
2230
  "hasDynamicHelp": false,
2230
2231
  "multiple": false,
2231
2232
  "type": "option"
@@ -2248,15 +2249,16 @@
2248
2249
  "upload.js"
2249
2250
  ]
2250
2251
  },
2251
- "function:watch": {
2252
+ "halo:create": {
2252
2253
  "aliases": [],
2253
2254
  "args": {
2254
- "file": {
2255
- "name": "file",
2256
- "required": true
2255
+ "displayName": {
2256
+ "default": "Agent",
2257
+ "description": "Display name",
2258
+ "name": "displayName"
2257
2259
  }
2258
2260
  },
2259
- "description": "Hot reload script on file changes.",
2261
+ "description": "Create HALO.",
2260
2262
  "flags": {
2261
2263
  "json": {
2262
2264
  "description": "Output as JSON.",
@@ -2341,145 +2343,18 @@
2341
2343
  "multiple": false,
2342
2344
  "type": "option"
2343
2345
  },
2344
- "functionId": {
2345
- "description": "Existing UserFunction ID to update.",
2346
- "name": "functionId",
2347
- "required": true,
2346
+ "deviceLabel": {
2347
+ "description": "Device label",
2348
+ "name": "deviceLabel",
2348
2349
  "hasDynamicHelp": false,
2349
2350
  "multiple": false,
2350
2351
  "type": "option"
2351
2352
  },
2352
- "spaceKey": {
2353
- "description": "Space key to create/update Script source in.",
2354
- "name": "spaceKey",
2355
- "hasDynamicHelp": false,
2356
- "multiple": false,
2357
- "type": "option"
2358
- }
2359
- },
2360
- "hasDynamicHelp": false,
2361
- "hiddenAliases": [],
2362
- "id": "function:watch",
2363
- "pluginAlias": "@dxos/cli",
2364
- "pluginName": "@dxos/cli",
2365
- "pluginType": "core",
2366
- "strict": true,
2367
- "enableJsonFlag": true,
2368
- "isESM": true,
2369
- "relativePath": [
2370
- "dist",
2371
- "src",
2372
- "commands",
2373
- "function",
2374
- "watch.js"
2375
- ]
2376
- },
2377
- "halo:create": {
2378
- "aliases": [],
2379
- "args": {
2380
- "displayName": {
2381
- "default": "Agent",
2382
- "description": "Display name",
2383
- "name": "displayName"
2384
- }
2385
- },
2386
- "description": "Create HALO.",
2387
- "flags": {
2388
- "json": {
2389
- "description": "Output as JSON.",
2390
- "name": "json",
2391
- "allowNo": false,
2392
- "type": "boolean"
2393
- },
2394
- "verbose": {
2395
- "char": "v",
2396
- "description": "Verbose output",
2397
- "name": "verbose",
2398
- "allowNo": false,
2399
- "type": "boolean"
2400
- },
2401
- "dry-run": {
2402
- "description": "Dry run.",
2403
- "name": "dry-run",
2404
- "allowNo": false,
2405
- "type": "boolean"
2406
- },
2407
- "profile": {
2408
- "description": "User profile.",
2409
- "env": "DX_PROFILE",
2410
- "name": "profile",
2411
- "default": "default",
2412
- "hasDynamicHelp": false,
2413
- "multiple": false,
2414
- "type": "option"
2415
- },
2416
- "config": {
2417
- "aliases": [
2418
- "c"
2419
- ],
2420
- "dependsOn": [
2421
- "profile"
2422
- ],
2423
- "description": "Config file.",
2424
- "env": "DX_CONFIG",
2425
- "name": "config",
2426
- "default": "/home/runner/.config/dx/profile/default.yml",
2427
- "hasDynamicHelp": false,
2428
- "helpValue": "path",
2429
- "multiple": false,
2430
- "type": "option"
2431
- },
2432
- "timeout": {
2433
- "aliases": [
2434
- "t"
2435
- ],
2436
- "description": "Timeout (ms).",
2437
- "name": "timeout",
2438
- "default": 60000,
2439
- "hasDynamicHelp": false,
2440
- "multiple": false,
2441
- "type": "option"
2442
- },
2443
- "target": {
2444
- "description": "Target websocket server.",
2445
- "name": "target",
2446
- "hasDynamicHelp": false,
2447
- "multiple": false,
2448
- "type": "option"
2449
- },
2450
- "agent": {
2451
- "description": "Run command with agent.",
2452
- "env": "DX_NO_AGENT",
2453
- "name": "agent",
2454
- "allowNo": true,
2455
- "type": "boolean"
2456
- },
2457
- "json-log": {
2458
- "description": "When running in foreground, log JSON format",
2459
- "name": "json-log",
2460
- "allowNo": false,
2461
- "type": "boolean"
2462
- },
2463
- "json-logfile": {
2464
- "description": "JSON log file destination, or 'stdout' or 'stderr'",
2465
- "name": "json-logfile",
2466
- "default": "stderr",
2467
- "hasDynamicHelp": false,
2468
- "multiple": false,
2469
- "type": "option"
2470
- },
2471
- "deviceLabel": {
2472
- "description": "Device label",
2473
- "name": "deviceLabel",
2474
- "hasDynamicHelp": false,
2475
- "multiple": false,
2476
- "type": "option"
2477
- },
2478
- "managedAgent": {
2479
- "description": "Managed agent",
2480
- "name": "managedAgent",
2481
- "allowNo": false,
2482
- "type": "boolean"
2353
+ "managedAgent": {
2354
+ "description": "Managed agent",
2355
+ "name": "managedAgent",
2356
+ "allowNo": false,
2357
+ "type": "boolean"
2483
2358
  }
2484
2359
  },
2485
2360
  "hasDynamicHelp": false,
@@ -3556,16 +3431,15 @@
3556
3431
  "index.js"
3557
3432
  ]
3558
3433
  },
3559
- "tunnel": {
3434
+ "space:close": {
3560
3435
  "aliases": [],
3561
3436
  "args": {
3562
- "command": {
3563
- "description": "Start.",
3564
- "name": "command",
3565
- "required": true
3437
+ "key": {
3438
+ "description": "Space key(s) head in hex.",
3439
+ "name": "key"
3566
3440
  }
3567
3441
  },
3568
- "description": "Enable or disable tunnel (deprecated).",
3442
+ "description": "Close space.",
3569
3443
  "flags": {
3570
3444
  "json": {
3571
3445
  "description": "Output as JSON.",
@@ -3649,44 +3523,32 @@
3649
3523
  "hasDynamicHelp": false,
3650
3524
  "multiple": false,
3651
3525
  "type": "option"
3652
- },
3653
- "extended": {
3654
- "description": "Show extended table columns.",
3655
- "name": "extended",
3656
- "allowNo": false,
3657
- "type": "boolean"
3658
- },
3659
- "name": {
3660
- "description": "Tunnel name",
3661
- "name": "name",
3662
- "default": "shade-friend-black-apart",
3663
- "hasDynamicHelp": false,
3664
- "multiple": false,
3665
- "type": "option"
3666
3526
  }
3667
3527
  },
3668
3528
  "hasDynamicHelp": false,
3669
3529
  "hiddenAliases": [],
3670
- "id": "tunnel",
3530
+ "id": "space:close",
3671
3531
  "pluginAlias": "@dxos/cli",
3672
3532
  "pluginName": "@dxos/cli",
3673
3533
  "pluginType": "core",
3674
- "state": "deprecated",
3675
3534
  "strict": true,
3676
- "enableJsonFlag": true,
3677
3535
  "isESM": true,
3678
3536
  "relativePath": [
3679
3537
  "dist",
3680
3538
  "src",
3681
3539
  "commands",
3682
- "tunnel",
3683
- "index.js"
3540
+ "space",
3541
+ "close.js"
3684
3542
  ]
3685
3543
  },
3686
- "tunnel:list": {
3544
+ "space:create": {
3687
3545
  "aliases": [],
3688
- "args": {},
3689
- "description": "List tunnels.",
3546
+ "args": {
3547
+ "name": {
3548
+ "name": "name"
3549
+ }
3550
+ },
3551
+ "description": "Create space.",
3690
3552
  "flags": {
3691
3553
  "json": {
3692
3554
  "description": "Output as JSON.",
@@ -3770,21 +3632,14 @@
3770
3632
  "hasDynamicHelp": false,
3771
3633
  "multiple": false,
3772
3634
  "type": "option"
3773
- },
3774
- "extended": {
3775
- "description": "Show extended table columns.",
3776
- "name": "extended",
3777
- "allowNo": false,
3778
- "type": "boolean"
3779
3635
  }
3780
3636
  },
3781
3637
  "hasDynamicHelp": false,
3782
3638
  "hiddenAliases": [],
3783
- "id": "tunnel:list",
3639
+ "id": "space:create",
3784
3640
  "pluginAlias": "@dxos/cli",
3785
3641
  "pluginName": "@dxos/cli",
3786
3642
  "pluginType": "core",
3787
- "state": "deprecated",
3788
3643
  "strict": true,
3789
3644
  "enableJsonFlag": true,
3790
3645
  "isESM": true,
@@ -3792,14 +3647,19 @@
3792
3647
  "dist",
3793
3648
  "src",
3794
3649
  "commands",
3795
- "tunnel",
3796
- "list.js"
3650
+ "space",
3651
+ "create.js"
3797
3652
  ]
3798
3653
  },
3799
- "function:trigger:list": {
3654
+ "space:epoch": {
3800
3655
  "aliases": [],
3801
- "args": {},
3802
- "description": "List and manage triggers.",
3656
+ "args": {
3657
+ "key": {
3658
+ "description": "Space key(s) head in hex.",
3659
+ "name": "key"
3660
+ }
3661
+ },
3662
+ "description": "Create new epoch.",
3803
3663
  "flags": {
3804
3664
  "json": {
3805
3665
  "description": "Output as JSON.",
@@ -3883,35 +3743,11 @@
3883
3743
  "hasDynamicHelp": false,
3884
3744
  "multiple": false,
3885
3745
  "type": "option"
3886
- },
3887
- "id": {
3888
- "description": "Trigger id",
3889
- "name": "id",
3890
- "hasDynamicHelp": false,
3891
- "multiple": false,
3892
- "type": "option"
3893
- },
3894
- "enable": {
3895
- "description": "Enable trigger(s)",
3896
- "name": "enable",
3897
- "allowNo": false,
3898
- "type": "boolean"
3899
- },
3900
- "disable": {
3901
- "description": "Disable trigger(s)",
3902
- "name": "disable",
3903
- "allowNo": false,
3904
- "type": "boolean"
3905
- },
3906
- "extended": {
3907
- "name": "extended",
3908
- "allowNo": false,
3909
- "type": "boolean"
3910
3746
  }
3911
3747
  },
3912
3748
  "hasDynamicHelp": false,
3913
3749
  "hiddenAliases": [],
3914
- "id": "function:trigger:list",
3750
+ "id": "space:epoch",
3915
3751
  "pluginAlias": "@dxos/cli",
3916
3752
  "pluginName": "@dxos/cli",
3917
3753
  "pluginType": "core",
@@ -3922,12 +3758,11 @@
3922
3758
  "dist",
3923
3759
  "src",
3924
3760
  "commands",
3925
- "function",
3926
- "trigger",
3927
- "list.js"
3761
+ "space",
3762
+ "epoch.js"
3928
3763
  ]
3929
3764
  },
3930
- "space:close": {
3765
+ "space:info": {
3931
3766
  "aliases": [],
3932
3767
  "args": {
3933
3768
  "key": {
@@ -3935,7 +3770,7 @@
3935
3770
  "name": "key"
3936
3771
  }
3937
3772
  },
3938
- "description": "Close space.",
3773
+ "description": "Show space info.",
3939
3774
  "flags": {
3940
3775
  "json": {
3941
3776
  "description": "Output as JSON.",
@@ -4023,28 +3858,25 @@
4023
3858
  },
4024
3859
  "hasDynamicHelp": false,
4025
3860
  "hiddenAliases": [],
4026
- "id": "space:close",
3861
+ "id": "space:info",
4027
3862
  "pluginAlias": "@dxos/cli",
4028
3863
  "pluginName": "@dxos/cli",
4029
3864
  "pluginType": "core",
4030
3865
  "strict": true,
3866
+ "enableJsonFlag": true,
4031
3867
  "isESM": true,
4032
3868
  "relativePath": [
4033
3869
  "dist",
4034
3870
  "src",
4035
3871
  "commands",
4036
3872
  "space",
4037
- "close.js"
3873
+ "info.js"
4038
3874
  ]
4039
3875
  },
4040
- "space:create": {
3876
+ "space:join": {
4041
3877
  "aliases": [],
4042
- "args": {
4043
- "name": {
4044
- "name": "name"
4045
- }
4046
- },
4047
- "description": "Create space.",
3878
+ "args": {},
3879
+ "description": "Join space invitation",
4048
3880
  "flags": {
4049
3881
  "json": {
4050
3882
  "description": "Output as JSON.",
@@ -4128,11 +3960,25 @@
4128
3960
  "hasDynamicHelp": false,
4129
3961
  "multiple": false,
4130
3962
  "type": "option"
3963
+ },
3964
+ "invitation": {
3965
+ "description": "Invitation code",
3966
+ "name": "invitation",
3967
+ "hasDynamicHelp": false,
3968
+ "multiple": false,
3969
+ "type": "option"
3970
+ },
3971
+ "secret": {
3972
+ "description": "Invitation secret",
3973
+ "name": "secret",
3974
+ "hasDynamicHelp": false,
3975
+ "multiple": false,
3976
+ "type": "option"
4131
3977
  }
4132
3978
  },
4133
3979
  "hasDynamicHelp": false,
4134
3980
  "hiddenAliases": [],
4135
- "id": "space:create",
3981
+ "id": "space:join",
4136
3982
  "pluginAlias": "@dxos/cli",
4137
3983
  "pluginName": "@dxos/cli",
4138
3984
  "pluginType": "core",
@@ -4144,18 +3990,13 @@
4144
3990
  "src",
4145
3991
  "commands",
4146
3992
  "space",
4147
- "create.js"
3993
+ "join.js"
4148
3994
  ]
4149
3995
  },
4150
- "space:epoch": {
3996
+ "space:list": {
4151
3997
  "aliases": [],
4152
- "args": {
4153
- "key": {
4154
- "description": "Space key(s) head in hex.",
4155
- "name": "key"
4156
- }
4157
- },
4158
- "description": "Create new epoch.",
3998
+ "args": {},
3999
+ "description": "List spaces.",
4159
4000
  "flags": {
4160
4001
  "json": {
4161
4002
  "description": "Output as JSON.",
@@ -4207,7 +4048,7 @@
4207
4048
  ],
4208
4049
  "description": "Timeout (ms).",
4209
4050
  "name": "timeout",
4210
- "default": 60000,
4051
+ "default": 1000,
4211
4052
  "hasDynamicHelp": false,
4212
4053
  "multiple": false,
4213
4054
  "type": "option"
@@ -4239,11 +4080,23 @@
4239
4080
  "hasDynamicHelp": false,
4240
4081
  "multiple": false,
4241
4082
  "type": "option"
4083
+ },
4084
+ "extended": {
4085
+ "description": "Show extended table columns.",
4086
+ "name": "extended",
4087
+ "allowNo": false,
4088
+ "type": "boolean"
4089
+ },
4090
+ "live": {
4091
+ "description": "Live update.",
4092
+ "name": "live",
4093
+ "allowNo": false,
4094
+ "type": "boolean"
4242
4095
  }
4243
4096
  },
4244
4097
  "hasDynamicHelp": false,
4245
4098
  "hiddenAliases": [],
4246
- "id": "space:epoch",
4099
+ "id": "space:list",
4247
4100
  "pluginAlias": "@dxos/cli",
4248
4101
  "pluginName": "@dxos/cli",
4249
4102
  "pluginType": "core",
@@ -4255,10 +4108,10 @@
4255
4108
  "src",
4256
4109
  "commands",
4257
4110
  "space",
4258
- "epoch.js"
4111
+ "list.js"
4259
4112
  ]
4260
4113
  },
4261
- "space:info": {
4114
+ "space:members": {
4262
4115
  "aliases": [],
4263
4116
  "args": {
4264
4117
  "key": {
@@ -4266,7 +4119,7 @@
4266
4119
  "name": "key"
4267
4120
  }
4268
4121
  },
4269
- "description": "Show space info.",
4122
+ "description": "List space members.",
4270
4123
  "flags": {
4271
4124
  "json": {
4272
4125
  "description": "Output as JSON.",
@@ -4350,11 +4203,17 @@
4350
4203
  "hasDynamicHelp": false,
4351
4204
  "multiple": false,
4352
4205
  "type": "option"
4206
+ },
4207
+ "extended": {
4208
+ "description": "Show extended table columns.",
4209
+ "name": "extended",
4210
+ "allowNo": false,
4211
+ "type": "boolean"
4353
4212
  }
4354
4213
  },
4355
4214
  "hasDynamicHelp": false,
4356
4215
  "hiddenAliases": [],
4357
- "id": "space:info",
4216
+ "id": "space:members",
4358
4217
  "pluginAlias": "@dxos/cli",
4359
4218
  "pluginName": "@dxos/cli",
4360
4219
  "pluginType": "core",
@@ -4366,13 +4225,18 @@
4366
4225
  "src",
4367
4226
  "commands",
4368
4227
  "space",
4369
- "info.js"
4228
+ "members.js"
4370
4229
  ]
4371
4230
  },
4372
- "space:join": {
4231
+ "space:open": {
4373
4232
  "aliases": [],
4374
- "args": {},
4375
- "description": "Join space invitation",
4233
+ "args": {
4234
+ "key": {
4235
+ "description": "Space key(s) head in hex.",
4236
+ "name": "key"
4237
+ }
4238
+ },
4239
+ "description": "Open space.",
4376
4240
  "flags": {
4377
4241
  "json": {
4378
4242
  "description": "Output as JSON.",
@@ -4456,43 +4320,33 @@
4456
4320
  "hasDynamicHelp": false,
4457
4321
  "multiple": false,
4458
4322
  "type": "option"
4459
- },
4460
- "invitation": {
4461
- "description": "Invitation code",
4462
- "name": "invitation",
4463
- "hasDynamicHelp": false,
4464
- "multiple": false,
4465
- "type": "option"
4466
- },
4467
- "secret": {
4468
- "description": "Invitation secret",
4469
- "name": "secret",
4470
- "hasDynamicHelp": false,
4471
- "multiple": false,
4472
- "type": "option"
4473
4323
  }
4474
4324
  },
4475
4325
  "hasDynamicHelp": false,
4476
4326
  "hiddenAliases": [],
4477
- "id": "space:join",
4327
+ "id": "space:open",
4478
4328
  "pluginAlias": "@dxos/cli",
4479
4329
  "pluginName": "@dxos/cli",
4480
4330
  "pluginType": "core",
4481
4331
  "strict": true,
4482
- "enableJsonFlag": true,
4483
4332
  "isESM": true,
4484
4333
  "relativePath": [
4485
4334
  "dist",
4486
4335
  "src",
4487
4336
  "commands",
4488
4337
  "space",
4489
- "join.js"
4338
+ "open.js"
4490
4339
  ]
4491
4340
  },
4492
- "space:list": {
4341
+ "space:query": {
4493
4342
  "aliases": [],
4494
- "args": {},
4495
- "description": "List spaces.",
4343
+ "args": {
4344
+ "key": {
4345
+ "description": "Space key(s) head in hex.",
4346
+ "name": "key"
4347
+ }
4348
+ },
4349
+ "description": "Query database.",
4496
4350
  "flags": {
4497
4351
  "json": {
4498
4352
  "description": "Output as JSON.",
@@ -4544,7 +4398,7 @@
4544
4398
  ],
4545
4399
  "description": "Timeout (ms).",
4546
4400
  "name": "timeout",
4547
- "default": 1000,
4401
+ "default": 60000,
4548
4402
  "hasDynamicHelp": false,
4549
4403
  "multiple": false,
4550
4404
  "type": "option"
@@ -4583,22 +4437,17 @@
4583
4437
  "allowNo": false,
4584
4438
  "type": "boolean"
4585
4439
  },
4586
- "live": {
4587
- "description": "Live update.",
4588
- "name": "live",
4589
- "allowNo": false,
4590
- "type": "boolean"
4591
- },
4592
- "noWait": {
4593
- "description": "Do not wait for spaces to be ready.",
4594
- "name": "noWait",
4595
- "allowNo": false,
4596
- "type": "boolean"
4440
+ "typename": {
4441
+ "description": "Filter objects by typename.",
4442
+ "name": "typename",
4443
+ "hasDynamicHelp": false,
4444
+ "multiple": false,
4445
+ "type": "option"
4597
4446
  }
4598
4447
  },
4599
4448
  "hasDynamicHelp": false,
4600
4449
  "hiddenAliases": [],
4601
- "id": "space:list",
4450
+ "id": "space:query",
4602
4451
  "pluginAlias": "@dxos/cli",
4603
4452
  "pluginName": "@dxos/cli",
4604
4453
  "pluginType": "core",
@@ -4610,10 +4459,10 @@
4610
4459
  "src",
4611
4460
  "commands",
4612
4461
  "space",
4613
- "list.js"
4462
+ "query.js"
4614
4463
  ]
4615
4464
  },
4616
- "space:members": {
4465
+ "space:share": {
4617
4466
  "aliases": [],
4618
4467
  "args": {
4619
4468
  "key": {
@@ -4621,7 +4470,7 @@
4621
4470
  "name": "key"
4622
4471
  }
4623
4472
  },
4624
- "description": "List space members.",
4473
+ "description": "Create space invitation.",
4625
4474
  "flags": {
4626
4475
  "json": {
4627
4476
  "description": "Output as JSON.",
@@ -4706,39 +4555,73 @@
4706
4555
  "multiple": false,
4707
4556
  "type": "option"
4708
4557
  },
4709
- "extended": {
4710
- "description": "Show extended table columns.",
4711
- "name": "extended",
4558
+ "multiple": {
4559
+ "description": "Multiple use.",
4560
+ "name": "multiple",
4561
+ "allowNo": false,
4562
+ "type": "boolean"
4563
+ },
4564
+ "lifetime": {
4565
+ "description": "Lifetime of the invitation in seconds",
4566
+ "name": "lifetime",
4567
+ "default": 86400,
4568
+ "hasDynamicHelp": false,
4569
+ "multiple": false,
4570
+ "type": "option"
4571
+ },
4572
+ "persistent": {
4573
+ "description": "Invitation should resume if client restarts",
4574
+ "name": "persistent",
4712
4575
  "allowNo": false,
4713
4576
  "type": "boolean"
4577
+ },
4578
+ "open": {
4579
+ "description": "Open browser with invitation.",
4580
+ "name": "open",
4581
+ "allowNo": false,
4582
+ "type": "boolean"
4583
+ },
4584
+ "host": {
4585
+ "description": "Application Host URL.",
4586
+ "name": "host",
4587
+ "default": "https://composer.space",
4588
+ "hasDynamicHelp": false,
4589
+ "multiple": false,
4590
+ "type": "option"
4591
+ },
4592
+ "auth": {
4593
+ "description": "Skip authentication challenge.",
4594
+ "name": "auth",
4595
+ "allowNo": true,
4596
+ "type": "boolean"
4714
4597
  }
4715
4598
  },
4716
4599
  "hasDynamicHelp": false,
4717
4600
  "hiddenAliases": [],
4718
- "id": "space:members",
4601
+ "id": "space:share",
4719
4602
  "pluginAlias": "@dxos/cli",
4720
4603
  "pluginName": "@dxos/cli",
4721
4604
  "pluginType": "core",
4722
4605
  "strict": true,
4723
- "enableJsonFlag": true,
4724
4606
  "isESM": true,
4725
4607
  "relativePath": [
4726
4608
  "dist",
4727
4609
  "src",
4728
4610
  "commands",
4729
4611
  "space",
4730
- "members.js"
4612
+ "share.js"
4731
4613
  ]
4732
4614
  },
4733
- "space:open": {
4615
+ "tunnel": {
4734
4616
  "aliases": [],
4735
4617
  "args": {
4736
- "key": {
4737
- "description": "Space key(s) head in hex.",
4738
- "name": "key"
4618
+ "command": {
4619
+ "description": "Start.",
4620
+ "name": "command",
4621
+ "required": true
4739
4622
  }
4740
4623
  },
4741
- "description": "Open space.",
4624
+ "description": "Enable or disable tunnel (deprecated).",
4742
4625
  "flags": {
4743
4626
  "json": {
4744
4627
  "description": "Output as JSON.",
@@ -4822,33 +4705,44 @@
4822
4705
  "hasDynamicHelp": false,
4823
4706
  "multiple": false,
4824
4707
  "type": "option"
4708
+ },
4709
+ "extended": {
4710
+ "description": "Show extended table columns.",
4711
+ "name": "extended",
4712
+ "allowNo": false,
4713
+ "type": "boolean"
4714
+ },
4715
+ "name": {
4716
+ "description": "Tunnel name",
4717
+ "name": "name",
4718
+ "default": "oven-december-lactose-autumn",
4719
+ "hasDynamicHelp": false,
4720
+ "multiple": false,
4721
+ "type": "option"
4825
4722
  }
4826
4723
  },
4827
4724
  "hasDynamicHelp": false,
4828
4725
  "hiddenAliases": [],
4829
- "id": "space:open",
4726
+ "id": "tunnel",
4830
4727
  "pluginAlias": "@dxos/cli",
4831
4728
  "pluginName": "@dxos/cli",
4832
4729
  "pluginType": "core",
4730
+ "state": "deprecated",
4833
4731
  "strict": true,
4732
+ "enableJsonFlag": true,
4834
4733
  "isESM": true,
4835
4734
  "relativePath": [
4836
4735
  "dist",
4837
4736
  "src",
4838
4737
  "commands",
4839
- "space",
4840
- "open.js"
4738
+ "tunnel",
4739
+ "index.js"
4841
4740
  ]
4842
4741
  },
4843
- "space:query": {
4742
+ "tunnel:list": {
4844
4743
  "aliases": [],
4845
- "args": {
4846
- "key": {
4847
- "description": "Space key(s) head in hex.",
4848
- "name": "key"
4849
- }
4850
- },
4851
- "description": "Query database.",
4744
+ "args": {},
4745
+ "description": "List tunnels.",
4852
4746
  "flags": {
4853
4747
  "json": {
4854
4748
  "description": "Output as JSON.",
@@ -4938,21 +4832,15 @@
4938
4832
  "name": "extended",
4939
4833
  "allowNo": false,
4940
4834
  "type": "boolean"
4941
- },
4942
- "typename": {
4943
- "description": "Filter objects by typename.",
4944
- "name": "typename",
4945
- "hasDynamicHelp": false,
4946
- "multiple": false,
4947
- "type": "option"
4948
4835
  }
4949
4836
  },
4950
4837
  "hasDynamicHelp": false,
4951
4838
  "hiddenAliases": [],
4952
- "id": "space:query",
4839
+ "id": "tunnel:list",
4953
4840
  "pluginAlias": "@dxos/cli",
4954
4841
  "pluginName": "@dxos/cli",
4955
4842
  "pluginType": "core",
4843
+ "state": "deprecated",
4956
4844
  "strict": true,
4957
4845
  "enableJsonFlag": true,
4958
4846
  "isESM": true,
@@ -4960,19 +4848,14 @@
4960
4848
  "dist",
4961
4849
  "src",
4962
4850
  "commands",
4963
- "space",
4964
- "query.js"
4851
+ "tunnel",
4852
+ "list.js"
4965
4853
  ]
4966
4854
  },
4967
- "space:share": {
4855
+ "function:trigger:list": {
4968
4856
  "aliases": [],
4969
- "args": {
4970
- "key": {
4971
- "description": "Space key(s) head in hex.",
4972
- "name": "key"
4973
- }
4974
- },
4975
- "description": "Create space invitation.",
4857
+ "args": {},
4858
+ "description": "List and manage triggers.",
4976
4859
  "flags": {
4977
4860
  "json": {
4978
4861
  "description": "Output as JSON.",
@@ -5057,61 +4940,47 @@
5057
4940
  "multiple": false,
5058
4941
  "type": "option"
5059
4942
  },
5060
- "multiple": {
5061
- "description": "Multiple use.",
5062
- "name": "multiple",
5063
- "allowNo": false,
5064
- "type": "boolean"
5065
- },
5066
- "lifetime": {
5067
- "description": "Lifetime of the invitation in seconds",
5068
- "name": "lifetime",
5069
- "default": 86400,
4943
+ "id": {
4944
+ "description": "Trigger id",
4945
+ "name": "id",
5070
4946
  "hasDynamicHelp": false,
5071
4947
  "multiple": false,
5072
4948
  "type": "option"
5073
4949
  },
5074
- "persistent": {
5075
- "description": "Invitation should resume if client restarts",
5076
- "name": "persistent",
4950
+ "enable": {
4951
+ "description": "Enable trigger(s)",
4952
+ "name": "enable",
5077
4953
  "allowNo": false,
5078
4954
  "type": "boolean"
5079
4955
  },
5080
- "open": {
5081
- "description": "Open browser with invitation.",
5082
- "name": "open",
4956
+ "disable": {
4957
+ "description": "Disable trigger(s)",
4958
+ "name": "disable",
5083
4959
  "allowNo": false,
5084
4960
  "type": "boolean"
5085
4961
  },
5086
- "host": {
5087
- "description": "Application Host URL.",
5088
- "name": "host",
5089
- "default": "https://composer.space",
5090
- "hasDynamicHelp": false,
5091
- "multiple": false,
5092
- "type": "option"
5093
- },
5094
- "auth": {
5095
- "description": "Skip authentication challenge.",
5096
- "name": "auth",
5097
- "allowNo": true,
4962
+ "extended": {
4963
+ "name": "extended",
4964
+ "allowNo": false,
5098
4965
  "type": "boolean"
5099
4966
  }
5100
4967
  },
5101
4968
  "hasDynamicHelp": false,
5102
4969
  "hiddenAliases": [],
5103
- "id": "space:share",
4970
+ "id": "function:trigger:list",
5104
4971
  "pluginAlias": "@dxos/cli",
5105
4972
  "pluginName": "@dxos/cli",
5106
4973
  "pluginType": "core",
5107
4974
  "strict": true,
4975
+ "enableJsonFlag": true,
5108
4976
  "isESM": true,
5109
4977
  "relativePath": [
5110
4978
  "dist",
5111
4979
  "src",
5112
4980
  "commands",
5113
- "space",
5114
- "share.js"
4981
+ "function",
4982
+ "trigger",
4983
+ "list.js"
5115
4984
  ]
5116
4985
  },
5117
4986
  "halo:credential:add": {
@@ -5331,13 +5200,6 @@
5331
5200
  "hasDynamicHelp": false,
5332
5201
  "multiple": false,
5333
5202
  "type": "option"
5334
- },
5335
- "space": {
5336
- "description": "Space ID of the space to show credentials from. By default, shows halo credentials.",
5337
- "name": "space",
5338
- "hasDynamicHelp": false,
5339
- "multiple": false,
5340
- "type": "option"
5341
5203
  }
5342
5204
  },
5343
5205
  "hasDynamicHelp": false,
@@ -5708,5 +5570,5 @@
5708
5570
  ]
5709
5571
  }
5710
5572
  },
5711
- "version": "0.8.2-main.f11618f"
5573
+ "version": "0.8.2-staging.7ac8446"
5712
5574
  }