FraYoshi/dsh-widechat ↗★ 1

@furayoshi/dsh-widechat

调整对话栏宽度、气泡大小及输入框高度 适合需要自定义DSH聊天界面布局、拓宽阅读视野的用户。

套件
@furayoshi/dsh-widechat
相容性
待驗證
Harness 依賴範圍
>=0.1.2-rc.1
Cordis 依賴範圍
>=4.0.1
版本
0.8.1
授權
MIT
最近更新
2026年9月20日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:FraYoshi/dsh-widechat

Configuration

The four settings live in the dsh-widechat settings namespace. They can also be edited directly in the user's settings document if the npm install flow is bypassed (the file-backed settings doc lives at ~/.dsh/settings.yaml; see the host-side schema in src/index.ts for the canonical field names and bounds).

FieldTypeDefaultRange / valuesReference
chatGutterPctnumber10–10 (clamped; integers)cell width
statsAlignstring"right""left", "center", "right"—
userBubblePctnumber7530–100 (clamped; integers)chat column
composerMaxHeightPctnumber5020–80 (clamped; integers)viewport

The slider value is the percentage applied to the reference for that row. A value of 0 is allowed for chatGutterPct (no gutter at all), and 100 for userBubblePct (your bubble fills the column). composerMaxHeightPct at 0 would clip the composer entirely; the slider starts at 20 to keep it usable.

Invalid values are dropped to the defaults and a console.warn is logged with the offending field name.