@recapt/mcp 0.0.42 → 0.0.44

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.
@@ -346,58 +346,6 @@
346
346
  "required": []
347
347
  }
348
348
  },
349
- {
350
- "name": "get_issues",
351
- "description": "Get detected UX issues. Issues are automatically detected from session recordings and include rage clicks, dead clicks, form issues, and behavioral anomalies.",
352
- "input_schema": {
353
- "type": "object",
354
- "properties": {
355
- "page_path": {
356
- "description": "Filter issues to a specific page path",
357
- "type": "string"
358
- },
359
- "category": {
360
- "description": "Filter by issue category",
361
- "type": "string"
362
- },
363
- "severity": {
364
- "description": "Filter by severity level",
365
- "type": "string"
366
- },
367
- "status": {
368
- "description": "Filter by status (default: active)",
369
- "type": "string"
370
- },
371
- "limit": {
372
- "description": "Maximum number of issues to return (default: 20)",
373
- "type": "number"
374
- }
375
- },
376
- "required": []
377
- }
378
- },
379
- {
380
- "name": "get_actionable_issues",
381
- "description": "Get UX issues with element context. Returns detected issues along with the most affected elements on each page.",
382
- "input_schema": {
383
- "type": "object",
384
- "properties": {
385
- "page_path": {
386
- "description": "Filter to a specific page path",
387
- "type": "string"
388
- },
389
- "severity": {
390
- "description": "Minimum severity level to include",
391
- "type": "string"
392
- },
393
- "limit": {
394
- "description": "Maximum number of issues to return (default: 10)",
395
- "type": "number"
396
- }
397
- },
398
- "required": []
399
- }
400
- },
401
349
  {
402
350
  "name": "get_anomalies",
403
351
  "description": "Detect anomalous sessions and frustration spikes. Finds sessions that deviate from normal behavior patterns.",
@@ -647,148 +595,57 @@
647
595
  }
648
596
  },
