证据快照复核于 2026-09-09GitHub 数据核对日期: 2026-08-21
证据已验证Plugin Bundle界面与体验deepseek-harness Profile

dshline

面向 DeepSeek Harness 插件和智能体会话的原生终端前端。

快速了解

它能做什么

面向 DeepSeek Harness 插件和智能体会话的原生终端前端。

本站提供的是中文说明,不代表该项目或 Plugin 自身提供中文界面;语言支持请以上游文档为准。

使用场景
界面与体验终端 UIPlugin 管理会话管理
适配技术
deepseek-harnessnodejs
兼容性

deepseek-harness Profile
DeepSeek Harness peer packages: 0.1.5-alpha.1; Cordis: ^4.0.2

可信度与状态

证据已验证
核对日期 2026/9/9 UTC 14:26

有代码证据的贡献

它为 DSH 增加什么

dshline 终端前端

为 DeepSeek Harness 能力提供原生终端界面,包括会话、模型、提供商、配置档、插件、工作项、主题和图片暂存。

机制证据

选择前先看

dshline 是一个通过 npm 交付的 DeepSeek Harness Bundle。它将 Harness 能力呈现在受限的终端动态区域中,同时把已完成输出保留在普通终端回滚缓冲区。文档列出的命令涵盖会话、工作树、任务与子智能体、提供商连接、模型选择、智能体预设、配置档与 Bundle、待办、主题和图片暂存。

适合谁

已在使用 DeepSeek Harness、希望通过交互式终端界面工作的开发者。

常见任务

  • 从终端创建和恢复 Harness 会话。
  • 通过 /work 查看工作树、工作流、任务和子智能体。
  • 通过 /connect 配置可用提供商,并通过 /model 切换已注册模型。
  • 通过 /plugins 浏览或调整智能体预设组合,并通过 /profiles 管理 Harness 配置档和 Bundle。

权限与数据

dshline 依赖当前 DeepSeek Harness 配置档来决定运行时策略、沙箱、状态、凭据和持久化。

权限
  • Harness 配置档中的工具权限决定普通工具调用可执行的操作。
  • 该 Bundle 组合了供 /connect 使用的 Harness 授权支持。
数据处理
  • 会话、凭据、设置和持久化由 Harness 管理,而非由独立的 dshline 状态库管理。
  • 已完成输出保留在终端回滚缓冲区中;仅有限的动态区域会重绘。
凭据
  • /connect 显示的提供商登录流程依赖 Harness 已注册的凭据和授权服务。

局限

  • 需要 Node.js ^22.19 或更高的声明支持版本,以及兼容的 DeepSeek Harness 对等依赖。
  • 提供商可用性取决于已挂载的 Harness 适配器;dshline 不自带提供商列表或登录协议。
  • README 提醒:普通工具调用是否逐次确认取决于当前 Harness 配置档。
  • 提供的证据未审计 npm 包内容,也未实际执行安装。

DSHub 已核对

  • 已捕获不可变 Git 提交、包清单和 Cordis Bundle 补丁,且 Bundle 结构检查通过。
  • 清单声明了 0.20.0 版本、MIT 许可证、Node.js 要求以及公开 npm 分发身份。

DSHub 未核对

  • 未执行安装、首次运行时的配置档创建、命令行为、提供商连接或运行时兼容性验证。
  • 未审计 npm 仓库包内容;仅验证了其身份。

固定版本安装

安装 dshline

这个Plugin Bundle没有 DSH Plugin 安装操作,请根据源码文档使用真实交付方式。

访问源码项目

维护者原文

项目 README

查看 commit 7d36318 对应的 README
维护者编写的上游内容原文于 2026/9/9README.md 获取,正文和仓库相对媒体固定到 commit 7d36318c47ca,内容哈希为 cf9c5331f2d4。以下是未经 DSHub 翻译的上游原文,语言可能与当前页面不同;第三方托管的 badge 可能独立更新。
<p align="center"> <img src=".github/assets/dshline-hero.svg" alt="dshline: a terminal-native frontend for DeepSeek Harness. Harness plugins flow through capability contracts into native terminal UI." /> </p>

dshline

English | 中文

The terminal-native frontend for the DeepSeek Harness plugin ecosystem.

An agent in your terminal — not instead of it. Finished output stays in your terminal's own scrollback; only a bounded live region redraws.

Website: dshline.xyz

npm CI OpenSSF Scorecard license

See it in action

<p align="center"> <img src=".github/assets/dshline-demo.gif" alt="Animated terminal walkthrough of dshline: choosing a model, browsing plugins, and following a subagent task." /> </p>

Install

