In the development context of DeepSeek Harness (DSH), agents sometimes need to handle local file paths or perform pattern matching. Writing Shell scripts directly or relying on external APIs can increase system complexity and dependencies. The dsh-glob plugin provides a lightweight local solution.

What Is It

dsh-glob is a Glob pattern matching tool. It is maintained by istone and implemented in pure Node.js. The plugin does not depend on a network or external services and can be run locally.

Core Features

  • Pure Node.js implementation, no network and no external services
  • After installation, invoke the tools registered by the plugin in a session

Installation and Enablement

Run the following command to install the plugin:

dsh plugin add dsh-glob

After installation, configure it in the profile’s package.json:

{
  "dsh.profile.bundles": [
    "dsh-glob"
  ]
}

Typical Usage

After installation, invoke the tools registered by the plugin in a session.

Applicable Scenarios and Notes

This plugin runs third-party code locally with the permissions of the current DSH process. Please review the source code yourself before installation. The plugin is licensed under the MIT License.

Conclusion

dsh-glob provides DSH developers with local pattern matching capabilities, helping simplify agents’ file processing logic. The related source code and documentation are available at the links below.