649
597
  {
650
- "name": "investigate_issue",
651
- "description": "Deep-dive into a specific issue. Returns affected sessions, element friction data, related console errors, similar issues, and page context.",
652
- "input_schema": {
653
- "type": "object",
654
- "properties": {
655
- "issue_id": {
656
- "description": "The ID of the issue to investigate",
657
- "type": "string"
658
- },
659
- "days": {
660
- "description": "Number of days to look back (default: 7)",
661
- "type": "number"
662
- }
663
- },
664
- "required": [
665
- "issue_id"
666
- ]
667
- }
668
- },
669
- {
670
- "name": "validate_issue",
671
- "description": "Check if an issue is still actively occurring. Returns staleness info and recommendation (investigate, dismiss_stale, or monitor).",
672
- "input_schema": {
673
- "type": "object",
674
- "properties": {
675
- "issue_id": {
676
- "description": "The ID of the issue to validate",
677
- "type": "string"
678
- },
679
- "lookback_days": {
680
- "description": "Number of days to look back (default: 3)",
681
- "type": "number"
682
- }
683
- },
684
- "required": [
685
- "issue_id"
686
- ]
687
- }
688
- },
689
- {
690
- "name": "dismiss_issue",
691
- "description": "Dismiss an issue as a false positive. Creates site knowledge to prevent re-flagging.",
598
+ "name": "propose_fix",
599
+ "description": "Propose a fix for a UX issue. REQUIRED: page_path, diagnosis, proposed_fix, confidence. Creates a remediation record with baseline metrics for later evaluation. Returns remediation_id for tracking.",
692
600
  "input_schema": {
693
601
  "type": "object",
694
602
  "properties": {
695
- "issue_id": {
696
- "description": "The ID of the issue to dismiss",
697
- "type": "string"
698
- },
699
- "reason": {
700
- "description": "Reason for dismissal",
701
- "type": "string"
702
- },
703
- "explanation": {
704
- "description": "Detailed explanation",
603
+ "page_path": {
604
+ "description": "The page path where the issue occurs",
705
605
  "type": "string"
706
606
  },
707
- "create_knowledge": {
708
- "description": "Whether to create site knowledge entry (default: true)",
709
- "type": "boolean"
710
- }
711
- },
712
- "required": [
713
- "issue_id",
714
- "reason",
715
- "explanation"
716
- ]
717
- }
718
- },
719
- {
720
- "name": "mark_intended_behavior",
721
- "description": "Mark an issue as intended behavior. Creates site knowledge to prevent re-flagging.",
722
- "input_schema": {
723
- "type": "object",
724
- "properties": {
725
- "issue_id": {
726
- "description": "The ID of the issue to mark as intended",
607
+ "category": {
608
+ "description": "The issue category (code_error, dead_click, rage_click, ux_friction, performance, form_issue, behavioral_anomaly, structural_issue)",
727
609
  "type": "string"
728
610
  },
729
- "explanation": {
730
- "description": "Explanation of why this behavior is intended",
731
- "type": "string"
732
- }
733
- },
734
- "required": [
735
- "issue_id",
736
- "explanation"
737
- ]
738
- }
739
- },
740
- {
741
- "name": "get_issue_history",
742
- "description": "Get the full history of an issue including status changes, remediation attempts, and outcomes.",
743
- "input_schema": {
744
- "type": "object",
745
- "properties": {
746
- "issue_id": {
747
- "description": "The ID of the issue to get history for",
748
- "type": "string"
749
- }
750
- },
751
- "required": [
752
- "issue_id"
753
- ]
754
- }
755
- },
756
- {
757
- "name": "propose_fix",
758
- "description": "Propose a fix for an issue. Creates a remediation record with baseline metrics for later evaluation. Use this to create a new remediation, even without an existing issue ID.",
759
- "input_schema": {
760
- "type": "object",
761
- "properties": {
762
- "issue_id": {
763
- "description": "The ID of the issue to fix",
611
+ "severity": {
612
+ "description": "The issue severity (critical, high, medium, low, info)",
764
613
  "type": "string"
765
614
  },
766
615
  "diagnosis": {
767
- "description": "Detailed analysis of the root cause",
616
+ "description": "Detailed analysis of the root cause of the issue",
768
617
  "type": "string"
769
618
  },
770
619
  "proposed_fix": {
771
- "description": "Description of the proposed fix",
620
+ "description": "Description of the proposed fix and how it addresses the root cause",
772
621
  "type": "string"
773
622
  },
774
623
  "code_snippet": {
775
- "description": "Suggested code changes",
624
+ "description": "Suggested code changes (if applicable)",
776
625
  "type": "string"
777
626
  },
778
627
  "affected_files": {
779
- "description": "List of files to modify",
628
+ "description": "List of files that need to be modified",
780
629
  "type": "array",
781
630
  "items": {
782
631
  "type": "string"
783
632
  }
784
633
  },
785
634
  "confidence": {
786
- "description": "Confidence level (0-1)",
635
+ "description": "Confidence level in the fix (0-1). Use <0.7 when uncertain.",
787
636
  "type": "number"
637
+ },
638
+ "title": {
639
+ "description": "User-friendly title describing the issue from the user's perspective",
640
+ "type": "string"
641
+ },
642
+ "execution_metadata": {
643
+ "description": "AI execution metadata for tracking model selection and performance",
644
+ "type": "object"
788
645
  }
789
646
  },
790
647
  "required": [
791
- "issue_id",
648
+ "page_path",
792
649
  "diagnosis",
793
650
  "proposed_fix",
794
651
  "confidence"
@@ -830,6 +687,29 @@
830
687
  "required": []
831
688
  }
832
689
  },
690
+ {
691
+ "name": "list_remediations_by_status",
692
+ "description": "List remediations filtered by one or more statuses. Use to find all 'waiting' PRs or 'deployed' fixes ready for evaluation.",
693
+ "input_schema": {
694
+ "type": "object",
695
+ "properties": {
696
+ "statuses": {
697
+ "description": "List of statuses to filter by (e.g. ['waiting', 'deployed'])",
698
+ "type": "array",
699
+ "items": {
700
+ "type": "string"
701
+ }
702
+ },
703
+ "include_execution": {
704
+ "description": "Include execution metadata (difficulty class, model used)",
705
+ "type": "boolean"
706
+ }
707
+ },
708
+ "required": [
709
+ "statuses"
710
+ ]
711
+ }
712
+ },
833
713
  {
834
714
  "name": "confirm_deployment",
835
715
  "description": "Confirm that a proposed fix has been deployed to production. Starts the evaluation timer.",
@@ -903,60 +783,6 @@
903
783
  ]
904
784
  }
905
785
  },
906
- {
907
- "name": "get_fix_history",
908
- "description": "Get the full remediation history for an issue. Shows all fix attempts, their outcomes, and current status.",
909
- "input_schema": {
910
- "type": "object",
911
- "properties": {
912
- "issue_id": {
913
- "description": "The ID of the issue to get fix history for",
914
- "type": "string"
915
- }
916
- },
917
- "required": [
918
- "issue_id"
919
- ]
920
- }
921
- },
922
- {
923
- "name": "defer_issue",
924
- "description": "Defer an issue that needs more data before a fix can be proposed. Creates a remediation record with 'deferred' status to track the issue for future revisiting.",
925
- "input_schema": {
926
- "type": "object",
927
- "properties": {
928
- "issue_id": {
929
- "description": "The ID of the issue to defer",
930
- "type": "string"
931
- },
932
- "diagnosis": {
933
- "description": "Analysis of what you think the problem might be",
934
- "type": "string"
935
- },
936
- "deferral_reason": {
937
- "description": "Explanation of why the issue cannot be fixed yet",
938
- "type": "string"
939
- },
940
- "confidence": {
941
- "description": "Confidence level in the diagnosis (0-1). Typically low for deferred issues.",
942
- "type": "number"
943
- },
944
- "affected_files": {
945
- "description": "List of files that might need to be modified",
946
- "type": "array",
947
- "items": {
948
- "type": "string"
949
- }
950
- }
951
- },
952
- "required": [
953
- "issue_id",
954
- "diagnosis",
955
- "deferral_reason",
956
- "confidence"
957
- ]
958
- }
959
- },
960
786
  {
961
787
  "name": "get_site_knowledge",
962
788
  "description": "Retrieve site-specific learnings including known false positives, intended behaviors, and successful fix patterns.",
@@ -1037,26 +863,6 @@
1037
863
  ]
1038
864
  }
1039
865
  },
