← Catalog

@zigai/pi-footer

Pi package that replaces Pi's footer with a compact status line.

Extension

Install

Install with PiG

pig install npm:@zigai/pi-footer

Install with Pi

pi install npm:@zigai/pi-footer
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "image": "https://raw.githubusercontent.com/zigai/pi-tweaks/master/extensions/pi-footer/assets/footer.png",
  "extensions": [
    "./src/index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 0.8.0 (README.md). PiG does not review it.

npm version npm downloads license

A minimalistic, single-line replacement for Pi's footer.

Pi Footer screenshot

Footer contents:

  • current working directory
  • git branch, with optional upstream ahead/behind counts
  • provider and model
  • thinking level
  • MCP status
  • context usage

Install

pi install npm:@zigai/pi-footer

Configuration

Global settings are stored in ~/.pi/agent/extension-settings/pi-footer.json.

OptionTypeDefaultDescription
separatorstring"·"Text placed between visible footer slots.
showGitAheadBehindbooleanfalseShow upstream commit counts (↑ahead ↓behind) beside the branch. Hidden when the branch has no upstream.
layout.leftstring[]See JSON belowFooter slot IDs shown on the left in display order.
layout.rightstring[]See JSON belowFooter slot IDs shown on the right in display order.
layout.hiddenstring[][]Footer slot IDs hidden from both sides.
{
  "$schema": "./schemas/pi-footer.schema.json",
  "separator": "·",
  "showGitAheadBehind": false,
  "layout": {
    "left": [
      "path",
      "branch",
      "provider",
      "model",
      "thinking"
    ],
    "right": [
      "context"
    ],
    "hidden": []
  }
}

Extension API

Other extensions can register custom footer slots through @zigai/pi-footer/api.

import { registerFooterSlot } from "@zigai/pi-footer/api";

const status = registerFooterSlot({
  id: "my-extension.status",
  defaultSide: "right",
  text: "ready",
});

status.setText("working");
status.clear();
status.dispose();

License

MIT