@mtreeai/msapling-cli 2.3.6-beta.17 → 2.3.6-beta.19

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.
Files changed (2) hide show
  1. package/dist/index.js +14 -11
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -8266,7 +8266,7 @@ async function checkApiHealth(client) {
8266
8266
  if (typeof client.request !== "function") {
8267
8267
  return { ok: false, message: "client.request not available" };
8268
8268
  }
8269
- await client.request("/api/health");
8269
+ await client.request("/health");
8270
8270
  return { ok: true, message: "OK" };
8271
8271
  } catch (e) {
8272
8272
  return { ok: false, message: e?.message ?? String(e) };
@@ -9316,11 +9316,14 @@ HW at start: ${hw.cores}-core ${hw.platform} | CPU ${hw.cpuPct}% | RAM ${hw.ramP
9316
9316
  }
9317
9317
  try {
9318
9318
  const hwRound = takeSnapshot();
9319
- const resp = await context.client.post("/api/benchmark/run", {
9320
- models,
9321
- prompts: DEFAULT_PROMPTS,
9322
- byok: false,
9323
- hw_context: hwCtx
9319
+ const resp = await context.client.request("/api/benchmark/run", {
9320
+ method: "POST",
9321
+ body: JSON.stringify({
9322
+ models,
9323
+ prompts: DEFAULT_PROMPTS,
9324
+ byok: false,
9325
+ hw_context: hwCtx
9326
+ })
9324
9327
  });
9325
9328
  const items = Array.isArray(resp) ? resp : resp?.results ?? [];
9326
9329
  for (const item of items) {
@@ -9500,7 +9503,7 @@ var init_status = __esm({
9500
9503
  context.addMessage("system", "=== MSapling Backend Status ===");
9501
9504
  let health = null;
9502
9505
  try {
9503
- health = await context.client["request"]("/api/health");
9506
+ health = await context.client["request"]("/health");
9504
9507
  const overallStatus = health?.status ?? "unknown";
9505
9508
  const color = statusColor(overallStatus);
9506
9509
  const label = statusLabel(overallStatus);
@@ -9691,7 +9694,7 @@ var init_version = __esm({
9691
9694
  description: "Show version information for CLI and core packages",
9692
9695
  category: "debug",
9693
9696
  handler: async (_args, context) => {
9694
- const cliVersion = true ? "2.3.6-beta.17" : "(dev)";
9697
+ const cliVersion = true ? "2.3.6-beta.19" : "(dev)";
9695
9698
  const coreVersion = true ? "2.3.2" : "(dev)";
9696
9699
  const runtime = process.version;
9697
9700
  context.addMessage("system", "MSapling Version Info");
@@ -9700,7 +9703,7 @@ var init_version = __esm({
9700
9703
  context.addMessage("system", row2("Core (@msapling/core)", coreVersion));
9701
9704
  context.addMessage("system", row2("Runtime (Node/Bun)", runtime));
9702
9705
  try {
9703
- const ts = "2026-05-28T16:29:43.918Z";
9706
+ const ts = "2026-05-28T18:28:54.068Z";
9704
9707
  if (ts && ts !== "__BUILD_TIMESTAMP__") {
9705
9708
  context.addMessage("system", row2("Build Timestamp", ts));
9706
9709
  }
@@ -10850,7 +10853,7 @@ async function checkNetworkReach() {
10850
10853
  try {
10851
10854
  const controller = new AbortController();
10852
10855
  const timeoutId = setTimeout(() => controller.abort(), timeout);
10853
- const response = await fetch(`${apiUrl}/api/health`, {
10856
+ const response = await fetch(`${apiUrl}/health`, {
10854
10857
  method: "HEAD",
10855
10858
  signal: controller.signal
10856
10859
  });
@@ -13368,7 +13371,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
13368
13371
  var Header = () => /* @__PURE__ */ jsxs(Box, { borderStyle: "single", borderColor: "cyan", paddingX: 1, marginBottom: 1, children: [
13369
13372
  /* @__PURE__ */ jsxs(Text, { bold: true, color: "cyan", children: [
13370
13373
  "\u25CF MSapling CLI v",
13371
- "2.3.6-beta.17"
13374
+ "2.3.6-beta.19"
13372
13375
  ] }),
13373
13376
  /* @__PURE__ */ jsx(Box, { marginLeft: 2, children: /* @__PURE__ */ jsx(Text, { color: "gray", children: "Platinum Tier Architecture" }) })
13374
13377
  ] });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mtreeai/msapling-cli",
3
- "version": "2.3.6-beta.17",
3
+ "version": "2.3.6-beta.19",
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",