Skip to content

Print a run of tool calls as one block - #27

Merged
daniel-rossier merged 1 commit into
mainfrom
compact-tool-lines
Nov 20, 2026
Merged

daniel-rossier merged 1 commit into
mainfrom
compact-tool-lines

Conversation

@daniel-rossier

Copy link
Copy Markdown
Contributor

A coding turn printed four lines per tool call: a blank, the header, ⎿ ok, a blank. It now prints one line per call, nothing between them, and a result line only for what is not a plain success (refused, failed, non-zero exit). A blank line sets the answer apart.

⏺ Read(/home/me/tree/README.md)
⏺ Search(*  /home/me/tree)
⏺ Search(dbuild.sh  /home/me/tree)

⏺ This repository is …

Tried in a real session in the container against the inference host. Tests added. The suite passes except the two launcher tests that #26 fixes (they read the user's own configuration file).

Each call of a coding turn took four lines: a blank, its header, an "ok"
and another blank. A turn of ten calls scrolled forty lines to say that ten
things went as expected.

A run is now one line per call, with nothing between them. A result keeps
a line only when it is not a plain success: refused, failed, or a non-zero
exit status. A blank line closes the run before the answer.
@daniel-rossier
daniel-rossier merged commit d348549 into main Nov 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant