@monopi/extension-shared
Shared helpers for monopi extension packages.
Package details
Install @monopi/extension-shared from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@monopi/extension-shared- Package
@monopi/extension-shared- Version
0.6.1- Published
- Aug 28, 2026
- Downloads
- 411/mo · 44/wk
- Author
- ifiokjr
- License
- MIT
- Types
- package
- Size
- 20.6 KB
- Dependencies
- 1 dependency · 5 peers
Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@monopi/extension-shared
@monopi/extension-shared is an internal library of runtime utilities shared by monopi extension packages. Extension packages depend on it at build time; users never install it directly. It provides:
- runtime mode resolution and safe-mode state
- status bar and UI cache helpers
- watchdog runtime diagnostics formatting
- shared worktree helpers (repo context snapshots, managed worktree metadata, pi ownership)
Development
pnpm --filter @monopi/extension-shared test
Attribution
Parts of this package's worktree helpers are adapted from mitsuhiko/agent-stuff. Adapted upstream code is Copyright Armin Ronacher and contributors and licensed under Apache-2.0. Monopi package metadata and surrounding repository files remain MIT licensed.