1040
- {
1041
- "name": "get_similar_fixes",
1042
- "description": "Find past fixes for similar issues. Returns successful and failed remediation attempts for issues with the same category, page, or element.",
1043
- "input_schema": {
1044
- "type": "object",
1045
- "properties": {
1046
- "issue_id": {
1047
- "description": "The ID of the issue to find similar fixes for",
1048
- "type": "string"
1049
- },
1050
- "limit": {
1051
- "description": "Maximum number of similar fixes (default: 5)",
1052
- "type": "number"
1053
- }
1054
- },
1055
- "required": [
1056
- "issue_id"
1057
- ]
1058
- }
1059
- },
1060
866
  {
1061
867
  "name": "start_improvement_run",
1062
868
  "description": "ONLY use during the self-improvement workflow. Register the start of a self-improvement workflow run. Call this at the beginning of an improvement session to track the run and its outcomes. Returns a run ID to use for subsequent updates. Do NOT call this tool for ad-hoc fixes or single issue investigations.",
@@ -1500,6 +1306,48 @@
1500
1306
  "required": []
1501
1307
  }
1502
1308
  },
1309
+ {
1310
+ "name": "get_repo_tree",
1311
+ "description": "Get a condensed directory-only tree of the repository. Returns a nested object showing the folder hierarchy up to a configurable depth. Use FIRST to understand project layout before navigating with list_repository_files.",
1312
+ "input_schema": {
1313
+ "type": "object",
1314
+ "properties": {
1315
+ "max_depth": {
1316
+ "description": "Maximum directory depth (default: 4)",
1317
+ "type": "number"
1318
+ },
1319
+ "branch": {
1320
+ "description": "Branch name (default: main)",
1321
+ "type": "string"
1322
+ }
1323
+ },
1324
+ "required": []
1325
+ }
1326
+ },
1327
+ {
1328
+ "name": "search_code",
1329
+ "description": "Search for code patterns, symbols, or imports across the repository. Use to find existing conventions, verify import paths, or discover reusable utilities. Rate-limited (~10 req/min) — use sparingly with specific queries.",
1330
+ "input_schema": {
1331
+ "type": "object",
1332
+ "properties": {
1333
+ "query": {
1334
+ "description": "Search terms (e.g., \"import { Button }\", \"useMemo\", \"className={styles.\")",
1335
+ "type": "string"
1336
+ },
1337
+ "path_filter": {
1338
+ "description": "Restrict search to a directory (e.g., \"client/src/components\")",
1339
+ "type": "string"
1340
+ },
1341
+ "extension": {
1342
+ "description": "Filter by file extension (e.g., \"tsx\", \"ts\", \"css\")",
1343
+ "type": "string"
1344
+ }
1345
+ },
1346
+ "required": [
1347
+ "query"
1348
+ ]
1349
+ }
1350
+ },
1503
1351
  {
1504
1352
  "name": "get_file_content",
1505
1353
  "description": "Read file contents from the repository.",