Skip to content

Releases

## fix(client): adapt to DSH 0.1.6-alpha.2

Choose a tag to compare

@Gan332 Gan332 released this 19 Sep 01:03

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

Choose a tag to compare

@Gan332 Gan332 released this 30 Aug 02:33

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: defineStore is now resolved through a try/catch shim 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.json dsh.client.inject: dropped the absent dsh-client-runtime; kept only the core services present in every supported version (locale, ui-slots, ui-primitives).
  • package.json peerDependencies: 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

Choose a tag to compare

@Gan332 Gan332 released this 23 Aug 06:24

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。