Name the project once in main, and give the archive its own module
This commit is contained in:
@@ -5,7 +5,6 @@ import shutil
|
||||
import sys
|
||||
import uuid
|
||||
|
||||
from loop_claude.project.checkout import project_name
|
||||
from loop_claude.claude_code.formats import session_files, transcript_path
|
||||
|
||||
NAMESPACE = uuid.UUID("64fb586b-d926-4bb3-a44c-c903e86d3eec")
|
||||
@@ -18,10 +17,10 @@ class Session:
|
||||
projects: pathlib.Path
|
||||
|
||||
|
||||
def session_for(root, paths):
|
||||
def session_for(project, paths):
|
||||
"""Exists while its transcript does."""
|
||||
# "A " is the human's cue in the session picker that the session is the loop's.
|
||||
name = f"A {project_name(root, paths.code)} loop-claude"
|
||||
name = f"A {project} loop-claude"
|
||||
return Session(uuid.uuid5(NAMESPACE, name), name, paths.projects)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user