dsh-paste-file
Run the following command in DeepSeek Harness:
dsh plugin install lhh666-6/dsh-paste-file
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install lhh666-6/dsh-paste-file in your terminal to install this plugin, whose full source is available at https://github.com/lhh666-6/dsh-paste-file , then restart DSH to activate it.
About this plugin
Getting the model to read a local file in DSH sounds effortless, yet the browser clipboard cannot hand an absolute path anywhere, so the file simply sits on disk, out of reach. dsh-paste-file fills that gap: no manual path copying, directory hunting, or extra transfers. The moment you paste or drop, everything clicks into place.
A dedicated paste-file button appears to the left of the composer with multi-select support. Document-level paste and drop listeners intercept any event that carries non-image files, upload them all into the current session workspace under /pasted-files/, and insert the workspace-relative path as inline code into your input draft. Image-only pastes pass straight through, preserving DSH's native attachment behavior intact. Architecturally, the host side registers a single upload route that writes bytes into the session cwd, while the client side mounts the button and listeners via the conversation.input.left slot — minimal, non-invasive changes.
Ideal for DSH users who regularly feed local configs, logs, or source snippets to the model for analysis or refactoring. The per-file ceiling is 64 MiB, and the plugin is deliberately scoped as a lightweight file-to-path bridge rather than a general-purpose binary attachment protocol extension.
Use Cases
- Paste a log file straight into the composer and ask the model to diagnose errors
- Drag in a config file and let the model validate syntax and structure
- Multi-select source snippets and request batch refactoring or diff analysis
Best For
- DSH users who frequently need the model to read local files
- Developers who want to skip manual path copying in daily workflows
- Engineers who hand logs, configs, or source code to the model for processing
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.