dzwalker/dsh-files-tab

dzwalker★ 0TypeScript最后同步: 2026-08-18

在 GitHub 打开

A DeepSeek Harness (DSH) conversation 'Files' tab plugin: open, read (Markdown + TOC) and edit (Monaco) workspace files without leaving the chat.

README 摘要

dsh-files-tab A DeepSeek Harness (DSH) plugin that adds a Files tab to the conversation view — open, read and edit workspace files without leaving the chat. 中文文档见 README.zh.md。 Features - Files tab in the conversation view, with multi-document chips (open / switch / close, dirty marker). State is per session . - Open modes , chosen by file type: - Read — Markdown rendered with a collapsible table of contents . The TOC supports per-node expand/collapse and a 1 2 3 a level bar (expand to a given depth, or all); clicks jump instantly. Inline images for relative paths (resolved against the Markdown file's directory) render from the sandbox. - Edit — Monaco with syntax highlighting; the default (and only mode) for code / other text files. Markdown can switch between Read and Edit. - Preview — unified viewer for binary / rich files (images, pdf , csv , video). Fully local: bytes are read through the session sandbox into a blob URL, nothing is uploaded. PDF uses the browser's native viewer with the pdf.js worker inlined for offline use. - External-change detection : if an open file changes on disk (e.g. edited by the conversation), the toolbar shows a hint with one-click Reload (conflict …

在 GitHub 查看完整 README →
工具/开发cordisdeepseek-harnessdshdsh-pluginmarkdownmonaco-editor

分类