What problem does it solve?
Adding a new rich widget to Seer's markdown output requires coordinated changes across a Zod schema, a React component, a registry entry, and a generated backend JSON file, and missing any step breaks the embed.
Core Features & Use Cases
- Schema Definition: Add a Zod schema entry to SEER_EMBED_SCHEMAS with description, level, examples, and optional feature flag gating.
- Component Creation: Build a typed React component with defineSeerEmbed that validates props via safeParse and renders null on invalid data.
- Registration & Codegen: Register the component in the embeds index and regenerate the backend JSON schema with pnpm gen:embed-widgets.
- Use Case: When asked to add a new inline timestamp or block-level chart widget to Seer Explorer responses, follow the five-step workflow to ship a validated embed end to end.
Quick Start
Add a new Seer embed widget called myEmbed that renders a string field inline in Seer markdown output.