Introduction¶
DeepSeek Harness (DSH) supports plugin extensions, but plugins themselves cannot directly access the state of local CLIs. When you are developing with the Qianwen CLI, login status, token expiration, subscription plans, and other information are scattered across CLI output, requiring manual checking or memorization, which makes it easy to miss critical status updates. This plugin aggregates CLI status onto the DSH settings page for centralized viewing and management.
What It Is¶
dsh-qianwen-status-dashboard is a DeepSeek Harness plugin that displays the local Qianwen CLI status on the settings page. It is maintained by tobeychan under the MIT License. The plugin reads CLI authentication status, remaining token time, subscription plan, and monthly quota, and provides assisted re-login functionality after token expiration.
Core Features¶
Login Status & Authentication¶
The plugin reads and displays CLI authentication status, including:
- Logged in / Logged out status
- Account ID
- Server verification result
Token Countdown¶
Displays the token expiration time and a real-time countdown:
- Expiration time
- Remaining countdown
- Warning prompts before or after expiration
Subscription Plan¶
Shows Qianwen subscription information:
- Current plan type (Individual / Team)
- Plan status
- Remaining days
- Auto-renewal toggle
Monthly Quota¶
Displays monthly quota usage:
- Total quota
- Usage percentage (with progress bar)
- Reset time
Assisted Re-login¶
After token expiration, the plugin provides automatic detection and one-click authorization:
- Checks authentication status in the background every 5 minutes
- Displays a login banner when the token has expired or is about to expire (within 2 hours)
- Generates an authorization link with copy support
- Polls in the background to complete the login flow
- Automatically restores to logged-in state upon successful login
Installation & Enablement¶
In DeepSeek Harness, go to Plugins → Add plugin and install using the npm package name:
dsh-qianwen-status-dashboard
Or install directly from the latest GitHub Release tarball:
https://github.com/tobeychan/dsh-qianwen-status-dashboard/releases/latest/download/dsh-qianwen-status-dashboard.tgz
After installation, open the settings page and select “Qianwen Status Dashboard” from the left navigation to view it.
Typical Usage¶
- After installing the plugin, go to the settings page and select “Qianwen Status Dashboard.”
- The page automatically reads CLI status and displays it, then refreshes every 60 seconds.
- To refresh immediately, click the “Refresh” button.
- If a refresh fails, an error message is displayed and the last successful snapshot is retained.
- When the token has expired or is about to expire, a login banner is displayed on the page.
- Click the “Generate Authorization Link” button, copy the link to your browser, and complete authorization.
- Background polling detects the confirmation and automatically completes the login; the page restores to the logged-in state.
Use Cases & Notes¶
- Suitable for developers who need to continuously monitor Qianwen CLI status during development.
- The plugin runs with the permissions of the current DSH process; ensure DSH has permission to access the CLI.
- Login still requires manual confirmation in the browser; the plugin cannot automatically complete authorization.
- Device codes have a short validity period; please complete confirmation before the link expires.
- The plugin does not modify subscription plans or token validity—it only displays the status returned by the CLI.
- It is recommended to review the source code and license before installation to ensure it fits your use case.
Conclusion¶
This plugin centrally displays Qianwen CLI status on the DSH settings page and provides assisted login functionality after token expiration. It is suitable for developers who need to continuously monitor CLI status during development. The plugin does not store credentials, does not modify subscriptions, and only reads status information from the CLI.
- Directory: https://www.skillhub.cn/plugins/tobeychan/dsh-qianwen-status-dashboard
- GitHub: https://github.com/tobeychan/dsh-qianwen-status-dashboard