reveal-file
Manifest validRight-click a produced file in DeepSeek Harness Web chat to open its location in the OS file manager
reveal-file
Right-click a produced file in DeepSeek Harness (dsh) Web chat and open its location in your OS file manager — with the file selected.
Features
- Right-click menu — "打开所在目录" appears on produced-file rows in chat
- Cross-platform —
explorer.exe /select,(Windows),open -R(macOS),xdg-open(Linux) - Feedback toast — success / failure notification in the corner
- Lightweight — pure DOM context menu, no framework, one REST endpoint
Requirements
- DeepSeek Harness (
@deepseek-ai/dsh) with the web profile @deepseek-ai/cordis(bundled with dsh)
Installation
pnpm dsh plugin --profile web add reveal-file
pnpm dsh --profile web
Or add it to your profile's cordis.patch.yml:
- insert:
- id: reveal-file
name: 'reveal-file'
Usage
In a chat message, right-click any produced file row (the files the model wrote to disk). A small menu appears with 📂 打开所在目录. Click it — the file manager opens with the file selected.
How it works
Dual-face plugin:
- Host half (
lib/index.js) — registers a REST endpoint/api/reveal-file/revealon the dsh web server. It resolves the path through thefsservice, then spawns the platform's reveal command via thesubprocessservice. - Client half (
lib/client.js) — listens forcontextmenuevents on produced-file rows and calls the endpoint withfetch().
Note: the host half uses the host
webServerservice. This is the correct pattern for a static host plugin — the dynamic-runner sandbox has noharnessglobal.
License
MIT
Comments
Loading…
Similar plugins
by jidekaixin2dian
Right-click any file reference in the chat to open it, open it with an associated application, reveal it in the file manager, copy its path or contents, and save it.
★ 1
MIT
JavaScript
Oct 28, 2026
dsh plugin --profile web add @jidekaixin2dian/dsh-file-actionsby 1274623767
Open a workspace folder from the DeepSeek Harness left workspace list.
★ 0
MIT
JavaScript
Aug 17, 2026
dsh plugin --profile web add dsh-workspace-openby King20260919
该仓库暂未提供项目说明。
★ 1
MIT
JavaScript
Sep 26, 2026
dsh plugin --profile web add dsh-open-folder-visibleby InnovationLou
Right-click menus for DeepSeek Harness chat links: open with an application, reveal in the file manager, copy the path, save a copy, and open or copy URLs.
★ 0
MIT
JavaScript
Oct 20, 2026
dsh plugin --profile web add dsh-link-actionsby azazo1
通过 dsh-open CLI 在 DSH Desktop 或 Web 中打开指定目录对应的工作区.
★ 0
MIT
TypeScript
Oct 8, 2026
dsh plugin --profile web add dsh-open-dirby sailoumili
DSH 插件:对话里的文件与目录路径点一下就打开——可预览的在右侧侧边栏显示,其余用系统默认程序打开。Click file and directory paths in DSH chat to preview them in the right sidebar or open them with the system default application.
★ 1
MIT
JavaScript
Oct 3, 2026
dsh plugin --profile web add dsh-file-opener