The DSH plugin system meets the needs of different scenarios through extended capabilities. When developing agents, external interfaces often return XML-formatted data, or data may need to be stored in XML-structured form. The dsh-xml plugin provides a localized conversion solution without relying on external services.

Functional Positioning

dsh-xml is an online tool-type plugin maintained by uckkk. Its core capability is local bidirectional conversion between XML and JSON. It is implemented in pure Node and does not depend on any network requests or third-party external services.

Installation and Enablement

  1. Install the plugin:
dsh plugin add github:uckkk/dsh-xml
  1. Configure bundles in the project’s package.json:
{
  "dsh.profile.bundles": ["dsh-xml"]
}

Usage

After installation, the plugin registers the corresponding tools. You can invoke these tools directly in a conversation session to complete XML and JSON format conversion.

Technical and Security Notes

  • Runtime mechanism: This plugin is implemented in pure Node, and all conversion logic runs locally.
  • Source code review: Installing means running third-party code on your machine. Be sure to review the source code before installation to ensure it meets your security and compliance requirements.

Summary

dsh-xml is suitable for scenarios that require handling data formats other than JSON. For more information about plugin versions, dependencies, or source code details, refer to GitHub or DSH Directory.