dsh-web-ui
zhu1090093659
Plugin and skin collection for DeepSeek Harness (DSH) Web UI - task board, git graph, right-side panel, remote mobile UI, pet, live token stats, and skin center.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:liuyun847/dsh-client-ui-peak-valley
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
DSH(DeepSeek Harness)Web 客户端插件:在对话框模型选择按钮左侧显示当前 DeepSeek API 的峰/谷价状态。
判定规则(与官方定价一致):高峰时段为北京时间 09:00–12:00、14:00–18:00,其余为空闲(谷)时段。按 Asia/Shanghai 时区计算,不依赖浏览器本地时区;每 30 秒自动刷新,跨时段自动切换。
显示条件:仅当当前会话使用 DeepSeek 官方模型且 API 源为官方(api.deepseek.com)时才显示。判断依据:
deepseek-official 且模型 id 以 deepseek- 开头(经 session.models 查询);llm-deepseek 配置的 baseURL 显式改为非官方地址(经 settings.describe 查询)。使用第三方中转(其他 provider 或自定义 baseURL)时不显示。
在 DSH profile 目录(例如 ~/.dsh/profiles/web/)下:
添加依赖:
// package.json
{
"dependencies": {
"dsh-client-ui-peak-valley": "github:<你的用户名>/dsh-client-ui-peak-valley"
}
}
然后 pnpm install(或 npm install)。
在 cordis.patch.yml 中注册插件行:
- insert:
- id: peak-valley
name: 'dsh-client-ui-peak-valley'
重启 dsh web,刷新页面后生效。
也可以先
npm publish发布到 npm registry,再把依赖改为"dsh-client-ui-peak-valley": "^0.1.0"。
dsh.client 声明(见 package.json)注册为浏览器端插件。conversation.input.right 座位注册 UI——该座位恰好渲染在模型选择按钮(conversation.input.model)的左侧,不替换任何原生 UI。--dsw-alias-state-success-primary / --dsw-alias-state-warn-primary),自动适配浅色/深色主题。# 本地直接安装依赖后即可开发
pnpm install
# 修改 lib/client.js 后,按上述安装方式重新安装/重启生效
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: web-ui。