claude-mem-lite 2.5.1 → 2.5.2
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/haiku-client.mjs +1 -0
- package/hook-shared.mjs +1 -0
- package/package.json +1 -1
package/haiku-client.mjs
CHANGED
|
@@ -150,6 +150,7 @@ function callHaikuCLI(prompt, { timeout }) {
|
|
|
150
150
|
encoding: 'utf8',
|
|
151
151
|
env: { ...process.env, CLAUDE_MEM_HOOK_RUNNING: '1' },
|
|
152
152
|
stdio: ['pipe', 'pipe', 'pipe'],
|
|
153
|
+
cwd: '/tmp', // Prevent ghost sessions in user's /resume list
|
|
153
154
|
});
|
|
154
155
|
const text = result.trim();
|
|
155
156
|
return text ? { text } : null;
|
package/hook-shared.mjs
CHANGED
|
@@ -94,6 +94,7 @@ export function callLLM(prompt, timeoutMs = 15000) {
|
|
|
94
94
|
encoding: 'utf8',
|
|
95
95
|
env: { ...process.env, CLAUDE_MEM_HOOK_RUNNING: '1' },
|
|
96
96
|
stdio: ['pipe', 'pipe', 'pipe'],
|
|
97
|
+
cwd: '/tmp', // Prevent ghost sessions in user's /resume list
|
|
97
98
|
});
|
|
98
99
|
return result.trim();
|
|
99
100
|
} catch (e) {
|