How avelic5/ashe works
ASHE is an anonymous self-help web app: users settle in with onboarding exercises, explore an office-style hub and AI chat, choose a guided card or assessment flow, and receive a report with next steps; session booking is an optional verified path. The graph reflects the routes and component calls shown in excerpts or named by the source index, plus README-documented capabilities. Some features, including ambient music and feelings cards, are documented but their implementation wiring was not sampled.
Main entry points: App.tsx App routes · BookingFlow.tsx Session booking · AnalysisReport.tsx Analysis report · MainOffice.tsx Main office
Components 18
App navigation
- App routes
src/App.tsx
Support experience
- Onboarding exercise
src/components/LandingTrustExercise.tsx - Main office
src/components/MainOffice.tsx - Grounding game
src/components/AmonUS.tsx - Activity cards
src/components/ActivityCard.tsx - AI chat
src/utils/chatWithAI.ts
Guided activities
- Problem selection
src/components/ProblemSelection.tsx - Question flow
src/components/QuestionFlow.tsx - Question card
src/components/QuestionCard.tsx - Custom questions
src/utils/generateQuestions.ts - Wellbeing assessments
src/components/SelfEsteemTest.tsx - Feelings check-in
src/components/WellBeingTest.tsx
Results and follow-up
- Analysis report
src/components/AnalysisReport.tsx - Session booking
src/components/BookingFlow.tsx - Identity verification
src/components/IdentityVerification.tsx - Wellbeing dashboard
src/components/Dashboard.tsx
Other components
- User
- OpenRouter
Connections 25
- User → App routes: opens
- App routes → Onboarding exercise: routes to
src/App.tsx - App routes → Main office: routes to
src/App.tsx - App routes → Problem selection: routes to
src/App.tsx - App routes → Question flow: routes to
src/App.tsx - App routes → Wellbeing assessments: routes to
src/App.tsx - App routes → Feelings check-in: routes to
src/App.tsx - App routes → Analysis report: routes to
src/App.tsx - App routes → Session booking: routes to
src/App.tsx - App routes → Wellbeing dashboard: routes to
src/App.tsx - Main office → Activity cards: renders
src/components/MainOffice.tsx - Main office → Grounding game: renders
src/components/MainOffice.tsx - Main office → AI chat: calls
src/components/MainOffice.tsx - AI chat → OpenRouter: requests completion
src/utils/chatWithAI.ts - Problem selection → Custom questions: generates custom prompts
src/components/ProblemSelection.tsx - Question flow → Question card: renders
src/components/QuestionFlow.tsx - Question flow → Custom questions: loads custom prompts
src/components/QuestionFlow.tsx - Custom questions → AI chat: requests prompts
src/utils/generateQuestions.ts - Question flow → Analysis report: continues to
- Wellbeing assessments → Analysis report: continues to
src/App.tsx - Feelings check-in → Analysis report: continues to
- Session booking → Identity verification: opens verification
src/components/BookingFlow.tsx - Identity verification → Session booking: confirms identity
src/components/BookingFlow.tsx - Session booking → Wellbeing dashboard: completes booking
src/App.tsx - Analysis report → Session booking: offers booking
src/components/AnalysisReport.tsx