Repository navigation
v0.7.0
anchor 0.7.0 is about working in the full-screen terminal UI: pointing the model at files, seeing everything a tool did, getting text back out, and finding your way around a long session.
New
Attach files with @path. Mention a file or directory in a message, such as why does @src/parser.py reject @tests/bad.json?, and anchor hands its contents to the model with the message, so the model doesn't spend a step reading it. Files are read through the same gate as the model's own reads, so a secret file like .env is never attached. As you type after @, anchor suggests paths: the next level down from what you've typed, then files anywhere whose name starts with it. Ignored and secret files aren't suggested. Attachments also work in --plain, but not in -p.
See a tool's whole output with Ctrl+O. The conversation shows one line per tool call and at most 80 lines of a diff. Ctrl+O opens the latest tool result or approval diff in full, in place of the conversation. ←/→ step through the last 100, sub-agents included. It works while an approval is waiting, so you can read a long diff before you answer.
/copy a reply. /copy copies the last reply as the Markdown the model wrote. /copy code copies a code block from it, and lets you pick when there are several. It uses OSC 52, which works over SSH, and on your own machine also wl-copy, xclip, xsel, pbcopy or clip.exe.
Search. Ctrl+F finds text in the conversation and highlights every match; Enter steps back to older matches. Ctrl+R searches the messages you've sent and puts the chosen one back in the prompt. Ctrl+Home jumps to the top of the conversation.
Completion for command arguments. Suggestions now cover what commands take, such as /theme mono or /mcp login <server>, and every suggestion shows what it does.
A turn timer. The status line shows how long the running turn has taken: ⠼ working 1m12s.
The bell. If you haven't pressed a key or scrolled for 10 seconds, anchor rings the terminal bell when a turn ends or a question is waiting. Your terminal decides whether that's a sound, a flash or a mark on the tab. Set "bell": false in ~/.anchor/config.json to turn it off.
Changed
- Suggestions have their own list, above the prompt, in place of the editor's popup, which got clipped at the bottom of the screen. ↑/↓ choose, Tab or Enter takes the highlighted suggestion, and Esc hides the list. While the list is showing, Enter completes rather than sends; press Esc first to send what you typed as it is.
/helplists the new keys and@<path>.
Notes
- tmux: OSC 52 copying needs
set -g set-clipboard on. - Editing the draft in
$EDITOR(Ctrl+G) isn't in this release: Terminal.Gui has no public way to step aside for another program yet.
Upgrade
brew upgrade anchor # Homebrew
scoop update anchor # Scoop
curl -fsSL https://raw.githubusercontent.com/fuseraft/anchor/main/install.sh | bash # install scriptDocs: Using the REPL
Full Changelog: v0.6.0...v0.7.0