Release v5.4.2: CWD spatial awareness fix
Bugfix release: - Fixed SDK agent spatial awareness by propagating CWD context from tool execution - Prevents false "file not found" reports when working across multiple repositories - Added comprehensive test suite for CWD propagation (8 passing tests) - Security analysis: Zero vulnerabilities, CodeQL approved Technical changes: - Hook extracts CWD from PostToolUseInput and forwards to worker service - Worker types define optional CWD fields in PendingMessage and ObservationData - SessionManager passes CWD to SDKAgent's addObservation - SDK agent includes CWD in tool observation objects sent to Claude API - Prompts render tool_cwd XML elements with spatial awareness guidance - All changes present in compiled outputs (save-hook.js, worker-service.cjs) Documentation: - Technical documentation: context/CWD_CONTEXT_FIX.md - PR summary: PR_SUMMARY.md - Security review: SECURITY_SUMMARY.md - CHANGELOG entry added 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -6,7 +6,7 @@ Claude-mem is a Claude Code plugin providing persistent memory across sessions.
|
||||
|
||||
**Your Role**: You are working on the plugin itself. When users interact with Claude Code with this plugin installed, your observations get captured and become their persistent memory.
|
||||
|
||||
**Current Version**: 5.4.1
|
||||
**Current Version**: 5.4.2
|
||||
|
||||
## Critical Architecture Knowledge
|
||||
|
||||
|
||||
Reference in New Issue
Block a user