Add standalone PR Beacon plugin with agent summaries and approval - #99
Closed
bostonaholic wants to merge 7 commits into
Closed
bostonaholic wants to merge 7 commits into
bostonaholic wants to merge 7 commits into
Conversation
Review GitHub queues and commit-specific diffs in Buzz, request summaries from a selected agent, and approve only the reviewed head. Include portable source, regression tests, and an installable example bundle. Co-authored-by: Claude <noreply@anthropic.com> Signed-off-by: Codex <codex@openai.com>
Refresh idle agent libraries and subscribe to updates so summary selection does not require visiting Buzz's Agents page first. Show loading and retry states, and verify listener cleanup with a cold-library fixture. Co-authored-by: Claude <noreply@anthropic.com> Signed-off-by: Codex <codex@openai.com>
Contributor
Author
|
@codex review |
Group review metadata, agent replies, diffs, and approval controls. Add scoped responsive styles that follow Buzz appearance and text size. Signed-off-by: Codex <codex@openai.com>
Signed-off-by: Codex <codex@openai.com>
Signed-off-by: Codex <codex@openai.com>
Signed-off-by: Codex <codex@openai.com>
Signed-off-by: Codex <codex@openai.com>
Contributor
Author
|
🤖 PR Beacon development moved to the private PR Beacon repository. Closing this PR as requested; installation and development instructions are in the new repository. The standalone repository now uses the separate, unpublished |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moved to a separate repository
Development continues in the private PR Beacon repository. Closing this PR because the plugin is now maintained there.
The standalone repository now uses the separate, unpublished
ctx.agentRequestshost API. That host change remains required; the repository README describes the current setup. The shared-channel setup below describes the historical PR implementation.The original description and demonstration media are preserved below for reference.
Adds a standalone PR Beacon example for reviewing GitHub pull requests from Buzz. Users can filter their pull requests using colored status counts, highlight requested reviews, hide or restore entries, refresh cached queues, open a PR on GitHub, inspect commit-specific diffs, request a summary from an existing Buzz agent, and approve the reviewed commit.
The review queue separates titles from repository and author details. Your pull requests includes clickable counts for Ready to merge, Checks failing, Feedback, Waiting, Draft, and Unresolved, plus All. Filters reuse cached data and retain selection through refresh, tab changes, and PR visits. The review view groups agent replies, colored diffs, and approval controls. Layouts support narrow windows, Buzz’s light/dark appearance, and text-size settings.
Settings now explains how to create a GitHub token and select repository permissions, checks the token before opening reviews, and distinguishes required GitHub access from optional highlighting and agent summaries. Invalid tokens stay on the form with an error. Import
examples/plugins/pr-beaconagain to update an installed copy; Buzz does not watch the folder.Both queues retain results across tabs, PR visits, and page reopening, and show when their last successful fetch completed beside Refresh. Refresh keeps the previous list visible and preserves it if the request fails. Results stay in memory and clear on disconnect, token change, plugin disable, or Buzz reload.
Includes source, focused tests, a standalone build recipe, and a ready-to-install bundle under
examples/plugins/pr-beacon/. Uses the public author API; no host changes.The GitHub token stays in memory until the plugin is disabled or Buzz reloads. Summaries require an existing configured Buzz agent. Requests require an explicitly selected agent and channel; the UI identifies the destination and any omitted diff content before sending. An agent response never submits an approval. Non-secret preferences use origin-scoped localStorage and survive uninstall.
Install and try it
examples/plugins/pr-beaconfrom that checkout. The folder already containsmanifest.jsonandplugin.js; no build is needed.Detailed installation and GitHub-token instructions · Build from source · Automated tests
Manual test
Validation
tests/browser/emoji.spec.mjs:298by 0.234375 px (expected ≤1154.5625, received 1154.796875). Cause unconfirmed; later scan stages were not reached. Hosted CI passed at 14ff840. Hosted CI at 472996e failed in the unchanged GIF composer journey (tests/browser/gifs.spec.mjs:269: expected inserted GIF text, received an empty draft); cause unconfirmed. Hosted CI passes at f23b653; the Windows native job was skipped for this example-only change. The broader local scan was not repeated for this example-only update.The recorded integration uses Buzz's actual App, plugin loader, Rust plugin manager, signed-event verification, and thread reader. Tauri IPC, GitHub, relay HTTP, and the agent response are supplied by isolated fixtures. No real review, external message, or live model request was sent. Packaged native-window and live-account acceptance remain unverified.
Screenshots and recording
Current build: f23b653. The 36-second walkthrough shows status counts and filters, cached queues, Last fetched beside Refresh, PR diffs, and Open on GitHub. GitHub and relay data are simulated; no real approvals or messages were sent.
pr-beacon-refresh-walkthrough.webm
Status counts and filters
PR details and Open on GitHub
Refreshed review queue, with Last fetched beside Refresh
Selected Feedback filter at 390px, dark appearance