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
+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();