@sheetxl/utils-node 0.7.28-beta.2 → 0.7.28-beta.4
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/node/esm/index.mjs +12 -15
- package/package.json +1 -1
package/node/esm/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/utils-node - SheetXL - Node-only utilities: terminal presentation, environment reporting, tool logging - v0.7.28-beta.
|
|
2
|
+
* @license @sheetxl/utils-node - SheetXL - Node-only utilities: terminal presentation, environment reporting, tool logging - v0.7.28-beta.4
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -293,7 +293,8 @@ async function C(e) {
|
|
|
293
293
|
value: k.path ?? "not resolved",
|
|
294
294
|
detail: k.path ? "declared but not present — the engine build may be incomplete" : "@sheetxl/sdk is not reachable from here",
|
|
295
295
|
fix: A
|
|
296
|
-
})
|
|
296
|
+
});
|
|
297
|
+
const x = await async function(e, t) {
|
|
297
298
|
const r = await async function(e) {
|
|
298
299
|
const t = N(e);
|
|
299
300
|
if (!t) return null;
|
|
@@ -302,14 +303,9 @@ async function C(e) {
|
|
|
302
303
|
} catch {
|
|
303
304
|
return null;
|
|
304
305
|
}
|
|
305
|
-
}("@sheetxl/skills")
|
|
306
|
-
if (!r) return
|
|
307
|
-
|
|
308
|
-
level: "warn",
|
|
309
|
-
value: "not shipped with this install",
|
|
310
|
-
detail: "@sheetxl/skills is not reachable — reference documents are unavailable; reinstall sheetxl"
|
|
311
|
-
};
|
|
312
|
-
const a = function(e) {
|
|
306
|
+
}("@sheetxl/skills");
|
|
307
|
+
if (!r) return null;
|
|
308
|
+
const i = "mcp" === e ? "load with the `skill` prompt or the `sheetxl://skills/*` resources" : "read with `sheetxl skills`", a = function(e) {
|
|
313
309
|
const t = n.homedir();
|
|
314
310
|
return [
|
|
315
311
|
s.join(t, ".claude", "skills", "sheetxl"),
|
|
@@ -354,8 +350,9 @@ async function C(e) {
|
|
|
354
350
|
detail: u ? `installed copy is ${c} — stale; prefer this ${"mcp" === e ? "server" : "install"}'s: ${i}` : "current",
|
|
355
351
|
...u && "cli" === e ? { fix: "sheetxl skills" } : {}
|
|
356
352
|
};
|
|
357
|
-
}(t, u)
|
|
358
|
-
|
|
353
|
+
}(t, u);
|
|
354
|
+
x && g.push(x);
|
|
355
|
+
const $ = d.some((e) => e.hasView ?? "attended" === e.kind);
|
|
359
356
|
return "mcp" === t ? g.push(function(e) {
|
|
360
357
|
const t = function(e) {
|
|
361
358
|
const t = "win32" === process.platform ? [
|
|
@@ -379,7 +376,7 @@ async function C(e) {
|
|
|
379
376
|
value: "not found on PATH",
|
|
380
377
|
detail: `if you can run commands, \`npx -y sheetxl\` runs it anywhere Node does — ${n}`
|
|
381
378
|
};
|
|
382
|
-
}(u)) : g.push(function(e, t) {
|
|
379
|
+
}(u)) : N("@sheetxl/mcp") && g.push(function(e, t) {
|
|
383
380
|
return e.length ? {
|
|
384
381
|
name: "mcp",
|
|
385
382
|
level: "ok",
|
|
@@ -392,7 +389,7 @@ async function C(e) {
|
|
|
392
389
|
detail: t ? "a client UI has a workbook open (see sessions), but no config here gives this agent the MCP tools — register to act on it (sessions, undo, in-grid highlights, prompts)" : "the server ships with this install (`sheetxl mcp`); until a client registers it, sessions, undo, in-grid highlights and prompts are unavailable",
|
|
393
390
|
fix: "sheetxl setup"
|
|
394
391
|
};
|
|
395
|
-
}(f,
|
|
392
|
+
}(f, $)), void 0 !== c && c > 1 && g.push({
|
|
396
393
|
name: "instances",
|
|
397
394
|
level: "warn",
|
|
398
395
|
value: `${c} servers running for this workspace`,
|
|
@@ -431,7 +428,7 @@ async function C(e) {
|
|
|
431
428
|
surface: t,
|
|
432
429
|
collectedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
433
430
|
ok: !g.some((e) => "error" === e.level),
|
|
434
|
-
attended:
|
|
431
|
+
attended: $,
|
|
435
432
|
sessions: d,
|
|
436
433
|
checks: g,
|
|
437
434
|
host: a ? B() : void 0
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheetxl/utils-node",
|
|
3
3
|
"description": "SheetXL - Node-only utilities: terminal presentation, environment reporting, tool logging",
|
|
4
|
-
"version": "0.7.28-beta.
|
|
4
|
+
"version": "0.7.28-beta.4",
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|