dsh-webui-perf
awa-123-cw
DeepSeek Harness WebUI 性能优化开关插件:长代码流式渲染/历史加载/高亮缓存优化,设置面板一键开关(with official-package patches)
PROJECT TOPICS
PROJECT README
A DeepSeek Harness plugin that displays your MiniMax Coding Plan quota usage directly in the sidebar.
重置于 2h 17m)sidebar.footer.action, right above the Settings button┌──────────────────────────────┐
│ ▼ MINIMAX │
│ 5 小时 42 / 100 (42%) │
│ ████████████░░░░░░░░░░░░░░ │
│ 重置于 2h 17m │
│ 本周 78 / 100 (78%) │
│ ████████████████████████░░ │
│ 重置于 3d 12h │
└──────────────────────────────┘
↕ click to toggle
┌──────────────────────────────┐
│ ▶ MINIMAX 5h: 42% · 周: 78%│
└──────────────────────────────┘
cd ~/.dsh/profiles/web
npm link /path/to/this/plugin
# then add the patch entry (see below)
cd ~/.dsh/profiles/web
pnpm add /path/to/this/plugin
cd ~/.dsh/profiles/web
pnpm add @dsh-external/minimax-usage
Append this to ~/.dsh/profiles/web/cordis.patch.yml:
- insert:
- id: minimax-usage
name: '@dsh-external/minimax-usage'
The plugin reads MINIMAX_API_KEY from ~/.zshrc.secret (or your shell secrets file):
# In ~/.zshrc.secret or ~/.bashrc.secret
export MINIMAX_API_KEY="your-minimax-api-key-here"
Get your API key from MiniMax Open Platform.
# Restart the DSH web server
dsh web
# Hard-refresh your browser (Cmd+Shift+R / Ctrl+Shift+R)
| Environment Variable | Description | Default |
|---|---|---|
MINIMAX_API_KEY |
Your MiniMax API key | (required) |
The API key is loaded at request time from ~/.zshrc.secret via source. If the key is not set, the plugin will display an error message in the sidebar instead of crashing.
┌─────────────────────────────────┐
│ Host (Node.js) │
│ lib/index.js │
│ ├─ registers /api/minimax/quota│
│ ├─ reads MINIMAX_API_KEY │
│ ├─ calls MiniMax REST API │
│ └─ 60s server-side cache │
└──────────┬──────────────────────┘
│ fetch('/api/minimax/quota')
▼
┌─────────────────────────────────┐
│ Client (Browser) │
│ lib/client.js │
│ ├─ Slot: sidebar.footer.action │
│ ├─ Collapsible QuotaCard │
│ └─ 60s auto-refresh │
└─────────────────────────────────┘
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)remains_time / weekly_remains_time fields are unreliable (may return ~96 days for a 5h window). This plugin derives reset countdowns from end_time - Date.now() instead, which is accurate.end_time, start_time, weekly_end_time, and weekly_start_time fields are unix-millisecond timestamps despite the field names.This plugin is designed for DeepSeek Harness and follows the DSH npm-package plugin format:
dsh.bundle.patch — Cordis patch file for automatic registrationdsh.client.inject — No external service dependenciesdsh.client.platform — web (browser-only client)sidebar.footer.actiondeepseek-harness · dsh · dsh-plugin · dsh-client-plugin · minimax · quota · usage-monitor · sidebar · coding-plan
MIT © 2026 ovensi
Built for DeepSeek Harness 🚀
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。