Introduction¶
The DeepSeek Harness (DSH) plugin dsh-developer-tools provides a collection of frequently used developer tools in the sidebar, including JSON processing, timestamps, UUID, Base64, Hash, AES encryption, and more. It supports pinning commonly used tools to tabs and offers Agent tools for script invocation.
Plugin Overview¶
dsh-developer-tools is a client-side plugin maintained by yu-bobo. It addresses the need for DSH users who frequently invoke various developer tools during development and debugging: no need to switch to external tools — encoding, encryption, hashing, translation, and other operations can all be completed right in the sidebar. The plugin is published as an npm package; the directory remains dsh-dev-tools, while the package name is dsh-developer-tools.
Requirements¶
- Node.js ≥ 20
- DSH ≥ 0.2.0
Installation & Activation¶
Install with the following command:
dsh plugin --profile desktop add dsh-developer-tools
After installation, restart the corresponding profile: for Desktop, restart the application; for web, restart dsh web.
Sidebar UI Features¶
The plugin provides a set of built-in tools in the sidebar, with support for pinning to tabs. The default pinned tools in the sidebar UI include: JSON, Timestamp, UUID, Base64, and Hash.
- The top bar displays the pinned tool tabs, and the “Manage” button on the right allows adding, removing, and reordering tabs.
- User preferences are stored in the browser’s
localStorage.
Built-in tools list:
- JSON
- Timestamp
- UUID
- Base64
- URL
- Hash
- AES-GCM
- Hex
- JWT Decode
- Naming Conventions
- Base Conversion
- Query String
- Text Diff
- Translation
The translation feature calls the host’s current default model (typically deepseek-account when logged in with an account). No separate translation API key is required, but it will consume tokens. The sidebar shares the POST /dev-tools/translate endpoint with devtools_translate, with a maximum of 12,000 characters per request.
AES encryption uses PBKDF2 + AES-256-GCM. The passphrase is used only for on-the-spot encryption/decryption and is never uploaded.
Agent Tools¶
The plugin exposes three tools on the Agent side:
| Tool | Description |
|---|---|
devtools_list |
List available local tools and actions |
devtools_run |
Execute a tool + action (e.g., json/format) |
devtools_translate |
Translate using the host model (input + target, optional source) |
Example invocations:
devtools_run({ tool: "uuid", action: "v4", count: 3 })
devtools_run({ tool: "hash", action: "sha256", input: "hello" })
devtools_run({ tool: "timestamp", action: "now" })
devtools_run({ tool: "diff", action: "compare", input: "a\\nb", inputB: "a\\nc" })
devtools_translate({ input: "hello", target: "中文" })
Development¶
Local development commands:
npm install
npm run build
npm run dev # watch host bundle
- Host logic:
src/→lib/(bundled with tsdown) - Browser UI: hand-written
client.js(injected viawindow.__ModuleLoader__) - Single source of truth for the diff algorithm:
src/core/diff.ts(directly referenced by the host; embedded into the sidebar duringnpm run build)
License¶
MIT
Use Cases & Notes¶
Ideal for DSH users who frequently need developer tools, such as front-end/back-end debugging, encoding/decoding, encryption/hashing, text diff, and translation.
Note: The plugin runs with the permissions of the current DSH process. It is recommended to review the source code and license (MIT) before installing.