Introduction

In DeepSeek Harness (DSH) development, when handling network requests or API responses, you often need to parse URL query strings into structured objects, or deserialize objects into query strings. Manually writing string splitting and concatenation logic is error-prone and inefficient.

Plugin Introduction

dsh-query-string is a DSH plugin focused on query string processing, maintained by developer uckkk. It is implemented in pure Node.js and provides localized data conversion capabilities, helping agent developers parse URL data without network requests.

Core Features

  • Pure Node.js implementation: Runs with only a Node.js dependency; no network interactions or external service calls.
  • Query string ↔ object: Supports converting URL query parameter strings into object structures, or converting objects into query string format.
  • URL query parsing: Provides standard URL query string parsing capabilities.

Installation and Enablement

To install the plugin, use the official command:

dsh plugin add dsh-query-string

After installation, add "dsh-query-string" to the dsh.profile.bundles field in the profile’s package.json to enable the plugin.

Usage

After installation and enablement, directly invoke the tools registered by the plugin in a session to use the corresponding parsing and conversion features.

Notes

  • The plugin runs locally with the permissions of the current DSH process.
  • Installing it runs third-party code on your machine; review the source code and license yourself.

Conclusion

This plugin simplifies data processing in agent development by providing local query string handling capabilities. For more details, visit the plugin directory or the GitHub repository.