DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Tui Pi — DeepSeek Harness 插件(DSH Plugin)
← Plugins

@aiwayds/dsh-tui-pi

Tui Pi

功能完整的 pi 风格 DeepSeek Harness (dsh) 终端 UI——历史回看与按轮次分叉、引导式预设切换、实时子代理控制、模型配置档案与主题

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add @aiwayds/dsh-tui-pi@2.20.0
README兼容性版本

兼容性与来源证明

Tui Pi 以 @aiwayds/dsh-tui-pi 发布,当前版本为 2.20.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
npm
Registry 更新时间
2026/9/20

版本

2.20.0stable
2026/9/17
2.19.0stable
2026/9/16
2.18.2stable
2026/9/14
查看其余 99 个版本收起版本
2.18.1stable
2026/9/14
2.18.0stable
2026/9/12
2.17.0stable
2026/9/12
2.16.0stable
2026/9/12
2.15.0stable
2026/9/11
2.14.0stable
2026/9/11
2.13.0stable
2026/9/10
2.12.0stable
2026/9/10
2.11.4stable
2026/9/9
2.11.3stable
2026/9/9
2.11.2stable
2026/9/9
2.11.0stable
2026/9/9
2.10.0stable
2026/9/9
2.9.1stable
2026/9/9
2.9.0stable
2026/9/8
2.8.3stable
2026/9/8
2.8.2stable
2026/9/8
2.8.1stable
2026/9/7
2.8.0stable
2026/9/7
2.7.1stable
2026/9/5
2.7.0stable
2026/9/5
2.6.0stable
2026/9/5
2.5.0stable
2026/9/3
2.4.0stable
2026/9/3
2.3.0stable
2026/9/3
2.2.0stable
2026/9/2
2.1.1stable
2026/9/2
2.1.0stable
2026/9/2
2.0.2stable
2026/9/2
2.0.1stable
2026/9/2
2.0.0stable
2026/9/1
1.3.1stable
2026/9/1
1.3.0stable
2026/9/1
1.2.4stable
2026/8/31
1.2.3stable
2026/8/31
1.2.2stable
2026/8/31
1.2.1stable
2026/8/30
1.2.0stable
2026/8/30
1.1.0stable
2026/8/29
1.0.8stable
2026/8/29
1.0.7stable
2026/8/29
1.0.6stable
2026/8/29
1.0.5stable
2026/8/29
1.0.4stable
2026/8/28
1.0.2stable
2026/8/28
1.0.3stable
2026/8/28
1.0.1stable
2026/8/28
1.0.0stable
2026/8/28
0.29.0stable
2026/8/27
0.28.0stable
2026/8/27
0.27.0stable
2026/8/27
0.26.0stable
2026/8/26
0.25.1stable
2026/8/26
0.25.0stable
2026/8/26
0.24.1stable
2026/8/25
0.24.0stable
2026/8/25
0.23.0stable
2026/8/25
0.22.1stable
2026/8/25
0.22.0stable
2026/8/25
0.21.0stable
2026/8/25
0.20.1stable
2026/8/24
0.20.0stable
2026/8/24
0.19.1stable
2026/8/24
0.19.0stable
2026/8/24
0.18.1stable
2026/8/23
0.18.0stable
2026/8/23
0.17.0stable
2026/8/23
0.16.0stable
2026/8/23
0.15.1stable
2026/8/22
0.15.0stable
2026/8/22
0.14.1stable
2026/8/22
0.14.0stable
2026/8/22
0.13.1stable
2026/8/22
0.13.0stable
2026/8/21
0.12.0stable
2026/8/21
0.11.2stable
2026/8/21
0.11.1stable
2026/8/21
0.11.0stable
2026/8/21
0.10.6stable
2026/8/21
0.10.5stable
2026/8/20
0.10.4stable
2026/8/20
0.10.3stable
2026/8/20
0.10.2stable
2026/8/20
0.10.1stable
2026/8/20
0.10.0stable
2026/8/20
0.9.4stable
2026/8/20
0.9.3stable
2026/8/20
0.9.2stable
2026/8/20
0.9.1stable
2026/8/20
0.9.0stable
2026/8/20
0.8.3stable
2026/8/20
0.8.2stable
2026/8/20
0.8.1stable
2026/8/19
0.8.0stable
2026/8/19
0.7.2stable
2026/8/19
0.7.1stable
2026/8/19
0.7.0stable
2026/8/19
0.6.0stable
2026/8/19
0.5.2stable
2026/8/19

相关插件

正在加载相关插件…

最新版
2.20.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
3.6 MB
文件数
287
Surface
any
许可证
MIT
发布源
npm
GitHub
★ 9
周下载
1,292
安全扫描
✓ v2.20.0 扫描通过
最近提交
2026/9/17
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层Remote Web Ui@linxin666/dsh-remote-web-ui通过扫码配对访问 dsh Web GUI,共享一个官方界面:设置按钮旁的二维码可将手机和 PC 配对到同一个 Web GUI(手机采用竖屏触控适配层,PC 使用完整桌面界面),通过一次性令牌和 rClient Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。

