How ahmadfauzi34/lumina-ai works
This is an Angular AI coding-assistant app: users chat with an agent, can follow its progress, and can request coding tasks such as reviews or test generation. TaskPipeline manages task execution and user actions; tools and code-execution workers provide supporting capabilities. The tree indicates additional Python, file, and persistence features. Most application wiring was not sampled, so the graph shows only the task, event, compiler, and server relationships supported by the excerpts; other links are intentionally omitted.
Main entry points: task-pipeline.ts Task pipeline · app.ts Angular app · chat-input.component.ts Chat input · code-review.handler.ts Code review
Components 26
Chat interface
- Angular app
src/app/app.ts - Chat input
src/app/components/chat-input.component.ts - Chat messages
src/app/components/chat-message.component.ts - Agent feed
src/app/components/agent-social-feed.component.ts
Agent workflow
- Agent orchestrator
src/app/agent-orchestrator.ts - Stream orchestrator
src/app/agent-stream-orchestrator.ts - Agent thinking
src/app/agent-think-stream.ts - Agent event bus
src/app/agent/agent-event-bus.ts - Agent executor
src/app/agent/agent-executor.ts
Coding tasks
- Task pipeline
src/app/task-pipeline.ts - Code review
src/app/task-handlers/code-review.handler.ts - Unit test task
src/app/task-handlers/unit-test.handler.ts - Migration task
src/app/task-handlers/migration.handler.ts
Tools and execution
- Tool registry
src/app/tools/implementations/tool-registry.ts - Tool pipeline
src/app/tools/implementations/tool-pipeline.ts - Code tools
src/app/tools/implementations/code-tools.ts - File tools
src/app/tools/implementations/file-tools.ts - Python runtime
src/app/core/services/pyodide.service.ts - Python worker
src/app/core/services/pyodide.worker.ts - Code execution worker
src/app/tools/implementations/execute-code.worker.ts
App services
- Gemini service
src/app/core/services/gemini.service.ts - Local database
src/app/core/services/db.service.ts - Node server
src/server.ts
Other components
- User
- Compiler service
- Agent bridge client
Connections 13
- User → Chat input: sends prompt
- Chat input → Angular app: submits
- Angular app → Chat messages: presents chat
- Angular app → Agent feed: presents activity
- Code review → Agent event bus: publishes events
- Unit test task → Agent event bus: publishes events
- Task pipeline → Code review: runs handler
- Task pipeline → Unit test task: runs handler
- Task pipeline → Migration task: runs handler
- Tool pipeline → Code execution worker: executes tool
- Code execution worker → Compiler service: compiles code
- Python runtime → Python worker: uses worker
- Agent bridge client → Node server: posts action