mirror of
https://github.com/backnotprop/plannotator.git
synced 2026-09-14 14:17:26 +08:00
26681abb8c
The Approve with Notes flow (#1092) emits decision:"approved" with a feedback field, but both adapters collapsed every approved decision to a bare "Approved." -- the reviewer's notes were silently lost. Amp had two drop sites: formatAnnotationFeedback returned null for anything not "annotated", and handleAnnotateResult early-returned on approved before formatting was ever reached. Droid's emitAnnotateDecision printed only "Approved." Both adapters now emit the shared approved-with-notes prompt (mirroring DEFAULT_ANNOTATE_APPROVED_WITH_NOTES_PROMPT in packages/shared/prompts.ts); note-less approvals keep the old behavior. The amp config override key approvedWithNotes matches the shared prompt config shape. Fixes #1137
Plannotator for Droid
Plannotator's Droid plugin ships the manual slash-command workflow only:
/plannotator-review [PR_URL](no args reviews local changes)/plannotator-annotate <file|folder|url>/plannotator-last
It does not attempt plan-mode interception or host-level planning integration.
Install
Install the plannotator CLI first:
curl -fsSL https://plannotator.ai/install.sh | bash
Then add the marketplace and install the plugin:
droid plugin marketplace add https://github.com/backnotprop/plannotator
droid plugin install plannotator@plannotator
For local development:
cd /path/to/plannotator
droid plugin marketplace add "$PWD"
droid plugin install plannotator@plannotator
Notes
- The plugin expects
plannotatoronPATH. - Review and annotate flows still open the Plannotator browser UI and return the result to the Droid session.
- The command wrappers set
PLANNOTATOR_ORIGIN=droidso the UI can label the host correctly.