feat: plugin uninstall/update commands + bump v1.1.24 - #75
Merged
Merged
Conversation
added 3 commits
August 24, 2026 18:22
Add `tact plugin uninstall <name>` / `/plugin uninstall <name>` and `tact plugin update <name>` / `/plugin update <name>`. - PluginInstaller::uninstall removes the registry entry and deletes cached content only when it resolves inside the plugin cache root, pruning now-empty parents; missing plugins error without mutating the store. - PluginInstaller::update refreshes the owning marketplace (falling back to the cached catalog on transient refresh failure), resolves the latest revision, and either reports up to date (cache untouched) or installs the new revision and prunes the old cache. - PluginStore::commit_removal persists uninstall state without a candidate directory. - Worker refresh_skills also triggers on uninstall/update so plugin skills change immediately. - i18n (en/zh) templates and operation labels; CLI + TUI handlers; README; book Ch 2/23/26 docs.
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
Add plugin uninstall and update commands to both the CLI and TUI, and bump the workspace to v1.1.24.
tact plugin uninstall / /plugin uninstall
PluginInstaller::uninstallremoves the registry entry and deletes cached content only when it resolves inside the plugin cache root (legacy or escaping paths are left untouched), pruning now-empty parent directories up to the cache root.PluginStore::commit_removalpersists uninstall state without requiring a candidate directory (unlikecommit_install).tact plugin update / /plugin update
PluginInstaller::updaterefreshes the owning marketplace (falling back to the previously fetched catalog on transient refresh failure), resolves the latest revision, and either reports up to date (cache untouched) or installs the new revision and prunes the old revision's cache.Shared behavior
refresh_skillsalso triggers on uninstall/update, so plugin skills change immediately (plugin:skill entries appear/disappear without restart).Commits
6561f24ffeat: plugin uninstall/update commands (CLI + TUI)1e276ba3style: cargo fmt524aad7dchore: bump to v1.1.24Tests