Bundle
@skylarking/dsh-chat-renderer
Installable chat content renderer extensions for DeepSeek Harness
- Source
- Skylarking
- License
- MIT
- Updated
- Updated 14 days ago
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: ```sh pnpm dsh plugin --profile web add ./plugins/chat-renderer ``` Then write a message containing: ````markdown ```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.
Install
dsh plugin --profile web add github:Skylarking/dsh-plugin-chat-renderer
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install skylarking-dsh-chat-renderer from the hub
- This package builds from source on install. pnpm will ask you to allow its build script — that is permission to run the package’s code on your machine, outside the agent sandbox. Only allow sources you trust.
- This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.