Release v3.6.1

Published from npm package build
Source: https://github.com/thedotmack/claude-mem-source
This commit is contained in:
Alex Newman
2025-09-10 17:30:06 -04:00
parent 27d1cd405f
commit 3eaae66bc4
4 changed files with 216 additions and 215 deletions
+201 -212
View File
File diff suppressed because one or more lines are too long
+4 -1
View File
@@ -17,10 +17,12 @@ import {
debugLog
} from './shared/hook-helpers.js';
// Set up stdin immediately before any async operations
// Set up stdin immediately
process.stdin.setEncoding('utf8');
process.stdin.resume(); // Explicitly enter flowing mode to prevent data loss
// Read input from stdin
let input = '';
process.stdin.on('data', chunk => {
@@ -28,6 +30,7 @@ process.stdin.on('data', chunk => {
});
process.stdin.on('end', async () => {
try {
// Load CLI command inside try-catch to handle config errors properly
const cliCommand = loadCliCommand();
+10 -1
View File
@@ -40,6 +40,14 @@ export function getLogsDir() {
return process.env.CLAUDE_MEM_LOGS_DIR || join(getDataDir(), 'logs');
}
/**
* Gets the compact flag file path
* @returns {string} Compact flag file path
*/
export function getCompactFlagPath() {
return join(getDataDir(), '.compact-running');
}
/**
* Gets all common paths used by hooks
* @returns {Object} Object containing all common paths
@@ -49,6 +57,7 @@ export function getPaths() {
dataDir: getDataDir(),
settingsPath: getSettingsPath(),
archivesDir: getArchivesDir(),
logsDir: getLogsDir()
logsDir: getLogsDir(),
compactFlagPath: getCompactFlagPath()
};
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "claude-mem",
"version": "3.6.0",
"version": "3.6.1",
"description": "Memory compression system for Claude Code - persist context across sessions",
"keywords": [
"claude",