dsh-codex-tools
为 DSH 提供基于 Codex 的网页搜索、图像生成和图像理解模型工具。
AI 分析
核心用途是扩展 DSH 的工具箱,使其具备联网搜索和生图能力。适合需要 AI 实时检索最新信息或生成创意插图的综合任务场景。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:SPYQWER1/dsh-codex-tools说明文档
阅读完整 README ↗Usage
Ask the harness in natural language — the model drives the tools itself:
- "Search for the latest DeepSeek Harness release" →
web_search - "生成一个鲸鱼图标" →
image_gen - "看看这个图片讲了什么:output/photo.png" →
image_vision
web_search parameters
| Param | Type | Notes |
|---|---|---|
query | string (required) | Public-web research question. |
maxSources | integer | 1–10, default 5. |
freshness | string | cached (default) or live for time-sensitive queries. |
model | string | ChatGPT backend model, default gpt-5.4-mini. |
The result contains summary and sources, where each source has a title, URL, and short snippet.
image_gen parameters
| Param | Type | Notes |
|---|---|---|
prompt | string (required) | Detailed description (subject, style, composition, palette, constraints). |
out | string | Output path relative to the workspace. Default output/imagegen/.png. |
size | string | 1024x1024, 1536x1024, 1024x1536, 2048x2048, 2048x1152, or auto (default). |
format | string | png (default), jpeg, webp. |
model | string | ChatGPT backend model, default gpt-5.5. |
image_vision parameters
| Param | Type | Notes |
|---|---|---|
image | string (required) | Path to the image (png/jpeg/webp/gif), workspace-relative or absolute. |
question | string | Optional focus question; defaults to a full description. |
model | string | Default gpt-5.5. |