dsh-composer-alcove
阅读长回复时,把 DSH 输入栏收到一条 iPhone Home 指示条;点左右圆角弧线,把原来的输入框停到两侧留白。
While you read a long DeepSeek Harness reply, the composer shrinks to an iPhone home-indicator pill. Corner arcs dock that same composer into the unused left or right gutter.
中文
Web 端客户端插件。不改 DeepSeek Harness 源码,只移动官方输入框本身。
注意: 全新对话的欢迎页(还没发出第一条消息)上插件不生效。开始对话、进入带会话输入栏的窗口后,细条和弧线才会出现。
做什么
| 操作 | 结果 |
|---|---|
| 在长对话里向下滚轮 | 整块输入栏收到底部一条约 134×5px 的黑色细条(Home 指示条) |
| 鼠标移到细条上 | 输入栏回到原来的展开高度(预览) |
| 移走鼠标 | 再收成细条 |
| 点击细条,或点开后的输入栏 | 钉住展开;再向下滚轮会取消钉住 |
| 向上滚轮 | 展开并钉住 |
| 框里有未发送文字或附件 | 不会收成细条 |
| 滑到对话底部 | 细条轻轻放缩一次 |
| 点左上 / 右上黑弧 | 原来的输入框(含 +、模型、发送)滑到左 / 右留白 |
| 中间原位 | 换成一根与统计文字同色同粗、长度为统计条 2.5 倍的横线 |
侧栏右下 / 左下弧,或 Esc |
滑回底部输入框 |
圆角弧画在输入框 22px 圆角的外侧,点击范围不进输入区。侧栏里的加号、模型切换、发送、粘贴图片、附件删除都是原来的控件。
安装
仓库是公开的,不必等社区列表收录。
# 推荐:GitHub Release 预构建包
dsh plugin --profile web add https://github.com/Nixz0824/dsh-composer-alcove/releases/latest/download/dsh-composer-alcove-0.5.4.tgz
# 或从 GitHub 源码安装
dsh plugin --profile web add github:Nixz0824/dsh-composer-alcove
# 或本地目录
dsh plugin --profile web add "link:<本目录绝对路径>"
装完刷新浏览器页面。若看不到细条或弧线,重启一次 dsh --profile web。
结构
lib/index.js— 宿主入口(纯客户端插件,宿主侧为空)lib/client.js— 客户端 bundle(官方 ModuleLoader 格式,免构建)cordis.patch.yml— bundle 装配层assets/screenshots/— README 与市场用截图
lib/ 为手写维护的发布源;改完刷新页面即可。
开发
npm run check
License
MIT.
English
A Web-only client plugin. It does not fork DeepSeek Harness. It repositions the official composer card.
Note: The plugin does nothing on a brand-new empty chat (the welcome / hero screen). It starts after a conversation is underway and the session composer is showing.
Behavior
| Action | Result |
|---|---|
| Wheel down on a long transcript | The whole composer collapses to a ~134×5px black home-indicator pill |
| Hover the pill | The original composer height peeks back |
| Leave the pill | It collapses again |
| Click the pill, or the expanded composer | Pins expanded; another wheel-down unpins |
| Wheel up | Expands and pins |
| Draft text or attachments in the box | Collapse is frozen |
| Scroll to the bottom | The pill plays a short scale nudge |
| Click the top-left / top-right black arc | The real composer (including +, model, send) docks into the left / right gutter |
| Original center slot | Replaced by a hairline, same color and thickness as the stats caption, 2.5× that caption's width |
Inner bottom arc on the pad, or Esc |
Slides back to the bottom composer |
Arcs sit outside the card's 22px corner radius. Their hit stroke does not enter the input. On the side pad, plus, model, send, image paste, and attachment remove are the original controls.
Install
The repository is public. You can install it now; listing on the community catalog is separate.
# Recommended: GitHub Release tarball
dsh plugin --profile web add https://github.com/Nixz0824/dsh-composer-alcove/releases/latest/download/dsh-composer-alcove-0.5.4.tgz
# Or from GitHub source
dsh plugin --profile web add github:Nixz0824/dsh-composer-alcove
# Or a local checkout
dsh plugin --profile web add "link:<absolute-path-to-this-folder>"
Reload the browser page after install. Restart dsh --profile web once if the pill or arcs do not appear.
Layout
lib/index.js— host entry (empty; this plugin is client-only)lib/client.js— client bundle (official ModuleLoader format, no build)cordis.patch.yml— bundle patchassets/screenshots/— README and storefront shots
lib/ is the hand-maintained source. Edit and reload.
Development
npm run check
License
MIT.
No comments yet. Be the first to write one.