dsh-drag-graft

Codex 同款拖拽引用对话:把侧栏的会话行拖到对话区,它就变成输入框里一枚原生会话引用 chip,可以继续打字再发送。拖侧栏的工作区(文件夹)行,则把那个文件夹的路径插进草稿,整个目录一起交给模型。候选按 session id 匹配而不是按标题,标题重名或为空都不会插错对话。引用条数由宿主决定(原版 3 条),插件在运行时从宿主读取该上限而不写死,宿主侧调大后自动跟随、不用改插件。chip 插不进时降级为直接发一条只含引用的消息,不会静默失败。

插件介绍

Codex 同款拖拽引用对话:把侧栏的会话行拖到对话区,它就变成输入框里一枚原生会话引用 chip,可以继续打字再发送。拖侧栏的工作区(文件夹)行,则把那个文件夹的路径插进草稿,整个目录一起交给模型。候选按 session id 匹配而不是按标题,标题重名或为空都不会插错对话。引用条数由宿主决定(原版 3 条),插件在运行时从宿主读取该上限而不写死,宿主侧调大后自动跟随、不用改插件。chip 插不进时降级为直接发一条只含引用的消息,不会静默失败。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-drag-graft

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:yoyococo1234/dsh-drag-graft

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。