D
dsh-yali-image-generator
v0.1.1 · 4 天前发布
DeepSeek-Harness 图像生成插件。申请 Yali AI API Key:https://api.yaliai.com/
README
DeepSeek-Harness 图像生成插件
dsh-yali-image-generator 是一个可独立安装的 DeepSeek Harness Bundle,为 Agent 提供 generate_image 图像生成工具,并通过 Yali AI 异步图像网关调用模型。
包名和 Harness 模块名使用官方示例一致的 dsh- 前缀;面向用户的插件名称和工具说明统一为“DeepSeek-Harness 图像生成插件”。
官方规范符合性
本插件遵循 DeepSeek Harness 的 docs/user/develop/basic 与 docs/cookbook/adding-a-tool.md:
package.json 通过 dsh.bundle.patch 声明安装补丁。name、inject = ['tools', 'credentials']、Schemastery Config 和 apply(ctx, config)。ctx.tools.register(defineTool(...)) 注册;执行结果是由 output.schema 定义的规范 JSON,模型可见文本由 output.render 单独渲染。完整逐条审计见 COMPLIANCE.md。
支持的模型与接口
| 模型 | 接口 | 规格 | 说明 |
| --- | --- | --- | --- |
| gemini-3.1-flash-image-preview | `P
版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ✅ 兼容 | cordis patch ✅ |
dsh@0.1.0 | ✅ 兼容 | 标准 patch ✅ |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- MIT
- npm
- dsh-yali-image-generator
- Repo
- git+https://github.com/pptt121212/dsh-yali-image-generator.git
- Engines
{"node":"^22.19.0 || >=24.0.0"}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"}}