mytianyi0712/dsh-tui-plugin-OhMyPi
一个dsh的终端样式插件,灵感来自Oh My Pi
Project Overview项目介绍
This repository hosts dsh-omp-tui, a native profile bundle plugin built exclusively for DeepSeek Harness (DSH) that adds an OMP-style terminal user interface to DSH. It handles all terminal rendering, input interaction, and session-related TUI functionality, while relying on the core DSH host for agent logic, model inference, tool execution, persistence, and sandboxing. The project is currently migrating to the DSH community’s public adapter standard and dsh-ecosystem-spec v0.15, so it works with recent DSH pre-release versions. To install the pre-built release, you can run the official DSH plugin command directly, pulling the compressed tarball from GitHub releases, which requires no local building on the user’s end.
dsh-omp-tui comes with a full set of OMP-style Catppuccin themes, responsive terminal layout, support for interrupting the current generation and queuing follow-up messages, persistent session management, and keyboard shortcuts for switching models and permission modes. It also ports the WeChat bridge plugin from OhMyPi, which lets users scan a QR code to log in and trigger DSH tasks remotely via WeChat, which is convenient for remote task management. This plugin is aimed at developers who prefer working in the terminal and want to customize their DSH interaction experience to match their personal workflow habits. It works well for both development tasks and lightweight daily task processing through a clean terminal-native interface.
To run this plugin, you need to have Node.js version 22.19.0 or newer, pnpm 11.7.0 or a compatible pnpm 11 release, and DSH version 0.1.1-rc.2 or newer. It is recommended to use a terminal that supports true color and has Nerd Font icons enabled to get the full visual experience offered by the plugin’s theme and layout. The project is open-sourced under the BSD-3-Clause license, and it is currently maintained slowly by the author, who only updates it to meet their personal needs. The migration to the community adapter specification is still experimental, so some compatibility issues may occur with certain DSH versions, and new feature requests from the community are not actively addressed.
dsh-omp-tui 是专为 DeepSeek Harness (DSH) 开发的原生 OMP 风格终端界面 profile bundle 插件,为 DSH 提供终端呈现、输入交互与会话管理相关的 TUI 能力,核心的 agent 逻辑、模型调用、工具执行、持久化存储和沙箱能力仍由 DSH 宿主提供。该插件目前正在迁移适配 DSH 社区公开适配器标准与 dsh-ecosystem-spec v0.15 规范,可通过 DSH 官方插件命令直接安装,使用 dsh --profile tui 即可启动。
它内置了 OMP 风格的 Catppuccin 全系列主题,支持响应式终端布局、插话队列、持久化会话管理,还提供了模型选择、权限切换的快捷键与斜杠命令,额外移植了微信桥插件,支持扫码登录后通过微信远程调用 DSH 执行日常任务。它面向习惯使用终端操作、希望给 DSH 定制个性化交互界面的开发者,能满足不同场景下的终端化 DSH 开发与日常任务处理需求。
安装该插件需要满足 Node.js ≥22.19.0、pnpm 11.7.0、DSH ≥0.1.1-rc.2 的运行要求,推荐使用支持真彩色和 Nerd Font 图标的终端以获得完整体验。项目采用 BSD-3-Clause 许可证开放源码,目前处于缓慢维护状态,仅满足维护者个人需求,社区适配器迁移仍处于实验阶段,部分功能可能存在兼容性问题。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-tui-plugin-OhMyPi(mytianyi0712/dsh-tui-plugin-OhMyPi)
仓库:https://github.com/mytianyi0712/dsh-tui-plugin-OhMyPi
本站详情页:https://www.yhbd.top/plugins/mytianyi0712-dsh-tui-plugin-ohmypi/
本站登记:类型 client · 归类 原生 DSH 插件 · 许可证 NOASSERTION · ⭐ 7 · 最近提交 2026-09-03 · 主语言 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 更稳。
- Only 7 stars - very few users, little community feedback星标只有 7,几乎没人在用,遇到问题缺少社区反馈
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 tui add @dsh-std/adapter-dsh
把 mytianyi0712/dsh-tui-plugin-OhMyPi 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
简介
dsh-omp-tui 是 DeepSeek Harness(dsh)的独立 profile bundle(插件),负责终端呈现、输入交互与会话相关的 TUI 能力;agent、模型、工具、持久化和沙箱仍由 dsh harness 提供。
目前本项目正在迁移并合并 DeepSeek Harness 社区发起的公开适配器支持,正在向社区公开的 @dsh-std/adapter-dsh 与 dsh-ecosystem-spec v0.15 插件准入规范迁移;详细说明见 社区适配器迁移说明。
它内置了 OMP 风格的 Catppuccin 主题、会话与快捷键体系、/model 与 /permission 等斜杠命令,以及从 OMP 迁移来的微信桥插件(WeChat iLink),可直接通过 dsh --profile tui 启动使用。
[!IMPORTANT] 维护状态说明
- 项目目前已经可以作为 TUI 工具正常使用,必要功能均已测试通过。
- wechat-claw 通道的远程控制能力已开发完成。
- 由于本人近期发现利用dsh万物皆插件的性质+本地部署小模型或者接入其他低价模型,用来处理一些日常任务好像可以达成很不错的效果,可以随便定制自己想要的功能,因此本人准备继续缓慢维护该项目,只解决个人需求,如有其他功能需求,可以提交issue。
目录
界面预览
截图来自本机 WezTerm 中实际启动的 dsh --profile tui。演示实例未配置 API key,因此截图聚焦于启动页、状态栏和内置帮助面板,不代表模型响应效果。
欢迎页
输入 /help 可查看快捷键和命令
工具卡支持折叠、展开和隐藏;助手正文、思考块、上下文卡和 Output 分隔栏使用独立的视觉层级。
功能概览
| 功能 | 说明 |
|---|---|
| 🎨 OMP 风格 TUI | 默认 Catppuccin 动态深浅主题、truecolor、Nerd Font 图标和简洁双横线编辑区 |
| 📐 响应式布局 | 工作目录固定在编辑器下方左侧,权限模式右对齐;模型、思考强度与 ctx 独立成行,窄终端优先保留权限与上下文 |
| 💬 会话管理 | 支持新建、命名、恢复和进程内切换持久化会话 |
| ⏱️ 插话队列 | 生成中按 Enter 把消息加入插话队列,在下一步(通常在工具调用完成后)送达模型;Alt+Up 编辑未生效插话并取消排队 |
| 🧠 模型与思考等级 | 通过 /model、/think 选择 provider、model 和 reasoning effort |
| 🔀 工作模式 | 支持 dsh 官方 standard、minimal、code、cordis 预设,也能发现本地安装的 agent preset |
| 🔐 权限模式 | 通过 /permission 在 read-only、workspace-write、full-access 等部署可用预设间切换 |
| 🌗 主题与本地化 | 移植本机 OMP 全部 98 个具体主题(dark-* / light-* / 中性主题),支持动态(深浅色槽位独立)与选定(单一主题)两种模式;支持逐角色 RGB 覆盖;内置 zh-CN 与 en |
| ⌨️ 命令与补全 | 支持斜杠命令、@ 会话/文件引用、路径补全和参数补全 |
| 💚 微信桥 | 扫码登录、白名单/配对码、@dsh 远程命令、进度/结果推送、wechat_send / wechat_status 工具 |
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
ChisaAlter/Deepseek-Harness-Desktop
rison114514/dsh-endfield-ui
WZZNNE/DSH-CyberWorkStation
HaoyueQin/deepseek-harness-desktop
Ultronen/dsh-liquid-glass