Files
loki/scripts
CatoandClaude 3450776b41 fix(watch): while the agent works, say what it is doing in one line; fold the screen (#976)
George, 2026-09-29: the Watch chat should read with the ease of Claude,
ChatGPT or Grok. While an agent worked, Watch showed a black box of 10px
white monospace, the terminal itself, under the typing dots. Those apps show
ONE live step in words and fold the detail behind a tap.

- latestActivityLine (lib/project-watch) reads the tail bottom-up for what
  the agent is doing ("Writing the lease checker…"), dropping spinner glyphs,
  "(34s · esc to interrupt)" suffixes, the input box and key-hint banners.
- It replaces the generic phase label beside the typing dots.
- The raw screen folds behind "Show screen" (ScreenFold), drawn on the
  raised surface in readable text instead of a black block.

Tests: project-watch now 8 cases (the live line is the work, not the CLI
around it; chrome alone yields nothing).


Claude-Session: https://claude.ai/code/session_016aYbEpWEk7bkf1qt44Xtbh

Co-authored-by: Claude <noreply@anthropic.com>
2026-09-29 01:59:40 -07:00
..
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00