@fnnm/pi-raw-paste

One-shot raw paste support for Pi (/paste).

Package details

extension

Install @fnnm/pi-raw-paste from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@fnnm/pi-raw-paste
Package
@fnnm/pi-raw-paste
Version
0.1.2
Published
Mar 8, 2026
Downloads
13/mo · 2/wk
Author
fnnm
License
MIT
Types
extension
Size
5.7 KB
Dependencies
0 dependencies · 0 peers
Pi manifest JSON
{
  "extensions": [
    "index.ts"
  ],
  "image": "https://github.com/user-attachments/assets/292c059a-8b06-40c2-abdd-795c0699336a"
}

Security note

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

README

Raw Paste Extension

/paste to arm a one-shot raw paste so large clipboard content stays fully editable in the editor (no paste markers). Useful for template prompts that need slight edits or when you need to refer to the text you pasted.

Without /paste -> the text is condensed

With /paste -> you can see raw text

Install

pi install npm:@fnnm/pi-raw-paste
pi install git:github.com/fnnm/pi-raw-paste

Then filter to just this extension in ~/.pi/agent/settings.json:

{
  "packages": [
    {
      "source": "git:github.com/fnnm/pi-raw-paste",
      "extensions": ["raw-paste/index.ts"]
    }
  ]
}

Usage

  • Command: /paste
  • No default keybinding

After arming, paste normally (for example Cmd+V on macOS).

Optional: add your own keybinding in raw-paste/index.ts if your terminal supports it.

Notes

  • Terminal.app and Warp intercept Cmd+V and Cmd+Shift+V, so the extension cannot see those keys.
  • Use /paste before pasting in those terminals.

Changelog

See CHANGELOG.md.