mytianyi0712/dsh-tui-plugin-OhMyPi 预览 preview

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 许可证开放源码,目前处于缓慢维护状态,仅满足维护者个人需求,社区适配器迁移仍处于实验阶段,部分功能可能存在兼容性问题。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • 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

OMP 风格的 DeepSeek Harness(dsh)终端界面

License Version dsh PRs Welcome


简介

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,因此截图聚焦于启动页、状态栏和内置帮助面板,不代表模型响应效果。

dsh-omp-tui 欢迎页
欢迎页

dsh-omp-tui 帮助面板
输入 /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 →

← 上一个 Prev dsh-client-ui-theme-xp 下一个 Next dsh-subscriptions →