@nodemint/projectmind
Advanced tools
+8
-0
@@ -6,2 +6,10 @@ # Changelog | ||
| ## [0.5.3] - 2026-07-04 | ||
| ### Added | ||
| - `projectmind --version` / `-v` — surfaced by the user trying it and hitting | ||
| "Unknown command," since it genuinely didn't exist before. Reads the | ||
| installed version from `package.json` at runtime rather than a hardcoded | ||
| string, so it can never drift from the actual release. | ||
| ## [0.5.2] - 2026-07-04 | ||
@@ -8,0 +16,0 @@ |
+1
-1
| { | ||
| "name": "@nodemint/projectmind", | ||
| "version": "0.5.2", | ||
| "version": "0.5.3", | ||
| "mcpName": "io.github.Nodemint-dev/projectmind", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
+10
-0
| #!/usr/bin/env node | ||
| // Human-facing CLI. A thin adapter: argv -> core function -> stdout. | ||
| import fs from "node:fs"; | ||
| import path from "node:path"; | ||
| import { fileURLToPath } from "node:url"; | ||
| import * as core from "../core/index.js"; | ||
@@ -9,2 +12,6 @@ import { installHook } from "../hooks/install.js"; | ||
| const PKG_VERSION = JSON.parse( | ||
| fs.readFileSync(path.join(path.dirname(fileURLToPath(import.meta.url)), "..", "..", "package.json"), "utf8") | ||
| ).version; | ||
| const HELP = `projectmind — persistent, compact project memory for AI coding agents | ||
@@ -49,2 +56,3 @@ | ||
| -h, --help Show this help | ||
| -v, --version Print the installed version | ||
| `; | ||
@@ -69,2 +77,3 @@ | ||
| else if (a === "-h" || a === "--help") opts.help = true; | ||
| else if (a === "-v" || a === "--version") opts.version = true; | ||
| else rest.push(a); | ||
@@ -83,2 +92,3 @@ } | ||
| const cmd = rest.shift(); | ||
| if (opts.version) { out(`projectmind v${PKG_VERSION}`); return; } | ||
| if (!cmd || opts.help) { out(HELP); return; } | ||
@@ -85,0 +95,0 @@ |
@@ -182,3 +182,3 @@ #!/usr/bin/env node | ||
| const server = new Server( | ||
| { name: "projectmind", version: "0.5.2" }, | ||
| { name: "projectmind", version: "0.5.3" }, | ||
| { capabilities: { tools: {} } } | ||
@@ -185,0 +185,0 @@ ); |
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
117826
0.66%1821
0.5%10
11.11%