tuogusa/dsh-composer-height
tuogusa★ 0JavaScript最后同步: 2026-08-18
Raises the DSH Web composer's minimum text height from two lines (52px) to three lines (76px).
README 摘要
dsh-composer-height DeepSeek Harness Web 输入框高度微调插件(client-only):把对话输入框文本区的 最小高度 从官方默认的两行(52px)提高到三行(76px)。 效果 - 空输入时文本区默认显示三行(76px),整个输入卡片随之增高(卡片总高从约 118px 变为约 142px); - 输入内容超过三行后仍按官方 auto-grow 逻辑自动增高,直到官方最大高度 --dsh-composer-text-max-height ; - 消息区的滚动避让由 DSH 自身实测 --dsh-composer-height 完成,无需任何额外处理。 原理 官方输入框的 auto-grow 结构中, [data-input-mirror] ( visibility:hidden 的镜像 div,内容为草稿文本 + 换行)是唯一撑起文本区高度的在流元素, textarea 高度 100% 跟随、卡片高度自动适应。因此只需注入一条规则: 即可让文本区、卡片与消息区避让全部自适应,不修改任何 DSH 源码与内部状态。 调整高度 编辑 lib/client.js 顶部的 MIN HEIGHT PX 常量(当前 76 = 3 行;每行 24px),保存后重启 DSH 并 Ctrl+Shift+R 强刷。 安装 兼容 Profile: web (DSH Web GUI)。 验证 仓库自带离线验证脚本(8 项断言:host 空插件、样式注入内容与幂等性): 结构 License MIT
在 GitHub 查看完整 README →分类
DeepSeek Harness: Everything is a Plugin.
★ 182,325
amruthpillai/reactive-resumeA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
★ 41,477
anywhere-labs/deepseek-harness-desktop为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
★ 17,784