diff --git a/bin/loop_claude/claude_code.py b/bin/loop_claude/claude_code.py index 0cba4f73..7c0aaea6 100644 --- a/bin/loop_claude/claude_code.py +++ b/bin/loop_claude/claude_code.py @@ -20,7 +20,8 @@ class UserEntryKind(enum.Enum): def locations(home): - return {"claude_json": home / ".claude.json", "model_catalog": home / ".claude" / "cache" / "model-catalog", "projects": home / ".claude" / "projects"} + """~/.claude.json, the model catalog folder and the projects folder.""" + return home / ".claude.json", home / ".claude" / "cache" / "model-catalog", home / ".claude" / "projects" # /-home-me-code-log/.jsonl diff --git a/bin/loop_claude/paths.py b/bin/loop_claude/paths.py index ee6ef17e..7f42eabe 100644 --- a/bin/loop_claude/paths.py +++ b/bin/loop_claude/paths.py @@ -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, )