Introduction

The plugin-based ecosystem of DeepSeek Harness (DSH) allows developers to extend the capabilities of agents. When handling large amounts of log context, directly inspecting or calculating the log volume is often not intuitive, which can easily lead to uncontrolled Token consumption or exceeding the context window. The dsh-log-volume plugin provides precise estimation of log volume.

Plugin Introduction

This plugin is maintained by uckkk under the MIT license. The author is istone.

Core Features

  1. Log Volume Estimation: Supports precise calculation by parameters and returns detailed results.
  2. No Network Dependency: Implemented in pure Node.js, with no external network requests.

Installation and Enablement

Run the following command in the terminal to install the plugin:

dsh plugin add github:uckkk/dsh-log-volume

After installation, you can use the plugin by calling the tool it registers in a DSH session.

Notes

  • Dependency Requirements: The plugin requires @deepseek-ai/cordis ^4.0.1 and @deepseek-ai/dsh-tools >=0.1.0-rc.6.
  • Permissions and Compliance: The plugin runs with the permissions of the current DSH process. Before use, it is recommended to check the source code implementation and license (MIT) to ensure compliance with the security and compliance requirements of your local environment.