DeepSeek Harness TTS Chat Answer Plugin

Introduction

In conversational agent development, every assistant response needs to be logged and reviewed. Existing logs are typically text-based, lacking auditory replay capabilities. DeepSeek Harness (DSH) leverages a plugin-based architecture to make this capability available as an extensible component. Below is an introduction to a plugin focused on converting assistant responses into speech and storing them locally.

Plugin Overview

dsh-tts-chat-answer is a DSH client plugin developed by maintainer VladimirCores. It converts each completed assistant response into speech (using Edge TTS), saves it as a local MP3 file, and provides playback and deletion operations.

Installation & Activation

Via the Plugin Marketplace

If you are using the DSH plugin marketplace, you can first add an index source:

https://vladimircores.github.io/dsh-tts-chat-answer/index.json

Then search for dsh-tts-chat-answer in the plugin list and install it to activate.

Via the Command Line

Install from npm:

dsh plugin --profile web add dsh-tts-chat-answer

Install from GitHub (no build step required):

dsh plugin --profile web add github:VladimirCores/dsh-tts-chat-answer

Install from a local checkout:

cd /absolute/path/to/dsh-tts-chat-answer
npm install
dsh plugin --profile web add .

After installation, restart the Host and the plugin will take effect.

Initial Configuration

Run the interactive setup after installation:

npx -p dsh-tts-chat-answer@latest setup

This command will ask you to select a profile, choose a voice (preset or a custom Edge voice ID), and pick a playback mode (inline for in-page playback or native for the system player). The configuration results are written to the cordis.patch.yml of the corresponding profile.

Storage Structure

Audio files are stored in ~/.local/share/dsh-tts-chat-answer/, grouped by workspace and date:

~/.local/share/dsh-tts-chat-answer/
├── .ready                          # Marker indicating successful plugin mount
├── index.jsonl                     # Global index, one task per line (including workspace)
└── HPDC-7c1e9a02/                  # Workspace name + path hash
    └── 2026-11-19/
        ├── 2026-11-19_14-05-33_<session>_t3.mp3
        ├── 2026-11-19_14-05-33_<session>_t3.txt   # Transcribed text of the response
        └── 2026-11-19_14-05-33_<session>_t3.json  # Metadata

Each workspace gets its own folder to avoid naming collisions between projects. Sessions without a recorded workspace are written to _unknown-workspace/.

Playback & Control

After each response is completed, an audio control bar appears at the bottom of the conversation interface, displaying “Play” by default. Clicking it triggers in-page playback or invokes the system player. Older responses (existing before the plugin was installed) will show “Generate” instead—clicking it regenerates the audio.

Supported operations include play, pause, stop, open file, and delete file. The delete operation requires secondary confirmation; after confirming, a five-second countdown must complete before the audio, transcript, and metadata are removed.

Use Cases & Caveats

This plugin is suitable for developers and researchers who need to add auditory replay capabilities to their conversation logs. It runs with the permissions of the current DSH process, so it is recommended to review the source code and license before installation.

Conclusion

dsh-tts-chat-answer integrates auditory replay of assistant responses into the DSH workflow, making conversation review more intuitive. For more information, visit the plugin directory page or the GitHub repository.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye