Add Pushary to the external plugins marketplace - #63
Open
aadilghani1 wants to merge 1 commit into
Open
Conversation
Pushary is a PreToolUse hook plus MCP server. The hook gates risky terminal commands on an approval sent to the user's phone before the command runs, falling back to VS Code's own approval prompt whenever it cannot reach a decision. The MCP tools let the agent ask a question or send a notification and get an answer back. The plugin is hosted at Pushary/vscode-plugin and uses the .claude-plugin layout, so it is referenced here by source rather than vendored.
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.
Adds
pusharytomarketplace.jsonand to the External Plugins list in the README. The plugin lives at Pushary/vscode-plugin and is referenced bysource, so nothing is vendored here.Disclosure: I maintain Pushary. Happy to adjust the wording, keywords, or drop the entry if it is not a fit for this collection.
What it does
Two things, both aimed at the case where the agent needs a human and the human is not at the keyboard:
PreToolUsehook that gates risky terminal commands (rm -rf, force pushes, history rewrites,DROP/DELETE FROM, deploys,systemctl) on an approval delivered to the user's phone before the command runs.ask_user,wait_for_answer,send_notificationandcancel_question, so the agent can ask a question and block on a real answer.Notes relevant to review
matcherbut does not enforce it, soPreToolUsefires on every tool call. The gate therefore decides for itself and returns immediately, touching neither disk nor network, for anything that is not a risky terminal command. Measured at roughly Node startup cost per call.ask, never toallow. No API key, unreachable network, unparseable input, or no answer in time all returnpermissionDecision: "ask", which hands the decision to VS Code's own prompt rather than letting the command through. A 55s guard fires before the 60s hook timeout.SECURITY.mddocuments the one case this cannot cover.scripts/pushary-gate.mjshas no dependencies, uses globalfetch, and talks only topushary.com. Command text is redacted for common secret shapes before it is sent, and only the working directory's basename is included, never the full path..claude-pluginlayout, so the same directory also works with the GitHub Copilot CLI and Claude Code.