dsh-ptc-diff-card:让 PTC 里嵌套的 edit/write 显示标准 diff 卡片
DSH Web 插件 dsh-ptc-diff-card(GrounzerLiu)针对 PTC 模式下 run_code 内嵌套的 edit/write:默认仅显示成功文本,官方 diffCardModel 会跳过 parentCallId 非空的调用。插件在 tool.call.toolview 以 priority -1 注册 edit/write 视图,复刻官方 DisclosureRow 与 DiffBlock,沿用官方 diff 推导并去掉根调用限定。安装方式为 dsh plugin add(GitHub、npm 或本地 link),写入 profile bundles 后重启生效。要求 DSH >= 0.2.1-rc.2、Web GUI;仅覆盖 edit/write,与同类 priority 插件不可共存。MIT 许可。
阅读全文