What Cr_oss is and how it's shaped
A first pass for someone new to the repo: the product, then the code-verified topology and source layout.
What this is
Cr_oss is a privacy-first Outlook compose add-in that brings Word-style
track changes to email drafts. It is a single static React SPA loaded into the
Outlook task pane — no backend, no login, no analytics. All processing
(diffing, HTML rendering, formatting preservation) happens locally in the
pane; the only writes go back into the user's own draft via Office.js
body.setAsync (src/outlook/body.ts:33).
Measured at commit 6c45152:
| Metric | Value | How measured |
|---|---|---|
| Redline engine | 16 modules, 2,664 LOC | wc -l src/redline/*.ts |
| Office.js wrapper layer | 7 modules, 1,202 LOC | wc -l src/outlook/*.ts |
| React UI (components/hooks/utils) | 1,303 LOC | wc -l src/components/* src/hooks/* src/utils/* src/App.tsx src/main.tsx |
| Test suite | 20 files, 106 tests, all passing | npx vitest run (4.4 s) |
| Runtime dependencies | 3 — react, react-dom, diff |
package.json |