Rename Paths.projects and Session.projects to claude_transcripts

This commit is contained in:
2026-09-29 10:36:30 +02:00
parent f5970686e1
commit 99d9996b75
4 changed files with 9 additions and 10 deletions
+3 -3
View File
@@ -8,20 +8,20 @@ from loop_claude.claude_code.formats import locations
class Paths:
archive: pathlib.Path
claude_json: pathlib.Path
claude_transcripts: pathlib.Path
code: pathlib.Path
model_catalog: pathlib.Path
models_file: pathlib.Path
projects: pathlib.Path
def paths_from(home, env):
claude = home / ".claude"
claude_json, model_catalog, projects = locations(home)
claude_json, model_catalog, claude_transcripts = locations(home)
return Paths(
archive=pathlib.Path(env["LOOP_CLAUDE_TRANSCRIPTS"]).expanduser() if env.get("LOOP_CLAUDE_TRANSCRIPTS") else claude / "loop-claude-transcripts",
claude_json=claude_json,
claude_transcripts=claude_transcripts,
code=home / "code",
model_catalog=model_catalog,
models_file=claude / "loop-claude-models.json",
projects=projects,
)