@erosolaraijs/cure 3.0.18 → 3.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bin/cure.js CHANGED
@@ -495,6 +495,385 @@ function displayPatientAdvocacy(cancerType) {
495
495
  });
496
496
  console.log(`${colors.yellow}📞 Action: Call any of these numbers - they have trained staff waiting to help${colors.reset}\n`);
497
497
  }
498
+ const GENOMIC_TESTING_LABS = [
499
+ {
500
+ name: 'Foundation Medicine',
501
+ testName: 'FoundationOne CDx',
502
+ phone: '888-988-3639',
503
+ website: 'https://www.foundationmedicine.com',
504
+ turnaround: '10-14 days',
505
+ coverage: 'Medicare covered, most commercial insurers',
506
+ features: ['324 genes', 'TMB', 'MSI', 'FDA-approved companion diagnostic', 'Clinical trial matching']
507
+ },
508
+ {
509
+ name: 'Guardant Health',
510
+ testName: 'Guardant360 CDx',
511
+ phone: '855-698-8887',
512
+ website: 'https://guardanthealth.com',
513
+ turnaround: '7 days',
514
+ coverage: 'Medicare covered, most commercial insurers',
515
+ features: ['Liquid biopsy (blood draw)', '74 genes', 'No tissue needed', 'FDA-approved']
516
+ },
517
+ {
518
+ name: 'Tempus',
519
+ testName: 'Tempus xT',
520
+ phone: '312-292-1753',
521
+ website: 'https://www.tempus.com',
522
+ turnaround: '14 days',
523
+ coverage: 'Most commercial insurers',
524
+ features: ['648 genes', 'RNA sequencing', 'AI-powered insights', 'Clinical trial matching']
525
+ },
526
+ {
527
+ name: 'Caris Life Sciences',
528
+ testName: 'Caris Molecular Intelligence',
529
+ phone: '888-979-8669',
530
+ website: 'https://www.carislifesciences.com',
531
+ turnaround: '10-14 days',
532
+ coverage: 'Medicare covered, most commercial insurers',
533
+ features: ['22,000+ genes', 'Protein biomarkers', 'Drug benefit predictions']
534
+ },
535
+ {
536
+ name: 'NeoGenomics',
537
+ testName: 'NeoTYPE Cancer Profiles',
538
+ phone: '866-776-5907',
539
+ website: 'https://neogenomics.com',
540
+ turnaround: '5-7 days',
541
+ coverage: 'Most commercial insurers',
542
+ features: ['Specialized heme/onc panels', 'FISH testing', 'Flow cytometry']
543
+ }
544
+ ];
545
+ function displayGenomicTestingLabs() {
546
+ console.log(`\n${colors.bold}${colors.magenta}═══════════════════════════════════════════════════════════════${colors.reset}`);
547
+ console.log(`${colors.bold}${colors.magenta} 🧬 GENOMIC TESTING LABS - Find YOUR Specific Mutations${colors.reset}`);
548
+ console.log(`${colors.bold}${colors.magenta}═══════════════════════════════════════════════════════════════${colors.reset}\n`);
549
+ console.log(`${colors.yellow}WHY THIS MATTERS: Genomic testing finds mutations in YOUR tumor that${colors.reset}`);
550
+ console.log(`${colors.yellow}can be targeted by specific drugs. This is precision medicine.${colors.reset}\n`);
551
+ GENOMIC_TESTING_LABS.forEach((lab, i) => {
552
+ console.log(`${colors.bold}${i + 1}. ${lab.name} - ${lab.testName}${colors.reset}`);
553
+ console.log(` ${colors.green}📞 Phone: ${lab.phone}${colors.reset}`);
554
+ console.log(` ${colors.cyan}🌐 Website: ${lab.website}${colors.reset}`);
555
+ console.log(` ${colors.dim}⏱️ Turnaround: ${lab.turnaround}${colors.reset}`);
556
+ console.log(` ${colors.dim}💳 Coverage: ${lab.coverage}${colors.reset}`);
557
+ console.log(` ${colors.dim}Features: ${lab.features.join(', ')}${colors.reset}`);
558
+ console.log('');
559
+ });
560
+ console.log(`${colors.yellow}📋 Action: Ask your oncologist to order comprehensive genomic profiling${colors.reset}`);
561
+ console.log(`${colors.yellow} Say: "Can you order FoundationOne CDx or Guardant360 for my tumor?"${colors.reset}\n`);
562
+ }
563
+ const TRANSPORTATION_PROGRAMS = [
564
+ {
565
+ name: 'American Cancer Society Road To Recovery',
566
+ phone: '800-227-2345',
567
+ website: 'https://www.cancer.org/treatment/support-programs-and-services/road-to-recovery.html',
568
+ coverage: 'Nationwide',
569
+ eligibility: 'Any cancer patient needing rides to treatment',
570
+ services: ['Volunteer drivers', 'Free rides to treatment', 'Flexible scheduling']
571
+ },
572
+ {
573
+ name: 'Angel Flight America',
574
+ phone: '918-749-8992',
575
+ website: 'https://www.angelflightamerica.org',
576
+ coverage: 'Nationwide',
577
+ eligibility: 'Patients traveling long distance for treatment',
578
+ services: ['Free flights', 'Volunteer pilots', 'Long-distance treatment access']
579
+ },
580
+ {
581
+ name: 'Corporate Angel Network',
582
+ phone: '866-328-1313',
583
+ website: 'https://www.corpangelnetwork.org',
584
+ coverage: 'Nationwide',
585
+ eligibility: 'Cancer patients traveling to treatment',
586
+ services: ['Empty seats on corporate jets', 'Free long-distance travel']
587
+ },
588
+ {
589
+ name: 'Mercy Medical Airlift',
590
+ phone: '800-296-1217',
591
+ website: 'https://mercymedical.org',
592
+ coverage: 'Nationwide',
593
+ eligibility: 'Patients needing air transport for treatment',
594
+ services: ['Charitable medical transport', 'Commercial airline tickets', 'Ground transport coordination']
595
+ },
596
+ {
597
+ name: 'Joe\'s House (Lodging Near Treatment)',
598
+ phone: '877-563-7468',
599
+ website: 'https://www.joeshouse.org',
600
+ coverage: 'Nationwide',
601
+ eligibility: 'Any patient/caregiver needing lodging',
602
+ services: ['Lodging search near cancer centers', 'Discounted rates', 'Hospital lodging database']
603
+ },
604
+ {
605
+ name: 'Healthcare Hospitality Network',
606
+ phone: '800-542-9730',
607
+ website: 'https://www.hhnetwork.org',
608
+ coverage: 'Nationwide',
609
+ eligibility: 'Patients and families away from home for treatment',
610
+ services: ['Free or low-cost lodging', '200+ hospitality houses', 'Family support']
611
+ }
612
+ ];
613
+ function displayTransportationPrograms() {
614
+ console.log(`\n${colors.bold}${colors.blue}═══════════════════════════════════════════════════════════════${colors.reset}`);
615
+ console.log(`${colors.bold}${colors.blue} 🚗 TRANSPORTATION & LODGING - Get To Your Treatments${colors.reset}`);
616
+ console.log(`${colors.bold}${colors.blue}═══════════════════════════════════════════════════════════════${colors.reset}\n`);
617
+ TRANSPORTATION_PROGRAMS.forEach((program, i) => {
618
+ console.log(`${colors.bold}${i + 1}. ${program.name}${colors.reset}`);
619
+ console.log(` ${colors.green}📞 Phone: ${program.phone}${colors.reset}`);
620
+ console.log(` ${colors.cyan}🌐 Website: ${program.website}${colors.reset}`);
621
+ console.log(` ${colors.dim}📍 Coverage: ${program.coverage}${colors.reset}`);
622
+ console.log(` ${colors.dim}✓ Eligibility: ${program.eligibility}${colors.reset}`);
623
+ console.log(` ${colors.dim}Services: ${program.services.join(', ')}${colors.reset}`);
624
+ console.log('');
625
+ });
626
+ console.log(`${colors.yellow}📞 Action: Call Road To Recovery (800-227-2345) for local ride assistance${colors.reset}\n`);
627
+ }
628
+ const MENTAL_HEALTH_RESOURCES = [
629
+ {
630
+ name: 'CancerCare Counseling Services',
631
+ phone: '800-813-4673',
632
+ website: 'https://www.cancercare.org/counseling',
633
+ services: ['Free professional oncology counseling', 'Individual therapy', 'Support groups', 'Online counseling'],
634
+ cost: 'FREE',
635
+ availability: 'Mon-Thu 10am-6pm, Fri 10am-5pm ET'
636
+ },
637
+ {
638
+ name: 'Cancer Support Community Helpline',
639
+ phone: '888-793-9355',
640
+ website: 'https://www.cancersupportcommunity.org',
641
+ services: ['Distress screening', 'Counseling referrals', 'Support groups', 'Online community'],
642
+ cost: 'FREE',
643
+ availability: '24/7 Helpline'
644
+ },
645
+ {
646
+ name: 'LIVESTRONG Navigation Services',
647
+ phone: '855-220-7777',
648
+ website: 'https://www.livestrong.org',
649
+ services: ['Cancer navigation', 'Fertility preservation referrals', 'Emotional support'],
650
+ cost: 'FREE',
651
+ availability: 'Mon-Fri 9am-5pm CT'
652
+ },
653
+ {
654
+ name: 'Imerman Angels (1-on-1 Peer Support)',
655
+ phone: '877-274-5529',
656
+ website: 'https://imermanangels.org',
657
+ services: ['Match with cancer survivor mentor', 'Same cancer type matching', 'Caregiver support'],
658
+ cost: 'FREE',
659
+ availability: 'Online matching 24/7'
660
+ },
661
+ {
662
+ name: 'Stupid Cancer (Young Adults)',
663
+ phone: '877-735-4673',
664
+ website: 'https://stupidcancer.org',
665
+ services: ['Young adult cancer support', 'Online community', 'Meetups', 'Advocacy'],
666
+ cost: 'FREE',
667
+ availability: 'Mon-Fri 9am-5pm ET'
668
+ },
669
+ {
670
+ name: 'Open to Hope (Grief & Loss)',
671
+ phone: 'N/A - Online Resource',
672
+ website: 'https://www.opentohope.com',
673
+ services: ['Grief support', 'Loss support', 'Podcasts', 'Articles'],
674
+ cost: 'FREE',
675
+ availability: '24/7 Online'
676
+ }
677
+ ];
678
+ function displayMentalHealthResources() {
679
+ console.log(`\n${colors.bold}${colors.cyan}═══════════════════════════════════════════════════════════════${colors.reset}`);
680
+ console.log(`${colors.bold}${colors.cyan} 🧠 MENTAL HEALTH & COUNSELING - You Are Not Alone${colors.reset}`);
681
+ console.log(`${colors.bold}${colors.cyan}═══════════════════════════════════════════════════════════════${colors.reset}\n`);
682
+ console.log(`${colors.yellow}It's normal to feel overwhelmed. These services are FREE and staffed by${colors.reset}`);
683
+ console.log(`${colors.yellow}professionals who specialize in helping cancer patients and families.${colors.reset}\n`);
684
+ MENTAL_HEALTH_RESOURCES.forEach((resource, i) => {
685
+ console.log(`${colors.bold}${i + 1}. ${resource.name}${colors.reset}`);
686
+ console.log(` ${colors.green}📞 Phone: ${resource.phone}${colors.reset}`);
687
+ console.log(` ${colors.cyan}🌐 Website: ${resource.website}${colors.reset}`);
688
+ console.log(` ${colors.dim}💰 Cost: ${resource.cost}${colors.reset}`);
689
+ console.log(` ${colors.dim}🕐 Availability: ${resource.availability}${colors.reset}`);
690
+ console.log(` ${colors.dim}Services: ${resource.services.join(', ')}${colors.reset}`);
691
+ console.log('');
692
+ });
693
+ console.log(`${colors.yellow}📞 Action: Call CancerCare (800-813-4673) for free professional counseling${colors.reset}\n`);
694
+ }
695
+ const GENETIC_COUNSELING_SERVICES = [
696
+ {
697
+ name: 'National Society of Genetic Counselors - Find a Counselor',
698
+ phone: '312-321-6834',
699
+ website: 'https://www.nsgc.org/findageneticcounselor',
700
+ services: ['Counselor directory', 'Cancer genetics specialists', 'Hereditary risk assessment'],
701
+ cost: 'Varies (often covered by insurance)',
702
+ notes: 'Find a board-certified genetic counselor near you'
703
+ },
704
+ {
705
+ name: 'InformedDNA',
706
+ phone: '800-975-4819',
707
+ website: 'https://www.informeddna.com',
708
+ services: ['Telehealth genetic counseling', 'BRCA testing', 'Lynch syndrome testing'],
709
+ cost: 'Often covered by insurance',
710
+ notes: 'Virtual appointments available nationwide'
711
+ },
712
+ {
713
+ name: 'Color Health',
714
+ phone: '844-352-6567',
715
+ website: 'https://www.color.com',
716
+ services: ['Hereditary cancer testing', 'Genetic counseling included', '30+ genes tested'],
717
+ cost: '$249 (or free through employers)',
718
+ notes: 'Includes genetic counseling with test results'
719
+ },
720
+ {
721
+ name: 'Invitae',
722
+ phone: '800-436-3037',
723
+ website: 'https://www.invitae.com',
724
+ services: ['Comprehensive cancer panel', 'Genetic counseling', 'Financial assistance available'],
725
+ cost: 'Often under $250 with financial assistance',
726
+ notes: 'Largest hereditary cancer gene panel'
727
+ },
728
+ {
729
+ name: 'FORCE (Facing Our Risk of Cancer Empowered)',
730
+ phone: '866-288-7475',
731
+ website: 'https://www.facingourrisk.org',
732
+ services: ['Hereditary cancer support', 'BRCA community', 'High-risk resources'],
733
+ cost: 'FREE support services',
734
+ notes: 'Community for hereditary cancer previvors and survivors'
735
+ }
736
+ ];
737
+ function displayGeneticCounselingServices() {
738
+ console.log(`\n${colors.bold}${colors.magenta}═══════════════════════════════════════════════════════════════${colors.reset}`);
739
+ console.log(`${colors.bold}${colors.magenta} 🔬 GENETIC COUNSELING - Hereditary Cancer Risk Assessment${colors.reset}`);
740
+ console.log(`${colors.bold}${colors.magenta}═══════════════════════════════════════════════════════════════${colors.reset}\n`);
741
+ console.log(`${colors.yellow}If you have a family history of cancer, genetic testing can reveal${colors.reset}`);
742
+ console.log(`${colors.yellow}hereditary mutations (BRCA1/2, Lynch syndrome) that affect you AND family.${colors.reset}\n`);
743
+ GENETIC_COUNSELING_SERVICES.forEach((service, i) => {
744
+ console.log(`${colors.bold}${i + 1}. ${service.name}${colors.reset}`);
745
+ console.log(` ${colors.green}📞 Phone: ${service.phone}${colors.reset}`);
746
+ console.log(` ${colors.cyan}🌐 Website: ${service.website}${colors.reset}`);
747
+ console.log(` ${colors.dim}💰 Cost: ${service.cost}${colors.reset}`);
748
+ console.log(` ${colors.dim}📋 Note: ${service.notes}${colors.reset}`);
749
+ console.log(` ${colors.dim}Services: ${service.services.join(', ')}${colors.reset}`);
750
+ console.log('');
751
+ });
752
+ console.log(`${colors.yellow}📞 Action: Call NSGC (312-321-6834) to find a genetic counselor near you${colors.reset}\n`);
753
+ }
754
+ const SPECIALTY_PHARMACIES = [
755
+ {
756
+ name: 'CVS Specialty',
757
+ phone: '800-237-2767',
758
+ website: 'https://www.cvsspecialty.com',
759
+ services: ['24/7 pharmacist support', 'Free delivery', 'Copay assistance programs'],
760
+ specialties: ['Oral oncology', 'Injectable therapies', 'Immunotherapy support']
761
+ },
762
+ {
763
+ name: 'Optum Specialty Pharmacy',
764
+ phone: '855-427-4682',
765
+ website: 'https://specialty.optum.com',
766
+ services: ['Care coordination', 'Financial assistance', 'Nurse support'],
767
+ specialties: ['Oncology', 'Specialty infusions', 'Oral chemotherapy']
768
+ },
769
+ {
770
+ name: 'Accredo (Express Scripts)',
771
+ phone: '800-803-2523',
772
+ website: 'https://www.accredo.com',
773
+ services: ['Therapeutic specialists', 'Cold chain shipping', 'Copay assistance'],
774
+ specialties: ['Cancer medications', 'Biologics', 'Specialty drugs']
775
+ },
776
+ {
777
+ name: 'Biologics by McKesson',
778
+ phone: '800-850-4306',
779
+ website: 'https://www.biologicsbymc.com',
780
+ services: ['Personalized care', 'Reimbursement support', 'Clinical management'],
781
+ specialties: ['Oncology', 'Hematology', 'Infusion therapies']
782
+ },
783
+ {
784
+ name: 'US Bioservices',
785
+ phone: '888-518-7246',
786
+ website: 'https://www.usbioservices.com',
787
+ services: ['Patient support programs', 'Prior auth assistance', 'Care coordinators'],
788
+ specialties: ['Oral oncology', 'Specialty drugs', 'Rare disease']
789
+ }
790
+ ];
791
+ function displaySpecialtyPharmacies() {
792
+ console.log(`\n${colors.bold}${colors.green}═══════════════════════════════════════════════════════════════${colors.reset}`);
793
+ console.log(`${colors.bold}${colors.green} 💊 SPECIALTY PHARMACIES - Get Your Cancer Medications${colors.reset}`);
794
+ console.log(`${colors.bold}${colors.green}═══════════════════════════════════════════════════════════════${colors.reset}\n`);
795
+ console.log(`${colors.yellow}Specialty pharmacies provide cancer drugs with extra support services${colors.reset}`);
796
+ console.log(`${colors.yellow}including 24/7 pharmacist access and copay assistance programs.${colors.reset}\n`);
797
+ SPECIALTY_PHARMACIES.forEach((pharmacy, i) => {
798
+ console.log(`${colors.bold}${i + 1}. ${pharmacy.name}${colors.reset}`);
799
+ console.log(` ${colors.green}📞 Phone: ${pharmacy.phone}${colors.reset}`);
800
+ console.log(` ${colors.cyan}🌐 Website: ${pharmacy.website}${colors.reset}`);
801
+ console.log(` ${colors.dim}Services: ${pharmacy.services.join(', ')}${colors.reset}`);
802
+ console.log(` ${colors.dim}Specialties: ${pharmacy.specialties.join(', ')}${colors.reset}`);
803
+ console.log('');
804
+ });
805
+ console.log(`${colors.yellow}📞 Action: Ask your oncologist which specialty pharmacy to use for your medications${colors.reset}\n`);
806
+ }
807
+ const SECOND_OPINION_SERVICES = [
808
+ {
809
+ name: 'MD Anderson Second Opinion (MyChart)',
810
+ phone: '877-632-6789',
811
+ website: 'https://www.mdanderson.org/patients-family/becoming-our-patient/planning-for-care/second-opinions.html',
812
+ turnaround: '7-10 business days',
813
+ cost: 'Insurance accepted, self-pay available',
814
+ features: ['Expert oncology review', 'Treatment recommendations', 'Virtual consults available']
815
+ },
816
+ {
817
+ name: 'Memorial Sloan Kettering Remote Second Opinion',
818
+ phone: '212-639-2000',
819
+ website: 'https://www.mskcc.org/experience/become-patient/remote-second-opinions',
820
+ turnaround: '5-10 business days',
821
+ cost: 'Insurance accepted',
822
+ features: ['No travel required', 'Records review', 'Expert consensus', 'Treatment plan']
823
+ },
824
+ {
825
+ name: 'Cleveland Clinic MyConsult',
826
+ phone: '800-223-2273',
827
+ website: 'https://my.clevelandclinic.org/online-services/myconsult',
828
+ turnaround: '5-7 business days',
829
+ cost: '$745 (not covered by insurance)',
830
+ features: ['Online submission', 'Written expert opinion', 'Diagnosis confirmation']
831
+ },
832
+ {
833
+ name: 'Best Doctors / Teladoc Expert Medical Opinion',
834
+ phone: '800-223-5003',
835
+ website: 'https://www.teladoc.com/expert-medical-opinion',
836
+ turnaround: '7-10 business days',
837
+ cost: 'Often covered by employer benefits',
838
+ features: ['In-depth case review', 'Harvard experts', 'Treatment recommendations']
839
+ },
840
+ {
841
+ name: 'Dana-Farber Virtual Visits',
842
+ phone: '877-442-3324',
843
+ website: 'https://www.dana-farber.org/for-patients-and-families/becoming-a-patient/new-patient-appointments',
844
+ turnaround: 'Varies',
845
+ cost: 'Insurance accepted',
846
+ features: ['Video consultations', 'Expert oncologists', 'Treatment planning']
847
+ },
848
+ {
849
+ name: 'UPMC Hillman Cancer Center eConsult',
850
+ phone: '412-647-2811',
851
+ website: 'https://hillman.upmc.com/patients/new-patients/second-opinions',
852
+ turnaround: '3-5 business days',
853
+ cost: 'Insurance accepted',
854
+ features: ['Online second opinion', 'Multidisciplinary review', 'NCI-designated center']
855
+ }
856
+ ];
857
+ function displaySecondOpinionServices() {
858
+ console.log(`\n${colors.bold}${colors.yellow}═══════════════════════════════════════════════════════════════${colors.reset}`);
859
+ console.log(`${colors.bold}${colors.yellow} 🩺 SECOND OPINION SERVICES - Get Expert Review${colors.reset}`);
860
+ console.log(`${colors.bold}${colors.yellow}═══════════════════════════════════════════════════════════════${colors.reset}\n`);
861
+ console.log(`${colors.cyan}A second opinion from a major cancer center can:${colors.reset}`);
862
+ console.log(`${colors.cyan}• Confirm your diagnosis is correct${colors.reset}`);
863
+ console.log(`${colors.cyan}• Identify treatment options you haven't considered${colors.reset}`);
864
+ console.log(`${colors.cyan}• Give you confidence in your treatment plan${colors.reset}\n`);
865
+ SECOND_OPINION_SERVICES.forEach((service, i) => {
866
+ console.log(`${colors.bold}${i + 1}. ${service.name}${colors.reset}`);
867
+ console.log(` ${colors.green}📞 Phone: ${service.phone}${colors.reset}`);
868
+ console.log(` ${colors.cyan}🌐 Website: ${service.website}${colors.reset}`);
869
+ console.log(` ${colors.dim}⏱️ Turnaround: ${service.turnaround}${colors.reset}`);
870
+ console.log(` ${colors.dim}💰 Cost: ${service.cost}${colors.reset}`);
871
+ console.log(` ${colors.dim}Features: ${service.features.join(', ')}${colors.reset}`);
872
+ console.log('');
873
+ });
874
+ console.log(`${colors.yellow}📞 Action: Call MD Anderson (877-632-6789) or MSK (212-639-2000) for a second opinion${colors.reset}`);
875
+ console.log(`${colors.yellow} Say: "I'd like to get a second opinion on my cancer diagnosis"${colors.reset}\n`);
876
+ }
498
877
  // ═══════════════════════════════════════════════════════════════════════════════
