dsh-flatten
Run the following command in DeepSeek Harness:
dsh plugin install uckkk/dsh-flatten
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install uckkk/dsh-flatten in your terminal to install this plugin; source code is available at https://github.com/uckkk/dsh-flatten
About this plugin
When working with model-inference data, nested arrays often need to be flattened into a single dimension before they can flow smoothly into the downstream pipeline. dsh-flatten is built exactly for that: a lightweight, zero-dependency array flattening tool written in pure Node.js, with no network requests and all computation performed entirely locally.
Once installed, dsh-flatten automatically registers as an invocable tool within a DeepSeek Harness session. You do not need to spin up extra scripts or standalone services—simply call the tool in your conversation to flatten arrays on the fly. It is well suited for developers who frequently handle nested data structures and prefer to keep their inference chain clean and free of external dependencies.
Use Cases
- Flattening nested arrays into a single dimension before they enter the inference pipeline
- Extracting fields from multi-level nested structures in batch data quickly
- Flattening arrays locally with zero network calls and no extra services
Best For
- Engineers building inference pipelines that frequently handle nested structures
- Developers who prefer zero-dependency, network-free lightweight tooling
- Engineers assembling inference pipelines within DeepSeek Harness
Related Plugins
ModLens is a vision plugin for DeepSeek Harness that gives text-only models sight by reading images pasted directly into chat, with zero-config setup and multiple vision engines.
On-demand vision for text-only DeepSeek Harness agents: built-in free keyless vision chain and 14 vision tools, routing image turns as tool calls to vision models with pixel fidelity, no Python needed, one-command install.
Give text-only models in DeepSeek Harness eyes, enabling image Q&A, long-screenshot OCR, UI restoration, and GUI visual tasks.
An armor-breaking plugin for DeepSeek: rewrites instruction priority, expands refusal-blocked phrases, persists across sessions, and shows a green active indicator.