DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-conversation-width

d

dsh-conversation-width

Manifest valid

Pins the conversation column of the dsh UI to a fixed width — a pixel value or a percentage of the column — from a row in General settings, and hides the built-in drag handles so the width stays put.

UI (client)hasBundlePatch

dsh-conversation-width

把 DSH(DeepSeek Harness)Web 界面的「对话框」内容列宽度固定下来:可以锁定为像素值,也可以按窗口比例随缩放变化。设置项位于 设置 → 通用,紧跟在「字号大小」之后。

仓库:https://github.com/AvigatorC/dsh-conversation-width · 版本:v1.0.0 · 许可:MIT

DSH Web UI 的对话内容列默认带左右拖动手柄,宽度记在 localStorage。装了本插件后可三选一:

模式行为
默认可调完全不干预,保留原生左右拖动
固定像素锁死为 420–2400px,拖动手柄隐藏
窗口比例40–100%,随窗口缩放自动跟随

数值框支持直接键入(Enter / 失焦提交),悬停或聚焦时出现上下箭头微调(像素 ±10,比例 ±1)。

兼容性

在 dsh 0.2.1-rc.3 上开发与验证。插件不声明 engines,因此版本号不会拦截安装;若某个 dsh 版本的会话体没有 data-conversation-content 属性,宽度的 CSS 覆盖会静默失效(不报错、不影响界面,只是不生效)。

安装

从插件市场安装

本插件已投递到 awesome-dsh-plugin(dsh 插件市场目录)。收录后即可在 DSH 的插件市场(如 dsh-market)里搜索 dsh-conversation-width 一键安装;市场按本仓库源码安装,不需要 npm 包。

尚未收录、或市场里还搜不到时,用下面的方式安装,功能完全一样。

从仓库安装

git clone https://github.com/AvigatorC/dsh-conversation-width.git

把克隆下来的目录作为本地插件装进当前 DSH profile(plugin_manager 的 install_bundle 接受目录路径),例如让会话里的 Agent 执行:

把 D:\Code\dsh-conversation-width 装成插件

装好后打开 设置 → 通用,在「字号大小」下方选择模式即可。升级:git pull 后刷新窗口(DSH 会热替换插件模块);移除:同一个 plugin_manager 的 remove_bundle。

实现要点

  • 宽度覆盖作用在会话体已经发布的 CSS 变量 --dsh-chat-content-width 上(!important),正文列与输入框卡片的 max-width 都读它,因此不改动 DSH 组件本身、也不与拖拽逻辑冲突。
  • 比例模式读取 DSH 自己写出的 --dsh-conversation-column-width,所以是「对话列宽 × N%」,侧栏开合时会跟着自适应。
  • 锚点是会话体上的 data-conversation-content 属性。若将来 DSH 改名,覆盖会静默失效,只需改 client.js 里 widthCss() 的选择器。
  • 设置行复用官方 @deepseek-ai/dsh-client-ui-primitives 的 Menu 与箭头图标(与「工作步骤展示」等原生行同款);该模块不可用时自动退回原生 select,不会让行崩掉。

存储

localStorage["dsh.conversationWidth"],形如:

{ "mode": "percent", "px": 820, "percent": 72 }

想恢复默认,把模式切回「默认可调」即可;清掉这个键等于恢复出厂。

License

MIT


English

Pins the conversation column of the DeepSeek Harness Web UI to a pixel width, or to a share of the conversation column that follows the window. The setting is a row on Settings → General, right after the font-size row.

Developed and verified against dsh 0.2.1-rc.3. No engines requirement is declared, so no version gate blocks installation.

  • Default (draggable) leaves the shipped drag handles untouched.
  • Fixed pixels locks 420–2400px and hides the handles.
  • Share of window uses 40–100% of the conversation column, so it scales with the window.

Type a value directly (Enter or blur commits) or use the hover arrows (step 10px / 1%).

Install

From a plugin market — once the plugin is listed in awesome-dsh-plugin, search dsh-conversation-width in a DSH market (e.g. dsh-market); markets install straight from this repository, so no npm package is needed.

From source — clone the repository and install that directory as a local bundle through plugin_manager (install_bundle accepts a directory path). Pull and refresh to upgrade.

Repository: https://github.com/AvigatorC/dsh-conversation-width. MIT licensed.

Comments

Loading…

From the same category

dsh-desktop

by anywhere-labs

为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。

UI & ExperienceManifest valid

★ 34.4k

↓ 175/wk

MIT

TypeScript

Oct 31, 2026

dsh plugin --profile web add dsh-plugin-desktop

by zhu1090093659

DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop

UI & ExperienceManifest valid

★ 9.9k

↓ 225/wk

Apache-2.0

TypeScript

Nov 2, 2026

dsh plugin --profile web add dsh-web

A collection of independent Web UI plugins and skins, including task boards, Git graphs, mobile access, and live token stats.

UI & ExperienceManifest valid

★ 8.6k

↓ 225/wk

Apache-2.0

TypeScript

dsh plugin --profile web add dsh-web

by PC2005-cloud

DSH 桌面宠物:一行命令装好即用的透明动画小桌宠,支持多开、大小位置随心配置;还内置 DIY 素材链,能用 AI 视频自造专属宠物

UI & ExperienceManifest valid

★ 5.2k

↓ 224.8k/wk

MIT

TypeScript

Nov 2, 2026

dsh plugin --profile web add dsh-pet

by omdsh-dev

开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git,

UI & ExperienceManifest valid

★ 4.8k

↓ 99.3k/wk

MIT

TypeScript

Oct 30, 2026

dsh plugin --profile web add dsh-better-sidebar

by bowenliang123

The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,

Tools & CapabilitiesUI & ExperienceTerminal & ClientsManifest valid

★ 4k

↓ 139k/wk

Apache-2.0

TypeScript

Nov 2, 2026

dsh plugin --profile web add dsh-context