Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 2.04 KB

File metadata and controls

36 lines (22 loc) · 2.04 KB

Git Footer Status for Pi

Shows Git state, token use, context use, and model information in Pi’s footer.

Status bar with metrics and git context

What you can do

  • Shows the current Git branch and changed-file state.
  • Displays model, context, token, cost, and every available provider subscription-usage window.
  • Warns about ongoing Git operations or sync state.
  • Refreshes automatically and can also be refreshed on demand.

Install

Install it through Pi:

pi install npm:@firstpick/pi-extension-git-footer-status

Restart Pi if the package does not appear in your current session.

How to use it

The footer appears automatically and updates as you work. In the Web UI, click SYNC to apply pending remote changes: when both pull and push are available, it attempts the fast-forward-only pull first and offers the push only after that pull succeeds. If Push discovers new incoming commits, it switches to the same pull-first workflow instead of offering a force-push. Pull failures open a native popup with deduplicated, selectable, and copyable error output. If local and remote histories diverged, the popup explains that conflicts are not yet known and offers Merge changes (the default), Rebase commits, or Review changes; merge and rebase each require confirmation, and actual conflicts open the Git Changes panel.

  • /git-footer-refresh — refresh the Git and usage information now.
  • /git-footer-visibility — choose which footer items are shown.
  • /git-footer-visibility status — review the current visibility choices.

The visibility screen lets you change the terminal and Web UI separately. Command-line shortcuts for changing several items at once are in the technical reference.

Technical details

See TECHNICAL.md for complete commands, configuration, compatibility, security, and troubleshooting information.