You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 2, 2026. It is now read-only.
fix(plugin): make hooks and commands self-contained for cross-project use
- Add sys.path bootstrap to all hook entry points (posttooluse.py,
precompact.py, sessionstart.py, stop.py, userpromptsubmit.py)
to find plugin bundled src directory via __file__ resolution
- Update all command files (capture.md, recall.md, search.md,
status.md, sync.md) to use uv run --directory pointing to plugin root
This ensures the plugin uses its own pyproject.toml and dependencies
rather than the current project's environment
- Use CLAUDE_PLUGIN_ROOT env var if available, fall back to known
plugin cache location for compatibility
This fixes the issue where running plugin commands in other projects
would fail with ModuleNotFoundError or trigger unnecessary project builds.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments