@mtreeai/msapling-cli 2.3.6-beta.25 → 2.3.6-beta.26
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/index.js +23 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9088,15 +9088,18 @@ var init_keys = __esm({
|
|
|
9088
9088
|
try {
|
|
9089
9089
|
if (sub === "list" || sub === "status") {
|
|
9090
9090
|
const s = await context.client.getProviderKeys();
|
|
9091
|
-
const
|
|
9092
|
-
|
|
9093
|
-
|
|
9094
|
-
|
|
9095
|
-
|
|
9096
|
-
|
|
9091
|
+
const entries = Object.entries(s).filter(
|
|
9092
|
+
([k]) => !["providers", "status"].includes(k)
|
|
9093
|
+
);
|
|
9094
|
+
const configured = entries.filter(([, v]) => v?.has_key).length;
|
|
9095
|
+
context.addMessage("system", `Provider Keys (${configured}/${entries.length} configured):`);
|
|
9096
|
+
for (const [provider, info] of entries) {
|
|
9097
|
+
const tag = info?.has_key ? "\u2713" : " ";
|
|
9098
|
+
const masked = info?.masked ? ` (${info.masked})` : "";
|
|
9099
|
+
context.addMessage("system", ` [${tag}] ${provider}${masked}`);
|
|
9097
9100
|
}
|
|
9098
|
-
if (
|
|
9099
|
-
context.addMessage("system", " (
|
|
9101
|
+
if (entries.length === 0) {
|
|
9102
|
+
context.addMessage("system", " (no providers returned by backend)");
|
|
9100
9103
|
}
|
|
9101
9104
|
return;
|
|
9102
9105
|
}
|
|
@@ -9301,7 +9304,15 @@ var init_mdrive = __esm({
|
|
|
9301
9304
|
}
|
|
9302
9305
|
context.addMessage("error", `Unknown /mdrive subcommand '${sub}'. Try: ls, cat, put, get, rm, mv, mkdir.`);
|
|
9303
9306
|
} catch (e) {
|
|
9304
|
-
|
|
9307
|
+
const msg = String(e?.message ?? e);
|
|
9308
|
+
if (msg.includes("Invalid or revoked API key") || msg.includes("401")) {
|
|
9309
|
+
context.addMessage(
|
|
9310
|
+
"error",
|
|
9311
|
+
'MDrive requires a paid account + MDrive API key. Generate one at https://msapling.com/settings \u2192 API Keys \u2192 "Create MDrive Key", then run /keys add mdrive <key>.'
|
|
9312
|
+
);
|
|
9313
|
+
} else {
|
|
9314
|
+
context.addMessage("error", `MDrive: ${msg}`);
|
|
9315
|
+
}
|
|
9305
9316
|
}
|
|
9306
9317
|
}
|
|
9307
9318
|
};
|
|
@@ -10596,7 +10607,7 @@ var init_version = __esm({
|
|
|
10596
10607
|
description: "Show version information for CLI and core packages",
|
|
10597
10608
|
category: "debug",
|
|
10598
10609
|
handler: async (_args, context) => {
|
|
10599
|
-
const cliVersion = true ? "2.3.6-beta.
|
|
10610
|
+
const cliVersion = true ? "2.3.6-beta.26" : "(dev)";
|
|
10600
10611
|
const coreVersion = true ? "2.3.2" : "(dev)";
|
|
10601
10612
|
const runtime = process.version;
|
|
10602
10613
|
context.addMessage("system", "MSapling Version Info");
|
|
@@ -10605,7 +10616,7 @@ var init_version = __esm({
|
|
|
10605
10616
|
context.addMessage("system", row2("Core (@msapling/core)", coreVersion));
|
|
10606
10617
|
context.addMessage("system", row2("Runtime (Node/Bun)", runtime));
|
|
10607
10618
|
try {
|
|
10608
|
-
const ts = "2026-05-
|
|
10619
|
+
const ts = "2026-05-28T23:01:36.725Z";
|
|
10609
10620
|
if (ts && ts !== "__BUILD_TIMESTAMP__") {
|
|
10610
10621
|
context.addMessage("system", row2("Build Timestamp", ts));
|
|
10611
10622
|
}
|
|
@@ -15018,7 +15029,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
15018
15029
|
var Header = () => /* @__PURE__ */ jsxs(Box, { borderStyle: "single", borderColor: "cyan", paddingX: 1, marginBottom: 1, children: [
|
|
15019
15030
|
/* @__PURE__ */ jsxs(Text, { bold: true, color: "cyan", children: [
|
|
15020
15031
|
"\u25CF MSapling CLI v",
|
|
15021
|
-
"2.3.6-beta.
|
|
15032
|
+
"2.3.6-beta.26"
|
|
15022
15033
|
] }),
|
|
15023
15034
|
/* @__PURE__ */ jsx(Box, { marginLeft: 2, children: /* @__PURE__ */ jsx(Text, { color: "gray", children: "Platinum Tier Architecture" }) })
|
|
15024
15035
|
] });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mtreeai/msapling-cli",
|
|
3
|
-
"version": "2.3.6-beta.
|
|
3
|
+
"version": "2.3.6-beta.26",
|
|
4
4
|
"description": "MSapling CLI — React/Ink terminal client for the MSapling backend (chat, projects, MDrive, agent tools). Proprietary; redistribution prohibited.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "MSapling Team",
|