DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Genui Bugfix — DeepSeek Harness 插件(DSH Plugin)
← Plugins

@adamcjm/dsh-genui-bugfix

Genui Bugfix

DeepSeek Harness 插件,可防止 dsh-ui 表格单元格中的文本绘制到下一列,并让较长的单元格自动换行,而不是强制显示水平滚动条。

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

npx -y @deepseek-ai/dsh plugin --profile web add @adamcjm/dsh-genui-bugfix@0.1.0
README兼容性版本

兼容性与来源证明

Genui Bugfix 以 @adamcjm/dsh-genui-bugfix 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

0.1.0stable
2026/10/10

相关插件

正在加载相关插件…

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

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

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

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

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

相关插件

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

Whale Widgetdsh-whale-widgetDSH Web 界面右下角的 DeepSeek 余额小鲸鱼挂件:余额/今日已用/峰谷定价、自定义泡泡点击序列(文本/余额/今日/峰谷/图片/随机语句与并列加权选择)、逐行样式与字体、悬浮快捷编辑、音效与每轮消耗、自定义角色/动图/音效、吸附与翻转自定义Genui@changfenhuang/dsh-genuiGenUI for DeepSeek Harness:通过 ```dsh-ui``` 围栏在助手回复中内联渲染交互式 UI 组件,包括布局、图表、绘图、表单、测验、mermaid、3D 场景,以及回传模型的操作事件循环。随附教授围栏的主机插件Deepseek Idesigndeepseek-idesign作为原生 DeepSeek Harness 对话视图的 iPolloWork Design Studio 及其精选设计模板。Dafeiyudsh-dafeiyu由 DeepSeek Harness 会话事件驱动的原生桌面端 BigFish companion。

README

@adamcjm/dsh-genui-bugfix

A DeepSeek Harness plugin that repairs dsh-ui table rendering:

  • cells no longer paint their text over the next column — the bug where a long run of inline-code chips bleeds across the column boundary;
  • long cells wrap instead of stretching the table until it needs a horizontal scrollbar.

It applies to the shipped @changfenhuang/dsh-genui 0.11.x and does not wait for an upstream release. Once upstream ships its own fix, this plugin stays harmless and can simply be removed.

What it fixes

dsh-ui table cells default to white-space: nowrap (the plugin's deliberate "data columns do not fold" voice). Meanwhile the host shell renders message bodies inside a .markdown subtree, and two rules from that sheet land on dsh-ui output because the components render in the same subtree:

.markdown { overflow-wrap: anywhere; }                 /* inherited by every cell */
.markdown :not(pre) > code { display: inline-flex; }   /* every chip becomes an atomic inline box */

Add the plugin's own .inlineCode { white-space: pre-wrap } and the chip's automatic minimum size collapses: the column may be sized below its own content, while the cell's nowrap still paints the text unbroken — straight over the neighbouring column.

Only cells containing inline code are affected. A pure-text cell is nowrap, so its min-content already equals its content width and the column can never be sized below it.

Measured on a live DSH desktop page (7 tables): on 0.11.4, 4 tables and 12 cells overflowed, the worst single cell by 704px.

The two rules it injects

/* 1) Table chips must not re-open line breaking — this is the root cause. */
[class*="tableWrap"] table [class*="inlineCode"] { white-space: pre !important; }

/* 2) Single-line data cells wrap — long content no longer stretches the table. */
[class*="tableWrap"] table td:not([class*="tdMultiline"]):not([class*="tdCode"]),
[class*="tableWrap"] table th:not([class*="tdMultiline"]):not([class*="tdCode"]) {
  white-space: normal !important;
  overflow-wrap: anywhere;
}

The selectors use only CSS Modules class-name prefixes (tableWrap, inlineCode, tdMultiline, tdCode), never the build-time hash, so they survive plugin upgrades.

Rule 2 is a preference. Remove that block from lib/client.js if you would rather keep the upstream behaviour of a wider table plus horizontal scrolling.

Geometry verification

The same browser fixture, in an 801px container:

StylesTable widthHorizontal scrollCross-column bleed
upstream 0.11.4 (unfixed)1471pxyes4 cells, worst 306px
upstream main (fix #282)1777pxyesnone
this plugin799pxnonone

In other words: the upstream repair makes the table wider and asks you to scroll; this plugin lets the long content wrap, so the table fits the conversation column.

Install

The plugin is an ordinary DSH bundle: a dependency in a profile, plus one entry in that profile's bundle list.

From npm

  1. Add it to the profile you want it in — ~/.dsh/profiles/<profile>/package.json:

    {
      "dependencies": {
        "@adamcjm/dsh-genui-bugfix": "^0.1.0"
      },
      "dsh": {
        "profile": {
          "bundles": ["…", "@adamcjm/dsh-genui-bugfix"]
        }
      }
    }
    
  2. Install it:

    cd ~/.dsh/profiles/<profile> && pnpm install
    
  3. Restart the DSH app. The host-side plugin tree is assembled when the process starts, so a running instance will not pick up a new bundle.

If pnpm refuses the freshly published version because of a minimum-release-age policy, add the package name to minimumReleaseAgeExclude in that profile's pnpm-workspace.yaml.

From a local checkout

Use a link: path instead of the version, for example "@adamcjm/dsh-genui-bugfix": "link:/path/to/dsh-genui-bugfix", then run the same two steps.

Verify

After a restart the renderer carries one extra stylesheet:

document.getElementById('dsh-genui-bugfix/table-overflow')   // non-null once loaded

Visually: tables with long inline-code runs no longer print text over the next column, and their width matches the conversation column instead of scrolling.

Without DSH running you can still check both halves against the loader contract:

cd <plugin> && npm test

Uninstall

  1. Remove @adamcjm/dsh-genui-bugfix from the profile's dependencies and bundles;
  2. pnpm install;
  3. restart DSH.

Relation to the upstream fix

  • Upstream main already fixes the overlap itself (PR #282, not yet released). Rule 1 here has the same effect and coexists with it — both keep the chip at white-space: pre.
  • The upstream browser fixture cannot catch that regression: its cross-column assertion is vacuously true because the fixture renders tables outside the host .markdown cascade. See issue #285 and PR #286.

Layout

@adamcjm/dsh-genui-bugfix/
├── package.json        # dsh.bundle.patch + dsh.client declarations
├── cordis.patch.yml    # inserts one plugin row into the profile
├── lib/
│   ├── index.js        # host half: node ESM, exports name/apply/inject, no behaviour
│   └── client.js       # browser half: window.__ModuleLoader__.load({ id, factory })
├── test/verify.mjs     # zero-dependency self-check of the loader contract
└── README.md

Both halves follow the shapes already used by shipped plugins:

  • the host half is plain node ESM exporting name / apply / inject — the same shape as the host half of dsh-window-drag-probe, which also has no host-side behaviour;
  • the client half must be the pre-bundled form DSH serves to the renderer, window.__ModuleLoader__.load({ id, factory }), where factory returns the exports carrying apply — the same shape as the client artifacts of @changfenhuang/dsh-genui and dsh-boot-animation. A plain ESM export function apply is not loaded, and it fails silently rather than reporting an error. This plugin has no runtime dependencies, so its factory never needs require.

License

MIT