Repository navigation
Sonny: clickable link text and file paths, Ctrl-H, room around staged messages - #230
Conversation
… messages - A markdown link's underlined text is now a link too, not just the address drawn after it in brackets. Paths of files that exist (relative to the agent's folder, absolute, or under ~/, with :LINE or #L after them) open as file:// links. - Ctrl-H (0x08) deletes like Backspace, in the composer and pickers. - Each staged queued or steered message has a blank row above it, as in the history, and the last one a blank row before the status row. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGDNh4a2FzyND7nayar
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Both new screenshots retain the capture environment's workspace path in the footer, including its UUID and scratchpad/live/ws suffix. Although the conversation content is scripted, these are still machine paths in tracked documentation, which AGENTS.md explicitly requires keeping in ignored local captures. Replace the footer with a synthetic workspace path or crop it out in both images before tracking them.
AGENTS.md reference: AGENTS.md:L63-L64
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGDNh4a2FzyND7nayar
|
Both screenshots now show a synthetic folder ( @codex review Generated by Claude Code |
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
…thout a force push Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGDNh4a2FzyND7nayar
Three fixes from day-two use of Sonny.
Links you can click, and files
A markdown link
[text](url)was drawn as underlinedtextfollowed by a dim(url). Only the address in brackets was an OSC 8 hyperlink (#179), so clicking the underlined text, which looks like the link, did nothing. Now:file://link. It can be relative to the agent's folder (a task's own copy for a task), absolute, or under~/. A trailing:LINE,:LINE:COLor#L…is allowed, as models cite code.[main](src/main.rs)links both its text and its path. Words that aren't paths on disk (e.g.,0.4.1,.., a path that's gone) stay plain.In the screenshot, each dotted underline is a hyperlink:
PR #231and its address,links.rsand its path,sonny/src/main.rs:3587(inline code), andhttps://herdr.dev/docs.In Herdr, use Ctrl-click. Herdr 0.9.5 opens a link under a Ctrl-click and passes OSC 8 links through to its own grid, but it opens only
http(s)links itself (safe_web_urlin itssrc/app/actions.rs). So in Herdr, file links open only if the outer terminal handles the click (Cmd-click in Ghostty, if it gets through Herdr's mouse capture). A Herdr plugin can take over link clicks, which could open files in Herdr. That's a follow-up.Ctrl-H deletes
Terminals send Ctrl-H as
0x08, which crossterm reads as Ctrl +h. Nothing handled that, so it did nothing. It now deletes like Backspace everywhere Sonny reads keys: the composer, the command menu and the pickers.Room around staged messages
A message sent while the agent works (queued or steered) showed right under the streaming reply and right above the status row, with no space. Each staged message now has a blank row above it, as it will have in the history once it lands, and the last one has a blank row under it.
Before:
After:
Testing
a_markdown_links_text_opens_its_address(text and address on one row, and both wrapped over four rows),a_path_that_is_there_opens_as_a_file(inline code with:LINE:COL, a markdown file link, an absolute path with#L4, words that aren't paths, a space percent-encoded), andctrl_h_deletes_as_backspace_does(composer, and with the command menu open). The staged-row tests are updated for the blank rows.cargo test -p sonny --bin sonny: 208 passed.cargo clippy -p sonny --all-targets -- -D warningsandcargo fmtare clean.script. The raw output has OSC 8 links for the link text, its address, both file paths and the bare address, pointing at the rightfile://paths. The screenshots are that output rendered by xterm.js.