rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:starighterily-art/dsh-line-tight
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Tighter line height and paragraph spacing for the DeepSeek Harness chat transcript, with two knobs in Settings.
The host draws assistant and user text at a 24px line box and 16px between paragraphs. On a 15px font that reads airy, and there is no setting for it. This plugin sets the markdown line height to 21px and the paragraph gap to 8px, then offers the two numbers in Settings → General → 行距.
localStorage under the key dsh-line-tight, so they survive reloads and are per browser.Line height is computed as 21px + (正文字号 - 14px), so raising the host font size keeps the same ratio instead of clipping. List item gaps are one third of the paragraph gap, minimum 1px. Heading margins scale with the paragraph gap.
Only markdown blocks are touched. Compact rows (tool headers, one-line summaries) keep the host spacing.
dsh plugin --profile <profile> add github:starighterily-art/dsh-line-tight
Or from a checkout:
dsh plugin --profile <profile> add ./dsh-line-tight
Restart the host once after installing. The client half is a browser bundle, so it does not hot-reload.
| File | Role |
|---|---|
index.js |
Host half. Empty on purpose. |
client.js |
Browser half: injects the stylesheet and registers the settings row. |
cordis.patch.yml |
Bundle patch that inserts the plugin into the profile. |
The stylesheet targets markdown containers by the host's CSS module class name: [class*="_markdown_"]. If a future host release renames that class, spacing silently falls back to the host defaults — nothing breaks, the knobs just stop biting. The two CSS variables it sets (--dsw-font-markdown-base-line-height, --dsw-font-markdown-base) are the same ones the host already defines.
Works on DSH 0.2.x web. No host-side network access, no telemetry.
把对话正文的行距和段间距压紧:行高默认 21px(宿主 24px),段间距默认 8px(宿主 16px)。设置在 设置 → 通用 → 行距,两个数字框加一个「恢复默认」;改完按回车或点空白处立即生效,值存在浏览器 localStorage 里,键名 dsh-line-tight。
可调范围:正文行高 14–40px,段间距 0–32px。列表项间距取段间距的三分之一,标题上下留白按段间距缩放。只动 markdown 正文块,工具调用那类紧凑行保持宿主原样。
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek。