pi-opensrc

内容来源:README.md(说明文档) · 原始地址 · 查看安装指南

原始内容

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 opensrc npm package as a dependency.
  • Exposes the upstream opensrc skill through Pi's package manifest.
  • Adds the package-local npm .bin directory to Pi's PATH, so the skill can run opensrc ... from Pi's bash tool.

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.