dshbase

插件目录 / UI & Skins / dsh-composer-layout

dsh-composer-layout

已验证 · 实测可装 lavapapa

✓ 持续维护 基于 10 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

3Stars
0Forks
0未关闭 issue
—语言
2026-08-24最近推送
跨平台平台

功能简介

A DSH Web plugin that keeps long answers and detailed prompts side by side with a dockable Composer.

✅
我们的评价
可用 — 实测通过,早期项目

A DSH Web plugin that keeps long answers and detailed prompts side by side with a dockable Composer. 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

DSH Composer Layout

English · 简体中文

Release
npm
Included in Awesome DSH Plugin
Included in Awesome DeepSeek Harness Plugins
Included in Awesome DSH Plugins
Included in Oh My DSH
License

Overview · Install · Why side by side? · See it in DSH · Switch and resize · Features · Release checks · Contributing · 简体中文

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

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

Switch and resize

Right-edge handle, layout switch, and right-pane resize

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

The npm package already contains the prebuilt plugin bundle:

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

Install directly from GitHub

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

dsh plugin --profile web add "github:lavapapa/dsh-composer-layout#v0.1.12"
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

Update

To move an existing installation to the current npm release:

dsh plugin --profile web remove dsh-composer-layout
dsh plugin --profile web add dsh-composer-layout@latest
dsh web --profile web

The DSH Web package range supported by the plugin is declared in package.json. The DSH compatibility workflow regularly checks the plugin against the current DSH release.

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.

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-composer-layout」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:lavapapa/dsh-composer-layout

Headless(CLI)profile:

dsh plugin --profile headless add github:lavapapa/dsh-composer-layout

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

UI & Skins 里更多

浏览全部 7819 个插件 →