Skip to content

Releases

v0.1.4 — DSH 0.2.x edition

Choose a tag to compare

@zlqd123 zlqd123 released this 19 Oct 12:39

面向 DSH 0.2.x 的整代重写(内部开发期 0.2.0–0.2.4 合并发布为 0.1.4):

  • 插件页原生表单:侧边栏「插件」页内嵌配置(bundle 页 + 行 Configure 页共用一份舞台草稿);发送/换行/打断三个文字字段 + 每字段「+ 录制按键」按钮(按键直录,同名键自动从其他动作移走)+「新建方案名」字段;Save 一次原子提交
  • 键位方案复选框条:DSH 原生 / 微信风格 / 最多 3 个自定义方案,勾选整组切换、字段拟合自动勾中、「经典界面」按钮直达浮动面板
  • 浮动面板恢复(0.1.x 界面):Settings→General 行与输入框键盘按钮打开;立即生效语义、chip 增删、按键录制、保存方案行;底部迁移标注 + 「打开插件页设置」深链按钮(直达本插件的插件页配置页)
  • Shift+Enter 显式绑定优先:绑定换行 → 恒放行原生;重绑发送/打断 → 插件接管;未绑定 → 原生换行
  • 已在 DSH 0.2.1-rc.2 实机验证;兼容 DSH 0.1.7 与 ≤0.1.6 的设置面

v0.1.3

Choose a tag to compare

@zlqd123 zlqd123 released this 25 Sep 07:07

修复 / Fixed

  • DSH 0.1.7-rc.2 下宿主半件 failed to import:link:(符号链接)安装的插件会被 Node 先 realpath 出 profile,静态 import '@deepseek-ai/schemastery' 在源码目录里解析不到依赖而挂掉;Loader 对 import 失败只回显一句 failed to import,不带原因。现改为 index.js 内的 loadSchema() 兜底解析:裸 specifier → DSH_PROFILE_DIR → DSH_HOME/profiles/<profile> → process.argv[1](dsh 入口自带该依赖)→ cwd;全部失败时先 console.error 打出尝试过的每一条路径再抛。
  • package.json 补上此前缺失的 @deepseek-ai/schemastery 依赖声明(此前发布版依赖 profile hoisting 侥幸可用)。

文档 / Docs

  • 版本兼容表补上 0.1.7-rc.2;故障排查新增「启动即报 failed to import」条目。
  • README 顶部标注维护状态:DSH 已有快捷键编辑界面(Settings → 快捷键),若官方后续推出可自定义「发送 / 换行 / 打断」的同类功能,本项目将停止维护。

测试 / Tests

  • node --test test/*.test.mjs 24/24 通过。
  • 另验证三条装载路径:经 profile 符号链接(真实 Loader 路径)、无 DSH 环境(应失败且打印完整路径清单)、argv[1] 为 dsh 入口(兜底成功)。

v0.1.2

Choose a tag to compare

@zlqd123 zlqd123 released this 24 Sep 09:50
  • Adapt DSH 0.1.7-rc.1: client binds configForms and the host derives the composer-keys namespace from volatile Config fields; <=0.1.6 legacy paths kept behind feature detection.
  • Scheme isolation: built-in DSH-native / WeChat-style plus up to 3 custom presets as full three-channel triples; channel edits write back into the scheme matched before the edit.
  • Interrupt rework: official uiSession current-session resolution, uiSession.sessionStatus busy gate, every skip logs its reason.
  • Durable writes: atomic single mutate with per-stream confirmation gates - no preset snap-back.
  • Tests: 24 engine cases; CI publish step restored (npm publish was missing since f4783ce).

v0.1.1

Choose a tag to compare

@zlqd123 zlqd123 released this 17 Sep 06:11

Automated release via npm Trusted Publishing (OIDC).