pi-copy-all

内容来源:README.md(说明文档) · 原始地址 · 查看安装指南

原始内容

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