DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Client Ui Knowledge Cards — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
C

@wangxueqi/dsh-client-ui-knowledge-cards

Client Ui Knowledge Cards

将对话内容转化为知识卡片:概念、流程图、对比等,适用于 Web

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:wangxueqi00/dsh-client-ui-knowledge-cards#72f87efe45960e5ec1f89caa460875dca7cd8998
README兼容性版本

兼容性与来源证明

Client Ui Knowledge Cards 以 @wangxueqi/dsh-client-ui-knowledge-cards 发布,当前版本为 0.1.3。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/9/3

版本

0.1.3stable
2026/9/3
0.1.2stable
2026/8/31
0.1.0stable
2026/8/31

相关插件

正在加载相关插件…

最新版
0.1.3
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层Client Ui Git Graph@linxin666/dsh-client-ui-git-graph外部 dsh Web GUI 插件:空会话 Git 分支选择器和 Git 图,包含实际的主机端 Git 操作与防护,作为 dsh 配置文件包Web All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / git-graph / pet / remote-web-ui / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。

README

DSH Knowledge Cards

中文文档

Turn any conversation in your DeepSeek Harness Web GUI into clean, textured knowledge cards — concepts, flowcharts, comparisons, summaries, mind maps, quotes, checklists, timelines and FAQs — generated by the agent, previewed in a tabbed gallery, and downloadable in multiple formats.

Features

  • 🎴 One-click generation — a header button on every conversation opens the card dialog
  • 🧠 Nine card types — concept, flowchart (Mermaid), comparison, summary, mind map (Mermaid), quote, checklist, timeline (Mermaid), FAQ
  • 🗂 Tabbed gallery — cards grouped by type, each tab scrolls independently
  • ⬇ Multi-format download — Markdown / HTML / JSON / TXT / SVG for every card; per-card format selection and batch "download all"
  • 🔄 Background generation — close the dialog and generation continues; a badge and browser notification tell you when cards are ready
  • 🌗 Dark mode — follows prefers-color-scheme
  • 🌍 i18n — Simplified Chinese and English

