{
  "title": "pi-statusline",
  "pitch": "A one-line status bar for pi: repo state, model, context, cost, cache and timing.",
  "repo": "https://github.com/Soleone/pi-statusline",
  "env": {
    "PATH": "~/bin:/usr/local/bin:/usr/bin:/bin",
    "PI_OFFLINE": "1"
  },
  "setup": [
    "chmod +x bin/pi bin/git bin/fd bin/rg",
    "node .demo/setup.js",
    "npm install --no-audit --no-fund"
  ],
  "start": "cd project && pi",
  "onTheme": "node .demo/pi-theme.js",
  "welcome": [
    "\u001b[1mpi-statusline\u001b[0m replaces pi's footer with one line: repo, model, context, cost, cache and timing.",
    "This is real pi with the extension. The model is scripted, so it knows a few prompts and needs no key.",
    "pi opens by itself in a small sample project. Press the buttons above, in order:",
    "",
    "  what does this project do?   reads two files: watch context and cost grow",
    "  add a --json flag            edits a file and runs it: the branch turns main*",
    "  /statusline                  the extension's own command",
    "",
    "Change the theme at the top right and pi follows it."
  ],
  "hints": [
    "what does this project do?",
    "add a --json flag",
    "/statusline"
  ],
  "disclosure": "The real pi-statusline runs in a Node.js sandbox in your browser (WebContainers). The model is scripted: it knows a few prompts, nothing is sent anywhere, and the cost shown is what its token counts would cost. A stand-in for git reports the branch and which files changed since the page loaded. Reload to start over."
}
