dsh-tool-diff
Run the following command in DeepSeek Harness:
dsh plugin install omdsh-dev/dsh-tool-diff
Paste the following prompt into your AI chat to install this plugin:
In DeepSeek Harness, you can install this plugin using the command 'dsh plugin install omdsh-dev/dsh-tool-diff', with the full source code address at https://github.com/omdsh-dev/dsh-tool-diff.
About this plugin
In AI Agent development or general programming tasks, comparing two pieces of content—such as configuration snippets, API responses, tabular data, or document revisions—is a common need. Traditional methods often rely on spawning external processes to invoke system diff or hand-coding comparison logic, which is not only inefficient (especially on Windows) but also limited: system diff lacks understanding of structured data like JSON or CSV, and custom code is error-prone due to edge cases. The dsh-tool-diff plugin addresses this by offering a lightweight, deterministic solution that makes text comparison straightforward and reliable.
The plugin's core strength lies in its zero-dependency, pure-function, and read-only design. It supports structured comparison across multiple formats: text line-level differences use an efficient Myers algorithm to generate standard unified diff or structured reports with line numbers; JSON comparison recursively detects path-level changes (e.g., $.user.name) and summarizes additions, deletions, or replacements; CSV comparison operates in keyed (by primary key) or positional modes, detailing row and column variations; and Markdown employs a block-level tokenizer to identify differences in headings, code blocks, and other elements. All operations occur in memory without reading or writing files, ensuring security and reproducibility.
Furthermore, the plugin includes patch generation and validation capabilities, allowing it to create unified diffs and verify their correctness in memory, eliminating unnecessary disk I/O. Strict input/output limits prevent performance issues from malicious data. This makes it ideal for AI Agents, automation script developers, or engineers working with structured data who need efficient, accurate text comparison. Whether you're debugging configuration differences, monitoring document changes, or building data processing pipelines, dsh-tool-diff provides a reliable and fast tool for your needs.
Use Cases
- Comparing version differences in configuration files or code snippets
- Analyzing changes in JSON API responses or CSV tabular data
- Reviewing revision content and structural changes in Markdown documents
Best For
- AI Agent developers needing reliable content comparison
- Automation test engineers verifying data consistency
- Data engineers or backend developers handling structured data differences
Related Plugins
Free web search plugin for DeepSeek Harness with web search, X search, and page fetch; no signup or API key required, with automatic multi-engine failover.
AnySearch-powered web and vertical search plugin for DeepSeek Harness, offering real-time search, cleaned URL content, concurrent batch search via native web_search/web_fetch, no API key required.
Pixel-perfect webpage clone tool that uses an agent harness to turn any webpage into a scored, full-page React replica.
A bilingual cost-tracking plugin for DeepSeek Harness with session/daily cost, budget, official & custom provider balance, coding plan quotas, peak/off-peak pricing alerts, and history stats.