pi-peek
v0.1.2
Published
A pi extension for browsing current session scrollback in an overlay.
Downloads
169
Maintainers
Readme
pi-peek
Peek is a pi extension for browsing the current session scrollback in a keyboard-driven overlay.
https://raw.githubusercontent.com/Yeshwanthyk/pi-peek/main/media/demo.mp4
Install
Recommended, via npm:
pi install npm:pi-peekOr install from git:
pi install git:github.com/Yeshwanthyk/pi-peekPinned installs:
pi install npm:[email protected]
pi install git:github.com/Yeshwanthyk/[email protected]Project-local install:
pi install -l npm:pi-peek
pi install -l git:github.com/Yeshwanthyk/pi-peekTry for one run without installing:
pi -e npm:pi-peek
pi -e git:github.com/Yeshwanthyk/pi-peekAfter installing, run /reload in pi or restart pi.
Legacy manual install
git clone https://github.com/Yeshwanthyk/pi-peek ~/.pi/agent/extensions/peekUse
Ctrl+Shift+J: open Peek/peek: open Peekj/k: scroll down/upJ/K: jump next/previous messageg/G: top/bottomt: toggle tool messages/,n,N: searchM: copy current messageo: view current message in nvimO: edit current assistant message in nvimq/Esc: close
Package metadata
This repo is a pi package. package.json declares:
{
"keywords": ["pi-package"],
"pi": {
"extensions": ["./index.ts"],
"video": "https://raw.githubusercontent.com/Yeshwanthyk/pi-peek/main/media/demo.mp4",
"image": "https://raw.githubusercontent.com/Yeshwanthyk/pi-peek/main/media/preview.png"
}
}That lets users install it with pi install npm:pi-peek or pi install git:github.com/Yeshwanthyk/pi-peek instead of manually copying files into ~/.pi/agent/extensions.
Security
Pi packages run with your local user permissions. Review third-party extensions before installing them.
