You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the ability for claude-mem to capture plan file paths from ExitPlanMode hook and retrieve the previous session's plan in subsequent sessions.
Background
Claude Code plan mode creates temporary plan files (e.g., ~/.claude/plans/*.md) but doesn't persist references across sessions, making it difficult to continue previous planning work.
Testing with a PostToolUse hook confirmed that ExitPlanMode response contains the plan file path:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Add the ability for claude-mem to capture plan file paths from
ExitPlanModehook and retrieve the previous session's plan in subsequent sessions.Background
Claude Code plan mode creates temporary plan files (e.g.,
~/.claude/plans/*.md) but doesn't persist references across sessions, making it difficult to continue previous planning work.Testing with a
PostToolUsehook confirmed thatExitPlanModeresponse contains the plan file path:{ "tool_response": { "filePath": "/Users/username/.claude/plans/federated-wandering-volcano.md", "plan": "# Plan content..." } }Proposed Feature
ExitPlanModeinvocation, storefilePath,plancontent,session_id, and timestamp in claude-mem databaseget_last_plantool or extend search filters to retrieve recent plan file pathsP.S. Love the plugin, using it every day!
Beta Was this translation helpful? Give feedback.
All reactions