Skip to content

v1.4.2 - fix plugin-dir lookup for pnpm installs

Latest

Choose a tag to compare

@kitterfast kitterfast released this 13 Sep 14:18
· 14 commits to main since this release

本版要点(v1.4.2)

修掉一个"新装用户第一次就会失败"的路径 bug

  • kickoff 第 2 步(环境自检)原来把脚本路径写死成
    %USERPROFILE%\.dsh\local-plugins\dsh-ppt-maker\scripts\check-env.ps1 —— 那只对 link: 安装成立。
    按 README/使用教程里推荐的 dsh plugin --profile web add github:kitterfast/dsh-ppt-maker(pnpm)安装时,
    插件落在 %USERPROFILE%\.dsh\profiles\web\node_modules\dsh-ppt-maker,那条命令会指向不存在的路径。
  • 同一个 kickoff 对提示词文件本来就给了两个候选路径(PROMPT_CANDIDATES),唯独脚本是单路径 —— 属自身不一致。

现在的行为(kickoff 与提示词 A1.5 一致)

  • 按顺序取第一份存在的插件目录:
    1. %USERPROFILE%\.dsh\local-plugins\dsh-ppt-maker\(link: 安装)
    2. %USERPROFILE%\.dsh\profiles\web\node_modules\dsh-ppt-maker\(dsh plugin add / pnpm 安装)
  • 两份都不存在 → 停下报告"安装不完整",不要自己下载脚本凑。
  • 不需要用户读任何教程:只装插件就能跑通(这正是本版要保住的性质)。

安装

dsh plugin --profile web add github:kitterfast/dsh-ppt-maker#v1.4.2

tarball:https://codeload.github.com/kitterfast/dsh-ppt-maker/tar.gz/refs/tags/v1.4.2

装完重启桌面端,在 composer「+」菜单里选「PPT 制作 → A. 使用 AI 生图」即可;
第一条消息里就有第 2 步硬指令(环境自检),缺什么它自己装。