Name the field claude_code_transcripts and build Session by keyword

This commit was merged in pull request #125.
This commit is contained in:
2026-09-29 10:38:47 +02:00
parent 99d9996b75
commit f602b94aff
3 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -23,9 +23,9 @@ def locations(home):
return home / ".claude.json", home / ".claude" / "cache" / "model-catalog", home / ".claude" / "projects"
# <claude_transcripts>/-home-me-code-log/<session id>.jsonl
def transcript_path(claude_transcripts, session_id):
hit = glob.glob(os.path.join(glob.escape(str(claude_transcripts)), "*", f"{session_id}.jsonl"))
# <claude_code_transcripts>/-home-me-code-log/<session id>.jsonl
def transcript_path(claude_code_transcripts, session_id):
hit = glob.glob(os.path.join(glob.escape(str(claude_code_transcripts)), "*", f"{session_id}.jsonl"))
return hit[0] if hit else ""