claude-mem 3.3.3 → 3.3.7
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/claude-mem +0 -0
- package/hooks/session-start.js +7 -0
- package/package.json +1 -1
package/claude-mem
CHANGED
|
Binary file
|
package/hooks/session-start.js
CHANGED
|
@@ -44,6 +44,13 @@ process.stdin.on('end', async () => {
|
|
|
44
44
|
process.exit(0);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
+
// Skip load-context when source is "resume" to avoid duplicate context
|
|
48
|
+
if (payload.source === 'resume') {
|
|
49
|
+
debugLog('Skipping load-context for resume source');
|
|
50
|
+
// Output nothing at all for resume - no message, no context
|
|
51
|
+
process.exit(0);
|
|
52
|
+
}
|
|
53
|
+
|
|
47
54
|
// Extract project name from current working directory and sanitize
|
|
48
55
|
const rawProjectName = path.basename(process.cwd());
|
|
49
56
|
const projectName = rawProjectName.replace(/-/g, '_');
|