@pi-lab/input-history

Cross-session input history navigation for pi coding agent

Packages

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
1.0.5
Published
Oct 2, 2026
Downloads
523/mo · 43/wk
Author
cheny341
License
MIT
Types
extension
Size
4.4 KB
Dependencies
0 dependencies · 2 peers
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 NPM Version

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.