Files
strata-ctl/web
adm 5117ecad7a feat(agent): tools on by default, personal-folder cwd, streamed final answer
- GUI: agent mode (tools) enabled by default; the 🤖 toggle still turns it off.
- shell_exec defaults to the session's personal folder (~/.strata-ctl/sessions/<name>)
  when the model omits cwd, so the agent's home base matches its identity reminder;
  full host access retained (cd / absolute paths). run_loop gains a LoopContext
  (runner/store/default_cwd/max_iters/progress) to stay within the arg-count lint.
- Agent final answer now streams live: the model step uses service.stream, emits
  AgentEvent::Delta (reasoning + content) while generating, and returns the
  accumulated response for tool detection + persistence. The GUI renders a live
  assistant bubble (thinking auto-opens, folds when the answer starts) instead of
  receiving the whole final answer at once.
- Verified live: 76 delta events over 10.75s, pwd -> sessions/<name>, correct answer.
- 122 tests + 2 ignored; clippy/fmt clean.
2026-11-25 17:01:06 +01:00
..