An intelligent AI-powered phone assistant designed to handle calls, take messages, and more using natural language processing.
Run the test suite (mocked by default; no real Twilio or Supabase required):
npm testWatch mode:
npm run test:watchWhat’s tested
- twilioNumbers (search/purchase with mocked Twilio), updateBusinessPhoneNumber (mocked Supabase), and phone-numbers API routes (GET available, POST buy) with mocked dependencies.
- Real Twilio search: If
TWILIO_ACCOUNT_SIDandTWILIO_AUTH_TOKENare set (e.g. in.env), the integration tests intests/twilioNumbers.integration.test.jsrun and call the real Twilio API for search only (no numbers are purchased). If either env var is missing, those tests are skipped. Buy is always mocked everywhere; no test ever purchases a real number.