v0.0.1
omp-hooks v0.0.1
Claude Code-compatible command hooks for the OMP (Oh My Pi) coding agent.
Features
- 9 Claude Code hook events mapped (SessionStart, SessionEnd, PreCompact, PostCompact, PreToolUse, PostToolUse, PostToolUseFailure, UserPromptSubmit, Stop)
- Hidden context injection via
sendMessage({ display: false })— the mechanism OMP's nativetool_calllacks - Claude Code
settings.jsonhooks config format compatibility - Settings from
~/.omp/agent/settings.json(env-overridable viaOMP_HOOKS_SETTINGS) + project-local<cwd>/.omp/settings.json - Debounce buffer for parallel grep/glob injections (50ms window)
- Bridge-script compatible (
bash -c+ JSON stdin/stdout + exit-code semantics)
Install
omp install omp-hooksOr from source:
omp install git:github.com/ZeR020/omp-hooksRequirements
- OMP (Oh My Pi) coding agent
@oh-my-pi/pi-coding-agentpeer dependency