Declare LoopState beside decode_state, as the state a reload carries
This commit was merged in pull request #130.
This commit is contained in:
@@ -41,14 +41,7 @@ from loop_claude.outcome import Stop
|
||||
from loop_claude.project.checkout import checkout_root, project_name
|
||||
from loop_claude.project.models import project_models
|
||||
from loop_claude.project.premises import read_premises
|
||||
from loop_claude.reload import RELOAD_FLAG, decode_state, exec_if_edited, fingerprint
|
||||
|
||||
|
||||
@dataclasses.dataclass(frozen=True)
|
||||
class LoopState:
|
||||
cycle_number: int
|
||||
root: str
|
||||
task: str
|
||||
from loop_claude.reload import RELOAD_FLAG, LoopState, decode_state, exec_if_edited, fingerprint
|
||||
|
||||
|
||||
def main(argv, env, paths, launcher, cwd):
|
||||
|
||||
Reference in New Issue
Block a user