- Tweak panel: embeds declare 2 to 6 settings in a data-embed-config JSON
block (contract + agent prompt updated, runtime 1.2.0 exposes them as
ctx.config and applies embedConfig messages live). Sliders, colors,
selects, toggles and text update the preview instantly with no model
call and are saved back as "manual tweak" versions.
- Inspect: a point-and-click inspector in the studio preview; the picked
element becomes an @this pointer for the next message, and a label held
by a text setting can be edited without the AI.
- Automatic check after each iteration: POST /api/embed-check renders the
chart in headless Chromium (light/dark, 360/680 px, CDN-only network,
one at a time) with the embed checker, now in src/embed-check, and the
studio shows "N checks passed, 1 warning [Fix]".
- Launcher for new figures (description, CSV drop, 4 gallery starters from
GET /api/embed-starters, existing charts) from the top bar and the slash
menu, instead of opening a random chart.…
feat(embeds): shared Embed.mount runtime, checker, gallery and evals
- Own the embed runtime and authoring guides in embed-kit/ and generate the
runtime and agent skill into backend/src from them.
- Embed Studio prompts and tools target the Embed.mount contract; seed
embeds are migrated to it.
- Add a headless checker (check:embeds), an eval harness with comparison
report, and a gallery of showcase embeds and banners.
Co-authored-by: Cursor <cursoragent@cursor.com>