How senadsalkanovic/umlith works
UMLith is a local visual workspace for designing architecture, ER models, interfaces, and optional workflows, then comparing intended design with analyzed source. The main user flow is to edit a project, analyze or synchronize its saved source, review proposed changes, and—if using an agent—review a candidate before guarded application. The graph highlights those domain stages and the server’s analysis, persistence, and recovery layers. Several UI and server subsystems are documented but unsampled; those links are included only where the README or source index supports them.
Main entry points: App.tsx Workspace UI · main.ts HTTP Service · jobs.ts Agent Jobs · api.ts Client API
Components 24
Design Workspace
- Workspace UI
src/App.tsx - Architecture Editor
src/components/ArchitectureEditor.tsx - ER Editor
src/components/ErEditor.tsx - Workflow Editors
src/components/WorkflowEditor.tsx - Domain Model
shared/model.ts
Source Analysis
- Analysis Client
src/analysis-client.ts - Source Synchronization
server/sync.ts - Analysis Worker
server/worker.ts - Source Analyzer
server/analyzer.ts
Review and Sync
- Import Review
src/components/ImportReview.tsx - Review Panel
src/components/ReviewPanel.tsx - Quality Report
src/components/QualityReport.tsx - Proposal Service
server/proposals.ts - Candidate Review
server/review.ts
Agent Workflow
- Agent Workspace
src/components/AgentWorkspace.tsx - Agent Jobs
server/jobs.ts - Isolation Sandbox
server/sandbox.ts - Guarded Apply
server/application.ts - Codex Agent
server/agents/codex.ts
Local Service
- Client API
src/api.ts - HTTP Service
server/main.ts - Project Store
server/store.ts - Project Files
server/files.ts
Other components
- Human
Connections 32
- Human → Workspace UI: edits project
README.md - Workspace UI → Architecture Editor: opens editor
src/App.tsx - Workspace UI → ER Editor: opens editor
README.md - Workspace UI → Workflow Editors: opens editor
README.md - Architecture Editor → Domain Model: edits graph
src/components/ArchitectureEditor.tsx - ER Editor → Domain Model: edits graph
src/components/ErEditor.tsx - Workflow Editors → Domain Model: edits graph
src/components/WorkflowEditor.tsx - Workspace UI → Client API: requests data
src/App.tsx - Client API → HTTP Service: sends requests
src/api.ts - HTTP Service → Project Store: reads and writes
server/main.ts - HTTP Service → Project Files: accesses files
server/main.ts - Workspace UI → Analysis Client: starts analysis
src/App.tsx - Analysis Client → Client API: requests analysis
src/analysis-client.ts - HTTP Service → Source Synchronization: dispatches sync
server/main.ts - Source Synchronization → Analysis Worker: requests analysis
server/sync.ts - Analysis Worker → Source Analyzer: runs analysis
server/worker.ts - Source Analyzer → Project Files: reads source
server/analyzer.ts - Workspace UI → Import Review: reviews imports
README.md - Workspace UI → Review Panel: reviews changes
src/App.tsx - Review Panel → Quality Report: renders report
src/components/ReviewPanel.tsx - HTTP Service → Proposal Service: routes proposals
server/main.ts - HTTP Service → Candidate Review: routes review
server/main.ts - Human → Agent Workspace: requests handoff
README.md - Agent Workspace → Client API: requests jobs
README.md - HTTP Service → Agent Jobs: routes job actions
server/main.ts - Agent Jobs → Isolation Sandbox: isolates task
server/jobs.ts - Agent Jobs → Codex Agent: launches agent
server/jobs.ts - Agent Jobs → Candidate Review: validates candidate
server/jobs.ts - Human → Review Panel: approves changes
README.md - HTTP Service → Guarded Apply: routes application
server/main.ts - Guarded Apply → Project Files: applies changes
server/application.ts - Guarded Apply → Project Store: checks project
server/application.ts