convez.ai
PluginDesenvolvimento WebIntermediário
imbgar

peaR — Centro de Controle de Review de PRs

imbgar/peaR

PRs como abas, terminais reais, sessões de review com IA resumíveis

Ver no GitHub
BomPluginScore · de 0 a 100

Terminal nativo para revisar pull requests com IA, onde cada PR é uma aba com terminal real. Suporta qualquer CLI de IA (Claude, Codex, Aider), sessões resumíveis, e painel de insights com diffs. Construído em Rust + Tauri com dois temas de produção (Phosphor e Instrument).

Instalação

$npx convez-ai imbgar/peaR

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
3
Forks
0
Acompanhando
0
Saúde
100%
Último commit
há 1 mês
Versão
v0.1.17
Issues abertas
11
Contribuidores
2

Casos de uso

  • Review de código assistido por IA mantendo histórico de conversas
  • Fluxo de trabalho local para análise profunda de mudanças
  • Integração com múltiplos CLIs de IA (Claude, Codex, Aider)

Veredito

Ferramenta especializada de alta qualidade que resolve o pain point real de revisar PRs com IA sem perder contexto. Arquitetura limpa (Rust + protocol) permite evolução para TUI/daemon. Requer macOS e setup técnico, mas entrega fluxo robusto para times que fazem review assistido.

README

A tradução para o português deste README ainda está na fila.

 peaR

A terminal-native PR review control center. Every pull request is a tab. Every tab is a real terminal running the AI CLI of your choice. Review with one keystroke, resume any past session, and keep your reviews close.

CI Release License: MIT Platform Built with Tauri

Tiled review panes, live diff with per-file summaries, a PR tree with review-status badges — in two built-in themes, Phosphor (amber CRT) and Instrument (refined industrial), toggled live.


Why peaR

Reviewing PRs with an AI CLI means a lot of gh pr checkout, juggling terminal panes, and losing the conversation the moment you close a tab. pear makes the PR the unit of work:

  • 🗂️ PRs as tabs — open owner/repo#123 (or paste a GitHub URL); pear finds the repo locally, checks out the branch, and drops you into a real terminal there.
  • 🤖 Bring your own CLI — claude, codex, aider, or a plain shell, per tab.
  • 🚀 One-keystroke reviews — Light / Standard / Complex launch buttons, plus a clearly marked Ultra 💸 for the paid cloud review. No hidden costs.
  • ↩️ Resumable sessions — every PR keeps a tree of Claude sessions; resume the exact chat you were in, or start a fresh one, from the history pane.
  • 🪟 Insight panel — render saved reviews (markdown / diff) beside the terminal.
  • 🎨 Two production themes — Phosphor (amber CRT) and Instrument (refined industrial), toggleable live.
  • 📋 Smart copy — capture review output to the system clipboard with an editable preview.
  • 🧩 Ships a review-skills plugin (Claude Code + Codex) — /pr-post-review, /pr-distill, /pr-walkthru, /pr-explain, /pr-video. See plugins/pear-review.

Architecture

pear is a small, fast Rust core (pear-core) behind a serializable Command/Event protocol, fronted today by a Tauri + xterm.js desktop app. The protocol boundary means a TUI or a daemon frontend can reuse everything below the IPC line unchanged.

apps/desktop   Tauri app — web UI (xterm.js) + thin Rust shim
crates/pear-core   engine · PTY sessions · GitHub · review store · dispatch · workdir
plugins/       pear-review plugin (Claude Code + Codex) with the /pr-* skills
docs/          ARCHITECTURE.md · ROADMAP.md · design snapshots & mocks

See docs/ARCHITECTURE.md for the locked decisions and branch paths, and docs/ROADMAP.md for what's shipped and what's next.

Install

Homebrew (macOS)

brew install --cask imbgar/tap/peaR

Unsigned build — on first launch, right-click the app → Open.

Prerequisites

  • macOS (Apple Silicon or Intel)
  • Rust ≥ 1.80, Node ≥ 20
  • GitHub CLI (gh) — pear reuses your gh auth for PR metadata
  • Your AI CLI of choice (e.g. Claude Code)

Run from source

git clone git@github.com:imbgar/peaR.git
cd pear/apps/desktop
npm install
npm run tauri dev

Build a release bundle (.dmg / .app)

cd apps/desktop
npm install
npm run tauri build      # universal binary configured via tauri.conf.json

Configuration

pear reads a few optional environment variables:

VariablePurpose
PEAR_REPO_DIRSColon-separated dirs to search for PR repos (default: ~/repos, ~/projects, ~/src, …). If a PR's repo isn't found in any of them, pear auto-clones it into a managed repos/ dir under the data dir — no manual setup needed.
PEAR_DATA_DIROverride where history + reviews are stored (default: OS data dir)
PEAR_GITHUB_TOKEN / GITHUB_TOKENGitHub token (otherwise sourced from gh auth token)

Claude permission mode (per the sidebar selector): auto · acceptEdits · dontAsk · bypassPermissions 🚨 · default · plan.

Contributing

PRs welcome — see CONTRIBUTING.md and our Code of Conduct. The core is test-covered (cargo test -p pear-core); please keep it that way.

License

MIT © pear contributors

Ver o original no GitHub

Bom para

Relacionados