Return Claude Code's locations positionally

This commit is contained in:
2026-09-28 20:22:36 +02:00
parent 711d13b71b
commit 424f83c5c6
2 changed files with 6 additions and 2 deletions
+4 -1
View File
@@ -16,9 +16,12 @@ class Paths:
def paths_from(home, env):
claude = home / ".claude"
claude_json, model_catalog, projects = 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,
code=home / "code",
model_catalog=model_catalog,
models_file=claude / "loop-claude-models.json",
**locations(home),
projects=projects,
)