omp packages

pi-mono-btw1.7.4

Pi extension that answers side questions while the main agent keeps running

emanuelcasco Published 5 months ago ~290 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

btw extension

This extension adds Claude Code-style /btw behavior to pi.

Behavior

  • intercepts /btw <question> through the input pipeline instead of a normal extension command
  • starts a separate model request immediately
  • does not queue the question into the main agent loop
  • does not interrupt the current task
  • renders active requests and answers in a focused /btw panel while pi keeps working
  • lets the user dismiss the panel with Esc/Enter, scroll long answers with ↑/↓, and clear displayed history with x
  • stores hidden history as custom session entries (btw-history) without injecting answers into the visible transcript or main agent context

Why it is implemented this way

In pi, normal extension commands are checked before input expansion and are not the same as prompt templates or skills. To make /btw work while pi is already busy, this extension handles raw input that starts with /btw and launches its own background completion.

Extra shortcut

  • Ctrl+Shift+B asks the current editor text as a side question

Files

  • index.ts — extension entry point