pi-edit-replace-all

Pi package that overrides the edit tool with replaceAll support.

Package details

extension

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

$ pi install npm:pi-edit-replace-all
Package
pi-edit-replace-all
Version
0.1.1
Published
Mar 13, 2026
Downloads
176/mo · 14/wk
Author
davidbrai
License
MIT
Types
extension
Size
6.1 KB
Dependencies
0 dependencies · 3 peers
Pi manifest JSON
{
  "extensions": [
    "./edit-replace-all.ts"
  ]
}

Security note

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

README

pi-edit-replace-all

A small pi package that overrides the built-in edit tool and adds:

  • replaceAll: true to replace all exact occurrences of oldText in a file
  • default behavior unchanged when replaceAll is omitted/false (delegates to built-in edit)

Install

npm

pi install npm:pi-edit-replace-all

git

pi install git:github.com/davidbrai/pi-edit-replace-all