omp packages

@shelken/pi-execution-time0.1.0

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

shelken Published 25 days ago MIT ~355 downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

@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