dsh-bailian-coupon: View Aliyun Bailian Voucher Balance in DSH Sidebar
The plugin dsh-bailian-coupon (tagayamajin) permanently displays the remaining balance of Aliyun Bailian (Model Studio) vouchers in the DSH sidebar. It auto-refreshes approximately every 10 minutes. Clicking the badge reveals the total amount, quantity, face value, balance, expiration time, and status of each voucher, and supports directly entering RAM AccessKey within the panel. The data is sourced from the QueryCashCoupons API of BSS OpenAPI, as the Model Key does not support this interface; it requires read-only RAM AK/SK (AliyunBSSReadOnlyAccess is recommended). Additionally, it includes local determination of DeepSeek peak and valley hours (red during peak, green during valley, countdown to the next switch) and configuration options such as a refresh interval ranging from 1 to 1440 minutes. The README provides three installation methods (npm, GitHub, and local path), as well as the local /api/dsh-bailian-coupon/* interface and a troubleshooting table.
Read More