pi-copy-all

Pi extension: copy current thread user and assistant messages to clipboard.

Packages

Package details

extension

Install pi-copy-all from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-copy-all
Package
pi-copy-all
Version
0.1.0
Published
Jun 8, 2026
Downloads
not available
Author
respectmathias
License
MIT
Types
extension
Size
7.6 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./src/index.ts"
  ]
}

Security note

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

README

pi-copy-all

A Pi extension that copies current thread transcript to clipboard.

Features

  • /copy-all slash command
  • ctrl+alt+a shortcut
  • Copies current session branch only
  • Includes previous user and assistant messages
  • Skips tool results, custom messages, thinking blocks, and tool calls
  • Replaces images with [image: mime/type]
  • Notifies when copy succeeds, transcript is empty, or clipboard write fails

Install

From npm:

pi install npm:pi-copy-all

From GitHub:

pi install git:github.com/RespectMathias/pi-copy-all

Local development:

pi -e ./src/index.ts

Commands

/copy-all

Default shortcut:

ctrl+alt+a

No built-in keybindings are changed by this extension.

Development

npm install
npm run check
npm run pack:dry

Publishing

npm login
npm publish

GitHub setup:

git init
git add .
git commit -m "Initial release"
git branch -M main
git remote add origin https://github.com/RespectMathias/pi-copy-all.git
git push -u origin main

License

MIT © RespectMathias