UNLINEARITY/dsh-code
Claude-Code风格的TUI工具包,专为DeepSeek Harness打造。深度融合DSH的核心机制与高级特性,结合Codex CLI、Claude Code等主流交互机制,构建DSH-Code。(注:支持DSH特殊模式、插件系统、模型管理、子代理会话及DeepSeek官方API专属动画)
Project Overview项目介绍
DSH-Code is a terminal-based coding interface bundle built exclusively for DeepSeek Harness (DSH). It is built on top of the official @deepseek-ai/dsh-base and reuses all core DSH infrastructure, including agent scheduling, session management, tool invocation, permission controls, and the sandbox environment. It retains DSH’s full plugin architecture and adds a terminal-native workflow optimized for coding tasks, with all core runtime logic still governed by DSH’s core services and configurations. To install and run DSH-Code, you need Node.js version 22.19 or later, or any Node.js release 24 and newer, paired with the developer preview version of the DSH CLI.
DSH-Code is built for developers who prefer working entirely from the terminal. It supports the full lifecycle of a coding workflow, from creating new sessions, resuming past sessions, and forking new working branches from historical nodes. It includes searchable histories for both sessions and prompts, and each session can use an independent agent preset to match different task requirements. Users can choose between presets for general coding, minimal lightweight work, custom workflows, and more. All core capabilities of DSH, including models, tools, and persistent sessions, are accessible directly from this terminal interface.
DSH-Code is released under the permissive open source MIT license. It can be installed via npm or downloaded as a pre-built tarball from GitHub Releases, and includes a built-in updater that checks for new versions on npm. Old session logs are automatically migrated to the new format without altering the original stored data, so users do not need to manually handle migration. It supports delegating tasks to external agents like Claude Code and Codex CLI, and can pair with the tmux context plugin for additional functionality. Since DSH is still in developer preview, DSH-Code is updated regularly to match changes to DSH’s plugin interface.
DSH-Code 是专为 DeepSeek Harness(DSH)打造的终端编码界面 bundle,基于官方 @deepseek-ai/dsh-base 构建,完全复用 DSH 原生的 Agent 调度、会话管理、工具调用、权限控制与沙箱环境。它保留 DSH 的整套插件架构,补充了适合编码任务的终端工作流,界面采用开发者熟悉的终端操作方式,核心运行逻辑仍由 DSH 服务和配置决定。使用要求 Node.js ^22.19 或 >=24,配合预览版 dsh CLI 使用。
DSH-Code 面向习惯使用终端工作流的开发者,覆盖从编写代码到审查修改的完整开发流程,支持新建会话、恢复历史会话、从历史节点分叉新工作分支等操作,提供可搜索的会话历史和提示词记录,每个会话支持独立配置 Agent 预设,用户可切换不同预设适配通用编码、精简工作流等场景。启动后可直接在终端调用 DSH 的模型、工具和持久会话能力。
DSH-Code 采用 MIT 许可开源,作为 DSH 原生 bundle,支持通过 npm 或 GitHub Release 预构建压缩包安装,自带一键更新工具,旧版本会话日志会自动迁移格式,不影响原有数据存储。它支持将任务委托给 Claude Code、Codex CLI 等外部代理,也可搭配 tmux 上下文插件使用。目前 DSH 处于预览版,DSH-Code 会持续跟随 DSH 插件接口演进。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-code(UNLINEARITY/dsh-code)
仓库:https://github.com/UNLINEARITY/dsh-code
本站详情页:https://www.yhbd.top/plugins/unlinearity-dsh-code/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 43 · 最近提交 2026-09-30 · 主语言 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 更稳。
- 43 stars - an early-stage project星标 43,属于早期项目
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 cli add dsh-code@2.0.0
把 UNLINEARITY/dsh-code 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
DSH-Code
English | 中文

1. Project overview
DSH-Code is a terminal coding interface for DeepSeek Harness (dsh). It is composed as an out-of-tree bundle on top of the official @deepseek-ai/dsh-base and uses the same Agent, Session, tool, command, skill, permission, sandbox, context-compaction, and plugin services as the Harness Web UI.
DeepSeek Harness registers models, tools, storage, policies, and interfaces as plugins through Cordis. Durable session events record the information required to restore conversations and runtime state. DSH-Code preserves that architecture while adding a terminal workflow suited to coding tasks. The interface follows terminal conventions familiar to developers, while runtime behavior remains governed by DSH services and configuration.
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
Jonah-Wu23/dsh-agy-safe
Uddoo/dsh-dashboard
wxxb789/dsh-legion
omdsh-dev/DSH-better-sidebar