Skip to content

v1.4.0

Choose a tag to compare

@macintacos macintacos released this 17 Oct 21:09
Immutable release. Only release title and notes can be modified.
41fff19

caret 1.4.0 adds a markdown preview: press Preview or p to read the plan as a rendered document, and comment, search and move the cursor in it the same way as in the source view. It also changes how comments reach the agent: they cite line numbers without quoting the plan when the agent has the same copy of it.

Added

  • A markdown preview of the plan. The Preview button beside Versions, or p, switches between the line-numbered source view and the rendered plan, and the browser remembers the choice. Switching keeps your place in either direction. Compare mode always shows source and brings the preview back when it closes.
  • The preview reads like a GitHub README, in the active theme's colors. Code blocks are highlighted for their language and have the source view's copy button and wrap toggle. A table's header stays at the top of the view while its rows scroll under it. Raw HTML in a plan is sanitized, and tags that would load a resource or navigate somewhere render as text.
  • Commenting in the preview. A click or drag selects whole rows and opens the composer under the last row, on every source line those rows came from, so the agent receives the same comment it would get from the source view. Saved threads and drafts show under their rows, and hovering a comment highlights its text.
  • The keyboard works in the preview. j/k, gg/G, Ctrl+d/Ctrl+u, {/} and ]]/[[ move a cursor through wrapped lines; V selects lines and c comments on them. / search matches the text as you read it, so a phrase that wraps across two source lines counts as one match, while link URLs and markdown syntax never match.
  • File references, the contents popup, breadcrumbs, b, \ and ?heading= links all work in the preview.
  • Settings → Appearance → Preview → Base font size sets the preview's text size from 12 to 20px (15px by default). The preview's column keeps the same words on each row at any zoom level, and scrolls sideways when the window is too narrow for it.

Changed

  • When the agent has the same copy of the plan as caret, line for line, review feedback cites only line numbers. The plan text is quoted only when the agent's copy may be numbered differently.
  • In the source view, the pointer cursor shows over plan text. Holding Shift switches to the text cursor for selecting text, and a Shift-click opens no composer.

Full Changelog: v1.3.2...v1.4.0