Commit Graph
4 Commits
Author SHA1 Message Date
harry d133839194 Add task sidebar workflow 2026-06-24 12:28:56 +01:00
harry 45263d59f8 aggressive token saving attempts 2026-05-29 14:23:09 +01:00
harry 53f06b604f Normalize whitespace in grid get_process_output to save tokens
Grid snapshots pad every row to the full terminal width and leave the
bottom of the screen blank, so MCP grid reads carried a lot of dead
whitespace. Add normalizeGridText (CRLF/lone-CR to LF, right-trim each
line, collapse blank runs to a single blank, drop leading/trailing
blanks) and apply it to the grid branch of GetProcessOutput only.
Stream output, raw output, and WaitForPattern matching are untouched.

Resolves the terminal-read newline/token-waste TODO item.
2026-05-25 12:33:59 +01:00
harry 0d578d54f1 wip 2026-05-15 00:28:06 +01:00