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 +2 -2
- package/bin/postinstall.js +14 -0
- package/package.json +1 -1
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.
|
|
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.
|
|
317
|
+
console.log('claude-memory-agent v2.2.3');
|
|
318
318
|
break;
|
|
319
319
|
|
|
320
320
|
default:
|
package/bin/postinstall.js
CHANGED
|
@@ -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');
|