Stability
Récit 1.0 does not add a feature: it turns what exists into a contract. A project written for Récit 1.x keeps compiling, validating and building with every 1.y, and a break is called 2.0. This page lists that contract, what stays outside it, and the rules that keep it.
The contract holds from 1.0.0-rc.0 on: a release candidate may still fix the contract itself, and
1.0.0 freezes it.
The scope of 1.0
Récit 1.0 covers the deck and motion formats and what they stand on, and the formats that
reached their template before it: calendar, roadmap, book, report, glossary,
directory, webtoon, webstory and the :::form and :::scroll blocks, with
@recit/time, the time model calendar, roadmap and webstory share, @recit/, the
content-driven terminal in the browser and in a shell, and @recit/, the scroll progression
engine and film stage. The other formats (docs, atlas, geo, scenario…) keep moving in previews and
join the contract later, each in a minor release: a new format or a new kind is a compatible
addition to the v1 schema. The docs format is a preview because it needs the site framework
(@recit/site), which is not published; the formats overview says the same.
The MP4 rendering of motion (@recit/, drawn in Chromium through Playwright and
encoded by the system ffmpeg) is in the contract with the format and its player, since its Remotion
engine was removed.
| Package | In the 1.0 contract |
|---|---|
@recit/core, @recit/theme, @recit/ | yes |
@recit/deck | yes |
@recit/, @recit/ | yes |
@recit/ (MP4, Chromium and ffmpeg) | yes |
@recit/cli, recit, create-recit | yes |
@recit/, @recit/, @recit/time | yes |
@recit/book, @recit/ | yes |
@recit/ (glossary and directory), @recit/form | yes |
@recit/, @recit/ | yes |
@recit/, @recit/ | yes |
@recit/mcp (the MCP server, C6) | not yet (preview) |
the other format packages, @recit/, the foundations | not yet (preview) |
The contracts
A contract is what an author writes or imports. Everything that is not in this list may change in a minor release.
| No. | Contract | Where it is defined | Measured by |
|---|---|---|---|
| C1 | The Markdown syntax | the parser of @recit/core: scenes, front matter, brace attributes | the example corpus |
| C2 | The JSON schema v1 | https://, also shipped as @recit/ | the schemas and the corpus |
| C3 | recit. | RecitConfigSchema of @recit/core, published as schema/ | config.json |
| C4 | The CLI | the recit command of the recit package | the public API snapshot |
| C5 | The JS exports | the exports map of each published package.json | the public API snapshot |
| C6 | The MCP tools and resources | the tools and resources of @recit/mcp | the public API snapshot |
| C7 | The CSS tokens and classes | the tokens of @recit/theme, the slide-* classes of its deck stylesheet | the public API snapshot |
C1 — The Markdown syntax
For a deck:
- the scene separator
---and its attributes on the same line (--- layout=), or as an HTML comment (grid cols= 2 <!--);layout: grid -- > - the scene settings:
id,layout,cols,image,steps,transition(SceneConfig,scenes[]ofdeck.json), and the table of contents'section=,sidebar=andfalse sidebar_(label= sectionandsidebarin the twin); - speaker notes,
:::notes … :::or<!--, and the progressive revealnote … -- > :::step … :::; - the front matter keys:
title,description,author,date,lang, and the flat settingsaspectRatio,colorMode,theme,footer,rules,transition,controls,pdf,toc(metaandsettingsofdeck.json;controlsisDeckControlsSchemaof@recit/core, andtocisDeckTocSchema:falseor{ depth, numbered }); - the links of a deck:
#<id>and#slide-Nto one of its slides, and./other.to a scene of another story, amd# id broken-linkerror when it leads nowhere.
For a film: the scene settings id, type, dur, hold, accent (also on a web story card),
props, voiceover, and the settings aspectRatio, theme, wordsPerSecond, motion
(motion.json).
The directives of the registry DirectiveNameSchema of @recit/core that deck and motion render:
textcard, sprite, term, glossary, directory; and those rendered in HTML scenes rather than
motion: source (the « Source: … » line under a figure, a table or a diagram, in the story's
language), details, summary, howto and limits (the four reading boxes, unfolded in print)
and toc (depth, numbered, the deck's table of contents). The formats of 1.0 bring their own:
figure, ref, index, epigraph (book and report) and form. For a scroll-driven page
(rendered with @recit/), the :::scroll container directive (id, film, height), its
::::step steps (at, id, Markdown body) and its JSON twin block (type:,
ScrollBlockSchema of @recit/) are in the contract too. The others (value, chart,
table, kpi, map, character, qr) belong to features outside 1.0 (@recit/data,
@recit/geo, @recit/, media QR codes).
C2 — The JSON schema v1
story.json, one file per format (deck.json, motion.json…), sidecar.json and config.json,
each with its $id under https://. The twin (kind:) is the same
story in JSON; the sidecar (kind:) completes scenes by id and never redefines the
scene list. From 1.0.0-rc.0 the files are frozen: only compatible additions pass (an optional
property, an enumeration value, a new format or kind).
Every file says whether it is part of this contract, in the x- keyword at its root:
stable for story.json, sidecar.json, config.json, deck.json, motion.json,
calendar.json, roadmap.json, book.json, report.json, glossary.json, directory.json,
webtoon.json, webstory.json, series.json and form-, preview for every other file
(the formats outside 1.0, exports.json, map-, bible.json, asset.json,
chart.json, ai-, ai-job.json). Inside a stable file, the preview parts carry the
same keyword: the branches of story.json for the formats outside 1.0, and the sections of
config.json that belong to them. Only the stable parts are frozen. Every file keeps its URL under
/schema/v1/, so a twin's $schema does not move when its format joins the contract.
The display mode and the theme are two keys: colorMode (light, dark or system) and theme
(a named theme or its settings). A twin refuses a mode as its theme; the former
theme. of recit.config and pdf.theme were removed before 1.0.0-rc.0: they are
refused with their new name, and recit migrate rewrites them in a story.
C3 — recit.config.ts
Every key of RecitConfigSchema of @recit/core, its default and the code of its diagnostics.
The top-level sections of 1.0: metadata, site, theme, colorMode, footer, components,
syntaxHighlighting, mermaid, security, rules, deck, motion, publish, i18n, report,
book, roadmap, calendar, glossary, directory, terms, webtoon, webstory, terminal.
The sections of the formats outside 1.0 (atlas, scenario…) are in the schema and stay previews:
config.json marks each of them preview, as it marks typography, docs, app and plugins.
The old toon: section is still read as webtoon:, with a warning, until 1.0; it is not a key of
config.json.
Under deck, the keys that drive a deck are in the contract with their defaults: deck.
(navigation:, clickToAdvance:, swipe: true, overview:, series: true),
deck. (true) and deck.toc (false or { depth, numbered }). The same controls:
and toc: are front matter keys of a deck (C1) and settings. and settings.toc of its
twin (C2).
The plugins key is reserved in v1: one array for the Récit plugins (objects that carry the
marker below) and the site plugins that the integrations add. The key, and how it is split, are in
the contract: a Récit plugin is told by its marker, Symbol., goes with the
Récit sections, and never reaches the site framework; any other entry is a site plugin, and makes
the config a site config. A deck with only Récit plugins stays a deck. config.json describes
plugins as an opaque array (items: {}), marked preview, since a plugin is a JavaScript object
and not JSON. What a plugin can do is the experimental plugin API, outside the
contract, except for data sources: recit validate accepts a project with plugins
and says so once, as a plugin- warning when a plugin declares capabilities outside the
data source contract.
C4 — The CLI
The commands of 1.0, with their arguments, their options, their exit codes and the files they write.
The full list is the cli section of the public API snapshot; the
CLI page, generated from the help, documents them. Every other
command works, but its help ends with [preview, outside the 1.: it may change in a
minor.
| Command | In the 1.0 contract |
|---|---|
recit init | yes |
recit dev | yes |
recit build | yes |
recit export | yes |
recit convert | yes |
recit validate | yes |
recit migrate | yes |
recit dur | yes |
recit render | yes |
recit schema | yes |
recit i18n | yes |
recit form | yes |
recit terminal | yes |
recit geocode | preview |
recit catalog | preview |
recit mail | preview |
recit extract | preview |
recit mcp | preview |
recit prompts | preview |
recit assets | preview |
recit skills | preview |
recit pixel | preview |
recit character | preview |
recit plugins | preview (experimental) |
recit ai | preview (experimental) |
recit login | preview |
recit logout | preview |
recit whoami | preview |
recit collections | preview |
recit app | preview, hidden |
Inside a command of the contract, an option marked as a preview in its help stays outside it
(recit build --), and so does what serves a format outside 1.0: a --to target of a
preview format, a recit schema of a preview file, a story of a preview format given to
recit validate or recit convert. These follow their format.
C5 — The JS exports
For each package of the contract, every entry of its exports map, each name it exports, and
whether that name is a value, a type or both. The exports section of the snapshot holds them all,
read by the TypeScript compiler from each entry's source. The entries listed under
Experimental are the exception.
The table of contents of a deck is among them: deckOutline and its helpers, resolveDeckToc,
resolveLink of compileStory and SceneLinkResolver, and the series prop of Presentation
(DeckSeries). The props controls and presenter of <StoryEmbed> and the …/
route of a site belong to @recit/, a preview, and follow it.
C6 — The MCP server
The tool names of @recit/mcp, their input properties and which are required, the resources
recit:// and recit://. The mcp section of the snapshot holds them, as the built
server answers tools/list and resources/. The command that starts the server,
recit mcp serve, is a preview of the CLI (C4). @recit/mcp itself is a preview, outside the 1.0
contract (decision of 12/11/2026): the snapshot measures its tools and resources, and a change there
is a minor after 1.0. The lists below say what is meant to join the contract with the server.
- In the contract, the tools of stories, decks and films:
validate_,story describe_,format list_themes,list_,templates list_icons,theme_import,validate_,film list_blocks,describe_,block describe_,ui_ nodes propose_,scenes build_film,apply_ops,render; the resourcesrecit://,guide/ deck recit://andguide/ motion recit://.schema/ motion- film - In the contract with their format:
lookup_term(glossary),search_(directory),directory book_outline(book),expand_(calendar), and the resourcesevents recit://andguide/ webtoon recit://(the oldguide/ webstory recit://is still read until 1.0).guide/ toon - Following their format or feature, previews:
describe_(the data of a report), the scenario toolsdata describe_,bible_ schema validate_,bible build_bible,build_prompt,list_prompts,register_asset story_andfrom_ beats check_(the writing workshop), the character toolscontinuity render_,character expand_andanimation build_(frame_ prompts @recit/, preview),character extract(asrecit extract), and the otherrecit://resources.guide/ …
C7 — The CSS tokens
The custom properties of @recit/theme (tokens.css, reset.css, traits.css) and the slide-*
classes of deck.css that authors use in theme., together with the built-in named themes
of @recit/theme (warm-, saas-product, report, traits in RECIT_THEMES and
MOTION_, and the film-only marques in MOTION_) and the visible-grid stylesheet
@recit/. The css and exports sections of the snapshot hold them.
The interface labels
The labels of the interface (the site, the deck controls, the presenter console, the remote, the PDF of the docs, the format components) follow one fallback rule, which is part of the contract:
- Récit ships two packs,
enandfr. A story or a site whose language hasfras its primary subtag (fr,fr-CA,FR) gets the French labels; every other language, or none, gets the English ones, whole, never a mix and never an error (resolveUiLocaleandpickStringsof@recit/).core/ i18n - An author adds a language with an
i18n.uipack (i18n.). The pack of the full tag (ui: { ja: "./ i18n/ ja. json" } pt-BR) wins over the one of its language (pt). An entry the pack leaves out falls back to the shipped pack of that language: English, or French for afrtag. Templates ({count}) and plural forms (one,other…) are filled the same way as in the shipped packs.
The words of a label may change in a minor release; the rule may not.
Data sources
The data source contract of plugins
(Writing a data source) is stable in v1:
- in
@recit/andcore/ plugin recit/plugin:definePlugin(the fieldsname,api(1),version,optionsandsources, withRecitPluginDefinition,PluginOptionsInput,RecitPluginFactoryandRecitPlugin),defineClientPlugin(name, for a site'sbrowserentry — served alone by thebrowsercondition, without zod — withClientPluginDefinitionandClientPluginFactory), the secret helpersSecretRefSchema,SecretRefandreadSecret, and the types its signatures reference (LazyModule,RecitClientPlugin,StandardSchema,ZodSchema); - the source schema and types:
PluginSource(schema?,ttl?,read(context)),PluginSourceContext(name,entry,options,env,baseDir,signal?),PluginSourceResult(rows,columns?,meta?),DataSourceMetaandDataSourceMetaSchema(DCAT field names:title,url,publisher,license,modified),DataCellandDataColumnType; - the
data:entry{ source:("<source>", … } DataPluginSourceSchema, markedx-in therecit- stability: "stable" v1schemas); - the execution rules, CLI flag and diagnostics: 30 s (
context.aborted when the timeout expires) and 100,000 rows persignal readcall,.recit/,cache/ ttl(default3600s,0= every build; a futurereadAtis never fresh),recit build --, and the codesrefresh plugin-,failed plugin-stale,plugin-,missing plugin-andoptions- invalid plugin-.no- browser- entry
The rest of the plugin API (directives, components, blocks, themes, exporters, commands, AI jobs,
and internal loaders such as findPluginSource) remains experimental.
Outside the contract
These may change in any minor release:
- the class names of the CSS modules (they are generated);
- the rendered HTML structure;
- the
film.jsonfiles: a build artefact, never the twin; - the text of diagnostic messages (their code is in C3);
- the plugin API of the site framework (
@recit/siteis private); - how the deck controls feel: the 2 s before the buttons hide, the click zones of a slide;
- the drawing of the deck's "Contents" drawer and of the card of the next deck, and the tree of the PDF bookmarks;
- every package, command or key marked as a preview, and the formats outside 1.0;
- the experimental entries below.
Experimental
The plugin API is outside the promise of 1.0, except for the
data source contract: its other names may change in a minor release, with a note in
the changelog. Only the plugins key of the config and its marker (C3) and the
data source contract are in the contract. Every entry below is marked
@experimental in its documentation, and stays outside the contract until a minor makes it stable:
| Entry | What it holds |
|---|---|
@recit/ | the capabilities outside the data source contract (directives, components, blocks, themes, exporters, commands, AI jobs, hooks), the reserved names, the internal resolvers, and the other types of a plugin |
recit/plugin | the same, for a project that installs recit alone |
recit/ | expectRoundTrip, the round trip of a plugin's directives through the JSON twin; fakeAiProvider and runPluginJob, to test AI jobs without a network |
@recit/ | loading a project's plugins (what recit build, recit validate and recit plugins do), and expectRoundTrip |
@recit/ | the film blocks of plugins on the schema side: filmSchemaFor, buildSceneOps, registryWithBlocks; FilmSchema itself stays strict |
@recit/ | the film blocks of plugins on the render side: defineBlock for any scene type, withBlocks, BlocksProvider, Frame (the root of a view) |
@recit/ai, @recit/, @recit/, @recit/, @recit/, @recit/ | the AI providers a plugin calls (directProvider for Anthropic, OpenAI and Google Gemini, geminiImage, openaiImage, geminiSpeech, elevenlabsSpeech, geminiVideo, comfyImage, serverProvider), and createAiServer; an optional package |
The AI half of @recit/ is experimental too: StoryOp and applyStoryOps, the job and
provider types (AiJob, AiProvider), checkAiJobResult. So are the command recit plugins, the
command recit ai, the option recit build --, marked as a preview, the --to
targets of recit export and the commands (recit <plugin> <command>) that plugins bring, a
plugin's themes in theme.name, the codes plugin-, plugin-,
plugin- and plugin-, and the codes a plugin reports, prefixed
with its name (lorem/).
Of the three additions to v1 that serve plugins, a data: entry { source: read by
a plugin's source (DataPluginSourceSchema; only source is checked there, the plugin checks the
other keys) is no longer preview but stable (Data sources); the other two stay
marked preview in the published schemas: the kind: files of exports.json
(PluginExportFileSchema), and the key publish. of recit.config, the budget of each
plugin in a site. A file valid before stays valid.
The public API test keeps them apart already: its list of experimental subpaths names the entries of
a contract package that stay outside it, where a removal never asks for a major, while
STABLE_ carves the symbols of the data source contract out of
@recit/ and recit/plugin so removing or renaming one of them asks for a major.
@recit/ai is not a contract package. An entry leaves that list in the minor that makes the whole
subpath stable.
Deprecations
A name is deprecated in a minor release, with a deprecated diagnostic that names its replacement,
and removed at the next major, never before. No alias goes past 1.0: those that remain in 0.x are
removed in 1.0.0-rc.0. Three remain today, each with a warning: theme: dark in front matter (for
colorMode:), the key deck.files of the config, and --out of prompts build,
skills export and form schema (for -o, --output). The guide
Migrate from a prerelease to 1.0 lists them, with what
recit migrate rewrites and what to change by hand.
Versions
0.x: one0.prerelease line per phase; every version plan isN. 0- alpha.M preminororprerelease.- The road to 1.0:
premajorwith the preidrcgives1.0.0-rc.0,prereleasethe next rc, andmajorwith no preid gives1.0.0, under the dist-taglatest. - After 1.0:
patch,minorandmajorare allowed again. A plan that removes or renames an element of C1 to C7 is amajor; an addition is aminor. The public API test lists the removals and additions and says which bump they need. The prereleases of the next line go undernext.
A check of the repository enforces these rules on every change.
Support
One maintained line: only the latest major receives fixes, security fixes included, and there is no
maintenance branch. Node: the engines range (>=22.22.0) is tested in CI on its lowest version
and on the latest even release. To report a vulnerability, see .github/.