@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.0- Published
- Jun 18, 2026
- Downloads
- not available
- Author
- hk_net
- License
- EUPL-1.2
- Types
- extension
- Size
- 17.6 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:SSafter each user message - Agent completion: Shows
Done at HH:MM:SS · durationafter each agent turn (e.g.,Done at 14:32:05 · 3.2s)
All timestamps are display-only — they are sent as custom messages that never enter the LLM 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).