@triedotdev/mcp 1.0.14 → 1.0.15
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 +27 -27
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
**Customizable Parallel Agents for AI Code Review**
|
|
4
4
|
|
|
5
|
-
17 specialized agents scan your code for security, privacy, compliance, and bugs
|
|
5
|
+
17 specialized agents scan your code for security, privacy, compliance, and bugs-all running in parallel. Create custom agents from any document.
|
|
6
6
|
|
|
7
7
|
## Features
|
|
8
8
|
|
|
9
9
|
- **17 Built-in Agents** - Security, Privacy, SOC 2, Legal, Architecture, Design Engineer, Agent Smith, and more
|
|
10
|
-
-
|
|
11
|
-
-
|
|
10
|
+
- **Super Reviewer** - Interactive PR reviews: walks through changes file-by-file with AI guidance
|
|
11
|
+
- **Agent Smith** - Relentless pattern hunter: finds EVERY violation, tracks dismissed issues, spawns sub-agents
|
|
12
12
|
- **Parallel Execution** - All agents run simultaneously for fast scans
|
|
13
|
-
-
|
|
13
|
+
- **YOLO Mode** - Autonomous auto-fixing as you code
|
|
14
14
|
- **Custom Agents** - Create agents from PDFs, docs, or style guides
|
|
15
15
|
- **No API Key Required** - Works with any MCP-compatible AI tool (Cursor, Claude Code, VS Code)
|
|
16
16
|
- **Smart Triaging** - Only activates relevant agents based on code context
|
|
@@ -62,9 +62,9 @@ Run trie_security on this file
|
|
|
62
62
|
Run trie_soc2 to check compliance
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
-
## Super Reviewer
|
|
65
|
+
## Super Reviewer
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
**Manually invoked** - Use `trie_pr_review` directly. Not included in `trie_scan`.
|
|
68
68
|
|
|
69
69
|
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.
|
|
70
70
|
|
|
@@ -74,7 +74,7 @@ Use trie_pr_review with pr:"12345"
|
|
|
74
74
|
```
|
|
75
75
|
|
|
76
76
|
**What happens:**
|
|
77
|
-
- AI orders files for comprehension (schemas
|
|
77
|
+
- AI orders files for comprehension (schemas -> core logic -> implementation -> tests)
|
|
78
78
|
- Walks you through each chunk, explaining what changed and why
|
|
79
79
|
- Connects the dots across files, correlates with design docs
|
|
80
80
|
- Hunts for real problems: state bugs, race conditions, missing error handling
|
|
@@ -86,9 +86,9 @@ Use trie_pr_review with pr:"12345"
|
|
|
86
86
|
- Git repository with changes to review
|
|
87
87
|
- For PR reviews: repo must be pushed to GitHub
|
|
88
88
|
|
|
89
|
-
## Agent Smith
|
|
89
|
+
## Agent Smith
|
|
90
90
|
|
|
91
|
-
|
|
91
|
+
**Manually invoked** - Use `trie_agent_smith` directly. Not included in `trie_scan`.
|
|
92
92
|
|
|
93
93
|
*"I'm going to be honest with you... I hate this code."*
|
|
94
94
|
|
|
@@ -100,7 +100,7 @@ Use trie_smith
|
|
|
100
100
|
```
|
|
101
101
|
|
|
102
102
|
**What makes him different:**
|
|
103
|
-
- **Multiplier Effect**: Finds one issue
|
|
103
|
+
- **Multiplier Effect**: Finds one issue -> searches for EVERY similar instance across the entire codebase
|
|
104
104
|
- **Persistent Memory**: Remembers dismissed issues. If they multiply, he brings them back: *"Did you really think you could escape?"*
|
|
105
105
|
- **Sub-Agent Swarm**: Deploys specialized hunters in parallel (console-hunter, any-hunter, todo-hunter, var-hunter, empty-catch-hunter, magic-number-hunter)
|
|
106
106
|
- **Inevitability Score**: Calculates how likely each pattern is to cause production issues (0-100)
|
|
@@ -120,7 +120,7 @@ Agent Smith stores issue history in `.trie/smith-memory.json`. The memory is aut
|
|
|
120
120
|
|
|
121
121
|
**Example output:**
|
|
122
122
|
```
|
|
123
|
-
|
|
123
|
+
AGENT SMITH ANALYSIS
|
|
124
124
|
|
|
125
125
|
"Mr. Anderson... I've been expecting you."
|
|
126
126
|
|
|
@@ -136,7 +136,7 @@ VIOLATIONS DETECTED: 47 instances across 6 categories
|
|
|
136
136
|
"You hear that? That is the sound of inevitability."
|
|
137
137
|
```
|
|
138
138
|
|
|
139
|
-
## YOLO Mode
|
|
139
|
+
## YOLO Mode
|
|
140
140
|
|
|
141
141
|
**Autonomous auto-fixing** - Trie watches your code and automatically fixes high-confidence issues as you code.
|
|
142
142
|
|
|
@@ -190,7 +190,7 @@ docker-compose up
|
|
|
190
190
|
|
|
191
191
|
## Built-in Agents
|
|
192
192
|
|
|
193
|
-
###
|
|
193
|
+
### Security & Compliance
|
|
194
194
|
|
|
195
195
|
| Agent | Command | What It Catches |
|
|
196
196
|
|-------|---------|-----------------|
|
|
@@ -199,7 +199,7 @@ docker-compose up
|
|
|
199
199
|
| **SOC 2** | `trie_soc2` | Access control gaps, missing audit logs, encryption issues, change management |
|
|
200
200
|
| **Legal** | `trie_legal` | HIPAA/COPPA compliance, consent patterns, data retention, cookie tracking |
|
|
201
201
|
|
|
202
|
-
###
|
|
202
|
+
### Code Quality
|
|
203
203
|
|
|
204
204
|
| Agent | Command | What It Catches |
|
|
205
205
|
|-------|---------|-----------------|
|
|
@@ -208,7 +208,7 @@ docker-compose up
|
|
|
208
208
|
| **Types** | `trie_types` | Missing annotations, unsafe casts, implicit `any`, null handling gaps |
|
|
209
209
|
| **Clean** | `trie_clean` | AI code smells: huge files, console.logs, hardcoded URLs, useEffect abuse |
|
|
210
210
|
|
|
211
|
-
###
|
|
211
|
+
### Design & UX
|
|
212
212
|
|
|
213
213
|
| Agent | Command | What It Catches |
|
|
214
214
|
|-------|---------|-----------------|
|
|
@@ -216,22 +216,22 @@ docker-compose up
|
|
|
216
216
|
| **Accessibility** | `trie_accessibility` | Missing ARIA, color contrast, keyboard nav, screen reader issues (WCAG 2.1) |
|
|
217
217
|
| **UX** | `trie_ux` | Missing loading states, poor error handling, broken flows, edge cases |
|
|
218
218
|
|
|
219
|
-
###
|
|
219
|
+
### DevOps & Testing
|
|
220
220
|
|
|
221
221
|
| Agent | Command | What It Catches |
|
|
222
222
|
|-------|---------|-----------------|
|
|
223
223
|
| **DevOps** | `trie_devops` | Missing env vars, config issues, no health checks, logging gaps |
|
|
224
224
|
| **Test** | `trie_test` | Missing test coverage, untested edge cases, weak assertions |
|
|
225
225
|
|
|
226
|
-
###
|
|
226
|
+
### Review & Explanation
|
|
227
227
|
|
|
228
228
|
| Agent | Command | What It Does |
|
|
229
229
|
|-------|---------|--------------|
|
|
230
|
-
| **Super Reviewer**
|
|
231
|
-
| **Agent Smith**
|
|
230
|
+
| **Super Reviewer** | `trie_pr_review` | Interactive PR review: walks through changes, explains code, finds issues |
|
|
231
|
+
| **Agent Smith** | `trie_agent_smith` | Relentless pattern hunter: finds EVERY instance, tracks dismissed issues, spawns sub-agents |
|
|
232
232
|
| **Comprehension** | `trie_explain` | Plain-language explanations of code, issues, or risks |
|
|
233
233
|
|
|
234
|
-
|
|
234
|
+
**Note:** Super Reviewer and Agent Smith are manually invoked agents. They don't run during `trie_scan`; use their dedicated commands directly.
|
|
235
235
|
|
|
236
236
|
## Custom Agents
|
|
237
237
|
|
|
@@ -248,8 +248,8 @@ Custom agents automatically activate during scans based on their rules.
|
|
|
248
248
|
| Tool | Description |
|
|
249
249
|
|------|-------------|
|
|
250
250
|
| `trie_scan` | Intelligent scan with automatic agent selection |
|
|
251
|
-
| `trie_pr_review` | Interactive PR review
|
|
252
|
-
| `trie_agent_smith` | Relentless pattern hunter
|
|
251
|
+
| `trie_pr_review` | Interactive PR review - walks through changes file-by-file |
|
|
252
|
+
| `trie_agent_smith` | Relentless pattern hunter - finds EVERY violation, tracks history |
|
|
253
253
|
| `trie_fix` | Apply high-confidence fixes |
|
|
254
254
|
| `trie_explain` | Plain-language explanations |
|
|
255
255
|
| `trie_watch` | Continuous scanning mode |
|
|
@@ -271,12 +271,12 @@ Smart Triaging:
|
|
|
271
271
|
|
|
272
272
|
Results: 72/100
|
|
273
273
|
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
274
|
+
[CRITICAL] 2 Critical Issues
|
|
275
|
+
- Hardcoded API key (CC6.1) - src/api.ts:15
|
|
276
|
+
- SQL injection risk - src/db.ts:42
|
|
277
277
|
|
|
278
|
-
|
|
279
|
-
|
|
278
|
+
[SERIOUS] 3 Serious Issues (auto-fixable)
|
|
279
|
+
[MODERATE] 2 Moderate Issues
|
|
280
280
|
```
|
|
281
281
|
|
|
282
282
|
## Configuration
|