Keep loop-claude's rendering out of the adapter and Claude Code's locations in it

This commit is contained in:
2026-09-28 20:21:01 +02:00
parent 938eaf69fc
commit 711d13b71b
5 changed files with 45 additions and 31 deletions
+3 -3
View File
@@ -1,6 +1,8 @@
import dataclasses
import pathlib
from loop_claude.claude_code import locations
@dataclasses.dataclass(frozen=True)
class Paths:
@@ -16,9 +18,7 @@ def paths_from(home, env):
claude = home / ".claude"
return Paths(
archive=pathlib.Path(env["LOOP_CLAUDE_TRANSCRIPTS"]).expanduser() if env.get("LOOP_CLAUDE_TRANSCRIPTS") else claude / "loop-claude-transcripts",
claude_json=home / ".claude.json",
code=home / "code",
model_catalog=claude / "cache" / "model-catalog",
models_file=claude / "loop-claude-models.json",
projects=claude / "projects",
**locations(home),
)