omp packages

pi-big-prompt0.1.1

Pi extension: /edit writes and sends big prompts from your $EDITOR, like git commit

akanksh-ch Published 5 days ago GPL-3.0-only ~295 downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

big-prompt

Pi extension. /edit opens your editor to write long prompts.

  • Editor: $VISUAL, then $EDITOR, then nano/vim/vi (*nix) or notepad (Windows).
  • Works like git commit: write the prompt, save and quit, and it is sent. Empty text or a non-zero editor exit (:cq) aborts and sends nothing.
  • Starting text: /edit <text> args, else current input box text.
  • If the agent is busy, the prompt is queued as a follow-up.
  • Lines starting with # are kept (markdown headings), unlike git.
  • GUI editors need a wait flag, e.g. EDITOR="code -w".

Install: pi install /path/to/big-prompt or pi -e ./extensions/big-prompt.ts.

Tests

npm test (Node 22.18+ runs the TypeScript directly, no build step).