@thurstonsand/pi-paste
Pi extension for pasting your local Mac clipboard into remote gty ssh sessions
Package details
Install @thurstonsand/pi-paste from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@thurstonsand/pi-paste- Package
@thurstonsand/pi-paste- Version
0.6.0- Published
- Aug 4, 2026
- Downloads
- 2,617/mo · 877/wk
- Author
- thurstonsand
- License
- unknown
- Types
- extension
- Size
- 8 KB
- Dependencies
- 1 dependency · 3 peers
Pi manifest JSON
{
"extensions": [
"./index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@thurstonsand/pi-paste
Paste your Mac clipboard into a remote Pi session.
@thurstonsand/pi-paste adds an alt+v shortcut and a /paste command to Pi. When Pi is running over gty ssh, it reaches back through the GhosttyKit bridge with the GhosttyKit TypeScript SDK, reads the clipboard from your local Mac, and inserts it into the remote prompt editor.
That means you can copy something on your Mac and paste it into a coding agent running on another machine. Text is inserted directly. Files, screenshots, PDFs, and Finder copies are written on the remote host and inserted as @file references so Pi can read them.
Install
Install and start GhosttyKit on your Mac. See the root GhosttyKit README for the full install flow.
brew install thurstonsand/tap/ghosttykit
open -a Ghostty
brew services start thurstonsand/tap/ghosttykit
gty doctor
Install the Pi package:
pi install npm:@thurstonsand/pi-paste
Start the remote session with GhosttyKit's SSH wrapper:
gty ssh your-host
Inside Pi, press alt+v or run /paste.
Use matching nightlies if you want to track the latest changes:
brew install thurstonsand/tap/ghosttykit-nightly
brew services start thurstonsand/tap/ghosttykit-nightly
pi install npm:@thurstonsand/pi-paste@nightly
Settings
Optional global Pi settings:
{
"paste": {
"shortcut": "alt+v",
"outputDir": "/tmp/pi-paste-file"
}
}
shortcut: Pi shortcut to bind. Defaults toalt+v.outputDir: where file paste content is written on the machine running Pi. Defaults to/tmp/pi-paste-file.
Paste failures are shown as Pi notifications.
Development
From this repository:
pi -e ./pi/pi-paste
Run the package checks before publishing changes:
cd pi/pi-paste
npm run check