This commit is contained in:
@@ -2,6 +2,7 @@ import hashlib
|
||||
import pathlib
|
||||
import typing
|
||||
|
||||
from loop_state.paths import CLAUDE_HOME
|
||||
from claude_code.transcript import first_timestamped_line
|
||||
from transcript_archive.project_key import project_key
|
||||
|
||||
@@ -11,7 +12,7 @@ FILE_SUFFIX = ".outcomes.md"
|
||||
|
||||
def archive_root(home: pathlib.Path, env: typing.Mapping[str, str]) -> pathlib.Path:
|
||||
"""Where loop-claude archives every project's chunks."""
|
||||
return pathlib.Path(env["LOOP_CLAUDE_TRANSCRIPTS"]).expanduser() if env.get("LOOP_CLAUDE_TRANSCRIPTS") else home / ".claude" / "loop-claude-transcripts"
|
||||
return pathlib.Path(env["LOOP_CLAUDE_TRANSCRIPTS"]).expanduser() if env.get("LOOP_CLAUDE_TRANSCRIPTS") else home / CLAUDE_HOME / "loop-claude-transcripts"
|
||||
|
||||
|
||||
def project_archive(checkout_root: str, home: pathlib.Path, env: typing.Mapping[str, str]) -> pathlib.Path:
|
||||
|
||||
Reference in New Issue
Block a user