DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Mobile Sidebar — DeepSeek Harness 插件(DSH Plugin)
← Plugins

dsh-mobile-sidebar

Mobile Sidebar

在窄屏幕上将整个左栏还给对话:低于 1024px 自动折叠断点时,侧边栏会完全从框架中移除(不再显示 56px 的图标栏),并通过标题栏按钮以覆盖式抽屉打开,点击任意位置的遮罩即可关闭。

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-mobile-sidebar@0.1.1
README兼容性版本

兼容性与来源证明

Mobile Sidebar 以 dsh-mobile-sidebar 发布,当前版本为 0.1.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

0.1.1stable
2026/10/19

相关插件

正在加载相关插件…

最新版
0.1.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
1.3 MB
文件数
11
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
0
最近提交
2026/10/19
查看源码 ↗
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 配置层Ab Chartdsh-ab-chart带有绘制其调用的浏览器卡片的图表渲染工具,封装在一个可发布的插件包中Better Sidebardsh-better-sidebarBetter Sidebar for DSH — 在一列中提供文件树、编辑器、变更、任务和侧边聊天,并为每个对话单独显示。同时提供服务,供其他插件注册侧边栏标签页和文件查看器。

README

dsh-mobile-sidebar

Give the whole left column back to the conversation on phones.

What it changes

Below 1024px — the same breakpoint at which @deepseek-ai/dsh-client-ui-layout auto-collapses the sidebar — the stock web shell still keeps a 56px icon rail (computeColumns() resolves the collapsed track to collapsedWidth, which is 56 on the web; only macOS desktop and the Windows titlebar shell pass 0). On a 390px viewport that rail eats 14% of the screen for a column you cannot read anything in.

This plugin, under the same breakpoint:

stockwith the plugin
frame tracks at 390px56px 334px 0px0px 390px 0px
collapsed sidebar56px icon railnothing — no track, no paint
opening the sidebarsqueezes the centre to 110px300px drawer over a 390px centre, tap outside to close
headerno togglepanel-left button at the header's leading edge
≥ 1024px—untouched (280px 1000px 0px, button hidden)

Install

dsh plugin --profile web add file:/path/to/dsh-mobile-sidebar

dsh plugin add appends the package to dsh.profile.bundles and hot-mounts it; the browser only needs a refresh to load the new client combo. No dsh web restart is required.

To remove it, delete the "dsh-mobile-sidebar" entry from bundles in ~/.dsh/profiles/<profile>/package.json, or disable the bundle from the Plugins page.

How it works

Everything is browser-side; the Host half is intentionally empty.

  1. Zero the sidebar track. React writes grid-template-columns as an inline style, and a media query cannot override one track of it. A MutationObserver on the frame watches every solve, rewrites the value with only the first track replaced, and republishes it through the --dsh-mobile-frame-cols custom property. The centre and right tracks still matter between 800px and 1024px, where the right panel solves a real third track, so they are carried through untouched.
  2. Hide the rail without leaving the grid. visibility: hidden, not display: none. A display:none box is not a grid item, so auto-placement slides the centre column into the now-0px first track and the conversation renders at zero width.
  3. Open as a drawer. The column stays a grid item in its 0px track and simply overflows it (position: relative + an explicit width), so the centre column never changes width. A scrim in the shell.overlay slot closes it on tap.
  4. The toggle. On the Conversation it is a primitives Button + IconPanelLeftOutlineRegular in the conversation.header.leading slot, calling ctx.layout.toggleSidebar().

Global panels (Plugins, Automation tasks, …)

The Conversation is the only panel that declares a header slot. Every other global panel registers into the keyed main slot and builds its own heading — Plugins renders <header class="…pageHead">, Schedules renders <div class="…pageHeading">, and neither exposes anything to inject into.

So the toggle falls back to a fixed control rendered in shell.overlay, which the shell always mounts at root scope. That covers every panel at once, including panels that do not exist yet. Two rules keep it honest:

  • It steps aside on the Conversation. [frame]:not(:has([data-dsh-mobile-sidebar-button])) is what hides it there, so the in-header button and the floating one never appear together.
  • It reserves its own lane. Panel headings all start 28px down and 24px in, so the control would sit on the title's shoulder; a rule adds 40px of padding-inline-start to those headings while the control is present.
wherecontrol
Conversationconversation.header.leading slot
Plugins / Schedules / any future panelfixed control in shell.overlay
≥ 1024pxneither

Screenshots

Closed on a phone — the rail is gone and the conversation keeps the full width:

Mobile with the sidebar closed

Tapping the header toggle opens the drawer over that same full-width conversation:

Sidebar open as a drawer

On a global panel the toggle falls back to a fixed control:

Toggle fallback on the Plugins panel

Above the breakpoint nothing changes:

Desktop layout unchanged

Upgrades

The plugin targets source-written attributes, not the shell's CSS-module class names (which are build-hashed and change between DSH releases):

  • [data-shell-overlay] — the frame is its parent element
  • [data-slot="sidebar"] — the sidebar column is its parent element
  • [data-sidebar-collapsed] on the frame — closed vs. open
  • [data-plugin-panel] — the one global panel that marks its section; the rest are matched on the _pageHead / _pageHeading class fragment

License

MIT