Skip to content

v0.13.0

Choose a tag to compare

@macintacos macintacos released this 27 Aug 02:41
· 329 commits to main since this release
Immutable release. Only release title and notes can be modified.
dd36a09

caret 0.13.0 adds completion to every feedback editor: @ offers the files under the review's working directory, / offers the skills the review's own agent can load, and Ctrl+Space opens a preview of the highlighted row — a file's cited lines, syntax-coloured, or a skill's description. It also chips the references a comment already holds, so a run caret can resolve wears a pill and one it cannot stays prose.

Added

  • @ in a feedback editor completes file paths under the review's working directory, fuzzy-matched by the daemon and inserted as a cwd-relative path. A :42 citation after the query splits off, rides into what gets inserted, and opens the preview on that line.
  • / completes the skill names the review's agent would load — Claude's user, project and plugin roots, or OpenCode's command directories — each row labelled with its origin.
  • Ctrl+Space previews the highlighted completion in a panel beside the list: a file's lines through the plan view's own shiki themes, or a skill's description. The toggle persists, and the panel places itself against the list every frame — beside it, flipped, or stacked.
  • References a feedback editor recognizes are chipped as you type, using the same resolution the plan view and the / source already use.
  • Two daemon routes behind the new sources: POST /api/reviews/:id/file-search and GET /api/reviews/:id/skills / :id/skill-description, each 404ing when no capability is wired.
  • listSkills and readSkillDescription join the adapter interface as its sixth and seventh surfaces.

Changed

  • The completion list and preview panel wear caret's own chrome — raised paper, hairline rule, chip lift, the accent's wash on the selected row — instead of CodeMirror's stock grey panel, which under a dark scheme painted white on white.
  • Matched characters are emphasised in @ rows with --mark, so a subsequence match says why the row is in the list.
  • Escape is keyed on a painted list rather than on completion status, so a dismissed list no longer closes the composer under it.

Fixed

  • A plugin installed against another project no longer shadows the install the review can actually reach, which offered skills the reviewing agent would never load.
  • One daemon hiccup on the first / keystroke no longer disables skill completion for the rest of the tab's life; a transient failure now evicts its cache entry while a settled 404 stays cached.
  • A reference ending a sentence, a `constructor` codespan, and a chipped codespan's doubled pill are all handled; a CRLF skill file no longer reports having no description.
  • A lone annotation card is keyed on its comment's id, so a review switch that lands a different comment on the same line no longer reuses the previous card's open editor.
  • Backspacing off a typo re-arms the completion source instead of leaving the list shut for the rest of the token.
  • The e2e suite waits out the renderer's keyboard handover before its first keystroke, which was reddening a different unrelated typing spec on every run.