@mtreeai/msapling-cli 2.3.6-beta.42 → 2.3.6-beta.43
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 +17 -5
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -12407,8 +12407,8 @@ var init_version = __esm({
|
|
|
12407
12407
|
description: "Show version information for CLI and core packages",
|
|
12408
12408
|
category: "debug",
|
|
12409
12409
|
handler: async (_args, context) => {
|
|
12410
|
-
const cliVersion = true ? "2.3.6-beta.
|
|
12411
|
-
const coreVersion = true ? "2.3.
|
|
12410
|
+
const cliVersion = true ? "2.3.6-beta.43" : "(dev)";
|
|
12411
|
+
const coreVersion = true ? "2.3.6-beta.43" : "(dev)";
|
|
12412
12412
|
const runtime = process.version;
|
|
12413
12413
|
context.addMessage("system", "MSapling Version Info");
|
|
12414
12414
|
context.addMessage("system", "\u2500".repeat(40));
|
|
@@ -12416,7 +12416,7 @@ var init_version = __esm({
|
|
|
12416
12416
|
context.addMessage("system", row2("Core (@msapling/core)", coreVersion));
|
|
12417
12417
|
context.addMessage("system", row2("Runtime (Node/Bun)", runtime));
|
|
12418
12418
|
try {
|
|
12419
|
-
const ts = "2026-06-
|
|
12419
|
+
const ts = "2026-06-02T17:24:01.257Z";
|
|
12420
12420
|
if (ts && ts !== "__BUILD_TIMESTAMP__") {
|
|
12421
12421
|
context.addMessage("system", row2("Build Timestamp", ts));
|
|
12422
12422
|
}
|
|
@@ -17932,7 +17932,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
17932
17932
|
var Header = () => /* @__PURE__ */ jsxs(Box, { borderStyle: "single", borderColor: "cyan", paddingX: 1, marginBottom: 1, children: [
|
|
17933
17933
|
/* @__PURE__ */ jsxs(Text, { bold: true, color: "cyan", children: [
|
|
17934
17934
|
"\u25CF MSapling CLI v",
|
|
17935
|
-
"2.3.6-beta.
|
|
17935
|
+
"2.3.6-beta.43"
|
|
17936
17936
|
] }),
|
|
17937
17937
|
/* @__PURE__ */ jsx(Box, { marginLeft: 2, children: /* @__PURE__ */ jsx(Text, { color: "gray", children: "Platinum Tier Architecture" }) })
|
|
17938
17938
|
] });
|
|
@@ -18491,7 +18491,19 @@ ${prompt4}` : prompt4;
|
|
|
18491
18491
|
let chatId = ctx.activeChatId;
|
|
18492
18492
|
if (!chatId) {
|
|
18493
18493
|
const overview = await ctx.client.me();
|
|
18494
|
-
chatId = overview.active_locks[0]?.chat_id
|
|
18494
|
+
chatId = overview.active_locks[0]?.chat_id;
|
|
18495
|
+
if (!chatId) {
|
|
18496
|
+
const currentProj = ctx.getProjectId() || "Default Project";
|
|
18497
|
+
const project = overview.projects.find((p) => p.id === currentProj) ?? overview.projects[0];
|
|
18498
|
+
const result = await ctx.client.createChat({
|
|
18499
|
+
projectName: project?.name || "Default Project",
|
|
18500
|
+
title: cmd.slice(0, 30) + (cmd.length > 30 ? "..." : ""),
|
|
18501
|
+
model: ctx.activeModel
|
|
18502
|
+
});
|
|
18503
|
+
chatId = result.chat_id;
|
|
18504
|
+
ctx.setActiveChatId(chatId);
|
|
18505
|
+
ctx.addMessage("system", `Created new chat automatically: ${result.title}`);
|
|
18506
|
+
}
|
|
18495
18507
|
}
|
|
18496
18508
|
let finalCmd = cmd;
|
|
18497
18509
|
const fileMentions = finalCmd.match(/@(\S+)/g);
|
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.43",
|
|
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",
|
|
@@ -63,4 +63,4 @@
|
|
|
63
63
|
"@msapling/shared": "workspace:*",
|
|
64
64
|
"tsup": "^8.3.0"
|
|
65
65
|
}
|
|
66
|
-
}
|
|
66
|
+
}
|