DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Client Ui Peak Valley — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
C

dsh-client-ui-peak-valley

Client Ui Peak Valley

DSH Web client plugin: Displays the current peak/off-peak pricing status of DeepSeek API to the left of the model selection button in the dialog (green = off-peak, orange = peak)

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:liuyun847/dsh-client-ui-peak-valley#18903ddab74dfae6a82279c5151269264f648c5b
READMECompatibilityVersions

Compatibility and provenance

Client Ui Peak Valley is published as dsh-client-ui-peak-valley and currently resolves to version 0.1.1. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
9/26/2026

Versions

0.1.1stable
9/26/2026

Related plugins

Loading related plugins…

Latest
0.1.1
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 1
Weekly downloads
0
Last push
10/5/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in models-usage.

Cost Meterdsh-cost-meterDeepSeek Harness session cost statistics plugin: current session cost, today’s charges, historical records, and synchronization with official pricing; supports multi-provider, multi-model price calculation (built-in pricing catalog for 170+ model IDs with automatic matching); queries and displays suCodex Subscriptiondsh-codex-subscriptionUse ChatGPT and Codex subscriptions in DeepSeek Harness with OAuth, quota, safe resets, web search, images, and Fast modeConnect Workbuddydsh-connect-workbuddyConnect locally logged-in WorkBuddy models to DeepSeek Harness, with read-only credit overview and model management.Deepseek Web Logindsh-deepseek-web-loginUnofficial DSH plugin: use chat.deepseek.com web models as a DSH LLM provider (browser login capture + PoW solving + SSE streaming + prompting-based tool calls), provider route deepseek-web

README

dsh-client-ui-peak-valley

DSH(DeepSeek Harness)Web 客户端插件:在对话框模型选择按钮左侧显示当前 DeepSeek API 的峰/谷价状态。

  • 🟢 绿色方块 + 「谷价」:空闲时段
  • 🟠 橙色方块 + 「峰价」:高峰时段

判定规则(与官方定价一致):高峰时段为北京时间 09:00–12:00、14:00–18:00,其余为空闲(谷)时段。按 Asia/Shanghai 时区计算,不依赖浏览器本地时区;每 30 秒自动刷新,跨时段自动切换。

显示条件:仅当当前会话使用 DeepSeek 系列模型且来源为 官方 API 或 opencode-go 网关时才显示。判断依据:

  • 模型 id 以 deepseek- 开头(经 session.models 查询);
  • 来源为以下任一:
    • 官方适配器 deepseek-official,且未将 llm-deepseek 配置的 baseURL 显式改为非官方地址(经 settings.describe 查询)——不查 baseURL 时视为官方;
    • 自定义网关 provider opencode-go(视为官方 DeepSeek 中转,直接显示)。

使用其他第三方 provider(如 ww)或自定义 baseURL 时,除非模型为 deepseek-* 且来源满足上述条件,否则不显示。

安装

在 DSH profile 目录(例如 ~/.dsh/profiles/web/)下:

  1. 添加依赖:

    // package.json
    {
      "dependencies": {
        "dsh-client-ui-peak-valley": "github:liuyun847/dsh-client-ui-peak-valley"
      }
    }
    

    然后 pnpm install(或 npm install)。

  2. 在 cordis.patch.yml 中注册插件行:

    - insert:
        - id: peak-valley
          name: 'dsh-client-ui-peak-valley'
    
  3. 重启 dsh web,刷新页面后生效。

也可以先 npm publish 发布到 npm registry,再把依赖改为 "dsh-client-ui-peak-valley": "^0.1.1"。

工作原理

  • 通过 dsh.client 声明(见 package.json)注册为浏览器端插件。
  • 在 conversation.input.right 座位注册 UI——该座位恰好渲染在模型选择按钮(conversation.input.model)的左侧,不替换任何原生 UI。
  • 颜色使用主题 token(--dsw-alias-state-success-primary / --dsw-alias-state-warn-primary),自动适配浅色/深色主题。

开发

# 本地直接安装依赖后即可开发
pnpm install
# 修改 lib/client.js 后,按上述安装方式重新安装/重启生效

License

MIT