Repository navigation
Releases
## fix(client): adapt to DSH 0.1.6-alpha.2
fix(client): adapt to DSH 0.1.6-alpha.2
变更
- Button variant 从
secondary改为outline(0.1.6 已移除secondary) - peer 依赖升级:cordis
^4.0.2、locale/ui-slots/ui-primitives/store>=0.1.6-alpha.2 - 版本号
0.1.3
说明
defineStore引擎内联(@deepseek-ai/dsh-client-store无dsh.client声明,bundle 无法 require)- 补充
LocaleNamespaceMap类型声明 - README 兼容性条目更新为实际实现描述
dsh-typography 0.1.1
dsh-typography 0.1.1
Fixes the plugin on DSH 0.1.2-alpha.1 (DSH Desktop 2.0.4).
Root cause
In DSH 0.1.2-alpha.1 the @deepseek-ai/dsh-client-runtime package was removed and defineStore was moved to a new package, @deepseek-ai/dsh-client-store. The 0.1.0 build required the old path, so its factory threw at module-load time on 0.1.2 hosts and the 设置 → 通用 → 字体(界面 / 代码) row was absent (the same symptom as the earlier “重启后未出现” — the missing host package, not the profile).
Fix
lib/client.js:defineStoreis now resolved through atry/catchshim that picks@deepseek-ai/dsh-client-store(0.1.2+) and falls back to@deepseek-ai/dsh-client-runtime/client(0.1.1-rc.x). No behavior change for the running app — the same stores, the same UI.package.jsondsh.client.inject: dropped the absentdsh-client-runtime; kept only the core services present in every supported version (locale, ui-slots, ui-primitives).package.jsonpeerDependencies: aligned to the 0.1.2 host contract.
Install / upgrade
# DSH Desktop (0.1.2-alpha.1+)
dsh plugin --profile desktop add github:Gan332/dsh-typography
# CLI dsh web (0.1.1-rc.x still works via the fallback)
dsh plugin --profile web add github:Gan332/dsh-typography
If you already have 0.1.0 installed via a link: to a local checkout, just restart DSH Desktop — the live link picks up the new files automatically. Restart also auto-verifies and clears the install-recovery transaction.
Full notes in commit 6f0dcd4.
dsh-typography 0.1.0
dsh-typography 0.1.0
DeepSeek Harness Web UI 的字体自定义插件 —— 界面字体与代码字体两组独立选择。
功能
- 界面字体 / 代码字体独立控制:分别改写
--dsw-font-family与--ds-font-family-code - 在线预设:Inter + JetBrains Mono、IBM Plex Sans + Fira Code、Noto Sans SC(简中),CDN 加载、离线回退系统字体
- 本地字体库:woff2/ttf/otf 丢进
%DSH_HOME%\typography\即可一键应用,TTF 直用无需转换 - 可变字体全字重:
font-weight: 100 900描述符,真实粗细呈现 - 默认即放手:与其它字体插件共存;兼容
desktop与web双 profile
安装
# DSH Desktop 桌面应用
dsh plugin --profile desktop add -w /path/to/dsh-typography
# 命令行 dsh web
dsh plugin --profile web add -w /path/to/dsh-typography或从本 Release 下载 zip 解压后按上述方式指向本地目录。安装后重启对应入口即可在 设置 → 通用 → 字体(界面 / 代码) 中使用。
完整说明见 README。