@recapt/mcp 0.0.40 → 0.0.43
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/index.js
CHANGED
|
@@ -145,8 +145,6 @@ function registerAllToolHandlers() {
|
|
|
145
145
|
toolHandlers.set("analyze_funnel", createApiHandler("POST", "/flows/funnel"));
|
|
146
146
|
toolHandlers.set("get_flow_friction", createApiHandler("GET", "/flow-friction"));
|
|
147
147
|
toolHandlers.set("get_journey_patterns", createApiHandler("GET", "/flows/patterns"));
|
|
148
|
-
toolHandlers.set("get_issues", createApiHandler("GET", "/issues"));
|
|
149
|
-
toolHandlers.set("get_actionable_issues", createApiHandler("GET", "/actionable-issues"));
|
|
150
148
|
toolHandlers.set("get_anomalies", createApiHandler("GET", "/anomalies"));
|
|
151
149
|
toolHandlers.set("detect_regressions", createApiHandler("GET", "/regressions"));
|
|
152
150
|
toolHandlers.set("detect_drift", createApiHandler("GET", "/drift"));
|
|
@@ -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.",
|
|
@@ -646,46 +594,6 @@
|
|
|
646
594
|
"required": []
|
|
647
595
|
}
|
|
648
596
|
},
|
|
649
|
-
{
|
|
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
597
|
{
|
|
690
598
|
"name": "dismiss_issue",
|
|
691
599
|
"description": "Dismiss an issue as a false positive. Creates site knowledge to prevent re-flagging.",
|
|
@@ -737,22 +645,6 @@
|
|
|
737
645
|
]
|
|
738
646
|
}
|
|
739
647
|
},
|
|
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
648
|
{
|
|
757
649
|
"name": "propose_fix",
|
|
758
650
|
"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.",
|
|
@@ -903,60 +795,6 @@
|
|
|
903
795
|
]
|
|
904
796
|
}
|
|
905
797
|
},
|
|
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
798
|
{
|
|
961
799
|
"name": "get_site_knowledge",
|
|
962
800
|
"description": "Retrieve site-specific learnings including known false positives, intended behaviors, and successful fix patterns.",
|
|
@@ -1037,26 +875,6 @@
|
|
|
1037
875
|
]
|
|
1038
876
|
}
|
|
1039
877
|
},
|
|
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
878
|
{
|
|
1061
879
|
"name": "start_improvement_run",
|
|
1062
880
|
"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.",
|