DeepSeek Harness plugin

dsh-peak-indicator-overact

DeepSeek Peak / Off-Peak Time Indicator for DSH Web GUI (live status, timezone auto-detection, countdown, SVG icons, discount schedule)

Jump to install

Source facts

Repository
overact/dsh-peak-indicator
Latest update
Aug 18, 2026
Category
UI Enhancements
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/overact/dsh-peak-indicator
Plugin: dsh-peak-indicator-overact
Author: overact

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only
README language

dsh-peak-indicator (DeepSeek Peak / Off-Peak Time Indicator)

English | 中文 (Chinese)

DeepSeek Peak / Off-Peak Time Indicator for DSH Web GUI: Real-time pricing window status chip, live countdown, multi-timezone auto-conversion, 24-hour visual schedule timeline, and official DeepSeek V4 API pricing reference table.

---

📖 Overview

Following DeepSeek API's new dynamic pricing policy effective August 17, 2026 00:00 (Beijing Time / UTC+8), API requests during peak hours are billed at regular rates, while off-peak hours enjoy a 50% discount (half price) across cache-hit input, cache-miss input, and output tokens.

dsh-peak-indicator integrates seamlessly into the DeepSeek Harness (DSH) Web GUI to give developers and teams instantaneous awareness of current pricing windows, countdowns to the next schedule switch, and transparent cost references.

---

📸 Visual Previews

1. Header Actions Chip & Floating Capsule Styles

![Header Actions & Floating Capsule Preview](./assets/preview-header.svg)

2. 24-Hour Timeline & Official Pricing Details Modal (with Live Countdown & Quick Settings)

<p align="center"> <img src="./assets/preview-modal.svg" alt="Details Modal Preview" width="600"/> </p>

---

🌟 Key Features

1. Concise & Non-Intrusive Typography: - English labels: Peak Rate & Off-Peak. - Chinese labels: 高峰价 & 平峰. - Balanced compact width that aligns gracefully with session titles, model selectors, and token quota chips.

2. Native Session Header Docking (Zero Overlay Conflict): - Registers via conversation.session.header.actions slot at order 35 (immediately adjacent to the quota chip, safely positioned to the left of the Session Log export button). - Participates in standard flexbox flow layout with zero element overlap. - Optional global floating pill mode (top-right, top-left, top-center).

3. Accurate DeepSeek V4 Peak & Off-Peak Schedule Rules: - Peak Windows: Daily 09:00~12:00 & 14:00~18:00 (Beijing Time / UTC+8). - Off-Peak Windows: Remaining 17 hours (00:00~09:00, 12:00~14:00, 18:00~24:00), where all tokens are discounted by 50%. - Focus on V4 Flagship Models: Comprehensive pricing table covering DeepSeek-V4-Flash-0731 and DeepSeek-V4-Pro-0813.

4. Multi-Timezone Auto-Detection & Dual Clocks: - Automatically detects user browser local timezone and UTC offset. - Concurrently displays Local Time and Beijing Time (UTC+8), automatically converting schedule switches to the user's local wall clock.

5. Live Per-Second Countdown: - Live ticker displaying the remaining duration until the next schedule transition (e.g., To Peak in 02:28:15 / To Off-Peak in 01:14:02).

6. Interactive 24-Hour Visual Schedule Timeline: - Click the indicator chip to open a details modal. - View a full 24-hour visual bar with color-coded segments (🟢 Green for Off-Peak, 🟠 Orange for Peak) and a real-time cursor showing current progress through the day. - Hover over segments or the cursor pin for precise time ranges.

7. Native DSH Internationalization (i18n): - Registers dictionary via ctx.locale (dsh-peak-indicator). - Automatically follows DSH system language preferences with live hot-switching support.

8. Sidebar Footer Quick-Access Action: - Mounts a status dot at the right edge of the sidebar footer (sidebar.footer.action, order 1000) without disturbing existing action buttons.

---

📊 DeepSeek V4 Official Pricing Reference

ModelBase Input (Miss)<br>*(Off-Peak / Peak)*Cache Hit Input<br>*(Off-Peak / Peak)*Model Output<br>*(Off-Peak / Peak)*
DeepSeek-V4-Flash¥1.50 / ¥3.00¥0.05 / ¥0.10¥4.50 / ¥9.00
DeepSeek-V4-Pro¥4.50 / ¥9.00¥0.15 / ¥0.30¥13.50 / ¥27.00

Prices in CNY (¥) per 1 Million Tokens.

---

🚀 Installation & Profile Configuration

1. In ~/.dsh/profiles/web/package.json

Add the dependency:

{
  "dependencies": {
    "dsh-peak-indicator": "link:/path/to/dsh-peak-indicator"
  },
  "dsh": {
    "profile": {
      "bundles": [
        "@deepseek-ai/dsh-base",
        "@deepseek-ai/dsh-web-app",
        "dsh-peak-indicator"
      ]
    }
  }
}

2. Auto-Mounting via cordis.patch.yml

The plugin provides its own bundle patch declaration, which is automatically merged into the profile roster upon launch.

---

📄 License

MIT License.