@menteeai/menteeswe 0.1.1 → 0.1.3
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/cli.js +18 -8
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -973,6 +973,14 @@ var init_KeyDialog = __esm({
|
|
|
973
973
|
}
|
|
974
974
|
});
|
|
975
975
|
|
|
976
|
+
// package.json
|
|
977
|
+
var version;
|
|
978
|
+
var init_package = __esm({
|
|
979
|
+
"package.json"() {
|
|
980
|
+
version = "0.1.3";
|
|
981
|
+
}
|
|
982
|
+
});
|
|
983
|
+
|
|
976
984
|
// src/tui/App.tsx
|
|
977
985
|
var App_exports = {};
|
|
978
986
|
__export(App_exports, {
|
|
@@ -1277,7 +1285,9 @@ function App(props) {
|
|
|
1277
1285
|
const header = /* @__PURE__ */ jsxs4(Box4, { flexDirection: "column", marginBottom: 1, children: [
|
|
1278
1286
|
/* @__PURE__ */ jsx4(Text4, { color: "cyan", children: BANNER }),
|
|
1279
1287
|
/* @__PURE__ */ jsxs4(Text4, { dimColor: true, children: [
|
|
1280
|
-
"
|
|
1288
|
+
"v",
|
|
1289
|
+
version,
|
|
1290
|
+
" \xB7 ",
|
|
1281
1291
|
providerName,
|
|
1282
1292
|
modelLabel ? `:${modelLabel}` : "",
|
|
1283
1293
|
" \xB7 tools ",
|
|
@@ -1404,6 +1414,7 @@ var init_App = __esm({
|
|
|
1404
1414
|
init_Approval();
|
|
1405
1415
|
init_SelectDialog();
|
|
1406
1416
|
init_KeyDialog();
|
|
1417
|
+
init_package();
|
|
1407
1418
|
SPINNER_FRAMES = ["\u280B", "\u2819", "\u2839", "\u2838", "\u283C", "\u2834", "\u2826", "\u2827", "\u2807", "\u280F"];
|
|
1408
1419
|
PROVIDER_NAMES = ["kimi", "glm", "zai", "zai-coding", "mock"];
|
|
1409
1420
|
PROVIDER_DESCRIPTIONS = {
|
|
@@ -1413,11 +1424,10 @@ var init_App = __esm({
|
|
|
1413
1424
|
"zai-coding": "Z.ai GLM Coding Plan subscription \xB7 api.z.ai/api/coding",
|
|
1414
1425
|
mock: "offline testing \xB7 no network"
|
|
1415
1426
|
};
|
|
1416
|
-
BANNER = `
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|_| |_|\\___|_|/_/ \\_\\_____|`;
|
|
1427
|
+
BANNER = `M
|
|
1428
|
+
\u2571\u2500\u2500\u2572
|
|
1429
|
+
MenteE SWE \u2014 https://menteeai.org
|
|
1430
|
+
Twitter: x.com/menteeaiorg`;
|
|
1421
1431
|
}
|
|
1422
1432
|
});
|
|
1423
1433
|
|
|
@@ -2606,8 +2616,8 @@ var inspectEnv = {
|
|
|
2606
2616
|
const results = await Promise.all(
|
|
2607
2617
|
probes.map(async ([label, probe]) => {
|
|
2608
2618
|
const outcome = await runShellCommand(probe, ctx.cwd, 8e3);
|
|
2609
|
-
const
|
|
2610
|
-
return `${label}: ${outcome.exitCode === 0 ?
|
|
2619
|
+
const version2 = `${outcome.stdout} ${outcome.stderr}`.trim().split("\n")[0] ?? "";
|
|
2620
|
+
return `${label}: ${outcome.exitCode === 0 ? version2 || "installed (version unknown)" : "not available"}`;
|
|
2611
2621
|
})
|
|
2612
2622
|
);
|
|
2613
2623
|
lines.push(...results);
|
package/package.json
CHANGED