pi-deepseek-peak

Pi extension showing DeepSeek peak hour status in the status bar

Packages

Package details

extension

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

$ pi install npm:pi-deepseek-peak
Package
pi-deepseek-peak
Version
1.2.0
Published
Jul 29, 2026
Downloads
not available
Author
psychobarge
License
MIT
Types
extension
Size
11.6 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./extensions"
  ],
  "image": "./screenshot.png"
}

Security note

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

README

pi-deepseek-peak

Pi extension that shows DeepSeek peak hours in the TUI status bar.

DeepSeek API pricing varies by time of day. Peak hours are more expensive. This extension adds a persistent status indicator so you know when you are in a peak window.

Features

  • Status bar indicator: "DS Peak" or "DS Normal"
  • Configurable UTC offset for your timezone
  • Auto-refresh every 5 minutes
  • Uses theme colors (warning for peak, success for normal)
  • Thats it

Install

pi install npm:pi-deepseek-peak

Restart pi or run /reload to activate.

Usage

Once installed, the status bar shows the current DeepSeek pricing period.

UTC offset

Peak hours are defined in UTC (01:00-04:00 and 06:00-10:00). Set your local UTC offset so the indicator matches your timezone:

/dsp-offset 2      # set UTC+2 (France summer, default)
/dsp-offset 1      # set UTC+1 (France winter)
/dsp-offset -5     # set UTC-5 (US Eastern)
/dsp-offset        # show current offset

The offset is saved to ~/.pi/agent/deepseek-peak.json and persists across restarts.

How it works

On session start, the extension reads the configured offset, computes the local hour, and displays either "DS Peak" or "DS Normal" in the pi status bar. A timer refreshes the indicator every 5 minutes.

Peak windows (after offset): 03:00-06:00 and 08:00-12:00 local time at default UTC+2.

Changelog

See CHANGELOG.md for version history.

License

MIT