dsh-doc-panel
Conversation-scoped document browser for DeepSeek Harness: every document your conversations produce, grouped by conversation, searchable and previewable.
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:leobasic/dsh-doc-panelREADME
Read the full README ↗Usage
- Click the documents icon in the left sidebar.
- The dashboard opens on the conversations that produced documents. Click a conversation card to open its folder.
- Click a document to preview it. Markdown renders as formatted content, HTML renders in a sandboxed frame, PDF embeds, Office files offer open/download. Use 预览 / 源码 to switch between rendered and source.
- Click the star on any document (or in the preview header) to favorite it; the 收藏 segmented control and the 收藏夹 card list favorites. Search filters everything and the refresh button reindexes.
The very first scan reads the session corpus and can take a little while; later loads use the cache and are fast.
Configuration
The plugin row accepts an optional config object. All keys are optional.
| Key | Default | Purpose |
|---|---|---|
extensions | .md .markdown .html .htm .pdf .docx .doc .xlsx .xls .pptx .ppt | Document types listed, scanned and previewed. .csv/.txt are opt-in: add them here if you want them. |
maxFiles | 5000 | Total cap on files collected per scan. |
maxDepth | 6 | Maximum directory depth walked below each conversation workspace. |
cacheTtlMs | 60000 | How long the in-memory/persisted index is considered fresh. |
cachePath | null | Index cache override. null = /.dsh-doc-panel/index.json. |
favoritesPath | null | Favorites store override. null = /.dsh-doc-panel/favorites.json. |
timeoutMs | 180000 | Hard deadline for one scan; on expiry a partial index is returned with diag.complete: false. |
warmOnStartup | true | Warm the index in the background shortly after activation. |
- id: dsh-doc-panel
name: dsh-doc-panel
config:
extensions: ['.md', '.markdown', '.html', '.htm', '.pdf', '.docx', '.doc', '.xlsx', '.xls', '.pptx', '.ppt']
maxFiles: 5000
maxDepth: 6
cacheTtlMs: 60000
cachePath: null # null = /.dsh-doc-panel/index.json
favoritesPath: null # null = /.dsh-doc-panel/favorites.json
timeoutMs: 180000
warmOnStartup: true
`` is the Harness default working directory (the profile directory on
a normal install; ~/.dsh as a fallback). Full reference and file formats:
docs/configuration.md.