mirror of
https://github.com/backnotprop/plannotator.git
synced 2026-09-14 14:17:26 +08:00
afdc6f214e
* docs: add /plannotator-last to READMEs and marketing docs * feat: add /plannotator-last to install scripts * fix: sync review command wording in install scripts with plugin The plugin's plannotator-review.md was updated in #293 to handle LGTM approvals but the install scripts still had the old wording.
Plannotator for Codex
Code review and markdown annotation are supported today. Plan mode is not yet supported — it requires hooks to intercept the agent's plan submission, which Codex does not currently expose.
Install
macOS / Linux / WSL:
curl -fsSL https://plannotator.ai/install.sh | bash
Windows PowerShell:
irm https://plannotator.ai/install.ps1 | iex
Usage
Code Review
Run !plannotator review to open the code review UI for your current changes:
!plannotator review
This captures your git diff, opens a browser with the review UI, and waits for your feedback. When you submit annotations, the feedback is printed to stdout.
Annotate Markdown
Run !plannotator annotate to annotate any markdown file:
!plannotator annotate path/to/file.md
Annotate Last Message
Run !plannotator last to annotate the agent's most recent response:
!plannotator last
The message opens in the annotation UI where you can highlight text, add comments, and send structured feedback back to the agent.
Environment Variables
| Variable | Description |
|---|---|
PLANNOTATOR_REMOTE |
Set to 1 for remote mode (devcontainer, SSH). Uses fixed port and skips browser open. |
PLANNOTATOR_PORT |
Fixed port to use. Default: random locally, 19432 for remote sessions. |
PLANNOTATOR_BROWSER |
Custom browser to open. macOS: app name or path. Linux/Windows: executable path. |