Skip to content

release: v0.8.4 — non-destructive plugin install + global scope#14

Merged
RodCor merged 18 commits into
mainfrom
release/v0.8.4
Jun 2, 2026
Merged

release: v0.8.4 — non-destructive plugin install + global scope#14
RodCor merged 18 commits into
mainfrom
release/v0.8.4

Conversation

@RodCor

@RodCor RodCor commented Jun 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • kimetsu plugin install now merges hooks instead of replacing them. Existing hooks in Claude settings.json / Codex hooks.json — even on the same events Kimetsu uses (UserPromptSubmit, PreToolUse, …) — are preserved, with Kimetsu's matcher-group added alongside. Re-running is idempotent (no duplicate groups); MCP config and generated docs refresh without --force.
  • New --scope workspace|global (default workspace). Global installs the surface into the user's home for every session: ~/.claude + ~/.claude.json (mcpServers) for Claude Code, ~/.codex for Codex. Also exposed as the scope arg on the kimetsu_plugin_install MCP tool.
  • Version bump 0.8.3 → 0.8.4; CHANGELOG + README updated.

Implements docs/superpowers/specs/2026-06-02-plugin-install-merge-and-scope-design.md (spec + plan included in the diff).

Test Plan

  • cargo test --workspace — green (incl. new bridge tests: hook-merge preservation/idempotency for Claude & Codex, idempotent MCP writers, generated-doc refresh, global-scope routing via injectable-home seam)
  • cargo check --workspace after version bump — clean
  • Real-binary smoke (Windows): workspace install preserves a user UserPromptSubmit hook and appends Kimetsu's; idempotent re-run with no --force
  • Real-binary smoke: --scope global writes to ~/.claude, ~/.claude.json (mcpServers-only), ~/.codex with no workspace leak

🤖 Generated with Claude Code

RodCor and others added 18 commits June 1, 2026 18:20
publish-npm extracted the Windows archive with unzip, but PowerShell Compress-Archive writes ZIP entries with backslash separators that ubuntu's unzip flattens into a literal filename, so the win32 binary was not found and the job failed after publishing the three Unix platform packages. Extract the Windows zip with 7z (interprets the backslash as a path separator) plus a suffix-match find fallback, and make publishing idempotent so a re-run skips already-published versions.

v0.8.2 published @kimetsu-ai/{linux-x64,darwin-x64,darwin-arm64}; the complete set incl. win32 + the main kimetsu-ai package ships in v0.8.3.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
`kimetsu plugin install` now merges its hooks into existing Claude
settings.json / Codex hooks.json instead of replacing them: hooks you
already have — even on the same events Kimetsu uses (UserPromptSubmit,
PreToolUse, ...) — are preserved, with Kimetsu's group added alongside.
Re-running is idempotent (no duplicate groups) and the MCP config and
generated docs refresh without needing --force.

Adds --scope workspace|global (default workspace). Global installs the
surface into the user's home for every session: ~/.claude + ~/.claude.json
(mcpServers) for Claude Code, ~/.codex for Codex. Also exposed as the
`scope` argument on the kimetsu_plugin_install MCP tool.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@RodCor
RodCor merged commit 6e1465e into main Jun 2, 2026
12 checks passed
@RodCor
RodCor deleted the release/v0.8.4 branch June 2, 2026 15:15
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