Expand button for the DSH Web UI composer — appears at 3+ lines, stretches to near-fullscreen height, auto-collapses on send, and Enter inserts newlines in expanded mode.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-composer-stretch
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:Pudge1996/dsh-composer-stretch
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
中文 | English
A composer expand plugin for DeepSeek Harness. When the composer text wraps to 3+ lines, an expand button appears in the top-right corner of the composer; click to stretch the composer to fullscreen height, click again to restore the default height.
https://github.com/user-attachments/assets/3d15f435-284f-4cbe-87c1-e59e47c64667
The interaction is inspired by Gemini, with additional DSH-specific height adaption and scroll-through prevention fixes.
Install
# Web profile
dsh plugin --profile web add dsh-composer-stretch
# Desktop app: quit the app first
dsh plugin --profile desktop add dsh-composer-stretch
Triggers
- Conditional button — the expand button appears in the top-right when the composer reaches 3+ lines.
- Triple-newline auto-expand — press
Shift+Enterthree times in a row to auto-expand.
Expand behavior
- Fullscreen composer — the composer stretches to near-fullscreen height (adapted to avoid occlusion by the session title, image attachments, etc.).
- Attachment room — pasting an image or file while expanded gives the attachment rail back exactly its own height from the draft area, so the card keeps its size instead of overflowing the conversation area.
- Auto-collapse on send — the composer restores its default height after sending a message.
- Enter behavior while expanded —
EnterandShift+Enterinsert newlines;Cmd/Ctrl+Entersends. Collapsed,Enterstill sends. - Scroll containment — scrolling inside the expanded composer no longer chains through to the conversation background.
Notes
- Tested against DSH v0.2.0-rc.2
- Stable UI — relies on stable
data-slotanchors and DSH design tokens for high compatibility. - No persistence — state resets on page refresh; no localStorage residue.
- Frontend only — no custom protocols, no host commands, no LLM calls, no session-log entries.
License
MIT
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 8639
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 8639
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 4515
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
ccch1mneyyy/dsh-TUI★ 4296
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
omdsh-dev/DSH-better-sidebar★ 4116
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
Devin-AXIS/deepseek-design#deepseek-idesign★ 1449
Visual design studio for websites, app prototypes, posters, cards, reports, and magazines, with templates, direct element editing, selection-aware AI draft handoff, and export.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.