Jannchie/dsh-artifact0

dsh-artifact

Claude-Code 风格的 Artifacts 插件,支持写入独立 HTML、沙箱预览、侧边栏导航及专属浏览器。

AI 分析

核心用途是让 Agent 能够生成并实时预览富媒体、交互式 HTML 页面。适合需要 AI 编写前端网页、小游戏或可视化图表并直接在 DSH 中查看的用户。

包名
dsh-artifact
版本
0.4.0
许可证
MIT
最近更新
2026年8月16日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Jannchie/dsh-artifact

Configuration

Override in your profile's cordis.patch.yml:

- id: artifact
  config:
    # Artifact directory. Omit or null for $DSH_HOME/artifacts.
    root: /absolute/path/to/artifacts
    # Maximum characters accepted in one write.
    maxArtifactChars: 400000
    # Inject the system-prompt section about when to write an artifact.
    promptSection: true
    # Register the bundled writing-artifacts skill.
    skill: true
    # Colors handed to previewed artifacts, layered over the live theme.
    # A key without a leading `--` is read as an alias token.
    palette:
      state-business-primary: '#e0552b'