README

English | 简体中文

dsh-tui-pi

A fully-featured pi-style terminal UI for DeepSeek Harness (dsh) — a plugin suite that turns dsh into a pi-like coding-agent experience: /history look-back & fork-at-turn, guided preset switching, live subagent steering, model profiles, 20+ built-in themes (10 light + 10 dark) with user theme directory discovery, and a powerline footer.

Requires dsh >= 0.1.5-rc.2 — this plugin targets the dsh RC/stable line only (CI and releases resolve the newest of the latest/next dist-tags at runtime). The alpha line is no longer supported. A startup guard logs a one-line warning and exits cleanly when the host is older than the floor (opt out with DSH_TUI_SKIP_HOST_CHECK=1). See ADR 0002 for the now-superseded alpha single-target decision.

https://github.com/user-attachments/assets/67a7c6ca-ff42-4005-b543-437ba61771bb

A live recording of a session (MP4, 1.5× speed) — todos, running subagents, think/tool panels and the powerline footer in action.

✨ Features

Each item links to its own doc under docs/features/ — one line here, the details (and demo videos) there.

  • Footer — live session overview — provider/model, context pressure and the session cache-hit rate at a glance, always in view.
  • Think & tool panels — reasoning and tool activity stay out of the transcript, so the conversation reads clean.
  • Subagents — every running subagent gets a status line; watch and steer it live.
  • Ask User Question — the model can pause and ask you structured questions, answered without leaving the TUI.
  • Feishu integration — dsh-tui-pi on the desktop and Feishu/Lark on the phone driving (and answering for) the same dsh session.
  • Dynamic context pruning (DCP) — context stays within limits automatically, with zero LLM calls.
  • Persistent context — your ground rules ride along on every request, hot-applied with no restart.
  • Model profiles & favorites — profile switching lives in dsh-profile-switch now; this suite keeps the TUI read side (session seeding from the pin, live-selection bridge, scope-aware /agents edits) and the /model favorites that keep the picker small.
  • Agent preset switching — /preset between the shipped agent compositions (standard, minimal, …); a switch is confirmed and starts a NEW session on the preset (the current one stays resumable); what a preset really gates.
  • Sessions & resume — sessions stay tidy automatically and resume in a few keystrokes; the host's kernel write lease keeps the log single-writer across processes.
  • History browser — /history opens a fixed two-pane look-back over the session: completed turns on the left, the selected turn's replies on the right; copy a prompt back to the editor, or cold-read any stored session without resuming it (read-only).
  • Themes — 20 built-in palettes (10 light + 10 dark) plus user theme discovery (~/.dsh/themes/); hot-switchable, auto follows your terminal.
  • Search, selection & images — Ctrl+Shift+F over the whole transcript, drag-select copies to the OS clipboard, attachments from web/Feishu render inline, LaTeX replies draw as Unicode math.
  • Slash commands — /model, /resume, /btw, … plus everything dsh-native.
  • Settings browser & UI languages — /settings edits everything in place (alphabetical categories, per-provider model lists, a Subagent group); /language switches the UI language from any surface.
  • Startup plugin tree — every profile plugin with its installed npm version, printed at launch.

Install and launch

dsh plugin --profile tui add @aiwayds/dsh-tui-pi
dsh --profile tui          # launch (or: dsh-tui-pi)

Legacy session_projcache records (written before dsh 0.1.2-alpha.4) are migrated automatically at profile load — idempotent, with per-file backups, never blocking startup; the dsh-tui-pi launcher runs the same preflight.

Everything that used to need manual patching — the canvas background, the @deepseek-ai module closure, the compaction backend — now happens automatically. Upgrade an existing profile after a release:

node scripts/dev-upgrade.mjs                  # latest
node scripts/dev-upgrade.mjs 1.0.5 --dry-run  # preview the plan first

Uninstall

dsh plugin --profile <name> remove @aiwayds/dsh-tui-pi

The dsh-tui-pi bin shim is global and can stay; if you installed the package globally and want it gone too: npm -g rm @aiwayds/dsh-tui-pi.

The host cleans up the profile automatically: the dsh.profile.bundles entry is spliced and the whole patch layer goes away with the package — the stock session-projection-cache row re-enables, and the projcache wrapper, the tool-ask-user insert and its disable row all vanish.

User data stays on disk on purpose (deleting it is destructive; a reinstall reuses all of it): ~/.dsh/APPEND_SYSTEM.md, tui-command-usage.json, model-profiles.json, keybindings.json, ~/.dsh/agents/ + ~/.dsh/skills/, workspace .dsh-profile pins, the dsh-tui: settings section, and the session projection cache (incl. .bak-preflight-* migration backups). While the plugin runs, the retention janitor (default maxCount: 100 / maxAgeDays: 30) deletes old session logs — uninstalling stops that, but already-deleted logs are gone. scripts/install-font.mjs mutates OS font/terminal state and has a documented backup; uninstall doesn't touch it.


