src/
├── modules/
│ ├── changes/ # Change tracking
│ ├── comments/ # CriticMarkup
│ ├── git/ # Git persistence
│ ├── markdown/ # Markdown conversion
│ ├── translation/ # Translation features
│ ├── ui/ # UI components
│ └── user/ # Authentication
└── main.ts # Entry point
Change Tracking: Operations stored as immutable history for undo/redo
CriticMarkup: {++add++}, {--del--}, {~~old~>new~~}, {>>comment<<}
Deterministic IDs: Elements identified by structure for reliable mapping
npm run dev # Watch mode
npm run build # Production build
npm run test # Run tests
npm run type-check # TypeScript check
npm run docs # Generate API docs
review:
debug:
enabled: true
level: debug
modules: [UIModule, ChangesModule]
Console control:
window.debugLogger.enable('debug')
window.printDebugHelp()