Inkotake/dsh-rich-artifacts ↗★ 0
dsh-rich-artifacts
DeepSeek Harness Artifact/Deliverable plugin: publish workspace files as chat artifacts with inline image previews and download cards.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Inkotake/dsh-rich-artifacts说明文档
阅读完整 README ↗Usage
The plugin registers a system-prompt section, so the model should call the tool on its own when it creates a deliverable. You can also ask for it directly:
Create a training-loss chart, export it to CSV, and publish both files as artifacts.
The agent then runs:
publish_artifact({ "path": "output/loss.png", "display": "auto" })
publish_artifact({ "path": "output/loss.csv" })
and the turn tail shows the image inline plus a CSV download card.
Configuration
In the profile cordis.patch.yml:
- id: dsh-rich-artifacts
name: dsh-rich-artifacts
config:
root: ~/.dsh/artifacts
maxFileBytes: 104857600
maxTurnBytes: 524288000
maxImageBytes: 20971520
maxImagePixels: 40000000
inline:
png: true
jpeg: true
webp: true
gif: true
svg: false
| Field | Default | Meaning |
|---|---|---|
root | ~/.dsh/artifacts | Artifact storage root |
maxFileBytes | 104857600 | Per-file size cap |
maxTurnBytes | 524288000 | Reserved per-turn cap (not yet enforced in V0.1) |
maxImageBytes | 20971520 | Max inline image size |
maxImagePixels | 40000000 | Max inline image pixels (best-effort parse) |
inline.* | png/jpeg/webp/gif: true, svg: false | Which image types may render inline |