dsh-pocket
已验证@moon16u/dsh-pocket · v0.1.0 · MIT · Web 界面
A collection of small, beautiful, and practical plugins for DeepSeek Harness (DSH)
安装
dsh plugin add @moon16u/dsh-pocket 用 dsh --profile default --dump-config 确认 layer 已生效 —— 参见安装指南。
源码
发布到 npm 但没有公开仓库。安装前请检查包内容。
标签
作者
说明文档
🎒 dsh-pocket
English | 中文
dsh-pocket 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
| Plugin | Type | Description |
|---|---|---|
@moon16u/dsh-plugin-restart |
Host / CLI | Safe, detached DSH process restart command (/dsh-restart) and agent tool (dsh_restart) with a 3-second grace period. |
@moon16u/dsh-plugin-session-id |
Web UI | Displays a native-styled Session ID badge in the web session header with one-click clipboard copy. |
@moon16u/dsh-plugin-web-search-tavily |
Capability Seam | Real-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):
dsh plugin --profile web add https://github.com/moon16u/dsh-pocket.git
Method 2: Local Git Clone Installation
Clone the repository:
git clone https://github.com/moon16u/dsh-pocket.git ~/dsh-pocketAdd the bundle to your DSH profile:
dsh plugin --profile web add file:~/dsh-pocketDSH automatically detects
dsh.bundleand applies the built-incordis.patch.ymllayer 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-restartslash command anddsh_restartagent 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.registerSearchProvidercontract. Automatically resolves API keys from theTAVILY_API_KEYenvironment variable or DSH Credentials service.
🧪 Testing
This monorepo uses pnpm workspaces and Node.js native test runner for contract and smoke tests:
cd dsh-pocket
pnpm install
pnpm test
📄 License
MIT License © 2026 moon16u