@pi-lab/input-history

Cross-session input history navigation for pi coding agent

Package details

extension

Install @pi-lab/input-history from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@pi-lab/input-history
Package
@pi-lab/input-history
Version
0.1.0
Published
Apr 20, 2026
Downloads
84/mo · 8/wk
Author
cheny341
License
MIT
Types
extension
Size
87.8 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./dist/index.mjs"
  ]
}

Security note

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

README

@pi-lab/input-history

Extends the up arrow key history from session-level to project-level.

Install

pi install npm:@pi-lab/input-history

What it does

By default, pressing in pi's input box only recalls messages from the current session. This plugin persists last submitted inputs to disk and shares them across every session in the same project.

Before: cycles through messages from the current session only. After: cycles through the last 100 submitted messages in the project, across all sessions.

The behavior is otherwise identical — text is placed directly into the editor, one entry at a time.