DSH Calculator: Providing Deterministic Mathematical Evaluation for Agents

DSH Calculator (qqiqiq/dsh-calculator) is a DSH plugin maintained by QqiqiQ. It registers a `calculate` tool via a handwritten parser (without eval) to address agents' mental calculation and floating-point drift issues. It supports batch expressions, matrix operations, numerical integration and differentiation, and an exact decimal mode for currency. Installation requires using the official tgz package URL and restarting the dsh web interface. MIT licensed, current package version 1.2.0.

Read More
bobcat848/dsh-calculator: View DeepSeek API Costs and Balance in the DSH Web GUI

dsh-calculator is a DSH web plugin designed to centrally display DeepSeek API costs and account balance. It provides a collapsible floating card in the upper-right corner of the GUI, showing per-model costs for the current session, cumulative costs for the day (reset at midnight local time), and account balance (cached for 30 seconds). The plugin only bills traffic routed through `deepseek-official`, applies Beijing peak-valley pricing with half-price on weekends for the entire day, and supports both Chinese and English interfaces. Installation can be performed online via curl or PowerShell, or by cloning the repository and running local scripts, writing to the plugin directory, updating the configuration, and restarting DSH web. If the API key is missing, the balance display will show an error, but the cost panel functions normally. The plugin estimates costs and is subject to the current dsh process privileges.

Read More