Skip to content

Refined Chat v0.4.0

Choose a tag to compare

@GenoDevelop GenoDevelop released this 31 Oct 21:07
· 24 commits to main since this release
6eff4bd

Added

  • "Reply line spacing": a percentage (80% to 200%, default 100%) that sets the height of each line in assistant replies, apart from the text size. Body text, lists, tables and headings follow it; the gaps between blocks, tool cards and code do not.
  • "Let Paseo fold tool calls and turns" (off by default). Paseo's Chat display can fold tool calls into one row, or a whole turn into its reply, but only for rows it draws itself, and this plugin replaces them with its own. With the setting on and Chat display set to Collapse tool calls, tool calls and reasoning are left to Paseo; with Collapse turns, prompts and replies are too. Rows are drawn once when they load, so after changing either setting reload the plugin or restart the app.
  • Links in replies show where they go and look like links in Codex: an icon before the text (GitHub, mail or web), a dashed underline on hover, and the full address in a bubble above the link on hover. When the text reads as an address that differs from the real target, the icon turns into an amber warning and the bubble names both. File paths and links on tool cards get the same hover underline. Web and desktop only; a touch screen keeps its permanent underline.
  • A command card (shell, git) says what the command did on the right of its header, folded or open: what git changed (+53 −0), how many lines the command printed (8 lines), or no output. A failed call keeps its exit code and a call that wrote to stderr shows none.
  • Long prompts fold in the prompt bubble: past "Long prompts" lines (default 15, 0 never folds) a prompt shows its first rows behind a "Show full prompt" control. A long paragraph with no line breaks counts by about 70 characters a line. Copy still copies the whole prompt, and the find bar opens a folded prompt that holds the search.
  • Code blocks in replies fold under the existing "Long code and diffs" limit, with the same "Show N more lines" control as tool cards.
  • Choose which cards fold and when. "Cards to collapse when finished" picks the kinds (Shell and Git, Writes, Edits, Reads, Other tools, Thinking) that fold back up once they finish; a thinking stream stays open while it streams, then folds. "Cards that start collapsed" picks the kinds drawn folded from the start, even while running and when the call fails. "Collapse length" keeps a tool card open while its output, code and diff total fewer lines than the limit. An ask card never folds, and a card you opened or closed yourself keeps its state.
  • Custom colours. The accent setting is a switch (off follows the Paseo theme) and ends in a Custom chip with a hue strip and a hex field, and a new Bold colour setting tints bold text in replies (off by default, then a palette colour or a custom hex). Accent, bold text and marks share one palette (soft pastels: Rose, Orange, Yellow, Green, Sky, Violet, a step deeper on light themes), so a name is the same colour everywhere, and each remembers its own custom hex when you switch to a preset and back. Saved Jade, Amber and Blue map to Green, Yellow and Sky. Adapted from the open upstream PR #7.
  • Highlight marks: ==text== in a reply draws as a highlighter mark. Off by default, since it is not standard markdown and the assistant writes it only when asked. The colour comes from the shared palette or a custom hex. Adapted from the open upstream PR #6.

Changed

  • The size of an edit, write or read (+X −Y, N lines, lines A–B) moved from beside the title to the right of the header, with the new command summary, so every card keeps its measurements in one place and a long file path no longer pushes them out.
  • "Cards to collapse when finished" replaces the "Auto-collapse tools" switch (no kind selected means no folding), and "Cards that start collapsed" replaces "Collapse thinking" and covers tool cards too. Saved settings carry over: switch on selects every kind, "Collapse thinking" on selects Thinking.
  • The settings page is grouped into collapsible sections (Appearance, Text size and spacing, Replies and prompts, Tool card folding, Long content, Advanced), with the open state remembered on the client. Each fold limit is now a switch with a number field that appears when it is on, instead of a number where 0 means off; saved values carry over. "Collapse length" became "Only fold longer cards". A kind chosen in "Cards that start collapsed" is dimmed in "Cards to collapse when finished", and the length limit dims when no kind is left to fold.
  • The README is rewritten around the settings page and what the plugin does today, with new screenshots; OVERVIEW.md follows it.

Fixed

  • The Bash and Rust file marks, drawn in black or near black, were nearly invisible on a dark card. They now take the text colour, like the Markdown mark.
  • A link whose text is a file name (tool-collapse.ts, README.md) no longer shows the amber warning: its extension looked like a domain that differed from the link target.
  • A failed edit or write no longer shows a +X -Y count in its header, and a failed edit labels its diff as not applied, since nothing changed on disk.

Full history: CHANGELOG.md