omp packages

@phongndo/yin0.5.8

Review your coding agent's changes in the browser.

phongndo Published 1 day ago MIT ~1.2K downloads/mo

Built for omp

The author tagged this package oh-my-pi.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

Yin

Review your coding agent's changes in the browser, the way you'd review a pull request. Comment on lines, press Finish, and the agent gets your comments.

A Yin review with a comment on a line

Yin only reads your repository. It never writes to it.

Install

npx -y @phongndo/yin install

Or without Node:

curl -fsSL https://github.com/phongndo/yin/releases/latest/download/install.sh | sh

This finds the supported agents on your machine and asks which of them should get /yin. Pick none to use Yin on its own. Restart any open agent sessions afterwards. Yin runs on macOS and Linux.

Other ways to install
mise use -g github:phongndo/yin && mise exec -- yin install
brew install phongndo/tap/yin && "$(brew --prefix)/bin/yin" install
nix profile add github:phongndo/yin && ~/.nix-profile/bin/yin install

Use

  1. Ask your agent to make a change.
  2. Type /yin ($yin in Codex). A review opens in your browser.
  3. Comment on lines, files, or the change as a whole.
  4. Press Finish (⌘↵). Your comments go to the agent, and the tab closes.

Type /yin again after the agent makes its fixes. If everything looks good, press Finish without commenting.

The review shows what a pull request would: your branch's commits plus any uncommitted and untracked files. Press ⌘O to review something else: only uncommitted or staged changes, a range of commits, or an open pull request.

Or say what to review when you open it, in any agent:

Command Reviews
/yin uncommitted Only what isn't committed (staged too)
/yin last 2 The last two commits
/yin commit <rev> One commit
/yin pr 42 Pull request #42 (or GitLab merge request)
/yin base <ref> The change against another branch
/yin ../other Another repository

/yin help lists them all. A folder with one of these names is ./name.

Without an agent

Run yin in a repository to review it yourself. When you press Finish, your comments print in the terminal as Markdown, ready to paste into any agent or chat. Add --copy to copy them to the clipboard as well. Over SSH, this uses your terminal's clipboard. yin --help lists the other options, such as --base main and --uncommitted.

Yin reads Git and Jujutsu repositories, colocated or not. In a Jujutsu one, "uncommitted" is the working copy, and there is no staging area. Pull requests come from GitHub through gh, and merge requests from GitLab through glab.

Supported agents

Agent Command
Claude Code, Pi, Oh My Pi, OpenCode 2, Amp, Hermes /yin
Codex $yin

Run yin install after adding an agent. To skip the questions, name the agents instead: --only claude,codex, --with pi or --without hermes.

Every agent opens the review without a model turn: /yin runs Yin beside the session, and your comments arrive as your next message. In Codex a prompt hook does this, so $yin works only once you trust the hook when Codex asks.

In Hermes, run hermes plugins enable yin once (and set plugins.entries.yin.allow_gateway_injection: true in ~/.hermes/config.yaml for TUI, Desktop, or messaging sessions). In messaging apps, open reviews in a direct message so only you receive the link.

Settings and shortcuts

Press ⌘K (Ctrl+K off a Mac) for the command palette: every file, comment, command, and setting, including themes and keyboard shortcuts.

Review from another device

If the machine running your agent is signed in to Tailscale, the link Yin prints also opens on your other devices on the same tailnet, such as your laptop or phone. This is handy when your agent runs on a remote server.

Treat the link like a password. Pass --local (or set YIN_REMOTE=0) to keep the review on the machine itself.

Update and uninstall

Run yin update to update Yin however you installed it, or yin update --check to see if a new version is out. Updates keep the agents you picked. yin status shows what is installed where, and yin uninstall removes it. Run yin --help for all commands.

Contributing

See CONTRIBUTING.md.

License

Yin is MIT-licensed. Bundled dependencies and themes keep their own licenses; release archives include them in THIRD_PARTY_NOTICES.md.