@hk_net/pi-timestamp
Pi extension that shows timestamps for user input and agent completion timing
Package details
Install @hk_net/pi-timestamp from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@hk_net/pi-timestamp- Package
@hk_net/pi-timestamp- Version
0.1.2- Published
- Jun 23, 2026
- Downloads
- 68/mo · 68/wk
- Author
- hk_net
- License
- EUPL-1.2
- Types
- extension
- Size
- 17.5 KB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"./timestamp.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-timestamp
Shows timestamps for user input and agent completion timing.
What it does
- User input: Shows
Sent HH:MM:SSas a dim status line in the chat display after each user message - Agent completion: Shows
Done at HH:MM:SS · durationas a dim status line in the chat display after each agent turn (e.g.,Done at 14:32:05 · 3.2s)
All timestamps are display-only — they are shown via Pi's UI notification/status rendering and never enter the LLM context.
Display behavior
Timestamps appear inline in the chat display, similar to Pi's built-in tool timing lines such as Took 1.9s. They are not appended to the session as user or custom messages, so they do not pollute the model context.
Installation
pi install npm:@hk_net/pi-timestamp
Or copy manually:
mkdir -p ~/.pi/agent/extensions
cp packages/pi-timestamp/timestamp.ts ~/.pi/agent/extensions/timestamp.ts
Duration measurement
Captured from agent_start (when the model starts processing) to agent_end (when all tool calls and model processing are done).