dsh-rich-response: Rendering DSH response into scannable semantic color blocks
dsh-rich-response is a client-side plugin by maintainer xiangxueyujiandelin that adds semantic color block rendering to DSH. The plugin instructs the model on two sets of markers: GitHub Alerts semantic blocks and five ::: fenced structure blocks (summary, points, table, steps, columns), which are rendered into conclusion cards, card rows, comparison tables, and numbered lists. The host side appends a ~400-character protocol to the end of the system prompt, while the client only renders the fenced blocks actually written by the model. Coloring follows the principle of "color as semantics," covering approximately 11% of the area with low-saturation background colors and left borders. It provides L0-L4 five-level graceful degradation, ensures `parseRich` never throws exceptions, and switches streaming output based on fenced block closure status. It replaces the assistant-step renderer of `conversation.chat.node` via `ctx.slots.register` (priority: -10). There are eight test suites with a total of 222 assertions; on Node 22+, run `npm run test:all` directly. The README states "Under debugging, do not download," with version 0.1.0 and 0 stars; it was verified on the real DSH desktop version 0.2.2-rc.1 on November 5, 2026. Thoroughly read the source code before using in production.
Read More