npm install -g @deepseek-ai/dsh @dshline/dshline
dshline

The first run asks once before letting Harness create the dshline profile and install this package into it. See Install for requirements, verification, explicit setup with dshline --setup, and source installs.

[!WARNING] Sandbox and tool permissions are controlled by the active Harness profile; ordinary tool calls may run without per-call review. See Permissions and the sandbox before using dshline on important code.

Why dshline?

Harness plugins publish capabilities; dshline presents supported capabilities natively in the terminal. It runs in-process and consumes Harness contracts rather than creating separate provider runtimes, state stores, or policy.

Harness plugin → standard capability → dshline presentation adapter → native terminal UI

Harness owns capabilities, state, runtime, persistence, and policy. dshline owns terminal presentation.

<p align="center"> <img src=".github/assets/dshline-architecture.svg" alt="Capability flow from DeepSeek Harness plugins through standard capability surfaces and dshline adapters to a native terminal UI with real scrollback." /> </p>

Generic capability integration

dshline integrates through standard Harness capabilities instead of provider-specific code. Work consumes ctx.jobs and ctx.subagents; Sessions uses ctx.sessionQuery; /connect uses Harness's model, settings, credentials, and authorization services; /plugins reads and switches the running agent's composition through ctx.agentPresets; /profiles reads the profile roster through Harness's own home-path service and forwards every change to dsh plugin. New providers can therefore flow through existing interfaces without requiring a dedicated dshline implementation.

It ships no provider list and no login protocol: /connect offers whatever the mounted adapters declare configurable and runs whatever flows Harness has registered, so the same providers are reachable from the terminal and from the official web Models page, over one settings document and one credential store.

See Architecture for the capability model and current adapter boundaries.

Native terminal by design

Finished output is committed to real terminal scrollback and never rewritten. Normal scrolling, selection, and copying keep working while dshline redraws only a bounded live region. The Harness-independent renderer stays small, dependency-light, and focused on terminal correctness: widths, Unicode, escaping, keys, and safe redraws.

See Design for the terminal invariants and Comparison for the trade-offs.

Use dshline

Type / to discover the commands and capabilities available in the active Harness profile.

  • /new — start a fresh session in the current workspace; the previous one is reopenable when the active Harness profile provides session persistence
  • /clear — wipe the screen and start a fresh session in the current workspace, like /new; the previous one is reopenable when the active Harness profile provides session persistence
  • /image <path> — stage a PNG, JPEG, WebP, or GIF as a real Harness image for the next prompt; @path remains a textual reference
  • /sessions — browse and resume Harness sessions
  • /worktrees — choose a working directory represented in your Harness session history, then a conversation there or a new one
  • /work — inspect workflows, subagents, and jobs
  • /connect — configure providers through Harness
  • /plugins — browse, search, and customize the running agent's Harness preset composition
  • /profiles — browse Harness profiles and the bundles each one composes; install, update, or remove one
  • /todos — inspect projected Todo state
  • /model — switch registered models
  • /theme — choose the colour palette this window draws with

Usage covers keys, sessions, commands, and permission guidance.

Contributing

Contributions are welcome, especially generic capability adapters, terminal robustness, cross-platform verification, Unicode/CJK correctness, sessions, attachments, and focused UX improvements. Start with CONTRIBUTING.md, then read AGENTS.md and the canonical Roadmap.

Documentation

License

MIT. Not affiliated with or endorsed by DeepSeek.

有意识地管理

安装与管理

前置条件与目标 Profile

目标 deepseek-harness Profile

交付方式 Git Bundle — riesbri/dshline#7d36318c47cafd65bb5b26772107d9375c418d81

验证、更新与移除

显示生命周期命令
验证
dsh plugin --profile deepseek-harness list

兼容性与访问范围

Requires Node.js ^22.19 or >=24 and DeepSeek Harness peer packages DeepSeek Harness peer packages: 0.1.5-alpha.1; Cordis: ^4.0.2

检查兼容性证据

风险事实

permissions

Tool permissions and sandbox behavior are controlled by the active Harness profile; ordinary tool calls may not receive per-call review.

证据
lifecycle-script

The package declares a prepare lifecycle script that runs TypeScript compilation.

证据
证据与编辑审查Manifest、Bundle patch、分发与新鲜度

不可变证据

审查状态与源码活动

AI 已审查

安装前可通过固定提交的源码链接检查 Bundle 补丁和包清单。

AI 审查于 2026/9/9 UTC 14:27GitHub 事实核对日期: 2026/9/9 UTC 14:27

自当前证据基线以来,没有记录到重要源码变化。

下一步

按 Plugin 安装流程操作

订阅重要变化: dshline