Fix claude-code-history-files-finder: preserve directory structure on recovery

Previously, recover_content.py saved all files flat in the output directory,
causing files with the same name (e.g., src/utils.py and tests/utils.py) to
overwrite each other.

Now the script preserves the original directory structure, creating subdirectories
as needed within the output directory.

- Bump version: 1.0.0 → 1.0.1

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
daymade
2026-04-05 13:32:54 +08:00
parent cfa702d9db
commit 22de8f043c
2 changed files with 31 additions and 6 deletions

View File

@@ -378,7 +378,7 @@
"description": "Find and recover content from Claude Code session history files. Use when searching for deleted files, tracking changes across sessions, analyzing conversation history, or recovering code/documents from previous Claude interactions. Triggers include mentions of session history, recover deleted, find in history, previous conversation, or .claude/projects",
"source": "./",
"strict": false,
"version": "1.0.0",
"version": "1.0.1",
"category": "developer-tools",
"keywords": [
"session-history",