pi-copy-last-response-extension

pi extension to copy the last assistant response

Package details

extension

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

$ pi install npm:pi-copy-last-response-extension
Package
pi-copy-last-response-extension
Version
1.0.0
Published
Feb 27, 2026
Downloads
16/mo · 2/wk
Author
goinfrex
License
ISC
Types
extension
Size
5.3 KB
Dependencies
0 dependencies · 0 peers
Pi manifest JSON
{
  "extensions": [
    "./copy-last-response.ts"
  ]
}

Security note

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

README

pi-copy-last-response-extension

pi extension that lets you copy the latest assistant response.

Install

pi install npm:pi-copy-last-response-extension

Or copy locally:

cp ./copy-last-response.ts ~/.pi/agent/extensions/copy-last-response.ts

Then run /reload in pi.

Features

  • Alt+C: copy last assistant response to clipboard
  • /copy-response

Development

npm run dev:sandbox

Runs pi in an isolated sandbox and loads only this extension.