@zhushanwen/pi-file-lock

Shared sync cross-process file lock for Pi extensions — zero-dependency self-implemented mkdir lock (mutex-compatible with proper-lockfile 4.1.2), aligned with the runtime-side lock protocol (shared library, not a Pi extension).

Packages

Package details

package

Install @zhushanwen/pi-file-lock from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@zhushanwen/pi-file-lock
Package
@zhushanwen/pi-file-lock
Version
0.5.0
Published
Nov 5, 2026
Downloads
804/mo · 308/wk
Author
zhushanwen321
License
MIT
Types
package
Size
27.5 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.