Introduction¶
DeepSeek Harness (DSH) uses an “everything is a plugin” architecture, allowing developers to extend agent capabilities by installing plugins. In photography parameter planning scenarios, ND filter shutter time calculation is a high-frequency requirement and typically requires precise calculation based on aperture, ISO, and shutter time.
The dsh-nd-filter plugin provides a direct calculation interface for this, eliminating the need to manually write mathematical formulas and enabling results to be obtained directly in the session.
Plugin Positioning¶
dsh-nd-filter is an auxiliary tool for ND filter shutter calculation.
- Maintainer: uckkk
- Core value: Precisely calculates shutter time under ND filters based on input parameters (such as ISO, aperture, base shutter, etc.) and returns detailed calculation results.
- Technical implementation: Implemented in pure Node.js, with no network dependencies at runtime.
Core Features¶
The plugin registers a tool named nd_filter.
- nd_filter: ND filter shutter calculation. Supports precise calculation by parameters and returns detailed results.
Installation and Dependencies¶
Before installing this plugin, please ensure your environment meets the following dependency requirements:
@deepseek-ai/cordisversion >= 4.0.1@deepseek-ai/dsh-toolsversion >= 0.1.0-rc.6
The installation command is as follows:
dsh plugin add github:uckkk/dsh-nd-filter
After installation, the plugin will take effect in the current DSH session.
Typical Usage¶
After installation, directly use the tool registered by the plugin in conversations or tool calls.
# 在会话中调用 nd_filter 工具
nd_filter [参数...]
Applicable Scenarios and Precautions¶
- Applicable scenarios: Photography parameter planning, exposure calculation in ND filter usage scenarios.
- Runtime permissions: This plugin runs with the permissions of the current DSH process.
- Security note: Although the license is MIT, it is recommended to review the source code before using it in production environments to ensure compliance with your security requirements.
Conclusion¶
For agent development that needs to handle photography parameters, dsh-nd-filter provides a lightweight and network-independent calculation solution. See the GitHub repository or the DSH plugin catalog for more details.