dsh-monitor: Add continuous message monitoring to DeepSeek Harness

dsh-monitor is a DeepSeek Harness (DSH) plugin maintained by AbnerAI and licensed under the MIT License. Its core function is to implement capabilities similar to Claude Code Monitor within DSH by establishing a continuous background watcher to monitor message sources and timely waking up the agent when new content arrives, enabling it to enter the current session and trigger subsequent processing. The plugin provides three tools—`monitor`, `monitor_list`, and `monitor_stop`—for managing the watcher. It supports two types of message sources: the first is `source: file`, which monitors an append-only NDJSON inbox file and triggers a wake-up when a new line is written; and the second is...

Read More
DSH Plugin dsh-monitor: Monitor Daily Token Usage and Peak/Off-Peak Costs for DeepSeek Sessions

dsh-monitor is a native DSH plugin designed for real-time monitoring of DeepSeek session daily token consumption, peak/off-peak priced costs, and interaction status without requiring browser extensions. Its core features include real-time cumulative tracking of input, cache, and output tokens, calculating today's costs based on official pricing (half-price during off-peak hours), counting interaction frequency, average consumption, and quota progress, as well as providing a floating window displaying peak/off-peak status, Beijing time, and one-click report copying. Data is polled every 2 seconds by default, persistently stored in a local JSON file, with historical data retained for 90 days, and data access is provided via the GET /api/dsh-monitor endpoint. Installation requires placing the source code in the profile directory and configuring references and loading items in package.json and cordis.patch.yml.

Read More