klarkxy 的 DSH 插件

ChatGPT

@klarkxy/dsh-chatgpt
插件 模型与联网 含 Web 界面

借助本机 Codex 使用 ChatGPT 搜索、生图改图和看图。

安装

 dsh plugin --profile web add @klarkxy/dsh-model-route
 dsh plugin --profile web add @klarkxy/dsh-plugin-kit
 dsh plugin --profile web add @klarkxy/dsh-chatgpt

这个插件依赖 模型路由字段契约、插件共享库,命令会按顺序一起装上。

把 web 换成你在用的 profile。装完重启 profile,插件会出现在「设置 → 插件」里。

说明

以下内容来自 README.zh-CN.md(0.1.2)。

借助本机已登录的 Codex,让 DeepSeek Harness 智能体使用 ChatGPT 联网搜索、生图、改图、看图和文本分析。不需要 API Key。

安装

dsh plugin --profile web add @klarkxy/dsh-chatgpt

DSH 所在电脑上还需要安装官方 Codex,版本不低于 0.162.0-alpha.17.2。打开插件页点击「刷新状态」:已有 Codex ChatGPT 登录时直接复用,否则可选择浏览器或设备码登录(远程 DSH 请用设备码)。找不到 Codex 时,可手动填写其路径。模型和思考强度也在这里选择。

工具

工具 用途
chatgpt_search 查最新资料,返回来源链接
chatgpt_generate_image 生成图片,可附参考图
chatgpt_edit_image 修改指定图片,保留原图
chatgpt_view_image 看图、识别截图文字、比较图片
chatgpt_ask 对你提供的文本做分析、翻译或写作

智能体会自行选择这些工具,无需你点名。

限制

  • 调用消耗你 ChatGPT 账户的 Codex 额度。
  • 图片来自工作区文件或会话中已有的图片,每次最多五张。结果保存在工作区的 .dsh-chatgpt/ 下,因此生图和改图需要工作区写权限。
  • 旧版 Codex 会报兼容错误。

许可证

SATA License 2.1