Skip to content

Releases: Nihao7-L/dsh-prompt-chain

v1.0.2

Choose a tag to compare

@Nihao7-L Nihao7-L released this 21 Oct 08:13

修了什么

  • 修掉「输出语言=跟随原文」时中文输入却出英文的问题:语言规则现在按输入内容判定,不再沿用上一轮或下拉未选时的默认值。
  • 设置页小调整:CH/EN 开关位置、左侧图标、图标动画速度。

安装

dsh plugin add dsh-prompt-chain

或直接用 Release 里的 tarball。npm 上同名包 1.0.2 已发布(registry 同步稍慢,npm view 加 --prefer-online 可见)。

完整记录见 CHANGELOG.md。

dsh-prompt-chain 1.0.1

Choose a tag to compare

@Nihao7-L Nihao7-L released this 20 Oct 08:32

这一版修了什么

peerDependencies 的预发布版本范围写窄了,这是个会让新用户装不上的真 bug。

原来写的是 ^0.1.2-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1。npm 的 ^ 对预发布版本只放行同一组 x.y.z,所以:

范围 | 实际能匹配的版本 -- | -- ^0.1.2-rc.1 | 只有 0.1.2-* ^0.1.7-rc.2 | 只有 0.1.7-* ^0.2.0-rc.1 | 只有 0.2.0-*

而 DSH 实际跑的是 @deepseek-ai/dsh-llm@0.2.1-rc.2 —— 一个都匹配不上。从 npm 装会因为 peer 不满足报 ERESOLVE。

现在改成逐条列出预发布分支:

"@deepseek-ai/cordis": 
Read more

dsh-prompt-chain 1.0.0

Choose a tag to compare

@Nihao7-L Nihao7-L released this 20 Oct 06:12

首个公开版本,已发布到 npm。

安装

dsh plugin add dsh-prompt-chain

装完 完全退出 DSH 再打开(界面半边随页面刷新,宿主半边必须重启)。

不想用 npm?下载下面的 dsh-prompt-chain.tgz,在 DSH 插件页「从本地安装」,或 dsh plugin add .\dsh-prompt-chain.tgz。

这个版本有什么

  • 输入框增强按钮一键改写提示词,结果面板实时写回输入框
  • 继续生成(最多 5 轮)/ 重新生成 / 历史版本胶囊 / 撤销重做
  • 逐行对比,绿色新增、红色删除,顶栏显示「N 处改动」
  • 6 个内置提示词方案只读,自建最多 3 条,中英双栏、一键免费翻译
  • 自定义图标:emoji / 上传图片(gif ≤128KB 保动画)/ 内置表情库 32 个
  • 面板玻璃或纯色、不透明度、位置微调;设置页头部 CH / EN 一键切换界面语言

兼容性

  • DSH 0.2.x(桌面端 / Web 端)
  • 平台:Windows / macOS / Linux
  • License: MIT

Full Changelog: https://github.com/Nihao7-L/dsh-prompt-chain/commits/v1.0.0