md4ai 0.3.0 → 0.3.1
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/dist/index.bundled.js +8 -2
- package/package.json +1 -1
package/dist/index.bundled.js
CHANGED
|
@@ -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.
|
|
917
|
+
var CURRENT_VERSION = "0.3.1";
|
|
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();
|