499
878
  // IMMEDIATE ACTION SUMMARY (What to do RIGHT NOW)
500
879
  // ═══════════════════════════════════════════════════════════════════════════════
@@ -1290,7 +1669,7 @@ async function generateCureProtocol(cancerType, stage, mutations) {
1290
1669
  console.log(`${colors.magenta}║${colors.reset} Claude Code While Loop - Tool Execution Engine ${colors.magenta}║${colors.reset}`);
1291
1670
  console.log(`${colors.magenta}╚═══════════════════════════════════════════════════════════════╝${colors.reset}\n`);
1292
1671
  let iteration = 0;
1293
- const maxIterations = 12;
1672
+ const maxIterations = 18;
1294
1673
  let taskComplete = false;
1295
1674
  // ITERATION 1: Initialize & Analyze
1296
1675
  iteration++;
@@ -1447,7 +1826,55 @@ Be evidence-based and cite specific landmark trials where relevant (e.g., KEYNOT
1447
1826
  console.log(`${colors.dim} ├─ Executing: Finding patient advocacy organizations...${colors.reset}`);
1448
1827
  displayPatientAdvocacy(cancerType);
1449
1828
  console.log(`${colors.green} └─ Result: Patient advocacy organizations matched${colors.reset}`);
1450
- // ITERATION 12: Immediate Actions Summary
1829
+ // ITERATION 12: Genomic Testing Labs
1830
+ iteration++;
1831
+ console.log(`\n${colors.cyan}━━━ Iteration ${iteration}/${maxIterations} ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${colors.reset}`);
1832
+ console.log(`${colors.yellow}🔧 Tool Call: GenomicTestingLabLocator${colors.reset}`);
1833
+ console.log(`${colors.dim} ├─ Input: { testType: "comprehensive", tissueAvailable: true }${colors.reset}`);
1834
+ console.log(`${colors.dim} ├─ Executing: Fetching genomic testing laboratories...${colors.reset}`);
1835
+ displayGenomicTestingLabs();
1836
+ console.log(`${colors.green} └─ Result: 5 genomic testing labs with ordering info${colors.reset}`);
1837
+ // ITERATION 13: Transportation Assistance
1838
+ iteration++;
1839
+ console.log(`\n${colors.cyan}━━━ Iteration ${iteration}/${maxIterations} ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${colors.reset}`);
1840
+ console.log(`${colors.yellow}🔧 Tool Call: TransportationAssistanceLocator${colors.reset}`);
1841
+ console.log(`${colors.dim} ├─ Input: { includesAir: true, includesGround: true, includesLodging: true }${colors.reset}`);
1842
+ console.log(`${colors.dim} ├─ Executing: Finding transportation and lodging assistance...${colors.reset}`);
1843
+ displayTransportationPrograms();
1844
+ console.log(`${colors.green} └─ Result: 6 transportation/lodging programs with contact info${colors.reset}`);
1845
+ // ITERATION 14: Mental Health Resources
1846
+ iteration++;
1847
+ console.log(`\n${colors.cyan}━━━ Iteration ${iteration}/${maxIterations} ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${colors.reset}`);
1848
+ console.log(`${colors.yellow}🔧 Tool Call: MentalHealthResourceLocator${colors.reset}`);
1849
+ console.log(`${colors.dim} ├─ Input: { includesCounseling: true, includesPeerSupport: true }${colors.reset}`);
1850
+ console.log(`${colors.dim} ├─ Executing: Finding mental health and counseling resources...${colors.reset}`);
1851
+ displayMentalHealthResources();
1852
+ console.log(`${colors.green} └─ Result: 6 mental health resources (mostly FREE)${colors.reset}`);
1853
+ // ITERATION 15: Genetic Counseling
1854
+ iteration++;
1855
+ console.log(`\n${colors.cyan}━━━ Iteration ${iteration}/${maxIterations} ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${colors.reset}`);
1856
+ console.log(`${colors.yellow}🔧 Tool Call: GeneticCounselingLocator${colors.reset}`);
1857
+ console.log(`${colors.dim} ├─ Input: { includesHereditary: true, includestelehealth: true }${colors.reset}`);
1858
+ console.log(`${colors.dim} ├─ Executing: Finding genetic counseling services...${colors.reset}`);
1859
+ displayGeneticCounselingServices();
1860
+ console.log(`${colors.green} └─ Result: 5 genetic counseling services for hereditary cancer risk${colors.reset}`);
1861
+ // ITERATION 16: Specialty Pharmacies
1862
+ iteration++;
1863
+ console.log(`\n${colors.cyan}━━━ Iteration ${iteration}/${maxIterations} ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${colors.reset}`);
1864
+ console.log(`${colors.yellow}🔧 Tool Call: SpecialtyPharmacyLocator${colors.reset}`);
1865
+ console.log(`${colors.dim} ├─ Input: { includesOncology: true, includesCopayAssist: true }${colors.reset}`);
1866
+ console.log(`${colors.dim} ├─ Executing: Finding specialty pharmacies for cancer medications...${colors.reset}`);
1867
+ displaySpecialtyPharmacies();
1868
+ console.log(`${colors.green} └─ Result: 5 specialty pharmacies with 24/7 support${colors.reset}`);
1869
+ // ITERATION 17: Second Opinion Services
1870
+ iteration++;
1871
+ console.log(`\n${colors.cyan}━━━ Iteration ${iteration}/${maxIterations} ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${colors.reset}`);
1872
+ console.log(`${colors.yellow}🔧 Tool Call: SecondOpinionServiceLocator${colors.reset}`);
1873
+ console.log(`${colors.dim} ├─ Input: { includesRemote: true, includesNCI: true }${colors.reset}`);
1874
+ console.log(`${colors.dim} ├─ Executing: Finding second opinion and telemedicine services...${colors.reset}`);
1875
+ displaySecondOpinionServices();
1876
+ console.log(`${colors.green} └─ Result: 6 major cancer center second opinion services${colors.reset}`);
1877
+ // ITERATION 18: Immediate Actions Summary
1451
1878
  iteration++;
1452
1879
  console.log(`\n${colors.cyan}━━━ Iteration ${iteration}/${maxIterations} ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${colors.reset}`);
1453
1880
  console.log(`${colors.yellow}🔧 Tool Call: ImmediateActionGenerator${colors.reset}`);
@@ -1460,7 +1887,7 @@ Be evidence-based and cite specific landmark trials where relevant (e.g., KEYNOT
1460
1887
  // Summary
1461
1888
  console.log(`\n${colors.magenta}╔═══════════════════════════════════════════════════════════════╗${colors.reset}`);
1462
1889
  console.log(`${colors.magenta}║${colors.reset} ${colors.green}✅ AGENTIC LOOP COMPLETE${colors.reset} ${colors.magenta}║${colors.reset}`);
1463
- console.log(`${colors.magenta}║${colors.reset} Iterations: ${iteration}/${maxIterations} | Tools Called: 11 | Status: SUCCESS ${colors.magenta}║${colors.reset}`);
1890
+ console.log(`${colors.magenta}║${colors.reset} Iterations: ${iteration}/${maxIterations} | Tools Called: 17 | Status: SUCCESS ${colors.magenta}║${colors.reset}`);
1464
1891
  console.log(`${colors.magenta}╚═══════════════════════════════════════════════════════════════╝${colors.reset}`);
1465
1892
  console.log(`\n${colors.bold}${colors.green}THE ABOVE PHONE NUMBERS ARE REAL. CALL THEM TODAY.${colors.reset}\n`);
1466
1893
  return; // Success - exit early