Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
pptx_engine
What it is
Part of the Documents feature (presentations). A from-scratch PowerPoint
(.pptx) engine — parse, render, edit, and save — compiled both natively
and to WebAssembly for the browser presentation editor.
Start here
README.md: architecture, the editing model, testing, and known gaps — read beforesrc/lib.rs.src/edit/ops.rs: theEditOpvocabulary shared by the browser editor and theEditPresentationAI tool.src/model.rs+src/opc.rs+src/xml.rs: the part/model/XML layers edits and rendering both go through.src/wasm.rs: the wasm-bindgen API surface for the browser worker.
Scope
- Owns:
.pptxparsing, the editable presentation model, rendering, editing, collaboration mapping, and fidelity scoring. - Not here: the browser worker that hosts this engine →
apps/web/src/lib/core/pptx-engine; AI tool wiring →documents.
Boundaries
- Used by:
docx_engine(shared containers/fonts/rasterizer),documents(AI tools),services/convert_service.
Recipes
- Add an edit operation:
src/edit/ops.rs(variant + schema; new types derive bothschemars::JsonSchemaunderschemaandutoipa::ToSchemaunderopenapi, which the storage routes and SDK types use) →src/edit.rs/the relevantsrc/edit/<area>.rs(apply logic) →src/edit/test.rs→ corpus round-trip check. - Add a render feature:
src/model/(data) →src/render/(scene/paint) →src/render/test.rs+ the corpus baseline (tests/corpus/README.md).
Checks
cargo test -p pptx_engine(SQLX_OFFLINEunset) — includes the corpus regression test againsttests/corpus/baseline.json.cargo test -p pptx_engine --features clifor thepptx_corpusCLI.just build-pptx-engine-wasm(fromapps/web) for the wasm build.
Related
- Docs:
README.md,tests/corpus/README.md