@carter2099/pi-omp-coder
Pi extension that lets the agent delegate heavy coding tasks to an OMP (Oh My Pi) subprocess with a richer tool set (LSP, AST, browser, etc.).
Package details
Install @carter2099/pi-omp-coder from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@carter2099/pi-omp-coder- Package
@carter2099/pi-omp-coder- Version
0.2.1- Published
- Jul 20, 2026
- Downloads
- 843/mo · 843/wk
- Author
- carter2099
- License
- MIT
- Types
- extension
- Size
- 17.1 KB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"./extensions/omp-delegate.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@carter2099/pi-omp-coder
Pi extension that lets the agent delegate heavy coding tasks to an OMP (Oh My Pi) subprocess with a richer tool set including LSP, AST grep/edit, browser, and more.
Prerequisites
- OMP CLI (
omp) installed (via bun or npm), with models and auth configured. - Pi (
pi) with extension support (v0.18+).
Install
pi install npm:@carter2099/pi-omp-coder
Or add to ~/.pi/agent/settings.json:
{ "packages": ["npm:@carter2099/pi-omp-coder"] }
Tool: delegate_omp
Delegates a complex coding task to an OMP agent subprocess. The OMP agent runs a full agent loop with its own tools and returns results. Use for multi-file refactors, cross-file renames, or tasks requiring deep code intelligence.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt |
string | yes | — | The task for the OMP agent. Be specific about files, changes, and acceptance criteria. The OMP agent has no context from this session. |
cwd |
string | no | session cwd | Working directory for the OMP agent. |
model |
string | no | OMP default | Model for the OMP agent (e.g. opencode-go/deepseek-v4-pro). |
thinking |
string | no | OMP default | Thinking level: off, minimal, low, medium, high, xhigh, max, auto. |
timeout_seconds |
number | no | 600 | Hard timeout in seconds (10-3600). OMP is killed if it exceeds this. |
Example
pi> Use delegate_omp to read src/auth.ts and add JWT refresh token support
The OMP agent runs independently, reads the file, makes the changes, and returns the result to the pi session.
License
MIT