Introduction¶
In the DeepSeek Harness (DSH) plugin ecosystem, handling URLs is a common requirement. Whether extracting parameters from long links or assembling request addresses from fields, explicit tools are needed. The dsh-url plugin provides these two basic capabilities.
Plugin Overview¶
dsh-url is a pure Node.js plugin maintained by developer uckkk. It belongs to the network tools category. Its core function is helping agents decompose URLs into structured components or reconstruct URLs using parameters.
Core Features¶
The plugin provides the following tools:
- parse_url: Parses a URL and returns the protocol, host, port, path, and query parameters.
- build_url: Builds a URL from provided parameters.
Installation and Enablement¶
Run the following command in the terminal to install it:
dsh plugin add github:uckkk/dsh-url
After installation, add "dsh-url" to the dsh.profile.bundles field in the profile’s package.json file.
Typical Usage¶
After installation, the tools registered by this plugin can be invoked in a DSH session.
For example, parse the query parameters of an address:
Parse the query parameters of this address
→ Call parse_url(url="https://a.com/p?x=1&y=2")
Use Cases and Notes¶
As a plugin that runs locally, dsh-url executes third-party code during installation. Be sure to review its source code and license (MIT) before use. This plugin belongs to the network tools category.
Conclusion¶
dsh-url solves the basic URL handling problem in agent development. For more plugin information, refer to the DSH catalog or the source repository on GitHub.