Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
9b7035b
release: v0.8.3 — fix Windows npm package extraction
RodCor Jun 1, 2026
954b187
docs: spec for plugin install hook merge + workspace/global scope
RodCor Jun 2, 2026
50a5d00
docs: clarify hook merge preserves user groups on shared events
RodCor Jun 2, 2026
024704c
docs: implementation plan for plugin install hook merge + scope
RodCor Jun 2, 2026
c091d58
feat: add InstallScope enum for plugin install scope
RodCor Jun 2, 2026
38b9b05
feat: add idempotent kimetsu hook-merge helper
RodCor Jun 2, 2026
363dd82
fix: merge Claude hooks instead of replacing user config
RodCor Jun 2, 2026
596b506
fix: merge Codex hooks instead of replacing UserPromptSubmit
RodCor Jun 2, 2026
633da4e
docs: document write_codex_hooks; assert PostToolUse in test
RodCor Jun 2, 2026
8841ece
fix: make MCP config writers idempotent + scope-aware keys
RodCor Jun 2, 2026
e328905
fix: refresh generated plugin docs on re-install without --force
RodCor Jun 2, 2026
7f1c768
test: assert generated docs are refreshed; document overwrite
RodCor Jun 2, 2026
79d5f20
feat: add --scope workspace|global to kimetsu plugin install
RodCor Jun 2, 2026
fa2d931
docs: correct CLAUDE.md force-overwrite comment; assert in global test
RodCor Jun 2, 2026
740ddb2
docs: document --scope and hook-merge behavior for plugin install
RodCor Jun 2, 2026
247362a
release: v0.8.4 — non-destructive plugin install + global scope
RodCor Jun 2, 2026
f34a219
mERGE branch 'main' into release/v0.8.4
RodCor Jun 2, 2026
4185910
style: cargo fmt (rustfmt line wrapping)
RodCor Jun 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,25 @@ follow [SemVer](https://semver.org/spec/v2.0.0.html) with the
caveat that pre-1.0 minor bumps may include breaking changes
(documented in the release notes).

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

ADDED
* **Global plugin install.** `kimetsu plugin install <target> --scope global`
installs the Kimetsu surface into the user's home for every session —
`~/.claude/` + `~/.claude.json` (`mcpServers`) for Claude Code, and
`~/.codex/` for Codex — instead of the workspace. `--scope` defaults to
`workspace` (the prior behavior). Also exposed as the `scope` argument on
the `kimetsu_plugin_install` MCP tool.

FIXED
* **Hook install no longer clobbers existing hooks.** `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 install is
idempotent (no duplicate groups) and the MCP config + generated docs refresh
without requiring `--force`.

## v0.8.3 — npm distribution

ADDED
Expand Down
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ resolver = "3"
# everything below except the per-crate `description`, `keywords`,
# and `categories` which live in each `[package]` block since
# crates.io enforces them per crate.
version = "0.8.3"
version = "0.8.4"
edition = "2024"
# Rust ecosystem dual-license (matches tokio, serde, fastembed-rs,
# etc.). UNLICENSED would block crates.io entirely.
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,17 @@ cover Claude Code and Codex:
```bash
kimetsu plugin install claude --workspace . # writes .mcp.json + .claude/settings.json
kimetsu plugin install codex --workspace . # writes .codex/config.toml + .codex/hooks.json + skill

# Install globally for every project (writes to ~/.claude, ~/.claude.json, ~/.codex):
kimetsu plugin install claude --scope global
kimetsu plugin install codex --scope global
```

`--scope` defaults to `workspace`. The installer **merges** into existing
config: if you already have hooks — even on the same events Kimetsu uses
(`UserPromptSubmit`, `PreToolUse`, …) — your hooks are kept and Kimetsu's are
added alongside them. Re-running is idempotent and never needs `--force`.

Now your host agent gets the `kimetsu_*` MCP tools (brain context, memory
add/list, citations, repo ingest, the cross-harness skill bridge) and starts
banking memories across every session.
Expand Down
Loading
Loading