pi-execution-time

Pi extension that shows prompt execution time in the footer while the agent works.

Packages

Package details

extension

Install pi-execution-time from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-execution-time
Package
pi-execution-time
Version
0.3.0
Published
Nov 1, 2026
Downloads
545/mo · 401/wk
Author
lukaspanni
License
MIT
Types
extension
Size
9.7 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./extensions/execution-time.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-execution-time

pi package that adds live task and session timers.

The task timer starts when a prompt begins running and counts up until the agent finishes. A separate session timer keeps counting from session start. Both render as compact status items in the bottom bar next to pi's built-in cost and context usage indicators.

Install

From GitHub:

pi install https://github.com/lukaspanni/pi-execution-time

From npm after publishing:

pi install npm:pi-execution-time

Usage

Reload or restart pi after installation. When the agent is working, the footer shows a live timer:

⏱ 4.2s

When the agent finishes, it keeps the final duration and completion time visible:

✓ task 18s · 17:42

The bottom bar also shows the total elapsed session time and keeps updating it every second:

Σ session 12m 04s

Completed standard user prompts are rendered above the next standard user prompt:

✓ step 1 18s · 17:42

Steering messages are ignored for step history. Longer durations are formatted as 1m 05s or 1h 02m 03s. Completion time is shown as local HH:mm.

Local development

npm install
npm run validate
pi -e ./extensions/execution-time.ts

Package contents

  • extensions/execution-time.ts - registers the footer status timer

License

MIT