DeepSeek Harness (DSH) adopts a plugin-based architecture. When developing agents or automation workflows, directly calculating live bitrate often requires calling external APIs, which can increase latency or introduce the risk of network failures. This article introduces a plugin developed by uckkk for performing bitrate calculation locally.

What is it

dsh-live-bitrate is a DSH plugin focused on live bitrate calculation. It is a pure Node.js implementation that does not rely on network requests and executes calculations directly on the local machine.

Core features

  1. Parameter-based precise calculation: performs calculations based on input parameters.
  2. Detailed result output: returns detailed calculation results.
  3. Local execution: no network dependency and implemented purely in Node.js.

Installation and activation

Install it using the official installation command:

dsh plugin add github:uckkk/dsh-live-bitrate

After installation, no additional configuration is required. You can directly invoke the plugin’s registered tool within a DSH session.

Notes

  • Runtime environment: The plugin depends on @deepseek-ai/cordis (^4.0.1) and @deepseek-ai/dsh-tools (>=0.1.0-rc.6). Please ensure that your current DSH environment satisfies these dependency requirements.
  • Network dependency: The plugin has no network dependency, making it suitable for scenarios with special network environment requirements.
  • Security review: Before use, please review the source code and license (MIT) to ensure it meets the security and compliance requirements of your current project.

Summary

dsh-live-bitrate provides a lightweight, network-independent live bitrate calculation solution for the DSH plugin ecosystem. Developers can obtain precise calculation results directly locally.