@zhushanwen/pi-ext-guards
Shared runtime-environment guards for Pi extensions — oncePerProcess(key, fn) dedupes cross-session side-effect operations against pi factory re-invocation and handler accumulation (shared library, not a Pi extension, zero dependencies).
Package details
Install @zhushanwen/pi-ext-guards from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@zhushanwen/pi-ext-guards- Package
@zhushanwen/pi-ext-guards- Version
0.4.1- Published
- Sep 18, 2026
- Downloads
- 796/mo · 488/wk
- Author
- zhushanwen321
- License
- MIT
- Types
- package
- Size
- 34.6 KB
- Dependencies
- 0 dependencies · 0 peers
Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.