rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
chou109/dsh-workspace-launcher
在 DeepSeek Harness 侧边栏工作区的"..."菜单里,一键用文件资源管理器、VS Code 或终端打开工作区文件夹,或复制其绝对/相对路径——不用再满硬盘翻找文件夹在哪。 open your DeepSeek Harness workspace folder in File Explorer, VS Code, or a terminal — or copy its absolute/relative path — straight from the workspace row menu. No more hunting for folders.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:chou109/dsh-workspace-launcher
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Open the current session's workspace directory in File Explorer, VS Code, or a terminal, or copy its path, straight from the Session header.
中文文档见 README.zh.md。
| Plugin | dsh-workspace-launcher 2.0.0 |
| Harness | DeepSeek Harness 0.2.1-rc.2 (Desktop or dsh web) |
| Platform | Windows first-class; macOS/Linux supported by the host half |
| License | MIT |
0.1.x patched @deepseek-ai/dsh-client-ui-workspace's compiled bundle to inject five rows into the workspace “...” menu, then registered a plugin. DSH 0.2 builds client packages as dynamic bundles, so editing an installed bundle is unsafe and unsupported.
2.0 keeps the same host route and moves the UI to the documented slot API:
| 0.1.x | 2.0.0 |
|---|---|
Patched dsh-client-ui-workspace bundle |
No patches at all |
| Rows in the Workspace “...” menu | The same menu, with the four rows appended to the shipped Rename/Delete menu; plus a Session-header menu |
| Workspace path came from the patched row | cwd from useSessions, workspace path as fallback |
Toasts injected into document.body |
Status line inside the plugin's own popover |
DSH 0.2 has no workspace-menu slot (only session row menus are extendable). The plugin therefore remembers the workspace whose “...” button was pressed (its aria-label carries the title), watches for the shipped menu to appear, and appends the four rows inside that menu. The built-in Rename/Delete rows and their behavior are untouched.
DSH 0.2 also ships a built-in Open In… split button (dsh-client-ui-open-in-app) that opens the session directory in any installed application from the application catalog. This plugin stays complementary: it guarantees Explorer, VS Code, a terminal, and a clipboard copy even when the catalog probe finds nothing.
The Session header gains an Open workspace button, and a right-click on a workspace row in the sidebar opens the same menu:
explorer.exe via cmd /c start, Finder, or xdg-open.code, with Windows registry/App Paths/standard-path fallbacks.wt.exe), falling back to a visible PowerShell window; Terminal.app or x-terminal-emulator elsewhere.document.execCommand fallback.The host half exposes POST /workspace-open/open with { path, app }. It validates that the path is absolute, strips trailing separators (Windows quoting), spawns detached with stdio ignored, and never blocks the harness. Failures are returned as JSON and shown in the popover.
Install this folder as a bundle and enable dsh-workspace-launcher. The bundle lives in plugin/dsh-workspace-launcher/.
dsh plugin --profile <profile> add /absolute/path/to/plugin/dsh-workspace-launcher
Link plugin/dsh-workspace-launcher into the profile's node_modules, then add to cordis.patch.yml:
- insert:
- id: workspace-open
name: 'dsh-workspace-launcher'
If you used the 0.1.x installer, restore the original @deepseek-ai/dsh-client-ui-workspace package first (reinstall the Harness or the package). The old patch must not be applied to 0.2 bundles.
Path copied.This session has no workspace path.Disable/remove the bundle and reload. Nothing else was modified.
plugin/dsh-workspace-launcher/
package.json dsh.bundle.patch + dsh.client
cordis.patch.yml
lib/index.js Host half: /workspace-open/open route
lib/client.js Browser half: Session-header menu
install.ps1 / install.sh Bundle installer (no patches)
MIT.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness、deepseek-harness-plugin、deepseek-harness-plugins。