Back to home@moon16u

dsh-pouch

A pouch of practical plugins for DeepSeek Harness · DSH 实用小插件工具箱

Stars
0
Language
JavaScript
Created
Aug 20, 2026
Updated
Aug 20, 2026
GitHub repo

Introduction

dsh-pouch logo

dsh-pouch

English | 中文

License: MIT npm DeepSeek Harness pnpm workspace

dsh-pouch is a pocket toolkit of practical, lightweight, and beautiful plugins designed for DeepSeek Harness (DSH).
It delivers out-of-the-box micro-extensions to enhance your daily workflow, interactive experience, and development productivity.


📦 Plugins Included

PluginTypeDescription
@moon16u/dsh-plugin-restartHost / CLISafe, detached DSH process restart command (/dsh-restart) and agent tool (dsh_restart) with a 3-second grace period.
@moon16u/dsh-plugin-session-idWeb UIDisplays a native-styled Session ID badge in the web session header with one-click clipboard copy.
@moon16u/dsh-plugin-web-search-tavilyCapability SeamReal-time web search provider backed by the Tavily REST API, seamlessly integrating with DSH's ctx.web capability seam.

🚀 Quick Start & Installation

Method 1: One-Command Installation via DSH CLI (Recommended ⭐️⭐️⭐️⭐️⭐️)

Run a single command in your terminal. DSH will automatically download, bundle-register, and mount all 3 pocket plugins (zero manual configuration):

# 1. Install the entire toolkit via npm (recommended)
dsh plugin --profile web add @moon16u/dsh-pouch

# Or install directly from GitHub
dsh plugin --profile web add https://github.com/moon16u/dsh-pouch.git

Method 2: Local Git Clone Installation

  1. Clone the repository:

    git clone https://github.com/moon16u/dsh-pouch.git ~/dsh-pouch
    
  2. Add the bundle to your DSH profile:

    dsh plugin --profile web add file:~/dsh-pouch
    

    DSH automatically detects dsh.bundle and applies the built-in cordis.patch.yml layer without manual configuration file edits.


🛠️ Plugin Highlights

1. @moon16u/dsh-plugin-restart

  • Problem: After editing plugins or configs, restarting DSH manually in an external terminal is tedious; killing the process directly inside an agent tool causes the session to freeze.
  • Solution: Exposes /dsh-restart slash command and dsh_restart agent tool. Spawns an asynchronous detached worker process that returns the response immediately and restarts cleanly after 3 seconds.

2. @moon16u/dsh-plugin-session-id

  • Problem: Retrieving the current session UUID for debugging or log tracking requires digging into URLs or console logs.
  • Solution: Injects a clean capsule button displaying the Session ID in the web header utility bar with instant one-click clipboard copying.

3. @moon16u/dsh-plugin-web-search-tavily

  • Problem: Built-in search engines may be restricted or lack high-quality synthesized web answers.
  • Solution: Formally implements the ctx.web.registerSearchProvider contract. Automatically resolves API keys from the TAVILY_API_KEY environment variable or DSH Credentials service.

🧪 Testing

This monorepo uses pnpm workspaces and Node.js native test runner for contract and smoke tests:

cd dsh-pouch
pnpm install
pnpm test

📄 License & Credits