@hheei/pi-apply-patch
V4A apply_patch editing tool with worker matching and per-path publishing.
Package details
Install @hheei/pi-apply-patch from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@hheei/pi-apply-patch- Package
@hheei/pi-apply-patch- Version
0.4.1- Published
- Nov 2, 2026
- Downloads
- 671/mo · 411/wk
- Author
- hheei
- License
- MIT
- Types
- extension
- Size
- 134.6 KB
- Dependencies
- 2 dependencies · 3 peers
Pi manifest JSON
{
"extensions": [
"dist/extension.js"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@hheei/pi-apply-patch
Standalone apply_patch extension for Pi. Install with pi install npm:@hheei/pi-apply-patch. The tool is registered with defaultActive: false; enable it through your loadout.
Owns V4A parsing, pure JavaScript jsdiff worker matching, per-path publishing, partial outcomes and the applyPatch group in ext_settings.json. Confirmed edits persist after failure or cancellation.
No file tools, Bash, Python or UI extension is required. Optional UI rendering comes through ext-core; native tool text remains available without it. Worker code is included in dist.
See architecture and tool packages.