refactor!: migrate from install/uninstall to Claude Code plugin system#2
Merged
Conversation
Replace the custom `lumen install` / `lumen uninstall` flow with the native Claude Code plugin system. All configuration is now declarative: - `.claude-plugin/` — plugin manifest, MCP config, marketplace metadata - `hooks/hooks.json` — SessionStart + PreToolUse hook declarations - `skills/` — /lumen:doctor and /lumen:reindex skill definitions - `scripts/` — platform wrappers (run.sh, run.bat) with download-on-first-run - `cmd/purge.go` — extracted index data cleanup from uninstall - `.goreleaser.yml` — cross-compilation via oryd/xgoreleaser Deleted cmd/install.go, cmd/install_test.go, cmd/uninstall.go, cmd/uninstall_test.go. Removed verifyHookRegistration from cmd/hook.go. BREAKING CHANGE: `lumen install` and `lumen uninstall` commands removed. Use `claude plugin install lumen` or `claude --plugin-dir .` instead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Move .mcp.json to plugin root (auto-discovered, per docs) - Remove version from plugin.json (set in marketplace.json only) - Remove marketplace-only fields (category, tags) from plugin.json - Remove explicit component paths from plugin.json (auto-discovered) - Fix marketplace source path to "./" (must start with ./) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Update xgoreleaser image to 1.26.0-2.14.1 (previous tag did not exist) - Add --platform linux/amd64 to docker run; ARM image has no x86_64-linux-gnu-gcc - Install libsqlite3-dev before builds (sqlite-vec requires sqlite3.h) - Copy sqlite3.h to MinGW include path for Windows cross-compilation Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Move the release job from ci.yml into a separate release.yml triggered only on v* tags. Use xgoreleaser as a job container instead of running docker manually. Fix missing permissions and align image version with Makefile (1.26.0-2.14.1).
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.
Replace the custom
lumen install/lumen uninstallflow with the native Claude Code plugin system. All configuration is now declarative:.claude-plugin/— plugin manifest, MCP config, marketplace metadatahooks/hooks.json— SessionStart + PreToolUse hook declarationsskills/— /lumen:doctor and /lumen:reindex skill definitionsscripts/— platform wrappers (run.sh, run.bat) with download-on-first-runcmd/purge.go— extracted index data cleanup from uninstall.goreleaser.yml— cross-compilation via oryd/xgoreleaserDeleted cmd/install.go, cmd/install_test.go, cmd/uninstall.go, cmd/uninstall_test.go. Removed verifyHookRegistration from cmd/hook.go.
BREAKING CHANGE:
lumen installandlumen uninstallcommands removed. Useclaude plugin install lumenorclaude --plugin-dir .instead.