Name the session, the archive folder and its env var loop-claude
This commit is contained in:
+4
-4
@@ -15,9 +15,9 @@ Exit 2: the human is needed and stdin or stdout is not a terminal, or the interr
|
||||
them typing anything. Rerunning resumes the session after either exit. Before an interrupt every
|
||||
worktree is marked trusted in ~/.claude.json.
|
||||
|
||||
Each project has one session, "A <path> auto-mode", <path> being the checkout relative to ~/code,
|
||||
Each project has one session, "A <path> loop-claude", <path> being the checkout relative to ~/code,
|
||||
or to / outside it, deleted when the chunk finishes. Its transcript is archived under
|
||||
$AUTO_MODE_TRANSCRIPTS (default ~/.claude/auto-mode-transcripts/<path>/) whenever the human is asked
|
||||
$LOOP_CLAUDE_TRANSCRIPTS (default ~/.claude/loop-claude-transcripts/<path>/) whenever the human is asked
|
||||
and when the chunk finishes.
|
||||
JUDGE_MODEL and WORKER_MODEL override the model the project's Claude Code settings pick. A change to
|
||||
this file takes effect at the next cycle boundary, once the new file answers --help.
|
||||
@@ -42,7 +42,7 @@ import sys
|
||||
import time
|
||||
import uuid
|
||||
|
||||
ARCHIVE = os.path.expanduser(os.environ.get("AUTO_MODE_TRANSCRIPTS", "~/.claude/auto-mode-transcripts"))
|
||||
ARCHIVE = os.path.expanduser(os.environ.get("LOOP_CLAUDE_TRANSCRIPTS", "~/.claude/loop-claude-transcripts"))
|
||||
RELOAD_BASELINE = open(__file__, encoding="utf-8").read()
|
||||
RELOAD_CYCLE = "LOOP_CLAUDE_CYCLE"
|
||||
RELOAD_FAILURES = "LOOP_CLAUDE_FAILURES"
|
||||
@@ -110,7 +110,7 @@ def project():
|
||||
|
||||
|
||||
def session_name():
|
||||
return f"A {project()} auto-mode"
|
||||
return f"A {project()} loop-claude"
|
||||
|
||||
|
||||
def session_file(session_id):
|
||||
|
||||
Reference in New Issue
Block a user