dsh-at-file
FSMargoo/dsh-at-fileCodex 风格的 `@file` 文件引用,输入框里直接搜索并引用工作区文件。
DSH web 插件:给 bash/pwsh 命令与 read 的代码输出做分层语法染色(VS Code Dark+ 配色:关键字/字符串/数字/函数名/注释各一色);认得出来才染,表格/日志保持原样;纯前端渲染,零 token 开销。
A DeepSeek Harness (DSH) web plugin that adds layered syntax highlighting to bash / pwsh command output and read code output in the web GUI, using a VS Code Dark+ palette (keywords / strings / numbers / functions / comments each get their own color). It colors only what it recognizes; tables and logs stay plain.
Pure frontend rendering — it never adds or rewrites any session content and never calls the model: zero token overhead.
read on code files → language detected from the extension (.py .js .ts .json .ps1 .sh ...), PyCharm-style token coloringread / bash / pwsh cards collapse to a one-line header (path + status chip) by default — click the header to expand/collapse; running and failed cards auto-expand so live output and errors are never hidden. Turn the default-collapse off in Settings → Plugin settings → 工具卡片折叠 to restore the previous always-expanded rendering.| Key | Type | Default | Description |
|---|---|---|---|
collapseByDefault | boolean | true | render read / bash / pwsh cards collapsed by default; set false to always expand. |
UI: Settings → Plugin settings → 工具卡片折叠 (applies immediately, persisted to the user settings document). You can also write it directly in the profile's cordis.yml / settings.yaml:
tool-highlight:
collapseByDefault: true
# npm (recommended)
dsh plugin --profile web add dsh-tool-highlight
# GitHub source
dsh plugin --profile web add github:vollegrewar/dsh-tool-highlight
# local link (development)
dsh plugin --profile web add link:/path/to/dsh-tool-highlight
Restart dsh web and hard-refresh (Ctrl+Shift+R).
Installing from the GitHub source may ask for pnpm
allowBuildsapproval — adddsh-tool-highlightto the profile'spnpm-workspace.yamlallow list. The plugin has no build scripts, so the npm install never triggers this.
This plugin only takes over the read / bash / pwsh tool cards (priority -2); dsh-better-tool-ui keeps handling write/edit diffs, status rails and everything else — they don't conflict. It also works standalone.
tool.call.toolview, one renderer per tool nameread by file extension; command output by content heuristics (parseable JSON → JSON; ≥2 code-looking lines → Code; otherwise plain)