Companion plugins

Default dependencies — the nine plugins below ship with this package (installed into the profile's node_modules); activation still follows the profile's bundles list — list each one there to activate it.

  • @aiwayds/dsh-ask-router — fans every ask_user_question out to all answering surfaces (TUI panel, Feishu card); the first answer wins — list it in bundles before the UI bundles to activate.
  • @aiwayds/dsh-dcp — the deterministic zero-LLM compaction backend.
  • @aiwayds/dsh-llm-proxy — SYSTEM proxy + per-host LLM outbound routing.
  • @aiwayds/dsh-llm-stats — the /llm-stats usage ledger.
  • @aiwayds/dsh-mcp-adapter — folds MCP tool schemas out of every prompt and adds the /mcp command (demo).
  • @aiwayds/dsh-model-sync — syncs provider routes with the pi.dev model catalog.
  • @aiwayds/dsh-profile-switch — /profile-switch + /profile-cfg: named model profiles switched and configured through the host's ask-user flow, on the TUI and the web (the panels this suite used to carry). Add it to your profile's bundles to activate.
  • @aiwayds/dsh-subagent-registry — registers ~/.dsh/agents/*.md as use_agent subagents.
  • @aiwayds/dsh-web-search-anysearch — the AnySearch web search provider.

Recommended install — @aiwayds/dsh-topics-memory, OKF topic memory for dsh (zero-LLM hot-path injection + a local git-tracked bundle; formerly dsh-llmwiki-memory):

dsh plugin --profile tui add @aiwayds/dsh-topics-memory

Optional — @aiwayds/dsh-feishu — drives the same dsh session from Feishu/Lark on your phone (demo).


Keyboard shortcuts

KeyAction
EnterSend the prompt
EscDouble-press to stop everything — the first press arms, the second opens a confirmation dialog naming what is running (main turn + subagent count); Enter there stops the main turn AND every running subagent, Esc keeps everything running. A popup open closes it instead. Works while only background subagents run.
Ctrl+CMid-task: first press stops (same everything-stop, no dialog), second quits; idle: clears editor / quits. Held-key auto-repeat never quits.
Ctrl+DQuit (only when the editor is empty)
Ctrl+LOpen the model/think picker
Ctrl+GOpen the subagent picker (viewer Enter opens steer, x ×2 stops that subagent while it runs / closes when settled)
Ctrl+OPending-message queue (s steer now · d remove)
Ctrl+Shift+FTranscript search (Enter/Ctrl+G next · Shift+Enter/Ctrl+Shift+G previous · Esc close)
↑ / ↓Browse submitted-message history

Remap any app key through ~/.dsh/keybindings.json (a partial JSON map, live-applied) or interactively with /hotkeys.


Configuration

Everything lives under the dsh-tui namespace of ~/.dsh/settings.yaml — but you rarely touch the file: /settings browses and edits it in place (searchable categories — Agent Presets / General / Models / Plugins / TUI — with live values, per-field descriptions, and an add-provider flow under Models). Language, theme, panel height, footer hints and icon set hot-apply on change; the rest reads at the next launch.

Most knobs have sensible defaults and need no configuration. The few you might actually set:

dsh-tui:
  language: zh-CN   # UI language — or just /language (asks on any surface; bundled: en, zh-CN, ja, ko)
  theme: auto       # auto / light / dark / any registered theme name — or /theme
  maxAgents: 4      # subagent concurrency, 0 = unlimited (also tunable in /agents → l)

Adding a UI language is one JSON file in ~/.dsh/locales/ — a same-id file merges per key over the bundled one, a new id registers (details: Settings browser & UI languages). The session-store janitors (retention / resume) and ask-user timeouts (askUser) live in the same namespace with documented defaults.

The plugin ships a bundled skill (dsh-tui-pi-config): ask the agent to "configure the TUI" and it collects your choices interactively and writes the section for you. The full key table and the DSH_TUI_* env var list live in skills/dsh-tui-pi-config/SKILL.md.


Development

pnpm check    # tsc --noEmit
pnpm build    # emit lib/
pnpm test     # unit tests, node --test against lib/ (pretest builds — the current baseline lives in AGENTS.md)

pi-tui runs pristine from npm — no patches, no fork. See AGENTS.md for the iron rules and quality gates.


Documentation

  • docs/features/ — one doc per feature, with demo videos.
  • ARCHITECTURE.md — full design: process model, layers, data flow.
  • CHANGELOG.md — release history.
  • AGENTS.md — working conventions and quality gates for contributors.
  • docs/ — design notes (steer/follow-up flow, showcase drafts, …).

Credits

The Ask User Question interaction is inspired by juicesharp/rpiv-ask-user-question (adapted to this TUI's docked-panel and dsh userQuestions provider architecture; all code here is original).