Introduction¶
DeepSeek Harness (DSH) adopts the design philosophy of “everything is a plug-in” and emphasizes modular extension. In agent development involving photography parameter calculations, equivalent focal length conversion is a common requirement. The dsh-crop-factor plugin provides the tools to solve this problem.
Plugin Introduction¶
This plugin is maintained by uckkk and is designed to provide equivalent focal length conversion for DSH sessions. It is implemented in pure Node and does not rely on network requests.
Core Features¶
- Equivalent Focal Length Conversion: Performs precise calculations based on parameters and returns detailed results.
- No Network Dependency: Implemented in pure Node, ensuring stable execution.
Installation and Enablement¶
To install this plugin, run the following command:
dsh plugin add github:uckkk/dsh-crop-factor
After installation, the plugin will automatically register its related tools.
Typical Usage¶
After successful installation, you can simply use the tool registered by this plugin directly in a DSH session.
Applicable Scenarios and Precautions¶
- Applicable Scenarios: Suitable for scenarios that require automatic calculation of a lens’s equivalent focal length, such as photography-assistance agents.
- Dependency Check: This plugin depends on
@deepseek-ai/cordis(^4.0.1) and@deepseek-ai/dsh-tools(>=0.1.0-rc.6). - Permissions Notice: Because the plugin runs with the permissions of the current DSH process, it is recommended to review the source code and license (MIT) before installation.
Conclusion¶
This plugin provides basic mathematical calculation capabilities for the DSH ecosystem and is well-suited for specific vertical use cases. You can consult the plugin directory or source code for more details.