omp packages

@ravshansbox/pi-question0.2.1

Question tool extension for pi

GitHub Actions Published 3 days ago MIT ~276 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

pi-question

Question tool extension for pi.

Install

pi install npm:@ravshansbox/pi-question

Usage

Pi loads the tool from ./index.ts and registers a question tool that shows a multiple-choice prompt in the TUI.

For example, an agent can call question with options such as Ship now, Review first, and Type something. so the user can pick one option or enter a custom answer without leaving the session.

This tool is intended for interactive TUI sessions. In non-interactive contexts it cannot display a chooser, so callers should only use it when a live user can respond. The built-in Type something. option lets the user enter free text when none of the listed choices fits.

Development

npm install
npm run check