DeepSeek Harness 插件

dsh-composer-layout

面向长提示词的 Web Composer 布局:输入框可保留在底部,也可停靠到可调宽度的右栏,与长回答并排阅读和写作。

跳到安装方式

来源信息

GitHub 仓库
lavapapa/dsh-composer-layout
最近更新
2026年8月20日
分类
界面增强
GitHub stars
0

安装

默认先复制一段 Prompt,让 Agent 读页面和仓库;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读页面和仓库。

请先不要安装。阅读这个 DeepSeek Harness 插件,说明它解决什么问题、会访问哪些文件、网络或密钥,以及如何安装和卸载。

插件页面:https://deepseekplugins.org/zh/plugins/lavapapa/dsh-composer-layout
GitHub:https://github.com/lavapapa/dsh-composer-layout
插件名:dsh-composer-layout
作者:lavapapa
安装命令:dsh plugin --profile web add github:lavapapa/dsh-composer-layout

确认前不要执行安装命令。

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

DSH Composer Layout

English · [简体中文](README.zh.md)

![DSH plugin](https://github.com/topics/dsh-plugin) ![License](LICENSE)

> Keep the answer in view while you write. Dock Composer to the right so the answer and your growing draft can stay side by side.

DeepSeek Harness Web plugin that lets the Composer stay at the bottom or dock in a right-side column. The chat and Composer keep their own space, while the normal DSH model, permission, quota, session, and tool behavior remains intact.

![Keep the answer in view while you write](assets/hero-en.png)

Why a side-by-side Composer?

The familiar bottom Composer works well when both the answer and the next message are short. Once either one grows, they have to compete for the same vertical strip: a long answer pushes the input away, while a long draft hides the material it is supposed to reference. The work then turns into compensation—copy a detail out, resize the input, scroll back to recover context, search for the passage just read, and repeat.

This is especially wasteful on a desktop. Most desktop displays are wide; horizontal room is usually available, while the height shared by a growing answer, a growing draft, and browser chrome is scarce. A vertical layout spends the abundant dimension poorly and makes the constrained one do all the work.

Docking Composer to the right gives reading and writing separate vertical space. The conversation can stay visible as it grows; the draft can become as detailed as the task requires. The important change is simultaneous access: read a passage, think through it, and shape the corresponding part of the next prompt without losing either surface. It is a small layout change that removes a recurring interruption from long-form work.

See it in DSH

![A real DSH Web session beside a tall right-side Composer](assets/screenshots/hero-en.png)

What it adds

  • Bottom and right-side Composer placement from Settings → Plugins → Composer Layout.
  • A visible docking handle; in the right layout it also resizes the Composer pane.
  • Per-session placement and manually resized right-pane width when “Remember this session layout” is enabled.
  • When the window cannot fit both columns, temporarily stack the Composer while retaining a layout rail; the remembered right-side layout returns automatically once width is available again.
  • In the right-side layout, close slash/reference candidates before another Composer popup opens, so model, access, and context panels do not overlap them.

The plugin is presentation-only: it does not add model-facing tools, change prompts, or alter token accounting.

Install

Install from npm

Once published, npm installs use the same prebuilt package as the GitHub release:

dsh plugin --profile web add dsh-composer-layout@0.1.5
dsh web --profile web

Install directly from GitHub

DSH installs the plugin bundle directly from a GitHub repository; pinning the command to v0.1.5 makes the installed source explicit and repeatable.

dsh plugin --profile web add "github:lavapapa/dsh-composer-layout#v0.1.5"
dsh web --profile web

Then open Settings → Plugins → Composer Layout and select Right side. Restarting the Web profile is required because DSH does not hot-reload profile patches.

The repository ships the prebuilt host and browser artifacts used by this command, so installation does not need an install-time build step. To confirm that DSH added the bundle to the intended profile:

dsh --profile web --dump-config

Release asset and updates

The GitHub Release also contains a .tgz package for an offline or inspected install:

dsh plugin --profile web add /path/to/dsh-composer-layout-0.1.5.tgz
dsh web --profile web

For a later version, remove the installed package, then add the new npm version, tag, or release asset:

dsh plugin --profile web remove dsh-composer-layout
dsh plugin --profile web add dsh-composer-layout@0.1.5
# or: dsh plugin --profile web add "github:lavapapa/dsh-composer-layout#v0.1.5"
dsh web --profile web

The plugin requires the 0.1.0-rc.8 DSH Web package line. Version 0.1.5 was built and checked against DSH source commit 141eb6f.

Development

The repository intentionally commits the generated lib/ artifacts used by GitHub installs. The plugin owns its implementation under src/; run pnpm typecheck, pnpm build, and pnpm test before publishing. Each release is also checked in a clean matching DSH checkout.

Related links

License

MIT. See [LICENSE](LICENSE).