Skip to content

Development

From the repository root:

npm test
npm pack --dry-run

npm test checks TypeScript syntax and runs the Node test suite. The pack dry run lists every file that would enter the npm tarball.

The wiki is an independent Astro project so its dependencies do not enter the plugin package:

npm ci --prefix wiki
npm run build --prefix wiki

The production build writes to wiki/dist/.

Keep these behaviors intact:

  • the parent Pi model never changes;
  • Default leaves native resolution unchanged;
  • forced overrides cover tool, slash, delegation, and RPC launches;
  • global state remains shared across processes;
  • session state follows the active branch;
  • management actions remain unmodified.

Read CONTRIBUTING.md before changing behavior or compatibility. Pull requests should include focused verification and no private prompts, credentials, sessions, logs, endpoints, or real configuration.