← Catalog

@shelken/pi-execution-time

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

Extension

Install

Install with PiG

pig install npm:@shelken/pi-execution-time

Install with Pi

pi install npm:@shelken/pi-execution-time
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/execution-time.ts"
  ]
}

README

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

@shelken/pi-execution-time

Fork of lukaspanni/pi-execution-time. Keeps timing history from triggering model turns when Pi starts a run.

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/shelken/pi-execution-time

From npm:

pi install npm:@shelken/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