everyx/pi-subagent · 文件
文件最后提交记录最后更新时间
README.md
pi-extensions
A pnpm workspace monorepo of pi extensions. Each package is a plain, independently publishable pi extension.
| Package | What it is | npm |
|---|---|---|
subagent | Minimal sub‑agents for your Pi — two primitives, no noise, no limits. | @everyx/pi-subagent |
Layout
packages/*— one pi extension per directory, each with its ownREADME(ships with the npm package) andpackage.json(pi.extensionsentry).- Shared tooling lives at the root only — biome, TypeScript (one root
tsconfig.jsoncheckingpackages/**), husky, lint-staged. Packages never duplicate dev tooling. - pi dependency versions are declared once in the
catalog:section ofpnpm-workspace.yaml; every package references them withcatalog:in itspeerDependencies.
Development
pnpm install # install the whole workspace
pnpm check # biome lint + format
pnpm typecheck # tsc --noEmit over all packages
pnpm test # run every package's tests
To run a package's own scripts: pnpm --filter <pkg> <script> (e.g. pnpm --filter pi-subagent preview).
Loading a package locally into pi
Link its directory from ~/.pi/agent/extensions/…, then restart pi:
ln -sf $PWD/packages/pi-subagent ~/.pi/agent/extensions/subagent
Releasing
Each package releases independently with semantic-release. Tags are namespaced per package (pi-subagent-v1.2.0). Trigger the Release workflow manually (default is a --dry-run preview); it runs one job per package.