Back to home@KhalilHsu

dsh-plugins

No description

Stars
0
Language
TypeScript
Created
Aug 17, 2026
Updated
Aug 18, 2026

Introduction

DSH Plugins

npm version License: MIT

UI-only plugins for DeepSeek Harness (DSH) Web GUI. Installed cleanly through the official Profile-Plugin mechanism (dsh plugin) without modifying upstream Harness source code.


📦 Packages

DirectoryPackageStatusWhat it does
ui-conversation-folded/@khalilhsu/dsh-ui-conversation-foldedActivePer-turn folding for chat: Each round's intermediate activity (thinking / CoT, tool calls, in-between narration) is neatly folded into a bounded 288px scroller. Final conclusion text and turn metrics stay outside and visible. Supports streaming auto-scroll, auto-collapse on summary, and global toggle.
cot-fold/@deepseek-ai/dsh-client-ui-cot-foldArchivedEarly experiment: capped/collapsed reasoning ("Think") rows only. Superseded by ui-conversation-folded.

🚀 Quick Start (Install & Uninstall)

Install via npm (Recommended)

Run from your DeepSeek Harness environment:

# 1. Add the plugin to your web profile
dsh plugin --profile web add @khalilhsu/dsh-ui-conversation-folded

# 2. Restart `dsh web`, then refresh your browser
dsh web

Uninstall

dsh plugin --profile web remove @khalilhsu/dsh-ui-conversation-folded

💡 Key Features (ui-conversation-folded)

  • Bounded Height Frame: Intermediate thought processes and tool calls are capped at 288px (configurable via --cot-fold-max-height) with internal scroll.
  • Collapsible Summary Bar: Each turn displays an expandable summary bar with Duration · Tool count · Thinking blocks.
  • Streaming-Aware Follow: Auto-scrolls to the newest tokens/tool outputs while generating. Pauses when scrolling up; resumes when back at the bottom.
  • Auto Collapse on Completion: Gracefully auto-collapses intermediate reasoning once the final answer begins streaming.
  • Global Header Toggle: Persistent on/off toggle button (思考折叠 / 思考展开) in the session header (persisted in localStorage).
  • Zero Loss of Interaction: All child interactions (inspect tool output, expand individual tools, markdown copying) remain 100% functional.

🛠️ Local Development & Build

If you want to build or modify the plugin locally from source:

git clone https://github.com/KhalilHsu/dsh-plugins.git
cd dsh-plugins/ui-conversation-folded

# Symlink node_modules to your local deepseek-harness checkout
ln -s /path/to/deepseek-harness/packages/client/ui-conversation/node_modules node_modules

# Build the client & node bundles
npm run bundle

# Install locally into your profile
dsh plugin --profile web add /path/to/dsh-plugins/ui-conversation-folded

License

MIT