zhxqc/dsh-oh-my-theme 预览 preview

zhxqc/dsh-oh-my-theme

Plugin插件 Native原生 ⭐ 7 MIT Docs & Writing文档与写作UI & Themes界面与主题

DeepSeek Harness (dsh) 网页插件,具备主题、全局排版、@文件提及、项目文件树和 Markdown 预览功能。

Project Overview项目介绍

This repository holds a native plugin built exclusively for the DeepSeek Harness (DSH) web client, adding custom theme styling and a full-featured file workbench to the base DSH experience. It ships with three built-in starting color schemes, and lets users adjust font sizes and families separately for conversation threads, file trees, and previews. To install the published version from npm, run dsh plugin --profile web add dsh-oh-my-theme in your terminal, then start DSH web with dsh web. For local development, you can install it directly from your local project path using the same DSH CLI command.

This plugin is designed for DSH users who want a polished UI experience and more controlled file context injection when working with the DSH AI assistant. After installation, you can access all theme and font settings via Settings > General Settings > Oh My Theme, hover over color swatches to preview themes live, and click to save your selection. To insert a file reference for the AI to read, just type @ in the input box, search for your target file, and select it to insert an @-prefixed file path. You can open the full file navigation panel via the workspace button on the left of the session log.

All theme and font preferences are stored locally in your browser's localStorage, so they do not interfere with DSH's core session data at all. The plugin is released under the permissive MIT open source license, so you can use, modify, and distribute it freely in compliance with the license terms. The built-in Git view only runs read-only Git commands restricted to the current working directory, so it cannot make any changes to your repository. Text files larger than 512KB and all binary files are not supported for preview, and will be skipped by the plugin.

这是专门为 DeepSeek Harness(DSH)网页端开发的原生插件,整合了自定义主题美化与增强型文件工作台功能。它提供三大核心能力:自定义皮肤与各区域文字大小调整、通过 @ 符号快速插入项目文件引用给 AI 做上下文、Codex 风格的树形文件导航与预览面板。插件遵循 DSH 第三方插件标准结构开发,不需要额外构建步骤。

这款插件面向日常使用 DSH 开发和对话的用户,能优化界面显示体验,同时提升 AI 读取项目文件的效率。安装后用户可以在设置里切换内置的三套主题,实时预览效果,调整字号字体;输入 @ 就能快速搜索并插入文件引用,比 AI 盲目搜索上下文更精准高效。打开右侧文件面板后可以浏览项目、预览文件和查看 Git 状态。

所有用户偏好设置都保存在浏览器 localStorage 中,不会影响 DSH 的会话数据。插件遵循 MIT 开源许可协议,可免费使用和修改。Git 功能只开放只读命令,限制在当前工作区操作,不会执行任何写入操作;大文件超过 512KB 会拒绝读取,二进制文件也不支持预览。通过 npm 包名或本地路径安装后,启动 DSH 网页端即可使用。

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 web add dsh-oh-my-theme

把 zhxqc/dsh-oh-my-theme 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-oh-my-theme

English

npm npm downloads license GitHub stars Awesome DSH Plugin

为 DeepSeek Harness(dsh)网页端定制的「主题 + 文件工作台」插件:

  1. 皮肤与文字显示 —— 在 设置 → 通用设置 → Oh My Theme 中切换配色,并分别调整对话流、文件树和文件预览字号。
  2. @ 引用文件 —— 输入框里输入 @ 即可搜索当前项目文件,插入 @路径 引用,让 AI 精确读取内容,避免盲目搜索消耗上下文。
  3. 右侧文件面板 —— Codex 风格的项目文件树与文件预览,可独立显示或分栏显示;Markdown 与常见代码文件支持语法高亮,未知文本格式回退为纯文本。

按第三方插件的标准形态构建(与内置 ui-* 系列、dsh-at-file 与 dsh-skin 同构)。无构建步骤:宿主半与浏览器半都是手写文件、原样下发。

功能

🎨 主题与文字显示

在 设置 → 通用设置 → Oh My Theme 中切换配色,并分别调整对话流、文件树和文件预览的字号与字体。

  • 内置 3 套起步皮肤 —— aurora(暗色极光紫)、coffee(暖色咖啡棕)、matrix(暗色终端绿),外加默认跟随内置外观。
  • 悬停实时预览 —— 鼠标移到色卡上,整个页面实时套用该皮肤(不落盘);只有点击才保存选择。
  • 全局文字显示 —— 对话流、文件树、文件预览字号可分别配置,预览字体可自定义;修改后立即生效并保存在当前浏览器。
主题与文字显示

✨ @ 引用文件

在输入框输入 @ 搜索当前项目文件,插入 @路径 引用,让 AI 精确读取内容,避免盲目搜索消耗上下文。

  • 按当前会话工作区搜索、排序;选中文件后插入 @相对路径 ,点击输入框中的引用文本后才打开右侧预览。
  • 目录项末尾带 /,输入 @src/ 可继续向下钻取。
@ 引用文件

📁 右侧文件面板(Codex 风格)

点击 Session log 左侧的工作区按钮打开。可切换「仅项目文件 / 文件与预览分栏 / 仅文件预览」,Markdown 与常见代码文件支持语法高亮。

  • 懒加载文件树 —— 目录按需逐层加载,自动跳过 node_modules / .git / 构建产物目录;文件树与 @ 菜单共用 VSCode Material Icon Theme 图标。
  • 快速打开文件 —— 在面板中点击搜索按钮,或按 Ctrl/Cmd + P,按文件名或路径筛选并回车打开;索引会复用 @ 引用的工作区缓存。
  • 多文件预览标签 —— 连续打开多个文件时保留独立预览标签,可切换或关闭;标签只在当前会话内有效,按需读取文件内容。
  • 隐藏依赖过滤 —— 点文件、隐藏文件及依赖/构建目录(包括 node_modules、.pnpm、.git、dist 等)不会出现在文件树或 @ 菜单中。
  • 独立视图 —— 面板标题栏可切换「仅项目文件 / 分栏 / 仅文件预览」三种布局。
  • Markdown 与代码预览 —— .md 使用 dsh 的 Markdown 渲染器;JS/TS/TSX、JSON、HTML/CSS、Vue、Python、Go、Rust、Java、Shell、YAML、SQL、Dockerfile 等常见代码文件复用 Shiki 高亮和复制按钮;未知 UTF-8 文本回退为纯文本(512KB 上限、二进制拒绝读取)。

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-failure-capsule 下一个 Next dsh-acp-enhanced →