dsh-opencode-go-quota: Display OpenCode Go Quota Beside the DSH Web Input Box
`dsh-opencode-go-quota` is a DSH web plugin designed to address the issues of scattered OpenCode Go quotas, lack of intuitive monitoring, and delayed quota warnings during agent requests. Its core functionalities include displaying a dynamic progress ring next to the chat input box, which shows real-time quota remaining for 5-hour, weekly, and monthly periods. The ring's color changes based on urgency, supports clicking to switch windows and automatic refresh. When the quota reaches a threshold, the plugin injects a one-time reminder into the system prompt as the agent enters a new tier, avoiding repetitive disruptions. The plugin retrieves keys by reading the local `auth.json` or environment variables, calls official APIs to fetch data, and offers multiple configuration options to customize warning thresholds and caching durations. Installation is straightforward, supporting additions via GitHub or local paths.
Read More