Skip to content

Releases

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

Choose a tag to compare

@kitterfast kitterfast released this 13 Sep 14:18

本版要点(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 步硬指令(环境自检),缺什么它自己装。

v1.4.1 — 自检成为硬性步骤,装完不用再敲任何命令

Choose a tag to compare

@kitterfast kitterfast released this 13 Sep 13:12

本版要点(v1.4.1)

环境自检从"文档里写了"升级为"kickoff 里的硬性第 2 步"

  • 选「A. 使用 AI 生图」时,插件投送的第一条消息里现在直接写着第 2 步:立刻执行 scripts\check-env.ps1,并注明"缺什么自己装;只有它标 [HUMAN] 时才来找我"。
  • 也就是说:装完之后你什么都不用说、什么都不用敲。 唯一可能落到你身上的,是"专属自动化浏览器从未登录过火山"这一种情况 —— 需要你用手机验证码或扫码登录一次。
  • 选「B. 不使用 AI 生图」时不注入该步骤(B 明确禁止碰 arkcli 与浏览器)。

浏览器改为按需启动

  • check-env.ps1 不再一律拉起浏览器;只有"确实需要登录"时才启动。
  • 已登录的机器上跑自检,一个窗口都不会弹(第 4 项现在只报告 idle)。

通告简化:去掉了那条多余的"手动兜底"说明。


安装

最新版(跟随 main)

dsh plugin --profile web add github:kitterfast/dsh-ppt-maker

固定本版 v1.4.1

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

tarball 直链

直接丢给 agent 的两行通告

让Agent执行命令:「帮我装 DSH 插件 github:kitterfast/dsh-ppt-maker(profile 用 web),装完重启桌面端」,安装插件后在对话框左下方的加号处可以找到「PPT 制作」
插件地址:https://github.com/kitterfast/dsh-ppt-maker · v1.4.1

v1.4.0 — 火山登录 0 手动 + 环境自检/自动安装

Choose a tag to compare

@kitterfast kitterfast released this 13 Sep 13:06

本版要点

火山方舟登录改为 0 手动(本机实测)

  • 新增 scripts/volc-0manual-login.ps1:自己完成 arkcli auth login volc-sso --no-browser → 在专属自动化浏览器里点【继续登录】/【授权成功】→ 取回 base64 授权码 → --code 交换令牌。
  • 实测从 logged_in:false 到 true 约 40 秒、零人工输入;唯一一次性成本是首次在专属浏览器里登录火山(手机验证码或扫码),cookie 长期有效。

新增环境自检 + 自动安装(流程第一步)

  • scripts/check-env.ps1 逐项检查并按需自动补:Node ≥ 22、arkcli、dsh-chrome-cdp 插件、专属 CDP 浏览器、火山登录态;-NoInstall 可只体检。
  • 唯一可能落到真人身上的一步会明确标 [HUMAN]。

新增 scripts/cdp/*.mjs(零第三方依赖)

  • 改用 Node 22 自带的全局 WebSocket 直连 CDP,不再依赖 ws / chrome-remote-interface。
  • authorize.mjs(自动点授权并取码)、goto.mjs(只读导航 + 截图)、click.mjs(按标签点击)、inspect.mjs(标签页与 cookie 域名证据)。

修掉两个会把凭据搞错的坑

  • 取码失败转而读剪贴板时可能拿到上一轮的旧码 → 服务端报 state 参数不匹配 (CSRF);现在 DOM 与剪贴板两条路径都强制校验 state。
  • logged_in: true 会被上一轮未过期会话顶成假阳性 → 判定要同时看 sts_expires_at_ms 是否变化。

提示词同步:A1.5 新增自检步骤;B3 三道闸门重写为「① 0 手动 / ② 真人 / ③ CDP 尝试 + 回退」;D3、D4、D5、D6、总流程图与检查点 0 文案一致化。


安装

最新版(跟随 main)

dsh plugin --profile web add github:kitterfast/dsh-ppt-maker

固定本版 v1.4.0

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

tarball 直链

装完重启桌面端,然后在 composer 的「+」菜单里会看到「PPT 制作」。

想省事可以直接把下面这段原样丢给 agent:

让Agent执行命令:「帮我装 DSH 插件 github:kitterfast/dsh-ppt-maker(profile 用 web),装完重启桌面端」,安装插件后在对话框左下方的加号处可以找到「PPT 制作」
插件地址:https://github.com/kitterfast/dsh-ppt-maker · v1.4.0
首次用「AI 生图」前,若 agent 提示缺组件,让它执行:%USERPROFILE%\.dsh\local-plugins\dsh-ppt-maker\scripts\check-env.ps1(会自动补齐 arkcli / 专属自动化浏览器 / dsh-chrome-cdp 插件)

v1.3.0 — first public release

Choose a tag to compare

@kitterfast kitterfast released this 12 Sep 09:13

First public release.

What it does — adds a PPT 制作 entry to the DSH composer + menu. Picking it asks one question (use AI images or not), then sends one short kickoff message that hands the bundled self-contained PPT orchestration prompt to the current session.

Design boundaries — no session-permission changes, no host HTTP routes, no dumping the prompt into the chat, no extra notices. The whole run needs exactly one user confirmation.

Install

dsh plugin --profile web add github:kitterfast/dsh-ppt-maker

Verified — npm run verify runs two suites (11 package checks + 27 client behaviour checks, including every degraded branch); CI runs both on Node 20 and 22.