DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Chinese Poetry — DeepSeek Harness 插件(DSH Plugin)
← Plugins

dsh-chinese-poetry

Chinese Poetry

适用于 DeepSeek Harness Web 的中国古典诗词查看器:在对话视图中新增「诗词」标签页(位于「对话」/「轨迹」旁),支持无需 token 的搜索、筛选、飞花令、每日诗词、收藏,以及通过你自己的 DSH 会话获取 AI 讲解。

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-chinese-poetry@1.4.0
README兼容性版本
诗词查询界面诗词卡片图导出

说明

适用于 DeepSeek Harness Web 的中国古典诗词查看器:在对话视图中新增「诗词」标签页(位于「对话」/「轨迹」旁),支持无需 token 的搜索、筛选、飞花令、每日诗词、收藏,以及通过你自己的 DSH 会话获取 AI 讲解。无需 token 的诗词查询插件:会话页头新增「诗词」标签页。

兼容性与来源证明

Chinese Poetry 以 dsh-chinese-poetry 发布,当前版本为 1.4.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

1.4.0stable
2026/9/11
1.2.5stable
2026/9/3
1.2.4stable
2026/9/2

相关插件

正在加载相关插件…

最新版
1.4.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
110.8 kB
文件数
7
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 1
周下载
0
最近提交
2026/9/11
查看源码 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

继续浏览 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 Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。Client Ui Git Graph@linxin666/dsh-client-ui-git-graph外部 dsh Web GUI 插件:空会话 Git 分支选择器和 Git 图,包含实际的主机端 Git 操作与防护,作为 dsh 配置文件包

README

dsh-chinese-poetry

A token-free Chinese classical poetry plugin for DeepSeek Harness Web: adds a "Poetry" tab to the session header (same ring as Chat / Trajectory, ordered right after Trajectory) with search, filters, 飞花令, a daily poem, favorites, and AI explanation.

  • Data source: the free public API 诗泉 poetry.palemoky.com (370k+ poems, no registration, no API key, CORS open)
  • AI explanation / allusions: forwarded to your own DSH session — uses the model quota you already have, no extra model key needed
  • All user data (favorites / history / cache) stays local; no backend is deployed
  • Requires: dsh web 0.1.0-rc.6 or newer

中文: README.md

UI preview

Poetry query UI

Data base

All poem corpus and query endpoints come from the open-source project palemoky/chinese-poetry-api (诗泉 poetry.palemoky.com) — thanks to its author. The service is free, needs no registration or API key, and has CORS open. If your queries run slow, it is usually the upstream service — please report it to that project.

What this plugin adds (optimizations over the base)

The base project exposes raw endpoints (paged by author / dynasty / genre, random, search, stats). This plugin wraps them into a query-oriented UI:

  • Token-free session tab: registers a "Poetry" tab in the session header — pure front-end calls to the public API, no model key needed.
  • Dynasty correction table: the API mislabels some poets (especially Song-era, e.g. 曾丰 / 毕仲游 / 张侃, shown as 唐). The plugin ships a correction table of well-known poets and corrects the display, flagging each one as "corrected".
  • Robust data layer: token-bucket rate limiting (search 6/min, others 15/min), local caching, 429 exponential backoff, and degradation to cache / offline when failures stack up.
  • Offline fallback: ~90 built-in poems keep the demo working offline; 2-character queries use local picks with an explicit note (only 3+ characters search the full 370k corpus).
  • 飞花令 (Feihua): enter one character to get random poems containing it; click again for another.
  • Share-card image: render any poem as a parchment-style PNG card (title / author · dynasty / text) and download it to share.
  • Festival topics: 7 built-in festivals (春节 / 元宵 / 清明 / 端午 / 七夕 / 中秋 / 重阳); pick one for a featured token-free poem, with "random related" and "AI verse".
  • Favorites / history / zh-Hans·zh-Hant: stored locally (localStorage), with a global simplified/traditional toggle.
  • AI explanation: drops a prompt into your DSH composer (never auto-submits — press Enter to confirm), reusing your existing model quota.
  • View UX: the three unrelated tools are mutually exclusive switchable panels (Search poems / Filter & random / Feihua), so only the active tool's controls are on screen; global quick actions (random / daily / festivals / favs / zh-Hans·zh-Hant) sit on their own row; a first-run empty-state card offers one-tap sample keywords; auto-switches to the Chat view after AI explanation; the poetry tab's content survives switching among Chat / Trajectory / Poetry; the recent-search block (inside the search tool) is always visible.
  • Bilingual UI / docs: both the UI copy and the README are provided in Chinese and English.

Install

From npm (recommended)

dsh plugin --profile web add dsh-chinese-poetry

dsh-chinese-poetry is published to npm (https://www.npmjs.com/package/dsh-chinese-poetry); dsh plugin add pulls and installs it straight from the npm registry (no separate npm install needed) and the version stays in sync with the GitHub repo.

From GitHub (once published)

dsh plugin --profile web add github:<your-username>/dsh-chinese-poetry

Local source (development / debugging)

cd dsh-chinese-poetry
dsh plugin --profile web add .

For live development use the symlink form (changes take effect after restarting the Web UI):

dsh plugin --profile web add link:.

Restart dsh web after installing, then open any session — the header tab bar shows the "Poetry" tab.

dsh plugin depends on pnpm: npm i -g pnpm if missing.

Usage

  1. Open a session (Chat / Trajectory / Poetry).
  2. Click the "Poetry" tab in the session header.
  3. Search any word/sentence, or filter by author / dynasty / genre; 飞花令 (single character), random, daily poem, simplified/traditional switching, and festival topics (pick a festival for its featured poem) are supported.
  4. Open a poem's details to copy (plain text / Markdown), favorite it, or tap Card to download a PNG poem card; AI Explain fills the composer with a prompt — press Enter yourself to confirm (it never auto-submits).

Share-card export example:

Poem share card export

Roadmap

  • M0: plugin skeleton + "Poetry" tab registration (order 20, after Trajectory)
  • M1: data layer (fetch wrapper, token bucket rate limit, local cache, 429 backoff)
  • M2: search / filters / random / details / zh-Hans·zh-Hant / copy
  • M3: 飞花令, daily poem, favorites/history, AI-explain handoff
  • M4a: dynasty correction table, always-visible recent-search block, auto-switch to Chat after AI explain, view content memory
  • M4b: data-base credit note (in-view), bilingual UI/README copy, CHANGELOG, npm 1.1.0
  • M4: share-card image (canvas → downloadable PNG poem card), festival topics (7 festivals with featured poem + random related + AI verse), tool-UI polish (empty state, 3-way view split, grid layout)
  • M5: open-source release on GitHub (runcat-tommy/dsh-chinese-poetry)
  • M6: UI redesign (v1.3.0) — attached search control group, quick actions on their own pill row, filters grouped into one toolbar card, first-run empty-state card, unified design tokens and primary/secondary button hierarchy
  • M7: split the three independent tools into mutually exclusive switchable panels (Search poems / Filter & random / Feihua); global quick actions moved to their own row; recent searches folded into the search tool (v1.4.0)

Development

dsh-chinese-poetry/
├── package.json          # dsh.bundle.patch + dsh.client declaration
├── cordis.patch.yml      # profile-level bundle patch
├── lib/
│   ├── index.js          # node half (no-op host)
│   └── client.js         # browser half: conversation.view registration + view
├── test/                 # host smoke + client stub registration asserts
└── docs/                 # research / questionnaire / design docs
npm test    # node --test "test/*.test.mjs"

Design doc: docs/04-方案设计-定稿.md (Chinese).

License

MIT