返回目录
其他 插件

dsh-plugin-chat-renderer

Skylarking/dsh-plugin-chat-renderer

DeepSeek Harness plugin: chat renderer

Stars
0
Forks
0
Issues
0
更新
1 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:Skylarking/dsh-plugin-chat-renderer

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

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:

pnpm dsh plugin --profile web add ./plugins/chat-renderer

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 its rendered output and restores the original code blocks. The plugin is presentation-only and contributes no model-visible input or durable session event.

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类其他
规则置信度

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。