Keep loop-claude's rendering out of the adapter and Claude Code's locations in it
This commit is contained in:
@@ -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),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user