dsh-media

增加三个会话工具——经 TLPro 网关调用 GPT Image 或 Gemini 的 create_image、edit_image,以及经 xAI 的文本转语音 speak——并在聊天界面里提供这些图片和音频的查看器。需自备 TLPRO_API_KEY 与 XAI_API_KEY,并在 profile 配置中设置 publicOrigin 与 mediaDir。

插件介绍

增加三个会话工具——经 TLPro 网关调用 GPT Image 或 Gemini 的 create_image、edit_image,以及经 xAI 的文本转语音 speak——并在聊天界面里提供这些图片和音频的查看器。需自备 TLPRO_API_KEY 与 XAI_API_KEY,并在 profile 配置中设置 publicOrigin 与 mediaDir。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:dungcsnd1133/dsh-media

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.

版本兼容情况

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