pi-smart-copy
copy a markdown section from pi's latest response
Package details
Install pi-smart-copy from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-smart-copy- Package
pi-smart-copy- Version
0.1.0- Published
- Jul 13, 2026
- Downloads
- 173/mo · 173/wk
- Author
- injaneity
- License
- MIT
- Types
- extension
- Size
- 5.5 KB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"./extensions/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-smart-copy
pi-smart-copy adds /smart-copy to pi. it copies the latest assistant response, or lets you choose one markdown section when the response contains headings.
install
pi install git:github.com/injaneity/pi-smart-copy
restart pi after installation.
use
run:
/smart-copy
if the latest response has markdown headings, choose the entire response or a section. sections include their heading and nested subsections. if there are no headings, the complete response is copied immediately.
development
npm install
npm run check
npm test
pi -e ./extensions/index.ts
license
mit