Skylarking/dsh-plugin-chat-renderer

Skylarking★ 0TypeScript最后同步: 2026-08-20

在 GitHub 打开

DeepSeek Harness plugin: chat renderer

README 摘要

@skylarking/dsh-chat-renderer Installable external plugin that enhances DSH chat content. Fenced code blocks marked mermaid render as diagrams inline in the conversation. The browser bundle uses Mermaid's strict security mode and keeps the source visible when a diagram cannot be rendered. The implementation is intentionally generic: registerCodeRenderer() owns a browser-side registry keyed by fenced-code language. Future versions of this plugin can add image, code-preview, or other block handlers without modifying DSH's conversation package. Install from the Desktop plugin manager by selecting this directory, or use: Then write a message containing: mermaid flowchart LR User -- DSH DSH -- Cordis File links and relative file paths rendered as inline code also expose their path as a hover tooltip. Double-clicking either form opens a reversible context menu with copy-path and copy-content actions; URL-backed links additionally offer open, download, and copy-content actions. The menu is implemented entirely in the plugin and is removed together with the plugin; operating-system file actions follow the browser or Desktop host's URL policy. Disabling or uninstalling the plugin removes it…

在 GitHub 查看完整 README →
工具/开发cordisdeepseek-harnessdsh-plugin

分类