How swanith1234/dreamplanner works
DreamPlanner (IgniteMate) turns a person’s ambitions into executable dreams, roadmaps, and tasks, with an AI agent supporting planning and progress conversations. Users enter through the web or mobile client, call the API for product features, and can use chat to invoke the agent. The README documents tiered state and memory, validation before tool execution, and retention of outcomes. Paths for unsampled feature modules are limited to the exact directories in the tree; their internal call relationships are not inferred.
Main entry points: app.ts Express API · database.ts PostgreSQL state · orchestrator.ts AI orchestrator · contextCompiler.ts Context compiler
Components 20
User experience
- Web and mobile app
frontend/src/App.tsx - API client
frontend/src/api/client.ts
API and product domains
- Express API
src/app.ts - Authentication
src/modules/auth/auth.service.ts - Dream planning
src/modules/dream - Task execution
src/modules/task - Roadmaps
src/modules/roadmap - Assessments
src/modules/assessment - Chat controller
src/modules/chat/chat.controller.ts
Agent cognition
- AI orchestrator
src/ai/orchestrator.ts - Context compiler
src/ai/contextCompiler.ts - Tool execution
src/ai/toolExecutor.ts - LLM provider
src/ai/llmClient.ts
State and integrations
- PostgreSQL state
src/config/database.ts - Hindsight memory
src/ai/hindsightService.ts - Session cache
src/ai/redisDraftManager.ts
Insights and engagement
- Analytics and forecasts
src/modules/analytics - Notifications and realtime
src/modules/notification/websocket.server.ts - Feedback and admin
src/modules/feedback
Other components
- User
Connections 25
- User → Web and mobile app: uses
- Web and mobile app → API client: calls
- API client → Express API: REST requests
- Express API → Authentication: routes auth
src/app.ts - Express API → Dream planning: routes dreams
src/app.ts - Express API → Task execution: routes tasks
src/app.ts - Express API → Roadmaps: routes roadmaps
src/app.ts - Express API → Assessments: routes assessments
src/app.ts - Express API → Chat controller: routes chat
src/app.ts - Chat controller → AI orchestrator: invokes
src/modules/chat/chat.controller.ts - AI orchestrator → Context compiler: compiles context
- Context compiler → PostgreSQL state: reads ground truth
- Context compiler → Hindsight memory: recalls memories
- Context compiler → Session cache: uses session cache
- AI orchestrator → LLM provider: requests completion
src/ai/orchestrator.ts - AI orchestrator → Tool execution: dispatches actions
src/ai/orchestrator.ts - Tool execution → PostgreSQL state: mutates state
- AI orchestrator → Hindsight memory: retains outcomes
src/ai/orchestrator.ts - Express API → Analytics and forecasts: routes analytics
src/app.ts - Express API → Notifications and realtime: routes notifications
src/app.ts - Express API → Feedback and admin: routes feedback
src/app.ts - Dream planning → PostgreSQL state: persists state
- Task execution → PostgreSQL state: persists state
- Roadmaps → PostgreSQL state: persists state
- Assessments → PostgreSQL state: persists results