omp packages

@zigai/pi-footer0.8.0

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

zigai Published 8 days ago MIT ~823 downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

Pi Footer

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.

Option Type Default Description
separator string "·" Text placed between visible footer slots.
showGitAheadBehind boolean false Show upstream commit counts (↑ahead ↓behind) beside the branch. Hidden when the branch has no upstream.
layout.left string[] See JSON below Footer slot IDs shown on the left in display order.
layout.right string[] See JSON below Footer slot IDs shown on the right in display order.
layout.hidden string[] [] 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