@dxos/cli 0.8.0 → 0.8.1-main.303c73a

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.
@@ -839,20 +839,10 @@
839
839
  "stop.js"
840
840
  ]
841
841
  },
842
- "debug:diagnostics": {
842
+ "config": {
843
843
  "aliases": [],
844
844
  "args": {},
845
- "description": "Create diagnostics report.",
846
- "examples": [
847
- {
848
- "description": "Inspect diagnostics.",
849
- "command": "dx debug diagnostics --json --truncate | jq -r '.metrics'"
850
- },
851
- {
852
- "description": "Upload diagnostics to GitHub.",
853
- "command": "dx debug diagnostics --json --truncate | gh gist create --filename diagnostics.json"
854
- }
855
- ],
845
+ "description": "Show config file.",
856
846
  "flags": {
857
847
  "json": {
858
848
  "description": "Output as JSON.",
@@ -936,23 +926,11 @@
936
926
  "hasDynamicHelp": false,
937
927
  "multiple": false,
938
928
  "type": "option"
939
- },
940
- "humanize": {
941
- "description": "Humanize keys.",
942
- "name": "humanize",
943
- "allowNo": false,
944
- "type": "boolean"
945
- },
946
- "truncate": {
947
- "description": "Truncate keys.",
948
- "name": "truncate",
949
- "allowNo": false,
950
- "type": "boolean"
951
929
  }
952
930
  },
953
931
  "hasDynamicHelp": false,
954
932
  "hiddenAliases": [],
955
- "id": "debug:diagnostics",
933
+ "id": "config",
956
934
  "pluginAlias": "@dxos/cli",
957
935
  "pluginName": "@dxos/cli",
958
936
  "pluginType": "core",
@@ -963,14 +941,24 @@
963
941
  "dist",
964
942
  "src",
965
943
  "commands",
966
- "debug",
967
- "diagnostics.js"
944
+ "config",
945
+ "index.js"
968
946
  ]
969
947
  },
970
- "debug:error": {
948
+ "debug:diagnostics": {
971
949
  "aliases": [],
972
950
  "args": {},
973
- "description": "Throw error for debugging.",
951
+ "description": "Create diagnostics report.",
952
+ "examples": [
953
+ {
954
+ "description": "Inspect diagnostics.",
955
+ "command": "dx debug diagnostics --json --truncate | jq -r '.metrics'"
956
+ },
957
+ {
958
+ "description": "Upload diagnostics to GitHub.",
959
+ "command": "dx debug diagnostics --json --truncate | gh gist create --filename diagnostics.json"
960
+ }
961
+ ],
974
962
  "flags": {
975
963
  "json": {
976
964
  "description": "Output as JSON.",
@@ -1054,33 +1042,41 @@
1054
1042
  "hasDynamicHelp": false,
1055
1043
  "multiple": false,
1056
1044
  "type": "option"
1045
+ },
1046
+ "humanize": {
1047
+ "description": "Humanize keys.",
1048
+ "name": "humanize",
1049
+ "allowNo": false,
1050
+ "type": "boolean"
1051
+ },
1052
+ "truncate": {
1053
+ "description": "Truncate keys.",
1054
+ "name": "truncate",
1055
+ "allowNo": false,
1056
+ "type": "boolean"
1057
1057
  }
1058
1058
  },
1059
1059
  "hasDynamicHelp": false,
1060
1060
  "hiddenAliases": [],
1061
- "id": "debug:error",
1061
+ "id": "debug:diagnostics",
1062
1062
  "pluginAlias": "@dxos/cli",
1063
1063
  "pluginName": "@dxos/cli",
1064
1064
  "pluginType": "core",
1065
1065
  "strict": true,
1066
+ "enableJsonFlag": true,
1066
1067
  "isESM": true,
1067
1068
  "relativePath": [
1068
1069
  "dist",
1069
1070
  "src",
1070
1071
  "commands",
1071
1072
  "debug",
1072
- "error.js"
1073
+ "diagnostics.js"
1073
1074
  ]
1074
1075
  },
1075
- "debug:generate": {
1076
+ "debug:error": {
1076
1077
  "aliases": [],
1077
- "args": {
1078
- "key": {
1079
- "description": "Space key(s) head in hex.",
1080
- "name": "key"
1081
- }
1082
- },
1083
- "description": "Generate test data.",
1078
+ "args": {},
1079
+ "description": "Throw error for debugging.",
1084
1080
  "flags": {
1085
1081
  "json": {
1086
1082
  "description": "Output as JSON.",
@@ -1164,73 +1160,33 @@
1164
1160
  "hasDynamicHelp": false,
1165
1161
  "multiple": false,
1166
1162
  "type": "option"
1167
- },
1168
- "interval": {
1169
- "description": "Interval between mutations (ms).",
1170
- "name": "interval",
1171
- "default": 0,
1172
- "hasDynamicHelp": false,
1173
- "multiple": false,
1174
- "type": "option"
1175
- },
1176
- "jitter": {
1177
- "description": "Interval variance (ms).",
1178
- "name": "jitter",
1179
- "default": 0,
1180
- "hasDynamicHelp": false,
1181
- "multiple": false,
1182
- "type": "option"
1183
- },
1184
- "objects": {
1185
- "description": "Number of objects.",
1186
- "name": "objects",
1187
- "default": 0,
1188
- "hasDynamicHelp": false,
1189
- "multiple": false,
1190
- "type": "option"
1191
- },
1192
- "mutations": {
1193
- "description": "Number of mutations.",
1194
- "name": "mutations",
1195
- "default": 0,
1196
- "hasDynamicHelp": false,
1197
- "multiple": false,
1198
- "type": "option"
1199
- },
1200
- "epoch": {
1201
- "description": "Number of mutations per epoch.",
1202
- "name": "epoch",
1203
- "hasDynamicHelp": false,
1204
- "multiple": false,
1205
- "type": "option"
1206
1163
  }
1207
1164
  },
1208
1165
  "hasDynamicHelp": false,
1209
1166
  "hiddenAliases": [],
1210
- "id": "debug:generate",
1167
+ "id": "debug:error",
1211
1168
  "pluginAlias": "@dxos/cli",
1212
1169
  "pluginName": "@dxos/cli",
1213
1170
  "pluginType": "core",
1214
1171
  "strict": true,
1215
- "enableJsonFlag": true,
1216
1172
  "isESM": true,
1217
1173
  "relativePath": [
1218
1174
  "dist",
1219
1175
  "src",
1220
1176
  "commands",
1221
1177
  "debug",
1222
- "generate.js"
1178
+ "error.js"
1223
1179
  ]
1224
1180
  },
1225
- "debug:metrics": {
1181
+ "debug:generate": {
1226
1182
  "aliases": [],
1227
1183
  "args": {
1228
- "command": {
1229
- "description": "Control metrics recording.",
1230
- "name": "command"
1184
+ "key": {
1185
+ "description": "Space key(s) head in hex.",
1186
+ "name": "key"
1231
1187
  }
1232
1188
  },
1233
- "description": "Control metrics.",
1189
+ "description": "Generate test data.",
1234
1190
  "flags": {
1235
1191
  "json": {
1236
1192
  "description": "Output as JSON.",
@@ -1314,11 +1270,50 @@
1314
1270
  "hasDynamicHelp": false,
1315
1271
  "multiple": false,
1316
1272
  "type": "option"
1273
+ },
1274
+ "interval": {
1275
+ "description": "Interval between mutations (ms).",
1276
+ "name": "interval",
1277
+ "default": 0,
1278
+ "hasDynamicHelp": false,
1279
+ "multiple": false,
1280
+ "type": "option"
1281
+ },
1282
+ "jitter": {
1283
+ "description": "Interval variance (ms).",
1284
+ "name": "jitter",
1285
+ "default": 0,
1286
+ "hasDynamicHelp": false,
1287
+ "multiple": false,
1288
+ "type": "option"
1289
+ },
1290
+ "objects": {
1291
+ "description": "Number of objects.",
1292
+ "name": "objects",
1293
+ "default": 0,
1294
+ "hasDynamicHelp": false,
1295
+ "multiple": false,
1296
+ "type": "option"
1297
+ },
1298
+ "mutations": {
1299
+ "description": "Number of mutations.",
1300
+ "name": "mutations",
1301
+ "default": 0,
1302
+ "hasDynamicHelp": false,
1303
+ "multiple": false,
1304
+ "type": "option"
1305
+ },
1306
+ "epoch": {
1307
+ "description": "Number of mutations per epoch.",
1308
+ "name": "epoch",
1309
+ "hasDynamicHelp": false,
1310
+ "multiple": false,
1311
+ "type": "option"
1317
1312
  }
1318
1313
  },
1319
1314
  "hasDynamicHelp": false,
1320
1315
  "hiddenAliases": [],
1321
- "id": "debug:metrics",
1316
+ "id": "debug:generate",
1322
1317
  "pluginAlias": "@dxos/cli",
1323
1318
  "pluginName": "@dxos/cli",
1324
1319
  "pluginType": "core",
@@ -1330,13 +1325,18 @@
1330
1325
  "src",
1331
1326
  "commands",
1332
1327
  "debug",
1333
- "metrics.js"
1328
+ "generate.js"
1334
1329
  ]
1335
1330
  },
1336
- "debug:status": {
1331
+ "debug:metrics": {
1337
1332
  "aliases": [],
1338
- "args": {},
1339
- "description": "Display status.",
1333
+ "args": {
1334
+ "command": {
1335
+ "description": "Control metrics recording.",
1336
+ "name": "command"
1337
+ }
1338
+ },
1339
+ "description": "Control metrics.",
1340
1340
  "flags": {
1341
1341
  "json": {
1342
1342
  "description": "Output as JSON.",
@@ -1420,19 +1420,11 @@
1420
1420
  "hasDynamicHelp": false,
1421
1421
  "multiple": false,
1422
1422
  "type": "option"
1423
- },
1424
- "interval": {
1425
- "description": "Update interval (ms).",
1426
- "name": "interval",
1427
- "default": 1000,
1428
- "hasDynamicHelp": false,
1429
- "multiple": false,
1430
- "type": "option"
1431
1423
  }
1432
1424
  },
1433
1425
  "hasDynamicHelp": false,
1434
1426
  "hiddenAliases": [],
1435
- "id": "debug:status",
1427
+ "id": "debug:metrics",
1436
1428
  "pluginAlias": "@dxos/cli",
1437
1429
  "pluginName": "@dxos/cli",
1438
1430
  "pluginType": "core",
@@ -1444,13 +1436,13 @@
1444
1436
  "src",
1445
1437
  "commands",
1446
1438
  "debug",
1447
- "status.js"
1439
+ "metrics.js"
1448
1440
  ]
1449
1441
  },
1450
- "config": {
1442
+ "debug:status": {
1451
1443
  "aliases": [],
1452
1444
  "args": {},
1453
- "description": "Show config file.",
1445
+ "description": "Display status.",
1454
1446
  "flags": {
1455
1447
  "json": {
1456
1448
  "description": "Output as JSON.",
@@ -1534,11 +1526,19 @@
1534
1526
  "hasDynamicHelp": false,
1535
1527
  "multiple": false,
1536
1528
  "type": "option"
1529
+ },
1530
+ "interval": {
1531
+ "description": "Update interval (ms).",
1532
+ "name": "interval",
1533
+ "default": 1000,
1534
+ "hasDynamicHelp": false,
1535
+ "multiple": false,
1536
+ "type": "option"
1537
1537
  }
1538
1538
  },
1539
1539
  "hasDynamicHelp": false,
1540
1540
  "hiddenAliases": [],
1541
- "id": "config",
1541
+ "id": "debug:status",
1542
1542
  "pluginAlias": "@dxos/cli",
1543
1543
  "pluginName": "@dxos/cli",
1544
1544
  "pluginType": "core",
@@ -1549,8 +1549,8 @@
1549
1549
  "dist",
1550
1550
  "src",
1551
1551
  "commands",
1552
- "config",
1553
- "index.js"
1552
+ "debug",
1553
+ "status.js"
1554
1554
  ]
1555
1555
  },
1556
1556
  "device:info": {
@@ -1884,10 +1884,16 @@
1884
1884
  "update.js"
1885
1885
  ]
1886
1886
  },
1887
- "function:list": {
1887
+ "halo:create": {
1888
1888
  "aliases": [],
1889
- "args": {},
1890
- "description": "List functions.",
1889
+ "args": {
1890
+ "displayName": {
1891
+ "default": "Agent",
1892
+ "description": "Display name",
1893
+ "name": "displayName"
1894
+ }
1895
+ },
1896
+ "description": "Create HALO.",
1891
1897
  "flags": {
1892
1898
  "json": {
1893
1899
  "description": "Output as JSON.",
@@ -1971,11 +1977,24 @@
1971
1977
  "hasDynamicHelp": false,
1972
1978
  "multiple": false,
1973
1979
  "type": "option"
1980
+ },
1981
+ "deviceLabel": {
1982
+ "description": "Device label",
1983
+ "name": "deviceLabel",
1984
+ "hasDynamicHelp": false,
1985
+ "multiple": false,
1986
+ "type": "option"
1987
+ },
1988
+ "managedAgent": {
1989
+ "description": "Managed agent",
1990
+ "name": "managedAgent",
1991
+ "allowNo": false,
1992
+ "type": "boolean"
1974
1993
  }
1975
1994
  },
1976
1995
  "hasDynamicHelp": false,
1977
1996
  "hiddenAliases": [],
1978
- "id": "function:list",
1997
+ "id": "halo:create",
1979
1998
  "pluginAlias": "@dxos/cli",
1980
1999
  "pluginName": "@dxos/cli",
1981
2000
  "pluginType": "core",
@@ -1986,20 +2005,16 @@
1986
2005
  "dist",
1987
2006
  "src",
1988
2007
  "commands",
1989
- "function",
1990
- "list.js"
2008
+ "halo",
2009
+ "create.js"
1991
2010
  ]
1992
2011
  },
1993
- "function:logs": {
1994
- "aliases": [],
1995
- "args": {
1996
- "name": {
1997
- "description": "Function name.",
1998
- "name": "name",
1999
- "required": true
2000
- }
2001
- },
2002
- "description": "Get function logs.",
2012
+ "halo:identity": {
2013
+ "aliases": [
2014
+ "halo:id"
2015
+ ],
2016
+ "args": {},
2017
+ "description": "Show HALO identity.",
2003
2018
  "flags": {
2004
2019
  "json": {
2005
2020
  "description": "Output as JSON.",
@@ -2087,11 +2102,10 @@
2087
2102
  },
2088
2103
  "hasDynamicHelp": false,
2089
2104
  "hiddenAliases": [],
2090
- "id": "function:logs",
2105
+ "id": "halo:identity",
2091
2106
  "pluginAlias": "@dxos/cli",
2092
2107
  "pluginName": "@dxos/cli",
2093
2108
  "pluginType": "core",
2094
- "state": "deprecated",
2095
2109
  "strict": true,
2096
2110
  "enableJsonFlag": true,
2097
2111
  "isESM": true,
@@ -2099,19 +2113,14 @@
2099
2113
  "dist",
2100
2114
  "src",
2101
2115
  "commands",
2102
- "function",
2103
- "logs.js"
2116
+ "halo",
2117
+ "identity.js"
2104
2118
  ]
2105
2119
  },
2106
- "function:upload": {
2120
+ "halo:join": {
2107
2121
  "aliases": [],
2108
- "args": {
2109
- "file": {
2110
- "name": "file",
2111
- "required": true
2112
- }
2113
- },
2114
- "description": "Upload user function.",
2122
+ "args": {},
2123
+ "description": "Join HALO (device) invitation.",
2115
2124
  "flags": {
2116
2125
  "json": {
2117
2126
  "description": "Output as JSON.",
@@ -2158,12 +2167,9 @@
2158
2167
  "type": "option"
2159
2168
  },
2160
2169
  "timeout": {
2161
- "aliases": [
2162
- "t"
2163
- ],
2164
- "description": "Timeout (ms).",
2170
+ "description": "Timeout in seconds",
2165
2171
  "name": "timeout",
2166
- "default": 60000,
2172
+ "default": 300,
2167
2173
  "hasDynamicHelp": false,
2168
2174
  "multiple": false,
2169
2175
  "type": "option"
@@ -2196,45 +2202,37 @@
2196
2202
  "multiple": false,
2197
2203
  "type": "option"
2198
2204
  },
2199
- "name": {
2200
- "description": "Function name.",
2201
- "name": "name",
2202
- "hasDynamicHelp": false,
2203
- "multiple": false,
2204
- "type": "option"
2205
- },
2206
- "version": {
2207
- "description": "Function version.",
2208
- "name": "version",
2205
+ "invitation": {
2206
+ "description": "Invitation code",
2207
+ "name": "invitation",
2209
2208
  "hasDynamicHelp": false,
2210
2209
  "multiple": false,
2211
2210
  "type": "option"
2212
2211
  },
2213
- "spaceKey": {
2214
- "description": "Space key to create/update Script source in.",
2215
- "name": "spaceKey",
2212
+ "secret": {
2213
+ "description": "Invitation secret",
2214
+ "name": "secret",
2216
2215
  "hasDynamicHelp": false,
2217
2216
  "multiple": false,
2218
2217
  "type": "option"
2219
2218
  },
2220
- "objectId": {
2221
- "description": "Existing Script Object ID to update.",
2222
- "name": "objectId",
2219
+ "device-label": {
2220
+ "description": "Set device label",
2221
+ "name": "device-label",
2223
2222
  "hasDynamicHelp": false,
2224
2223
  "multiple": false,
2225
2224
  "type": "option"
2226
2225
  },
2227
- "functionId": {
2228
- "description": "Existing UserFunction ID to update.",
2229
- "name": "functionId",
2230
- "hasDynamicHelp": false,
2231
- "multiple": false,
2232
- "type": "option"
2226
+ "managed-agent": {
2227
+ "description": "set device type as managed agent",
2228
+ "name": "managed-agent",
2229
+ "allowNo": false,
2230
+ "type": "boolean"
2233
2231
  }
2234
2232
  },
2235
2233
  "hasDynamicHelp": false,
2236
2234
  "hiddenAliases": [],
2237
- "id": "function:upload",
2235
+ "id": "halo:join",
2238
2236
  "pluginAlias": "@dxos/cli",
2239
2237
  "pluginName": "@dxos/cli",
2240
2238
  "pluginType": "core",
@@ -2245,20 +2243,14 @@
2245
2243
  "dist",
2246
2244
  "src",
2247
2245
  "commands",
2248
- "function",
2249
- "upload.js"
2246
+ "halo",
2247
+ "join.js"
2250
2248
  ]
2251
2249
  },
2252
- "halo:create": {
2250
+ "halo:keys": {
2253
2251
  "aliases": [],
2254
- "args": {
2255
- "displayName": {
2256
- "default": "Agent",
2257
- "description": "Display name",
2258
- "name": "displayName"
2259
- }
2260
- },
2261
- "description": "Create HALO.",
2252
+ "args": {},
2253
+ "description": "Show HALO keys.",
2262
2254
  "flags": {
2263
2255
  "json": {
2264
2256
  "description": "Output as JSON.",
@@ -2342,24 +2334,11 @@
2342
2334
  "hasDynamicHelp": false,
2343
2335
  "multiple": false,
2344
2336
  "type": "option"
2345
- },
2346
- "deviceLabel": {
2347
- "description": "Device label",
2348
- "name": "deviceLabel",
2349
- "hasDynamicHelp": false,
2350
- "multiple": false,
2351
- "type": "option"
2352
- },
2353
- "managedAgent": {
2354
- "description": "Managed agent",
2355
- "name": "managedAgent",
2356
- "allowNo": false,
2357
- "type": "boolean"
2358
2337
  }
2359
2338
  },
2360
2339
  "hasDynamicHelp": false,
2361
2340
  "hiddenAliases": [],
2362
- "id": "halo:create",
2341
+ "id": "halo:keys",
2363
2342
  "pluginAlias": "@dxos/cli",
2364
2343
  "pluginName": "@dxos/cli",
2365
2344
  "pluginType": "core",
@@ -2371,15 +2350,13 @@
2371
2350
  "src",
2372
2351
  "commands",
2373
2352
  "halo",
2374
- "create.js"
2353
+ "keys.js"
2375
2354
  ]
2376
2355
  },
2377
- "halo:identity": {
2378
- "aliases": [
2379
- "halo:id"
2380
- ],
2356
+ "halo:share": {
2357
+ "aliases": [],
2381
2358
  "args": {},
2382
- "description": "Show HALO identity.",
2359
+ "description": "Create HALO (device) invitation.",
2383
2360
  "flags": {
2384
2361
  "json": {
2385
2362
  "description": "Output as JSON.",
@@ -2463,11 +2440,45 @@
2463
2440
  "hasDynamicHelp": false,
2464
2441
  "multiple": false,
2465
2442
  "type": "option"
2443
+ },
2444
+ "lifetime": {
2445
+ "description": "Lifetime of the invitation in seconds",
2446
+ "name": "lifetime",
2447
+ "default": 43200,
2448
+ "hasDynamicHelp": false,
2449
+ "multiple": false,
2450
+ "type": "option"
2451
+ },
2452
+ "persistent": {
2453
+ "description": "Invitation should resume if client restarts",
2454
+ "name": "persistent",
2455
+ "allowNo": false,
2456
+ "type": "boolean"
2457
+ },
2458
+ "open": {
2459
+ "description": "Open browser with invitation.",
2460
+ "name": "open",
2461
+ "allowNo": false,
2462
+ "type": "boolean"
2463
+ },
2464
+ "host": {
2465
+ "description": "Application Host URL.",
2466
+ "name": "host",
2467
+ "default": "https://composer.space",
2468
+ "hasDynamicHelp": false,
2469
+ "multiple": false,
2470
+ "type": "option"
2471
+ },
2472
+ "auth": {
2473
+ "description": "Skip authentication challenge.",
2474
+ "name": "auth",
2475
+ "allowNo": true,
2476
+ "type": "boolean"
2466
2477
  }
2467
2478
  },
2468
2479
  "hasDynamicHelp": false,
2469
2480
  "hiddenAliases": [],
2470
- "id": "halo:identity",
2481
+ "id": "halo:share",
2471
2482
  "pluginAlias": "@dxos/cli",
2472
2483
  "pluginName": "@dxos/cli",
2473
2484
  "pluginType": "core",
@@ -2479,13 +2490,13 @@
2479
2490
  "src",
2480
2491
  "commands",
2481
2492
  "halo",
2482
- "identity.js"
2493
+ "share.js"
2483
2494
  ]
2484
2495
  },
2485
- "halo:join": {
2496
+ "halo:update": {
2486
2497
  "aliases": [],
2487
2498
  "args": {},
2488
- "description": "Join HALO (device) invitation.",
2499
+ "description": "Update identity profile.",
2489
2500
  "flags": {
2490
2501
  "json": {
2491
2502
  "description": "Output as JSON.",
@@ -2532,9 +2543,12 @@
2532
2543
  "type": "option"
2533
2544
  },
2534
2545
  "timeout": {
2535
- "description": "Timeout in seconds",
2546
+ "aliases": [
2547
+ "t"
2548
+ ],
2549
+ "description": "Timeout (ms).",
2536
2550
  "name": "timeout",
2537
- "default": 300,
2551
+ "default": 60000,
2538
2552
  "hasDynamicHelp": false,
2539
2553
  "multiple": false,
2540
2554
  "type": "option"
@@ -2567,55 +2581,34 @@
2567
2581
  "multiple": false,
2568
2582
  "type": "option"
2569
2583
  },
2570
- "invitation": {
2571
- "description": "Invitation code",
2572
- "name": "invitation",
2573
- "hasDynamicHelp": false,
2574
- "multiple": false,
2575
- "type": "option"
2576
- },
2577
- "secret": {
2578
- "description": "Invitation secret",
2579
- "name": "secret",
2580
- "hasDynamicHelp": false,
2581
- "multiple": false,
2582
- "type": "option"
2583
- },
2584
- "device-label": {
2585
- "description": "Set device label",
2586
- "name": "device-label",
2584
+ "displayName": {
2585
+ "description": "Set display name",
2586
+ "name": "displayName",
2587
2587
  "hasDynamicHelp": false,
2588
2588
  "multiple": false,
2589
2589
  "type": "option"
2590
- },
2591
- "managed-agent": {
2592
- "description": "set device type as managed agent",
2593
- "name": "managed-agent",
2594
- "allowNo": false,
2595
- "type": "boolean"
2596
2590
  }
2597
2591
  },
2598
2592
  "hasDynamicHelp": false,
2599
2593
  "hiddenAliases": [],
2600
- "id": "halo:join",
2594
+ "id": "halo:update",
2601
2595
  "pluginAlias": "@dxos/cli",
2602
2596
  "pluginName": "@dxos/cli",
2603
2597
  "pluginType": "core",
2604
2598
  "strict": true,
2605
- "enableJsonFlag": true,
2606
2599
  "isESM": true,
2607
2600
  "relativePath": [
2608
2601
  "dist",
2609
2602
  "src",
2610
2603
  "commands",
2611
2604
  "halo",
2612
- "join.js"
2605
+ "update.js"
2613
2606
  ]
2614
2607
  },
2615
- "halo:keys": {
2608
+ "function:list": {
2616
2609
  "aliases": [],
2617
2610
  "args": {},
2618
- "description": "Show HALO keys.",
2611
+ "description": "List functions.",
2619
2612
  "flags": {
2620
2613
  "json": {
2621
2614
  "description": "Output as JSON.",
@@ -2703,7 +2696,7 @@
2703
2696
  },
2704
2697
  "hasDynamicHelp": false,
2705
2698
  "hiddenAliases": [],
2706
- "id": "halo:keys",
2699
+ "id": "function:list",
2707
2700
  "pluginAlias": "@dxos/cli",
2708
2701
  "pluginName": "@dxos/cli",
2709
2702
  "pluginType": "core",
@@ -2714,14 +2707,20 @@
2714
2707
  "dist",
2715
2708
  "src",
2716
2709
  "commands",
2717
- "halo",
2718
- "keys.js"
2710
+ "function",
2711
+ "list.js"
2719
2712
  ]
2720
2713
  },
2721
- "halo:share": {
2714
+ "function:logs": {
2722
2715
  "aliases": [],
2723
- "args": {},
2724
- "description": "Create HALO (device) invitation.",
2716
+ "args": {
2717
+ "name": {
2718
+ "description": "Function name.",
2719
+ "name": "name",
2720
+ "required": true
2721
+ }
2722
+ },
2723
+ "description": "Get function logs.",
2725
2724
  "flags": {
2726
2725
  "json": {
2727
2726
  "description": "Output as JSON.",
@@ -2792,61 +2791,28 @@
2792
2791
  "allowNo": true,
2793
2792
  "type": "boolean"
2794
2793
  },
2795
- "json-log": {
2796
- "description": "When running in foreground, log JSON format",
2797
- "name": "json-log",
2798
- "allowNo": false,
2799
- "type": "boolean"
2800
- },
2801
- "json-logfile": {
2802
- "description": "JSON log file destination, or 'stdout' or 'stderr'",
2803
- "name": "json-logfile",
2804
- "default": "stderr",
2805
- "hasDynamicHelp": false,
2806
- "multiple": false,
2807
- "type": "option"
2808
- },
2809
- "lifetime": {
2810
- "description": "Lifetime of the invitation in seconds",
2811
- "name": "lifetime",
2812
- "default": 43200,
2813
- "hasDynamicHelp": false,
2814
- "multiple": false,
2815
- "type": "option"
2816
- },
2817
- "persistent": {
2818
- "description": "Invitation should resume if client restarts",
2819
- "name": "persistent",
2820
- "allowNo": false,
2821
- "type": "boolean"
2822
- },
2823
- "open": {
2824
- "description": "Open browser with invitation.",
2825
- "name": "open",
2794
+ "json-log": {
2795
+ "description": "When running in foreground, log JSON format",
2796
+ "name": "json-log",
2826
2797
  "allowNo": false,
2827
2798
  "type": "boolean"
2828
2799
  },
2829
- "host": {
2830
- "description": "Application Host URL.",
2831
- "name": "host",
2832
- "default": "https://composer.space",
2800
+ "json-logfile": {
2801
+ "description": "JSON log file destination, or 'stdout' or 'stderr'",
2802
+ "name": "json-logfile",
2803
+ "default": "stderr",
2833
2804
  "hasDynamicHelp": false,
2834
2805
  "multiple": false,
2835
2806
  "type": "option"
2836
- },
2837
- "auth": {
2838
- "description": "Skip authentication challenge.",
2839
- "name": "auth",
2840
- "allowNo": true,
2841
- "type": "boolean"
2842
2807
  }
2843
2808
  },
2844
2809
  "hasDynamicHelp": false,
2845
2810
  "hiddenAliases": [],
2846
- "id": "halo:share",
2811
+ "id": "function:logs",
2847
2812
  "pluginAlias": "@dxos/cli",
2848
2813
  "pluginName": "@dxos/cli",
2849
2814
  "pluginType": "core",
2815
+ "state": "deprecated",
2850
2816
  "strict": true,
2851
2817
  "enableJsonFlag": true,
2852
2818
  "isESM": true,
@@ -2854,14 +2820,19 @@
2854
2820
  "dist",
2855
2821
  "src",
2856
2822
  "commands",
2857
- "halo",
2858
- "share.js"
2823
+ "function",
2824
+ "logs.js"
2859
2825
  ]
2860
2826
  },
2861
- "halo:update": {
2827
+ "function:upload": {
2862
2828
  "aliases": [],
2863
- "args": {},
2864
- "description": "Update identity profile.",
2829
+ "args": {
2830
+ "file": {
2831
+ "name": "file",
2832
+ "required": true
2833
+ }
2834
+ },
2835
+ "description": "Upload user function.",
2865
2836
  "flags": {
2866
2837
  "json": {
2867
2838
  "description": "Output as JSON.",
@@ -2946,9 +2917,37 @@
2946
2917
  "multiple": false,
2947
2918
  "type": "option"
2948
2919
  },
2949
- "displayName": {
2950
- "description": "Set display name",
2951
- "name": "displayName",
2920
+ "name": {
2921
+ "description": "Function name.",
2922
+ "name": "name",
2923
+ "hasDynamicHelp": false,
2924
+ "multiple": false,
2925
+ "type": "option"
2926
+ },
2927
+ "version": {
2928
+ "description": "Function version.",
2929
+ "name": "version",
2930
+ "hasDynamicHelp": false,
2931
+ "multiple": false,
2932
+ "type": "option"
2933
+ },
2934
+ "spaceKey": {
2935
+ "description": "Space key to create/update Script source in.",
2936
+ "name": "spaceKey",
2937
+ "hasDynamicHelp": false,
2938
+ "multiple": false,
2939
+ "type": "option"
2940
+ },
2941
+ "objectId": {
2942
+ "description": "Existing Script Object ID to update.",
2943
+ "name": "objectId",
2944
+ "hasDynamicHelp": false,
2945
+ "multiple": false,
2946
+ "type": "option"
2947
+ },
2948
+ "functionId": {
2949
+ "description": "Existing UserFunction ID to update.",
2950
+ "name": "functionId",
2952
2951
  "hasDynamicHelp": false,
2953
2952
  "multiple": false,
2954
2953
  "type": "option"
@@ -2956,18 +2955,19 @@
2956
2955
  },
2957
2956
  "hasDynamicHelp": false,
2958
2957
  "hiddenAliases": [],
2959
- "id": "halo:update",
2958
+ "id": "function:upload",
2960
2959
  "pluginAlias": "@dxos/cli",
2961
2960
  "pluginName": "@dxos/cli",
2962
2961
  "pluginType": "core",
2963
2962
  "strict": true,
2963
+ "enableJsonFlag": true,
2964
2964
  "isESM": true,
2965
2965
  "relativePath": [
2966
2966
  "dist",
2967
2967
  "src",
2968
2968
  "commands",
2969
- "halo",
2970
- "update.js"
2969
+ "function",
2970
+ "upload.js"
2971
2971
  ]
2972
2972
  },
2973
2973
  "profile:import": {
@@ -4715,7 +4715,7 @@
4715
4715
  "name": {
4716
4716
  "description": "Tunnel name",
4717
4717
  "name": "name",
4718
- "default": "bulldog-jig-rugby-solar",
4718
+ "default": "summer-robert-november-alpha",
4719
4719
  "hasDynamicHelp": false,
4720
4720
  "multiple": false,
4721
4721
  "type": "option"
@@ -4852,10 +4852,16 @@
4852
4852
  "list.js"
4853
4853
  ]
4854
4854
  },
4855
- "function:trigger:list": {
4855
+ "halo:credential:add": {
4856
4856
  "aliases": [],
4857
- "args": {},
4858
- "description": "List and manage triggers.",
4857
+ "args": {
4858
+ "credential": {
4859
+ "description": "credential",
4860
+ "name": "credential",
4861
+ "required": false
4862
+ }
4863
+ },
4864
+ "description": "Import credential into HALO.",
4859
4865
  "flags": {
4860
4866
  "json": {
4861
4867
  "description": "Output as JSON.",
@@ -4939,60 +4945,29 @@
4939
4945
  "hasDynamicHelp": false,
4940
4946
  "multiple": false,
4941
4947
  "type": "option"
4942
- },
4943
- "id": {
4944
- "description": "Trigger id",
4945
- "name": "id",
4946
- "hasDynamicHelp": false,
4947
- "multiple": false,
4948
- "type": "option"
4949
- },
4950
- "enable": {
4951
- "description": "Enable trigger(s)",
4952
- "name": "enable",
4953
- "allowNo": false,
4954
- "type": "boolean"
4955
- },
4956
- "disable": {
4957
- "description": "Disable trigger(s)",
4958
- "name": "disable",
4959
- "allowNo": false,
4960
- "type": "boolean"
4961
- },
4962
- "extended": {
4963
- "name": "extended",
4964
- "allowNo": false,
4965
- "type": "boolean"
4966
4948
  }
4967
4949
  },
4968
4950
  "hasDynamicHelp": false,
4969
4951
  "hiddenAliases": [],
4970
- "id": "function:trigger:list",
4952
+ "id": "halo:credential:add",
4971
4953
  "pluginAlias": "@dxos/cli",
4972
4954
  "pluginName": "@dxos/cli",
4973
4955
  "pluginType": "core",
4974
4956
  "strict": true,
4975
- "enableJsonFlag": true,
4976
4957
  "isESM": true,
4977
4958
  "relativePath": [
4978
4959
  "dist",
4979
4960
  "src",
4980
4961
  "commands",
4981
- "function",
4982
- "trigger",
4983
- "list.js"
4962
+ "halo",
4963
+ "credential",
4964
+ "add.js"
4984
4965
  ]
4985
4966
  },
4986
- "halo:credential:add": {
4967
+ "halo:credential:list": {
4987
4968
  "aliases": [],
4988
- "args": {
4989
- "credential": {
4990
- "description": "credential",
4991
- "name": "credential",
4992
- "required": false
4993
- }
4994
- },
4995
- "description": "Import credential into HALO.",
4969
+ "args": {},
4970
+ "description": "List HALO credentials.",
4996
4971
  "flags": {
4997
4972
  "json": {
4998
4973
  "description": "Output as JSON.",
@@ -5039,12 +5014,9 @@
5039
5014
  "type": "option"
5040
5015
  },
5041
5016
  "timeout": {
5042
- "aliases": [
5043
- "t"
5044
- ],
5045
- "description": "Timeout (ms).",
5017
+ "description": "Time in milliseconds to wait for at least one credential before listing.",
5046
5018
  "name": "timeout",
5047
- "default": 60000,
5019
+ "default": 500,
5048
5020
  "hasDynamicHelp": false,
5049
5021
  "multiple": false,
5050
5022
  "type": "option"
@@ -5076,15 +5048,37 @@
5076
5048
  "hasDynamicHelp": false,
5077
5049
  "multiple": false,
5078
5050
  "type": "option"
5051
+ },
5052
+ "extended": {
5053
+ "description": "Show extended table columns.",
5054
+ "name": "extended",
5055
+ "allowNo": false,
5056
+ "type": "boolean"
5057
+ },
5058
+ "type": {
5059
+ "description": "Type",
5060
+ "name": "type",
5061
+ "hasDynamicHelp": false,
5062
+ "multiple": false,
5063
+ "type": "option"
5064
+ },
5065
+ "delay": {
5066
+ "description": "Delay in milliseconds before listing.",
5067
+ "name": "delay",
5068
+ "default": 250,
5069
+ "hasDynamicHelp": false,
5070
+ "multiple": false,
5071
+ "type": "option"
5079
5072
  }
5080
5073
  },
5081
5074
  "hasDynamicHelp": false,
5082
5075
  "hiddenAliases": [],
5083
- "id": "halo:credential:add",
5076
+ "id": "halo:credential:list",
5084
5077
  "pluginAlias": "@dxos/cli",
5085
5078
  "pluginName": "@dxos/cli",
5086
5079
  "pluginType": "core",
5087
5080
  "strict": true,
5081
+ "enableJsonFlag": true,
5088
5082
  "isESM": true,
5089
5083
  "relativePath": [
5090
5084
  "dist",
@@ -5092,13 +5086,13 @@
5092
5086
  "commands",
5093
5087
  "halo",
5094
5088
  "credential",
5095
- "add.js"
5089
+ "list.js"
5096
5090
  ]
5097
5091
  },
5098
- "halo:credential:list": {
5092
+ "halo:recovery:generate": {
5099
5093
  "aliases": [],
5100
5094
  "args": {},
5101
- "description": "List HALO credentials.",
5095
+ "description": "Generate a seedphrase that can be used for identity recovery.",
5102
5096
  "flags": {
5103
5097
  "json": {
5104
5098
  "description": "Output as JSON.",
@@ -5145,9 +5139,12 @@
5145
5139
  "type": "option"
5146
5140
  },
5147
5141
  "timeout": {
5148
- "description": "Time in milliseconds to wait for at least one credential before listing.",
5142
+ "aliases": [
5143
+ "t"
5144
+ ],
5145
+ "description": "Timeout (ms).",
5149
5146
  "name": "timeout",
5150
- "default": 500,
5147
+ "default": 60000,
5151
5148
  "hasDynamicHelp": false,
5152
5149
  "multiple": false,
5153
5150
  "type": "option"
@@ -5179,32 +5176,11 @@
5179
5176
  "hasDynamicHelp": false,
5180
5177
  "multiple": false,
5181
5178
  "type": "option"
5182
- },
5183
- "extended": {
5184
- "description": "Show extended table columns.",
5185
- "name": "extended",
5186
- "allowNo": false,
5187
- "type": "boolean"
5188
- },
5189
- "type": {
5190
- "description": "Type",
5191
- "name": "type",
5192
- "hasDynamicHelp": false,
5193
- "multiple": false,
5194
- "type": "option"
5195
- },
5196
- "delay": {
5197
- "description": "Delay in milliseconds before listing.",
5198
- "name": "delay",
5199
- "default": 250,
5200
- "hasDynamicHelp": false,
5201
- "multiple": false,
5202
- "type": "option"
5203
5179
  }
5204
5180
  },
5205
5181
  "hasDynamicHelp": false,
5206
5182
  "hiddenAliases": [],
5207
- "id": "halo:credential:list",
5183
+ "id": "halo:recovery:generate",
5208
5184
  "pluginAlias": "@dxos/cli",
5209
5185
  "pluginName": "@dxos/cli",
5210
5186
  "pluginType": "core",
@@ -5216,14 +5192,14 @@
5216
5192
  "src",
5217
5193
  "commands",
5218
5194
  "halo",
5219
- "credential",
5220
- "list.js"
5195
+ "recovery",
5196
+ "generate.js"
5221
5197
  ]
5222
5198
  },
5223
- "halo:recovery:generate": {
5199
+ "halo:recovery:use": {
5224
5200
  "aliases": [],
5225
5201
  "args": {},
5226
- "description": "Generate a seedphrase that can be used for identity recovery.",
5202
+ "description": "Use a code to recover identity.",
5227
5203
  "flags": {
5228
5204
  "json": {
5229
5205
  "description": "Output as JSON.",
@@ -5307,11 +5283,19 @@
5307
5283
  "hasDynamicHelp": false,
5308
5284
  "multiple": false,
5309
5285
  "type": "option"
5286
+ },
5287
+ "recoveryCode": {
5288
+ "description": "Recovery code.",
5289
+ "name": "recoveryCode",
5290
+ "required": true,
5291
+ "hasDynamicHelp": false,
5292
+ "multiple": false,
5293
+ "type": "option"
5310
5294
  }
5311
5295
  },
5312
5296
  "hasDynamicHelp": false,
5313
5297
  "hiddenAliases": [],
5314
- "id": "halo:recovery:generate",
5298
+ "id": "halo:recovery:use",
5315
5299
  "pluginAlias": "@dxos/cli",
5316
5300
  "pluginName": "@dxos/cli",
5317
5301
  "pluginType": "core",
@@ -5324,13 +5308,13 @@
5324
5308
  "commands",
5325
5309
  "halo",
5326
5310
  "recovery",
5327
- "generate.js"
5311
+ "use.js"
5328
5312
  ]
5329
5313
  },
5330
- "halo:recovery:use": {
5314
+ "function:trigger:list": {
5331
5315
  "aliases": [],
5332
5316
  "args": {},
5333
- "description": "Use a code to recover identity.",
5317
+ "description": "List and manage triggers.",
5334
5318
  "flags": {
5335
5319
  "json": {
5336
5320
  "description": "Output as JSON.",
@@ -5415,18 +5399,34 @@
5415
5399
  "multiple": false,
5416
5400
  "type": "option"
5417
5401
  },
5418
- "recoveryCode": {
5419
- "description": "Recovery code.",
5420
- "name": "recoveryCode",
5421
- "required": true,
5402
+ "id": {
5403
+ "description": "Trigger id",
5404
+ "name": "id",
5422
5405
  "hasDynamicHelp": false,
5423
5406
  "multiple": false,
5424
5407
  "type": "option"
5408
+ },
5409
+ "enable": {
5410
+ "description": "Enable trigger(s)",
5411
+ "name": "enable",
5412
+ "allowNo": false,
5413
+ "type": "boolean"
5414
+ },
5415
+ "disable": {
5416
+ "description": "Disable trigger(s)",
5417
+ "name": "disable",
5418
+ "allowNo": false,
5419
+ "type": "boolean"
5420
+ },
5421
+ "extended": {
5422
+ "name": "extended",
5423
+ "allowNo": false,
5424
+ "type": "boolean"
5425
5425
  }
5426
5426
  },
5427
5427
  "hasDynamicHelp": false,
5428
5428
  "hiddenAliases": [],
5429
- "id": "halo:recovery:use",
5429
+ "id": "function:trigger:list",
5430
5430
  "pluginAlias": "@dxos/cli",
5431
5431
  "pluginName": "@dxos/cli",
5432
5432
  "pluginType": "core",
@@ -5437,9 +5437,9 @@
5437
5437
  "dist",
5438
5438
  "src",
5439
5439
  "commands",
5440
- "halo",
5441
- "recovery",
5442
- "use.js"
5440
+ "function",
5441
+ "trigger",
5442
+ "list.js"
5443
5443
  ]
5444
5444
  },
5445
5445
  "space:schema:list": {
@@ -5570,5 +5570,5 @@
5570
5570
  ]
5571
5571
  }
5572
5572
  },
5573
- "version": "0.8.0"
5573
+ "version": "0.8.1-main.303c73a"
5574
5574
  }