superlocalmemory 3.0.22 → 3.0.23

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/bin/slm-npm CHANGED
@@ -70,8 +70,16 @@ if (!python) {
70
70
  process.exit(1);
71
71
  }
72
72
 
73
- // Launch V3 CLI via Python module
73
+ // Handle --version directly from package.json (Python importlib.metadata
74
+ // fails when running via PYTHONPATH instead of pip install)
74
75
  const args = process.argv.slice(2);
76
+ if (args.includes('--version') || args.includes('-v')) {
77
+ const pkg = require(path.join(PKG_ROOT, 'package.json'));
78
+ console.log(`superlocalmemory ${pkg.version}`);
79
+ process.exit(0);
80
+ }
81
+
82
+ // Launch V3 CLI via Python module
75
83
  const pythonParts = python.split(' ');
76
84
  const result = spawnSync(pythonParts[0], [
77
85
  ...pythonParts.slice(1),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "superlocalmemory",
3
- "version": "3.0.22",
3
+ "version": "3.0.23",
4
4
  "description": "Information-geometric agent memory with mathematical guarantees. 4-channel retrieval, Fisher-Rao similarity, zero-LLM mode, EU AI Act compliant. Works with Claude, Cursor, Windsurf, and 17+ AI tools.",
5
5
  "keywords": [
6
6
  "ai-memory",
package/pyproject.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "superlocalmemory"
3
- version = "3.0.22"
3
+ version = "3.0.23"
4
4
  description = "Information-geometric agent memory with mathematical guarantees"
5
5
  readme = "README.md"
6
6
  license = {text = "MIT"}