baitouwuya/dsh-super-cards: Enable DSH assistant to answer structured questions with native cards

This is a DSH Web plugin that registers a `render_ui` tool, enabling the model to answer structured questions—such as comparisons, metrics, tables, charts, steps, and solution choices—using native UI cards instead of Markdown. It supports 29 types of blocks, two syntaxes (`content` and `blocks`), and four placement positions (`answer`, `process`, `dock`, `tail`), while progressively disclosing the schemas for all 29 block types. Card content is derived from tool invocation parameters recorded in session logs and persists after refresh, replay, or fork. Published to npm as `dsh-super-cards` (version 0.14.0), it has been verified to work on DSH 0.2.2-rc.1 (cordis 4.1.0), with all 253 tests passing. It is licensed under the MIT license. The configuration is defined in the `super-cards` config line of the `cordis.patch.yml` file in the profile. It takes effect immediately after saving and remounting, without requiring a restart. The plugin runs with the permissions of the current DSH process; please check the source code and license before installation.

Read More