@thecms/cli 0.20.2-dev.129 → 0.20.2-dev.130

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.
@@ -175,7 +175,7 @@ function realContext(env = process.env) {
175
175
  import { parseArgs } from "util";
176
176
 
177
177
  // src/context.ts
178
- var CLI_VERSION = "0.20.2-dev.129";
178
+ var CLI_VERSION = "0.20.2-dev.130";
179
179
  function call(ctx, path, init = {}) {
180
180
  const { token, client = "cli", ...rest } = init;
181
181
  const headers = new Headers(rest.headers);
@@ -6649,7 +6649,7 @@ async function readWorkspace(session, state, account, signal) {
6649
6649
  else if (siteApps.includes(app) && state2 && state2 !== "connected") application.review.push(`${app.slug}: the site is not connected (${state2}): start it and open a page`);
6650
6650
  }
6651
6651
  levels.push(level("application", worst(application), [...application.missing, ...application.review], {
6652
- applications: apps.map((a) => ({ id: a.id, slug: a.slug, name: a.name, siteUrl: a.siteUrl ?? null, siteName: a.siteName ?? null, sitemap: !!a.sitemap, publicKey: a.publicKey, connection: a.connection?.state ?? null, site: siteApps.includes(a), app: isAppAddress(a.siteUrl) }))
6652
+ applications: apps.map((a) => ({ id: a.id, slug: a.slug, name: a.name, siteUrl: a.siteUrl ?? null, siteName: a.siteName ?? null, sitemap: !!a.sitemap, publicKey: a.publicKey, connection: a.connection?.state ?? null, runs: a.connection?.library ? `${a.connection.library.name} ${a.connection.library.version}` : null, site: siteApps.includes(a), app: isAppAddress(a.siteUrl) }))
6653
6653
  }));
6654
6654
  await measure(apps);
6655
6655
  }
@@ -8289,13 +8289,14 @@ async function doctorOne(ctx) {
8289
8289
  else note(line);
8290
8290
  } else if (connection?.update?.level === "required") problem2(`The site's server announces a library the platform no longer supports: thecms upgrade (to ${connection.update.to})`);
8291
8291
  else if (connection?.update?.level === "available") note(`The site's server can update to ${connection.update.to}: thecms upgrade`);
8292
+ const runs = announced2?.version ? ` \xB7 it runs ${announced2.name} ${announced2.version}` : "";
8292
8293
  if (!state) note("The site's state is not readable with your account");
8293
- else if (state === "connected") ok2("The site is connected");
8294
+ else if (state === "connected") ok2(`The site is connected${runs}`);
8294
8295
  else if (state === "outdated") {
8295
8296
  if (!stale && connection?.update?.level !== "required") problem2("The site runs a library the platform calls outdated: thecms upgrade");
8296
8297
  } else if (state === "not_configured") note("The application has no Site URL yet (dashboard \u2192 the application's settings)");
8297
8298
  else if (state === "never") note("The site has never announced itself: start it (npm run dev) and open a page");
8298
- else note("The site has not been seen recently");
8299
+ else note(`The site has not been seen recently${runs ? ` (last seen running ${announced2.name} ${announced2.version})` : ""}`);
8299
8300
  }
8300
8301
  return problems ? 1 : 0;
8301
8302
  }
package/dist/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  run
4
- } from "./chunk-I24UVFZ7.js";
4
+ } from "./chunk-XA5W7CT3.js";
5
5
 
6
6
  // src/cli.ts
7
7
  run(process.argv.slice(2)).then((code) => process.exit(code)).catch((err) => {
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  personalToken,
4
4
  run
5
- } from "./chunk-I24UVFZ7.js";
5
+ } from "./chunk-XA5W7CT3.js";
6
6
  export {
7
7
  personalToken,
8
8
  run
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecms/cli",
3
- "version": "0.20.2-dev.129",
3
+ "version": "0.20.2-dev.130",
4
4
  "license": "UNLICENSED",
5
5
  "description": "theCMS. command line: the standard's starter, checks, brand, the method's docs, sign-in with a personal token",
6
6
  "type": "module",
@@ -36,7 +36,7 @@
36
36
  "dependencies": {
37
37
  "@modelcontextprotocol/sdk": "1.32.1",
38
38
  "@resvg/resvg-wasm": "2.6.2",
39
- "@thecms/sdk": "0.20.2-dev.129",
39
+ "@thecms/sdk": "0.20.2-dev.130",
40
40
  "libpg-query": "18.2.0",
41
41
  "zod": "4.6.5"
42
42
  },