What's new in v0.1.3

  • 🆕 Four new card types — quote, checklist, timeline, and faq
  • 🧾 Facts layer for timeline / checklist — the agent emits a ```facts JSON block; the client merges and deduplicates it into a session-scoped store, then deterministically builds those two cards from the whole history
  • 🎚 Conversation scope selector — pick specific turns or use the whole history; timeline and checklist always use the whole history
  • ♾ Whole-history mode auto-loads older pages — older conversation pages are pulled automatically until exhausted
  • 🖼 SVG download for all nine card types — Mermaid cards export the rendered diagram, Markdown cards export a self-contained styled text-card SVG
  • 🎨 FAQ SVG export fixed and styled — preserves theme color, card frame, header background, title/body styling, and heading / quote / code formatting
  • 🎯 Strict card-type generation — only the selected card types are generated; no extra types are emitted
  • 📐 Compact generation dialog — the dialog is now height-adaptive with much less empty space
  • 🧹 Simplified UI — the obsolete manual-turn / auto-topic-split mode buttons were removed from the top of the generation page

Version & Compatibility

Current release: v0.1.3, published on GitHub and npm with the same version on both platforms.

Compatible DSH versions (unchanged from v0.1.2 — this release targets the same DSH versions):

DSH versionDate
0.1.1-rc.22026-08-21
0.1.1-rc.12026-08-21
0.1.0-rc.82026-08-19
0.1.0-rc.72026-08-17
0.1.0-rc.62026-08-13

Installation

From npm:

dsh plugin --profile web add @wangxueqi/dsh-client-ui-knowledge-cards

Or from GitHub (main branch):

dsh plugin --profile web add github:wangxueqi00/dsh-client-ui-knowledge-cards

Or pinned to a tag:

dsh plugin --profile web add github:wangxueqi00/dsh-client-ui-knowledge-cards#v0.1.3

Then restart:

dsh --profile web

The package declares dsh.bundle, so dsh plugin add activates it as a profile layer automatically — no manual config edits. Build artifacts (lib/) are committed to the repository, so GitHub installs need no build step.

Usage

  1. Open any conversation and click the 🎴 知识卡片 / Cards button in the session header.
  2. Pick the scope — Select turns (manual) or Whole history (auto-loads earlier pages). Timeline and checklist cards always use the whole history regardless of scope.
  3. Select the card types you want, then click 生成卡片 / Generate.
  4. The agent analyzes the selected turns and emits structured card data.
  5. Preview the cards in the tabbed gallery (grouped by type), switch formats per card, and download individually or in batch.
  6. You may close the dialog while generating — a badge on the button shows the card count when ready, and a browser notification fires on completion.

Card types

TypeIconContentBest for
Concept💡Markdown headings + bullet listsDefinitions and explanations
Flowchart🔀Mermaid graphProcesses and decision flows
Comparison⚖️Markdown tableSide-by-side trade-offs
Summary📋Bullet listKey takeaways
Mind map🧠Mermaid mindmapHierarchical concept maps
Quote❝Markdown blockquotesKey conclusions and quotes
Checklist✅Markdown task listAction items and todos
Timeline🕒Mermaid timelineChronological events and milestones
FAQ❓Markdown Q&AQuestions and answers

Download formats

FormatConcept / Comparison / Summary / Quote / Checklist / FAQFlowchart / Mind map / Timeline
Markdown (.md)✅✅
HTML (standalone .html)✅✅ (Mermaid via CDN)
JSON (.json)✅✅
Plain text (.txt)✅✅
SVG (.svg)✅ (text card)✅ (rendered diagram)

How it works

The plugin is a single-file browser bundle plus a small host layer:

  • Host layer adds system-prompt guidance teaching the agent to emit ```card JSON blocks followed by a <!-- knowledge-cards-generated --> completion marker.
  • Client layer registers a button into the conversation.session.header.actions slot. The button stays mounted and watches the conversation in the background; when the agent finishes, it parses the card blocks into a module-level store, so closing the dialog never loses state.
  • Fact layer — timeline/checklist requests first emit a ```facts JSON block; the client merges those facts into a per-session store and builds the two cards deterministically, so whole-history cards stay deduplicated and regenerate without re-reading the conversation.
  • Rendering uses Mermaid (inlined into the bundle) for diagrams and Markdown for the rest, with a low-saturation theme per card type.

Development

This repository is developed inside a DeepSeek Harness monorepo checkout: the build preset, tsconfig references, and platform module table live there. One physical tree, two views - clone it into the monorepo, or junction your clone onto it:

# inside your DSH checkout: this repo's clone IS the physical tree
git clone https://github.com/wangxueqi00/dsh-client-ui-knowledge-cards.git `
  packages/client/ui-knowledge-cards

# optional: keep a convenient view elsewhere
New-Item -ItemType Junction -Path <your-path> -Target <dsh-checkout>\packages\client\ui-knowledge-cards

# then at the monorepo root
pnpm install

Build (from either path - the script resolves the junction):

./scripts/build.ps1         # tsc -b + bundle
./scripts/build.ps1 -Watch  # tsc -b + watch
pnpm run bundle             # bundle alone also works from the repo path

The same package.json serves development and release alike: real version ranges (^0.1.1-rc.2) link to the workspace packages inside the monorepo (linkWorkspacePackages) and install cleanly from npm/git - no transformation between dev and release forms.

Repository layout

src/
├── index.ts               # host layer: system-prompt guidance
├── invariant.ts           # invariant companion
└── client/
    ├── index.ts           # plugin entry: apply(), slot registration
    ├── card-store.ts      # module-level card store (persists across dialog open/close)
    ├── card-generator.ts  # card types, themes, prompt builders
    ├── card-parser.ts     # parses ```card blocks from agent output
    ├── card-data-collector.ts
    ├── download.ts        # MD / HTML / JSON / TXT / SVG export
    ├── mermaid-renderer.ts
    ├── locales.ts         # zh / en dictionaries
    └── components/        # CardButton, CardDialog, CardGallery, CardView, MermaidDiagram

Publishing

The repo itself is the release vehicle - source, committed lib/ artifacts, and a release-ready package.json all in one place:

./scripts/build.ps1                     # 1. build (lib/ lands in the repo)
# 2. bump "version" in package.json
git add .
git commit -m "release: v0.x.y"
git tag v0.x.y
git push origin main --tags             # 3. GitHub release
pnpm publish --no-git-checks            # 4. npm release

lib/ must stay committed (check .gitignore): the artifacts are what makes dsh plugin add github:... work without a build step.

License

MIT