@izhimu/pi-prompt-hud

Show recent user prompts of current session above the editor (pi & oh-my-pi)

Packages

Package details

extension

Install @izhimu/pi-prompt-hud from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@izhimu/pi-prompt-hud
Package
@izhimu/pi-prompt-hud
Version
0.1.0
Published
Oct 21, 2026
Downloads
293/mo · 8/wk
Author
izhimu
License
MIT
Types
extension
Size
7.3 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./extensions"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-prompt-hud

Persistent HUD above the editor showing the most recent user prompts of the current session. Works with pi and oh-my-pi.

Install

Link or copy into extensions dir, or run with pi -e /path/to/extensions/prompt-hud.ts. As a package, add to ~/.pi/agent/settings.json (or omp config) extensions.

Config

Display count (default 1), priority order:

  1. /prompt-hud <n> — session override
  2. PROMPT_HUD_COUNT env var
  3. promptHud.count in settings.json

Commands

  • /prompt-hud <n> — show last n prompts
  • /prompt-hud status — show current count
  • /prompt-hud off — hide widget
  • /prompt-hud on / reset — restore default count