← Catalog

@semanaut/zpi-tps-footer

pi extension: live model output speed (tokens/s) in the footer — the current generation rate, measured continuously and always visible after the model name, plus the session id; developed against the pi version given by the piVersion field

Package

Install

Install with PiG

pig install npm:@semanaut/zpi-tps-footer

Install with Pi

pi install npm:@semanaut/zpi-tps-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.

{
  "extensions": [
    "./extensions/*.ts"
  ]
}

README

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

Live model output speed (tokens/s) in the pi footer, plus the session id.

The headline feature is the throughput readout: while the model is generating, every completed token is counted and the current output rate — <t/s> — is displayed after the model name, updating live. It is always rendered (NULL t/s only before the first measurement), so you can watch how fast your model actually streams.

Replaces pi's built-in footer via ctx.ui.setFooter() and reproduces it, adding exactly two elements:

  • line 2, after the model name: • <t/s> — the live output rate
  • line 1, right-aligned: the session id

Install

pi install npm:@semanaut/zpi-tps-footer