byterover-cli 2.5.1 → 2.5.2
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/oclif.manifest.json +132 -132
- package/package.json +2 -2
package/oclif.manifest.json
CHANGED
|
@@ -943,50 +943,15 @@
|
|
|
943
943
|
"list.js"
|
|
944
944
|
]
|
|
945
945
|
},
|
|
946
|
-
"
|
|
946
|
+
"model": {
|
|
947
947
|
"aliases": [],
|
|
948
|
-
"args": {
|
|
949
|
-
|
|
950
|
-
"description": "Provider ID to connect (e.g., anthropic, openai, openrouter)",
|
|
951
|
-
"name": "provider",
|
|
952
|
-
"required": true
|
|
953
|
-
}
|
|
954
|
-
},
|
|
955
|
-
"description": "Connect or switch to an LLM provider",
|
|
948
|
+
"args": {},
|
|
949
|
+
"description": "Show the active model",
|
|
956
950
|
"examples": [
|
|
957
|
-
"<%= config.bin %>
|
|
958
|
-
"<%= config.bin %>
|
|
959
|
-
"<%= config.bin %> providers connect openai --oauth",
|
|
960
|
-
"<%= config.bin %> providers connect byterover",
|
|
961
|
-
"<%= config.bin %> providers connect openai-compatible --base-url http://localhost:11434/v1",
|
|
962
|
-
"<%= config.bin %> providers connect openai-compatible --base-url http://localhost:11434/v1 --api-key sk-xxx --model llama3"
|
|
951
|
+
"<%= config.bin %> model",
|
|
952
|
+
"<%= config.bin %> model --format json"
|
|
963
953
|
],
|
|
964
954
|
"flags": {
|
|
965
|
-
"api-key": {
|
|
966
|
-
"char": "k",
|
|
967
|
-
"description": "API key for the provider",
|
|
968
|
-
"name": "api-key",
|
|
969
|
-
"hasDynamicHelp": false,
|
|
970
|
-
"multiple": false,
|
|
971
|
-
"type": "option"
|
|
972
|
-
},
|
|
973
|
-
"base-url": {
|
|
974
|
-
"char": "b",
|
|
975
|
-
"description": "Base URL for OpenAI-compatible providers (e.g., http://localhost:11434/v1)",
|
|
976
|
-
"name": "base-url",
|
|
977
|
-
"hasDynamicHelp": false,
|
|
978
|
-
"multiple": false,
|
|
979
|
-
"type": "option"
|
|
980
|
-
},
|
|
981
|
-
"code": {
|
|
982
|
-
"char": "c",
|
|
983
|
-
"description": "Authorization code for code-paste OAuth providers (e.g., Anthropic). Not applicable to browser-callback providers like OpenAI — use --oauth without --code instead.",
|
|
984
|
-
"hidden": true,
|
|
985
|
-
"name": "code",
|
|
986
|
-
"hasDynamicHelp": false,
|
|
987
|
-
"multiple": false,
|
|
988
|
-
"type": "option"
|
|
989
|
-
},
|
|
990
955
|
"format": {
|
|
991
956
|
"description": "Output format (text or json)",
|
|
992
957
|
"name": "format",
|
|
@@ -998,25 +963,11 @@
|
|
|
998
963
|
"json"
|
|
999
964
|
],
|
|
1000
965
|
"type": "option"
|
|
1001
|
-
},
|
|
1002
|
-
"model": {
|
|
1003
|
-
"char": "m",
|
|
1004
|
-
"description": "Model to set as active after connecting",
|
|
1005
|
-
"name": "model",
|
|
1006
|
-
"hasDynamicHelp": false,
|
|
1007
|
-
"multiple": false,
|
|
1008
|
-
"type": "option"
|
|
1009
|
-
},
|
|
1010
|
-
"oauth": {
|
|
1011
|
-
"description": "Connect via OAuth (browser-based)",
|
|
1012
|
-
"name": "oauth",
|
|
1013
|
-
"allowNo": false,
|
|
1014
|
-
"type": "boolean"
|
|
1015
966
|
}
|
|
1016
967
|
},
|
|
1017
968
|
"hasDynamicHelp": false,
|
|
1018
969
|
"hiddenAliases": [],
|
|
1019
|
-
"id": "
|
|
970
|
+
"id": "model",
|
|
1020
971
|
"pluginAlias": "byterover-cli",
|
|
1021
972
|
"pluginName": "byterover-cli",
|
|
1022
973
|
"pluginType": "core",
|
|
@@ -1027,23 +978,17 @@
|
|
|
1027
978
|
"dist",
|
|
1028
979
|
"oclif",
|
|
1029
980
|
"commands",
|
|
1030
|
-
"
|
|
1031
|
-
"
|
|
981
|
+
"model",
|
|
982
|
+
"index.js"
|
|
1032
983
|
]
|
|
1033
984
|
},
|
|
1034
|
-
"
|
|
985
|
+
"model:list": {
|
|
1035
986
|
"aliases": [],
|
|
1036
|
-
"args": {
|
|
1037
|
-
|
|
1038
|
-
"description": "Provider ID to disconnect",
|
|
1039
|
-
"name": "provider",
|
|
1040
|
-
"required": true
|
|
1041
|
-
}
|
|
1042
|
-
},
|
|
1043
|
-
"description": "Disconnect an LLM provider",
|
|
987
|
+
"args": {},
|
|
988
|
+
"description": "List available models from all connected providers",
|
|
1044
989
|
"examples": [
|
|
1045
|
-
"<%= config.bin %>
|
|
1046
|
-
"<%= config.bin %>
|
|
990
|
+
"<%= config.bin %> model list",
|
|
991
|
+
"<%= config.bin %> model list --format json"
|
|
1047
992
|
],
|
|
1048
993
|
"flags": {
|
|
1049
994
|
"format": {
|
|
@@ -1057,11 +1002,19 @@
|
|
|
1057
1002
|
"json"
|
|
1058
1003
|
],
|
|
1059
1004
|
"type": "option"
|
|
1005
|
+
},
|
|
1006
|
+
"provider": {
|
|
1007
|
+
"char": "p",
|
|
1008
|
+
"description": "Only list models for a specific provider",
|
|
1009
|
+
"name": "provider",
|
|
1010
|
+
"hasDynamicHelp": false,
|
|
1011
|
+
"multiple": false,
|
|
1012
|
+
"type": "option"
|
|
1060
1013
|
}
|
|
1061
1014
|
},
|
|
1062
1015
|
"hasDynamicHelp": false,
|
|
1063
1016
|
"hiddenAliases": [],
|
|
1064
|
-
"id": "
|
|
1017
|
+
"id": "model:list",
|
|
1065
1018
|
"pluginAlias": "byterover-cli",
|
|
1066
1019
|
"pluginName": "byterover-cli",
|
|
1067
1020
|
"pluginType": "core",
|
|
@@ -1072,17 +1025,24 @@
|
|
|
1072
1025
|
"dist",
|
|
1073
1026
|
"oclif",
|
|
1074
1027
|
"commands",
|
|
1075
|
-
"
|
|
1076
|
-
"
|
|
1028
|
+
"model",
|
|
1029
|
+
"list.js"
|
|
1077
1030
|
]
|
|
1078
1031
|
},
|
|
1079
|
-
"
|
|
1032
|
+
"model:switch": {
|
|
1080
1033
|
"aliases": [],
|
|
1081
|
-
"args": {
|
|
1082
|
-
|
|
1034
|
+
"args": {
|
|
1035
|
+
"model": {
|
|
1036
|
+
"description": "Model ID to switch to (e.g., claude-sonnet-4-5, gpt-4.1)",
|
|
1037
|
+
"name": "model",
|
|
1038
|
+
"required": true
|
|
1039
|
+
}
|
|
1040
|
+
},
|
|
1041
|
+
"description": "Switch the active model",
|
|
1083
1042
|
"examples": [
|
|
1084
|
-
"<%= config.bin %>
|
|
1085
|
-
"<%= config.bin %>
|
|
1043
|
+
"<%= config.bin %> model switch claude-sonnet-4-5",
|
|
1044
|
+
"<%= config.bin %> model switch gpt-4.1 --provider openai",
|
|
1045
|
+
"<%= config.bin %> model switch claude-sonnet-4-5 --format json"
|
|
1086
1046
|
],
|
|
1087
1047
|
"flags": {
|
|
1088
1048
|
"format": {
|
|
@@ -1096,11 +1056,19 @@
|
|
|
1096
1056
|
"json"
|
|
1097
1057
|
],
|
|
1098
1058
|
"type": "option"
|
|
1059
|
+
},
|
|
1060
|
+
"provider": {
|
|
1061
|
+
"char": "p",
|
|
1062
|
+
"description": "Provider ID (defaults to active provider)",
|
|
1063
|
+
"name": "provider",
|
|
1064
|
+
"hasDynamicHelp": false,
|
|
1065
|
+
"multiple": false,
|
|
1066
|
+
"type": "option"
|
|
1099
1067
|
}
|
|
1100
1068
|
},
|
|
1101
1069
|
"hasDynamicHelp": false,
|
|
1102
1070
|
"hiddenAliases": [],
|
|
1103
|
-
"id": "
|
|
1071
|
+
"id": "model:switch",
|
|
1104
1072
|
"pluginAlias": "byterover-cli",
|
|
1105
1073
|
"pluginName": "byterover-cli",
|
|
1106
1074
|
"pluginType": "core",
|
|
@@ -1111,19 +1079,54 @@
|
|
|
1111
1079
|
"dist",
|
|
1112
1080
|
"oclif",
|
|
1113
1081
|
"commands",
|
|
1114
|
-
"
|
|
1115
|
-
"
|
|
1082
|
+
"model",
|
|
1083
|
+
"switch.js"
|
|
1116
1084
|
]
|
|
1117
1085
|
},
|
|
1118
|
-
"providers:
|
|
1086
|
+
"providers:connect": {
|
|
1119
1087
|
"aliases": [],
|
|
1120
|
-
"args": {
|
|
1121
|
-
|
|
1088
|
+
"args": {
|
|
1089
|
+
"provider": {
|
|
1090
|
+
"description": "Provider ID to connect (e.g., anthropic, openai, openrouter)",
|
|
1091
|
+
"name": "provider",
|
|
1092
|
+
"required": true
|
|
1093
|
+
}
|
|
1094
|
+
},
|
|
1095
|
+
"description": "Connect or switch to an LLM provider",
|
|
1122
1096
|
"examples": [
|
|
1123
|
-
"<%= config.bin %> providers
|
|
1124
|
-
"<%= config.bin %> providers
|
|
1097
|
+
"<%= config.bin %> providers connect anthropic --api-key sk-xxx",
|
|
1098
|
+
"<%= config.bin %> providers connect openai --api-key sk-xxx --model gpt-4.1",
|
|
1099
|
+
"<%= config.bin %> providers connect openai --oauth",
|
|
1100
|
+
"<%= config.bin %> providers connect byterover",
|
|
1101
|
+
"<%= config.bin %> providers connect openai-compatible --base-url http://localhost:11434/v1",
|
|
1102
|
+
"<%= config.bin %> providers connect openai-compatible --base-url http://localhost:11434/v1 --api-key sk-xxx --model llama3"
|
|
1125
1103
|
],
|
|
1126
1104
|
"flags": {
|
|
1105
|
+
"api-key": {
|
|
1106
|
+
"char": "k",
|
|
1107
|
+
"description": "API key for the provider",
|
|
1108
|
+
"name": "api-key",
|
|
1109
|
+
"hasDynamicHelp": false,
|
|
1110
|
+
"multiple": false,
|
|
1111
|
+
"type": "option"
|
|
1112
|
+
},
|
|
1113
|
+
"base-url": {
|
|
1114
|
+
"char": "b",
|
|
1115
|
+
"description": "Base URL for OpenAI-compatible providers (e.g., http://localhost:11434/v1)",
|
|
1116
|
+
"name": "base-url",
|
|
1117
|
+
"hasDynamicHelp": false,
|
|
1118
|
+
"multiple": false,
|
|
1119
|
+
"type": "option"
|
|
1120
|
+
},
|
|
1121
|
+
"code": {
|
|
1122
|
+
"char": "c",
|
|
1123
|
+
"description": "Authorization code for code-paste OAuth providers (e.g., Anthropic). Not applicable to browser-callback providers like OpenAI — use --oauth without --code instead.",
|
|
1124
|
+
"hidden": true,
|
|
1125
|
+
"name": "code",
|
|
1126
|
+
"hasDynamicHelp": false,
|
|
1127
|
+
"multiple": false,
|
|
1128
|
+
"type": "option"
|
|
1129
|
+
},
|
|
1127
1130
|
"format": {
|
|
1128
1131
|
"description": "Output format (text or json)",
|
|
1129
1132
|
"name": "format",
|
|
@@ -1135,11 +1138,25 @@
|
|
|
1135
1138
|
"json"
|
|
1136
1139
|
],
|
|
1137
1140
|
"type": "option"
|
|
1141
|
+
},
|
|
1142
|
+
"model": {
|
|
1143
|
+
"char": "m",
|
|
1144
|
+
"description": "Model to set as active after connecting",
|
|
1145
|
+
"name": "model",
|
|
1146
|
+
"hasDynamicHelp": false,
|
|
1147
|
+
"multiple": false,
|
|
1148
|
+
"type": "option"
|
|
1149
|
+
},
|
|
1150
|
+
"oauth": {
|
|
1151
|
+
"description": "Connect via OAuth (browser-based)",
|
|
1152
|
+
"name": "oauth",
|
|
1153
|
+
"allowNo": false,
|
|
1154
|
+
"type": "boolean"
|
|
1138
1155
|
}
|
|
1139
1156
|
},
|
|
1140
1157
|
"hasDynamicHelp": false,
|
|
1141
1158
|
"hiddenAliases": [],
|
|
1142
|
-
"id": "providers:
|
|
1159
|
+
"id": "providers:connect",
|
|
1143
1160
|
"pluginAlias": "byterover-cli",
|
|
1144
1161
|
"pluginName": "byterover-cli",
|
|
1145
1162
|
"pluginType": "core",
|
|
@@ -1151,22 +1168,22 @@
|
|
|
1151
1168
|
"oclif",
|
|
1152
1169
|
"commands",
|
|
1153
1170
|
"providers",
|
|
1154
|
-
"
|
|
1171
|
+
"connect.js"
|
|
1155
1172
|
]
|
|
1156
1173
|
},
|
|
1157
|
-
"providers:
|
|
1174
|
+
"providers:disconnect": {
|
|
1158
1175
|
"aliases": [],
|
|
1159
1176
|
"args": {
|
|
1160
1177
|
"provider": {
|
|
1161
|
-
"description": "Provider ID to
|
|
1178
|
+
"description": "Provider ID to disconnect",
|
|
1162
1179
|
"name": "provider",
|
|
1163
1180
|
"required": true
|
|
1164
1181
|
}
|
|
1165
1182
|
},
|
|
1166
|
-
"description": "
|
|
1183
|
+
"description": "Disconnect an LLM provider",
|
|
1167
1184
|
"examples": [
|
|
1168
|
-
"<%= config.bin %> providers
|
|
1169
|
-
"<%= config.bin %> providers
|
|
1185
|
+
"<%= config.bin %> providers disconnect anthropic",
|
|
1186
|
+
"<%= config.bin %> providers disconnect openai --format json"
|
|
1170
1187
|
],
|
|
1171
1188
|
"flags": {
|
|
1172
1189
|
"format": {
|
|
@@ -1184,7 +1201,7 @@
|
|
|
1184
1201
|
},
|
|
1185
1202
|
"hasDynamicHelp": false,
|
|
1186
1203
|
"hiddenAliases": [],
|
|
1187
|
-
"id": "providers:
|
|
1204
|
+
"id": "providers:disconnect",
|
|
1188
1205
|
"pluginAlias": "byterover-cli",
|
|
1189
1206
|
"pluginName": "byterover-cli",
|
|
1190
1207
|
"pluginType": "core",
|
|
@@ -1196,16 +1213,16 @@
|
|
|
1196
1213
|
"oclif",
|
|
1197
1214
|
"commands",
|
|
1198
1215
|
"providers",
|
|
1199
|
-
"
|
|
1216
|
+
"disconnect.js"
|
|
1200
1217
|
]
|
|
1201
1218
|
},
|
|
1202
|
-
"
|
|
1219
|
+
"providers": {
|
|
1203
1220
|
"aliases": [],
|
|
1204
1221
|
"args": {},
|
|
1205
|
-
"description": "Show
|
|
1222
|
+
"description": "Show active provider and model",
|
|
1206
1223
|
"examples": [
|
|
1207
|
-
"<%= config.bin %>
|
|
1208
|
-
"<%= config.bin %>
|
|
1224
|
+
"<%= config.bin %> providers",
|
|
1225
|
+
"<%= config.bin %> providers --format json"
|
|
1209
1226
|
],
|
|
1210
1227
|
"flags": {
|
|
1211
1228
|
"format": {
|
|
@@ -1223,7 +1240,7 @@
|
|
|
1223
1240
|
},
|
|
1224
1241
|
"hasDynamicHelp": false,
|
|
1225
1242
|
"hiddenAliases": [],
|
|
1226
|
-
"id": "
|
|
1243
|
+
"id": "providers",
|
|
1227
1244
|
"pluginAlias": "byterover-cli",
|
|
1228
1245
|
"pluginName": "byterover-cli",
|
|
1229
1246
|
"pluginType": "core",
|
|
@@ -1234,17 +1251,17 @@
|
|
|
1234
1251
|
"dist",
|
|
1235
1252
|
"oclif",
|
|
1236
1253
|
"commands",
|
|
1237
|
-
"
|
|
1254
|
+
"providers",
|
|
1238
1255
|
"index.js"
|
|
1239
1256
|
]
|
|
1240
1257
|
},
|
|
1241
|
-
"
|
|
1258
|
+
"providers:list": {
|
|
1242
1259
|
"aliases": [],
|
|
1243
1260
|
"args": {},
|
|
1244
|
-
"description": "List available
|
|
1261
|
+
"description": "List all available providers and their connection status",
|
|
1245
1262
|
"examples": [
|
|
1246
|
-
"<%= config.bin %>
|
|
1247
|
-
"<%= config.bin %>
|
|
1263
|
+
"<%= config.bin %> providers list",
|
|
1264
|
+
"<%= config.bin %> providers list --format json"
|
|
1248
1265
|
],
|
|
1249
1266
|
"flags": {
|
|
1250
1267
|
"format": {
|
|
@@ -1258,19 +1275,11 @@
|
|
|
1258
1275
|
"json"
|
|
1259
1276
|
],
|
|
1260
1277
|
"type": "option"
|
|
1261
|
-
},
|
|
1262
|
-
"provider": {
|
|
1263
|
-
"char": "p",
|
|
1264
|
-
"description": "Only list models for a specific provider",
|
|
1265
|
-
"name": "provider",
|
|
1266
|
-
"hasDynamicHelp": false,
|
|
1267
|
-
"multiple": false,
|
|
1268
|
-
"type": "option"
|
|
1269
1278
|
}
|
|
1270
1279
|
},
|
|
1271
1280
|
"hasDynamicHelp": false,
|
|
1272
1281
|
"hiddenAliases": [],
|
|
1273
|
-
"id": "
|
|
1282
|
+
"id": "providers:list",
|
|
1274
1283
|
"pluginAlias": "byterover-cli",
|
|
1275
1284
|
"pluginName": "byterover-cli",
|
|
1276
1285
|
"pluginType": "core",
|
|
@@ -1281,24 +1290,23 @@
|
|
|
1281
1290
|
"dist",
|
|
1282
1291
|
"oclif",
|
|
1283
1292
|
"commands",
|
|
1284
|
-
"
|
|
1293
|
+
"providers",
|
|
1285
1294
|
"list.js"
|
|
1286
1295
|
]
|
|
1287
1296
|
},
|
|
1288
|
-
"
|
|
1297
|
+
"providers:switch": {
|
|
1289
1298
|
"aliases": [],
|
|
1290
1299
|
"args": {
|
|
1291
|
-
"
|
|
1292
|
-
"description": "
|
|
1293
|
-
"name": "
|
|
1300
|
+
"provider": {
|
|
1301
|
+
"description": "Provider ID to switch to (e.g., anthropic, openai)",
|
|
1302
|
+
"name": "provider",
|
|
1294
1303
|
"required": true
|
|
1295
1304
|
}
|
|
1296
1305
|
},
|
|
1297
|
-
"description": "Switch the active
|
|
1306
|
+
"description": "Switch the active provider",
|
|
1298
1307
|
"examples": [
|
|
1299
|
-
"<%= config.bin %>
|
|
1300
|
-
"<%= config.bin %>
|
|
1301
|
-
"<%= config.bin %> model switch claude-sonnet-4-5 --format json"
|
|
1308
|
+
"<%= config.bin %> providers switch anthropic",
|
|
1309
|
+
"<%= config.bin %> providers switch openai --format json"
|
|
1302
1310
|
],
|
|
1303
1311
|
"flags": {
|
|
1304
1312
|
"format": {
|
|
@@ -1312,19 +1320,11 @@
|
|
|
1312
1320
|
"json"
|
|
1313
1321
|
],
|
|
1314
1322
|
"type": "option"
|
|
1315
|
-
},
|
|
1316
|
-
"provider": {
|
|
1317
|
-
"char": "p",
|
|
1318
|
-
"description": "Provider ID (defaults to active provider)",
|
|
1319
|
-
"name": "provider",
|
|
1320
|
-
"hasDynamicHelp": false,
|
|
1321
|
-
"multiple": false,
|
|
1322
|
-
"type": "option"
|
|
1323
1323
|
}
|
|
1324
1324
|
},
|
|
1325
1325
|
"hasDynamicHelp": false,
|
|
1326
1326
|
"hiddenAliases": [],
|
|
1327
|
-
"id": "
|
|
1327
|
+
"id": "providers:switch",
|
|
1328
1328
|
"pluginAlias": "byterover-cli",
|
|
1329
1329
|
"pluginName": "byterover-cli",
|
|
1330
1330
|
"pluginType": "core",
|
|
@@ -1335,7 +1335,7 @@
|
|
|
1335
1335
|
"dist",
|
|
1336
1336
|
"oclif",
|
|
1337
1337
|
"commands",
|
|
1338
|
-
"
|
|
1338
|
+
"providers",
|
|
1339
1339
|
"switch.js"
|
|
1340
1340
|
]
|
|
1341
1341
|
},
|
|
@@ -1636,5 +1636,5 @@
|
|
|
1636
1636
|
]
|
|
1637
1637
|
}
|
|
1638
1638
|
},
|
|
1639
|
-
"version": "2.5.
|
|
1639
|
+
"version": "2.5.2"
|
|
1640
1640
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "byterover-cli",
|
|
3
3
|
"description": "ByteRover's CLI",
|
|
4
|
-
"version": "2.5.
|
|
4
|
+
"version": "2.5.2",
|
|
5
5
|
"author": "ByteRover",
|
|
6
6
|
"bin": {
|
|
7
7
|
"brv": "./bin/run.js"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@socket.io/admin-ui": "^0.5.1",
|
|
35
35
|
"@tanstack/react-query": "^5.90.20",
|
|
36
36
|
"ai": "^5.0.129",
|
|
37
|
-
"axios": "
|
|
37
|
+
"axios": "1.14.0",
|
|
38
38
|
"chalk": "^5.6.2",
|
|
39
39
|
"esbuild": "^0.27.2",
|
|
40
40
|
"express": "^5.1.0",
|