Introduction

The plugin ecosystem of DeepSeek Harness (DSH) provides extensibility for agent development. When processing video content, obtaining the exact file size is a common requirement that helps control context windows or perform resource management. The dsh-video-size plugin provides the ability to obtain this information directly.

Plugin Introduction

Name: dsh-video-size
Maintainer: uckkk
Category: Online Tools
License: MIT

This plugin is used to calculate video file sizes, supporting precise calculation by parameters and returning detailed results. Its core implementation is based on Node.js and does not depend on external network resources.

Installation and Activation

Use the official installation command to add the plugin:

dsh plugin add github:uckkk/dsh-video-size

After installation, the plugin will take effect in the current session.

Typical Usage

In a session, you can use it by calling the tool registered by this plugin. The plugin calculates the video size based on the input parameters and returns the result.

Notes

  • Runtime environment: The plugin runs with the permissions of the current DSH process. Ensure that you have read access to the target file.
  • Source code review: Although the license is MIT, it is recommended to review the source code implementation before using it in production.
  • Network dependency: This plugin is a pure Node implementation and has no network dependency.

Summary

dsh-video-size is a lightweight video file size calculation tool, suitable for scenarios where media file information needs to be retrieved dynamically within agent workflows. For more details, please refer to the GitHub repository.