- Accueil
- Plugins
- Améliorations UI
- dsh-session-panel-centering
dsh-session-panel-centering
dkmnx/dsh-session-panel-centering
Centers the conversation transcript in the space beside the docked Session panel.
Installer
dsh plugin --profile web add github:dkmnx/dsh-session-panel-centeringREADME
dsh-session-panel-centering
A DeepSeek Harness (DSH) UI plugin that keeps the conversation centered when the Session panel is docked beside it.
DSH normally pins the transcript toward the start edge when the Session panel opens. This plugin overrides the host's chat end inset so the transcript and composer stay centered in the space beside the panel.
Install
In DSH, open Plugins → Add plugin and install:
dsh-session-panel-centering
Or use the DSH CLI to install it into a profile. The plugin command forwards its remaining arguments to pnpm in that profile's directory:
dsh plugin --profile <profile> add dsh-session-panel-centering
For example, to install into the web profile:
dsh plugin --profile web add dsh-session-panel-centering
This requires dsh on your PATH. To remove it later, run dsh plugin --profile <profile> remove dsh-session-panel-centering.
Requires DSH ^0.2.3-alpha.2.
Preview
Before, DSH pinned the transcript toward the start edge when the Session panel was open:

With the plugin, the transcript stays centered in the space beside the panel:

How it works
The host sets --dsh-chat-end-reserve when a session panel or other side content needs space. This plugin sets --dsh-chat-end-inset to that reserve, which re-centers the transcript column instead of leaving a dead gutter. It changes only CSS. It does not touch conversation data or settings.
Verify the layout
Run the bundle check before publishing. It packs the plugin and runs the client test.
npm run check
CI runs the same command on pushes and pull requests.
To check a running session, dock the Session panel and open browser DevTools. Run this in the console:
getComputedStyle(document.querySelector('[data-conversation-content]'))
.getPropertyValue('--dsh-chat-end-inset')
Compare the result with --dsh-chat-end-reserve. A match means the rule is active. If the host sets no reserve, the value is 0px and the layout stays unchanged.
The plugin supports DSH ^0.2.3-alpha.2, as declared in package.json. Older hosts may lack the conversation slot or the reserve variable.
Development
The package exports ./index.js (host half, no-op), ./client.js (Client UI module), ./icon, and ./locale/*.json.
License
MIT — see LICENSE.
Plugins associés
dsh-web (dsh-task-board)
zhu1090093659/dsh-web
dsh-web (dsh-web-all)
zhu1090093659/dsh-web
dsh-TUI
ccch1mneyyy/dsh-tui
dsh-web-ui (dsh-task-board)
zhu1090093659/dsh-web-ui