md4ai 0.3.0 → 0.3.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.
@@ -914,7 +914,7 @@ function escapeHtml(text) {
914
914
 
915
915
  // dist/check-update.js
916
916
  import chalk8 from "chalk";
917
- var CURRENT_VERSION = "0.3.0";
917
+ var CURRENT_VERSION = "0.3.2";
918
918
  async function checkForUpdate() {
919
919
  try {
920
920
  const controller = new AbortController();
@@ -1424,7 +1424,12 @@ Done! ${files.length} file(s) extracted to ${targetDir}`));
1424
1424
 
1425
1425
  // dist/index.js
1426
1426
  var program = new Command();
1427
- program.name("md4ai").description("MD4AI \u2014 Claude tooling visualiser").version(CURRENT_VERSION);
1427
+ program.name("md4ai").description("MD4AI \u2014 Claude tooling visualiser").version(CURRENT_VERSION).addHelpText("after", `
1428
+ Update to the latest version:
1429
+ npm install -g md4ai
1430
+
1431
+ Check for updates:
1432
+ md4ai check-update`);
1428
1433
  program.command("login").description("Log in to MD4AI with email and password").action(loginCommand);
1429
1434
  program.command("logout").description("Log out and clear stored credentials").action(logoutCommand);
1430
1435
  program.command("status").description("Show login status, device count, folder count, last sync").action(statusCommand);
@@ -1437,4 +1442,5 @@ program.command("simulate <prompt>").description("Show which files Claude would
1437
1442
  program.command("print <title>").description("Generate a printable wall-chart HTML from the last scan").action(printCommand);
1438
1443
  program.command("sync").description("Re-push latest scan data to Supabase").option("--all", "Sync all folders on all devices").action(syncCommand);
1439
1444
  program.command("import <zipfile>").description("Import a Claude setup bundle exported from the web dashboard").action(importBundleCommand);
1445
+ program.command("check-update").description("Check if a newer version of md4ai is available").action(checkForUpdate);
1440
1446
  program.parse();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "md4ai",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "CLI for MD4AI — scan Claude projects and sync to your dashboard",
5
5
  "type": "module",
6
6
  "bin": {
@@ -32,7 +32,7 @@
32
32
  "@supabase/supabase-js": "^2.98.0",
33
33
  "chalk": "^5.4.0",
34
34
  "commander": "^14.0.0",
35
- "glob": "^11.0.0",
35
+ "glob": "^13.0.0",
36
36
  "jszip": "^3.10.1"
37
37
  },
38
38
  "devDependencies": {