yabo083/dsh-document-review

插件 ⭐ 2 MIT browsertools

DeepSeek Harness 插件:在本地浏览器中审阅 Markdown 文档,支持注释、替换和删除建议。支持单个文件和整个目录。

catalog 简介:DeepSeek Harness plugin: review Markdown documents in a local browser with annotations, replacements, and deletion suggestions. Supports single files and whole directories.

安装

Changing the `config` block hot-replaces the plugin via HMR. A DSH settings
user document (when present) overrides individual keys on top of the
`cordis.yml` base; without one, the entry config applies as-is.

### In-page settings panel (review page)

Open any review page and click the gear button (top-right) for a settings
dialog with two levels:

- **全局设置** — applies to every workspace. Persisted to
  `~/.dsh-document-review/config.json`, layered above the `cordis.yml` base.
- **当前工作区设置** — applies only to the workspace the review page is
  rooted at. Persisted to `~/.dsh-document-review/workspace-configs.json`
  (keyed by root path), layered above the global settings.

Effective value = defaults → `cordis.yml` → 全局设置 → 当前工作区设置.
Index limits apply immediately (next scan); port and idle-timeout values apply
on the next session start. **恢复默认** clears the active level's overrides.

| Key | Default | Effect |
|---|---|---|
| `preferredPort` | 15580 | First port to try for the review server; auto-increments when taken |
| `maxPortTries` | 20 | Ports tried before giving up |
| `idleTimeoutMinutes` | 30 | Idle time before the singleton server auto-shuts down |
| `openBrowserOnStart` | true | Open the review page when a session starts |
| `indexMaxRoots` | 64 | Filename-index roots remembered (LRU) |
| `indexMaxEntries` | 60000 | Filename-index entry cap |
| `indexScanCooldownMs` | 30000 | Min interval between full rescans of one root |
| `indexIgnore` | node_modules, .git, dist, … | Directory names skipped by indexing, migration, and directory scans |

Index limits apply immediately; port and idle-timeout values apply on the next
session start.

## Install (published package)

yabo083/dsh-document-review 加入你的 DSH 配置(web profile)即可启用。

README

展开完整 README 收起

README 内容为空。