ethan0084/dsh-cockpit
DeepSeek Harness 的桌面式项目与 AI 工作台插件
Project Overview项目介绍
dsh-cockpit is a native layout plugin built exclusively for DeepSeek Harness, that transforms the default DSH interface into a three-column desktop-style project workbench. It places project navigation and a collapsible file tree on the left, an editing and preview area in the middle, and retains the original AI conversation panel on the right. It does not modify the core DSH installation directory, and only replaces DSH’s default layout via a Cordis configuration layer. The current release is compatible specifically with DeepSeek Harness 0.1.0-rc.6, a development preview version of DSH.
This plugin adds a full set of project management and file operation features to DSH. It supports text and code editing, and can preview Markdown, PDF, images, audio, video, and common office formats like DOCX and XLS/XLSX. It also includes an integrated project terminal that opens under the current working directory and retains the path after cd commands. The right-side AI conversation panel can be resized or collapsed, and supports quick access to historical conversations within the current project.
The plugin is published on npm, and can be installed with a single official DSH CLI command: dsh plugin --profile web add dsh-cockpit. It can also be built and installed locally from source following a full step-by-step build process documented in the official repository. There is also an optional Codex Skill available to automate installation of DSH and the cockpit plugin. The entire project is released under the permissive MIT license, which allows free use, modification, and distribution even for closed-source commercial projects, as long as the original copyright and license notice is retained.
dsh-cockpit 是专为 DeepSeek Harness 打造的原生布局插件,可将 DSH 改造为三栏式桌面项目工作台。左侧放置多项目导航与可折叠文件树,中部为文件编辑和预览区,右侧保留原有的 AI 对话面板。它不修改 DSH 安装目录,仅通过 Cordis 配置层替换默认布局,目前兼容 DSH 0.1.0-rc.6 开发预览版本。
核心功能涵盖多项目管理、文件基础操作、多种格式文件预览、项目终端集成、AI 对话上下文管理等。支持 DOCX、XLS/XLSX 等办公文档预览,中部预览区下方可展开项目终端,会保留终端切换后的工作路径。AI 对话面板可拖动宽度或折叠,支持项目内历史会话和快速新建对话。
该插件已发布到 npm,可通过 DSH 插件命令一键安装,也可从源码按步骤本地构建试用。提供了完整的卸载回滚方案和常见问题排查指南,同时也支持通过 Codex Skill 安装。项目采用 MIT 许可证开源,允许自由使用、修改和分发,包括闭源商用场景。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-cockpit(ethan0084/dsh-cockpit)
仓库:https://github.com/ethan0084/dsh-cockpit
本站详情页:https://www.yhbd.top/plugins/ethan0084-dsh-cockpit/
本站登记:类型 client · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 2 · 最近提交 2026-09-10 · 主语言 JavaScript · 未检测到 DSH 插件清单
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
- No DSH plugin manifest detected - it may only carry the dsh-plugin topic, so the install method must be confirmed on the spot未检测到 DSH 插件清单:可能只是打了 dsh-plugin 话题,安装方式要现场确认
- Desktop client: installation downloads an executable - verify the publisher and checksums桌面客户端:安装会下载可执行文件,请核对发布者与校验和
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add dsh-cockpit
把 ethan0084/dsh-cockpit 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
DSH Cockpit
把 DeepSeek Harness 改造成桌面式项目工作台:左侧项目与文件树,中间文件编辑/预览,右侧保留 AI 对话。
当前版本面向 DeepSeek Harness 0.1.0-rc.6。DSH 仍处于开发预览阶段,升级 DSH 前请先查看兼容性说明。
功能
- 多项目侧栏与可折叠文件树
- 文本和代码编辑、Markdown/PDF/图片/音视频预览;文件树单击复用预览标签,双击固定
- DOCX 与 XLS/XLSX 预览
- 文件新建、重命名、复制、移动、删除和上传
- 打开的文件可作为 AI 对话上下文
- 从 AI 对话打开的工作区文件会固定到新的中部标签页
- AI 对话固定在右侧,可拖动宽度或折叠
- 项目内历史会话与快速新建对话
- 中部预览区下方可展开项目终端,在当前项目目录运行命令并保留
cd后的路径 - 不修改 DSH 安装目录:通过 Cordis 配置层替换布局
平台说明:终端在 Windows 与类 Unix 系统上均可用;「在 Finder 中显示」依赖 macOS 的
open -R,其他平台调用会失败。
安装
已发布到 npm,只需要安装一个入口包:
dsh plugin --profile web add dsh-cockpit
从源码本地试用(pack:release 依赖 pnpm install 装好的 xlsx,请按顺序执行):
pnpm install
pnpm test
pnpm run pack:release
dsh plugin --profile web add "$PWD"/dist/dsh-cockpit-*.tgz
dsh --profile web
安装命令会把 Cordis 配置层永久写入 web profile。若已有同类自定义布局,请先备份配置,避免两个布局同时启用。
卸载与回滚
移除插件并恢复 DSH 默认布局:
dsh plugin --profile web remove dsh-cockpit
dsh --profile web --dump-config # 确认 ui-layout / ui-workspace 不再是 disabled
若只想临时停用,可直接编辑 profile 的 cordis.patch.yml。安装前备份 ~/.dsh/profiles/web/ 可以最快回到原状。
故障排查
| 现象 | 原因与处理 |
|---|---|
dsh: pnpm not found on PATH |
DSH 通过 pnpm 管理 profile 插件。用 corepack enable pnpm 启用即可 |
ERR_PNPM_ADDING_TO_ROOT |
pnpm 10 对 workspace 根目录的保护。改为在 profile 的 package.json 中直接写入版本后运行 pnpm install |
ERR_PNPM_ABORTED_REMOVE_MODULES_DIR_NO_TTY |
当前 pnpm 与建立 node_modules 的版本不一致。用原版本安装(本项目为 pnpm@11.19.0),避免整棵依赖树被重建 |
| 页面空白或布局未替换 | 用 dsh --profile web --dump-config 确认 cockpit-layout、cockpit-ui 已存在且 ui-layout、ui-workspace 为 disabled: true |
| 预览 DOCX/XLSX 报错 | 单个文件超过 25 MB 上限,或文件本身损坏 |
使用 Codex Skill 安装(可选)
仓库提供了公开版 dsh-cockpit-install Skill。它会从 npm 安装并验证 DSH 0.1.0-rc.6 与 DSH Cockpit,不包含会话、设置、项目、凭据、桌面端外壳或私人迁移数据。
在 Codex 中调用 $skill-installer,并发送:
请从 https://github.com/ethan0084/dsh-cockpit/tree/main/skills/dsh-cockpit-install 安装 Skill
也可以手动安装到个人 Skill 目录:
git clone https://github.com/ethan0084/dsh-cockpit.git
mkdir -p "$HOME/.agents/skills"
cp -R dsh-cockpit/skills/dsh-cockpit-install "$HOME/.agents/skills/dsh-cockpit-install"
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
ccch1mneyyy/dsh-TUI
xyTom/coding-tools-mcp
myYangyunfan/dsh_desktop
ChisaAlter/Deepseek-Harness-Desktop
skymecode/deepseek-harness-for-vscode
rison114514/dsh-endfield-ui
SuperJJ007/papermachine