gitmyhub

pi-queue-steer

TypeScript ★ 30 updated 11d ago

Cursor-style visible follow-up queue with inline editing for Pi

A Pi coding agent extension that adds two visible, editable queues, steering and follow-up, so a user can line up instructions while the AI agent is still busy working.

TypeScriptsetup: easycomplexity 2/5

pi-queue-steer is an extension for Pi, an AI coding agent tool, that lets a user queue up instructions while the agent is still working on the current task, instead of waiting silently until it finishes. Normally a user has to wait for an AI agent to stop before typing the next request. This extension gives them two visible lanes to type into while it is busy: a steering lane for instructions that should reach the agent very soon, and a follow-up lane for instructions meant to run only after the current task is done.

Each lane keeps its own first-in, first-out order, and a user can move into any queued row to edit its text before it gets sent, using the same editing behavior, like cursor movement and autocomplete, that Pi's normal input box already has. Rows can also be moved between the two lanes, marked for removal, or restored if removed by mistake, all before they are actually delivered to the agent.

The extension also recognizes certain special rows as commands rather than plain instructions. For example, typing exactly slash compact or slash reload as a queued row runs that Pi command directly once the agent becomes free, rather than sending it as a message to the AI model. If the agent's current run is aborted, both lanes pause automatically so a follow up instruction does not start running immediately afterward, and the user resumes it manually when ready.

Installation is done through Pi's own package installer, either pulling the latest version directly from its GitHub repository or pinning a specific released version. It can also be tried temporarily from a local file for a single session. The project is written in TypeScript, was tested against a specific version of Pi, and is released under the MIT license. It is explicitly noted as inspired by Cursor's queue interaction but not affiliated with Cursor or its maker.

Where it fits