FraYoshi/dsh-widechat1

@furayoshi/dsh-widechat

DeepSeek Harness plugin: widens the conversation column, sets the user-bubble width and composer max height, and right-aligns the session stats strip, with a settings-row UI to tune all four. Built for the DSH client plugin slot `settings.general.item`.

AI 分析

核心用途是优化 DSH 聊天界面的布局宽度与比例。适合大屏显示器用户,或觉得默认对话框过窄、输入框高度不便的用户。支持在通用设置中直接微调数值。

パッケージ
@furayoshi/dsh-widechat
バージョン
0.7.0
ライセンス
MIT
最終更新
2026/09/04

インストール

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

ドキュメント

README 全文を読む ↗

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.