liceses/dsh-showme-html 预览 preview

liceses/dsh-showme-html

DSH(DeepSeek Harness)插件。给 agent 一个快捷入口:把工作区里写好的 HTML 页直接展示在对话里; 并让用户在页面上"点名 + 表态"产生的文本,一行一条地回到 agent 手里。

catalog descriptioncatalog 简介 / catalog description:DSH 插件:把工作区里写好的 HTML 页展示在对话里,并让用户在页面上的表态快速回到 agent 手里。含四套预设样式。

Project Overview项目介绍

This is a native plugin built exclusively for DeepSeek Harness (DSH). It enables AI agents to render locally stored HTML files directly within DSH conversation threads as interactive cards. Users can click elements on the rendered page to add comments or select options, and the plugin automatically formats the feedback into clean, line-separated text that can be appended to the conversation input box with one click. The plugin ships with four pre-built style presets that follow a unified semantic class system, so switching styles for the entire page doesn’t require changing any existing HTML markup.

A typical workflow starts when an AI agent writes an HTML page following the plugin’s semantic conventions, then calls the show_html tool with the page path, title, and description. The rendered card includes controls for refreshing the page, opening it full-screen, or launching it in a separate browser tab for advanced interactions. After the user finishes selecting items and adding notes, the feedback is automatically formatted and ready to append to the conversation, eliminating the need for manual typing or context switching. This tool is ideal for use cases like multi-variant comparison, design review, and architecture diagram visualization that benefit from visual interaction.

The plugin can be installed directly from GitHub via the DSH CLI plugin command, and requires a restart of the DSH web process after installation to take effect. The companion showme-report skill supports hot loading, so no restart is needed after adding it. The project has zero third-party dependencies and no build step required, with all source code ready to run out of the box. It is released under the permissive MIT open source license, and has known limits including a maximum page size of 8 MiB and no automatic file refresh after edits.

这是一个 DeepSeek Harness(DSH)原生插件,核心能力是让 AI 代理将工作区中编写好的 HTML 页面直接展示在 DSH 对话内,并支持用户在展示页面上点选元素、添加备注,自动整理成结构化的反馈文本一键回传给 AI 代理。插件自带四套遵循统一语义规范的预设样式,换皮肤不需要修改 HTML 标记,还提供了常用场景的 HTML 骨架模板。

典型使用流程是 AI 按照统一语义规范写完 HTML 页面后,调用 show_html 工具传入页面路径,就能直接在对话中生成带刷新、全屏、浏览器打开等功能的展示卡片。用户点选内容完成后,一键将整理好的反馈追加到对话输入框,无需切换页面或手动组织语言。适合多变体对比、设计评审、架构展示等需要可视化信息交互的场景。

可以通过 DSH 插件命令直接从 GitHub 安装,安装后重启 DSH web 即可生效,配套的 skill 支持热加载无需重启。项目零依赖,没有构建步骤,采用 MIT 许可证开源。已知限制包括不支持文件缓存、不支持自动刷新改后的文件,单页大小上限为 8 MiB,反馈正文上限为 256 KiB。

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

把 liceses/dsh-showme-html 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-showme-html

让 agent 把成果摊开给你看,让你点着回话。

DSH(DeepSeek Harness)插件。给 agent 一个快捷入口:把工作区里写好的 HTML 页直接展示在对话里; 并让用户在页面上"点名 + 表态"产生的文本,一行一条地回到 agent 手里。

仓库:https://github.com/liceses/dsh-showme-html

showme-report 的展示卡片

上图是一次真实交付,一屏里把三件事都拍到了:

  • 卡片头部 —— show_html 徽章、标题、体积,以及 刷新 / 全屏 / 浏览器打开;
  • 页面本体 —— 瑞士国际主义皮肤,顶部那排还能现场换皮肤(换的只是那一个 <link>);
  • 底部的反馈条 —— pain-markdown 补充 就是用户在页面上点选之后,由页面替他组织好的一行回执。 他接着按「填入输入框」,这句话就追加进了对话输入框。


它解决什么

一、读完一屏 Markdown,你还是"没看见"

agent 干完一件大事,甩给你 200 行 Markdown。你读完了,但你没有看见那个东西。

十几个变体的像素级差异、时间线、两种方案并排、改前改后对比——这些本质上是空间与视觉的信息。 压成文字就是降维,你只能在自己脑子里把它重新拼回一张图。

判断标准很简单:这件事你是"读"更省事,还是"看"更省事。 前者继续用 Markdown;后者交给这一页。

二、AI 产出了十几个变体,而你叫不出它们的名字

这是最初做出这个插件的动机,原话是:

"我有很多 AI 生成的图片或者网页组件,我没办法一个一个准确地叫出它们的名字, 他们的名字是 AI 可以给出的。我希望我选择哪一个,就可以得到它的名称用来和 AI 交流, 还能表达我的意见,比如说同意,或者要某个组件的风格。"

于是对话常常变成——"把第三个、就是那个带渐变的那张再改一下"。而你嘴里的"第三个", 和 agent 理解的"第三个"是不是同一个东西,全凭运气。

这个插件给每样东西一个稳定、唯一、页面上看得见的名字(hero-banner-v3、f2、shot-07)。 指认从此没有歧义。

三、反馈回去的路上,意思总会走样

读页面 → 组织语言 → 打字 → agent 猜你指的是哪一项。这条路上每一步都在丢信息。

这里把它压成 点两下 → 页面替你写好一句话 → 粘回去:

同意 hero-banner-v3(第 3 版),按它的风格继续;不要 stats-panel-v1(颜色太灰)。

这句话放进一个能鼠标选中、能 Ctrl+C 的 textarea 里——这是唯一永远可用的回传方式。 页面还会顺手把它 postMessage 给卡片,于是你能一键追加进输入框(不覆盖你已经写了一半的草稿)。

四、AI 写出来的页面有"廉价感"

标题和正文一样大、行高挤成一团、颜色随机、还得连 CDN 才敢用。

插件附了四套预设样式,每套都把字号刻度与间距节奏做成设计令牌—— 那才是"好看"的真正来源,不是配色。四套吃同一套语义标记,所以换皮肤一个字都不用改标记。


一次完整的使用长这样

1. agent 写完东西,按共用语义标记写一页 HTML,挑一套皮肤:

     <link rel="stylesheet" href="presets/swiss.css">

2. 调一次工具:

     show_html({ path: ".dsh/showme/review.html",
                 title: "设计评审",
                 note: "挑一个变体" })

3. 卡片直接出现在对话里 —— 不用去文件树里翻、不用切浏览器。
   卡片头部:刷新 / 全屏 / 在浏览器打开原文件。

4. 你在页面上点选、写备注;页面实时把它组织成一行一条的文本。

5. 点「填入输入框」—— 追加到你已有的内容后面。或者直接选中复制。

不新增任何常驻服务:宿主就是 DSH 已经在跑的那个 web server;反馈在浏览器内完成。 页面默认落在 .dsh/showme/(隐藏目录,不污染源码树、不进 git)。


装

# 从 GitHub 直接装
dsh plugin --profile web add "github:liceses/dsh-showme-html"

# 或者从本地源码目录装(开发时用,改完源码好追踪)
dsh plugin --profile web add "link:<本目录绝对路径>"

# 两种方式都需要重启 dsh web 才生效(宿主半区在启动时装载)

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev screenshot-feedback-hook-mcp 下一个 Next dsh-docs-deliverables →