Skip to content

refactor!: migrate from install/uninstall to Claude Code plugin system#2

Merged
aeneasr merged 4 commits into
mainfrom
better-hooks
Mar 3, 2026
Merged

refactor!: migrate from install/uninstall to Claude Code plugin system#2
aeneasr merged 4 commits into
mainfrom
better-hooks

Conversation

@aeneasr
Copy link
Copy Markdown
Member

@aeneasr aeneasr commented Mar 3, 2026

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.

aeneasr and others added 4 commits March 3, 2026 15:09
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).
@aeneasr aeneasr merged commit c2dbb47 into main Mar 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant