Releases: OpenPresentation/opf
Releases · OpenPresentation/opf
@openpresentation/opf 0.3.0
0.3.0
Added
- Added
docs/how-opf-works.md, a conceptual introduction to the format: the document model, the three content shapes, layouts-as-hints, narrative beats, catalog resolution, and the validation philosophy. - Added
docs/design-resolution.md, an explicit design precedence algorithm (slide design → deck design → resolved theme → engine defaults) with worked examples. - Added a
warningsarray toValidationResult. The validator now warns — never errors — on unknown bare catalog ids (narrative,design.theme,design.colorScheme,design.fontScheme, charttype) and on broken catalog cross-links in audience, purpose, and tone records (recommendedNarratives,recommendedTones). Documents that declare matching inlinecatalogs.<kind>.records[]or a customcatalogs.<kind>.sourceare exempt. Warnings never affectvalidorassertValid. - Added
spec/README.mdorienting readers to the spec directory layout, including what the optionalspec/openapi.yamlreference contract is for. - Bundled example decks and catalog cross-links are now checked for unknown catalog ids in the package test suite.
- Added
examples/technical/full-feature-tour.opf.json, a single fixture exercising every major schema surface: intent metadata, organizations and speakers, narrative beat overrides, design with slide-level overrides, assets, inline catalog records, all ten content payload kinds, blocks, regions, hidden slides, and extensions. - Expanded
docs/how-opf-works.mdwith an anatomy diagram, the region-grid diagram, a catalog-resolution flow diagram, and runnable examples for every content shape, plus a complete small deck. Added the precedence-stack and base-plus-overrides diagrams todocs/design-resolution.mdand the region-grid cheat sheet todocs/content-payloads.md. - Presentation-shaped JSON examples embedded in the shipped docs are now validated in the package test suite, so documentation examples cannot drift from the schema.
- Added span-composition diagrams (sidebar + main, headline band + body, and their combination) to the region docs in
docs/how-opf-works.mdanddocs/content-payloads.md. - Added a "Start in three steps" section to the README and a root
llms.txtindex so human and agent adopters both get a direct path from problem to first validated deck. - Shipped every
.opf.jsondeck underexamples/inside the npm package and exposed them via@openpresentation/opf/examples(examples,galleries,exampleCategories,getExample,getGallery,getExamplesByGallery,getExamplesByCategory). Each example deck is validated against the presentation schema at build time. - Shipped the top-level
docs/*.mdreference pages inside the npm package and exposed them via@openpresentation/opf/docs(docs,getDoc). Subdirectories likedocs/migrationsanddocs/plansare intentionally excluded. - Shipped the upstream
README.mdmarkdown at the pinned release version via@openpresentation/opf/repo-readmeso consumer sites can mirror it without a network fetch. - Repositioned the repo docs around the OpenPresentation OSS boundary: specs, catalogs, examples, local validation, and planned local render/edit/convert libraries, with hosted service layers left to downstream applications.
@openpresentation/opf v0.2.2
Canonical JavaScript/TypeScript package for Open Presentation Format.
Install:
npm install @openpresentation/opfPackage: https://www.npmjs.com/package/@openpresentation/opf
Includes OPF schemas, catalog presets, generated TypeScript types, raw spec files, and local validation helpers. Does not render PowerPoint, parse .pptx, call PPTX.dev, or use AI.