Bundle
dsh-doc-quick
文档快处插件: 拖拽文档进 Web 对话框 → Agent 直接读取处理 → 完成时右侧弹出侧栏展示产出与文件路径。host 端直读本地文件系统(支持 PDF/Word/PPT/EPUB/Notebook/Markdown/文本),提供 doc_list / doc_read / doc_complete 工具与任务侧栏。
- Source
- QinpanWan
- stars
- 1 stars
- License
- MIT
- Updated
- Updated 13 days ago
Readme
# dsh-doc-quick
Drag a document into the dsh **web** chat — the agent reads it straight from your
local filesystem (no sandbox limits), processes it, and when done a right-hand
sidebar pops up with the outputs and their file paths.
## Features
- **Drag & drop**: drop a file into the web dialog; the host saves it to
`~/.dsh/doc-quick/<sessionId>/` and registers a task.
- **Local read**: the host reads the local filesystem directly. Supported
formats: PDF, Word (doc/docx), PowerPoint (ppt/pptx), EPUB, Notebook
(ipynb), Markdown and plain text.
- **Agent tools**: `doc_list` (see your pending tasks), `doc_read` (read the
file content), `doc_complete` (register the produced outputs).
- **Result sidebar**: task status, summaries, and output file paths with
preview / download links on the right side of the chat.
## Install
```sh
dsh plugin --profile web add github:Entity-Him/dsh-doc-quick
```
Requires the dsh **web** profile (the sidebar is a web-client UI). The plugin is
pure JavaScript — no native or Node-gyp dependencies. PDF parsing lazily loads
`pdfjs-dist` when available and degrades gracefully when it is not.
## Usage
1. Open the dsh web chat.
2. Drag a file into the input box.
3. Ask the agent to read and process it (it already knows the file was dropped).
4. When finished, the right sidebar shows the outputs and file paths — click to
preview or download.
## How it works
```
drag & drop ──> host saves to ~/.dsh/doc-quick/<sessionId>/
└──> agent: doc_read(file) ──> doc_complete(outputs)
└──> client: right sidebar polls docQuick/getTasks
```
## License
MIT
Install
dsh plugin --profile web add github:QinpanWan/dsh-doc-quick
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install dsh-doc-quick from the hub
- This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.