@triedotdev/mcp 1.0.10 → 1.0.12
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 +58 -3
- package/dist/agent-smith-LBQ5PNAK.js +10 -0
- package/dist/agent-smith-LBQ5PNAK.js.map +1 -0
- package/dist/chunk-4OGYWKMD.js +953 -0
- package/dist/chunk-4OGYWKMD.js.map +1 -0
- package/dist/{chunk-6COGXQXQ.js → chunk-NJXF26W7.js} +113 -435
- package/dist/chunk-NJXF26W7.js.map +1 -0
- package/dist/cli/yolo-daemon.js +2 -1
- package/dist/cli/yolo-daemon.js.map +1 -1
- package/dist/index.js +68 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-6COGXQXQ.js.map +0 -1
package/README.md
CHANGED
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
**Customizable Parallel Agents for AI Code Review**
|
|
4
4
|
|
|
5
|
-
|
|
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
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
|
|
11
12
|
- **Parallel Execution** - All agents run simultaneously for fast scans
|
|
12
13
|
- **🔥 YOLO Mode** - Autonomous auto-fixing as you code
|
|
13
14
|
- **Custom Agents** - Create agents from PDFs, docs, or style guides
|
|
@@ -62,6 +63,7 @@ Run trie_soc2 to check compliance
|
|
|
62
63
|
```
|
|
63
64
|
|
|
64
65
|
## Super Reviewer 🔍
|
|
66
|
+
> ⭐ **Manually invoked** — Use `trie_pr_review` directly. Not included in `trie_scan`.
|
|
65
67
|
|
|
66
68
|
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
69
|
|
|
@@ -83,6 +85,55 @@ Use trie_pr_review with pr:"12345"
|
|
|
83
85
|
- Git repository with changes to review
|
|
84
86
|
- For PR reviews: repo must be pushed to GitHub
|
|
85
87
|
|
|
88
|
+
## Agent Smith 🕴️
|
|
89
|
+
> ⭐ **Manually invoked** — Use `trie_agent_smith` directly. Not included in `trie_scan`.
|
|
90
|
+
|
|
91
|
+
*"I'm going to be honest with you... I hate this code."*
|
|
92
|
+
|
|
93
|
+
Agent Smith is the relentless, self-replicating code enforcer. He hunts down violations with machine precision, remembers issues you dismissed, and spawns sub-agents to overwhelm problems.
|
|
94
|
+
|
|
95
|
+
```
|
|
96
|
+
Use trie_agent_smith
|
|
97
|
+
Use trie_smith
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
**What makes him different:**
|
|
101
|
+
- **Multiplier Effect**: Finds one issue → searches for EVERY similar instance across the entire codebase
|
|
102
|
+
- **Persistent Memory**: Remembers dismissed issues. If they multiply, he brings them back: *"Did you really think you could escape?"*
|
|
103
|
+
- **Sub-Agent Swarm**: Deploys specialized hunters in parallel (console-hunter, any-hunter, todo-hunter, var-hunter, empty-catch-hunter, magic-number-hunter)
|
|
104
|
+
- **Inevitability Score**: Calculates how likely each pattern is to cause production issues (0-100)
|
|
105
|
+
- **Philosophical Analysis**: Explains WHY the code is wrong, not just that it's wrong
|
|
106
|
+
|
|
107
|
+
**Memory Management:**
|
|
108
|
+
|
|
109
|
+
Agent Smith stores issue history in `.trie/smith-memory.json`. The memory is automatically optimized:
|
|
110
|
+
- Max 500 tracked issues (oldest pruned first)
|
|
111
|
+
- Old resolved issues auto-pruned after 30 days
|
|
112
|
+
- Locations limited to 5 per issue
|
|
113
|
+
|
|
114
|
+
| Command | Description |
|
|
115
|
+
|---------|-------------|
|
|
116
|
+
| `trie_agent_smith show_stats:true` | Show memory statistics (issue count, file size) |
|
|
117
|
+
| `trie_agent_smith clear_memory:true` | Clear all memory for a fresh start |
|
|
118
|
+
|
|
119
|
+
**Example output:**
|
|
120
|
+
```
|
|
121
|
+
🕴️ AGENT SMITH ANALYSIS
|
|
122
|
+
|
|
123
|
+
"Mr. Anderson... I've been expecting you."
|
|
124
|
+
|
|
125
|
+
VIOLATIONS DETECTED: 47 instances across 6 categories
|
|
126
|
+
|
|
127
|
+
┌─────────────────────────────────────────┐
|
|
128
|
+
│ console-hunter: 23 instances (score: 65)│
|
|
129
|
+
│ any-hunter: 12 instances (score: 72) │
|
|
130
|
+
│ todo-hunter: 8 instances (score: 58) │
|
|
131
|
+
│ empty-catch-hunter: 4 instances (85) ⚠️ │
|
|
132
|
+
└─────────────────────────────────────────┘
|
|
133
|
+
|
|
134
|
+
"You hear that? That is the sound of inevitability."
|
|
135
|
+
```
|
|
136
|
+
|
|
86
137
|
## YOLO Mode 🔥
|
|
87
138
|
|
|
88
139
|
**Autonomous auto-fixing** - Trie watches your code and automatically fixes high-confidence issues as you code.
|
|
@@ -174,9 +225,12 @@ docker-compose up
|
|
|
174
225
|
|
|
175
226
|
| Agent | Command | What It Does |
|
|
176
227
|
|-------|---------|--------------|
|
|
177
|
-
| **Super Reviewer** | `trie_pr_review` | Interactive PR review: walks through changes, explains code, finds issues |
|
|
228
|
+
| **Super Reviewer** ⭐ | `trie_pr_review` | Interactive PR review: walks through changes, explains code, finds issues |
|
|
229
|
+
| **Agent Smith** ⭐ | `trie_agent_smith` | Relentless pattern hunter: finds EVERY instance, tracks dismissed issues, spawns sub-agents |
|
|
178
230
|
| **Comprehension** | `trie_explain` | Plain-language explanations of code, issues, or risks |
|
|
179
231
|
|
|
232
|
+
> ⭐ **Manually invoked agents** — Super Reviewer and Agent Smith are special-purpose agents designed for explicit invocation. They don't run during `trie_scan`; use their dedicated commands directly.
|
|
233
|
+
|
|
180
234
|
## Custom Agents
|
|
181
235
|
|
|
182
236
|
Create specialized agents from any document:
|
|
@@ -193,6 +247,7 @@ Custom agents automatically activate during scans based on their rules.
|
|
|
193
247
|
|------|-------------|
|
|
194
248
|
| `trie_scan` | Intelligent scan with automatic agent selection |
|
|
195
249
|
| `trie_pr_review` | Interactive PR review — walks through changes file-by-file |
|
|
250
|
+
| `trie_agent_smith` | Relentless pattern hunter — finds EVERY violation, tracks history |
|
|
196
251
|
| `trie_fix` | Apply high-confidence fixes |
|
|
197
252
|
| `trie_explain` | Plain-language explanations |
|
|
198
253
|
| `trie_watch` | Continuous scanning mode |
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|