chat
Installation
SKILL.md
@json-render/chat
Renders json-render specs as Chat SDK CardElement objects. Each Chat SDK adapter converts the card to its platform format.
Quick start
import { defineCatalog } from "@json-render/core";
import {
schema,
standardComponentDefinitions,
streamCard,
} from "@json-render/chat";
import { streamText } from "ai";
const catalog = defineCatalog(schema, {
components: standardComponentDefinitions,
});