Repository navigation
feat(skills): rebuild and reload plugins from a script - #174
Merged
Merged
Conversation
Nothing in update-plugins needs an agent's judgment, and a machine-wide update script has to run it unattended without spending tokens or broad permissions. scripts/rebuild-plugins.sh now owns the builds and reloads, and works on the checkout as it stands so each caller keeps its own git rules. The skill keeps the pull, the terminal for a reload that would end its own session, and the report. Reloading claude-tty last is gone: it only protected a run hosted on that provider, which the hosting-provider check already covers, and claude-tty is due to be phased out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
Moves the build and reload half of
update-pluginsintoscripts/rebuild-plugins.sh, so a machine-wide update script can run it unattended.The skill becomes a thin wrapper that keeps the pull, the terminal for a reload that would end its own session, and the report.
What the script does
paseo plugin ls --json.buildfrom the plugin's directory, with onepnpm install --frozen-lockfilefor the whole workspace.runningas a failure, printing its logs and exiting non-zero.It leaves git alone and works on the checkout as it stands, so each caller keeps its own rules for pulling.
Behaviour changes
claude-ttyis no longer reloaded last.That order only protected a run hosted on that provider, which the hosting-provider check covers, and it keeps a plugin due to be phased out out of the script.
Testing
Ran the script against a sandbox with stubbed
paseoandpnpm: a normal run, a run hosted on one of the plugins, a reload returningerror, and a failing build.It has not been run against a live daemon, because a reload closes open sessions.