Skip to content

Latest commit

Β 

History

History
84 lines (55 loc) Β· 2.83 KB

File metadata and controls

84 lines (55 loc) Β· 2.83 KB

πŸ• Pizza

Pi with extra toppings β€” an opinionated Pi setup, packaged as a set of extensions.

πŸ“¦ Install

curl -fsSL https://raw.githubusercontent.com/johnnygreco/pizza/main/install.sh | bash

Requires Node.js >= 20.6 and Pi. Installs to ~/.pizza. Each Pizza release declares the minimum Pi version it supports. The installer enforces that floor, and Pizza warns at session start only when Pi is older than it.

# Pin a specific version
curl -fsSL .../install.sh | bash -s -- --version 0.2.0

# Uninstall
curl -fsSL .../install.sh | bash -s -- --uninstall

Set PIZZA_HOME to change the install directory.

🧩 What's in the box

Commands

/pizza β€” Pizza version, Pi compatibility, model, cwd, active theme, banner layout, and context at a glance.

  • /pizza resources β€” print the resources section using the same formatting as the banner.
  • /pizza shortcuts β€” print the shortcuts + prefixes section using the same formatting as the banner.
  • /pizza help β€” show quick usage.

/theme β€” Pick a theme interactively, or /theme <name|next|prev> to switch directly. Pizza's palette follows Pi's active theme.

  • Ctrl+Q β€” cycle theme forward

/create-subagent <description> β€” Generate a reviewable Pizza subagent draft, then run once, keep for session, save permanently, preview context, or cancel.

/subagents β€” Manage subagent definitions, running/recent runs, and the review inbox. Use the subagent tool action activity with a run id to inspect what a running subagent is currently doing.

/remove-subagent <name> β€” Remove a saved or session-scoped subagent. Builtins cannot be deleted.

:<agent-name> <prompt> β€” Shortcut syntax to run an existing subagent directly, e.g. :reviewer review the current diff. Use :reviewer to run with no explicit user prompt.

  • :subagents or :agents list β€” quick list of existing subagents.

Extensions

Pizza now ships only its first-party extensions, including pizza-subagents for scoped delegation. Add third-party Pi extensions separately as you need them.

πŸ› οΈ Development

npm install          # dev deps (includes pi-coding-agent for types)

npm run typecheck
npm test             # vitest
make test-install    # install.sh smoke tests
make test-all        # vitest + install smoke tests

Test a single extension:

pi -e ./extensions/pizza-ui.ts
pi -e ./extensions/pizza-subagents

Test the full package locally:

pi install .

See AGENTS.md for architecture notes and the Pi extension docs for writing your own extensions.

Release

make release VERSION=0.2.0

πŸ“„ License

Apache 2.0