@triedotdev/mcp 1.0.8 → 1.0.10
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/README.md
CHANGED
|
@@ -63,20 +63,25 @@ Run trie_soc2 to check compliance
|
|
|
63
63
|
|
|
64
64
|
## Super Reviewer 🔍
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
AI accelerates coding 10-100x, but code reviews remain 1-1.5x. You're either waiting on reviewers or drowning in self-review of your own AI-generated output. Super Reviewer fixes this by making **you the driver** while AI handles the heavy lifting.
|
|
67
67
|
|
|
68
68
|
```
|
|
69
69
|
Use trie_pr_review
|
|
70
70
|
Use trie_pr_review with pr:"12345"
|
|
71
71
|
```
|
|
72
72
|
|
|
73
|
-
|
|
74
|
-
-
|
|
75
|
-
-
|
|
76
|
-
-
|
|
77
|
-
-
|
|
78
|
-
-
|
|
79
|
-
-
|
|
73
|
+
**What happens:**
|
|
74
|
+
- AI orders files for comprehension (schemas → core logic → implementation → tests)
|
|
75
|
+
- Walks you through each chunk, explaining what changed and why
|
|
76
|
+
- Connects the dots across files, correlates with design docs
|
|
77
|
+
- Hunts for real problems: state bugs, race conditions, missing error handling
|
|
78
|
+
- Pauses after each file so you can question, debate, or fix
|
|
79
|
+
- You bring the judgment; AI brings the throughput
|
|
80
|
+
|
|
81
|
+
**Requirements:**
|
|
82
|
+
- [GitHub CLI (`gh`)](https://cli.github.com/) installed and authenticated (`gh auth login`)
|
|
83
|
+
- Git repository with changes to review
|
|
84
|
+
- For PR reviews: repo must be pushed to GitHub
|
|
80
85
|
|
|
81
86
|
## YOLO Mode 🔥
|
|
82
87
|
|
|
@@ -3294,7 +3294,7 @@ var SOC2Agent = class extends BaseAgent {
|
|
|
3294
3294
|
isAutoFixable(category) {
|
|
3295
3295
|
return category === "errorHandling";
|
|
3296
3296
|
}
|
|
3297
|
-
getFix(category,
|
|
3297
|
+
getFix(category, _issue) {
|
|
3298
3298
|
const fixes = {
|
|
3299
3299
|
hardcodedSecrets: "Move secrets to environment variables or a secrets manager (e.g., HashiCorp Vault, AWS Secrets Manager)",
|
|
3300
3300
|
accessControl: "Implement proper RBAC with dynamic role checking. Never hardcode admin privileges.",
|
|
@@ -3315,13 +3315,13 @@ var SuperReviewerAgent = class extends BaseAgent {
|
|
|
3315
3315
|
description = "Interactive PR review: walks through changes file-by-file, explains each chunk, waits for cross-examination";
|
|
3316
3316
|
version = "1.0.0";
|
|
3317
3317
|
shouldActivate(context) {
|
|
3318
|
-
return context.linesChanged > 50 || context.isNewFeature || context.touchesAuth || context.
|
|
3318
|
+
return context.linesChanged > 50 || context.isNewFeature || context.touchesAuth || context.touchesPayments || context.touchesDatabase || context.touchesAPI;
|
|
3319
3319
|
}
|
|
3320
3320
|
/**
|
|
3321
3321
|
* The Super Reviewer doesn't do static pattern matching like other agents.
|
|
3322
3322
|
* Instead, it generates a structured review workflow for the AI to execute.
|
|
3323
3323
|
*/
|
|
3324
|
-
async analyzeFiles(
|
|
3324
|
+
async analyzeFiles(_files, _context) {
|
|
3325
3325
|
return [];
|
|
3326
3326
|
}
|
|
3327
3327
|
/**
|
|
@@ -3367,7 +3367,6 @@ var SuperReviewerAgent = class extends BaseAgent {
|
|
|
3367
3367
|
let priority = 50;
|
|
3368
3368
|
let reason = "General implementation";
|
|
3369
3369
|
const path = file.path.toLowerCase();
|
|
3370
|
-
const filename = path.split("/").pop() || "";
|
|
3371
3370
|
if (/\.(proto|graphql|prisma)$/.test(path) || /schema\.(ts|js|json)$/.test(path) || /types?\.(ts|d\.ts)$/.test(path) || path.includes("/types/") || path.includes("/schema/")) {
|
|
3372
3371
|
priority = 10;
|
|
3373
3372
|
reason = "Defines data structures everything else uses";
|
|
@@ -3811,10 +3810,11 @@ var AgentRegistryImpl = class {
|
|
|
3811
3810
|
};
|
|
3812
3811
|
var SINGLETON_KEY = "__TRIE_AGENT_REGISTRY__";
|
|
3813
3812
|
function getAgentRegistry() {
|
|
3814
|
-
|
|
3815
|
-
|
|
3813
|
+
const global = globalThis;
|
|
3814
|
+
if (!global[SINGLETON_KEY]) {
|
|
3815
|
+
global[SINGLETON_KEY] = new AgentRegistryImpl();
|
|
3816
3816
|
}
|
|
3817
|
-
return
|
|
3817
|
+
return global[SINGLETON_KEY];
|
|
3818
3818
|
}
|
|
3819
3819
|
|
|
3820
3820
|
// src/tools/scan.ts
|
|
@@ -8550,4 +8550,4 @@ export {
|
|
|
8550
8550
|
getSystemPrompt,
|
|
8551
8551
|
TrieFixTool
|
|
8552
8552
|
};
|
|
8553
|
-
//# sourceMappingURL=chunk-
|
|
8553
|
+
//# sourceMappingURL=chunk-6COGXQXQ.js.map
|