claude-memory-agent 2.2.2 → 2.2.3

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/cli.js CHANGED
@@ -206,7 +206,7 @@ function checkOllamaModel() {
206
206
  // Print help
207
207
  function printHelp() {
208
208
  console.log(`
209
- Claude Memory Agent v2.0.1
209
+ Claude Memory Agent v2.2.3
210
210
  Persistent semantic memory for Claude Code sessions
211
211
 
212
212
  USAGE:
@@ -314,7 +314,7 @@ function main() {
314
314
 
315
315
  case '--version':
316
316
  case '-v':
317
- console.log('claude-memory-agent v2.0.0');
317
+ console.log('claude-memory-agent v2.2.3');
318
318
  break;
319
319
 
320
320
  default:
@@ -7,8 +7,22 @@
7
7
  */
8
8
 
9
9
  const path = require('path');
10
+ const fs = require('fs');
11
+
12
+ // Fix executable permissions on Unix (Windows npm pack doesn't preserve them)
13
+ function fixPermissions() {
14
+ if (process.platform === 'win32') return;
15
+ try {
16
+ const cliPath = path.join(__dirname, 'cli.js');
17
+ fs.chmodSync(cliPath, 0o755);
18
+ } catch (_) {
19
+ // Non-fatal — user can chmod manually
20
+ }
21
+ }
10
22
 
11
23
  async function main() {
24
+ fixPermissions();
25
+
12
26
  // Skip in CI
13
27
  if (process.env.CI) {
14
28
  console.log('Skipping post-install in CI environment');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-memory-agent",
3
- "version": "2.2.2",
3
+ "version": "2.2.3",
4
4
  "description": "Persistent semantic memory system for Claude Code sessions with anti-hallucination grounding",
5
5
  "keywords": [
6
6
  "claude",