md4ai 0.5.0 → 0.5.2

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.
@@ -865,7 +865,9 @@ function detectFromCli(projectRoot) {
865
865
  timeout: 3e3,
866
866
  stdio: ["pipe", "pipe", "pipe"]
867
867
  }).trim();
868
- const version = output.replace(/^v/, "").split("\n")[0].trim();
868
+ const firstLine = output.replace(/^v/, "").split("\n")[0].trim();
869
+ const versionMatch = firstLine.match(/^(\d+\.\d+[^\s]*)/);
870
+ const version = versionMatch?.[1] ?? firstLine;
869
871
  if (version) {
870
872
  toolings.push({
871
873
  tool_name: name,
@@ -1159,7 +1161,7 @@ function escapeHtml(text) {
1159
1161
 
1160
1162
  // dist/check-update.js
1161
1163
  import chalk8 from "chalk";
1162
- var CURRENT_VERSION = "0.5.0";
1164
+ var CURRENT_VERSION = "0.5.2";
1163
1165
  async function checkForUpdate() {
1164
1166
  try {
1165
1167
  const controller = new AbortController();
@@ -1826,7 +1828,7 @@ var VERSION_SOURCES = {
1826
1828
  "turborepo": { type: "npm", package: "turbo" },
1827
1829
  "npm": { type: "npm", package: "npm" },
1828
1830
  "node": { type: "github", repo: "nodejs/node" },
1829
- "supabase-cli": { type: "github", repo: "supabase/cli" }
1831
+ "supabase-cli": { type: "npm", package: "supabase" }
1830
1832
  };
1831
1833
 
1832
1834
  // dist/commands/admin-fetch-versions.js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "md4ai",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "CLI for MD4AI — scan Claude projects and sync to your dashboard",
5
5
  "type": "module",
6
6
  "bin": {