New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@tmustier/pi-session-hud

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tmustier/pi-session-hud

Persistent session HUD widget for Pi (below-editor bar with git/context/model/activity).

latest
Source
npmnpm
Version
0.1.5
Version published
Maintainers
1
Created
Source

/hud — Session HUD

A Pi extension that adds a persistent heads-up display below the editor (above Pi’s built-in footer).

Demo

Session HUD demo

Full-quality MP4: https://raw.githubusercontent.com/tmustier/pi-session-hud/main/assets/demo.mp4

HUD placement (below editor/input, above footer):

HUD placement

(Hosted on GitHub so npm users see the media in README, but npm install stays small.)

What it shows

  • Activity state (idle / running / tool / error / stale)
  • Session name (or cwd) and first user message fallback
  • Git branch + worktree marker (⎇ name current/total when multiple) + diff stats
  • Context usage (% + tokens)
  • Current model (+ thinking level)

Install

Pi package manager (npm)

pi install npm:@tmustier/pi-session-hud

Pi package manager (git)

pi install git:github.com/tmustier/pi-session-hud

Local clone

Symlink into Pi’s auto-discovered extensions directory:

ln -s ~/pi-session-hud/pi-session-hud.ts ~/.pi/agent/extensions/

Or add to ~/.pi/agent/settings.json:

{
  "extensions": ["~/pi-session-hud/pi-session-hud.ts"]
}

Usage

In Pi:

  • Toggle HUD: /hud
  • Aliases: /status, /header

Notes

  • Uses ctx.ui.setWidget(..., { placement: "belowEditor" }) so it’s not the footer and not a header.
  • Git stats are refreshed every ~10s via git diff --stat HEAD + git status --porcelain.

Changelog

See CHANGELOG.md.

Keywords

pi-package

FAQs

Package last updated on 13 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts