OpenFini

Docs / Develop

Repository Map

This page maps the repository: which folder holds what, and which document describes it. Use it to find the right place before you change something. Paths are relative to the repository root.

Top level#

PathContents
app/The application, served as is in development
src-tauri/Rust desktop shell (Tauri 2), capabilities, installer assets, Linux and Windows packaging
sdk/Extension SDK: typings, JSON schema, scaffolding and pack scripts, examples
extensions/Bundled extensions (sources, packed .ofext packages, catalog.json)
scripts/Dev server, build, size check, relay, MCP gateway, publish helper, icons, i18n, version, pack scripts, wiki scripts
tests/node:test suites by area
docs/Deep technical documentation and decision records
wiki/Source of this wiki (Wiki Style Guide)
.github/Workflows (CI, CodeQL, Pages, release, wiki), issue and PR templates, release notes config

app/src#

PathContentsDoc
core/App state, document model, history, ops, io, .ofini, importers, security, logging, network policyarchitecture.md
engine/vector, pixel, layout, backendsPure engines and render backendsengine-contracts.md
engine/formats, engine/office, engine/web, engine/git, engine/publishFormat readers and writers, Office codecs, website engine, Git, deploy targetsfile-compat.md, office-studio.md, web-engine.md
studios/Registry and tools per studiostudios.md
commands/One module per command areadevelopment.md
ui/Shell, menus, panels, dialogs, per-studio UI (code/, office/, vibe/, collab/, customize/, context-menu/)design-system.md
ai/Pure AI runtime: providers, agent loop, MCP, RAG, skillsai-engine.md
vibe/Hub, session, store, tools (vibe/tools/*.js)vibe-studio.md
collab/Pure collaboration: crypto, protocol, room, chat, comments, versions, transportscollaboration.md
extensions/Extension host, manifest validation, RPC, catalogextensions.md
customize/Shortcut keymap, schema, profiles, workspacescustomization.md
i18n/Runtime, pure formatters, localesi18n.md
platform/Web and Tauri bridges, file types, pop-out, window controlsos-integration.md

Other app folders: app/styles/ (CSS, one file per area), app/vendor/ (vendored Shoelace, fflate, polygon-clipping, CodeMirror bundle, KaTeX, pdf.js), app/assets/, app/icons/, app/sw.js and app/manifest.webmanifest.

tests/#

Suites: core, vector, pixel, layout, web, git, publish, formats, office, ai, vibe, collab, extensions, extensions-bundled, customize, i18n, ui, packaging and docs (this wiki). See Testing.

Important single files#

FileWhy it matters
app/src/platform/file-types.jsSingle source of truth for file types; a test keeps installers and the manifest in sync
app/src/studios/registry.jsThe list of studios
app/src/vibe/tools/index.jsTool registration and TOOL_GROUPS
scripts/size-budget.jsonSize budgets enforced in CI
scripts/version.mjsThe only way to change the version
src-tauri/tauri.conf.jsonDesktop configuration, CSP, bundle settings

Shared hot spots#

core/app.js, ui/shell.js, ui/menus.js, ui/settings-dialog.js, commands/index.js, vibe/tools/index.js, CHANGELOG.md and app/index.html are touched by many changes: keep edits small and additive and put new code in new files (Git Workflow and Releases).

See also#

Edit on GitHub → wiki/Repository-Map.md