You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
refactor(cli): one session turn runner for every face #428
"Run one turn for a session" is implemented six times — run_command, resume_command, chat_command (main.rs), run_mission (mission.rs), run_session_turn and resume_session_turn (session_host.rs) — and each copy implements a different subset:
So a session whose model was switched in ACP silently runs on the env model when resumed with tole resume / tole chat --resume, and new turn features have to land in three or more places (#377, #380, #209).
Plan (small PRs)
Session provider: one function builds the provider for a session turn — env config with one missing-config message, the session's fact/model override, tool specs, pinned system prompt, optional live-token sinks. All six sites use it (fixes the model override on CLI faces and the broken message).
Memory in/out: one place for pre-turn recall injection and post-turn remember.
Cancel + watcher: resume and chat get a cancel token (and the child sibling watcher), so the CLI faces settle as Cancelled like run does.
Activity
refactor(cli): one session provider for every face (#428, 1/3) (#430)
refactor(cli): one memory loop for every face (#428, 2/3) (#431)
fix(cli): resume and chat run their turns on a session token with the…