rosefinch539/dsh-composer-resize
rosefinch539★ 0JavaScript最后同步: 2026-08-15
DSH 网页输入框拖拽调节插件 · Drag-to-resize DSH web composer: up to grow, down to shrink
README 摘要
dsh-composer-resize 中文简介 dsh-composer-resize 是 DeepSeek Harness(DSH)网页端的一个轻量输入框拖拽调节插件。它在输入框卡片的上边缘提供一个小拖拽把手: 向上拖,输入框变高;向下拖,输入框变矮 。拖拽过程中视图始终锚定在文本底部,长草稿缩小后依然能看到最后几行,不会出现底部行被裁切的问题。插件为纯前端实现——不调用模型、不执行宿主命令、不写入会话日志,开箱即用。 English Intro dsh-composer-resize is a lightweight drag-to-resize plugin for the DeepSeek Harness (DSH) web composer. It puts a small handle on the top edge of the input card: drag up to make the composer taller, drag down to make it shorter . While resizing, the view stays bottom-anchored, so shrinking a long draft keeps the last lines visible and nothing gets clipped. Purely client-side — no model calls, no host commands, nothing written to session logs. Features / 功能 - Drag up = taller, drag down = shorter — the drag direction matches the deformation direction. 向上拖=变高,向下拖=变矮 — 拖动方向与变形方向一致。 - Bottom-anchored scrolling while resizing; long drafts keep their last lines in view. 拖拽时底部锚定 ,长草稿缩小后仍显示最后几行。 - Range: 52 px to 75% of the viewport height (720 px cap). 范围:52px 75% 视口高度(上限 720px)。 - Pure browser-side plugin using stable DSH data- attributes. 纯浏览器端插件,锚定 DSH 稳定的 data- 属性。 Compatibility / 兼容性 - DSH 0.1.0-rc.6 web UI ( data-composer-card / data-input-scroll ). - Chromiu…
在 GitHub 查看完整 README →