Inkotake/dsh-rich-artifacts

Inkotake★ 0TypeScript最后同步: 2026-08-16

在 GitHub 打开

DeepSeek Harness Artifact/Deliverable plugin: publish workspace files as chat artifacts with inline image previews and download cards.

README 摘要

dsh-rich-artifacts 中文 English A DeepSeek Harness (dsh) dual-face plugin that turns workspace files into chat artifacts : raster images render inline in the conversation, other files become download cards. No more file:///... links or “the file is in output/ ” — when the model creates a user-facing file, it calls publish artifact and the file is durably delivered through the chat UI. Features - publish artifact tool - path (required): workspace file to publish - title (optional): display title - display : auto (default) · inline · download - ArtifactStore - SHA-256 content-addressed blob storage - metadata stored separately under /.dsh/artifacts/v1/ - Durable session event artifact/published - only artifact metadata enters the session log - historical sessions keep showing artifacts after reload / fork - HTTP endpoints - GET /api/artifacts/:id/content — inline-safe preview - GET /api/artifacts/:id/download — attachment download - Web UI turn-tail gallery - PNG / JPEG / WebP / GIF render inline - everything else gets a file card with a download button - Security - workspace containment via fs.resolve + fs.contains - final-component symlink rejection - magic-byte MIME sniffing (a .png…

在 GitHub 查看完整 README →
工具/开发artifactscordisdeepseek-harnessdshdsh-plugin

分类