feat(cli): wire plugin install/update/docker/link/sync/export commands#15
Merged
feat(cli): wire plugin install/update/docker/link/sync/export commands#15
Conversation
Apply PrimeVue dark theme variables (--p-surface-*) to CypherEditor, QueryResultsPane, InlineQueryPanel, ChainLegend, ChainQueryView, and ScanView task grid so all pages are visually consistent on Aura Dark. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Fully implement all previously-stubbed plugin CLI commands: - install: local-path pipeline (stage/compose/promote/register) + registry fallback via git clone - update: clone repo, stop containers, reinstall, restart containers - up/down/logs/pull: docker compose wrappers resolved from active compose path - exec: sandbox-validated docker exec with enforcement.validate_command - setup: regenerate compose file from stored manifest - link/unlink: symlink (Unix) or copytree (Windows) dev workflow with InstallMode.LINKED - sync: --lockfile and --set support, optional --freeze output - export: tarball active version dir to .otp archive - import: extract .otp, bridge manifest.yaml->opentools-plugin.yaml, run install pipeline Add 9 new tests covering install, up-no-compose, link/unlink, export/import, sync. All 19 tests pass. Co-Authored-By: Claude Sonnet 4.6 <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
Wires up the placeholder CLI commands in
plugin_cli.pyto orchestrate theplugin-corelibrary. After this, the full plugin lifecycle works end-to-end from the CLI.Now fully wired:
install— local path OR registry lookup + shallow git clone, transactional pipeline (stage → compose generation → integrity hash → promote → register)update— clone new version, stop containers, replace, restart, update DBup/down/logs/pull— Docker compose subprocess wrappersexec— validates command viaenforcement.validate_command()before runningsetup— regenerates compose from stored manifestlink/unlink— symlink (Unix) or copy (Windows), records mode=LINKEDsync— lockfile or plugin set, with optional--freezeoutputexport/import— gzipped tar archives with manifest bridgingShared
_do_installhelper used by install, update, sync, and import.Test plan
installfrom local path with full pipelinelink+unlinkround tripexport+importround tripupagainst a real compose file🤖 Generated with Claude Code