@carter2099/pi-omp-coder

extensionmaintained

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.).

by · v0.2.1 · published 2w ago

$ pi install npm:@carter2099/pi-omp-coder
downloads/mo
1.1K
stars
0
last push
3d ago
open issues
0

Signals

license: MITtestspi manifest: missinginstall size: —deps: 0peer deps: 0

Download trend

1.1K downloads · last 12 weeks (weekly)

README

@carter2099/pi-omp-coder

npm version npm downloads license

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

ParameterTypeRequiredDefaultDescription
promptstringyesThe task for the OMP agent. Be specific about files, changes, and acceptance criteria. The OMP agent has no context from this session.
cwdstringnosession cwdWorking directory for the OMP agent.
modelstringnoOMP defaultModel for the OMP agent (e.g. opencode-go/deepseek-v4-pro).
thinkingstringnoOMP defaultThinking level: off, minimal, low, medium, high, xhigh, max, auto.
timeout_secondsnumberno600Hard 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