DSH Plugins Marketplace

DSH Plugins

Plugins

/

Development & Infrastructure

/

dsh-docs-manager

d

dsh-docs-manager

Manifest valid

Markdown document manager panel: one card row per folder, rich-text editing saved as Markdown, search, pin, sort, and capture from chat. Its HTTP routes require DSH browser authentication, so other pa

UI (client)hasBundlePatch

dsh-docs-manager

A DeepSeek Harness plugin that turns a folder of Markdown files into a card wall inside the app: one row per directory, one card per document, with create / edit / delete / pin / sort and one-click capture from a conversation.

Card wall

What it does

  • Sidebar entry — a 【文档管理 / Documents】 item in the left sidebar opens the panel in the main content area; the ‹ next to the title goes back to the conversation.
  • One row per directory — documents under the root are grouped by their folder; each group is a single horizontal row of cards that scrolls sideways when a folder holds more cards than fit. A search box on the toolbar filters by file name, path, title or body excerpt.
  • Recursive scan, depth-limited — reads .md / .markdown files up to 5 directory levels below the configured root.
  • Rich-text editing — clicking a card opens the editor directly (no separate read-only page). The body is a WYSIWYG contenteditable area; the toolbar offers bold, italic, strikethrough, H1–H3, quote, bulleted/numbered lists, code, link and horizontal rule, and the header toggles between Markdown source and formatted view.
  • Titles come from the document — the card title is the document's first heading when it has one, otherwise the file name. Editing the title rewrites that heading line; if the file has no heading, the file is renamed on disk.
  • Colors are stable — each card gets a sticky-note color (yellow / blue / green / pink / purple / gray) hashed from its path, so sorting or dragging never changes colors. The palette button on a card lets you pick another color; picking the current one again restores the automatic color.
  • Pin and sort — pinning keeps a card first inside its own directory. The toolbar's sort dropdown switches between name (Chinese by pinyin), last-modified, and manual ordering, where cards can be dragged within their row.
  • Capture from chat — an icon at the left of the composer saves the current draft as a new document, and an icon under each assistant reply saves that reply's text with a derived title. The capture card floats over the page (no full-screen dimming), uses the same folder picker and rich-text editor as the new-document dialog, and writes Markdown.
  • Configurable root — defaults to ~/.dsh/docs; the gear next to the search box changes it to any absolute path (or ~-prefixed). A folder icon opens the current root in the system file manager.
  • Safe paths — every request is resolved inside the root and restricted to .md / .markdown; writes are UTF-8 and create parent directories as needed.

Editor

Install

dsh plugin --profile <profile> add dsh-docs-manager

Or install it from the plugin market in the app. After install, restart the app once so the Host half registers its HTTP routes; Client-side changes afterwards only need a page refresh.

Configuration

ItemValue
Default root~/.dsh/docs
Config file~/.dsh/storages/dsh-docs-manager/config.json
Scan depth5 directory levels
Accepted files.md, .markdown

Pin / sort / color preferences live in the browser's localStorage (dsh-docs-manager:pinned, dsh-docs-manager:order, dsh-docs-manager:tones).

Host API

The Host half registers /docs-manager/api/* on the webServer service:

PathMethodBody / result
/stateGETroot path plus documents grouped by directory, each with title and excerpt
/readPOST{ path } → { content }
/writePOST{ path, content } → creates or overwrites, creating parent directories
/deletePOST{ path }
/configGET / POSTread or change the root directory
/open-rootPOSTopens the root in the system file manager

Every request passes the Connection service's Host/Origin checks and browser authentication first (ctx.connection.requestRejection), so a web page open in the same browser cannot call these routes.

Screenshots

Capture from chatCard colors
Quick addColors

Known trade-offs

  • The panel opens in the main content area rather than the native right sidebar: a plugin tab there only renders its body once a session surface is mounted, so it could not be shown reliably.
  • Overlays cover the panel, not the whole window — the desktop window's own title bar would otherwise stay bright next to a dimmed page.
  • Styles are injected as the plugin's own <style> element instead of the Client's styles.insert, which silently does nothing on some versions.

License

MIT

Comments

Loading…

Similar plugins

dsh-plugin-middle-panel

为模型展示交付成果和下达精细微调指示的dsh desktop面板

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

dsh plugin --profile web add dsh-plugin-middle-panel

by caihua8669

Document review workbench: select text in a Markdown file, leave comments saved as MRSF sidecar files next to it, and let the agent read them with doc_review_* tools and propose edits you accept or re

Development & InfrastructureTerminal & ClientsManifest valid

★ 1

MIT

JavaScript

Oct 17, 2026

dsh plugin --profile web add @caihua/dsh-doc-review

Drag documents into the dsh web chat; the agent reads them directly from the local filesystem and the right sidebar lists the outputs and file paths.

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 0

dsh plugin --profile web add dsh-doc-quick

by zhxnix

WYSIWYG Markdown notes editor in the DSH right sidebar, with tabbed documents, table editing, chat integration, assistant read/write tools, and local file export.

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Nov 1, 2026

dsh plugin --profile web add dsh-madedown

by sevenhsu7

Codex-like Markdown editing for the DSH right Sidebar: a rendered document you edit in place, including table cells.

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Oct 13, 2026

dsh plugin --profile web add dsh-codex-like-markdown

by LeslieWylie

Render Markdown to a standalone, self-contained HTML page: an `md_html_render` tool that works in a headless profile, plus a web drawer to browse, preview, edit and export local `.md` files; both shar

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 1

MIT

JavaScript

Aug 18, 2026

dsh plugin --profile web add dsh-md-html-render