FraYoshi/dsh-widechat1

@furayoshi/dsh-widechat

DeepSeek Harness 插件:加宽对话列、设置用户气泡宽度和输入框最大高度,并将会话统计条右对齐,提供设置界面进行调节。专为 DSH 客户端插件插槽设计。

AI 分析

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

套件
@furayoshi/dsh-widechat
版本
0.7.0
授權
MIT
最近更新
2026年9月4日

安裝

$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.