Repository navigation
v1.8.0
Immutable
release. Only release title and notes can be modified.
caret 1.8.0 adds Approve & build for OpenCode v2, which approves a plan and switches the session from plan to build in the same turn, and lets you open a waiting plan from inside OpenCode: /caret, ctrl+x p, a card above the prompt, or the review toasts. It also rewraps the plan preview to fit a narrowed pane instead of scrolling it sideways, and raises the OpenCode v2 floor to 2.0.29.
Added
- Approve & build on OpenCode v2. A review sent from v2's
planagent offers a second approve option, Approve & build, which approves the plan and switches the session to thebuildagent, so implementation starts in the same turn. Plain Approve stays the default and leaves the session inplan; once you pick Approve & build, the browser remembers it for later v2 reviews. If the switch fails, the plan stays approved and the agent is told the session is still inplan. OpenCode v1 reviews, and v2 reviews from any other agent, show a single Approve. - Open the waiting plan from OpenCode v2.
/caret, a command-palette entry, orctrl+x p(rebindable ascaret.open) opens the plan waiting in the current session in your browser, and the palette suggests it while a plan waits. Off a session it opens caret's home page. If caret can't start, a "caret: open failed" toast points atcaret doctor. - A pending-plan card above the prompt. On OpenCode v2, the session a plan waits in shows a card above its prompt,
^caret plan waiting for your review, with the open key and "open in browser" on the right. A click opens the review, and approving, denying or cancelling clears it. It takes its colours from the OpenCode theme, and other sessions show nothing. A terminal started or reattached after the plan arrived doesn't show it. - Toasts open the waiting session. On OpenCode v2, the "review this plan" toast and the decision toast after it offer to open the session the plan waits in when you're looking at a different one.
Changed
- The plan preview rewraps to fit. Beside a file docked on the right or in a narrow window, the preview's text rewraps to the pane instead of scrolling the plan sideways, and the line at the top stays put through a resize. Wide tables and code blocks still scroll in their own box, and comments stay on their lines.
- The outline column stays beside a docked file instead of folding away.
Shift+\and the header's outline button show or hide the column, and\focuses its filter, or opens the outline popup while the column is hidden or the window is under 960px. - OpenCode v2 needs 2.0.29 or later. On v2 2.0.18–2.0.28, caret still loads but refuses every
pathreview with a message naming 2.0.29, andcaret doctor'sopencode-hostcheck fails with an upgrade remedy. Inlineplanreviews still work. The v1 floor stays at 1.3.4. - Plan formatting uses rumdl 0.3.2, which caret downloads on first use after the upgrade. It keeps the indentation inside a multiline code span after a bare list marker, and may add a blank line between a heading and a list or code block directly under it.
Removed
- Compare's outline. Compare has no outline, so its changed-sections popup is gone and
\andShift+\do nothing there.
Full Changelog: v1.7.1...v1.8.0