Skip to content

v0.0.1

Choose a tag to compare

@ZeR020 ZeR020 released this 07 Jul 15:36

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 native tool_call lacks
  • Claude Code settings.json hooks config format compatibility
  • Settings from ~/.omp/agent/settings.json (env-overridable via OMP_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-hooks

Or from source:

omp install git:github.com/ZeR020/omp-hooks

Requirements

  • OMP (Oh My Pi) coding agent
  • @oh-my-pi/pi-coding-agent peer dependency