chat: a message that is only a fold does not begin with an empty line #65

Merged
mikluko merged 1 commit from fold-plain-body into main 2026-11-16 08:50:58 +00:00
Owner

The thoughts of an agent are a notice with no words of its own and a fold, 💭 Thinking. render made its plain text "" + "\n" + text and its HTML <p></p> before the <details>. A client that shows the plain text shows the thought open, after an empty line (" ⏎ Mars."); an HTML client shows an empty paragraph above the fold. The plain text of a fold-only message now begins with the fold's summary, and its HTML with the fold.

This is the whole of what I can show of goose's thoughts: agent_thought_chunk takes the fold path in the renderer (update, endThoughts), and a notice with no body is that path's own; I have not seen goose's frames. If the room shows a goose thought as an ordinary answer, the frame is not agent_thought_chunk; the transcript's raw ndjson of the session will say which.

The thoughts of an agent are a notice with no words of its own and a fold, `💭 Thinking`. `render` made its plain text `"" + "\n" + text` and its HTML `<p></p>` before the `<details>`. A client that shows the plain text shows the thought open, after an empty line (" ⏎ Mars."); an HTML client shows an empty paragraph above the fold. The plain text of a fold-only message now begins with the fold's summary, and its HTML with the fold. This is the whole of what I can show of goose's thoughts: `agent_thought_chunk` takes the fold path in the renderer (`update`, `endThoughts`), and a notice with no body is that path's own; I have not seen goose's frames. If the room shows a goose thought as an ordinary answer, the frame is not `agent_thought_chunk`; the transcript's raw ndjson of the session will say which.
chat: a message that is only a fold does not begin with an empty line
All checks were successful
test / changelog (pull_request) Successful in 6s
image / image (pull_request) Successful in 16s
test / go (pull_request) Successful in 40s
582075a9df
Assisted-By: Claude <noreply@anthropic.com>
mikluko deleted branch fold-plain-body 2026-11-16 08:50:59 +00:00
Commenting is not possible because the repository is archived.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mikluko/roomcity!65
No description provided.