@bytevion/cli 0.4.1 → 0.5.1
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.
- package/dist/commands/compare.js +38 -3
- package/dist/commands/connect.d.ts +12 -0
- package/dist/commands/connect.js +64 -0
- package/dist/commands/dash.d.ts +9 -0
- package/dist/commands/dash.js +120 -0
- package/dist/commands/integrate.d.ts +3 -0
- package/dist/commands/integrate.js +58 -6
- package/dist/commands/keys/rotate.d.ts +3 -0
- package/dist/commands/keys/rotate.js +9 -1
- package/dist/commands/mcp/add.d.ts +13 -0
- package/dist/commands/mcp/add.js +31 -0
- package/dist/commands/mcp/list.d.ts +5 -0
- package/dist/commands/mcp/list.js +22 -0
- package/dist/commands/mcp/remove.d.ts +11 -0
- package/dist/commands/mcp/remove.js +19 -0
- package/dist/commands/mcp/test.d.ts +11 -0
- package/dist/commands/mcp/test.js +20 -0
- package/dist/commands/providers/compare.d.ts +13 -0
- package/dist/commands/providers/compare.js +52 -0
- package/dist/commands/sync.d.ts +10 -0
- package/dist/commands/sync.js +39 -0
- package/dist/lib/api.d.ts +7 -0
- package/dist/lib/api.js +24 -0
- package/dist/lib/config-formats.d.ts +3 -0
- package/dist/lib/config-formats.js +88 -0
- package/dist/lib/detect.d.ts +9 -0
- package/dist/lib/detect.js +83 -0
- package/dist/lib/friendly.js +10 -0
- package/dist/lib/home.js +7 -1
- package/dist/lib/integrations.d.ts +1 -0
- package/dist/lib/integrations.js +33 -4
- package/dist/lib/paths.d.ts +2 -0
- package/dist/lib/paths.js +13 -0
- package/dist/lib/tui.d.ts +42 -0
- package/dist/lib/tui.js +10 -0
- package/dist/lib/wiring.d.ts +10 -0
- package/dist/lib/wiring.js +53 -0
- package/dist/tui/components/Dash.d.ts +16 -0
- package/dist/tui/components/Dash.js +53 -0
- package/dist/tui/contract.d.ts +42 -0
- package/dist/tui/index.d.ts +2 -1
- package/dist/tui/index.js +34 -0
- package/oclif.manifest.json +501 -12
- package/package.json +4 -1
package/oclif.manifest.json
CHANGED
|
@@ -62,6 +62,137 @@
|
|
|
62
62
|
"compare.js"
|
|
63
63
|
]
|
|
64
64
|
},
|
|
65
|
+
"connect": {
|
|
66
|
+
"aliases": [],
|
|
67
|
+
"args": {},
|
|
68
|
+
"description": "Detect installed coding agents and wire every one Byte can auto-configure — in one shot.",
|
|
69
|
+
"examples": [
|
|
70
|
+
"<%= config.bin %> connect",
|
|
71
|
+
"<%= config.bin %> connect --model byte-2-deepseek-v4-flash",
|
|
72
|
+
"<%= config.bin %> connect --only opencode,codex"
|
|
73
|
+
],
|
|
74
|
+
"flags": {
|
|
75
|
+
"json": {
|
|
76
|
+
"description": "Format output as json.",
|
|
77
|
+
"helpGroup": "GLOBAL",
|
|
78
|
+
"name": "json",
|
|
79
|
+
"allowNo": false,
|
|
80
|
+
"type": "boolean"
|
|
81
|
+
},
|
|
82
|
+
"profile": {
|
|
83
|
+
"description": "Configuration profile to use",
|
|
84
|
+
"env": "BYTE_PROFILE",
|
|
85
|
+
"name": "profile",
|
|
86
|
+
"hasDynamicHelp": false,
|
|
87
|
+
"multiple": false,
|
|
88
|
+
"type": "option"
|
|
89
|
+
},
|
|
90
|
+
"base-url": {
|
|
91
|
+
"description": "Override the API base URL",
|
|
92
|
+
"env": "BYTE_BASE_URL",
|
|
93
|
+
"name": "base-url",
|
|
94
|
+
"hasDynamicHelp": false,
|
|
95
|
+
"multiple": false,
|
|
96
|
+
"type": "option"
|
|
97
|
+
},
|
|
98
|
+
"model": {
|
|
99
|
+
"description": "Model id (byte alias) to wire (default byte-default)",
|
|
100
|
+
"name": "model",
|
|
101
|
+
"hasDynamicHelp": false,
|
|
102
|
+
"multiple": false,
|
|
103
|
+
"type": "option"
|
|
104
|
+
},
|
|
105
|
+
"preset": {
|
|
106
|
+
"description": "Optimization preset to apply before wiring",
|
|
107
|
+
"name": "preset",
|
|
108
|
+
"hasDynamicHelp": false,
|
|
109
|
+
"multiple": false,
|
|
110
|
+
"options": [
|
|
111
|
+
"maximum",
|
|
112
|
+
"balanced",
|
|
113
|
+
"max_savings",
|
|
114
|
+
"lowest_latency",
|
|
115
|
+
"reliability_first"
|
|
116
|
+
],
|
|
117
|
+
"type": "option"
|
|
118
|
+
},
|
|
119
|
+
"only": {
|
|
120
|
+
"description": "Comma-separated subset of tool keys to wire",
|
|
121
|
+
"name": "only",
|
|
122
|
+
"hasDynamicHelp": false,
|
|
123
|
+
"multiple": false,
|
|
124
|
+
"type": "option"
|
|
125
|
+
},
|
|
126
|
+
"yes": {
|
|
127
|
+
"char": "y",
|
|
128
|
+
"description": "Skip confirmation prompts",
|
|
129
|
+
"name": "yes",
|
|
130
|
+
"allowNo": false,
|
|
131
|
+
"type": "boolean"
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"hasDynamicHelp": false,
|
|
135
|
+
"hiddenAliases": [],
|
|
136
|
+
"id": "connect",
|
|
137
|
+
"pluginAlias": "@bytevion/cli",
|
|
138
|
+
"pluginName": "@bytevion/cli",
|
|
139
|
+
"pluginType": "core",
|
|
140
|
+
"strict": true,
|
|
141
|
+
"enableJsonFlag": true,
|
|
142
|
+
"isESM": false,
|
|
143
|
+
"relativePath": [
|
|
144
|
+
"dist",
|
|
145
|
+
"commands",
|
|
146
|
+
"connect.js"
|
|
147
|
+
]
|
|
148
|
+
},
|
|
149
|
+
"dash": {
|
|
150
|
+
"aliases": [
|
|
151
|
+
"monitor",
|
|
152
|
+
"top"
|
|
153
|
+
],
|
|
154
|
+
"args": {},
|
|
155
|
+
"description": "Live terminal dashboard: savings, recent requests, optimizations, and gateway health.",
|
|
156
|
+
"flags": {
|
|
157
|
+
"json": {
|
|
158
|
+
"description": "Format output as json.",
|
|
159
|
+
"helpGroup": "GLOBAL",
|
|
160
|
+
"name": "json",
|
|
161
|
+
"allowNo": false,
|
|
162
|
+
"type": "boolean"
|
|
163
|
+
},
|
|
164
|
+
"profile": {
|
|
165
|
+
"description": "Configuration profile to use",
|
|
166
|
+
"env": "BYTE_PROFILE",
|
|
167
|
+
"name": "profile",
|
|
168
|
+
"hasDynamicHelp": false,
|
|
169
|
+
"multiple": false,
|
|
170
|
+
"type": "option"
|
|
171
|
+
},
|
|
172
|
+
"base-url": {
|
|
173
|
+
"description": "Override the API base URL",
|
|
174
|
+
"env": "BYTE_BASE_URL",
|
|
175
|
+
"name": "base-url",
|
|
176
|
+
"hasDynamicHelp": false,
|
|
177
|
+
"multiple": false,
|
|
178
|
+
"type": "option"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"hasDynamicHelp": false,
|
|
182
|
+
"hiddenAliases": [],
|
|
183
|
+
"id": "dash",
|
|
184
|
+
"pluginAlias": "@bytevion/cli",
|
|
185
|
+
"pluginName": "@bytevion/cli",
|
|
186
|
+
"pluginType": "core",
|
|
187
|
+
"strict": true,
|
|
188
|
+
"enableJsonFlag": true,
|
|
189
|
+
"isESM": false,
|
|
190
|
+
"relativePath": [
|
|
191
|
+
"dist",
|
|
192
|
+
"commands",
|
|
193
|
+
"dash.js"
|
|
194
|
+
]
|
|
195
|
+
},
|
|
65
196
|
"doctor": {
|
|
66
197
|
"aliases": [],
|
|
67
198
|
"args": {},
|
|
@@ -307,6 +438,12 @@
|
|
|
307
438
|
"allowNo": false,
|
|
308
439
|
"type": "boolean"
|
|
309
440
|
},
|
|
441
|
+
"status": {
|
|
442
|
+
"description": "Show installed tools and whether each is wired / unwired / manual",
|
|
443
|
+
"name": "status",
|
|
444
|
+
"allowNo": false,
|
|
445
|
+
"type": "boolean"
|
|
446
|
+
},
|
|
310
447
|
"shell": {
|
|
311
448
|
"description": "Shell syntax for env output",
|
|
312
449
|
"name": "shell",
|
|
@@ -704,6 +841,68 @@
|
|
|
704
841
|
"stats.js"
|
|
705
842
|
]
|
|
706
843
|
},
|
|
844
|
+
"sync": {
|
|
845
|
+
"aliases": [],
|
|
846
|
+
"args": {},
|
|
847
|
+
"description": "Re-apply your current Byte key/model to every wired coding agent (run after rotating a key or switching model).",
|
|
848
|
+
"examples": [
|
|
849
|
+
"<%= config.bin %> sync",
|
|
850
|
+
"<%= config.bin %> sync --model byte-2-deepseek-v4-flash"
|
|
851
|
+
],
|
|
852
|
+
"flags": {
|
|
853
|
+
"json": {
|
|
854
|
+
"description": "Format output as json.",
|
|
855
|
+
"helpGroup": "GLOBAL",
|
|
856
|
+
"name": "json",
|
|
857
|
+
"allowNo": false,
|
|
858
|
+
"type": "boolean"
|
|
859
|
+
},
|
|
860
|
+
"profile": {
|
|
861
|
+
"description": "Configuration profile to use",
|
|
862
|
+
"env": "BYTE_PROFILE",
|
|
863
|
+
"name": "profile",
|
|
864
|
+
"hasDynamicHelp": false,
|
|
865
|
+
"multiple": false,
|
|
866
|
+
"type": "option"
|
|
867
|
+
},
|
|
868
|
+
"base-url": {
|
|
869
|
+
"description": "Override the API base URL",
|
|
870
|
+
"env": "BYTE_BASE_URL",
|
|
871
|
+
"name": "base-url",
|
|
872
|
+
"hasDynamicHelp": false,
|
|
873
|
+
"multiple": false,
|
|
874
|
+
"type": "option"
|
|
875
|
+
},
|
|
876
|
+
"model": {
|
|
877
|
+
"description": "Model id (byte alias) to wire (defaults to the last wired model)",
|
|
878
|
+
"name": "model",
|
|
879
|
+
"hasDynamicHelp": false,
|
|
880
|
+
"multiple": false,
|
|
881
|
+
"type": "option"
|
|
882
|
+
},
|
|
883
|
+
"yes": {
|
|
884
|
+
"char": "y",
|
|
885
|
+
"description": "Skip confirmation prompts",
|
|
886
|
+
"name": "yes",
|
|
887
|
+
"allowNo": false,
|
|
888
|
+
"type": "boolean"
|
|
889
|
+
}
|
|
890
|
+
},
|
|
891
|
+
"hasDynamicHelp": false,
|
|
892
|
+
"hiddenAliases": [],
|
|
893
|
+
"id": "sync",
|
|
894
|
+
"pluginAlias": "@bytevion/cli",
|
|
895
|
+
"pluginName": "@bytevion/cli",
|
|
896
|
+
"pluginType": "core",
|
|
897
|
+
"strict": true,
|
|
898
|
+
"enableJsonFlag": true,
|
|
899
|
+
"isESM": false,
|
|
900
|
+
"relativePath": [
|
|
901
|
+
"dist",
|
|
902
|
+
"commands",
|
|
903
|
+
"sync.js"
|
|
904
|
+
]
|
|
905
|
+
},
|
|
707
906
|
"usage": {
|
|
708
907
|
"aliases": [],
|
|
709
908
|
"args": {},
|
|
@@ -1181,6 +1380,12 @@
|
|
|
1181
1380
|
"hasDynamicHelp": false,
|
|
1182
1381
|
"multiple": false,
|
|
1183
1382
|
"type": "option"
|
|
1383
|
+
},
|
|
1384
|
+
"sync": {
|
|
1385
|
+
"description": "Save the new secret to this profile and re-apply it to all wired tools (`byte sync`)",
|
|
1386
|
+
"name": "sync",
|
|
1387
|
+
"allowNo": false,
|
|
1388
|
+
"type": "boolean"
|
|
1184
1389
|
}
|
|
1185
1390
|
},
|
|
1186
1391
|
"hasDynamicHelp": false,
|
|
@@ -1199,10 +1404,79 @@
|
|
|
1199
1404
|
"rotate.js"
|
|
1200
1405
|
]
|
|
1201
1406
|
},
|
|
1202
|
-
"
|
|
1407
|
+
"mcp:add": {
|
|
1408
|
+
"aliases": [],
|
|
1409
|
+
"args": {
|
|
1410
|
+
"name": {
|
|
1411
|
+
"description": "Short name (namespaces the tools)",
|
|
1412
|
+
"name": "name",
|
|
1413
|
+
"required": true
|
|
1414
|
+
}
|
|
1415
|
+
},
|
|
1416
|
+
"description": "Register an MCP server for Byte to host — its tools become available to your models (namespaced mcp__<name>__*).",
|
|
1417
|
+
"examples": [
|
|
1418
|
+
"<%= config.bin %> mcp add filesystem --url https://mcp.example.com/rpc"
|
|
1419
|
+
],
|
|
1420
|
+
"flags": {
|
|
1421
|
+
"json": {
|
|
1422
|
+
"description": "Format output as json.",
|
|
1423
|
+
"helpGroup": "GLOBAL",
|
|
1424
|
+
"name": "json",
|
|
1425
|
+
"allowNo": false,
|
|
1426
|
+
"type": "boolean"
|
|
1427
|
+
},
|
|
1428
|
+
"profile": {
|
|
1429
|
+
"description": "Configuration profile to use",
|
|
1430
|
+
"env": "BYTE_PROFILE",
|
|
1431
|
+
"name": "profile",
|
|
1432
|
+
"hasDynamicHelp": false,
|
|
1433
|
+
"multiple": false,
|
|
1434
|
+
"type": "option"
|
|
1435
|
+
},
|
|
1436
|
+
"base-url": {
|
|
1437
|
+
"description": "Override the API base URL",
|
|
1438
|
+
"env": "BYTE_BASE_URL",
|
|
1439
|
+
"name": "base-url",
|
|
1440
|
+
"hasDynamicHelp": false,
|
|
1441
|
+
"multiple": false,
|
|
1442
|
+
"type": "option"
|
|
1443
|
+
},
|
|
1444
|
+
"url": {
|
|
1445
|
+
"description": "MCP server URL (streamable HTTP)",
|
|
1446
|
+
"name": "url",
|
|
1447
|
+
"required": true,
|
|
1448
|
+
"hasDynamicHelp": false,
|
|
1449
|
+
"multiple": false,
|
|
1450
|
+
"type": "option"
|
|
1451
|
+
},
|
|
1452
|
+
"header": {
|
|
1453
|
+
"description": "Auth header as KEY:VALUE (repeatable)",
|
|
1454
|
+
"name": "header",
|
|
1455
|
+
"hasDynamicHelp": false,
|
|
1456
|
+
"multiple": true,
|
|
1457
|
+
"type": "option"
|
|
1458
|
+
}
|
|
1459
|
+
},
|
|
1460
|
+
"hasDynamicHelp": false,
|
|
1461
|
+
"hiddenAliases": [],
|
|
1462
|
+
"id": "mcp:add",
|
|
1463
|
+
"pluginAlias": "@bytevion/cli",
|
|
1464
|
+
"pluginName": "@bytevion/cli",
|
|
1465
|
+
"pluginType": "core",
|
|
1466
|
+
"strict": true,
|
|
1467
|
+
"enableJsonFlag": true,
|
|
1468
|
+
"isESM": false,
|
|
1469
|
+
"relativePath": [
|
|
1470
|
+
"dist",
|
|
1471
|
+
"commands",
|
|
1472
|
+
"mcp",
|
|
1473
|
+
"add.js"
|
|
1474
|
+
]
|
|
1475
|
+
},
|
|
1476
|
+
"mcp:list": {
|
|
1203
1477
|
"aliases": [],
|
|
1204
1478
|
"args": {},
|
|
1205
|
-
"description": "List
|
|
1479
|
+
"description": "List the MCP servers registered for this org.",
|
|
1206
1480
|
"flags": {
|
|
1207
1481
|
"json": {
|
|
1208
1482
|
"description": "Format output as json.",
|
|
@@ -1230,7 +1504,7 @@
|
|
|
1230
1504
|
},
|
|
1231
1505
|
"hasDynamicHelp": false,
|
|
1232
1506
|
"hiddenAliases": [],
|
|
1233
|
-
"id": "
|
|
1507
|
+
"id": "mcp:list",
|
|
1234
1508
|
"pluginAlias": "@bytevion/cli",
|
|
1235
1509
|
"pluginName": "@bytevion/cli",
|
|
1236
1510
|
"pluginType": "core",
|
|
@@ -1240,20 +1514,20 @@
|
|
|
1240
1514
|
"relativePath": [
|
|
1241
1515
|
"dist",
|
|
1242
1516
|
"commands",
|
|
1243
|
-
"
|
|
1244
|
-
"
|
|
1517
|
+
"mcp",
|
|
1518
|
+
"list.js"
|
|
1245
1519
|
]
|
|
1246
1520
|
},
|
|
1247
|
-
"
|
|
1521
|
+
"mcp:remove": {
|
|
1248
1522
|
"aliases": [],
|
|
1249
1523
|
"args": {
|
|
1250
1524
|
"id": {
|
|
1251
|
-
"description": "
|
|
1525
|
+
"description": "Server id (see `byte mcp list`)",
|
|
1252
1526
|
"name": "id",
|
|
1253
1527
|
"required": true
|
|
1254
1528
|
}
|
|
1255
1529
|
},
|
|
1256
|
-
"description": "
|
|
1530
|
+
"description": "Remove a registered MCP server.",
|
|
1257
1531
|
"flags": {
|
|
1258
1532
|
"json": {
|
|
1259
1533
|
"description": "Format output as json.",
|
|
@@ -1281,7 +1555,7 @@
|
|
|
1281
1555
|
},
|
|
1282
1556
|
"hasDynamicHelp": false,
|
|
1283
1557
|
"hiddenAliases": [],
|
|
1284
|
-
"id": "
|
|
1558
|
+
"id": "mcp:remove",
|
|
1285
1559
|
"pluginAlias": "@bytevion/cli",
|
|
1286
1560
|
"pluginName": "@bytevion/cli",
|
|
1287
1561
|
"pluginType": "core",
|
|
@@ -1291,8 +1565,59 @@
|
|
|
1291
1565
|
"relativePath": [
|
|
1292
1566
|
"dist",
|
|
1293
1567
|
"commands",
|
|
1294
|
-
"
|
|
1295
|
-
"
|
|
1568
|
+
"mcp",
|
|
1569
|
+
"remove.js"
|
|
1570
|
+
]
|
|
1571
|
+
},
|
|
1572
|
+
"mcp:test": {
|
|
1573
|
+
"aliases": [],
|
|
1574
|
+
"args": {
|
|
1575
|
+
"id": {
|
|
1576
|
+
"description": "Server id (see `byte mcp list`)",
|
|
1577
|
+
"name": "id",
|
|
1578
|
+
"required": true
|
|
1579
|
+
}
|
|
1580
|
+
},
|
|
1581
|
+
"description": "Verify a registered MCP server by listing the tools it exposes.",
|
|
1582
|
+
"flags": {
|
|
1583
|
+
"json": {
|
|
1584
|
+
"description": "Format output as json.",
|
|
1585
|
+
"helpGroup": "GLOBAL",
|
|
1586
|
+
"name": "json",
|
|
1587
|
+
"allowNo": false,
|
|
1588
|
+
"type": "boolean"
|
|
1589
|
+
},
|
|
1590
|
+
"profile": {
|
|
1591
|
+
"description": "Configuration profile to use",
|
|
1592
|
+
"env": "BYTE_PROFILE",
|
|
1593
|
+
"name": "profile",
|
|
1594
|
+
"hasDynamicHelp": false,
|
|
1595
|
+
"multiple": false,
|
|
1596
|
+
"type": "option"
|
|
1597
|
+
},
|
|
1598
|
+
"base-url": {
|
|
1599
|
+
"description": "Override the API base URL",
|
|
1600
|
+
"env": "BYTE_BASE_URL",
|
|
1601
|
+
"name": "base-url",
|
|
1602
|
+
"hasDynamicHelp": false,
|
|
1603
|
+
"multiple": false,
|
|
1604
|
+
"type": "option"
|
|
1605
|
+
}
|
|
1606
|
+
},
|
|
1607
|
+
"hasDynamicHelp": false,
|
|
1608
|
+
"hiddenAliases": [],
|
|
1609
|
+
"id": "mcp:test",
|
|
1610
|
+
"pluginAlias": "@bytevion/cli",
|
|
1611
|
+
"pluginName": "@bytevion/cli",
|
|
1612
|
+
"pluginType": "core",
|
|
1613
|
+
"strict": true,
|
|
1614
|
+
"enableJsonFlag": true,
|
|
1615
|
+
"isESM": false,
|
|
1616
|
+
"relativePath": [
|
|
1617
|
+
"dist",
|
|
1618
|
+
"commands",
|
|
1619
|
+
"mcp",
|
|
1620
|
+
"test.js"
|
|
1296
1621
|
]
|
|
1297
1622
|
},
|
|
1298
1623
|
"providers:add": {
|
|
@@ -1386,6 +1711,74 @@
|
|
|
1386
1711
|
"add.js"
|
|
1387
1712
|
]
|
|
1388
1713
|
},
|
|
1714
|
+
"providers:compare": {
|
|
1715
|
+
"aliases": [],
|
|
1716
|
+
"args": {
|
|
1717
|
+
"alias": {
|
|
1718
|
+
"description": "Model byte alias (omit when using --all)",
|
|
1719
|
+
"name": "alias",
|
|
1720
|
+
"required": false
|
|
1721
|
+
}
|
|
1722
|
+
},
|
|
1723
|
+
"description": "Enable (or disable) direct-vs-Byte comparison on imported models. Run with --all so `byte compare` works out of the box.",
|
|
1724
|
+
"examples": [
|
|
1725
|
+
"<%= config.bin %> providers compare --all",
|
|
1726
|
+
"<%= config.bin %> providers compare byte-2-deepseek-v4-flash",
|
|
1727
|
+
"<%= config.bin %> providers compare byte-2-deepseek-v4-flash --off"
|
|
1728
|
+
],
|
|
1729
|
+
"flags": {
|
|
1730
|
+
"json": {
|
|
1731
|
+
"description": "Format output as json.",
|
|
1732
|
+
"helpGroup": "GLOBAL",
|
|
1733
|
+
"name": "json",
|
|
1734
|
+
"allowNo": false,
|
|
1735
|
+
"type": "boolean"
|
|
1736
|
+
},
|
|
1737
|
+
"profile": {
|
|
1738
|
+
"description": "Configuration profile to use",
|
|
1739
|
+
"env": "BYTE_PROFILE",
|
|
1740
|
+
"name": "profile",
|
|
1741
|
+
"hasDynamicHelp": false,
|
|
1742
|
+
"multiple": false,
|
|
1743
|
+
"type": "option"
|
|
1744
|
+
},
|
|
1745
|
+
"base-url": {
|
|
1746
|
+
"description": "Override the API base URL",
|
|
1747
|
+
"env": "BYTE_BASE_URL",
|
|
1748
|
+
"name": "base-url",
|
|
1749
|
+
"hasDynamicHelp": false,
|
|
1750
|
+
"multiple": false,
|
|
1751
|
+
"type": "option"
|
|
1752
|
+
},
|
|
1753
|
+
"all": {
|
|
1754
|
+
"description": "Apply to every priced model in the org",
|
|
1755
|
+
"name": "all",
|
|
1756
|
+
"allowNo": false,
|
|
1757
|
+
"type": "boolean"
|
|
1758
|
+
},
|
|
1759
|
+
"off": {
|
|
1760
|
+
"description": "Disable comparison instead of enabling it",
|
|
1761
|
+
"name": "off",
|
|
1762
|
+
"allowNo": false,
|
|
1763
|
+
"type": "boolean"
|
|
1764
|
+
}
|
|
1765
|
+
},
|
|
1766
|
+
"hasDynamicHelp": false,
|
|
1767
|
+
"hiddenAliases": [],
|
|
1768
|
+
"id": "providers:compare",
|
|
1769
|
+
"pluginAlias": "@bytevion/cli",
|
|
1770
|
+
"pluginName": "@bytevion/cli",
|
|
1771
|
+
"pluginType": "core",
|
|
1772
|
+
"strict": true,
|
|
1773
|
+
"enableJsonFlag": true,
|
|
1774
|
+
"isESM": false,
|
|
1775
|
+
"relativePath": [
|
|
1776
|
+
"dist",
|
|
1777
|
+
"commands",
|
|
1778
|
+
"providers",
|
|
1779
|
+
"compare.js"
|
|
1780
|
+
]
|
|
1781
|
+
},
|
|
1389
1782
|
"providers:list": {
|
|
1390
1783
|
"aliases": [],
|
|
1391
1784
|
"args": {},
|
|
@@ -1709,7 +2102,103 @@
|
|
|
1709
2102
|
"opt",
|
|
1710
2103
|
"show.js"
|
|
1711
2104
|
]
|
|
2105
|
+
},
|
|
2106
|
+
"sessions": {
|
|
2107
|
+
"aliases": [],
|
|
2108
|
+
"args": {},
|
|
2109
|
+
"description": "List active terminal sessions (CLI tokens) for the org.",
|
|
2110
|
+
"flags": {
|
|
2111
|
+
"json": {
|
|
2112
|
+
"description": "Format output as json.",
|
|
2113
|
+
"helpGroup": "GLOBAL",
|
|
2114
|
+
"name": "json",
|
|
2115
|
+
"allowNo": false,
|
|
2116
|
+
"type": "boolean"
|
|
2117
|
+
},
|
|
2118
|
+
"profile": {
|
|
2119
|
+
"description": "Configuration profile to use",
|
|
2120
|
+
"env": "BYTE_PROFILE",
|
|
2121
|
+
"name": "profile",
|
|
2122
|
+
"hasDynamicHelp": false,
|
|
2123
|
+
"multiple": false,
|
|
2124
|
+
"type": "option"
|
|
2125
|
+
},
|
|
2126
|
+
"base-url": {
|
|
2127
|
+
"description": "Override the API base URL",
|
|
2128
|
+
"env": "BYTE_BASE_URL",
|
|
2129
|
+
"name": "base-url",
|
|
2130
|
+
"hasDynamicHelp": false,
|
|
2131
|
+
"multiple": false,
|
|
2132
|
+
"type": "option"
|
|
2133
|
+
}
|
|
2134
|
+
},
|
|
2135
|
+
"hasDynamicHelp": false,
|
|
2136
|
+
"hiddenAliases": [],
|
|
2137
|
+
"id": "sessions",
|
|
2138
|
+
"pluginAlias": "@bytevion/cli",
|
|
2139
|
+
"pluginName": "@bytevion/cli",
|
|
2140
|
+
"pluginType": "core",
|
|
2141
|
+
"strict": true,
|
|
2142
|
+
"enableJsonFlag": true,
|
|
2143
|
+
"isESM": false,
|
|
2144
|
+
"relativePath": [
|
|
2145
|
+
"dist",
|
|
2146
|
+
"commands",
|
|
2147
|
+
"sessions",
|
|
2148
|
+
"index.js"
|
|
2149
|
+
]
|
|
2150
|
+
},
|
|
2151
|
+
"sessions:revoke": {
|
|
2152
|
+
"aliases": [],
|
|
2153
|
+
"args": {
|
|
2154
|
+
"id": {
|
|
2155
|
+
"description": "Session id (see `byte sessions`)",
|
|
2156
|
+
"name": "id",
|
|
2157
|
+
"required": true
|
|
2158
|
+
}
|
|
2159
|
+
},
|
|
2160
|
+
"description": "Revoke a terminal session (CLI token) by id.",
|
|
2161
|
+
"flags": {
|
|
2162
|
+
"json": {
|
|
2163
|
+
"description": "Format output as json.",
|
|
2164
|
+
"helpGroup": "GLOBAL",
|
|
2165
|
+
"name": "json",
|
|
2166
|
+
"allowNo": false,
|
|
2167
|
+
"type": "boolean"
|
|
2168
|
+
},
|
|
2169
|
+
"profile": {
|
|
2170
|
+
"description": "Configuration profile to use",
|
|
2171
|
+
"env": "BYTE_PROFILE",
|
|
2172
|
+
"name": "profile",
|
|
2173
|
+
"hasDynamicHelp": false,
|
|
2174
|
+
"multiple": false,
|
|
2175
|
+
"type": "option"
|
|
2176
|
+
},
|
|
2177
|
+
"base-url": {
|
|
2178
|
+
"description": "Override the API base URL",
|
|
2179
|
+
"env": "BYTE_BASE_URL",
|
|
2180
|
+
"name": "base-url",
|
|
2181
|
+
"hasDynamicHelp": false,
|
|
2182
|
+
"multiple": false,
|
|
2183
|
+
"type": "option"
|
|
2184
|
+
}
|
|
2185
|
+
},
|
|
2186
|
+
"hasDynamicHelp": false,
|
|
2187
|
+
"hiddenAliases": [],
|
|
2188
|
+
"id": "sessions:revoke",
|
|
2189
|
+
"pluginAlias": "@bytevion/cli",
|
|
2190
|
+
"pluginName": "@bytevion/cli",
|
|
2191
|
+
"pluginType": "core",
|
|
2192
|
+
"strict": true,
|
|
2193
|
+
"enableJsonFlag": true,
|
|
2194
|
+
"isESM": false,
|
|
2195
|
+
"relativePath": [
|
|
2196
|
+
"dist",
|
|
2197
|
+
"commands",
|
|
2198
|
+
"sessions",
|
|
2199
|
+
"revoke.js"
|
|
2200
|
+
]
|
|
1712
2201
|
}
|
|
1713
2202
|
},
|
|
1714
|
-
"version": "0.
|
|
2203
|
+
"version": "0.5.1"
|
|
1715
2204
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bytevion/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Byte — control your LLM optimization gateway from the terminal.",
|
|
5
5
|
"author": "Byte",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -59,6 +59,9 @@
|
|
|
59
59
|
"providers": {
|
|
60
60
|
"description": "Manage upstream provider keys (bring your own key)"
|
|
61
61
|
},
|
|
62
|
+
"mcp": {
|
|
63
|
+
"description": "Register and manage MCP servers Byte hosts for your models"
|
|
64
|
+
},
|
|
62
65
|
"opt": {
|
|
63
66
|
"description": "Inspect and tune optimizations"
|
|
64
67
|
},
|