YaoaY/dsh-conversation-accents 预览 preview

YaoaY/dsh-conversation-accents

为 DSH Web 的助手 Markdown、工具调用和 Think 内容提供可自定义的语义配色。Customizable semantic color accents for assistant Markdown, tool calls, and Think blocks in DSH Web.

Project Overview项目介绍

DSH Conversation Accents is a native theme plugin built exclusively for DSH Web. It adds semantic color highlighting to conversation content, including headings, highlights, links, quotes, inline code, tool calls, and Think blocks, making different content types easier to distinguish at a glance. To install the plugin, you need a working copy of DSH Web already set up on your machine. The recommended installation method is running the command dsh plugin --profile web add dsh-conversation-accents@alpha directly in your terminal, no cloning or local building required. After installation or update, you need to restart DSH Web and force-refresh the page in your browser.

This plugin is designed for DSH Web users who want better visual separation of conversation content, making long chat sessions easier to read and parse. Once installed and activated, users can navigate to the DSH settings menu, find the new Conversation Accents panel, and adjust all available options there. You can toggle the entire color scheme on or off, select any of the 7 built-in themes, edit custom colors for light and dark mode separately, adjust inline code text and background colors, and import or export custom color schemes as JSON files. The plugin only modifies conversation content colors, and does not change DSH’s existing navigation, input box, or overall page theme.

The current version of this plugin is developed and tested specifically for DSH version 0.1.2-rc.1. If you are running an older DSH version 0.1.0-rc.x, you will need to install the older 0.1.0-alpha.1 release of this plugin instead. The plugin works by reading DOM attributes on the DSH conversation page, so if DSH updates change the conversation page structure, you may need to update the plugin to keep it working correctly. It is released under the open source MIT license, does not collect any user analytics or upload conversation content, and restricts custom color inputs to valid hex color values to avoid security risks.

这是一款专为 DeepSeek Harness (DSH) Web 开发的原生插件,功能是为 DSH 会话中的助手回复、工具调用和 Think 内容添加清晰的语义配色区分。它内置 7 套适配浅色与深色模式的配色方案,支持自定义配色的创建、编辑、导入导出,设置会保存到 DSH Host 或浏览器本地存储,不会修改原有 DSH 的界面结构。

这款插件面向希望优化 DSH 会话可读性的用户,帮助区分不同类型的会话内容,避免不同语义块混在一起难以辨识。安装完成后,用户可以进入 DSH 的「设置 -> 会话配色」面板,开启关闭全部配色、选择内置主题、编辑深浅模式各自的颜色、调整行内代码样式,也可导入导出自定义配色。

该插件是社区维护的 Alpha 版本,与 DeepSeek 官方无隶属关系,当前适配 DSH Web 0.1.2-rc.1 版本,旧版 DSH 需要安装对应 0.1.0-alpha.1 版本。可通过 DSH 命令行直接安装,无需克隆源码本地编译,安装后重启 DSH Web 并刷新浏览器即可生效。它采用 MIT 许可证,不收集用户数据,仅允许结构化十六进制颜色输入,不存在安全风险。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
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-conversation-accents@alpha

把 YaoaY/dsh-conversation-accents 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DSH Conversation Accents

为 DSH Web 的助手回复、工具调用和 Think 内容增加更清晰的语义配色。

English

这是一个社区维护的 Alpha 插件,与 DeepSeek 官方无隶属或背书关系。

效果对比

原生 DSH 启用插件
原生效果 1 插件效果 1
原生效果 2 插件效果 2

主要功能

  • 为标题、重点、链接、引用、行内代码和代码 token 提供语义配色。
  • 为成功的工具调用和 Think 区域增加易辨识的颜色。
  • 内置 7 套配色,支持浅色与深色模式。
  • 支持创建、编辑、导入和导出自定义配色。
  • 可随时关闭插件配色,不会删除已经保存的设置。
  • 设置保存到 DSH Host;不可用时自动保存在当前浏览器。

插件只修改会话内容,不会改变 DSH 的导航、输入框和页面主题。

设置页面

会话配色设置页面

安装后,在 DSH 的 设置 -> 会话配色 中可以:

  • 开启或关闭全部配色。
  • 选择内置配色。
  • 分别编辑浅色和深色颜色。
  • 调整行内代码文字与背景色。
  • 导入或导出自定义配色 JSON。

安装

需要已安装 DSH Web。推荐直接从 npm 安装,无需克隆源码或本地编译:

dsh plugin --profile web add dsh-conversation-accents@alpha

安装或更新后重启 DSH Web,并在浏览器中强制刷新页面。

卸载:

dsh plugin --profile web remove dsh-conversation-accents

兼容性

当前版本针对 DSH 0.1.2-rc.1 开发和测试。DSH 0.1.0-rc.x 请使用 0.1.0-alpha.1。

插件需要读取 DSH 会话页面的 DOM 属性。DSH 升级后,如果会话结构发生变化,请重新运行测试并检查助手回复、工具调用和 Think 区域。

隐私与安全

  • 不收集分析数据,不上传会话内容。
  • 配色设置只保存在 DSH Host 或浏览器本地存储中。
  • 自定义配色只接受结构化字段和 #RRGGBB 颜色,不接受任意 CSS。
  • Think Markdown 使用安全默认配置,不执行原始 HTML。

安全问题请按照 SECURITY.md 私下报告。

开发

源码位于 src/,构建产物位于 dist/。

npm ci
npm test
npm run build
npm run pack:check

贡献说明见 CONTRIBUTING.md,版本记录见 CHANGELOG.md。

许可证

MIT

← 上一个 Prev dsh-lark-claw 下一个 Next NimuQDock-dsh →