Skip to content

johnnygreco/pizza

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

62 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ• 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

About

๐Ÿ• pizza โ€“ย pi with extra toppings

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors