DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Settings Nav Collapse — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
S

@mengli114/dsh-settings-nav-collapse

Settings Nav Collapse

DSH web client plugin: one toggle in the settings panel header collapses the settings navigation column into a narrow icon rail, so the settings content keeps a readable width on phones and other narrow viewports. The panel is located at runtime from the plugin's own node (no package-internal attrib

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:meng-114/dsh-settings-nav-collapse#d3edd84eac20aac0e5dceca346cf15f0814370f9
READMECompatibilityVersions

Description

DSH web client plugin: one toggle in the settings panel header collapses the settings navigation column into a narrow icon rail, so the settings content keeps a readable width on phones and other narrow viewports. The panel is located at runtime from the plugin's own node (no package-internal attribute), and the choice is remembered per browser.

Compatibility and provenance

Settings Nav Collapse is published as @mengli114/dsh-settings-nav-collapse and currently resolves to version 1.0.1. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
9/28/2026

Versions

1.0.1stable
9/28/2026

Related plugins

Loading related plugins…

Latest
1.0.1
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 1
Weekly downloads
0
Last push
9/28/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in ui-customization.

Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profileExperimental Web profile layer for Agent Teams Remote and UI pluginsAb Chartdsh-ab-chartChart rendering tool with the browser card that draws its calls, in one publishable plugin packageClient Ui Skill Explorer@linxin666/dsh-client-ui-skill-explorerDSH skill center: browse loaded skills by source (bundled / project / user / custom / runtime), enable or disable, create and delete, in a web GUI panel.

README

dsh-settings-nav-collapse

简体中文 | English

面向 DeepSeek Harness(DSH)Web 界面的纯客户端插件:在设置面板标题栏(关闭按钮左侧)加一个按钮,把设置面板左侧那条 188px 的导航栏折成 56px 图标轨道,让正文列在手机等窄屏上重新变得可读。

解决什么问题

随包设置面板是固定布局,没有任何响应式断点:

panel   { width:800px; max-width:calc(100vw - 48px) }
nav     { width:188px; padding:22px 12px 0; flex:none }
content { flex:1; min-width:0 }
options { padding:0 24px 24px }

在 360px 宽的手机上:panel = min(800, 360−48) = 312px,nav 吃掉 188px,正文只剩 124px,扣掉内边距实际约 76px —— 设置项基本没法读。折成 56px 轨道后,同一视口下正文可用宽度回到 208~256px。

功能

  • 设置面板标题栏一个按钮:rail(56px 图标轨道)↔ 展开;按钮图标随状态翻转,aria-pressed 反映实际生效的状态(不是"请求"状态)。
  • 窄屏(≤640px)默认折叠,宽屏默认展开;用户手动点过之后,选择被记住(localStorage["dsh.settingsNav"],按浏览器存储)。
  • 导航行若没有内联 svg 图标,自动退化为 compact(88px、保留文字标签),不会出现"一条什么也点不到的空白轨道"。
  • 窄屏下把内容列变成可滚动视口(overflow:auto + overscroll-behavior:contain + 触摸惯性滚动),并用 dvh 让面板避开浏览器地址栏/工具栏。
  • 极窄屏给设置页一块 480px 画布并允许横向平移,避免设置项被压成竖排单字。
  • 只在自己打的标记上写样式(html[data-dsh-settings-nav] + 面板标记 data-dsh-settings-nav-panel),不碰哈希类名、不 import 任何官方 client 包、不使用 !important。

安装

方式一(推荐,npm 发布版)

dsh plugin add @mengli114/dsh-settings-nav-collapse

或走受保护流程(插件管理器界面 / dshpm)。

方式二(GitHub 源)

dsh plugin add github:meng-114/dsh-settings-nav-collapse

方式三(本地开发)

dsh plugin --profile web add link:/path/to/dsh-settings-nav-collapse

cordis.patch.yml 会被合并进 profile roster,装完重启一次 Web,然后打开设置面板即可看到标题栏右侧多出的按钮。

卸载:dsh plugin remove @mengli114/dsh-settings-nav-collapse(或插件管理器里禁用)。

兼容性

项值
DSH>=0.1.5-rc.1(面板锚点已在 0.1.5-rc.1 与 0.1.7-rc.2 上逐条核对;尚未做过浏览器渲染实测,见下节「验证」)
Node^22.19.0 || >=24.0.0
浏览器需要 MutationObserver、matchMedia、CSS min()/max()、dvh(不支持的引擎自动回退到 vh)

面板定位不依赖包内私有属性:插件从自己那个按钮向上 closest('[role="dialog"][aria-modal="true"]') 找到设置面板,再给它打上自己的 data-dsh-settings-nav-panel 标记,所有 CSS 都基于该标记。[data-shortcut-modal="settings"](只在较新构建里存在)仅作为兜底选择器。

已知取舍

  • 展开态也会拿到 480px 画布:用户在窄屏手动展开时,正文列实际只有约 92px,却仍按 480px 布局并需要横向拖动。这是有意的——92px 的正文列不可用,横向拖动至少可读。若更希望"展开态就按实际宽度换行",可以去掉 @media 里那条 [data-slot="settings.section"] > * 规则。
  • 横向平移没有视觉提示:极窄屏下部分内容在屏外,需要用户自己横拖。
  • 隐藏的导航标题:rail/compact 下导航栏顶端那行标题会被隐藏以省空间;但如果该节点正带着 data-modal-autofocus(即"没有任何设置分区"的极端情况),插件不会隐藏它——否则模态层的初始聚焦会落在一个不渲染的元素上。
  • 状态存 localStorage,因此不同设备/浏览器各记各的。

验证

静态与契约层面的核对记录见 docs/verification.md:包含对随包 shell 真实 DOM(0.1.5-rc.1 / 0.1.7-rc.2 两个版本)的逐条比对、每个 CSS 变量是否存在、dsh.client.immediately 等字段是否合法,以及仍需在真机浏览器里人工确认的清单。

仓库自带的不变量测试(不需要浏览器、不需要依赖):

npm run check   # node --check index.js && node --check client.js
npm test        # 包名/patch/模块 id 一致性、锚点策略、必填字段、发布文件清单…

开发

git clone git@github.com:meng-114/dsh-settings-nav-collapse.git
cd dsh-settings-nav-collapse
npm run check && npm test
# 装到本地 profile 调试(改完刷新页面即可,客户端模块走 HMR)
dsh plugin --profile web add link:$PWD

License

MIT © 2026 mengli114