DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-plugin-minimax-usage

o

dsh-plugin-minimax-usage

Manifest valid1

DeepSeek Harness plugin: MiniMax Coding Plan quota monitor with progress bars in sidebar

UI (client)hasBundlePatch

📊 MiniMax Quota Monitor

A DeepSeek Harness plugin that displays your MiniMax Coding Plan quota usage directly in the sidebar.

DeepSeek Harness Plugin DSH Client Plugin npm compatible MIT License

English · 中文 · 日本語 · Español


✨ Features

  • 5-Hour Quota Bar — real-time progress of your current interval remaining
  • Weekly Quota Bar — weekly allowance usage at a glance
  • Reset Countdown — shows exactly when each window resets (e.g. 重置于 2h 17m)
  • Collapsible Panel — click the arrow to collapse/expand; collapsed state shows a compact summary
  • Auto Refresh — updates every 60 seconds via server-side cache
  • Sidebar Integration — renders in sidebar.footer.action, right above the Settings button
  • Lightweight — pure React.createElement, no CSS frameworks, no external images

📸 Preview

┌──────────────────────────────┐
│  ▼ MINIMAX                   │
│  5 小时   42 / 100 (42%)     │
│  ████████████░░░░░░░░░░░░░░  │
│  重置于 2h 17m                │
│  本周     78 / 100 (78%)     │
│  ████████████████████████░░  │
│  重置于 3d 12h               │
└──────────────────────────────┘
       ↕ click to toggle
┌──────────────────────────────┐
│  ▶ MINIMAX  5h: 42% · 周: 78%│
└──────────────────────────────┘

🚀 Installation

Quick Install (recommended)

cd ~/.dsh/profiles/web
npm link /path/to/this/plugin
# then add the patch entry (see below)

Using pnpm

cd ~/.dsh/profiles/web
pnpm add /path/to/this/plugin

Via npm registry (when published)

cd ~/.dsh/profiles/web
pnpm add @dsh-external/minimax-usage

1. Add to cordis.patch.yml

Append this to ~/.dsh/profiles/web/cordis.patch.yml:

- insert:
    - id: minimax-usage
      name: '@dsh-external/minimax-usage'

2. Set your API key

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.

3. Restart & Refresh

# Restart the DSH web server
dsh web
# Hard-refresh your browser (Cmd+Shift+R / Ctrl+Shift+R)

⚙️ Configuration

Environment VariableDescriptionDefault
MINIMAX_API_KEYYour 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.

🏗️ Architecture

┌─────────────────────────────────┐
│  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            │
└─────────────────────────────────┘

🤝 Contributing

  1. Fork this repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📝 Notes

  • The MiniMax API's 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.
  • The end_time, start_time, weekly_end_time, and weekly_start_time fields are unix-millisecond timestamps despite the field names.
  • Quota percentages are reported by the API as 0–100 integers.

📋 DSH Plugin Manifest

This plugin is designed for DeepSeek Harness and follows the DSH npm-package plugin format:

  • dsh.bundle.patch — Cordis patch file for automatic registration
  • dsh.client.inject — No external service dependencies
  • dsh.client.platformweb (browser-only client)
  • Slotsidebar.footer.action

Tags / Keywords

deepseek-harness · dsh · dsh-plugin · dsh-client-plugin · minimax · quota · usage-monitor · sidebar · coding-plan

📜 License

MIT © 2026 ovensi


Built for DeepSeek Harness 🚀

Comments

Loading…

From the same category

deepseek-harness

by deepseek-ai

DeepSeek Harness: Everything is a Plugin.

Development & InfrastructureWorkflow & Automation

234.5k

MIT

TypeScript

Sep 23, 2026

Index only — not installable

by nexu-io

🎨 Best DeepSeek Harness Design Plugin. The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards,

Development & InfrastructureTerminal & ClientsUI & ExperienceManifest valid

97.9k

Apache-2.0

TypeScript

Sep 24, 2026

Index only — not installable

by tt-a1i

Agent skill for beautiful, verifiable architecture, workflow, sequence, data-flow, and lifecycle diagrams—self-contained HTML with motion and crisp export.

Workflow & AutomationTools & CapabilitiesDevelopment & InfrastructureManifest valid

70.7k

3.5k/wk

MIT

JavaScript

Sep 24, 2026

dsh plugin --profile agent add @tt-a1i/archify-dsh

by Tencent

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

Development & InfrastructureTools & CapabilitiesManifest valid

29.4k

838/wk

NOASSERTION

Go

Sep 24, 2026

dsh plugin --profile web add @wxg-prc-cpg/dsh-weknora

by awesome-dsh-plugin

A curated list of plugins for DeepSeek Harness (dsh) · DeepSeek Harness 插件精选列表

Development & Infrastructure

16.8k

CC0-1.0

Python

Sep 24, 2026

Index only — not installable

by zhu1090093659

DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop

Tools & CapabilitiesTerminal & ClientsDevelopment & InfrastructureModels & ProvidersUI & ExperienceManifest valid

8k

Apache-2.0

TypeScript

Sep 24, 2026

dsh plugin --profile web add dsh-web