Skip to content

feat: full session deletion and CLAUDE_CONFIG_DIR support#6

Merged
gavin-jeong merged 1 commit intomasterfrom
edgar/full-session-deletion
Mar 9, 2026
Merged

feat: full session deletion and CLAUDE_CONFIG_DIR support#6
gavin-jeong merged 1 commit intomasterfrom
edgar/full-session-deletion

Conversation

@zzJinux
Copy link
Copy Markdown
Collaborator

@zzJinux zzJinux commented Mar 8, 2026

Summary

  • Delete associated data (subagent transcripts, file-history, tasks dirs) when deleting a session, not just the .jsonl file
  • Respect CLAUDE_CONFIG_DIR environment variable for locating the Claude data directory
  • Document the config dir resolution order in README

Test plan

  • Delete a session with subagents/tasks/file-history and verify all directories are removed
  • Delete a session with no associated directories — should work without errors
  • Set CLAUDE_CONFIG_DIR to a custom path and verify it's respected
  • Verify --dir flag still takes precedence over CLAUDE_CONFIG_DIR

🤖 Generated with Claude Code

Delete associated data (subagent transcripts, file-history, tasks) when
deleting a session, not just the conversation JSONL. Also respect
CLAUDE_CONFIG_DIR env var for locating the Claude data directory.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@zzJinux zzJinux self-assigned this Mar 8, 2026
@zzJinux zzJinux requested a review from gavin-jeong March 8, 2026 11:27
@gavin-jeong gavin-jeong merged commit 9466198 into master Mar 9, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants