Repository navigation
v1.2.0
Immutable
release. Only release title and notes can be modified.
caret 1.2.0 lets you review plans from another device: set host and hostnames in config.toml's [daemon] table, then open the link caret login-link prints once on each phone, tablet or computer. It also keeps comments and key order when caret install edits a hand-written OpenCode config, and gives plan sessions started outside OpenCode's TUI the same steer and daemon warm as the TUI's.
Added
- The review UI can be reached from other devices. Three new
[daemon]keys inconfig.tomlset the address the daemon binds (host), the names it answers to (hostnames, on any port and over HTTPS), and whether it asks for a token (auth). Reaching caret from another device walks through the setup, including running behind an HTTPS reverse proxy. - Token auth for the daemon. It turns on when
hostis exposed orauth = "token". Opening the login link once sets a cookie that keeps the device logged in, markedSecurebehind an HTTPS proxy.caret serveprints the link on every start, and the newcaret login-linkprints it for the service's daemon. Review links use the firsthostnamesentry. With nohostset, caret behaves as before and never asks for a token. caret doctorhas anopencode-hostcheck. It lists everyopencodeon yourPATHand fails when OpenCode is older than 1.3.4, the oldest version caret supports, or when caret sits in a config file or key your OpenCode doesn't load, namingcaret installas the fix.
Fixed
- Changing
daemon.portordaemon.hostno longer leaves a second daemon running beside the first. The next review restarts the service, or retires an on-demand daemon left on the old address, before it starts one, and a review left open follows the daemon to its new address. - On OpenCode, a
plansession started without naming an agent —opencode runwithout--agent, the SDK, or a web client — now gets caret's planning steer and daemon warm, as sessions started from the TUI do. - Interrupting OpenCode during a caret review stops the review and shows a "caret: review cancelled" toast instead of reporting that changes were requested.
caret installand--uninstallkeep the comments, indentation and line endings of a hand-written OpenCode config, leave caret's entry in its slot in the plugin array, and refuse a config that lists the plugin key twice instead of writing a broken edit.caret installwrites caret into the one global OpenCode config file your OpenCode loads and removes it from the others, so OpenCode never sees two caret entries.--dry-runlists every file it would change, and a config that fails to parse stops install before it writes anything.caret installrecognises afile:OpenCode entry naming a packed caret tarball (macintacos-caret-<version>.tgz) as caret's own, so it replaces it instead of adding a second caret entry. Uninstall andcaret doctorsee it too.
Security
- An invalid
config.tomlnow leaves the daemon on loopback with token auth on, instead of falling back to no auth.caret login-linkprints the link to log in.
Full Changelog: v1.1.1...v1.2.0