原始内容
pi-opensrc
Unofficial Pi package for vercel-labs/opensrc.
It makes the opensrc CLI and the opensrc agent skill available to Pi with one command:
pi install npm:pi-opensrc
After restarting Pi, ask for dependency source code, for example:
fetch source for zod and inspect how parsing errors are built
or explicitly load the skill:
/skill:opensrc path zod
What this package does
- Installs the upstream
opensrcnpm package as a dependency. - Exposes the upstream
opensrcskill through Pi's package manifest. - Adds the package-local npm
.bindirectory to Pi'sPATH, so the skill can runopensrc ...from Pi'sbashtool.
Update
pi update npm:pi-opensrc
This package tracks the upstream opensrc npm package. Maintainers can sync to the latest upstream release with:
npm run sync:opensrc
npm version patch
npm publish
Development
npm install
npm run check
npm pack --dry-run
Attribution
This is not an official Vercel package. It redistributes the opensrc skill from vercel-labs/opensrc, which is licensed under Apache-2.0.