UNLINEARITY/dsh-code 预览 preview

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 插件接口演进。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 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 | 中文

DSH-Code welcome screen and model status

Typing SVG

DeepSeek Harness dsh version GitHub stars npm version License


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 →

← 上一个 Prev dsh-design-qa 下一个 Next hedgehog →