DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-width-tiers

Width Tiers

DSH Web 客户端插件:提供聊天内容宽度档位(标准 / 中等 / 宽 / 超宽 / 全宽 / 自定义)以及浮动选择器按钮。在 DSH 0.2.x 上挂载到应用的 shell.overlay 插槽,并驱动原生宽度轴,因此内置拖拽手柄仍能正常工

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-width-tiers@2.0.2
README兼容性版本

兼容性与来源证明

Width Tiers 以 dsh-width-tiers 发布,当前版本为 2.0.2。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

2.0.2stable
2026/11/3
2.0.1stable
2026/10/28
2.0.0stable
2026/10/23
查看其余 6 个版本收起版本
1.0.9stable
2026/10/22
1.0.8stable
2026/10/17
1.0.7stable
2026/10/8
1.0.6stable
2026/9/23
1.0.5stable
2026/9/11
1.0.4stable
2026/9/4

相关插件

正在加载相关插件…

最新版
2.0.2
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
61.9 kB
文件数
15
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 2
周下载
444
安全扫描
✓ v2.0.2 扫描通过
最近提交
2026/11/3
查看源码 ↗项目主页 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Better Sidebardsh-better-sidebarBetter Sidebar for DSH — 在一列中提供文件树、编辑器、变更、任务和侧边聊天,并为每个对话单独显示。同时提供服务,供其他插件注册侧边栏标签页和文件查看器。Client Ui Skill Explorer@linxin666/dsh-client-ui-skill-explorerDSH 技能中心:按来源(bundled / project / user / custom / runtime)浏览已加载的技能,在 Web GUI 面板中启用或禁用、创建和删除技能。Client Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。Client Ui Market@linxin666/dsh-client-ui-marketWorkshop 浏览卡片:浏览来自 dsh-market.com 的皮肤、宠物和社区插件,并在 GUI 中安装(资源安装到 DSH 主目录,插件通过可选的插件管理器安装)。

README

dsh-width-tiers

Chat content-width tiers for the DeepSeek Harness Web GUI.

English | 中文

Tiers

TierContent widthSidebar
Standard 标准App default: max(680px, min(column × 0.64, 920px))unchanged
Medium 中等1120pxunchanged
Wide 宽1280pxunchanged
Ultra 超宽1400pxunchanged
Full 全宽max(640px, column − 176px)collapsed to icon rail
Custom 自定义width recorded from a native dragunchanged

Fixed and custom widths are clamped by the app to max(640px, column − 176px); the standard tier follows the app default (680–920px). On a narrow window a wider fixed tier therefore behaves like full, and the menu shows the reachable maximum for fixed tiers (1280px reads 640px on an 800px column).

Features

  • Uses the app's native width axis (--dsh-chat-user-width and dsh.conversation.contentWidth), so the built-in drag handles keep working.
  • Persists the selected tier and restores it on the next visit.
  • Follows Settings → Language (中文 / English / 日本語 / Español / Français / Deutsch / Русский / Português), including the Settings plugin card's title and summary (locale/<lang>.json).
  • Menu supports ArrowUp/Down, Home/End, Escape and Tab, with focus restoration.
  • Tier changes sync across tabs.
  • Respects prefers-reduced-motion.
  • Never touches the right panel. Only full collapses the left sidebar, and you can expand it again at any time.

Install

dsh plugin --profile web add dsh-width-tiers

Restart dsh web, then hard-refresh the page. A six-bar picker appears at the bottom-right.

For a local checkout:

dsh plugin --profile web add link:/path/to/dsh-width-tiers

Usage

  • Click the picker and choose a tier.
  • Picking Custom before the first drag opens a guide at the right edge; drag a native handle to record a width.
  • Dragging any native handle switches to Custom; the plugin steps aside while you drag.
  • Standard clears the width preference and returns to the app default.
  • Full collapses the left sidebar; the icon rail stays available.

How it works

  • Mounts the picker into the frame-wide shell.overlay slot; the plugin fiber owns the controller lifetime, so no listeners or timers outlive it.
  • The controller publishes an immutable snapshot (tier, menu, guide); the React picker renders it and dispatches actions, so the view can remount without rebuilding observers.
  • Locates the conversation body that declares --dsh-chat-content-width (prefers [data-conversation-content], skips the right sidebar's embedded conversation), then writes --dsh-chat-user-width on its parent.
  • Stores the configured target in the app preference; only the inline width is clamped to max(640px, column − 176px).
  • Watches the column with ResizeObserver so full follows sidebar, rightbar and window changes.
  • Drives panels through ctx.layout and registers copy through ctx.locale.

Compatibility

  • DSH Web 0.2.x with a web profile (shell.overlay slot and slots service).
  • Width axis checked against DSH 0.2.2-alpha.3: 640px floor, 176px handle budget, --dsh-chat-* variables, data-width-handle, layout/locale services.
  • Narrow screens: the picker hides while alpha.3's sidebar drawer (data-sidebar-drawer) is open and follows the on-screen keyboard.

Development

pnpm install
pnpm build        # src/ -> lib/ (host entry + loader-wrapped client bundle)
pnpm typecheck
pnpm test         # vitest: controller (jsdom) + picker component suites
pnpm verify:client

The sources live in src/ (src/index.ts is the no-op host entry, the feature lives in src/client/); lib/ is the built, published payload. The vitest suites import the sources directly: the controller runs under jsdom and the picker is rendered with Testing Library, so no live DSH instance is required. verify:client checks the built bundle contract. Development needs Node 22+ and pnpm.

Notes

  • Wider fixed tiers are clamped on narrow windows.
  • A custom width dragged on a narrow window is clamped by the app before it is recorded.

License

MIT — see LICENSE. Copyright (c) 2026 aaronlei.