jingyi0605/Codingns4DSH
把外部 Agent CLI、持久终端、工作区调试和远程访问,装进 DSH 原生界面。
Project Overview项目介绍
Codingns4DSH is a DSH-native plugin bundle published on npm as @jingyi0605/codingns4dsh (current version 0.2.0-rc.2), explicitly validated only against DeepSeek Harness 0.2.0-rc.2. It ships as a two-layer bundle: a Host-side layer that runs on the user's machine and a browser-side layer injected into the DSH Web UI, exposing eleven configurable modules under the in-app "Settings → Codingns4DSH" page. The modules include External Agent Integration, Session Enhancement, Mobile Access Enhancement, Terminal Reinforcement, LAN Access, Login Protection, Relay Access, Workspace Debugging, Git Repository Management, File Management Enhancement, and PeerHost Aggregated Workbench.
The headline module, External Agent Integration, scans the Host PATH for installed coding-agent CLIs and bridges their event streams into native DSH sessions. The README's compatibility matrix lists Command Code, Claude Code, Kimi CLI, Gemini CLI, Pi Agent, Codex, OpenCode, Grok Build, ZCode, and MiniMax Code, with capabilities ranging from streaming and tool calls to permission confirmations, mid-turn interruption, and subscription or token usage reporting. Built-in DeepSeek Harness remains available, and model listings are read directly from each CLI rather than hard-coded.
Installation requires Node.js ≥ 22.19 and pnpm; supported platforms are macOS, Linux, and Windows. The standard install runs dsh plugin install @jingyi0605/codingns4dsh, with a --profile <name> variant for isolated profiles; agent CLIs must be installed and authenticated outside DSH because the plugin never stores their credentials. Persistent terminal mode depends on tmux on macOS and Linux, while Windows uses ConPTY, and changes to terminal scope require a DSH restart. Workspace debugging UI text is currently Chinese only, and the license is GPL-3.0-or-later, meaning derivative works must carry the same terms.
Codingns4DSH 是一个面向 DSH(DeepSeek Harness)的原生插件 Bundle,通过 npm 包 @jingyi0605/codingns4dsh@0.2.0-rc.2 分发,DSH 0.2.0-rc.2 是唯一经过正式兼容验证的版本。它在 Host 层与浏览器层共提供十一个模块,包括外部 Agent 集成、终端强化、局域网与中转访问、工作区调试、Git 仓库管理与 PeerHost 聚合工作台,全部在 DSH 的「设置 → Codingns4DSH」页面中开启。安装方式是从 DSH 内执行 dsh plugin install @jingyi0605/codingns4dsh 或 dsh plugin install --profile <name> @jingyi0605/codingns4dsh,需要 Node ≥ 22.19 与 pnpm,支持 macOS、Linux 与 Windows 三平台。
外部 Agent 集成是该插件的核心:在 Host 上通过命令名自动检测 Claude Code、Codex、Command Code、Kimi CLI、Gemini CLI、Pi Agent、OpenCode、Grok Build、ZCode 与 MiniMax Code 等十种 CLI,并把它们作为 DSH 子进程以原生会话方式投影出来,支持流式输出、工具调用、权限确认、提问、用量与思考强度。它适合希望在不离开 DSH 界面的前提下,按任务在不同 Agent 之间切换、并保留 Agent 自有凭据与模型上下文的多 Agent 重度用户;模型与凭据均留在各 CLI 内部,插件不做中转。
依赖方面,终端强化在 macOS 与 Linux 上需要本机 tmux,Windows 上使用 ConPTY;持久终端、终端绑定范围调整都需要重启 DSH。登录保护使用本地账号统一守护局域网与中继,配置文件位于 ~/.dsh/settings.yaml 的 codingns: 命名空间。插件以 GPL-3.0-or-later 发布,分发衍生作品须遵循同条款。首次使用需先在 DSH 之外安装并登录目标 Agent CLI,再于「外部Agent集成」中启用,在输入框选择 Agent、模型与思考强度后即可发送消息。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:Codingns4DSH(jingyi0605/Codingns4DSH)
仓库:https://github.com/jingyi0605/Codingns4DSH
本站详情页:https://www.yhbd.top/plugins/jingyi0605-codingns4dsh/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 GPL-3.0 · ⭐ 21 · 最近提交 2026-10-01 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【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 更稳。
- 21 stars - an early-stage project星标 21,属于早期项目
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 @jingyi0605/codingns4dsh@0.2.0-rc.2
把 jingyi0605/Codingns4DSH 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
CodingNS for DeepSeek Harness
把外部 Agent CLI、持久终端、工作区调试和远程访问,装进 DSH 原生界面。
简体中文 · English
当前版本 @jingyi0605/codingns4dsh@0.2.0-rc.2 · DSH 0.2.0-rc.2(仅正式兼容并验证该版本)· Node >= 22.19 · macOS / Linux / Windows
GitHub · npm · QQ 群 1092985965
界面预览 · 这是什么 · 外部 Agent · 功能详解 · 安装 · 首次使用 · 故障排查 · 开发 · 鸣谢 · 许可证
界面预览
CodingNS 工作台把会话、Agent 选择器与右侧 Git 面板放在同一界面中。
这是什么
DSH(DeepSeek Harness) 是一个编码 Agent 运行框架,由 CLI 和 Web 界面组成,在你的 Workspace 中运行 Agent 循环。
Codingns4DSH 是一个 DSH 插件 Bundle(Host 层 + 浏览器层),提供十一个模块,全部在 设置 → Codingns4DSH 中配置。
名称说明:本插件名为 Codingns4DSH(npm 包
@jingyi0605/codingns4dsh,设置页入口显示为 Codingns4DSH);文中单独出现的 Codingns4DSH 指提供 Control API、账号与中继隧道的平台服务。
| 模块 | 作用 | 默认 |
|---|---|---|
| 外部Agent集成 | 把已安装的 Agent CLI 变成 DSH 原生会话:流式输出、工具调用、权限确认、提问、用量、思考强度 | 开 |
| 工作区会话增强 | 会话行显示 Agent Logo、归档会话入口、工作区隐藏/恢复入口、订阅/用量信息 | 关 |
| 移动端访问增强 | 手机或窄屏下收起主侧栏、设置导航改为图标轨道,支持左右横滑开合侧栏、Android 振动与局域网 PWA 通知 | 开 |
| 终端强化 | 持久终端,以及 Shell、主题、字体、光标、滚动缓冲区设置 | 关 · 需重启 |
| 局域网访问DSH | 监听端口并把局域网地址转发到本机 DSH Web;状态指示器显示启动状态,一键复制可用的访问地址 | 常驻 |
| 登录保护 | 可选:用统一的本地账号保护局域网和中继访问,回环地址始终放行 | 常驻(卡片) |
| 中转访问服务 | 在互联网任何位置访问自己的 DSH Web,端到端加密 | 关 |
| 工作区调试 | 按工作区保存启动配置、检查端口、HTTP 服务代理 | 开 |
| Git 仓库管理 | 在右侧 Sidebar 标签页查看改动、暂存文件、提交和 Git 版本历史 | 开 |
| 文件管理增强 | 在文件侧栏创建、重命名、移动、复制、删除文件和目录,并支持代码与脚本识别 | 关 |
| PeerHost 聚合工作台 | 当前 Host 代理已握手的其他 DSH Host,按 HostScope 聚合工作区、会话和受控工具 | 关 |
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
whiteguo233/dsh-openbiliclaw
chenw2759-wq/dsh-IDE
ZhangFengshun/dsh-remote-ssh
caoyiwei850/dsh-ssh-ops
fuhefei/dsh-sentinel
Angel2518975237/deepseek-harness-hello-kitty-suite